summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2017-10-15 06:46:12 +0000
committeryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2017-10-15 06:46:12 +0000
commitca6c8f41c1a2b9a4b5acae91419a6a114e1c77c6 (patch)
tree40ff112761d82af1d8c1c89d30ede8206502e17b
parent8812fbf61bde539d1599e239044595ccb8a2c3a5 (diff)
downloadPost-SMTP-ca6c8f41c1a2b9a4b5acae91419a6a114e1c77c6.zip
release
-rw-r--r--Postman/Postman-Auth/PostmanAbstractAuthenticationManager.php168
-rw-r--r--Postman/Postman-Auth/PostmanAuthenticationManager.php15
-rw-r--r--Postman/Postman-Auth/PostmanAuthenticationManagerFactory.php55
-rw-r--r--Postman/Postman-Auth/PostmanGoogleAuthenticationManager.php119
-rw-r--r--Postman/Postman-Auth/PostmanMicrosoftAuthenticationManager.php104
-rw-r--r--Postman/Postman-Auth/PostmanNonOAuthAuthenticationManager.php43
-rw-r--r--Postman/Postman-Auth/PostmanStateIdMissingException.php5
-rw-r--r--Postman/Postman-Auth/PostmanYahooAuthenticationManager.php133
-rw-r--r--Postman/Postman-Configuration/PostmanConfigurationController.php694
-rw-r--r--Postman/Postman-Configuration/PostmanImportableConfiguration.php576
-rw-r--r--Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php407
-rw-r--r--Postman/Postman-Configuration/PostmanSmtpDiscovery.php233
-rw-r--r--Postman/Postman-Configuration/postman_manual_config.js78
-rw-r--r--Postman/Postman-Configuration/postman_wizard.js569
-rw-r--r--Postman/Postman-Connectivity-Test/Postman-PortTest.php282
-rw-r--r--Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php312
-rw-r--r--Postman/Postman-Connectivity-Test/postman_port_test.js332
-rw-r--r--Postman/Postman-Connectivity-Test/registered-domain-libs-master/.gitignore3
-rw-r--r--Postman/Postman-Connectivity-Test/registered-domain-libs-master/PHP/effectiveTLDs.inc.php6484
-rw-r--r--Postman/Postman-Connectivity-Test/registered-domain-libs-master/PHP/regDomain.class.php120
-rw-r--r--Postman/Postman-Connectivity-Test/registered-domain-libs-master/PHP/regDomain.inc.php62
-rw-r--r--Postman/Postman-Connectivity-Test/registered-domain-libs-master/PHP/test-regDomain.php51
-rw-r--r--Postman/Postman-Connectivity-Test/registered-domain-libs-master/README.txt56
-rw-r--r--Postman/Postman-Connectivity-Test/registered-domain-libs-master/generateEffectiveTLDs.php213
-rw-r--r--Postman/Postman-Controller/PostmanAdminPointer.php107
-rw-r--r--Postman/Postman-Controller/PostmanDashboardWidgetController.php157
-rw-r--r--Postman/Postman-Controller/PostmanManageConfigurationAjaxHandler.php55
-rw-r--r--Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php275
-rw-r--r--Postman/Postman-Diagnostic-Test/postman_diagnostics.js18
-rw-r--r--Postman/Postman-Email-Log/PostmanEmailLogController.php356
-rw-r--r--Postman/Postman-Email-Log/PostmanEmailLogPostType.php48
-rw-r--r--Postman/Postman-Email-Log/PostmanEmailLogService.php279
-rw-r--r--Postman/Postman-Email-Log/PostmanEmailLogView.php419
-rw-r--r--Postman/Postman-Mail/PostmanDefaultModuleTransport.php164
-rw-r--r--Postman/Postman-Mail/PostmanEmailAddress.php91
-rw-r--r--Postman/Postman-Mail/PostmanGmailApiModuleTransport.php258
-rw-r--r--Postman/Postman-Mail/PostmanGmailApiModuleZendMailTransport.php244
-rw-r--r--Postman/Postman-Mail/PostmanMailEngine.php10
-rw-r--r--Postman/Postman-Mail/PostmanMandrillMailEngine.php235
-rw-r--r--Postman/Postman-Mail/PostmanMandrillTransport.php276
-rw-r--r--Postman/Postman-Mail/PostmanMessage.php564
-rw-r--r--Postman/Postman-Mail/PostmanModuleTransport.php748
-rw-r--r--Postman/Postman-Mail/PostmanMyMailConnector.php222
-rw-r--r--Postman/Postman-Mail/PostmanSendGridMailEngine.php200
-rw-r--r--Postman/Postman-Mail/PostmanSendGridTransport.php227
-rw-r--r--Postman/Postman-Mail/PostmanSmtpModuleTransport.php589
-rw-r--r--Postman/Postman-Mail/PostmanTransportRegistry.php237
-rw-r--r--Postman/Postman-Mail/PostmanZendMailEngine.php245
-rw-r--r--Postman/Postman-Mail/PostmanZendMailTransportConfigurationFactory.php129
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Exception.php96
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Loader.php343
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Loader/Autoloader.php589
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail.php1279
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Exception.php37
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Message.php112
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Message/File.php96
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Message/Interface.php55
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Part/File.php198
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Part/Interface.php136
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Abstract.php453
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Exception.php39
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Imap.php838
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Pop3.php472
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp.php443
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp/Auth/Crammd5.php108
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp/Auth/Login.php98
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp/Auth/Oauth2.php78
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp/Auth/Plain.php96
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Storage.php39
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Abstract.php366
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Exception.php39
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Folder.php236
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Folder/Interface.php60
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Folder/Maildir.php265
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Folder/Mbox.php264
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Imap.php644
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Maildir.php475
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Mbox.php447
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Pop3.php328
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Writable/Interface.php108
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Writable/Maildir.php1049
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/Abstract.php350
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/Exception.php39
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/File.php134
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/Sendmail.php220
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/Smtp.php247
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mime.php670
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mime/Decode.php276
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mime/Exception.php36
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mime/Message.php305
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Mime/Part.php333
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Registry.php209
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate.php290
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Abstract.php483
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Alnum.php149
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Alpha.php149
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Barcode.php227
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Between.php224
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Callback.php173
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Ccnum.php112
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/CreditCard.php319
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Date.php258
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Digits.php91
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/EmailAddress.php574
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Exception.php34
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Float.php135
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/GreaterThan.php124
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Hex.php72
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname.php1663
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname/Biz.php2917
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname/Cn.php2199
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname/Com.php196
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname/Jp.php739
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Iban.php250
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Identical.php164
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/InArray.php204
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Int.php149
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Interface.php54
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Ip.php192
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Isbn.php278
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/LessThan.php122
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/NotEmpty.php279
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/PostCode.php210
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/Regex.php146
-rw-r--r--Postman/Postman-Mail/Zend-1.12.10/Validate/StringLength.php263
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/.gitignore1
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/.travis.yml26
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/CONTRIBUTING.md22
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/LICENSE203
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/README.md81
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/autoload.php41
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/phpunit.xml.dist34
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/Abstract.php36
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/AppIdentity.php105
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/AssertionCredentials.php136
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/Exception.php22
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/LoginTicket.php69
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/OAuth2.php633
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/Simple.php64
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/Abstract.php53
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/Apc.php111
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/Exception.php22
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/File.php190
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/Memcache.php182
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/Null.php55
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Client.php686
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Collection.php96
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Config.php414
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Exception.php20
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Http/Batch.php141
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Http/CacheParser.php184
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Http/MediaFileUpload.php300
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Http/REST.php147
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Http/Request.php476
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/IO/Abstract.php329
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/IO/Curl.php159
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/IO/Exception.php22
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/IO/Stream.php231
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/IO/cacerts.pem2183
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Logger/Abstract.php406
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Logger/Exception.php22
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Logger/File.php156
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Logger/Null.php41
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Logger/Psr.php91
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Model.php281
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service.php39
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AdExchangeBuyer.php1909
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AdExchangeSeller.php1712
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AdSense.php3585
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AdSenseHost.php2165
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Admin.php193
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Analytics.php9447
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AndroidPublisher.php3441
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AppState.php368
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Appsactivity.php566
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Audit.php416
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Autoscaler.php1400
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Bigquery.php3203
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Blogger.php3277
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Books.php6411
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Calendar.php3751
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/CivicInfo.php1568
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/CloudMonitoring.php953
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Compute.php12150
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Container.php794
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Coordinate.php1382
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Customsearch.php1276
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Datastore.php1524
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Dfareporting.php2698
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Directory.php5448
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Dns.php907
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/DoubleClickBidManager.php1066
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Doubleclicksearch.php1461
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Drive.php5567
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Exception.php53
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Fitness.php1155
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Freebase.php452
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Fusiontables.php2485
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Games.php7421
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/GamesManagement.php1385
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Genomics.php4227
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Gmail.php1924
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/GroupsMigration.php127
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Groupssettings.php414
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/IdentityToolkit.php1630
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Licensing.php476
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Manager.php1857
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/MapsEngine.php6420
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Mirror.php1931
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Oauth2.php390
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Pagespeedonline.php721
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Plus.php3498
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/PlusDomains.php3712
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Prediction.php1227
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Pubsub.php980
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/QPXExpress.php1537
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Replicapool.php1273
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Replicapoolupdater.php631
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Reports.php1135
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Reseller.php1115
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Resource.php242
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Resourceviews.php1341
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/SQLAdmin.php2778
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/ShoppingContent.php4309
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/SiteVerification.php404
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Spectrum.php1751
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Storage.php3082
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/TagManager.php3306
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Taskqueue.php689
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Tasks.php907
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Translate.php368
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Urlshortener.php426
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Webfonts.php215
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Webmasters.php918
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/YouTube.php10456
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/YouTubeAnalytics.php608
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Signer/Abstract.php29
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Signer/P12.php90
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Utils.php135
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Utils/URITemplate.php333
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Verifier/Abstract.php30
-rw-r--r--Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Verifier/Pem.php73
-rw-r--r--Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/LICENSE13
-rw-r--r--Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill.php161
-rw-r--r--Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Exceptions.php151
-rw-r--r--Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Exports.php112
-rw-r--r--Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Inbound.php138
-rw-r--r--Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Internal.php10
-rw-r--r--Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Ips.php279
-rw-r--r--Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Messages.php410
-rw-r--r--Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Metadata.php64
-rw-r--r--Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Rejects.php80
-rw-r--r--Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Senders.php218
-rw-r--r--Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Subaccounts.php171
-rw-r--r--Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Tags.php174
-rw-r--r--Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Templates.php235
-rw-r--r--Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Urls.php108
-rw-r--r--Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Users.php132
-rw-r--r--Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Webhooks.php122
-rw-r--r--Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Whitelists.php52
-rw-r--r--Postman/Postman-Mail/postman_gmail.js35
-rw-r--r--Postman/Postman-Mail/postman_mandrill.js40
-rw-r--r--Postman/Postman-Mail/postman_sendgrid.js40
-rw-r--r--Postman/Postman-Mail/postman_smtp.js89
-rw-r--r--Postman/Postman-Mail/sendgrid-php-3.2.0/.editorconfig8
-rw-r--r--Postman/Postman-Mail/sendgrid-php-3.2.0/.gitignore7
-rw-r--r--Postman/Postman-Mail/sendgrid-php-3.2.0/.travis.yml35
-rw-r--r--Postman/Postman-Mail/sendgrid-php-3.2.0/CHANGELOG.md36
-rw-r--r--Postman/Postman-Mail/sendgrid-php-3.2.0/MIT.LICENSE15
-rw-r--r--Postman/Postman-Mail/sendgrid-php-3.2.0/README.md958
-rw-r--r--Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid.php156
-rw-r--r--Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid/Email.php692
-rw-r--r--Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid/Exception.php14
-rw-r--r--Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid/Response.php40
-rw-r--r--Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php353
-rw-r--r--Postman/Postman-Send-Test-Email/postman_send_test_email.css3
-rw-r--r--Postman/Postman-Send-Test-Email/postman_send_test_email.js168
-rw-r--r--Postman/Postman.php399
-rw-r--r--Postman/PostmanAdminController.php327
-rw-r--r--Postman/PostmanAjaxController.php57
-rw-r--r--Postman/PostmanConfigTextHelper.php307
-rw-r--r--Postman/PostmanInputSanitizer.php154
-rw-r--r--Postman/PostmanInstaller.php232
-rw-r--r--Postman/PostmanLogger.php69
-rw-r--r--Postman/PostmanMessageHandler.php112
-rw-r--r--Postman/PostmanOAuthToken.php86
-rw-r--r--Postman/PostmanOptions.php430
-rw-r--r--Postman/PostmanPreRequisitesCheck.php84
-rw-r--r--Postman/PostmanSession.php92
-rw-r--r--Postman/PostmanState.php110
-rw-r--r--Postman/PostmanUtils.php462
-rw-r--r--Postman/PostmanViewController.php302
-rw-r--r--Postman/PostmanWpMail.php340
-rw-r--r--Postman/PostmanWpMailBinder.php130
-rw-r--r--Postman/extra/no-localhost-mails.php9
-rw-r--r--Postman/languages/postman-smtp-el_GR.mobin0 -> 37592 bytes
-rw-r--r--Postman/languages/postman-smtp-el_GR.po1738
-rw-r--r--Postman/languages/postman-smtp-fr_FR.mobin0 -> 29123 bytes
-rw-r--r--Postman/languages/postman-smtp-fr_FR.po2529
-rw-r--r--Postman/languages/postman-smtp-it_IT.mobin0 -> 28939 bytes
-rw-r--r--Postman/languages/postman-smtp-it_IT.po2397
-rw-r--r--Postman/languages/postman-smtp-nl_NL.mobin0 -> 29682 bytes
-rw-r--r--Postman/languages/postman-smtp-nl_NL.po1914
-rw-r--r--Postman/languages/postman-smtp-ru_RU.mobin0 -> 36706 bytes
-rw-r--r--Postman/languages/postman-smtp-ru_RU.po1778
-rw-r--r--Postman/languages/postman-smtp-tr_TR.mobin0 -> 29147 bytes
-rw-r--r--Postman/languages/postman-smtp-tr_TR.po2381
-rw-r--r--Postman/languages/postman-smtp-zh_CN.mobin0 -> 27088 bytes
-rw-r--r--Postman/languages/postman-smtp-zh_CN.po1511
-rw-r--r--Postman/languages/postman-smtp.pot1498
-rw-r--r--README.md131
-rw-r--r--assets/banner-772x250.pngbin0 -> 26906 bytes
-rw-r--r--assets/screenshot-1.pngbin0 -> 86737 bytes
-rw-r--r--assets/screenshot-10.pngbin0 -> 127024 bytes
-rw-r--r--assets/screenshot-11.pngbin0 -> 304341 bytes
-rw-r--r--assets/screenshot-12.pngbin0 -> 187857 bytes
-rw-r--r--assets/screenshot-2.pngbin0 -> 102355 bytes
-rw-r--r--assets/screenshot-3.pngbin0 -> 115476 bytes
-rw-r--r--assets/screenshot-4.pngbin0 -> 142309 bytes
-rw-r--r--assets/screenshot-5.pngbin0 -> 143733 bytes
-rw-r--r--assets/screenshot-6.pngbin0 -> 183556 bytes
-rw-r--r--assets/screenshot-7.pngbin0 -> 208487 bytes
-rw-r--r--assets/screenshot-8.pngbin0 -> 151243 bytes
-rw-r--r--assets/screenshot-9.pngbin0 -> 99004 bytes
-rw-r--r--dev notes.txt176
-rw-r--r--postman-smtp.php74
-rw-r--r--readme.txt630
-rw-r--r--script/jquery-steps/jquery.steps.js2042
-rw-r--r--script/jquery-steps/jquery.steps.min.js6
-rw-r--r--script/jquery-validate/jquery.validate.js1365
-rw-r--r--script/jquery-validate/jquery.validate.min.js4
-rw-r--r--script/jquery-validate/localization/messages_ar.js23
-rw-r--r--script/jquery-validate/localization/messages_bg.js23
-rw-r--r--script/jquery-validate/localization/messages_bn_BD.js23
-rw-r--r--script/jquery-validate/localization/messages_ca.js23
-rw-r--r--script/jquery-validate/localization/messages_cs.js23
-rw-r--r--script/jquery-validate/localization/messages_da.js20
-rw-r--r--script/jquery-validate/localization/messages_de.js20
-rw-r--r--script/jquery-validate/localization/messages_el.js23
-rw-r--r--script/jquery-validate/localization/messages_es.js26
-rw-r--r--script/jquery-validate/localization/messages_es_AR.js27
-rw-r--r--script/jquery-validate/localization/messages_es_PE.js27
-rw-r--r--script/jquery-validate/localization/messages_et.js21
-rw-r--r--script/jquery-validate/localization/messages_eu.js23
-rw-r--r--script/jquery-validate/localization/messages_fa.js26
-rw-r--r--script/jquery-validate/localization/messages_fi.js21
-rw-r--r--script/jquery-validate/localization/messages_fr.js49
-rw-r--r--script/jquery-validate/localization/messages_ge.js23
-rw-r--r--script/jquery-validate/localization/messages_gl.js28
-rw-r--r--script/jquery-validate/localization/messages_he.js23
-rw-r--r--script/jquery-validate/localization/messages_hr.js23
-rw-r--r--script/jquery-validate/localization/messages_hu.js22
-rw-r--r--script/jquery-validate/localization/messages_hy_AM.js23
-rw-r--r--script/jquery-validate/localization/messages_id.js22
-rw-r--r--script/jquery-validate/localization/messages_is.js21
-rw-r--r--script/jquery-validate/localization/messages_it.js27
-rw-r--r--script/jquery-validate/localization/messages_ja.js23
-rw-r--r--script/jquery-validate/localization/messages_ka.js23
-rw-r--r--script/jquery-validate/localization/messages_kk.js23
-rw-r--r--script/jquery-validate/localization/messages_ko.js23
-rw-r--r--script/jquery-validate/localization/messages_lt.js23
-rw-r--r--script/jquery-validate/localization/messages_lv.js23
-rw-r--r--script/jquery-validate/localization/messages_my.js23
-rw-r--r--script/jquery-validate/localization/messages_nl.js33
-rw-r--r--script/jquery-validate/localization/messages_no.js23
-rw-r--r--script/jquery-validate/localization/messages_pl.js23
-rw-r--r--script/jquery-validate/localization/messages_pt_BR.js75
-rw-r--r--script/jquery-validate/localization/messages_pt_PT.js27
-rw-r--r--script/jquery-validate/localization/messages_ro.js23
-rw-r--r--script/jquery-validate/localization/messages_ru.js23
-rw-r--r--script/jquery-validate/localization/messages_si.js23
-rw-r--r--script/jquery-validate/localization/messages_sk.js20
-rw-r--r--script/jquery-validate/localization/messages_sl.js23
-rw-r--r--script/jquery-validate/localization/messages_sr.js23
-rw-r--r--script/jquery-validate/localization/messages_sr_lat.js23
-rw-r--r--script/jquery-validate/localization/messages_sv.js21
-rw-r--r--script/jquery-validate/localization/messages_th.js23
-rw-r--r--script/jquery-validate/localization/messages_tj.js23
-rw-r--r--script/jquery-validate/localization/messages_tr.js24
-rw-r--r--script/jquery-validate/localization/messages_uk.js23
-rw-r--r--script/jquery-validate/localization/messages_vi.js23
-rw-r--r--script/jquery-validate/localization/messages_zh.js23
-rw-r--r--script/jquery-validate/localization/messages_zh_TW.js24
-rw-r--r--script/jquery-validate/localization/methods_de.js12
-rw-r--r--script/jquery-validate/localization/methods_es_CL.js12
-rw-r--r--script/jquery-validate/localization/methods_fi.js12
-rw-r--r--script/jquery-validate/localization/methods_nl.js9
-rw-r--r--script/jquery-validate/localization/methods_pt.js9
-rw-r--r--script/postman-admin-pointer.js20
-rw-r--r--script/postman.js247
-rw-r--r--script/postman_resend_email_sript.js17
-rw-r--r--script/sprintf/sprintf.min.js4
-rw-r--r--script/sprintf/sprintf.min.map1
-rw-r--r--style/ajax-loader.gifbin0 -> 2545 bytes
-rw-r--r--style/jquery-steps/jquery-ui.css1175
-rw-r--r--style/jquery-steps/jquery.steps.css382
-rw-r--r--style/postman-email-log.css5
-rw-r--r--style/postman.css84
-rw-r--r--style/snail-mail-email-explained.jpgbin0 -> 25078 bytes
-rw-r--r--style/testEmail.html39
400 files changed, 243742 insertions, 0 deletions
diff --git a/Postman/Postman-Auth/PostmanAbstractAuthenticationManager.php b/Postman/Postman-Auth/PostmanAbstractAuthenticationManager.php
new file mode 100644
index 0000000..73a7e03
--- /dev/null
+++ b/Postman/Postman-Auth/PostmanAbstractAuthenticationManager.php
@@ -0,0 +1,168 @@
+<?php
+if (! class_exists ( "PostmanAbstractAuthenticationManager" )) {
+
+ require_once 'PostmanAuthenticationManager.php';
+
+ /**
+ */
+ abstract class PostmanAbstractAuthenticationManager implements PostmanAuthenticationManager {
+
+ // constants
+ const APPROVAL_PROMPT = 'force';
+ const ACCESS_TYPE = 'offline';
+ const ACCESS_TOKEN = 'access_token';
+ const REFRESH_TOKEN = 'refresh_token';
+ const EXPIRES = 'expires_in';
+
+ // the oauth authorization options
+ private $clientId;
+ private $clientSecret;
+ private $authorizationToken;
+ private $callbackUri;
+ private $logger;
+
+ /**
+ * Constructor
+ */
+ public function __construct(PostmanLogger $logger, $clientId, $clientSecret, PostmanOAuthToken $authorizationToken, $callbackUri) {
+ assert ( ! empty ( $clientId ) );
+ assert ( ! empty ( $clientSecret ) );
+ assert ( ! empty ( $authorizationToken ) );
+ assert ( ! empty ( $callbackUri ) );
+ $this->logger = $logger;
+ $this->clientId = $clientId;
+ $this->clientSecret = $clientSecret;
+ $this->authorizationToken = $authorizationToken;
+ $this->callbackUri = $callbackUri;
+ }
+ protected function getLogger() {
+ return $this->logger;
+ }
+ protected function getClientId() {
+ return $this->clientId;
+ }
+ protected function getClientSecret() {
+ return $this->clientSecret;
+ }
+ protected function getAuthorizationToken() {
+ return $this->authorizationToken;
+ }
+
+ /**
+ * Create a state token to prevent request forgery.
+ * Store it in the session for later validation.
+ */
+ public function generateRequestTransactionId() {
+ return $state = md5 ( rand () );
+ }
+
+ /**
+ */
+ public function isAccessTokenExpired() {
+ $expireTime = ($this->authorizationToken->getExpiryTime () - self::FORCE_REFRESH_X_SECONDS_BEFORE_EXPIRE);
+ $tokenHasExpired = time () > $expireTime;
+ $this->logger->debug ( 'Access Token Expiry Time is ' . $expireTime . ', expires_in=' . ($expireTime - time ()) . ', expired=' . ($tokenHasExpired ? 'yes' : 'no') );
+ return $tokenHasExpired;
+ }
+
+ /**
+ * Decoded the received token
+ * This code is identical for Google and Hotmail
+ *
+ * @param unknown $response
+ * @throws Exception
+ */
+ protected function processResponse($response) {
+ $authToken = json_decode ( stripslashes ( $response ) );
+ if ($authToken === NULL) {
+ $this->getLogger ()->error ( $response );
+ throw new Exception ( $response );
+ } else if (isset ( $authToken->{'error'} )) {
+ if (isset ( $authToken->{'error_description'} )) {
+ $this->getLogger ()->error ( $authToken->{'error'} . ' processing response: ' . $authToken->{'error_description'} );
+ throw new Exception ( $authToken->{'error_description'} . '(' . $authToken->{'error'} . ')' );
+ } else {
+ // Yahoo doesn't give descriptions
+ $this->getLogger ()->error ( $authToken->{'error'} . ' processing response' );
+ throw new Exception ( $authToken->{'error'} );
+ }
+ } else {
+ $this->getLogger ()->trace ( 'Processing response:' );
+ $this->getLogger ()->trace ( $response );
+ $this->decodeReceivedAuthorizationToken ( $authToken );
+ }
+ }
+
+ /**
+ * Parses the authorization token and extracts the expiry time, accessToken,
+ * and if this is a first-time authorization, a refresh token.
+ *
+ * This code is identical for Google and Hotmail
+ *
+ * @param unknown $client
+ */
+ protected function decodeReceivedAuthorizationToken($newtoken) {
+ assert ( ! empty ( $newtoken ) );
+ assert ( ! empty ( $newtoken->{self::EXPIRES} ) );
+ assert ( ! empty ( $newtoken->{self::ACCESS_TOKEN} ) );
+
+ // update expiry time
+ if (empty ( $newtoken->{self::EXPIRES} )) {
+ throw new Exception ( '[expires_in] value is missing from the authentication token' );
+ }
+ $newExpiryTime = time () + $newtoken->{self::EXPIRES};
+ $this->getAuthorizationToken ()->setExpiryTime ( $newExpiryTime );
+ $this->getLogger ()->debug ( 'Updating Access Token Expiry Time ' );
+
+ // update acccess token
+ if (empty ( $newtoken->{self::ACCESS_TOKEN} )) {
+ throw new Exception ( '[access_token] value is missing from the authentication token' );
+ }
+ $newAccessToken = $newtoken->{self::ACCESS_TOKEN};
+ $this->getAuthorizationToken ()->setAccessToken ( $newAccessToken );
+ $this->getLogger ()->debug ( 'Updating Access Token' );
+
+ // update refresh token, if there is one
+ if (isset ( $newtoken->{self::REFRESH_TOKEN} )) {
+ $newRefreshToken = $newtoken->{self::REFRESH_TOKEN};
+ $this->getAuthorizationToken ()->setRefreshToken ( $newRefreshToken );
+ $this->getLogger ()->debug ( 'Updating Refresh Token ' );
+ }
+ }
+
+ /**
+ * Given an OAuth provider-specific URL and redirectUri,
+ * issue an HttpRequest to refresh the access token
+ *
+ * This code is identical for Google and Hotmail
+ */
+ public function refreshToken() {
+ $this->getLogger ()->debug ( 'Refreshing Token' );
+ $refreshUrl = $this->getTokenUrl ();
+ $callbackUrl = $this->getCallbackUri ();
+ assert ( ! empty ( $refreshUrl ) );
+ assert ( ! empty ( $callbackUrl ) );
+ // the format of the URL is
+ // client_id=CLIENT_ID&client_secret=CLIENT_SECRET&redirect_uri=REDIRECT_URI&grant_type=refresh_token&refresh_token=REFRESH_TOKEN
+ $postvals = array (
+ 'client_id' => $this->getClientId (),
+ 'client_secret' => $this->getClientSecret (),
+ 'redirect_uri' => $callbackUrl,
+ 'grant_type' => 'refresh_token',
+ 'refresh_token' => $this->getAuthorizationToken ()->getRefreshToken ()
+ );
+ // example request string
+ // client_id=0000000603DB0F&redirect_uri=http%3A%2F%2Fwww.contoso.com%2Fcallback.php&client_secret=LWILlT555GicSrIATma5qgyBXebRI&refresh_token=*LA9...//refresh token string shortened for example//...xRoX&grant_type=refresh_token
+ $response = PostmanUtils::remotePostGetBodyOnly ( $refreshUrl, $postvals );
+ $this->processResponse ( $response );
+ }
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanAuthenticationManager::getCallbackUri()
+ */
+ public function getCallbackUri() {
+ return $this->callbackUri;
+ }
+ }
+}
diff --git a/Postman/Postman-Auth/PostmanAuthenticationManager.php b/Postman/Postman-Auth/PostmanAuthenticationManager.php
new file mode 100644
index 0000000..56cc697
--- /dev/null
+++ b/Postman/Postman-Auth/PostmanAuthenticationManager.php
@@ -0,0 +1,15 @@
+<?php
+if (! interface_exists ( "PostmanAuthenticationManager" )) {
+ interface PostmanAuthenticationManager {
+ const POSTMAN_AUTHORIZATION_IN_PROGRESS = 'request_oauth_permission';
+ const FORCE_REFRESH_X_SECONDS_BEFORE_EXPIRE = 60;
+ public function isAccessTokenExpired();
+ public function refreshToken();
+ public function generateRequestTransactionId();
+ public function requestVerificationCode($transactionId);
+ public function processAuthorizationGrantCode($transactionId);
+ public function getAuthorizationUrl();
+ public function getTokenUrl();
+ public function getCallbackUri();
+ }
+}
diff --git a/Postman/Postman-Auth/PostmanAuthenticationManagerFactory.php b/Postman/Postman-Auth/PostmanAuthenticationManagerFactory.php
new file mode 100644
index 0000000..fec81a1
--- /dev/null
+++ b/Postman/Postman-Auth/PostmanAuthenticationManagerFactory.php
@@ -0,0 +1,55 @@
+<?php
+if (! class_exists ( "PostmanAuthenticationManagerFactory" )) {
+
+ require_once 'PostmanGoogleAuthenticationManager.php';
+ require_once 'PostmanMicrosoftAuthenticationManager.php';
+ require_once 'PostmanNonOAuthAuthenticationManager.php';
+ require_once 'PostmanYahooAuthenticationManager.php';
+
+ //
+ class PostmanAuthenticationManagerFactory {
+ private $logger;
+
+ // singleton instance
+ public static function getInstance() {
+ static $inst = null;
+ if ($inst === null) {
+ $inst = new PostmanAuthenticationManagerFactory ();
+ }
+ return $inst;
+ }
+ private function __construct() {
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ }
+ public function createAuthenticationManager() {
+ $transport = PostmanTransportRegistry::getInstance ()->getSelectedTransport ();
+ return $this->createManager ( $transport );
+ }
+ private function createManager(PostmanZendModuleTransport $transport) {
+ $options = PostmanOptions::getInstance ();
+ $authorizationToken = PostmanOAuthToken::getInstance ();
+ $authenticationType = $options->getAuthenticationType ();
+ $hostname = $options->getHostname ();
+ $clientId = $options->getClientId ();
+ $clientSecret = $options->getClientSecret ();
+ $senderEmail = $options->getMessageSenderEmail ();
+ $scribe = $transport->getScribe ();
+ $redirectUrl = $scribe->getCallbackUrl ();
+ if ($transport->isOAuthUsed ( $options->getAuthenticationType () )) {
+ if ($transport->isServiceProviderGoogle ( $hostname )) {
+ $authenticationManager = new PostmanGoogleAuthenticationManager ( $clientId, $clientSecret, $authorizationToken, $redirectUrl, $senderEmail );
+ } else if ($transport->isServiceProviderMicrosoft ( $hostname )) {
+ $authenticationManager = new PostmanMicrosoftAuthenticationManager ( $clientId, $clientSecret, $authorizationToken, $redirectUrl );
+ } else if ($transport->isServiceProviderYahoo ( $hostname )) {
+ $authenticationManager = new PostmanYahooAuthenticationManager ( $clientId, $clientSecret, $authorizationToken, $redirectUrl );
+ } else {
+ assert ( false );
+ }
+ } else {
+ $authenticationManager = new PostmanNonOAuthAuthenticationManager ();
+ }
+ $this->logger->debug ( 'Created ' . get_class ( $authenticationManager ) );
+ return $authenticationManager;
+ }
+ }
+} \ No newline at end of file
diff --git a/Postman/Postman-Auth/PostmanGoogleAuthenticationManager.php b/Postman/Postman-Auth/PostmanGoogleAuthenticationManager.php
new file mode 100644
index 0000000..4bbe27b
--- /dev/null
+++ b/Postman/Postman-Auth/PostmanGoogleAuthenticationManager.php
@@ -0,0 +1,119 @@
+<?php
+if (! class_exists ( "PostmanGoogleAuthenticationManager" )) {
+
+ require_once 'PostmanAbstractAuthenticationManager.php';
+ require_once 'PostmanStateIdMissingException.php';
+
+ /**
+ * https://developers.google.com/accounts/docs/OAuth2WebServer
+ * https://developers.google.com/gmail/xoauth2_protocol
+ * https://developers.google.com/gmail/api/auth/scopes
+ */
+ class PostmanGoogleAuthenticationManager extends PostmanAbstractAuthenticationManager implements PostmanAuthenticationManager {
+
+ // This endpoint is the target of the initial request. It handles active session lookup, authenticating the user, and user consent.
+ const GOOGLE_ENDPOINT = 'https://accounts.google.com/o/oauth2/auth';
+ const GOOGLE_REFRESH = 'https://www.googleapis.com/oauth2/v3/token';
+
+ // this scope doesn't work
+ // Create, read, update, and delete drafts. Send messages and drafts.
+ const SCOPE_COMPOSE = 'https://www.googleapis.com/auth/gmail.compose';
+
+ // this scope doesn't work
+ // All read/write operations except immediate, permanent deletion of threads and messages, bypassing Trash.
+ const SCOPE_MODIFY = 'https://www.googleapis.com/auth/gmail.modify';
+
+ // Full access to the account, including permanent deletion of threads and messages. This scope should only be requested if your application needs to immediately and permanently delete threads and messages, bypassing Trash; all other actions can be performed with less permissive scopes.
+ const SCOPE_FULL_ACCESS = 'https://mail.google.com/';
+ const AUTH_TEMP_ID = 'GOOGLE_OAUTH_TEMP_ID';
+ const VENDOR_NAME = 'google';
+ // the sender email address
+ private $senderEmail;
+
+ /**
+ * Constructor
+ *
+ * Get a Client ID from https://account.live.com/developers/applications/index
+ */
+ public function __construct($clientId, $clientSecret, PostmanOAuthToken $authorizationToken, $callbackUri, $senderEmail) {
+ assert ( ! empty ( $clientId ) );
+ assert ( ! empty ( $clientSecret ) );
+ assert ( ! empty ( $authorizationToken ) );
+ assert ( ! empty ( $senderEmail ) );
+ $logger = new PostmanLogger ( get_class ( $this ) );
+ $this->senderEmail = $senderEmail;
+ parent::__construct ( $logger, $clientId, $clientSecret, $authorizationToken, $callbackUri );
+ }
+
+ /**
+ * The authorization sequence begins when your application redirects a browser to a Google URL;
+ * the URL includes query parameters that indicate the type of access being requested.
+ *
+ * As in other scenarios, Google handles user authentication, session selection, and user consent.
+ * The result is an authorization code, which Google returns to your application in a query string.
+ *
+ * (non-PHPdoc)
+ *
+ * @see PostmanAuthenticationManager::requestVerificationCode()
+ */
+ public function requestVerificationCode($transactionId) {
+ $params = array (
+ 'response_type' => 'code',
+ 'redirect_uri' => urlencode ( $this->getCallbackUri () ),
+ 'client_id' => $this->getClientId (),
+ 'scope' => urlencode ( self::SCOPE_FULL_ACCESS ),
+ 'access_type' => 'offline',
+ 'approval_prompt' => 'force',
+ 'state' => $transactionId,
+ 'login_hint' => $this->senderEmail
+ );
+
+ $authUrl = $this->getAuthorizationUrl () . '?' . build_query ( $params );
+
+ $this->getLogger ()->debug ( 'Requesting verification code from Google' );
+ PostmanUtils::redirect ( $authUrl );
+ }
+
+ /**
+ * After receiving the authorization code, your application can exchange the code
+ * (along with a client ID and client secret) for an access token and, in some cases,
+ * a refresh token.
+ *
+ * This code is identical for Google and Hotmail
+ *
+ * @see PostmanAuthenticationManager::processAuthorizationGrantCode()
+ */
+ public function processAuthorizationGrantCode($transactionId) {
+ if (isset ( $_GET ['code'] )) {
+ $this->getLogger ()->debug ( 'Found authorization code in request header' );
+ $code = filter_input( INPUT_GET, 'code', FILTER_SANITIZE_STRING );
+ if (isset ( $_GET ['state'] ) && $_GET ['state'] == $transactionId) {
+ $this->getLogger ()->debug ( 'Found valid state in request header' );
+ } else {
+ $this->getLogger ()->error ( 'The grant code from Google had no accompanying state and may be a forgery' );
+ throw new PostmanStateIdMissingException ();
+ }
+ $postvals = array (
+ 'client_id' => $this->getClientId (),
+ 'client_secret' => $this->getClientSecret (),
+ 'grant_type' => 'authorization_code',
+ 'redirect_uri' => $this->getCallbackUri (),
+ 'code' => $code
+ );
+ $response = PostmanUtils::remotePostGetBodyOnly ( $this->getTokenUrl (), $postvals );
+ $this->processResponse ( $response );
+ $this->getAuthorizationToken ()->setVendorName ( self::VENDOR_NAME );
+ return true;
+ } else {
+ $this->getLogger ()->debug ( 'Expected code in the request header but found none - user probably denied request' );
+ return false;
+ }
+ }
+ public function getAuthorizationUrl() {
+ return self::GOOGLE_ENDPOINT;
+ }
+ public function getTokenUrl() {
+ return self::GOOGLE_REFRESH;
+ }
+ }
+}
diff --git a/Postman/Postman-Auth/PostmanMicrosoftAuthenticationManager.php b/Postman/Postman-Auth/PostmanMicrosoftAuthenticationManager.php
new file mode 100644
index 0000000..a724f04
--- /dev/null
+++ b/Postman/Postman-Auth/PostmanMicrosoftAuthenticationManager.php
@@ -0,0 +1,104 @@
+<?php
+if (! class_exists ( "PostmanMicrosoftAuthenticationManager" )) {
+
+ require_once 'PostmanAbstractAuthenticationManager.php';
+
+ /**
+ * https://msdn.microsoft.com/en-us/library/hh243647.aspx (Seems to be the most up-to-date doc on OAuth 2.0
+ * https://msdn.microsoft.com/en-us/library/hh243649.aspx (Seems to be the most up-to-date examples on using the API)
+ * https://msdn.microsoft.com/en-us/library/ff750690.aspx OAuth WRAP (Messenger Connect)
+ * https://msdn.microsoft.com/en-us/library/ff749624.aspx Working with OAuth WRAP (Messenger Connect)
+ * https://gist.github.com/kayalshri/5262641 Working example from Giriraj Namachivayam (kayalshri)
+ */
+ class PostmanMicrosoftAuthenticationManager extends PostmanAbstractAuthenticationManager implements PostmanAuthenticationManager {
+
+ // constants
+ const WINDOWS_LIVE_ENDPOINT = 'https://login.live.com/oauth20_authorize.srf';
+ const WINDOWS_LIVE_REFRESH = 'https://login.live.com/oauth20_token.srf';
+
+ // http://stackoverflow.com/questions/7163786/messenger-connect-oauth-wrap-api-to-get-user-emails
+ // http://quabr.com/26329398/outlook-oauth-send-emails-with-wl-imap-scope-in-php
+ const SCOPE = 'wl.imap,wl.offline_access';
+ const VENDOR_NAME = 'microsoft';
+
+ /**
+ * Constructor
+ *
+ * Get a Client ID from https://account.live.com/developers/applications/index
+ */
+ public function __construct($clientId, $clientSecret, PostmanOAuthToken $authorizationToken, $callbackUri) {
+ assert ( ! empty ( $clientId ) );
+ assert ( ! empty ( $clientSecret ) );
+ assert ( ! empty ( $authorizationToken ) );
+ assert ( ! empty ( $callbackUri ) );
+ $logger = new PostmanLogger ( get_class ( $this ) );
+ parent::__construct ( $logger, $clientId, $clientSecret, $authorizationToken, $callbackUri );
+ }
+
+ /**
+ * **********************************************
+ * Request Verification Code
+ * https://msdn.microsoft.com/en-us/library/ff749592.aspx
+ *
+ * The following example shows a URL that enables
+ * a user to provide consent to an application by
+ * using a Windows Live ID.
+ *
+ * When successful, this URL returns the user to
+ * your application, along with a verification
+ * code.
+ * **********************************************
+ */
+ public function requestVerificationCode($transactionId) {
+ $params = array (
+ 'response_type' => 'code',
+ 'redirect_uri' => urlencode ( $this->getCallbackUri () ),
+ 'client_id' => $this->getClientId (),
+ 'client_secret' => $this->getClientSecret (),
+ 'scope' => urlencode ( self::SCOPE ),
+ 'access_type' => 'offline',
+ 'approval_prompt' => 'force'
+ );
+
+ $authUrl = $this->getAuthorizationUrl () . '?' . build_query ( $params );
+
+ $this->getLogger ()->debug ( 'Requesting verification code from Microsoft' );
+ PostmanUtils::redirect ( $authUrl );
+ }
+
+ /**
+ * **********************************************
+ * If we have a code back from the OAuth 2.0 flow,
+ * we need to exchange that for an access token.
+ * We store the resultant access token
+ * bundle in the session, and redirect to ourself.
+ * **********************************************
+ */
+ public function processAuthorizationGrantCode($transactionId) {
+ if (isset ( $_GET ['code'] )) {
+ $code = filter_input( INPUT_GET, 'code', FILTER_SANITIZE_STRING );
+ $this->getLogger ()->debug ( 'Found authorization code in request header' );
+ $postvals = array (
+ 'client_id' => $this->getClientId (),
+ 'client_secret' => $this->getClientSecret (),
+ 'grant_type' => 'authorization_code',
+ 'redirect_uri' => $this->getCallbackUri (),
+ 'code' => $code
+ );
+ $response = PostmanUtils::remotePostGetBodyOnly ( $this->getTokenUrl (), $postvals );
+ $this->processResponse ( $response );
+ $this->getAuthorizationToken ()->setVendorName ( self::VENDOR_NAME );
+ return true;
+ } else {
+ $this->getLogger ()->debug ( 'Expected code in the request header but found none - user probably denied request' );
+ return false;
+ }
+ }
+ public function getAuthorizationUrl() {
+ return self::WINDOWS_LIVE_ENDPOINT;
+ }
+ public function getTokenUrl() {
+ return self::WINDOWS_LIVE_REFRESH;
+ }
+ }
+}
diff --git a/Postman/Postman-Auth/PostmanNonOAuthAuthenticationManager.php b/Postman/Postman-Auth/PostmanNonOAuthAuthenticationManager.php
new file mode 100644
index 0000000..7ab1b5a
--- /dev/null
+++ b/Postman/Postman-Auth/PostmanNonOAuthAuthenticationManager.php
@@ -0,0 +1,43 @@
+<?php
+if (! class_exists ( "PostmanNonOAuthAuthenticationManager" )) {
+
+ require_once 'PostmanAuthenticationManager.php';
+ class PostmanNonOAuthAuthenticationManager implements PostmanAuthenticationManager {
+
+ /**
+ */
+ public function isAccessTokenExpired() {
+ return false;
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanAuthenticationManager::requestVerificationCode()
+ */
+ public function requestVerificationCode($transactionId) {
+ // otherwise known as IllegaStateException
+ assert ( false );
+ }
+ public function processAuthorizationGrantCode($transactionId) {
+ // otherwise known as IllegaStateException
+ assert ( false );
+ }
+ public function refreshToken() {
+ // no-op
+ }
+ public function getAuthorizationUrl() {
+ return null;
+ }
+ public function getTokenUrl() {
+ return null;
+ }
+ public function getCallbackUri() {
+ return null;
+ }
+ public function generateRequestTransactionId() {
+ // otherwise known as IllegaStateException
+ assert ( false );
+ }
+ }
+}
diff --git a/Postman/Postman-Auth/PostmanStateIdMissingException.php b/Postman/Postman-Auth/PostmanStateIdMissingException.php
new file mode 100644
index 0000000..94a973d
--- /dev/null
+++ b/Postman/Postman-Auth/PostmanStateIdMissingException.php
@@ -0,0 +1,5 @@
+<?php
+if (! class_exists ( 'PostmanStateIdMissingException' )) {
+ class PostmanStateIdMissingException extends Exception {
+ }
+} \ No newline at end of file
diff --git a/Postman/Postman-Auth/PostmanYahooAuthenticationManager.php b/Postman/Postman-Auth/PostmanYahooAuthenticationManager.php
new file mode 100644
index 0000000..56d7b9e
--- /dev/null
+++ b/Postman/Postman-Auth/PostmanYahooAuthenticationManager.php
@@ -0,0 +1,133 @@
+<?php
+if (! class_exists ( "PostmanYahooAuthenticationManager" )) {
+
+ require_once 'PostmanAbstractAuthenticationManager.php';
+ require_once 'PostmanStateIdMissingException.php';
+
+ /**
+ * Super-simple.
+ * I should have started with Yahoo.
+ *
+ * https://developer.yahoo.com/oauth2/guide/
+ * Get a Client ID at https://developer.apps.yahoo.com/projects
+ *
+ * @author jasonhendriks
+ */
+ class PostmanYahooAuthenticationManager extends PostmanAbstractAuthenticationManager implements PostmanAuthenticationManager {
+
+ // This endpoint is the target of the initial request. It handles active session lookup, authenticating the user, and user consent.
+ const AUTHORIZATION_URL = 'https://api.login.yahoo.com/oauth2/request_auth';
+ const GET_TOKEN_URL = 'https://api.login.yahoo.com/oauth2/get_token';
+
+ // The SESSION key for the OAuth Transaction Id
+ const AUTH_TEMP_ID = 'OAUTH_TEMP_ID';
+ const VENDOR_NAME = 'yahoo';
+
+ /**
+ * Constructor
+ *
+ * Get a Client ID from https://account.live.com/developers/applications/index
+ */
+ public function __construct($clientId, $clientSecret, PostmanOAuthToken $authorizationToken, $callbackUri) {
+ assert ( ! empty ( $clientId ) );
+ assert ( ! empty ( $clientSecret ) );
+ assert ( ! empty ( $authorizationToken ) );
+ assert ( ! empty ( $callbackUri ) );
+ $logger = new PostmanLogger ( get_class ( $this ) );
+ parent::__construct ( $logger, $clientId, $clientSecret, $authorizationToken, $callbackUri );
+ }
+
+ /**
+ * The authorization sequence begins when your application redirects a browser to a Google URL;
+ * the URL includes query parameters that indicate the type of access being requested.
+ *
+ * As in other scenarios, Google handles user authentication, session selection, and user consent.
+ * The result is an authorization code, which Google returns to your application in a query string.
+ *
+ * (non-PHPdoc)
+ *
+ * @see PostmanAuthenticationManager::requestVerificationCode()
+ */
+ public function requestVerificationCode($transactionId) {
+ $params = array (
+ 'response_type' => 'code',
+ 'redirect_uri' => urlencode ( $this->getCallbackUri () ),
+ 'client_id' => $this->getClientId (),
+ 'state' => $transactionId,
+ 'language' => get_locale ()
+ );
+
+ $authUrl = $this->getAuthorizationUrl () . '?' . build_query ( $params );
+
+ $this->getLogger ()->debug ( 'Requesting verification code from Yahoo' );
+ PostmanUtils::redirect ( $authUrl );
+ }
+
+ /**
+ * After receiving the authorization code, your application can exchange the code
+ * (along with a client ID and client secret) for an access token and, in some cases,
+ * a refresh token.
+ *
+ * (non-PHPdoc)
+ *
+ * @see PostmanAuthenticationManager::processAuthorizationGrantCode()
+ */
+ public function processAuthorizationGrantCode($transactionId) {
+ if (isset ( $_GET ['code'] )) {
+ $code = filter_input( INPUT_GET, 'code', FILTER_SANITIZE_STRING );
+ $this->getLogger ()->debug ( sprintf ( 'Found authorization code %s in request header', $code ) );
+ if (isset ( $_GET ['state'] ) && $_GET ['state'] == $transactionId) {
+ $this->getLogger ()->debug ( 'Found valid state in request header' );
+ } else {
+ $this->getLogger ()->error ( 'The grant code from Yahoo had no accompanying state and may be a forgery' );
+ throw new PostmanStateIdMissingException ();
+ }
+ // Note: The Authorization: Basic authorization header is generated through a Base64 encoding of client_id:client_secret per RFC 2617.
+ // header("Authorization: Basic " . base64_encode($username . ":" . $password);
+ $headers = array (
+ 'Authorization' => sprintf ( "Basic %s", base64_encode ( $this->getClientId () . ':' . $this->getClientSecret () ) )
+ );
+ $postvals = array (
+ 'code' => $code,
+ 'grant_type' => 'authorization_code',
+ 'redirect_uri' => $this->getCallbackUri ()
+ );
+ $response = PostmanUtils::remotePostGetBodyOnly ( $this->getTokenUrl (), $postvals, $headers );
+ $this->processResponse ( $response );
+ $this->getAuthorizationToken ()->setVendorName ( self::VENDOR_NAME );
+ return true;
+ } else {
+ $this->getLogger ()->debug ( 'Expected code in the request header but found none - user probably denied request' );
+ return false;
+ }
+ }
+
+ /**
+ * Step 5: Exchange refresh token for new access token
+ * After the access token expires, you can use the refresh token, which has a long lifetime, to get a new access token.
+ */
+ public function refreshToken() {
+ $this->getLogger ()->debug ( 'Refreshing Token' );
+ $refreshUrl = $this->getTokenUrl ();
+ $callbackUrl = $this->getCallbackUri ();
+ assert ( ! empty ( $refreshUrl ) );
+ assert ( ! empty ( $callbackUrl ) );
+ $headers = array (
+ 'Authorization' => sprintf ( "Basic %s", base64_encode ( $this->getClientId () . ':' . $this->getClientSecret () ) )
+ );
+ $postvals = array (
+ 'redirect_uri' => $callbackUrl,
+ 'grant_type' => 'refresh_token',
+ 'refresh_token' => $this->getAuthorizationToken ()->getRefreshToken ()
+ );
+ $response = PostmanUtils::remotePostGetBodyOnly ( $this->getTokenUrl (), $postvals, $headers );
+ $this->processResponse ( $response );
+ }
+ public function getAuthorizationUrl() {
+ return self::AUTHORIZATION_URL;
+ }
+ public function getTokenUrl() {
+ return self::GET_TOKEN_URL;
+ }
+ }
+}
diff --git a/Postman/Postman-Configuration/PostmanConfigurationController.php b/Postman/Postman-Configuration/PostmanConfigurationController.php
new file mode 100644
index 0000000..58d26d7
--- /dev/null
+++ b/Postman/Postman-Configuration/PostmanConfigurationController.php
@@ -0,0 +1,694 @@
+<?php
+require_once ('PostmanRegisterConfigurationSettings.php');
+class PostmanConfigurationController {
+ const CONFIGURATION_SLUG = 'postman/configuration';
+ const CONFIGURATION_WIZARD_SLUG = 'postman/configuration_wizard';
+
+ // logging
+ private $logger;
+ private $options;
+ private $settingsRegistry;
+
+ // Holds the values to be used in the fields callbacks
+ private $rootPluginFilenameAndPath;
+
+ /**
+ * Constructor
+ *
+ * @param unknown $rootPluginFilenameAndPath
+ */
+ public function __construct($rootPluginFilenameAndPath) {
+ assert ( ! empty ( $rootPluginFilenameAndPath ) );
+ assert ( PostmanUtils::isAdmin () );
+ assert ( is_admin () );
+
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ $this->rootPluginFilenameAndPath = $rootPluginFilenameAndPath;
+ $this->options = PostmanOptions::getInstance ();
+ $this->settingsRegistry = new PostmanSettingsRegistry ();
+
+ PostmanUtils::registerAdminMenu ( $this, 'addConfigurationSubmenu' );
+ PostmanUtils::registerAdminMenu ( $this, 'addSetupWizardSubmenu' );
+
+ // hook on the init event
+ add_action ( 'init', array (
+ $this,
+ 'on_init'
+ ) );
+
+ // initialize the scripts, stylesheets and form fields
+ add_action ( 'admin_init', array (
+ $this,
+ 'on_admin_init'
+ ) );
+ }
+
+ /**
+ * Functions to execute on the init event
+ *
+ * "Typically used by plugins to initialize. The current user is already authenticated by this time."
+ * ref: http://codex.wordpress.org/Plugin_API/Action_Reference#Actions_Run_During_a_Typical_Request
+ */
+ public function on_init() {
+ // register Ajax handlers
+ new PostmanGetHostnameByEmailAjaxController ();
+ new PostmanManageConfigurationAjaxHandler ();
+ new PostmanImportConfigurationAjaxController ( $this->options );
+ }
+
+ /**
+ * Fires on the admin_init method
+ */
+ public function on_admin_init() {
+ //
+ $this->registerStylesAndScripts ();
+ $this->settingsRegistry->on_admin_init ();
+ }
+
+ /**
+ * Register and add settings
+ */
+ private function registerStylesAndScripts() {
+ if ($this->logger->isTrace ()) {
+ $this->logger->trace ( 'registerStylesAndScripts()' );
+ }
+ // register the stylesheet and javascript external resources
+ $pluginData = apply_filters ( 'postman_get_plugin_metadata', null );
+ wp_register_script ( 'postman_manual_config_script', plugins_url ( 'Postman/Postman-Configuration/postman_manual_config.js', $this->rootPluginFilenameAndPath ), array (
+ PostmanViewController::JQUERY_SCRIPT,
+ 'jquery_validation',
+ PostmanViewController::POSTMAN_SCRIPT
+ ), $pluginData ['version'] );
+ wp_register_script ( 'postman_wizard_script', plugins_url ( 'Postman/Postman-Configuration/postman_wizard.js', $this->rootPluginFilenameAndPath ), array (
+ PostmanViewController::JQUERY_SCRIPT,
+ 'jquery_validation',
+ 'jquery_steps_script',
+ PostmanViewController::POSTMAN_SCRIPT,
+ 'sprintf'
+ ), $pluginData ['version'] );
+ }
+
+ /**
+ */
+ private function addLocalizeScriptsToPage() {
+ $warning = __ ( 'Warning', Postman::TEXT_DOMAIN );
+ /* translators: where %s is the name of the SMTP server */
+ wp_localize_script ( 'postman_wizard_script', 'postman_smtp_mitm', sprintf ( '%s: %s', $warning, __ ( 'connected to %1$s instead of %2$s.', Postman::TEXT_DOMAIN ) ) );
+ /* translators: where %d is a port number */
+ wp_localize_script ( 'postman_wizard_script', 'postman_wizard_bad_redirect_url', __ ( 'You are about to configure OAuth 2.0 with an IP address instead of a domain name. This is not permitted. Either assign a real domain name to your site or add a fake one in your local host file.', Postman::TEXT_DOMAIN ) );
+
+ // user input
+ wp_localize_script ( PostmanViewController::POSTMAN_SCRIPT, 'postman_input_sender_email', '#input_' . PostmanOptions::MESSAGE_SENDER_EMAIL );
+ wp_localize_script ( PostmanViewController::POSTMAN_SCRIPT, 'postman_input_sender_name', '#input_' . PostmanOptions::MESSAGE_SENDER_NAME );
+ wp_localize_script ( PostmanViewController::POSTMAN_SCRIPT, 'postman_port_element_name', '#input_' . PostmanOptions::PORT );
+ wp_localize_script ( PostmanViewController::POSTMAN_SCRIPT, 'postman_hostname_element_name', '#input_' . PostmanOptions::HOSTNAME );
+
+ // the enc input
+ wp_localize_script ( PostmanViewController::POSTMAN_SCRIPT, 'postman_enc_for_password_el', '#input_enc_type_password' );
+ // these are the ids for the <option>s in the encryption <select>
+
+ // the password inputs
+ wp_localize_script ( PostmanViewController::POSTMAN_SCRIPT, 'postman_input_basic_username', '#input_' . PostmanOptions::BASIC_AUTH_USERNAME );
+ wp_localize_script ( PostmanViewController::POSTMAN_SCRIPT, 'postman_input_basic_password', '#input_' . PostmanOptions::BASIC_AUTH_PASSWORD );
+
+ // the auth input
+ wp_localize_script ( PostmanViewController::POSTMAN_SCRIPT, 'postman_redirect_url_el', '#input_oauth_redirect_url' );
+ wp_localize_script ( PostmanViewController::POSTMAN_SCRIPT, 'postman_input_auth_type', '#input_' . PostmanOptions::AUTHENTICATION_TYPE );
+
+ // the transport modules scripts
+ foreach ( PostmanTransportRegistry::getInstance ()->getTransports () as $transport ) {
+ $transport->enqueueScript ();
+ }
+
+ // we need data from port test
+ PostmanConnectivityTestController::addLocalizeScriptForPortTest ();
+
+ }
+
+ /**
+ * Register the Configuration screen
+ */
+ public function addConfigurationSubmenu() {
+ $page = add_submenu_page ( null, sprintf ( __ ( '%s Setup', Postman::TEXT_DOMAIN ), __ ( 'Postman SMTP', Postman::TEXT_DOMAIN ) ), __ ( 'Postman SMTP', Postman::TEXT_DOMAIN ), Postman::MANAGE_POSTMAN_CAPABILITY_NAME, PostmanConfigurationController::CONFIGURATION_SLUG, array (
+ $this,
+ 'outputManualConfigurationContent'
+ ) );
+ // When the plugin options page is loaded, also load the stylesheet
+ add_action ( 'admin_print_styles-' . $page, array (
+ $this,
+ 'enqueueConfigurationResources'
+ ) );
+ }
+
+ /**
+ */
+ function enqueueConfigurationResources() {
+ $this->addLocalizeScriptsToPage ();
+ wp_enqueue_style ( PostmanViewController::POSTMAN_STYLE );
+ wp_enqueue_style ( 'jquery_ui_style' );
+ wp_enqueue_script ( 'postman_manual_config_script' );
+ wp_enqueue_script ( 'jquery-ui-tabs' );
+ }
+
+ /**
+ * Register the Setup Wizard screen
+ */
+ public function addSetupWizardSubmenu() {
+ $page = add_submenu_page ( null, sprintf ( __ ( '%s Setup', Postman::TEXT_DOMAIN ), __ ( 'Postman SMTP', Postman::TEXT_DOMAIN ) ), __ ( 'Postman SMTP', Postman::TEXT_DOMAIN ), Postman::MANAGE_POSTMAN_CAPABILITY_NAME, PostmanConfigurationController::CONFIGURATION_WIZARD_SLUG, array (
+ $this,
+ 'outputWizardContent'
+ ) );
+ // When the plugin options page is loaded, also load the stylesheet
+ add_action ( 'admin_print_styles-' . $page, array (
+ $this,
+ 'enqueueWizardResources'
+ ) );
+ }
+
+ /**
+ */
+ function enqueueWizardResources() {
+ $this->addLocalizeScriptsToPage ();
+ $this->importableConfiguration = new PostmanImportableConfiguration ();
+ $startPage = 1;
+ if ($this->importableConfiguration->isImportAvailable ()) {
+ $startPage = 0;
+ }
+ wp_localize_script ( PostmanViewController::POSTMAN_SCRIPT, 'postman_setup_wizard', array (
+ 'start_page' => $startPage
+ ) );
+ wp_enqueue_style ( 'jquery_steps_style' );
+ wp_enqueue_style ( PostmanViewController::POSTMAN_STYLE );
+ wp_enqueue_script ( 'postman_wizard_script' );
+ wp_localize_script ( PostmanViewController::POSTMAN_SCRIPT, '$jq', 'jQuery.noConflict(true)' );
+ $shortLocale = substr ( get_locale (), 0, 2 );
+ if ($shortLocale != 'en') {
+ $url = plugins_url ( sprintf ( 'script/jquery-validate/localization/messages_%s.js', $shortLocale ), $this->rootPluginFilenameAndPath );
+ wp_enqueue_script ( sprintf ( 'jquery-validation-locale-%s', $shortLocale ), $url );
+ }
+ }
+
+ /**
+ */
+ public function outputManualConfigurationContent() {
+ print '<div class="wrap">';
+
+ PostmanViewController::outputChildPageHeader ( __ ( 'Settings', Postman::TEXT_DOMAIN ), 'advanced_config' );
+ print '<div id="config_tabs"><ul>';
+ print sprintf ( '<li><a href="#account_config">%s</a></li>', __ ( 'Account', Postman::TEXT_DOMAIN ) );
+ print sprintf ( '<li><a href="#message_config">%s</a></li>', __ ( 'Message', Postman::TEXT_DOMAIN ) );
+ print sprintf ( '<li><a href="#logging_config">%s</a></li>', __ ( 'Logging', Postman::TEXT_DOMAIN ) );
+ print sprintf ( '<li><a href="#advanced_options_config">%s</a></li>', __ ( 'Advanced', Postman::TEXT_DOMAIN ) );
+ print '</ul>';
+ print '<form method="post" action="options.php">';
+ // This prints out all hidden setting fields
+ settings_fields ( PostmanAdminController::SETTINGS_GROUP_NAME );
+ print '<section id="account_config">';
+ if (sizeof ( PostmanTransportRegistry::getInstance ()->getTransports () ) > 1) {
+ do_settings_sections ( 'transport_options' );
+ } else {
+ printf ( '<input id="input_%2$s" type="hidden" name="%1$s[%2$s]" value="%3$s"/>', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::TRANSPORT_TYPE, PostmanSmtpModuleTransport::SLUG );
+ }
+ print '<div id="smtp_config" class="transport_setting">';
+ do_settings_sections ( PostmanAdminController::SMTP_OPTIONS );
+ print '</div>';
+ print '<div id="password_settings" class="authentication_setting non-oauth2">';
+ do_settings_sections ( PostmanAdminController::BASIC_AUTH_OPTIONS );
+ print '</div>';
+ print '<div id="oauth_settings" class="authentication_setting non-basic">';
+ do_settings_sections ( PostmanAdminController::OAUTH_AUTH_OPTIONS );
+ print '</div>';
+ print '<div id="mandrill_settings" class="authentication_setting non-basic non-oauth2">';
+ do_settings_sections ( PostmanMandrillTransport::MANDRILL_AUTH_OPTIONS );
+ print '</div>';
+ print '<div id="sendgrid_settings" class="authentication_setting non-basic non-oauth2">';
+ do_settings_sections ( PostmanSendGridTransport::SENDGRID_AUTH_OPTIONS );
+ print '</div>';
+ print '</section>';
+ print '<section id="message_config">';
+ do_settings_sections ( PostmanAdminController::MESSAGE_SENDER_OPTIONS );
+ do_settings_sections ( PostmanAdminController::MESSAGE_FROM_OPTIONS );
+ do_settings_sections ( PostmanAdminController::EMAIL_VALIDATION_OPTIONS );
+ do_settings_sections ( PostmanAdminController::MESSAGE_OPTIONS );
+ do_settings_sections ( PostmanAdminController::MESSAGE_HEADERS_OPTIONS );
+ print '</section>';
+ print '<section id="logging_config">';
+ do_settings_sections ( PostmanAdminController::LOGGING_OPTIONS );
+ print '</section>';
+ /*
+ * print '<section id="logging_config">';
+ * do_settings_sections ( PostmanAdminController::MULTISITE_OPTIONS );
+ * print '</section>';
+ */
+ print '<section id="advanced_options_config">';
+ do_settings_sections ( PostmanAdminController::NETWORK_OPTIONS );
+ do_settings_sections ( PostmanAdminController::ADVANCED_OPTIONS );
+ print '</section>';
+ submit_button ();
+ print '</form>';
+ print '</div>';
+ print '</div>';
+ }
+
+ /**
+ */
+ public function outputWizardContent() {
+ // Set default values for input fields
+ $this->options->setMessageSenderEmailIfEmpty ( wp_get_current_user ()->user_email );
+ $this->options->setMessageSenderNameIfEmpty ( wp_get_current_user ()->display_name );
+
+ // construct Wizard
+ print '<div class="wrap">';
+
+ PostmanViewController::outputChildPageHeader ( __ ( 'Setup Wizard', Postman::TEXT_DOMAIN ) );
+
+ print '<form id="postman_wizard" method="post" action="options.php">';
+
+ // account tab
+
+ // message tab
+ printf ( '<input type="hidden" id="input_%2$s" name="%1$s[%2$s]" value="%3$s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::PREVENT_MESSAGE_SENDER_EMAIL_OVERRIDE, $this->options->isPluginSenderEmailEnforced () );
+ printf ( '<input type="hidden" id="input_%2$s" name="%1$s[%2$s]" value="%3$s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::PREVENT_MESSAGE_SENDER_NAME_OVERRIDE, $this->options->isPluginSenderNameEnforced () );
+ printf ( '<input type="hidden" id="input_%2$s" name="%1$s[%2$s]" value="%3$s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::REPLY_TO, $this->options->getReplyTo () );
+ printf ( '<input type="hidden" id="input_%2$s" name="%1$s[%2$s]" value="%3$s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::FORCED_TO_RECIPIENTS, $this->options->getForcedToRecipients () );
+ printf ( '<input type="hidden" id="input_%2$s" name="%1$s[%2$s]" value="%3$s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::FORCED_CC_RECIPIENTS, $this->options->getForcedCcRecipients () );
+ printf ( '<input type="hidden" id="input_%2$s" name="%1$s[%2$s]" value="%3$s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::FORCED_BCC_RECIPIENTS, $this->options->getForcedBccRecipients () );
+ printf ( '<input type="hidden" id="input_%2$s" name="%1$s[%2$s]" value="%3$s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::ADDITIONAL_HEADERS, $this->options->getAdditionalHeaders () );
+ printf ( '<input type="hidden" id="input_%2$s" name="%1$s[%2$s]" value="%3$s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::DISABLE_EMAIL_VALIDAITON, $this->options->isEmailValidationDisabled () );
+
+ // logging tab
+ printf ( '<input type="hidden" id="input_%2$s" name="%1$s[%2$s]" value="%3$s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::MAIL_LOG_ENABLED_OPTION, $this->options->getMailLoggingEnabled () );
+ printf ( '<input type="hidden" id="input_%2$s" name="%1$s[%2$s]" value="%3$s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::MAIL_LOG_MAX_ENTRIES, $this->options->getMailLoggingMaxEntries () );
+ printf ( '<input type="hidden" id="input_%2$s" name="%1$s[%2$s]" value="%3$s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::TRANSCRIPT_SIZE, $this->options->getTranscriptSize () );
+
+ // advanced tab
+ printf ( '<input type="hidden" id="input_%2$s" name="%1$s[%2$s]" value="%3$s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::CONNECTION_TIMEOUT, $this->options->getConnectionTimeout () );
+ printf ( '<input type="hidden" id="input_%2$s" name="%1$s[%2$s]" value="%3$s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::READ_TIMEOUT, $this->options->getReadTimeout () );
+ printf ( '<input type="hidden" id="input_%2$s" name="%1$s[%2$s]" value="%3$s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::LOG_LEVEL, $this->options->getLogLevel () );
+ printf ( '<input type="hidden" id="input_%2$s" name="%1$s[%2$s]" value="%3$s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::RUN_MODE, $this->options->getRunMode () );
+ printf ( '<input type="hidden" id="input_%2$s" name="%1$s[%2$s]" value="%3$s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::STEALTH_MODE, $this->options->isStealthModeEnabled () );
+ printf ( '<input type="hidden" id="input_%2$s" name="%1$s[%2$s]" value="%3$s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::TEMPORARY_DIRECTORY, $this->options->getTempDirectory () );
+
+ // display the setting text
+ settings_fields ( PostmanAdminController::SETTINGS_GROUP_NAME );
+
+ // Wizard Step 0
+ printf ( '<h5>%s</h5>', _x ( 'Import Configuration', 'Wizard Step Title', Postman::TEXT_DOMAIN ) );
+ print '<fieldset>';
+ printf ( '<legend>%s</legend>', _x ( 'Import configuration from another plugin?', 'Wizard Step Title', Postman::TEXT_DOMAIN ) );
+ printf ( '<p>%s</p>', __ ( 'If you had a working configuration with another Plugin, the Setup Wizard can begin with those settings.', Postman::TEXT_DOMAIN ) );
+ print '<table class="input_auth_type">';
+ printf ( '<tr><td><input type="radio" id="import_none" name="input_plugin" value="%s" checked="checked"></input></td><td><label> %s</label></td></tr>', 'none', __ ( 'None', Postman::TEXT_DOMAIN ) );
+
+ if ($this->importableConfiguration->isImportAvailable ()) {
+ foreach ( $this->importableConfiguration->getAvailableOptions () as $options ) {
+ printf ( '<tr><td><input type="radio" name="input_plugin" value="%s"/></td><td><label> %s</label></td></tr>', $options->getPluginSlug (), $options->getPluginName () );
+ }
+ }
+ print '</table>';
+ print '</fieldset>';
+
+ // Wizard Step 1
+ printf ( '<h5>%s</h5>', _x ( 'Sender Details', 'Wizard Step Title', Postman::TEXT_DOMAIN ) );
+ print '<fieldset>';
+ printf ( '<legend>%s</legend>', _x ( 'Who is the mail coming from?', 'Wizard Step Title', Postman::TEXT_DOMAIN ) );
+ printf ( '<p>%s</p>', __ ( 'Enter the email address and name you\'d like to send mail as.', Postman::TEXT_DOMAIN ) );
+ printf ( '<p>%s</p>', __ ( 'Please note that to prevent abuse, many email services will <em>not</em> let you send from an email address other than the one you authenticate with.', Postman::TEXT_DOMAIN ) );
+ printf ( '<label for="postman_options[sender_email]">%s</label>', __ ( 'Email Address', Postman::TEXT_DOMAIN ) );
+ print $this->settingsRegistry->from_email_callback ();
+ print '<br/>';
+ printf ( '<label for="postman_options[sender_name]">%s</label>', __ ( 'Name', Postman::TEXT_DOMAIN ) );
+ print $this->settingsRegistry->sender_name_callback ();
+ print '</fieldset>';
+
+ // Wizard Step 2
+ printf ( '<h5>%s</h5>', __ ( 'Outgoing Mail Server Hostname', Postman::TEXT_DOMAIN ) );
+ print '<fieldset>';
+ foreach ( PostmanTransportRegistry::getInstance ()->getTransports () as $transport ) {
+ $transport->printWizardMailServerHostnameStep ();
+ }
+ print '</fieldset>';
+
+ // Wizard Step 3
+ printf ( '<h5>%s</h5>', __ ( 'Connectivity Test', Postman::TEXT_DOMAIN ) );
+ print '<fieldset>';
+ printf ( '<legend>%s</legend>', __ ( 'How will the connection to the mail server be established?', Postman::TEXT_DOMAIN ) );
+ printf ( '<p>%s</p>', __ ( 'Your connection settings depend on what your email service provider offers, and what your WordPress host allows.', Postman::TEXT_DOMAIN ) );
+ printf ( '<p id="connectivity_test_status">%s: <span id="port_test_status">%s</span></p>', __ ( 'Connectivity Test', Postman::TEXT_DOMAIN ), _x ( 'Ready', 'TCP Port Test Status', Postman::TEXT_DOMAIN ) );
+ printf ( '<p class="ajax-loader" style="display:none"><img src="%s"/></p>', plugins_url ( 'postman-smtp/style/ajax-loader.gif' ) );
+ printf ( '<input type="hidden" id="input_%2$s" name="%1$s[%2$s]">', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::TRANSPORT_TYPE );
+ printf ( '<input type="hidden" id="input_%2$s" name="%1$s[%2$s]">', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::PORT );
+ printf ( '<input type="hidden" id="input_%2$s" name="%1$s[%2$s]">', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::SECURITY_TYPE );
+ printf ( '<input type="hidden" id="input_%2$s" name="%1$s[%2$s]">', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::AUTHENTICATION_TYPE );
+ print '<p id="wizard_recommendation"></p>';
+ /* Translators: Where %1$s is the socket identifier and %2$s is the authentication type */
+ printf ( '<p class="user_override" style="display:none"><label><span>%s:</span></label> <table id="user_socket_override" class="user_override"></table></p>', _x ( 'Socket', 'A socket is the network term for host and port together', Postman::TEXT_DOMAIN ) );
+ printf ( '<p class="user_override" style="display:none"><label><span>%s:</span></label> <table id="user_auth_override" class="user_override"></table></p>', __ ( 'Authentication', Postman::TEXT_DOMAIN ) );
+ print ('<p><span id="smtp_mitm" style="display:none; background-color:yellow"></span></p>') ;
+ $warning = __ ( 'Warning', Postman::TEXT_DOMAIN );
+ $clearCredentialsWarning = __ ( 'This configuration option will send your authorization credentials in the clear.', Postman::TEXT_DOMAIN );
+ printf ( '<p id="smtp_not_secure" style="display:none"><span style="background-color:yellow">%s: %s</span></p>', $warning, $clearCredentialsWarning );
+ print '</fieldset>';
+
+ // Wizard Step 4
+ printf ( '<h5>%s</h5>', __ ( 'Authentication', Postman::TEXT_DOMAIN ) );
+ print '<fieldset>';
+ printf ( '<legend>%s</legend>', __ ( 'How will you prove your identity to the mail server?', Postman::TEXT_DOMAIN ) );
+ foreach ( PostmanTransportRegistry::getInstance ()->getTransports () as $transport ) {
+ $transport->printWizardAuthenticationStep ();
+ }
+ print '</fieldset>';
+
+ // Wizard Step 5
+ printf ( '<h5>%s</h5>', _x ( 'Finish', 'The final step of the Wizard', Postman::TEXT_DOMAIN ) );
+ print '<fieldset>';
+ printf ( '<legend>%s</legend>', _x ( 'You\'re Done!', 'Wizard Step Title', Postman::TEXT_DOMAIN ) );
+ print '<section>';
+ printf ( '<p>%s</p>', __ ( 'Click Finish to save these settings, then:', Postman::TEXT_DOMAIN ) );
+ print '<ul style="margin-left: 20px">';
+ printf ( '<li class="wizard-auth-oauth2">%s</li>', __ ( 'Grant permission with the Email Provider for Postman to send email and', Postman::TEXT_DOMAIN ) );
+ printf ( '<li>%s</li>', __ ( 'Send yourself a Test Email to make sure everything is working!', Postman::TEXT_DOMAIN ) );
+ print '</ul>';
+ print '</section>';
+ print '</fieldset>';
+ print '</form>';
+ print '</div>';
+ }
+}
+
+/**
+ *
+ * @author jasonhendriks
+ *
+ */
+class PostmanGetHostnameByEmailAjaxController extends PostmanAbstractAjaxHandler {
+ const IS_GOOGLE_PARAMETER = 'is_google';
+ function __construct() {
+ parent::__construct ();
+ PostmanUtils::registerAjaxHandler ( 'postman_check_email', $this, 'getAjaxHostnameByEmail' );
+ }
+ /**
+ * This Ajax function retrieves the smtp hostname for a give e-mail address
+ */
+ function getAjaxHostnameByEmail() {
+ $goDaddyHostDetected = $this->getBooleanRequestParameter ( 'go_daddy' );
+ $email = $this->getRequestParameter ( 'email' );
+ $d = new PostmanSmtpDiscovery ( $email );
+ $smtp = $d->getSmtpServer ();
+ $this->logger->debug ( 'given email ' . $email . ', smtp server is ' . $smtp );
+ $this->logger->trace ( $d );
+ if ($goDaddyHostDetected && ! $d->isGoogle) {
+ // override with the GoDaddy SMTP server
+ $smtp = 'relay-hosting.secureserver.net';
+ $this->logger->debug ( 'detected GoDaddy SMTP server, smtp server is ' . $smtp );
+ }
+ $response = array (
+ 'hostname' => $smtp,
+ self::IS_GOOGLE_PARAMETER => $d->isGoogle,
+ 'is_go_daddy' => $d->isGoDaddy,
+ 'is_well_known' => $d->isWellKnownDomain
+ );
+ $this->logger->trace ( $response );
+ wp_send_json_success ( $response );
+ }
+}
+class PostmanManageConfigurationAjaxHandler extends PostmanAbstractAjaxHandler {
+ function __construct() {
+ parent::__construct ();
+ PostmanUtils::registerAjaxHandler ( 'manual_config', $this, 'getManualConfigurationViaAjax' );
+ PostmanUtils::registerAjaxHandler ( 'get_wizard_configuration_options', $this, 'getWizardConfigurationViaAjax' );
+ }
+
+ /**
+ * Handle a Advanced Configuration request with Ajax
+ *
+ * @throws Exception
+ */
+ function getManualConfigurationViaAjax() {
+ $queryTransportType = $this->getTransportTypeFromRequest ();
+ $queryAuthType = $this->getAuthenticationTypeFromRequest ();
+ $queryHostname = $this->getHostnameFromRequest ();
+
+ // the outgoing server hostname is only required for the SMTP Transport
+ // the Gmail API transport doesn't use an SMTP server
+ $transport = PostmanTransportRegistry::getInstance ()->getTransport ( $queryTransportType );
+ if (! $transport) {
+ throw new Exception ( 'Unable to find transport ' . $queryTransportType );
+ }
+
+ // create the response
+ $response = $transport->populateConfiguration ( $queryHostname );
+ $response ['referer'] = 'manual_config';
+
+ // set the display_auth to oauth2 if the transport needs it
+ if ($transport->isOAuthUsed ( $queryAuthType )) {
+ $response ['display_auth'] = 'oauth2';
+ $this->logger->debug ( 'ajaxRedirectUrl answer display_auth:' . $response ['display_auth'] );
+ }
+ $this->logger->trace ( $response );
+ wp_send_json_success ( $response );
+ }
+
+ /**
+ * Once the Port Tests have run, the results are analyzed.
+ * The Transport place bids on the sockets and highest bid becomes the recommended
+ * The UI response is built so the user may choose a different socket with different options.
+ */
+ function getWizardConfigurationViaAjax() {
+ $this->logger->debug ( 'in getWizardConfiguration' );
+ $originalSmtpServer = $this->getRequestParameter ( 'original_smtp_server' );
+ $queryHostData = $this->getHostDataFromRequest ();
+ $sockets = array ();
+ foreach ( $queryHostData as $id => $datum ) {
+ array_push ( $sockets, new PostmanWizardSocket ( $datum ) );
+ }
+ $this->logger->error ( $sockets );
+ $userPortOverride = $this->getUserPortOverride ();
+ $userAuthOverride = $this->getUserAuthOverride ();
+
+ // determine a configuration recommendation
+ $winningRecommendation = $this->getWinningRecommendation ( $sockets, $userPortOverride, $userAuthOverride, $originalSmtpServer );
+ if ($this->logger->isTrace ()) {
+ $this->logger->trace ( 'winning recommendation:' );
+ $this->logger->trace ( $winningRecommendation );
+ }
+
+ // create the reponse
+ $response = array ();
+ $configuration = array ();
+ $response ['referer'] = 'wizard';
+ if (isset ( $userPortOverride ) || isset ( $userAuthOverride )) {
+ $configuration ['user_override'] = true;
+ }
+
+ if (isset ( $winningRecommendation )) {
+
+ // create an appropriate (theoretical) transport
+ $transport = PostmanTransportRegistry::getInstance ()->getTransport ( $winningRecommendation ['transport'] );
+
+ // create user override menu
+ $overrideMenu = $this->createOverrideMenus ( $sockets, $winningRecommendation, $userPortOverride, $userAuthOverride );
+ if ($this->logger->isTrace ()) {
+ $this->logger->trace ( 'override menu:' );
+ $this->logger->trace ( $overrideMenu );
+ }
+
+ $queryHostName = $winningRecommendation ['hostname'];
+ if ($this->logger->isDebug ()) {
+ $this->logger->debug ( 'Getting scribe for ' . $queryHostName );
+ }
+ $generalConfig1 = $transport->populateConfiguration ( $queryHostName );
+ $generalConfig2 = $transport->populateConfigurationFromRecommendation ( $winningRecommendation );
+ $configuration = array_merge ( $configuration, $generalConfig1, $generalConfig2 );
+ $response ['override_menu'] = $overrideMenu;
+ $response ['configuration'] = $configuration;
+ if ($this->logger->isTrace ()) {
+ $this->logger->trace ( 'configuration:' );
+ $this->logger->trace ( $configuration );
+ $this->logger->trace ( 'response:' );
+ $this->logger->trace ( $response );
+ }
+ wp_send_json_success ( $response );
+ } else {
+ /* translators: where %s is the URL to the Connectivity Test page */
+ $configuration ['message'] = sprintf ( __ ( 'Postman can\'t find any way to send mail on your system. Run a <a href="%s">connectivity test</a>.', Postman::TEXT_DOMAIN ), PostmanViewController::getPageUrl ( PostmanViewController::PORT_TEST_SLUG ) );
+ $response ['configuration'] = $configuration;
+ if ($this->logger->isTrace ()) {
+ $this->logger->trace ( 'configuration:' );
+ $this->logger->trace ( $configuration );
+ }
+ wp_send_json_error ( $response );
+ }
+ }
+
+ /**
+ * // for each successful host/port combination
+ * // ask a transport if they support it, and if they do at what priority is it
+ * // configure for the highest priority you find
+ *
+ * @param unknown $queryHostData
+ * @return unknown
+ */
+ private function getWinningRecommendation($sockets, $userSocketOverride, $userAuthOverride, $originalSmtpServer) {
+ foreach ( $sockets as $socket ) {
+ $winningRecommendation = $this->getWin ( $socket, $userSocketOverride, $userAuthOverride, $originalSmtpServer );
+ $this->logger->error ( $socket->label );
+ }
+ return $winningRecommendation;
+ }
+
+ /**
+ *
+ * @param PostmanSocket $socket
+ * @param unknown $userSocketOverride
+ * @param unknown $userAuthOverride
+ * @param unknown $originalSmtpServer
+ * @return Ambigous <NULL, unknown, string>
+ */
+ private function getWin(PostmanWizardSocket $socket, $userSocketOverride, $userAuthOverride, $originalSmtpServer) {
+ static $recommendationPriority = - 1;
+ static $winningRecommendation = null;
+ $available = $socket->success;
+ if ($available) {
+ $this->logger->debug ( sprintf ( 'Asking for judgement on %s:%s', $socket->hostname, $socket->port ) );
+ $recommendation = PostmanTransportRegistry::getInstance ()->getRecommendation ( $socket, $userAuthOverride, $originalSmtpServer );
+ $recommendationId = sprintf ( '%s_%s', $socket->hostname, $socket->port );
+ $recommendation ['id'] = $recommendationId;
+ $this->logger->debug ( sprintf ( 'Got a recommendation: [%d] %s', $recommendation ['priority'], $recommendationId ) );
+ if (isset ( $userSocketOverride )) {
+ if ($recommendationId == $userSocketOverride) {
+ $winningRecommendation = $recommendation;
+ $this->logger->debug ( sprintf ( 'User chosen socket %s is the winner', $recommendationId ) );
+ }
+ } elseif ($recommendation && $recommendation ['priority'] > $recommendationPriority) {
+ $recommendationPriority = $recommendation ['priority'];
+ $winningRecommendation = $recommendation;
+ }
+ $socket->label = $recommendation ['label'];
+ }
+ return $winningRecommendation;
+ }
+
+ /**
+ *
+ * @param unknown $queryHostData
+ * @return multitype:
+ */
+ private function createOverrideMenus($sockets, $winningRecommendation, $userSocketOverride, $userAuthOverride) {
+ $overrideMenu = array ();
+ foreach ( $sockets as $socket ) {
+ $overrideItem = $this->createOverrideMenu ( $socket, $winningRecommendation, $userSocketOverride, $userAuthOverride );
+ if ($overrideItem != null) {
+ $overrideMenu [$socket->id] = $overrideItem;
+ }
+ }
+
+ // sort
+ krsort ( $overrideMenu );
+ $sortedMenu = array ();
+ foreach ( $overrideMenu as $menu ) {
+ array_push ( $sortedMenu, $menu );
+ }
+
+ return $sortedMenu;
+ }
+
+ /**
+ *
+ * @param PostmanWizardSocket $socket
+ * @param unknown $winningRecommendation
+ * @param unknown $userSocketOverride
+ * @param unknown $userAuthOverride
+ */
+ private function createOverrideMenu(PostmanWizardSocket $socket, $winningRecommendation, $userSocketOverride, $userAuthOverride) {
+ if ($socket->success) {
+ $transport = PostmanTransportRegistry::getInstance ()->getTransport ( $socket->transport );
+ $this->logger->debug ( sprintf ( 'Transport %s is building the override menu for socket', $transport->getSlug () ) );
+ $overrideItem = $transport->createOverrideMenu ( $socket, $winningRecommendation, $userSocketOverride, $userAuthOverride );
+ return $overrideItem;
+ }
+ return null;
+ }
+
+ /**
+ */
+ private function getTransportTypeFromRequest() {
+ return $this->getRequestParameter ( 'transport' );
+ }
+
+ /**
+ */
+ private function getHostnameFromRequest() {
+ return $this->getRequestParameter ( 'hostname' );
+ }
+
+ /**
+ */
+ private function getAuthenticationTypeFromRequest() {
+ return $this->getRequestParameter ( 'auth_type' );
+ }
+
+ /**
+ */
+ private function getHostDataFromRequest() {
+ return $this->getRequestParameter ( 'host_data' );
+ }
+
+ /**
+ */
+ private function getUserPortOverride() {
+ return $this->getRequestParameter ( 'user_port_override' );
+ }
+
+ /**
+ */
+ private function getUserAuthOverride() {
+ return $this->getRequestParameter ( 'user_auth_override' );
+ }
+}
+class PostmanImportConfigurationAjaxController extends PostmanAbstractAjaxHandler {
+ private $options;
+ /**
+ * Constructor
+ *
+ * @param PostmanOptions $options
+ */
+ function __construct(PostmanOptions $options) {
+ parent::__construct ();
+ $this->options = $options;
+ PostmanUtils::registerAjaxHandler ( 'import_configuration', $this, 'getConfigurationFromExternalPluginViaAjax' );
+ }
+
+ /**
+ * This function extracts configuration details form a competing SMTP plugin
+ * and pushes them into the Postman configuration screen.
+ */
+ function getConfigurationFromExternalPluginViaAjax() {
+ $importableConfiguration = new PostmanImportableConfiguration ();
+ $plugin = $this->getRequestParameter ( 'plugin' );
+ $this->logger->debug ( 'Looking for config=' . $plugin );
+ foreach ( $importableConfiguration->getAvailableOptions () as $this->options ) {
+ if ($this->options->getPluginSlug () == $plugin) {
+ $this->logger->debug ( 'Sending configuration response' );
+ $response = array (
+ PostmanOptions::MESSAGE_SENDER_EMAIL => $this->options->getMessageSenderEmail (),
+ PostmanOptions::MESSAGE_SENDER_NAME => $this->options->getMessageSenderName (),
+ PostmanOptions::HOSTNAME => $this->options->getHostname (),
+ PostmanOptions::PORT => $this->options->getPort (),
+ PostmanOptions::AUTHENTICATION_TYPE => $this->options->getAuthenticationType (),
+ PostmanOptions::SECURITY_TYPE => $this->options->getEncryptionType (),
+ PostmanOptions::BASIC_AUTH_USERNAME => $this->options->getUsername (),
+ PostmanOptions::BASIC_AUTH_PASSWORD => $this->options->getPassword (),
+ 'success' => true
+ );
+ break;
+ }
+ }
+ if (! isset ( $response )) {
+ $response = array (
+ 'success' => false
+ );
+ }
+ wp_send_json ( $response );
+ }
+}
diff --git a/Postman/Postman-Configuration/PostmanImportableConfiguration.php b/Postman/Postman-Configuration/PostmanImportableConfiguration.php
new file mode 100644
index 0000000..ba807d3
--- /dev/null
+++ b/Postman/Postman-Configuration/PostmanImportableConfiguration.php
@@ -0,0 +1,576 @@
+<?php
+if (! interface_exists ( 'PostmanPluginOptions' )) {
+ interface PostmanPluginOptions {
+ public function getPluginSlug();
+ public function getPluginName();
+ public function isImportable();
+ public function getHostname();
+ public function getPort();
+ public function getMessageSenderEmail();
+ public function getMessageSenderName();
+ public function getAuthenticationType();
+ public function getEncryptionType();
+ public function getUsername();
+ public function getPassword();
+ }
+}
+if (! class_exists ( 'PostmanImportableConfiguration' )) {
+
+ /**
+ * This class instantiates the Connectors for new users to Postman.
+ * It determines which Connectors can supply configuration data
+ *
+ * @author jasonhendriks
+ *
+ */
+ class PostmanImportableConfiguration {
+ private $lazyInit;
+ private $availableOptions;
+ private $importAvailable;
+ private $logger;
+ function __construct() {
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ }
+ function init() {
+ if (! $this->lazyInit) {
+ $this->queueIfAvailable ( new PostmanEasyWpSmtpOptions () );
+ $this->queueIfAvailable ( new PostmanWpSmtpOptions () );
+ $this->queueIfAvailable ( new PostmanWpMailBankOptions () );
+ $this->queueIfAvailable ( new PostmanWpMailSmtpOptions () );
+ $this->queueIfAvailable ( new PostmanCimySwiftSmtpOptions () );
+ $this->queueIfAvailable ( new PostmanConfigureSmtpOptions () );
+ }
+ $this->lazyInit = true;
+ }
+ private function queueIfAvailable(PostmanPluginOptions $options) {
+ $slug = $options->getPluginSlug ();
+ if ($options->isImportable ()) {
+ $this->availableOptions [$slug] = $options;
+ $this->importAvailable = true;
+ $this->logger->debug ( $slug . ' is importable' );
+ } else {
+ $this->logger->debug ( $slug . ' is not importable' );
+ }
+ }
+ public function getAvailableOptions() {
+ $this->init ();
+ return $this->availableOptions;
+ }
+ public function isImportAvailable() {
+ $this->init ();
+ return $this->importAvailable;
+ }
+ }
+}
+
+if (! class_exists ( 'PostmanAbstractPluginOptions' )) {
+
+ /**
+ *
+ * @author jasonhendriks
+ */
+ abstract class PostmanAbstractPluginOptions implements PostmanPluginOptions {
+ protected $options;
+ protected $logger;
+ public function __construct() {
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ }
+ public function isValid() {
+ $valid = true;
+ $host = $this->getHostname ();
+ $port = $this->getPort ();
+ $fromEmail = $this->getMessageSenderEmail ();
+ $fromName = $this->getMessageSenderName ();
+ $auth = $this->getAuthenticationType ();
+ $enc = $this->getEncryptionType ();
+ $username = $this->getUsername ();
+ $password = $this->getPassword ();
+ $valid &= ! empty ( $host );
+ $this->logger->trace ( 'host ok ' . $valid );
+ $valid &= ! empty ( $port ) && absint ( $port ) > 0 && absint ( $port ) <= 65535;
+ $this->logger->trace ( 'port ok ' . $valid );
+ $valid &= ! empty ( $fromEmail );
+ $this->logger->trace ( 'from email ok ' . $valid );
+ $valid &= ! empty ( $fromName );
+ $this->logger->trace ( 'from name ok ' . $valid );
+ $valid &= ! empty ( $auth );
+ $this->logger->trace ( 'auth ok ' . $valid );
+ $valid &= ! empty ( $enc );
+ $this->logger->trace ( 'enc ok ' . $valid );
+ if ($auth != PostmanOptions::AUTHENTICATION_TYPE_NONE) {
+ $valid &= ! empty ( $username );
+ $valid &= ! empty ( $password );
+ }
+ $this->logger->trace ( 'user/pass ok ' . $valid );
+ return $valid;
+ }
+ public function isImportable() {
+ return $this->isValid ();
+ }
+ }
+}
+
+if (! class_exists ( 'PostmanConfigureSmtpOptions' )) {
+ // ConfigureSmtp (aka "SMTP") - 80,000
+ class PostmanConfigureSmtpOptions extends PostmanAbstractPluginOptions {
+ const SLUG = 'configure_smtp';
+ const PLUGIN_NAME = 'Configure SMTP';
+ const MESSAGE_SENDER_EMAIL = 'from_email';
+ const MESSAGE_SENDER_NAME = 'from_name';
+ const HOSTNAME = 'host';
+ const PORT = 'port';
+ const AUTHENTICATION_TYPE = 'smtp_auth';
+ const ENCRYPTION_TYPE = 'smtp_secure';
+ const USERNAME = 'smtp_user';
+ const PASSWORD = 'smtp_pass';
+ public function __construct() {
+ parent::__construct ();
+ $this->options = get_option ( 'c2c_configure_smtp' );
+ }
+ public function getPluginSlug() {
+ return self::SLUG;
+ }
+ public function getPluginName() {
+ return self::PLUGIN_NAME;
+ }
+ public function getMessageSenderEmail() {
+ if (isset ( $this->options [self::MESSAGE_SENDER_EMAIL] ))
+ return $this->options [self::MESSAGE_SENDER_EMAIL];
+ }
+ public function getMessageSenderName() {
+ if (isset ( $this->options [self::MESSAGE_SENDER_NAME] ))
+ return $this->options [self::MESSAGE_SENDER_NAME];
+ }
+ public function getHostname() {
+ if (isset ( $this->options [self::HOSTNAME] ))
+ return $this->options [self::HOSTNAME];
+ }
+ public function getPort() {
+ if (isset ( $this->options [self::PORT] ))
+ return $this->options [self::PORT];
+ }
+ public function getUsername() {
+ if (isset ( $this->options [self::USERNAME] ))
+ return $this->options [self::USERNAME];
+ }
+ public function getPassword() {
+ if (isset ( $this->options [self::PASSWORD] ))
+ return $this->options [self::PASSWORD];
+ }
+ public function getAuthenticationType() {
+ if (isset ( $this->options [self::AUTHENTICATION_TYPE] )) {
+ if ($this->options [self::AUTHENTICATION_TYPE] == 1) {
+ return PostmanOptions::AUTHENTICATION_TYPE_PLAIN;
+ } else {
+ return PostmanOptions::AUTHENTICATION_TYPE_NONE;
+ }
+ }
+ }
+ public function getEncryptionType() {
+ if (isset ( $this->options [self::ENCRYPTION_TYPE] )) {
+ switch ($this->options [self::ENCRYPTION_TYPE]) {
+ case 'ssl' :
+ return PostmanOptions::SECURITY_TYPE_SMTPS;
+ case 'tls' :
+ return PostmanOptions::SECURITY_TYPE_STARTTLS;
+ case '' :
+ return PostmanOptions::SECURITY_TYPE_NONE;
+ }
+ }
+ }
+ }
+}
+
+if (! class_exists ( 'PostmanCimySwiftSmtpOptions' )) {
+ // Cimy Swift - 9,000
+ class PostmanCimySwiftSmtpOptions extends PostmanAbstractPluginOptions {
+ const SLUG = 'cimy_swift_smtp';
+ const PLUGIN_NAME = 'Cimy Swift SMTP';
+ const MESSAGE_SENDER_EMAIL = 'sender_mail';
+ const MESSAGE_SENDER_NAME = 'sender_name';
+ const HOSTNAME = 'server';
+ const PORT = 'port';
+ const ENCRYPTION_TYPE = 'ssl';
+ const USERNAME = 'username';
+ const PASSWORD = 'password';
+ public function __construct() {
+ parent::__construct ();
+ $this->options = get_option ( 'cimy_swift_smtp_options' );
+ }
+ public function getPluginSlug() {
+ return self::SLUG;
+ }
+ public function getPluginName() {
+ return self::PLUGIN_NAME;
+ }
+ public function getMessageSenderEmail() {
+ if (isset ( $this->options [self::MESSAGE_SENDER_EMAIL] ))
+ return $this->options [self::MESSAGE_SENDER_EMAIL];
+ }
+ public function getMessageSenderName() {
+ if (isset ( $this->options [self::MESSAGE_SENDER_NAME] ))
+ return $this->options [self::MESSAGE_SENDER_NAME];
+ }
+ public function getHostname() {
+ if (isset ( $this->options [self::HOSTNAME] ))
+ return $this->options [self::HOSTNAME];
+ }
+ public function getPort() {
+ if (isset ( $this->options [self::PORT] ))
+ return $this->options [self::PORT];
+ }
+ public function getUsername() {
+ if (isset ( $this->options [self::USERNAME] ))
+ return $this->options [self::USERNAME];
+ }
+ public function getPassword() {
+ if (isset ( $this->options [self::PASSWORD] ))
+ return $this->options [self::PASSWORD];
+ }
+ public function getAuthenticationType() {
+ if (! empty ( $this->options [self::USERNAME] ) && ! empty ( $this->options [self::PASSWORD] )) {
+ return PostmanOptions::AUTHENTICATION_TYPE_PLAIN;
+ } else {
+ return PostmanOptions::AUTHENTICATION_TYPE_NONE;
+ }
+ }
+ public function getEncryptionType() {
+ if (isset ( $this->options [self::ENCRYPTION_TYPE] )) {
+ switch ($this->options [self::ENCRYPTION_TYPE]) {
+ case 'ssl' :
+ return PostmanOptions::SECURITY_TYPE_SMTPS;
+ case 'tls' :
+ return PostmanOptions::SECURITY_TYPE_STARTTLS;
+ case '' :
+ return PostmanOptions::SECURITY_TYPE_NONE;
+ }
+ }
+ }
+ }
+}
+
+// Easy WP SMTP - 40,000
+if (! class_exists ( 'PostmanEasyWpSmtpOptions' )) {
+
+ /**
+ * Imports Easy WP SMTP options into Postman
+ *
+ * @author jasonhendriks
+ */
+ class PostmanEasyWpSmtpOptions extends PostmanAbstractPluginOptions implements PostmanPluginOptions {
+ const SLUG = 'easy_wp_smtp';
+ const PLUGIN_NAME = 'Easy WP SMTP';
+ const SMTP_SETTINGS = 'smtp_settings';
+ const MESSAGE_SENDER_EMAIL = 'from_email_field';
+ const MESSAGE_SENDER_NAME = 'from_name_field';
+ const HOSTNAME = 'host';
+ const PORT = 'port';
+ const ENCRYPTION_TYPE = 'type_encryption';
+ const AUTHENTICATION_TYPE = 'autentication';
+ const USERNAME = 'username';
+ const PASSWORD = 'password';
+ public function __construct() {
+ parent::__construct ();
+ $this->options = get_option ( 'swpsmtp_options' );
+ }
+ public function getPluginSlug() {
+ return self::SLUG;
+ }
+ public function getPluginName() {
+ return self::PLUGIN_NAME;
+ }
+ public function getMessageSenderEmail() {
+ if (isset ( $this->options [self::MESSAGE_SENDER_EMAIL] ))
+ return $this->options [self::MESSAGE_SENDER_EMAIL];
+ }
+ public function getMessageSenderName() {
+ if (isset ( $this->options [self::MESSAGE_SENDER_NAME] ))
+ return $this->options [self::MESSAGE_SENDER_NAME];
+ }
+ public function getHostname() {
+ if (isset ( $this->options [self::SMTP_SETTINGS] [self::HOSTNAME] ))
+ return $this->options [self::SMTP_SETTINGS] [self::HOSTNAME];
+ }
+ public function getPort() {
+ if (isset ( $this->options [self::SMTP_SETTINGS] [self::PORT] ))
+ return $this->options [self::SMTP_SETTINGS] [self::PORT];
+ }
+ public function getUsername() {
+ if (isset ( $this->options [self::SMTP_SETTINGS] [self::USERNAME] ))
+ return $this->options [self::SMTP_SETTINGS] [self::USERNAME];
+ }
+ public function getPassword() {
+ if (isset ( $this->options [self::SMTP_SETTINGS] [self::PASSWORD] )) {
+ // wpecommerce screwed the pooch
+ $password = $this->options [self::SMTP_SETTINGS] [self::PASSWORD];
+ if (strlen ( $password ) % 4 != 0 || preg_match ( '/[^A-Za-z0-9]/', $password )) {
+ $decodedPw = base64_decode ( $password, true );
+ $reencodedPw = base64_encode ( $decodedPw );
+ if ($reencodedPw === $password) {
+ // encoded
+ return $decodedPw;
+ } else {
+ // not encoded
+ return $password;
+ }
+ }
+ }
+ }
+ public function getAuthenticationType() {
+ if (isset ( $this->options [self::SMTP_SETTINGS] [self::AUTHENTICATION_TYPE] )) {
+ switch ($this->options [self::SMTP_SETTINGS] [self::AUTHENTICATION_TYPE]) {
+ case 'yes' :
+ return PostmanOptions::AUTHENTICATION_TYPE_PLAIN;
+ case 'no' :
+ return PostmanOptions::AUTHENTICATION_TYPE_NONE;
+ }
+ }
+ }
+ public function getEncryptionType() {
+ if (isset ( $this->options [self::SMTP_SETTINGS] [self::ENCRYPTION_TYPE] )) {
+ switch ($this->options [self::SMTP_SETTINGS] [self::ENCRYPTION_TYPE]) {
+ case 'ssl' :
+ return PostmanOptions::SECURITY_TYPE_SMTPS;
+ case 'tls' :
+ return PostmanOptions::SECURITY_TYPE_STARTTLS;
+ case 'none' :
+ return PostmanOptions::SECURITY_TYPE_NONE;
+ }
+ }
+ }
+ }
+}
+
+if (! class_exists ( 'PostmanWpMailBankOptions' )) {
+
+ /**
+ * Import configuration from WP Mail Bank
+ *
+ * @author jasonhendriks
+ *
+ */
+ class PostmanWpMailBankOptions extends PostmanAbstractPluginOptions implements PostmanPluginOptions {
+ const SLUG = 'wp_mail_bank';
+ const PLUGIN_NAME = 'WP Mail Bank';
+ public function __construct() {
+ parent::__construct ();
+ // data is stored in table wp_mail_bank
+ // fields are id, from_name, from_email, mailer_type, return_path, return_email, smtp_host, smtp_port, word_wrap, encryption, smtp_keep_alive, authentication, smtp_username, smtp_password
+ global $wpdb;
+ $wpdb->show_errors ();
+ $wpdb->suppress_errors ();
+ $this->options = @$wpdb->get_row ( "SELECT from_name, from_email, mailer_type, smtp_host, smtp_port, encryption, authentication, smtp_username, smtp_password FROM " . $wpdb->prefix . "mail_bank" );
+ }
+ public function getPluginSlug() {
+ return self::SLUG;
+ }
+ public function getPluginName() {
+ return self::PLUGIN_NAME;
+ }
+ public function getMessageSenderEmail() {
+ if (isset ( $this->options->from_email ))
+ return $this->options->from_email;
+ }
+ public function getMessageSenderName() {
+ if (isset ( $this->options->from_name )) {
+ return stripslashes ( htmlspecialchars_decode ( $this->options->from_name, ENT_QUOTES ) );
+ }
+ }
+ public function getHostname() {
+ if (isset ( $this->options->smtp_host ))
+ return $this->options->smtp_host;
+ }
+ public function getPort() {
+ if (isset ( $this->options->smtp_port ))
+ return $this->options->smtp_port;
+ }
+ public function getUsername() {
+ if (isset ( $this->options->authentication ) && isset ( $this->options->smtp_username ))
+ if ($this->options->authentication == 1)
+ return $this->options->smtp_username;
+ }
+ public function getPassword() {
+ if (isset ( $this->options->authentication ) && isset ( $this->options->smtp_password )) {
+ if ($this->options->authentication == 1)
+ return $this->options->smtp_password;
+ }
+ }
+ public function getAuthenticationType() {
+ if (isset ( $this->options->authentication )) {
+ if ($this->options->authentication == 1) {
+ return PostmanOptions::AUTHENTICATION_TYPE_PLAIN;
+ } else if ($this->options->authentication == 0) {
+ return PostmanOptions::AUTHENTICATION_TYPE_NONE;
+ }
+ }
+ }
+ public function getEncryptionType() {
+ if (isset ( $this->options->mailer_type )) {
+ if ($this->options->mailer_type == 0) {
+ switch ($this->options->encryption) {
+ case 0 :
+ return PostmanOptions::SECURITY_TYPE_NONE;
+ case 1 :
+ return PostmanOptions::SECURITY_TYPE_SMTPS;
+ case 2 :
+ return PostmanOptions::SECURITY_TYPE_STARTTLS;
+ }
+ }
+ }
+ }
+ }
+}
+
+// "WP Mail SMTP" (aka "Email") - 300,000
+// each field is a new row in options : mail_from, mail_from_name, smtp_host, smtp_port, smtp_ssl, smtp_auth, smtp_user, smtp_pass
+// "Easy SMTP Mail" aka. "Webriti SMTP Mail" appears to share the data format of "WP Mail SMTP" so no need to create an Options class for it.
+//
+if (! class_exists ( 'PostmanWpMailSmtpOptions' )) {
+ class PostmanWpMailSmtpOptions extends PostmanAbstractPluginOptions implements PostmanPluginOptions {
+ const SLUG = 'wp_mail_smtp';
+ const PLUGIN_NAME = 'WP Mail SMTP';
+ const MESSAGE_SENDER_EMAIL = 'mail_from';
+ const MESSAGE_SENDER_NAME = 'mail_from_name';
+ const HOSTNAME = 'smtp_host';
+ const PORT = 'smtp_port';
+ const ENCRYPTION_TYPE = 'smtp_ssl';
+ const AUTHENTICATION_TYPE = 'smtp_auth';
+ const USERNAME = 'smtp_user';
+ const PASSWORD = 'smtp_pass';
+ public function __construct() {
+ parent::__construct ();
+ $this->options [self::MESSAGE_SENDER_EMAIL] = get_option ( self::MESSAGE_SENDER_EMAIL );
+ $this->options [self::MESSAGE_SENDER_NAME] = get_option ( self::MESSAGE_SENDER_NAME );
+ $this->options [self::HOSTNAME] = get_option ( self::HOSTNAME );
+ $this->options [self::PORT] = get_option ( self::PORT );
+ $this->options [self::ENCRYPTION_TYPE] = get_option ( self::ENCRYPTION_TYPE );
+ $this->options [self::AUTHENTICATION_TYPE] = get_option ( self::AUTHENTICATION_TYPE );
+ $this->options [self::USERNAME] = get_option ( self::USERNAME );
+ $this->options [self::PASSWORD] = get_option ( self::PASSWORD );
+ }
+ public function getPluginSlug() {
+ return self::SLUG;
+ }
+ public function getPluginName() {
+ return self::PLUGIN_NAME;
+ }
+ public function getMessageSenderEmail() {
+ if (isset ( $this->options [self::MESSAGE_SENDER_EMAIL] ))
+ return $this->options [self::MESSAGE_SENDER_EMAIL];
+ }
+ public function getMessageSenderName() {
+ if (isset ( $this->options [self::MESSAGE_SENDER_NAME] ))
+ return $this->options [self::MESSAGE_SENDER_NAME];
+ }
+ public function getHostname() {
+ if (isset ( $this->options [self::HOSTNAME] ))
+ return $this->options [self::HOSTNAME];
+ }
+ public function getPort() {
+ if (isset ( $this->options [self::PORT] ))
+ return $this->options [self::PORT];
+ }
+ public function getUsername() {
+ if (isset ( $this->options [self::USERNAME] ))
+ return $this->options [self::USERNAME];
+ }
+ public function getPassword() {
+ if (isset ( $this->options [self::PASSWORD] ))
+ return $this->options [self::PASSWORD];
+ }
+ public function getAuthenticationType() {
+ if (isset ( $this->options [self::AUTHENTICATION_TYPE] )) {
+ switch ($this->options [self::AUTHENTICATION_TYPE]) {
+ case 'true' :
+ return PostmanOptions::AUTHENTICATION_TYPE_PLAIN;
+ case 'false' :
+ return PostmanOptions::AUTHENTICATION_TYPE_NONE;
+ }
+ }
+ }
+ public function getEncryptionType() {
+ if (isset ( $this->options [self::ENCRYPTION_TYPE] )) {
+ switch ($this->options [self::ENCRYPTION_TYPE]) {
+ case 'ssl' :
+ return PostmanOptions::SECURITY_TYPE_SMTPS;
+ case 'tls' :
+ return PostmanOptions::SECURITY_TYPE_STARTTLS;
+ case 'none' :
+ return PostmanOptions::SECURITY_TYPE_NONE;
+ }
+ }
+ }
+ }
+}
+
+// WP SMTP - 40,000
+if (! class_exists ( 'PostmanWpSmtpOptions' )) {
+ class PostmanWpSmtpOptions extends PostmanAbstractPluginOptions implements PostmanPluginOptions {
+ const SLUG = 'wp_smtp'; // god these names are terrible
+ const PLUGIN_NAME = 'WP SMTP';
+ const MESSAGE_SENDER_EMAIL = 'from';
+ const MESSAGE_SENDER_NAME = 'fromname';
+ const HOSTNAME = 'host';
+ const PORT = 'port';
+ const ENCRYPTION_TYPE = 'smtpsecure';
+ const AUTHENTICATION_TYPE = 'smtpauth';
+ const USERNAME = 'username';
+ const PASSWORD = 'password';
+ public function __construct() {
+ parent::__construct ();
+ $this->options = get_option ( 'wp_smtp_options' );
+ }
+ public function getPluginSlug() {
+ return self::SLUG;
+ }
+ public function getPluginName() {
+ return self::PLUGIN_NAME;
+ }
+ public function getMessageSenderEmail() {
+ if (isset ( $this->options [self::MESSAGE_SENDER_EMAIL] ))
+ return $this->options [self::MESSAGE_SENDER_EMAIL];
+ }
+ public function getMessageSenderName() {
+ if (isset ( $this->options [self::MESSAGE_SENDER_NAME] ))
+ return $this->options [self::MESSAGE_SENDER_NAME];
+ }
+ public function getHostname() {
+ if (isset ( $this->options [self::HOSTNAME] ))
+ return $this->options [self::HOSTNAME];
+ }
+ public function getPort() {
+ if (isset ( $this->options [self::PORT] ))
+ return $this->options [self::PORT];
+ }
+ public function getUsername() {
+ if (isset ( $this->options [self::USERNAME] ))
+ return $this->options [self::USERNAME];
+ }
+ public function getPassword() {
+ if (isset ( $this->options [self::PASSWORD] ))
+ return $this->options [self::PASSWORD];
+ }
+ public function getAuthenticationType() {
+ if (isset ( $this->options [self::AUTHENTICATION_TYPE] )) {
+ switch ($this->options [self::AUTHENTICATION_TYPE]) {
+ case 'yes' :
+ return PostmanOptions::AUTHENTICATION_TYPE_PLAIN;
+ case 'no' :
+ return PostmanOptions::AUTHENTICATION_TYPE_NONE;
+ }
+ }
+ }
+ public function getEncryptionType() {
+ if (isset ( $this->options [self::ENCRYPTION_TYPE] )) {
+ switch ($this->options [self::ENCRYPTION_TYPE]) {
+ case 'ssl' :
+ return PostmanOptions::SECURITY_TYPE_SMTPS;
+ case 'tls' :
+ return PostmanOptions::SECURITY_TYPE_STARTTLS;
+ case '' :
+ return PostmanOptions::SECURITY_TYPE_NONE;
+ }
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php b/Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php
new file mode 100644
index 0000000..c1a42a2
--- /dev/null
+++ b/Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php
@@ -0,0 +1,407 @@
+<?php
+class PostmanSettingsRegistry {
+
+ private $options;
+
+ public function __construct() {
+ $this->options = PostmanOptions::getInstance();
+ }
+
+ /**
+ * Fires on the admin_init method
+ */
+ public function on_admin_init() {
+ //
+ $this->registerSettings ();
+ }
+
+ /**
+ * Register and add settings
+ */
+ private function registerSettings() {
+
+ // only administrators should be able to trigger this
+ if (PostmanUtils::isAdmin ()) {
+ //
+ $sanitizer = new PostmanInputSanitizer ();
+ register_setting ( PostmanAdminController::SETTINGS_GROUP_NAME, PostmanOptions::POSTMAN_OPTIONS, array (
+ $sanitizer,
+ 'sanitize'
+ ) );
+
+ // Sanitize
+ add_settings_section ( 'transport_section', __ ( 'Transport', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'printTransportSectionInfo'
+ ), 'transport_options' );
+
+ add_settings_field ( PostmanOptions::TRANSPORT_TYPE, _x ( 'Type', '(i.e.) What kind is it?', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'transport_type_callback'
+ ), 'transport_options', 'transport_section' );
+
+ // the Message From section
+ add_settings_section ( PostmanAdminController::MESSAGE_FROM_SECTION, _x ( 'From Address', 'The Message Sender Email Address', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'printMessageFromSectionInfo'
+ ), PostmanAdminController::MESSAGE_FROM_OPTIONS );
+
+ add_settings_field ( PostmanOptions::MESSAGE_SENDER_EMAIL, __ ( 'Email Address', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'from_email_callback'
+ ), PostmanAdminController::MESSAGE_FROM_OPTIONS, PostmanAdminController::MESSAGE_FROM_SECTION );
+
+ add_settings_field ( PostmanOptions::PREVENT_MESSAGE_SENDER_EMAIL_OVERRIDE, '', array (
+ $this,
+ 'prevent_from_email_override_callback'
+ ), PostmanAdminController::MESSAGE_FROM_OPTIONS, PostmanAdminController::MESSAGE_FROM_SECTION );
+
+ add_settings_field ( PostmanOptions::MESSAGE_SENDER_NAME, __ ( 'Name', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'sender_name_callback'
+ ), PostmanAdminController::MESSAGE_FROM_OPTIONS, PostmanAdminController::MESSAGE_FROM_SECTION );
+
+ add_settings_field ( PostmanOptions::PREVENT_MESSAGE_SENDER_NAME_OVERRIDE, '', array (
+ $this,
+ 'prevent_from_name_override_callback'
+ ), PostmanAdminController::MESSAGE_FROM_OPTIONS, PostmanAdminController::MESSAGE_FROM_SECTION );
+
+ // the Additional Addresses section
+ add_settings_section ( PostmanAdminController::MESSAGE_SECTION, __ ( 'Additional Email Addresses', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'printMessageSectionInfo'
+ ), PostmanAdminController::MESSAGE_OPTIONS );
+
+ add_settings_field ( PostmanOptions::REPLY_TO, __ ( 'Reply-To', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'reply_to_callback'
+ ), PostmanAdminController::MESSAGE_OPTIONS, PostmanAdminController::MESSAGE_SECTION );
+
+ add_settings_field ( PostmanOptions::FORCED_TO_RECIPIENTS, __ ( 'To Recipient(s)', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'to_callback'
+ ), PostmanAdminController::MESSAGE_OPTIONS, PostmanAdminController::MESSAGE_SECTION );
+
+ add_settings_field ( PostmanOptions::FORCED_CC_RECIPIENTS, __ ( 'Carbon Copy Recipient(s)', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'cc_callback'
+ ), PostmanAdminController::MESSAGE_OPTIONS, PostmanAdminController::MESSAGE_SECTION );
+
+ add_settings_field ( PostmanOptions::FORCED_BCC_RECIPIENTS, __ ( 'Blind Carbon Copy Recipient(s)', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'bcc_callback'
+ ), PostmanAdminController::MESSAGE_OPTIONS, PostmanAdminController::MESSAGE_SECTION );
+
+ // the Additional Headers section
+ add_settings_section ( PostmanAdminController::MESSAGE_HEADERS_SECTION, __ ( 'Additional Headers', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'printAdditionalHeadersSectionInfo'
+ ), PostmanAdminController::MESSAGE_HEADERS_OPTIONS );
+
+ add_settings_field ( PostmanOptions::ADDITIONAL_HEADERS, __ ( 'Custom Headers', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'headers_callback'
+ ), PostmanAdminController::MESSAGE_HEADERS_OPTIONS, PostmanAdminController::MESSAGE_HEADERS_SECTION );
+
+ // the Email Validation section
+ add_settings_section ( PostmanAdminController::EMAIL_VALIDATION_SECTION, __ ( 'Validation', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'printEmailValidationSectionInfo'
+ ), PostmanAdminController::EMAIL_VALIDATION_OPTIONS );
+
+ add_settings_field ( PostmanOptions::ENVELOPE_SENDER, __ ( 'Email Address', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'disable_email_validation_callback'
+ ), PostmanAdminController::EMAIL_VALIDATION_OPTIONS, PostmanAdminController::EMAIL_VALIDATION_SECTION );
+
+ // the Logging section
+ add_settings_section ( PostmanAdminController::LOGGING_SECTION, __ ( 'Email Log Settings', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'printLoggingSectionInfo'
+ ), PostmanAdminController::LOGGING_OPTIONS );
+
+ add_settings_field ( 'logging_status', __ ( 'Enable Logging', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'loggingStatusInputField'
+ ), PostmanAdminController::LOGGING_OPTIONS, PostmanAdminController::LOGGING_SECTION );
+
+ add_settings_field ( 'logging_max_entries', __ ( 'Maximum Log Entries', 'Configuration Input Field', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'loggingMaxEntriesInputField'
+ ), PostmanAdminController::LOGGING_OPTIONS, PostmanAdminController::LOGGING_SECTION );
+
+ add_settings_field ( PostmanOptions::TRANSCRIPT_SIZE, __ ( 'Maximum Transcript Size', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'transcriptSizeInputField'
+ ), PostmanAdminController::LOGGING_OPTIONS, PostmanAdminController::LOGGING_SECTION );
+
+ // the Network section
+ add_settings_section ( PostmanAdminController::NETWORK_SECTION, __ ( 'Network Settings', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'printNetworkSectionInfo'
+ ), PostmanAdminController::NETWORK_OPTIONS );
+
+ add_settings_field ( 'connection_timeout', _x ( 'TCP Connection Timeout (sec)', 'Configuration Input Field', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'connection_timeout_callback'
+ ), PostmanAdminController::NETWORK_OPTIONS, PostmanAdminController::NETWORK_SECTION );
+
+ add_settings_field ( 'read_timeout', _x ( 'TCP Read Timeout (sec)', 'Configuration Input Field', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'read_timeout_callback'
+ ), PostmanAdminController::NETWORK_OPTIONS, PostmanAdminController::NETWORK_SECTION );
+
+ // the Advanced section
+ add_settings_section ( PostmanAdminController::ADVANCED_SECTION, _x ( 'Miscellaneous Settings', 'Configuration Section Title', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'printAdvancedSectionInfo'
+ ), PostmanAdminController::ADVANCED_OPTIONS );
+
+ add_settings_field ( PostmanOptions::LOG_LEVEL, _x ( 'PHP Log Level', 'Configuration Input Field', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'log_level_callback'
+ ), PostmanAdminController::ADVANCED_OPTIONS, PostmanAdminController::ADVANCED_SECTION );
+
+ add_settings_field ( PostmanOptions::RUN_MODE, _x ( 'Delivery Mode', 'Configuration Input Field', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'runModeCallback'
+ ), PostmanAdminController::ADVANCED_OPTIONS, PostmanAdminController::ADVANCED_SECTION );
+
+ add_settings_field ( PostmanOptions::STEALTH_MODE, _x ( 'Stealth Mode', 'This mode removes the Postman X-Mailer signature from emails', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'stealthModeCallback'
+ ), PostmanAdminController::ADVANCED_OPTIONS, PostmanAdminController::ADVANCED_SECTION );
+
+ add_settings_field ( PostmanOptions::TEMPORARY_DIRECTORY, __ ( 'Temporary Directory', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'temporaryDirectoryCallback'
+ ), PostmanAdminController::ADVANCED_OPTIONS, PostmanAdminController::ADVANCED_SECTION );
+ }
+ }
+
+ /**
+ * Print the Transport section info
+ */
+ public function printTransportSectionInfo() {
+ print __ ( 'Choose SMTP or a vendor-specific API:', Postman::TEXT_DOMAIN );
+ }
+ public function printLoggingSectionInfo() {
+ print __ ( 'Configure the delivery audit log:', Postman::TEXT_DOMAIN );
+ }
+
+ /**
+ * Print the Section text
+ */
+ public function printMessageFromSectionInfo() {
+ print sprintf ( __ ( 'This address, like the <b>letterhead</b> printed on a letter, identifies the sender to the recipient. Change this when you are sending on behalf of someone else, for example to use Google\'s <a href="%s">Send Mail As</a> feature. Other plugins, especially Contact Forms, may override this field to be your visitor\'s address.', Postman::TEXT_DOMAIN ), 'https://support.google.com/mail/answer/22370?hl=en' );
+ }
+
+ /**
+ * Print the Section text
+ */
+ public function printMessageSectionInfo() {
+ print __ ( 'Separate multiple <b>to</b>/<b>cc</b>/<b>bcc</b> recipients with commas.', Postman::TEXT_DOMAIN );
+ }
+
+ /**
+ * Print the Section text
+ */
+ public function printNetworkSectionInfo() {
+ print __ ( 'Increase the timeouts if your host is intermittenly failing to send mail. Be careful, this also correlates to how long your user must wait if the mail server is unreachable.', Postman::TEXT_DOMAIN );
+ }
+ /**
+ * Print the Section text
+ */
+ public function printAdvancedSectionInfo() {
+ }
+ /**
+ * Print the Section text
+ */
+ public function printAdditionalHeadersSectionInfo() {
+ print __ ( 'Specify custom headers (e.g. <code>X-MC-Tags: wordpress-site-A</code>), one per line. Use custom headers with caution as they can negatively affect your Spam score.', Postman::TEXT_DOMAIN );
+ }
+
+ /**
+ * Print the Email Validation Description
+ */
+ public function printEmailValidationSectionInfo() {
+ print __ ( 'E-mail addresses can be validated before sending e-mail, however this may fail with some newer domains.', Postman::TEXT_DOMAIN );
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function transport_type_callback() {
+ $transportType = $this->options->getTransportType ();
+ printf ( '<select id="input_%2$s" class="input_%2$s" name="%1$s[%2$s]">', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::TRANSPORT_TYPE );
+ foreach ( PostmanTransportRegistry::getInstance ()->getTransports () as $transport ) {
+ printf ( '<option class="input_tx_type_%1$s" value="%1$s" %3$s>%2$s</option>', $transport->getSlug (), $transport->getName (), $transportType == $transport->getSlug () ? 'selected="selected"' : '' );
+ }
+ print '</select>';
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function sender_name_callback() {
+ printf ( '<input type="text" id="input_sender_name" name="postman_options[sender_name]" value="%s" size="40" />', null !== $this->options->getMessageSenderName () ? esc_attr ( $this->options->getMessageSenderName () ) : '' );
+ }
+
+ /**
+ */
+ public function prevent_from_name_override_callback() {
+ $enforced = $this->options->isPluginSenderNameEnforced ();
+ printf ( '<input type="checkbox" id="input_prevent_sender_name_override" name="postman_options[prevent_sender_name_override]" %s /> %s', $enforced ? 'checked="checked"' : '', __ ( 'Prevent <b>plugins</b> and <b>themes</b> from changing this', Postman::TEXT_DOMAIN ) );
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function from_email_callback() {
+ printf ( '<input type="email" id="input_sender_email" name="postman_options[sender_email]" value="%s" size="40" class="required" placeholder="%s"/>', null !== $this->options->getMessageSenderEmail () ? esc_attr ( $this->options->getMessageSenderEmail () ) : '', __ ( 'Required', Postman::TEXT_DOMAIN ) );
+ }
+
+ /**
+ * Print the Section text
+ */
+ public function printMessageSenderSectionInfo() {
+ print sprintf ( __ ( 'This address, like the <b>return address</b> printed on an envelope, identifies the account owner to the SMTP server.', Postman::TEXT_DOMAIN ), 'https://support.google.com/mail/answer/22370?hl=en' );
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function prevent_from_email_override_callback() {
+ $enforced = $this->options->isPluginSenderEmailEnforced ();
+ printf ( '<input type="checkbox" id="input_prevent_sender_email_override" name="postman_options[prevent_sender_email_override]" %s /> %s', $enforced ? 'checked="checked"' : '', __ ( 'Prevent <b>plugins</b> and <b>themes</b> from changing this', Postman::TEXT_DOMAIN ) );
+ }
+
+ /**
+ * Shows the Mail Logging enable/disabled option
+ */
+ public function loggingStatusInputField() {
+ // isMailLoggingAllowed
+ $disabled = "";
+ if (! $this->options->isMailLoggingAllowed ()) {
+ $disabled = 'disabled="disabled" ';
+ }
+ printf ( '<select ' . $disabled . 'id="input_%2$s" class="input_%2$s" name="%1$s[%2$s]">', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::MAIL_LOG_ENABLED_OPTION );
+ printf ( '<option value="%s" %s>%s</option>', PostmanOptions::MAIL_LOG_ENABLED_OPTION_YES, $this->options->isMailLoggingEnabled () ? 'selected="selected"' : '', __ ( 'Yes', Postman::TEXT_DOMAIN ) );
+ printf ( '<option value="%s" %s>%s</option>', PostmanOptions::MAIL_LOG_ENABLED_OPTION_NO, ! $this->options->isMailLoggingEnabled () ? 'selected="selected"' : '', __ ( 'No', Postman::TEXT_DOMAIN ) );
+ printf ( '</select>' );
+ }
+ public function loggingMaxEntriesInputField() {
+ printf ( '<input type="text" id="input_logging_max_entries" name="postman_options[%s]" value="%s"/>', PostmanOptions::MAIL_LOG_MAX_ENTRIES, $this->options->getMailLoggingMaxEntries () );
+ }
+ public function transcriptSizeInputField() {
+ $inputOptionsSlug = PostmanOptions::POSTMAN_OPTIONS;
+ $inputTranscriptSlug = PostmanOptions::TRANSCRIPT_SIZE;
+ $inputValue = $this->options->getTranscriptSize ();
+ $inputDescription = __ ( 'Change this value if you can\'t see the beginning of the transcript because your messages are too big.', Postman::TEXT_DOMAIN );
+ printf ( '<input type="text" id="input%2$s" name="%1$s[%2$s]" value="%3$s"/><br/><span class="postman_input_description">%4$s</span>', $inputOptionsSlug, $inputTranscriptSlug, $inputValue, $inputDescription );
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function reply_to_callback() {
+ printf ( '<input type="text" id="input_reply_to" name="%s[%s]" value="%s" size="40" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::REPLY_TO, null !== $this->options->getReplyTo () ? esc_attr ( $this->options->getReplyTo () ) : '' );
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function to_callback() {
+ printf ( '<input type="text" id="input_to" name="%s[%s]" value="%s" size="60" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::FORCED_TO_RECIPIENTS, null !== $this->options->getForcedToRecipients () ? esc_attr ( $this->options->getForcedToRecipients () ) : '' );
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function cc_callback() {
+ printf ( '<input type="text" id="input_cc" name="%s[%s]" value="%s" size="60" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::FORCED_CC_RECIPIENTS, null !== $this->options->getForcedCcRecipients () ? esc_attr ( $this->options->getForcedCcRecipients () ) : '' );
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function bcc_callback() {
+ printf ( '<input type="text" id="input_bcc" name="%s[%s]" value="%s" size="60" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::FORCED_BCC_RECIPIENTS, null !== $this->options->getForcedBccRecipients () ? esc_attr ( $this->options->getForcedBccRecipients () ) : '' );
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function headers_callback() {
+ printf ( '<textarea id="input_headers" name="%s[%s]" cols="60" rows="5" >%s</textarea>', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::ADDITIONAL_HEADERS, null !== $this->options->getAdditionalHeaders () ? esc_attr ( $this->options->getAdditionalHeaders () ) : '' );
+ }
+
+ /**
+ */
+ public function disable_email_validation_callback() {
+ $disabled = $this->options->isEmailValidationDisabled ();
+ printf ( '<input type="checkbox" id="%2$s" name="%1$s[%2$s]" %3$s /> %4$s', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::DISABLE_EMAIL_VALIDAITON, $disabled ? 'checked="checked"' : '', __ ( 'Disable e-mail validation', Postman::TEXT_DOMAIN ) );
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function log_level_callback() {
+ $inputDescription = sprintf ( __ ( 'Log Level specifies the level of detail written to the <a target="_new" href="%s">WordPress Debug log</a> - view the log with <a target-"_new" href="%s">Debug</a>.', Postman::TEXT_DOMAIN ), 'https://codex.wordpress.org/Debugging_in_WordPress', 'https://wordpress.org/plugins/debug/' );
+ printf ( '<select id="input_%2$s" class="input_%2$s" name="%1$s[%2$s]">', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::LOG_LEVEL );
+ $currentKey = $this->options->getLogLevel ();
+ $this->printSelectOption ( __ ( 'Off', Postman::TEXT_DOMAIN ), PostmanLogger::OFF_INT, $currentKey );
+ $this->printSelectOption ( __ ( 'Trace', Postman::TEXT_DOMAIN ), PostmanLogger::TRACE_INT, $currentKey );
+ $this->printSelectOption ( __ ( 'Debug', Postman::TEXT_DOMAIN ), PostmanLogger::DEBUG_INT, $currentKey );
+ $this->printSelectOption ( __ ( 'Info', Postman::TEXT_DOMAIN ), PostmanLogger::INFO_INT, $currentKey );
+ $this->printSelectOption ( __ ( 'Warning', Postman::TEXT_DOMAIN ), PostmanLogger::WARN_INT, $currentKey );
+ $this->printSelectOption ( __ ( 'Error', Postman::TEXT_DOMAIN ), PostmanLogger::ERROR_INT, $currentKey );
+ printf ( '</select><br/><span class="postman_input_description">%s</span>', $inputDescription );
+ }
+ private function printSelectOption($label, $optionKey, $currentKey) {
+ $optionPattern = '<option value="%1$s" %2$s>%3$s</option>';
+ printf ( $optionPattern, $optionKey, $optionKey == $currentKey ? 'selected="selected"' : '', $label );
+ }
+ public function runModeCallback() {
+ $inputDescription = __ ( 'Delivery mode offers options useful for developing or testing.', Postman::TEXT_DOMAIN );
+ printf ( '<select id="input_%2$s" class="input_%2$s" name="%1$s[%2$s]">', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::RUN_MODE );
+ $currentKey = $this->options->getRunMode ();
+ $this->printSelectOption ( _x ( 'Log Email and Send', 'When the server is online to the public, this is "Production" mode', Postman::TEXT_DOMAIN ), PostmanOptions::RUN_MODE_PRODUCTION, $currentKey );
+ $this->printSelectOption ( __ ( 'Log Email and Delete', Postman::TEXT_DOMAIN ), PostmanOptions::RUN_MODE_LOG_ONLY, $currentKey );
+ $this->printSelectOption ( __ ( 'Delete All Emails', Postman::TEXT_DOMAIN ), PostmanOptions::RUN_MODE_IGNORE, $currentKey );
+ printf ( '</select><br/><span class="postman_input_description">%s</span>', $inputDescription );
+ }
+ public function stealthModeCallback() {
+ printf ( '<input type="checkbox" id="input_%2$s" class="input_%2$s" name="%1$s[%2$s]" %3$s /> %4$s', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::STEALTH_MODE, $this->options->isStealthModeEnabled () ? 'checked="checked"' : '', __ ( 'Remove the Postman X-Header signature from messages', Postman::TEXT_DOMAIN ) );
+ }
+ public function temporaryDirectoryCallback() {
+ $inputDescription = __ ( 'Lockfiles are written here to prevent users from triggering an OAuth 2.0 token refresh at the same time.' );
+ printf ( '<input type="text" id="input_%2$s" name="%1$s[%2$s]" value="%3$s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::TEMPORARY_DIRECTORY, $this->options->getTempDirectory () );
+ if (PostmanState::getInstance ()->isFileLockingEnabled ()) {
+ printf ( ' <span style="color:green">%s</span></br><span class="postman_input_description">%s</span>', __ ( 'Valid', Postman::TEXT_DOMAIN ), $inputDescription );
+ } else {
+ printf ( ' <span style="color:red">%s</span></br><span class="postman_input_description">%s</span>', __ ( 'Invalid', Postman::TEXT_DOMAIN ), $inputDescription );
+ }
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function connection_timeout_callback() {
+ printf ( '<input type="text" id="input_connection_timeout" name="%s[%s]" value="%s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::CONNECTION_TIMEOUT, $this->options->getConnectionTimeout () );
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function read_timeout_callback() {
+ printf ( '<input type="text" id="input_read_timeout" name="%s[%s]" value="%s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::READ_TIMEOUT, $this->options->getReadTimeout () );
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function port_callback($args) {
+ printf ( '<input type="text" id="input_port" name="postman_options[port]" value="%s" %s placeholder="%s"/>', null !== $this->options->getPort () ? esc_attr ( $this->options->getPort () ) : '', isset ( $args ['style'] ) ? $args ['style'] : '', __ ( 'Required', Postman::TEXT_DOMAIN ) );
+ }
+} \ No newline at end of file
diff --git a/Postman/Postman-Configuration/PostmanSmtpDiscovery.php b/Postman/Postman-Configuration/PostmanSmtpDiscovery.php
new file mode 100644
index 0000000..60728c6
--- /dev/null
+++ b/Postman/Postman-Configuration/PostmanSmtpDiscovery.php
@@ -0,0 +1,233 @@
+<?php
+if (! class_exists ( 'PostmanSmtpMappings' )) {
+ class PostmanSmtpMappings {
+ // if an email is in this domain array, it is a known smtp server (easy lookup)
+ private static $emailDomain = array (
+ // from http://www.serversmtp.com/en/outgoing-mail-server-hostname
+ '1and1.com' => 'smtp.1and1.com',
+ 'airmail.net' => 'smtp.airmail.net',
+ 'aol.com' => 'smtp.aol.com',
+ 'Bluewin.ch' => 'Smtpauths.bluewin.ch',
+ 'Comcast.net' => 'Smtp.comcast.net',
+ 'Earthlink.net' => 'Smtpauth.earthlink.net',
+ 'gmail.com' => 'smtp.gmail.com',
+ 'Gmx.com' => 'mail.gmx.com',
+ 'Gmx.net' => 'mail.gmx.com',
+ 'Gmx.us' => 'mail.gmx.com',
+ 'hotmail.com' => 'smtp.live.com',
+ 'icloud.com' => 'smtp.mail.me.com',
+ 'mail.com' => 'smtp.mail.com',
+ 'ntlworld.com' => 'smtp.ntlworld.com',
+ 'rocketmail.com' => 'plus.smtp.mail.yahoo.com',
+ 'rogers.com' => 'smtp.broadband.rogers.com',
+ 'yahoo.ca' => 'smtp.mail.yahoo.ca',
+ 'yahoo.co.id' => 'smtp.mail.yahoo.co.id',
+ 'yahoo.co.in' => 'smtp.mail.yahoo.co.in',
+ 'yahoo.co.kr' => 'smtp.mail.yahoo.com',
+ 'yahoo.com' => 'smtp.mail.yahoo.com',
+ 'yahoo.com.ar' => 'smtp.mail.yahoo.com.ar',
+ 'yahoo.com.au' => 'smtp.mail.yahoo.com.au',
+ 'yahoo.com.br' => 'smtp.mail.yahoo.com.br',
+ 'yahoo.com.cn' => 'smtp.mail.yahoo.com.cn',
+ 'yahoo.com.hk' => 'smtp.mail.yahoo.com.hk',
+ 'yahoo.com.mx' => 'smtp.mail.yahoo.com',
+ 'yahoo.com.my' => 'smtp.mail.yahoo.com.my',
+ 'yahoo.com.ph' => 'smtp.mail.yahoo.com.ph',
+ 'yahoo.com.sg' => 'smtp.mail.yahoo.com.sg',
+ 'yahoo.com.tw' => 'smtp.mail.yahoo.com.tw',
+ 'yahoo.com.vn' => 'smtp.mail.yahoo.com.vn',
+ 'yahoo.co.nz' => 'smtp.mail.yahoo.com.au',
+ 'yahoo.co.th' => 'smtp.mail.yahoo.co.th',
+ 'yahoo.co.uk' => 'smtp.mail.yahoo.co.uk',
+ 'yahoo.de' => 'smtp.mail.yahoo.de',
+ 'yahoo.es' => 'smtp.correo.yahoo.es',
+ 'yahoo.fr' => 'smtp.mail.yahoo.fr',
+ 'yahoo.ie' => 'smtp.mail.yahoo.co.uk',
+ 'yahoo.it' => 'smtp.mail.yahoo.it',
+ 'zoho.com' => 'smtp.zoho.com',
+ // from http://www.att.com/esupport/article.jsp?sid=KB401570&cv=801
+ 'ameritech.net' => 'outbound.att.net',
+ 'att.net' => 'outbound.att.net',
+ 'bellsouth.net' => 'outbound.att.net',
+ 'flash.net' => 'outbound.att.net',
+ 'nvbell.net' => 'outbound.att.net',
+ 'pacbell.net' => 'outbound.att.net',
+ 'prodigy.net' => 'outbound.att.net',
+ 'sbcglobal.net' => 'outbound.att.net',
+ 'snet.net' => 'outbound.att.net',
+ 'swbell.net' => 'outbound.att.net',
+ 'wans.net' => 'outbound.att.net'
+ );
+ // if an email's mx is in this domain array, it is a known smtp server (dns lookup)
+ // useful for custom domains that map to a mail service
+ private static $mxMappings = array (
+ '1and1help.com' => 'smtp.1and1.com',
+ 'google.com' => 'smtp.gmail.com',
+ 'Gmx.net' => 'mail.gmx.com',
+ 'icloud.com' => 'smtp.mail.me.com',
+ 'hotmail.com' => 'smtp.live.com',
+ 'mx-eu.mail.am0.yahoodns.net' => 'smtp.mail.yahoo.com',
+ // 'mail.protection.outlook.com' => 'smtp.office365.com',
+ // 'mail.eo.outlook.com' => 'smtp.office365.com',
+ 'outlook.com' => 'smtp.office365.com',
+ 'biz.mail.am0.yahoodns.net' => 'smtp.bizmail.yahoo.com',
+ 'BIZ.MAIL.YAHOO.com' => 'smtp.bizmail.yahoo.com',
+ 'hushmail.com' => 'smtp.hushmail.com',
+ 'gmx.net' => 'mail.gmx.com',
+ 'mandrillapp.com' => 'smtp.mandrillapp.com',
+ 'smtp.secureserver.net' => 'relay-hosting.secureserver.net',
+ 'presmtp.ex1.secureserver.net' => 'smtp.ex1.secureserver.net',
+ 'presmtp.ex2.secureserver.net' => 'smtp.ex2.secureserver.net',
+ 'presmtp.ex3.secureserver.net' => 'smtp.ex2.secureserver.net',
+ 'presmtp.ex4.secureserver.net' => 'smtp.ex2.secureserver.net',
+ 'htvhosting.com' => 'mail.htvhosting.com'
+ );
+ public static function getSmtpFromEmail($hostname) {
+ reset ( PostmanSmtpMappings::$emailDomain );
+ while ( list ( $domain, $smtp ) = each ( PostmanSmtpMappings::$emailDomain ) ) {
+ if (strcasecmp ( $hostname, $domain ) == 0) {
+ return $smtp;
+ }
+ }
+ return false;
+ }
+ public static function getSmtpFromMx($mx) {
+ reset ( PostmanSmtpMappings::$mxMappings );
+ while ( list ( $domain, $smtp ) = each ( PostmanSmtpMappings::$mxMappings ) ) {
+ if (PostmanUtils::endswith ( $mx, $domain )) {
+ return $smtp;
+ }
+ }
+ return false;
+ }
+ }
+}
+if (! class_exists ( 'PostmanSmtpDiscovery' )) {
+ class PostmanSmtpDiscovery {
+
+ // private instance variables
+ public $isGoogle;
+ public $isGoDaddy;
+ public $isWellKnownDomain;
+ private $smtpServer;
+ private $primaryMx;
+ private $email;
+ private $domain;
+
+ /**
+ * Constructor
+ *
+ * @param unknown $email
+ */
+ public function __construct($email) {
+ $this->email = $email;
+ $this->determineSmtpServer ( $email );
+ $this->isGoogle = $this->smtpServer == 'smtp.gmail.com';
+ $this->isGoDaddy = $this->smtpServer == 'relay-hosting.secureserver.net';
+ }
+ /**
+ * The SMTP server we suggest to use - this is determined
+ * by looking up the MX hosts for the domain.
+ */
+ public function getSmtpServer() {
+ return $this->smtpServer;
+ }
+ public function getPrimaryMx() {
+ return $this->primaryMx;
+ }
+ /**
+ *
+ * @param unknown $email
+ * @return Ambigous <number, boolean>
+ */
+ private function validateEmail($email) {
+ return PostmanUtils::validateEmail ( $email );
+ }
+ private function determineSmtpServer($email) {
+ $hostname = substr ( strrchr ( $email, "@" ), 1 );
+ $this->domain = $hostname;
+ $smtp = PostmanSmtpMappings::getSmtpFromEmail ( $hostname );
+ if ($smtp) {
+ $this->smtpServer = $smtp;
+ $this->isWellKnownDomain = true;
+ return true;
+ } else {
+ $host = strtolower ( $this->findMxHostViaDns ( $hostname ) );
+ if ($host) {
+ $this->primaryMx = $host;
+ $smtp = PostmanSmtpMappings::getSmtpFromMx ( $host );
+ if ($smtp) {
+ $this->smtpServer = $smtp;
+ return true;
+ } else {
+ return false;
+ }
+ } else {
+ return false;
+ }
+ }
+ }
+
+ /**
+ * Uses getmxrr to retrieve the MX records of a hostname
+ *
+ * @param unknown $hostname
+ * @return mixed|boolean
+ */
+ private function findMxHostViaDns($hostname) {
+ if (function_exists ( 'getmxrr' )) {
+ $b_mx_avail = getmxrr ( $hostname, $mx_records, $mx_weight );
+ } else {
+ $b_mx_avail = $this->getmxrr ( $hostname, $mx_records, $mx_weight );
+ }
+ if ($b_mx_avail && sizeof ( $mx_records ) > 0) {
+ // copy mx records and weight into array $mxs
+ $mxs = array ();
+
+ for($i = 0; $i < count ( $mx_records ); $i ++) {
+ $mxs [$mx_weight [$i]] = $mx_records [$i];
+ }
+
+ // sort array mxs to get servers with highest prio
+ ksort ( $mxs, SORT_NUMERIC );
+ reset ( $mxs );
+ $mxs_vals = array_values ( $mxs );
+ return array_shift ( $mxs_vals );
+ } else {
+ return false;
+ }
+ }
+ /**
+ * This is a custom implementation of mxrr for Windows PHP installations
+ * which don't have this method natively.
+ *
+ * @param unknown $hostname
+ * @param unknown $mxhosts
+ * @param unknown $mxweight
+ * @return boolean
+ */
+ function getmxrr($hostname, &$mxhosts, &$mxweight) {
+ if (! is_array ( $mxhosts )) {
+ $mxhosts = array ();
+ }
+ $hostname = escapeshellarg ( $hostname );
+ if (! empty ( $hostname )) {
+ $output = "";
+ @exec ( "nslookup.exe -type=MX $hostname.", $output );
+ $imx = - 1;
+
+ foreach ( $output as $line ) {
+ $imx ++;
+ $parts = "";
+ if (preg_match ( "/^$hostname\tMX preference = ([0-9]+), mail exchanger = (.*)$/", $line, $parts )) {
+ $mxweight [$imx] = $parts [1];
+ $mxhosts [$imx] = $parts [2];
+ }
+ }
+ return ($imx != - 1);
+ }
+ return false;
+ }
+ }
+}
+
diff --git a/Postman/Postman-Configuration/postman_manual_config.js b/Postman/Postman-Configuration/postman_manual_config.js
new file mode 100644
index 0000000..14d4d9f
--- /dev/null
+++ b/Postman/Postman-Configuration/postman_manual_config.js
@@ -0,0 +1,78 @@
+var transports = [];
+
+jQuery(document).ready(
+ function() {
+
+ // display password on entry
+ enablePasswordDisplayOnEntry('input_basic_auth_password',
+ 'togglePasswordField');
+
+ // tabs
+ jQuery("#config_tabs").tabs();
+
+ // on first viewing, determine whether to show password or
+ // oauth section
+ reloadOauthSection();
+
+ // add an event on the transport input field
+ // when the user changes the transport, determine whether
+ // to show or hide the SMTP Settings
+ jQuery('select#input_transport_type').change(function() {
+ hide('#wizard_oauth2_help');
+ reloadOauthSection();
+ switchBetweenPasswordAndOAuth();
+ });
+
+ // add an event on the authentication input field
+ // on user changing the auth type, determine whether to show
+ // password or oauth section
+ jQuery('select#input_auth_type').change(function() {
+ switchBetweenPasswordAndOAuth();
+ doneTyping();
+ });
+
+ // setup before functions
+ var typingTimer; // timer identifier
+ var doneTypingInterval = 250; // time in ms, 5 second for
+ // example
+
+ // add an event on the hostname input field
+ // on keyup, start the countdown
+ jQuery(postman_hostname_element_name).keyup(function() {
+ clearTimeout(typingTimer);
+ if (jQuery(postman_hostname_element_name).val) {
+ typingTimer = setTimeout(doneTyping, doneTypingInterval);
+ }
+ });
+
+ // user is "finished typing," do something
+ function doneTyping() {
+ if (jQuery(postman_input_auth_type).val() == 'oauth2') {
+ reloadOauthSection();
+ }
+ }
+ });
+function reloadOauthSection() {
+ var hostname = jQuery(postman_hostname_element_name).val();
+ var transport = jQuery('#input_transport_type').val();
+ var authtype = jQuery('select#input_auth_type').val();
+ var data = {
+ 'action' : 'manual_config',
+ 'auth_type' : authtype,
+ 'hostname' : hostname,
+ 'transport' : transport,
+ };
+ jQuery.post(ajaxurl, data, function(response) {
+ if (response.success) {
+ handleConfigurationResponse(response);
+ }
+ }).fail(function(response) {
+ ajaxFailed(response);
+ });
+}
+function switchBetweenPasswordAndOAuth() {
+ var transportName = jQuery('select#input_transport_type').val();
+ transports.forEach(function(item) {
+ item.handleTransportChange(transportName);
+ })
+}
diff --git a/Postman/Postman-Configuration/postman_wizard.js b/Postman/Postman-Configuration/postman_wizard.js
new file mode 100644
index 0000000..097fd65
--- /dev/null
+++ b/Postman/Postman-Configuration/postman_wizard.js
@@ -0,0 +1,569 @@
+var transports = [];
+
+connectivtyTestResults = {};
+portTestInProgress = false;
+
+/**
+ * Functions to run on document load
+ */
+jQuery(document).ready(function() {
+ jQuery(postman_input_sender_email).focus();
+ initializeJQuerySteps();
+ // add an event on the plugin selection
+ jQuery('input[name="input_plugin"]').click(function() {
+ getConfiguration();
+ });
+
+ // add an event on the transport input field
+ // when the user changes the transport, determine whether
+ // to show or hide the SMTP Settings
+ jQuery('select#input_transport_type').change(function() {
+ hide('#wizard_oauth2_help');
+ reloadOauthSection();
+ switchBetweenPasswordAndOAuth();
+ });
+
+});
+
+function checkGoDaddyAndCheckEmail(email) {
+ hide('#godaddy_block');
+ hide('#godaddy_spf_required');
+ // are we hosted on GoDaddy? check.
+ var data = {
+ 'action' : 'postman_wizard_port_test',
+ 'hostname' : 'relay-hosting.secureserver.net',
+ 'port' : 25,
+ 'timeout' : 3
+ };
+ goDaddy = 'unknown';
+ checkedEmail = false;
+ jQuery.post(ajaxurl, data, function(response) {
+ if (postmanValidateAjaxResponseWithPopup(response)) {
+ checkEmail(response.success, email);
+ }
+ }).fail(function(response) {
+ ajaxFailed(response);
+ });
+}
+
+function checkEmail(goDaddyHostDetected, email) {
+ var data = {
+ 'action' : 'postman_check_email',
+ 'go_daddy' : goDaddyHostDetected,
+ 'email' : email
+ };
+ jQuery.post(
+ ajaxurl,
+ data,
+ function(response) {
+ if (postmanValidateAjaxResponseWithPopup(response)) {
+ checkedEmail = true;
+ smtpDiscovery = response.data;
+ if (response.data.hostname != null
+ && response.data.hostname) {
+ jQuery(postman_hostname_element_name).val(
+ response.data.hostname);
+ }
+ enableSmtpHostnameInput(goDaddyHostDetected);
+ }
+ }).fail(function(response) {
+ ajaxFailed(response);
+ });
+}
+
+function enableSmtpHostnameInput(goDaddyHostDetected) {
+ if (goDaddyHostDetected && !smtpDiscovery.is_google) {
+ // this is a godaddy server and we are using a godaddy smtp server
+ // (gmail excepted)
+ if (smtpDiscovery.is_go_daddy) {
+ // we detected GoDaddy, and the user has entered a GoDaddy hosted
+ // email
+ } else if (smtpDiscovery.is_well_known) {
+ // this is a godaddy server but the SMTP must be the email
+ // service
+ show('#godaddy_block');
+ } else {
+ // this is a godaddy server and we're using a (possibly) custom
+ // domain
+ show('#godaddy_spf_required');
+ }
+ }
+ enable('#input_hostname');
+ jQuery('li').removeClass('disabled');
+ hideLoaderIcon();
+}
+
+/**
+ * Initialize the Steps wizard
+ */
+function initializeJQuerySteps() {
+ jQuery("#postman_wizard").steps(
+ {
+ bodyTag : "fieldset",
+ headerTag : "h5",
+ transitionEffect : "slideLeft",
+ stepsOrientation : "vertical",
+ autoFocus : true,
+ startIndex : parseInt(postman_setup_wizard.start_page),
+ labels : {
+ current : steps_current_step,
+ pagination : steps_pagination,
+ finish : steps_finish,
+ next : steps_next,
+ previous : steps_previous,
+ loading : steps_loading
+ },
+ onStepChanging : function(event, currentIndex, newIndex) {
+ return handleStepChange(event, currentIndex, newIndex,
+ jQuery(this));
+
+ },
+ onInit : function() {
+ jQuery(postman_input_sender_email).focus();
+ },
+ onStepChanged : function(event, currentIndex, priorIndex) {
+ return postHandleStepChange(event, currentIndex,
+ priorIndex, jQuery(this));
+ },
+ onFinishing : function(event, currentIndex) {
+ var form = jQuery(this);
+
+ // Disable validation on fields that
+ // are disabled.
+ // At this point it's recommended to
+ // do an overall check (mean
+ // ignoring
+ // only disabled fields)
+ // form.validate().settings.ignore =
+ // ":disabled";
+
+ // Start validation; Prevent form
+ // submission if false
+ return form.valid();
+ },
+ onFinished : function(event, currentIndex) {
+ var form = jQuery(this);
+
+ // Submit form input
+ form.submit();
+ }
+ }).validate({
+ errorPlacement : function(error, element) {
+ element.before(error);
+ }
+ });
+}
+
+function handleStepChange(event, currentIndex, newIndex, form) {
+ // Always allow going backward even if
+ // the current step contains invalid fields!
+ if (currentIndex > newIndex) {
+ if (currentIndex === 2 && !(checkedEmail)) {
+ return false;
+ }
+ if (currentIndex === 3 && portTestInProgress) {
+ return false;
+ }
+ return true;
+ }
+
+ // Clean up if user went backward
+ // before
+ if (currentIndex < newIndex) {
+ // To remove error styles
+ jQuery(".body:eq(" + newIndex + ") label.error", form).remove();
+ jQuery(".body:eq(" + newIndex + ") .error", form).removeClass("error");
+ }
+
+ // Disable validation on fields that
+ // are disabled or hidden.
+ form.validate().settings.ignore = ":disabled,:hidden";
+
+ // Start validation; Prevent going
+ // forward if false
+ valid = form.valid();
+ if (!valid) {
+ return false;
+ }
+
+ if (currentIndex === 1) {
+ // page 1 : look-up the email
+ // address for the smtp server
+ checkGoDaddyAndCheckEmail(jQuery(postman_input_sender_email).val());
+
+ } else if (currentIndex === 2) {
+
+ if (!(checkedEmail)) {
+ return false;
+ }
+ // page 2 : check the port
+ portsChecked = 0;
+ portsToCheck = 0;
+ totalAvail = 0;
+
+ getHostsToCheck(jQuery(postman_hostname_element_name).val());
+
+ } else if (currentIndex === 3) {
+
+ // user has clicked next but we haven't finished the check
+ if (portTestInProgress) {
+ return false;
+ }
+ // or all ports are unavailable
+ if (portCheckBlocksUi) {
+ return false;
+ }
+ valid = form.valid();
+ if (!valid) {
+ return false;
+ }
+ var chosenPort = jQuery(postman_port_element_name).val();
+ var hostname = jQuery(postman_hostname_element_name).val();
+ var authType = jQuery(postman_input_auth_type).val()
+
+ }
+
+ return true;
+}
+
+function postHandleStepChange(event, currentIndex, priorIndex, myself) {
+ var chosenPort = jQuery('#input_auth_type').val();
+ // Suppress (skip) "Warning" step if
+ // the user is old enough and wants
+ // to the previous step.
+ if (currentIndex === 2) {
+ jQuery(postman_hostname_element_name).focus();
+ // this is the second place i disable the next button but Steps
+ // re-enables it after the screen slides
+ if (priorIndex === 1) {
+ disable('#input_hostname');
+ jQuery('li').addClass('disabled');
+ showLoaderIcon();
+ }
+ }
+ if (currentIndex === 3) {
+ if (priorIndex === 2) {
+ // this is the second place i disable the next button but Steps
+ // re-enables it after the screen slides
+ jQuery('li').addClass('disabled');
+ showLoaderIcon();
+ }
+ }
+ if (currentIndex === 4) {
+ if (redirectUrlWarning) {
+ alert(postman_wizard_bad_redirect_url);
+ }
+ if (chosenPort == 'none') {
+ if (priorIndex === 5) {
+
+ myself.steps("previous");
+ return;
+ }
+ myself.steps("next");
+ }
+ }
+
+}
+
+/**
+ * Asks the server for a List of sockets to perform port checks upon.
+ *
+ * @param hostname
+ */
+function getHostsToCheck(hostname) {
+ jQuery('table#wizard_port_test').html('');
+ jQuery('#wizard_recommendation').html('');
+ hide('.user_override');
+ hide('#smtp_not_secure');
+ hide('#smtp_mitm');
+ connectivtyTestResults = {};
+ portCheckBlocksUi = true;
+ portTestInProgress = true;
+ var data = {
+ 'action' : 'postman_get_hosts_to_test',
+ 'hostname' : hostname,
+ 'original_smtp_server' : smtpDiscovery.hostname
+ };
+ jQuery.post(ajaxurl, data, function(response) {
+ if (postmanValidateAjaxResponseWithPopup(response)) {
+ handleHostsToCheckResponse(response.data);
+ }
+ }).fail(function(response) {
+ ajaxFailed(response);
+ });
+}
+
+/**
+ * Handles the response from the server of the list of sockets to check.
+ *
+ * @param hostname
+ * @param response
+ */
+function handleHostsToCheckResponse(response) {
+ for ( var x in response.hosts) {
+ var hostname = response.hosts[x].host;
+ var port = response.hosts[x].port;
+ var transport = response.hosts[x].transport_id;
+ portsToCheck++;
+ show('#connectivity_test_status');
+ updateStatus(postman_port_test.in_progress + " " + portsToCheck);
+ var data = {
+ 'action' : 'postman_wizard_port_test',
+ 'hostname' : hostname,
+ 'port' : port,
+ 'transport' : transport
+ };
+ postThePortTest(hostname, port, data);
+ }
+}
+
+/**
+ * Asks the server to run a connectivity test on the given port
+ *
+ * @param hostname
+ * @param port
+ * @param data
+ */
+function postThePortTest(hostname, port, data) {
+ jQuery.post(ajaxurl, data, function(response) {
+ if (postmanValidateAjaxResponseWithPopup(response)) {
+ handlePortTestResponse(hostname, port, data, response);
+ }
+ }).fail(function(response) {
+ ajaxFailed(response);
+ portsChecked++;
+ afterPortsChecked();
+ });
+}
+
+/**
+ * Handles the result of the port test
+ *
+ * @param hostname
+ * @param port
+ * @param data
+ * @param response
+ */
+function handlePortTestResponse(hostname, port, data, response) {
+ if (!response.data.try_smtps) {
+ portsChecked++;
+ updateStatus(postman_port_test.in_progress + " "
+ + (portsToCheck - portsChecked));
+ connectivtyTestResults[hostname + '_' + port] = response.data;
+ if (response.success) {
+ // a totalAvail > 0 is our signal to go to the next step
+ totalAvail++;
+ }
+ afterPortsChecked();
+ } else {
+ // SMTP failed, try again on the SMTPS port
+ data['action'] = 'postman_wizard_port_test_smtps';
+ postThePortTest(hostname, port, data);
+ }
+}
+
+/**
+ *
+ * @param message
+ */
+function updateStatus(message) {
+ jQuery('#port_test_status').html(
+ '<span style="color:blue">' + message + '</span>');
+}
+
+/**
+ * This functions runs after ALL the ports have been checked. It's chief
+ * function is to push the results of the port test back to the server to get a
+ * suggested configuration.
+ */
+function afterPortsChecked() {
+ if (portsChecked >= portsToCheck) {
+ hideLoaderIcon();
+ if (totalAvail != 0) {
+ jQuery('li').removeClass('disabled');
+ portCheckBlocksUi = false;
+ }
+ var data = {
+ 'action' : 'get_wizard_configuration_options',
+ 'original_smtp_server' : smtpDiscovery.hostname,
+ 'host_data' : connectivtyTestResults
+ };
+ postTheConfigurationRequest(data);
+ hide('#connectivity_test_status');
+ }
+}
+
+function userOverrideMenu() {
+ disable('input.user_socket_override');
+ disable('input.user_auth_override');
+ var data = {
+ 'action' : 'get_wizard_configuration_options',
+ 'original_smtp_server' : smtpDiscovery.hostname,
+ 'user_port_override' : jQuery(
+ "input:radio[name='user_socket_override']:checked").val(),
+ 'user_auth_override' : jQuery(
+ "input:radio[name='user_auth_override']:checked").val(),
+ 'host_data' : connectivtyTestResults
+ };
+ postTheConfigurationRequest(data);
+}
+
+function postTheConfigurationRequest(data) {
+ jQuery.post(
+ ajaxurl,
+ data,
+ function(response) {
+ if (postmanValidateAjaxResponseWithPopup(response)) {
+ portTestInProgress = false;
+ var $message = '';
+ if (response.success) {
+ $message = '<span style="color:green">'
+ + response.data.configuration.message
+ + '</span>';
+ handleConfigurationResponse(response.data);
+ enable('input.user_socket_override');
+ enable('input.user_auth_override');
+ // enable both next/back buttons
+ jQuery('li').removeClass('disabled');
+ } else {
+ $message = '<span style="color:red">'
+ + response.data.configuration.message
+ + '</span>';
+ // enable the back button only
+ jQuery('li').removeClass('disabled');
+ jQuery('li + li').addClass('disabled');
+ }
+ if (!response.data.configuration.user_override) {
+ jQuery('#wizard_recommendation').append($message);
+ }
+ }
+ }).fail(function(response) {
+ ajaxFailed(response);
+ });
+}
+function handleConfigurationResponse(response) {
+ jQuery('#input_transport_type').val(response.configuration.transport_type);
+ transports.forEach(function(item) {
+ item.handleConfigurationResponse(response);
+ })
+
+ // this stuff builds the options and is common to all transports
+ // populate user Port Override menu
+ show('.user_override');
+ var el1 = jQuery('#user_socket_override');
+ el1.html('');
+ for (i = 0; i < response.override_menu.length; i++) {
+ buildRadioButtonGroup(el1, 'user_socket_override',
+ response.override_menu[i].selected,
+ response.override_menu[i].value,
+ response.override_menu[i].description,
+ response.override_menu[i].secure);
+ // populate user Auth Override menu
+ if (response.override_menu[i].selected) {
+ if (response.override_menu[i].mitm) {
+ show('#smtp_mitm');
+ jQuery('#smtp_mitm')
+ .html(
+ sprintf(
+ postman_port_test.mitm,
+ response.override_menu[i].reported_hostname_domain_only,
+ response.override_menu[i].hostname_domain_only));
+ } else {
+ hide('#smtp_mitm');
+ }
+ var el2 = jQuery('#user_auth_override');
+ el2.html('');
+ hide('#smtp_not_secure');
+ for (j = 0; j < response.override_menu[i].auth_items.length; j++) {
+ buildRadioButtonGroup(el2, 'user_auth_override',
+ response.override_menu[i].auth_items[j].selected,
+ response.override_menu[i].auth_items[j].value,
+ response.override_menu[i].auth_items[j].name, false);
+ if (response.override_menu[i].auth_items[j].selected
+ && !response.override_menu[i].secure
+ && response.override_menu[i].auth_items[j].value != 'none') {
+ show('#smtp_not_secure');
+ }
+ }
+ // add an event on the user port override field
+ jQuery('input.user_auth_override').change(function() {
+ userOverrideMenu();
+ });
+ }
+
+ }
+ // add an event on the user port override field
+ jQuery('input.user_socket_override').change(function() {
+ userOverrideMenu();
+ });
+}
+
+function buildRadioButtonGroup(tableElement, radioGroupName, isSelected, value,
+ label, isSecure) {
+ var radioInputValue = ' value="' + value + '"';
+ var radioInputChecked = '';
+ if (isSelected) {
+ radioInputChecked = ' checked = "checked"';
+ }
+ var secureIcon = '';
+ if (isSecure) {
+ secureIcon = '&#x1f512; ';
+ }
+ tableElement.append('<tr><td><input class="' + radioGroupName
+ + '" type="radio" name="' + radioGroupName + '"'
+ + radioInputChecked + radioInputValue + '/></td><td>' + secureIcon
+ + label + '</td></tr>');
+}
+
+/**
+ * Handles population of the configuration based on the options set in a
+ * 3rd-party SMTP plugin
+ */
+function getConfiguration() {
+ var plugin = jQuery('input[name="input_plugin"]' + ':checked').val();
+ if (plugin != '') {
+ var data = {
+ 'action' : 'import_configuration',
+ 'plugin' : plugin
+ };
+ jQuery
+ .post(
+ ajaxurl,
+ data,
+ function(response) {
+ if (response.success) {
+ jQuery('select#input_transport_type').val(
+ 'smtp');
+ jQuery(postman_input_sender_email).val(
+ response.sender_email);
+ jQuery(postman_input_sender_name).val(
+ response.sender_name);
+ jQuery(postman_hostname_element_name).val(
+ response.hostname);
+ jQuery(postman_port_element_name).val(
+ response.port);
+ jQuery(postman_input_auth_type).val(
+ response.auth_type);
+ jQuery('#input_enc_type')
+ .val(response.enc_type);
+ jQuery(postman_input_basic_username).val(
+ response.basic_auth_username);
+ jQuery(postman_input_basic_password).val(
+ response.basic_auth_password);
+ switchBetweenPasswordAndOAuth();
+ }
+ }).fail(function(response) {
+ ajaxFailed(response);
+ });
+ } else {
+ jQuery(postman_input_sender_email).val('');
+ jQuery(postman_input_sender_name).val('');
+ jQuery(postman_input_basic_username).val('');
+ jQuery(postman_input_basic_password).val('');
+ jQuery(postman_hostname_element_name).val('');
+ jQuery(postman_port_element_name).val('');
+ jQuery(postman_input_auth_type).val('none');
+ jQuery(postman_enc_for_password_el).val('none');
+ switchBetweenPasswordAndOAuth();
+ }
+}
diff --git a/Postman/Postman-Connectivity-Test/Postman-PortTest.php b/Postman/Postman-Connectivity-Test/Postman-PortTest.php
new file mode 100644
index 0000000..6591db0
--- /dev/null
+++ b/Postman/Postman-Connectivity-Test/Postman-PortTest.php
@@ -0,0 +1,282 @@
+<?php
+require_once ("registered-domain-libs-master/PHP/effectiveTLDs.inc.php");
+require_once ("registered-domain-libs-master/PHP/regDomain.inc.php");
+
+/**
+ *
+ * @author jasonhendriks
+ *
+ */
+class PostmanPortTest {
+ private $errstr;
+ private $logger;
+ private $hostname;
+ public $hostnameDomainOnly;
+ private $port;
+ private $connectionTimeout;
+ private $readTimeout;
+ public $reportedHostname;
+ public $reportedHostnameDomainOnly;
+ public $protocol;
+ public $secure;
+ public $mitm;
+ public $http;
+ public $https;
+ public $smtp;
+ public $smtps;
+ public $startTls;
+ public $checkStartTls;
+ public $authLogin;
+ public $authPlain;
+ public $authCrammd5;
+ public $authXoauth;
+ public $authNone;
+ public $trySmtps;
+
+ //
+ const SMTPS_PROTOCOL = 'SMTPS';
+
+ /**
+ */
+ public function __construct($hostname, $port) {
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ $this->hostname = $hostname;
+ $this->hostnameDomainOnly = $this->getRegisteredDomain ( $hostname );
+ $this->port = $port;
+ $this->connectionTimeout = 10;
+ $this->readTimeout = 10;
+ }
+
+ /**
+ * Wrap the regDomain/getRegisteredDomain function
+ *
+ * @param unknown $domain
+ * @return unknown|Ambigous <NULL, string, unknown, mixed>
+ */
+ private function getRegisteredDomain($hostname) {
+ $registeredDomain = getRegisteredDomain ( $hostname );
+ if ($registeredDomain === NULL) {
+ return $hostname;
+ }
+ return $registeredDomain;
+ }
+ public function setConnectionTimeout($timeout) {
+ $this->connectionTimeout = $timeout;
+ $this->logger->trace ( $this->connectionTimeout );
+ }
+ public function setReadTimeout($timeout) {
+ $this->readTimeout = $timeout;
+ $this->logger->trace ( $this->readTimeout );
+ }
+ private function createStream($connectionString) {
+ $stream = @stream_socket_client ( $connectionString, $errno, $errstr, $this->connectionTimeout );
+ if ($stream) {
+ $this->trace ( sprintf ( 'connected to %s', $connectionString ) );
+ } else {
+ $this->trace ( sprintf ( 'Could not connect to %s because %s [%s]', $connectionString, $errstr, $errno ) );
+ }
+ return $stream;
+ }
+
+ /**
+ *
+ * @param number $timeout
+ * @return boolean
+ */
+ public function genericConnectionTest() {
+ $this->logger->trace ( 'testCustomConnection()' );
+ // test if the port is open
+ $connectionString = sprintf ( '%s:%s', $this->hostname, $this->port );
+ $stream = $this->createStream ( $connectionString, $this->connectionTimeout );
+ return null != $stream;
+ }
+
+ /**
+ * Given a hostname, test if it has open ports
+ *
+ * @param string $hostname
+ */
+ public function testHttpPorts() {
+ $this->trace ( 'testHttpPorts()' );
+ $connectionString = sprintf ( "https://%s:%s", $this->hostname, $this->port );
+ try {
+ $response = PostmanUtils::remotePost ( $connectionString );
+ $this->trace ( 'wp_remote_retrieve_headers:' );
+ $this->logger->trace ( wp_remote_retrieve_headers ( $response ) );
+ $this->trace ( wp_remote_retrieve_response_code ( $response ) );
+ $this->protocol = 'HTTPS';
+ $this->http = true;
+ $this->https = true;
+ $this->secure = true;
+ $this->reportedHostname = $this->hostname;
+ $this->reportedHostnameDomainOnly = $this->getRegisteredDomain ( $this->hostname );
+ return true;
+ } catch ( Exception $e ) {
+ $this->debug ( 'return false' );
+ }
+ }
+
+ /**
+ * Given a hostname, test if it has open ports
+ *
+ * @param string $hostname
+ */
+ public function testSmtpPorts() {
+ $this->logger->trace ( 'testSmtpPorts()' );
+ if ($this->port == 8025) {
+ $this->debug ( 'Executing test code for port 8025' );
+ $this->protocol = 'SMTP';
+ $this->smtp = true;
+ $this->authNone = 'true';
+ return true;
+ }
+ $connectionString = sprintf ( "%s:%s", $this->hostname, $this->port );
+ $success = $this->talkToMailServer ( $connectionString, $this->connectionTimeout, $this->readTimeout );
+ if ($success) {
+ $this->protocol = 'SMTP';
+ if (! ($this->authCrammd5 || $this->authLogin || $this->authPlain || $this->authXoauth)) {
+ $this->authNone = true;
+ }
+ } else {
+ $this->trySmtps = true;
+ }
+ return $success;
+ }
+
+ /**
+ * Given a hostname, test if it has open ports
+ *
+ * @param string $hostname
+ */
+ public function testSmtpsPorts() {
+ $this->logger->trace ( 'testSmtpsPorts()' );
+ $connectionString = sprintf ( "ssl://%s:%s", $this->hostname, $this->port );
+ $success = $this->talkToMailServer ( $connectionString, $this->connectionTimeout, $this->readTimeout );
+ if ($success) {
+ if (! ($this->authCrammd5 || $this->authLogin || $this->authPlain || $this->authXoauth)) {
+ $this->authNone = true;
+ }
+ $this->protocol = self::SMTPS_PROTOCOL;
+ $this->smtps = true;
+ $this->secure = true;
+ }
+ return $success;
+ }
+
+ /**
+ * Given a hostname, test if it has open ports
+ *
+ * @param string $hostname
+ */
+ private function talkToMailServer($connectionString) {
+ $this->logger->trace ( 'talkToMailServer()' );
+ $stream = $this->createStream ( $connectionString, $this->connectionTimeout );
+ if ($stream) {
+ $serverName = PostmanUtils::postmanGetServerName ();
+ @stream_set_timeout ( $stream, $this->readTimeout );
+ // see http://php.net/manual/en/transports.inet.php#113244
+ // see http://php.net/stream_socket_enable_crypto
+ $result = $this->readSmtpResponse ( $stream );
+ if ($result) {
+ $this->reportedHostname = $result;
+ $this->reportedHostnameDomainOnly = $this->getRegisteredDomain ( $this->reportedHostname );
+ $this->logger->trace ( sprintf ( 'comparing %s with %s', $this->reportedHostnameDomainOnly, $this->hostnameDomainOnly ) );
+ $this->mitm = true;
+ // MITM exceptions
+ if ($this->reportedHostnameDomainOnly == 'google.com' && $this->hostnameDomainOnly == 'gmail.com') {
+ $this->mitm = false;
+ } elseif ($this->reportedHostnameDomainOnly == 'hotmail.com' && $this->hostnameDomainOnly == 'live.com') {
+ $this->mitm = false;
+ } elseif ($this->reportedHostnameDomainOnly == $this->hostnameDomainOnly) {
+ $this->mitm = false;
+ }
+ $this->debug ( sprintf ( 'domain name: %s (%s)', $this->reportedHostname, $this->reportedHostnameDomainOnly ) );
+ $this->sendSmtpCommand ( $stream, sprintf ( 'EHLO %s', $serverName ) );
+ $this->readSmtpResponse ( $stream );
+ if ($this->checkStartTls) {
+ $this->sendSmtpCommand ( $stream, 'STARTTLS' );
+ $this->readSmtpResponse ( $stream );
+ $starttlsSuccess = @stream_socket_enable_crypto ( $stream, true, STREAM_CRYPTO_METHOD_TLS_CLIENT );
+ if ($starttlsSuccess) {
+ $this->startTls = true;
+ $this->secure = true;
+ $this->sendSmtpCommand ( $stream, sprintf ( 'EHLO %s', $serverName ) );
+ $this->readSmtpResponse ( $stream );
+ } else {
+ $this->error ( 'starttls failed' );
+ }
+ }
+ fclose ( $stream );
+ $this->debug ( 'return true' );
+ return true;
+ } else {
+ fclose ( $stream );
+ $this->debug ( 'return false' );
+ return false;
+ }
+ } else {
+ return false;
+ }
+ }
+ private function sendSmtpCommand($stream, $message) {
+ $this->trace ( 'tx: ' . $message );
+ fputs ( $stream, $message . "\r\n" );
+ }
+ private function readSmtpResponse($stream) {
+ $result = '';
+ while ( ($line = fgets ( $stream )) !== false ) {
+ $this->trace ( 'rx: ' . $line );
+ if (preg_match ( '/^250.AUTH/', $line )) {
+ // $this->debug ( '250-AUTH' );
+ if (preg_match ( '/\\sLOGIN\\s/', $line )) {
+ $this->authLogin = true;
+ $this->debug ( 'authLogin' );
+ }
+ if (preg_match ( '/\\sPLAIN\\s/', $line )) {
+ $this->authPlain = true;
+ $this->debug ( 'authPlain' );
+ }
+ if (preg_match ( '/\\sCRAM-MD5\\s/', $line )) {
+ $this->authCrammd5 = true;
+ $this->debug ( 'authCrammd5' );
+ }
+ if (preg_match ( '/\\sXOAUTH.\\s/', $line )) {
+ $this->authXoauth = true;
+ $this->debug ( 'authXoauth' );
+ }
+ if (preg_match ( '/\\sANONYMOUS\\s/', $line )) {
+ // Postman treats ANONYMOUS login as no authentication.
+ $this->authNone = true;
+ $this->debug ( 'authAnonymous => authNone' );
+ }
+ // done
+ $result = 'auth';
+ } elseif (preg_match ( '/STARTTLS/', $line )) {
+ $result = 'starttls';
+ $this->checkStartTls = true;
+ $this->debug ( 'starttls' );
+ } elseif (preg_match ( '/^220.(.*?)\\s/', $line, $matches )) {
+ if (empty ( $result ))
+ $result = $matches [1];
+ }
+ if (preg_match ( '/^\d\d\d\\s/', $line )) {
+ // always exist on last server response line
+ // $this->debug ( 'exit' );
+ return $result;
+ }
+ }
+ return false;
+ }
+ public function getErrorMessage() {
+ return $this->errstr;
+ }
+ private function trace($message) {
+ $this->logger->trace ( sprintf ( '%s:%s => %s', $this->hostname, $this->port, $message ) );
+ }
+ private function debug($message) {
+ $this->logger->debug ( sprintf ( '%s:%s => %s', $this->hostname, $this->port, $message ) );
+ }
+ private function error($message) {
+ $this->logger->error ( sprintf ( '%s:%s => %s', $this->hostname, $this->port, $message ) );
+ }
+}
diff --git a/Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php b/Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php
new file mode 100644
index 0000000..3c1a23f
--- /dev/null
+++ b/Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php
@@ -0,0 +1,312 @@
+<?php
+
+//
+class PostmanConnectivityTestController {
+
+ //
+ const PORT_TEST_SLUG = 'postman/port_test';
+
+ // logging
+ private $logger;
+
+ // Holds the values to be used in the fields callbacks
+ private $rootPluginFilenameAndPath;
+
+ /**
+ * Constructor
+ *
+ * @param unknown $rootPluginFilenameAndPath
+ */
+ public function __construct($rootPluginFilenameAndPath) {
+ assert ( ! empty ( $rootPluginFilenameAndPath ) );
+ assert ( PostmanUtils::isAdmin () );
+ assert ( is_admin () );
+
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ $this->rootPluginFilenameAndPath = $rootPluginFilenameAndPath;
+
+ PostmanUtils::registerAdminMenu ( $this, 'addPortTestSubmenu' );
+
+ // hook on the init event
+ add_action ( 'init', array (
+ $this,
+ 'on_init'
+ ) );
+
+ // initialize the scripts, stylesheets and form fields
+ add_action ( 'admin_init', array (
+ $this,
+ 'on_admin_init'
+ ) );
+ }
+
+ /**
+ * Functions to execute on the init event
+ *
+ * "Typically used by plugins to initialize. The current user is already authenticated by this time."
+ * ref: http://codex.wordpress.org/Plugin_API/Action_Reference#Actions_Run_During_a_Typical_Request
+ */
+ public function on_init() {
+ // register Ajax handlers
+ new PostmanPortTestAjaxController ();
+ }
+
+ /**
+ * Fires on the admin_init method
+ */
+ public function on_admin_init() {
+ //
+ $this->registerStylesAndScripts ();
+ }
+
+ /**
+ * Register and add settings
+ */
+ private function registerStylesAndScripts() {
+ if ($this->logger->isTrace ()) {
+ $this->logger->trace ( 'registerStylesAndScripts()' );
+ }
+ // register the stylesheet and javascript external resources
+ $pluginData = apply_filters ( 'postman_get_plugin_metadata', null );
+ wp_register_script ( 'postman_port_test_script', plugins_url ( 'Postman/Postman-Connectivity-Test/postman_port_test.js', $this->rootPluginFilenameAndPath ), array (
+ PostmanViewController::JQUERY_SCRIPT,
+ 'jquery_validation',
+ PostmanViewController::POSTMAN_SCRIPT,
+ 'sprintf'
+ ), $pluginData ['version'] );
+ }
+
+ /**
+ * Register the Email Test screen
+ */
+ public function addPortTestSubmenu() {
+ $page = add_submenu_page ( null, sprintf ( __ ( '%s Setup', Postman::TEXT_DOMAIN ), __ ( 'Postman SMTP', Postman::TEXT_DOMAIN ) ), __ ( 'Postman SMTP', Postman::TEXT_DOMAIN ), Postman::MANAGE_POSTMAN_CAPABILITY_NAME, PostmanConnectivityTestController::PORT_TEST_SLUG, array (
+ $this,
+ 'outputPortTestContent'
+ ) );
+ // When the plugin options page is loaded, also load the stylesheet
+ add_action ( 'admin_print_styles-' . $page, array (
+ $this,
+ 'enqueuePortTestResources'
+ ) );
+ }
+
+ /**
+ */
+ function enqueuePortTestResources() {
+ wp_enqueue_style ( PostmanViewController::POSTMAN_STYLE );
+ wp_enqueue_script ( 'postman_port_test_script' );
+ $warning = __ ( 'Warning', Postman::TEXT_DOMAIN );
+ wp_localize_script ( PostmanViewController::POSTMAN_SCRIPT, 'postman_hostname_element_name', '#input_' . PostmanOptions::HOSTNAME );
+ PostmanConnectivityTestController::addLocalizeScriptForPortTest ();
+ }
+ static function addLocalizeScriptForPortTest() {
+ wp_localize_script ( PostmanViewController::POSTMAN_SCRIPT, 'postman_port_test', array (
+ 'in_progress' => _x ( 'Checking..', 'The "please wait" message', Postman::TEXT_DOMAIN ),
+ 'open' => _x ( 'Open', 'The port is open', Postman::TEXT_DOMAIN ),
+ 'closed' => _x ( 'Closed', 'The port is closed', Postman::TEXT_DOMAIN ),
+ 'yes' => __ ( 'Yes', Postman::TEXT_DOMAIN ),
+ 'no' => __ ( 'No', Postman::TEXT_DOMAIN ),
+ /* translators: where %d is a port number */
+ 'blocked' => __ ( 'No outbound route between this site and the Internet on Port %d.', Postman::TEXT_DOMAIN ),
+ /* translators: where %d is a port number and %s is a hostname */
+ 'try_dif_smtp' => __ ( 'Port %d is open, but not to %s.', Postman::TEXT_DOMAIN ),
+ /* translators: where %d is the port number and %s is the hostname */
+ 'success' => __ ( 'Port %d can be used for SMTP to %s.', Postman::TEXT_DOMAIN ),
+ 'mitm' => sprintf ( '%s: %s', __ ( 'Warning', Postman::TEXT_DOMAIN ), __ ( 'connected to %1$s instead of %2$s.', Postman::TEXT_DOMAIN ) ),
+ /* translators: where %d is a port number and %s is the URL for the Postman Gmail Extension */
+ 'https_success' => __ ( 'Port %d can be used with the %s.', Postman::TEXT_DOMAIN )
+ ) );
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function port_test_hostname_callback() {
+ $hostname = PostmanTransportRegistry::getInstance ()->getSelectedTransport ()->getHostname ();
+ if (empty ( $hostname )) {
+ $hostname = PostmanTransportRegistry::getInstance ()->getActiveTransport ()->getHostname ();
+ }
+ printf ( '<input type="text" id="input_hostname" name="postman_options[hostname]" value="%s" size="40" class="required"/>', $hostname );
+ }
+
+ /**
+ */
+ public function outputPortTestContent() {
+ print '<div class="wrap">';
+
+ PostmanViewController::outputChildPageHeader ( __ ( 'Connectivity Test', Postman::TEXT_DOMAIN ) );
+
+ print '<p>';
+ print __ ( 'This test determines which well-known ports are available for Postman to use.', Postman::TEXT_DOMAIN );
+ print '<form id="port_test_form_id" method="post">';
+ printf ( '<label for="hostname">%s</label>', __ ( 'Outgoing Mail Server Hostname', Postman::TEXT_DOMAIN ) );
+ $this->port_test_hostname_callback ();
+ submit_button ( _x ( 'Begin Test', 'Button Label', Postman::TEXT_DOMAIN ), 'primary', 'begin-port-test', true );
+ print '</form>';
+ print '<table id="connectivity_test_table">';
+ print sprintf ( '<tr><th rowspan="2">%s</th><th rowspan="2">%s</th><th rowspan="2">%s</th><th rowspan="2">%s</th><th rowspan="2">%s</th><th colspan="5">%s</th></tr>', __ ( 'Transport', Postman::TEXT_DOMAIN ), _x ( 'Socket', 'A socket is the network term for host and port together', Postman::TEXT_DOMAIN ), __ ( 'Status', Postman::TEXT_DOMAIN ) . '<sup>*</sup>', __ ( 'Service Available', Postman::TEXT_DOMAIN ), __ ( 'Server ID', Postman::TEXT_DOMAIN ), __ ( 'Authentication', Postman::TEXT_DOMAIN ) );
+ print sprintf ( '<tr><th>%s</th><th>%s</th><th>%s</th><th>%s</th><th>%s</th></tr>', 'None', 'Login', 'Plain', 'CRAM-MD5', 'OAuth 2.0' );
+ $sockets = PostmanTransportRegistry::getInstance ()->getSocketsForSetupWizardToProbe ();
+ foreach ( $sockets as $socket ) {
+ if ($socket ['smtp']) {
+ print sprintf ( '<tr id="%s"><th class="name">%s</th><td class="socket">%s:%s</td><td class="firewall resettable">-</td><td class="service resettable">-</td><td class="reported_id resettable">-</td><td class="auth_none resettable">-</td><td class="auth_login resettable">-</td><td class="auth_plain resettable">-</td><td class="auth_crammd5 resettable">-</td><td class="auth_xoauth2 resettable">-</td></tr>', $socket ['id'], $socket ['transport_name'], $socket ['host'], $socket ['port'] );
+ } else {
+ print sprintf ( '<tr id="%s"><th class="name">%s</th><td class="socket">%s:%s</td><td class="firewall resettable">-</td><td class="service resettable">-</td><td class="reported_id resettable">-</td><td colspan="5">%s</td></tr>', $socket ['id'], $socket ['transport_name'], $socket ['host'], $socket ['port'], __ ( 'n/a', Postman::TEXT_DOMAIN ) );
+ }
+ }
+ print '</table>';
+ /* Translators: Where %s is the name of the service providing Internet connectivity test */
+ printf ( '<p class="portquiz" style="display:none; font-size:0.8em">* %s</p>', sprintf ( __ ( 'According to %s', Postman::TEXT_DOMAIN ), '<a target="_new" href="http://ww.downor.me/portquiz.net">portquiz.net</a>' ) );
+ printf ( '<p class="ajax-loader" style="display:none"><img src="%s"/></p>', plugins_url ( 'postman-smtp/style/ajax-loader.gif' ) );
+ print '<section id="conclusion" style="display:none">';
+ print sprintf ( '<h3>%s:</h3>', __ ( 'Summary', Postman::TEXT_DOMAIN ) );
+ print '<ol class="conclusion">';
+ print '</ol>';
+ print '</section>';
+ print '<section id="blocked-port-help" style="display:none">';
+ print sprintf ( '<p><b>%s</b></p>', __ ( 'A test with <span style="color:red">"No"</span> Service Available indicates one or more of these issues:', Postman::TEXT_DOMAIN ) );
+ print '<ol>';
+ printf ( '<li>%s</li>', __ ( 'Your web host has placed a firewall between this site and the Internet', Postman::TEXT_DOMAIN ) );
+ printf ( '<li>%s</li>', __ ( 'The SMTP hostname is wrong or the mail server does not provide service on this port', Postman::TEXT_DOMAIN ) );
+ /* translators: where (1) is the URL and (2) is the system */
+ $systemBlockMessage = __ ( 'Your <a href="%1$s">%2$s configuration</a> is preventing outbound connections', Postman::TEXT_DOMAIN );
+ printf ( '<li>%s</li>', sprintf ( $systemBlockMessage, 'http://php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen', 'PHP' ) );
+ printf ( '<li>%s</li>', sprintf ( $systemBlockMessage, 'http://wp-mix.com/disable-external-url-requests/', 'WordPress' ) );
+ print '</ol></p>';
+ print sprintf ( '<p><b>%s</b></p>', __ ( 'If the issues above can not be resolved, your last option is to configure Postman to use an email account managed by your web host with an SMTP server managed by your web host.', Postman::TEXT_DOMAIN ) );
+ print '</section>';
+ print '</div>';
+ }
+}
+
+/**
+ *
+ * @author jasonhendriks
+ *
+ */
+class PostmanPortTestAjaxController {
+ private $logger;
+ /**
+ * Constructor
+ *
+ * @param PostmanOptions $options
+ */
+ function __construct() {
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ PostmanUtils::registerAjaxHandler ( 'postman_get_hosts_to_test', $this, 'getPortsToTestViaAjax' );
+ PostmanUtils::registerAjaxHandler ( 'postman_wizard_port_test', $this, 'runSmtpTest' );
+ PostmanUtils::registerAjaxHandler ( 'postman_wizard_port_test_smtps', $this, 'runSmtpsTest' );
+ PostmanUtils::registerAjaxHandler ( 'postman_port_quiz_test', $this, 'runPortQuizTest' );
+ PostmanUtils::registerAjaxHandler ( 'postman_test_port', $this, 'runSmtpTest' );
+ PostmanUtils::registerAjaxHandler ( 'postman_test_smtps', $this, 'runSmtpsTest' );
+ }
+
+ /**
+ * This Ajax function determines which hosts/ports to test in both the Wizard Connectivity Test and direct Connectivity Test
+ *
+ * Given a single outgoing smtp server hostname, return an array of host/port
+ * combinations to run the connectivity test on
+ */
+ function getPortsToTestViaAjax() {
+ $queryHostname = PostmanUtils::getRequestParameter ( 'hostname' );
+ // originalSmtpServer is what SmtpDiscovery thinks the SMTP server should be, given an email address
+ $originalSmtpServer = PostmanUtils::getRequestParameter ( 'original_smtp_server' );
+ if ($this->logger->isDebug ()) {
+ $this->logger->debug ( 'Probing available transports for sockets against hostname ' . $queryHostname );
+ }
+ $sockets = PostmanTransportRegistry::getInstance ()->getSocketsForSetupWizardToProbe ( $queryHostname, $originalSmtpServer );
+ $response = array (
+ 'hosts' => $sockets
+ );
+ wp_send_json_success ( $response );
+ }
+
+ /**
+ * This Ajax function retrieves whether a TCP port is open or not
+ */
+ function runPortQuizTest() {
+ $hostname = 'portquiz.net';
+ $port = intval ( PostmanUtils::getRequestParameter ( 'port' ) );
+ $this->logger->debug ( 'testing TCP port: hostname ' . $hostname . ' port ' . $port );
+ $portTest = new PostmanPortTest ( $hostname, $port );
+ $success = $portTest->genericConnectionTest ();
+ $this->buildResponse ( $hostname, $port, $portTest, $success );
+ }
+
+ /**
+ * This Ajax function retrieves whether a TCP port is open or not.
+ * This is called by both the Wizard and Port Test
+ */
+ function runSmtpTest() {
+ $hostname = trim ( PostmanUtils::getRequestParameter ( 'hostname' ) );
+ $port = intval ( PostmanUtils::getRequestParameter ( 'port' ) );
+ $transport = trim ( PostmanUtils::getRequestParameter ( 'transport' ) );
+ $timeout = PostmanUtils::getRequestParameter ( 'timeout' );
+ $this->logger->trace ( $timeout );
+ $portTest = new PostmanPortTest ( $hostname, $port );
+ if (isset ( $timeout )) {
+ $portTest->setConnectionTimeout ( intval ( $timeout ) );
+ $portTest->setReadTimeout ( intval ( $timeout ) );
+ }
+ if ($port != 443) {
+ $this->logger->debug ( sprintf ( 'testing SMTP socket %s:%s (%s)', $hostname, $port, $transport ) );
+ $success = $portTest->testSmtpPorts ();
+ } else {
+ $this->logger->debug ( sprintf ( 'testing HTTPS socket %s:%s (%s)', $hostname, $port, $transport ) );
+ $success = $portTest->testHttpPorts ();
+ }
+ $this->buildResponse ( $hostname, $port, $portTest, $success, $transport );
+ }
+ /**
+ * This Ajax function retrieves whether a TCP port is open or not
+ */
+ function runSmtpsTest() {
+ $hostname = trim ( PostmanUtils::getRequestParameter ( 'hostname' ) );
+ $port = intval ( PostmanUtils::getRequestParameter ( 'port' ) );
+ $transport = trim ( PostmanUtils::getRequestParameter ( 'transport' ) );
+ $transportName = trim ( PostmanUtils::getRequestParameter ( 'transport_name' ) );
+ $this->logger->debug ( sprintf ( 'testing SMTPS socket %s:%s (%s)', $hostname, $port, $transport ) );
+ $portTest = new PostmanPortTest ( $hostname, $port );
+ $portTest->transportName = $transportName;
+ $success = $portTest->testSmtpsPorts ();
+ $this->buildResponse ( $hostname, $port, $portTest, $success, $transport );
+ }
+
+ /**
+ *
+ * @param unknown $hostname
+ * @param unknown $port
+ * @param unknown $success
+ */
+ private function buildResponse($hostname, $port, PostmanPortTest $portTest, $success, $transport = '') {
+ $this->logger->debug ( sprintf ( 'testing port result for %s:%s success=%s', $hostname, $port, $success ) );
+ $response = array (
+ 'hostname' => $hostname,
+ 'hostname_domain_only' => $portTest->hostnameDomainOnly,
+ 'port' => $port,
+ 'protocol' => $portTest->protocol,
+ 'secure' => ($portTest->secure),
+ 'mitm' => ($portTest->mitm),
+ 'reported_hostname' => $portTest->reportedHostname,
+ 'reported_hostname_domain_only' => $portTest->reportedHostnameDomainOnly,
+ 'message' => $portTest->getErrorMessage (),
+ 'start_tls' => $portTest->startTls,
+ 'auth_plain' => $portTest->authPlain,
+ 'auth_login' => $portTest->authLogin,
+ 'auth_crammd5' => $portTest->authCrammd5,
+ 'auth_xoauth' => $portTest->authXoauth,
+ 'auth_none' => $portTest->authNone,
+ 'try_smtps' => $portTest->trySmtps,
+ 'success' => $success,
+ 'transport' => $transport
+ );
+ $this->logger->trace ( 'Ajax response:' );
+ $this->logger->trace ( $response );
+ if ($success) {
+ wp_send_json_success ( $response );
+ } else {
+ wp_send_json_error ( $response );
+ }
+ }
+}
diff --git a/Postman/Postman-Connectivity-Test/postman_port_test.js b/Postman/Postman-Connectivity-Test/postman_port_test.js
new file mode 100644
index 0000000..138b4ef
--- /dev/null
+++ b/Postman/Postman-Connectivity-Test/postman_port_test.js
@@ -0,0 +1,332 @@
+postman_begin_test_button_id = 'input#begin-port-test';
+
+jQuery(document).ready(function() {
+ var elHostname = jQuery(postman_begin_test_button_id);
+ jQuery(postman_hostname_element_name).focus();
+ elHostname.click(function() {
+ valid = jQuery('#port_test_form_id').valid();
+ if (!valid) {
+ return false;
+ }
+
+ // initialize the view for a new test
+ elHostname.attr('disabled', 'disabled');
+ hide('#conclusion');
+ hide('#blocked-port-help');
+ jQuery('ol.conclusion').html('');
+ showLoaderIcon();
+
+ var $elTestingTable = jQuery('#connectivity_test_table');
+ $elTestingTable.show();
+ show('.portquiz');
+
+ var hostname = jQuery(postman_hostname_element_name).val();
+ var data = {
+ 'action' : 'postman_get_hosts_to_test',
+ 'hostname' : hostname
+ };
+
+ totalPortsTested = 0;
+ portsToBeTested = 0;
+
+ jQuery.post(ajaxurl, data, function(response) {
+ if (postmanValidateAjaxResponseWithPopup(response)) {
+ handleHostsToCheckResponse(response.data);
+ }
+ }).fail(function(response) {
+ ajaxFailed(response);
+ });
+
+ //
+ return false;
+ });
+});
+
+/**
+ * Handles the response from the server of the list of sockets to check.
+ *
+ * @param hostname
+ * @param response
+ */
+function handleHostsToCheckResponse(response) {
+ for ( var x in response.hosts) {
+ var id = response.hosts[x].id;
+ var transportSlug = response.hosts[x].transport_id;
+ var hostname = response.hosts[x].host;
+ var port = response.hosts[x].port
+ var cell = 'tr#' + id + " td.socket";
+ var testEl = jQuery(cell);
+ testEl.html('<span>' + hostname + ':' + port + '</span>');
+ portQuizTest(response.hosts[x], hostname, port);
+ }
+}
+
+function portQuizTest(socket, hostname, port) {
+ resetView(socket.id);
+ portsToBeTested += 1;
+ var cell = 'tr#' + socket.id + " td.firewall";
+ var testEl = jQuery(cell);
+ testEl.html('<span style="color:blue">' + postman_port_test.in_progress
+ + '</span>');
+ var data = {
+ 'action' : 'postman_port_quiz_test',
+ 'hostname' : hostname,
+ 'port' : port
+ };
+ jQuery.post(
+ ajaxurl,
+ data,
+ function(response) {
+ if (postmanValidateAjaxResponseWithPopup(response)) {
+ if (response.success) {
+ testEl.html('<span style="color:green">'
+ + postman_port_test.open + '</span>');
+ // start the next test
+ } else {
+ testEl.html('<span style="color:red">'
+ + postman_port_test.closed + '</span>');
+ }
+ firstServiceTest(socket, hostname, port, response.success);
+ }
+ }).fail(
+ function(response) {
+ totalPortsTested += 1;
+ testEl.html('<span style="color:red">'
+ + postman_email_test.ajax_error + "</span>");
+ enableButtonCheck();
+ });
+}
+function firstServiceTest(socket, hostname, port, open) {
+ var cell = 'tr#' + socket.id + " td.service";
+ var testEl = jQuery(cell);
+ testEl.html('<span style="color:blue">' + postman_port_test.in_progress
+ + '</span>');
+ var data = {
+ 'action' : 'postman_test_port',
+ 'hostname' : hostname,
+ 'port' : port
+ };
+ jQuery
+ .post(
+ ajaxurl,
+ data,
+ function(response) {
+ if (postmanValidateAjaxResponseWithPopup(response)) {
+ if (response.success) {
+ totalPortsTested += 1;
+ if (port == 443) {
+ // API test
+ testEl
+ .html('<span style="color:green">&#x1f512; '
+ + response.data.protocol
+ + '</span>');
+ var cell = 'tr#' + socket.id
+ + " td.reported_id";
+ var p443El = jQuery(cell);
+ if (response.data.reported_hostname_domain_only) {
+ p443El
+ .html('<span>'
+ + response.data.reported_hostname_domain_only
+ + '</span>');
+ }
+ addConclusion(sprintf(
+ postman_port_test.https_success,
+ response.data.port,
+ socket.transport_name), true,
+ response.data.secure);
+ } else {
+ // SMTP test
+ testEl.html('<span style="color:green">'
+ + response.data.protocol
+ + '</span>');
+ inspectResponse(socket.id, response.data,
+ port);
+ var message = sprintf(postman_port_test.success,
+ port, hostname);
+ if (response.data.mitm) {
+ message += ' <span style="background-color:yellow">'
+ + sprintf(
+ postman_port_test.mitm,
+ response.data.reported_hostname_domain_only,
+ response.data.hostname_domain_only)
+ + '</span>';
+ }
+ addConclusion(message, true,
+ response.data.secure);
+ }
+ } else {
+ if (port == 443) {
+ // API test
+ testEl.html('<span style="color:red">'
+ + postman_port_test.no + '</span>');
+ totalPortsTested += 1;
+ var p443El = jQuery(cell);
+ addConclusion(sprintf(postman_port_test.try_dif_smtp,
+ port, hostname), false,
+ response.data.secure);
+ } else {
+ if (response.data.try_smtps) {
+ // start the SMTPS test
+ portTest3(socket, hostname, port, open);
+ } else {
+ testEl.html('<span style="color:red">'
+ + postman_port_test.no + '</span>');
+ totalPortsTested += 1;
+ addConclusion(sprintf(
+ postman_port_test.blocked, port),
+ false, response.data.secure);
+ show('#blocked-port-help');
+ }
+ }
+ }
+ enableButtonCheck();
+ }
+ }).fail(
+ function(response) {
+ totalPortsTested += 1;
+ testEl.html('<span style="color:red">'
+ + postman_email_test.ajax_error + "</span>");
+ enableButtonCheck();
+ });
+}
+function portTest3(socket, hostname, port, open) {
+ var cell = 'tr#' + socket.id + " td.service";
+ var testEl = jQuery(cell);
+ testEl.html('<span style="color:blue">' + postman_port_test.in_progress
+ + '</span>');
+ var data = {
+ 'action' : 'postman_test_smtps',
+ 'hostname' : hostname,
+ 'port' : port
+ };
+ jQuery
+ .post(
+ ajaxurl,
+ data,
+ function(response) {
+ if (postmanValidateAjaxResponseWithPopup(response)) {
+ if (response.success) {
+ if (response.data.protocol == 'SMTPS') {
+ testEl
+ .html('<span style="color:green">&#x1f512; '
+ + response.data.protocol
+ + '</span>');
+ } else {
+
+ testEl.html('<span style="color:green">'
+ + response.data.protocol
+ + '</span>');
+ }
+ inspectResponse(socket.id, response.data, port);
+ var message = sprintf(postman_port_test.success,
+ port, hostname);
+ if (response.data.mitm) {
+ message += ' <span style="background-color:yellow">'
+ + sprintf(
+ postman_port_test.mitm,
+ response.data.reported_hostname_domain_only,
+ response.data.hostname_domain_only
+ + '</span>');
+ }
+ addConclusion(message, true,
+ response.data.secure);
+ } else {
+ testEl.html('<span style="color:red">'
+ + postman_port_test.no + '</span>');
+ show('#blocked-port-help');
+ if (open) {
+ addConclusion(sprintf(postman_port_test.try_dif_smtp,
+ port, hostname), false,
+ response.data.secure);
+ } else {
+ addConclusion(sprintf(postman_port_test.blocked,
+ port), false, response.data.secure);
+ }
+ }
+ totalPortsTested += 1;
+ enableButtonCheck();
+ }
+ }).fail(
+ function(response) {
+ totalPortsTested += 1;
+ testEl.html('<span style="color:red">'
+ + postman_email_test.ajax_error + "</span>");
+ enableButtonCheck();
+ });
+}
+function enableButtonCheck() {
+ if (totalPortsTested >= portsToBeTested) {
+ enable(postman_begin_test_button_id);
+ hideLoaderIcon();
+ jQuery(postman_hostname_element_name).focus();
+ }
+}
+function inspectResponse(id, response, port) {
+ var cell = 'tr#' + id + " td.reported_id";
+ var testEl = jQuery(cell);
+ if (response.reported_hostname_domain_only) {
+ testEl.html('<span>' + response.reported_hostname_domain_only
+ + '</span>');
+ }
+ var cell = 'tr#' + id + " td.service";
+ var testEl = jQuery(cell);
+ if (response.protocol == 'SMTPS') {
+ testEl.html('<span style="color:green">&#x1f512; SMTPS</span>');
+ } else if (response.start_tls) {
+ testEl.html('<span style="color:green">&#x1f512; SMTP-STARTTLS</span>');
+ } else {
+ testEl.html('<span style="color:green">SMTP</span>');
+ }
+ var cell = 'tr#' + id + " td.auth_none";
+ var testEl = jQuery(cell);
+ if (response.auth_none) {
+ testEl.html('<span style="color:green">' + postman_port_test.yes + '</span>');
+ } else {
+ testEl.html('<span>' + postman_port_test.no + '</span>');
+ }
+ var cell = 'tr#' + id + " td.auth_plain";
+ var testEl = jQuery(cell);
+ if (response.auth_plain) {
+ testEl.html('<span style="color:green">' + postman_port_test.yes + '</span>');
+ } else {
+ testEl.html('<span>' + postman_port_test.no + '</span>');
+ }
+ var cell = 'tr#' + id + " td.auth_login";
+ var testEl = jQuery(cell);
+ if (response.auth_login) {
+ testEl.html('<span style="color:green">' + postman_port_test.yes + '</span>');
+ } else {
+ testEl.html('<span>' + postman_port_test.no + '</span>');
+ }
+ var cell = 'tr#' + id + " td.auth_crammd5";
+ var testEl = jQuery(cell);
+ if (response.auth_crammd5) {
+ testEl.html('<span style="color:green">' + postman_port_test.yes + '</span>');
+ } else {
+ testEl.html('<span>' + postman_port_test.no + '</span>');
+ }
+ var cell = 'tr#' + id + " td.auth_xoauth2";
+ var testEl = jQuery(cell);
+ if (response.auth_xoauth) {
+ testEl.html('<span style="color:green">' + postman_port_test.yes + '</span>');
+ } else {
+ testEl.html('<span>' + postman_port_test.no + '</span>');
+ }
+}
+function resetView(id) {
+ var testEl = jQuery('tr#' + id + ' td.resettable');
+ testEl.html('-');
+}
+function addConclusion(message, success, isSecure) {
+ show('#conclusion');
+ var secureIcon = '';
+ if (isSecure) {
+ secureIcon = '&#x1f512; ';
+ }
+ if (success) {
+ message = '&#9989; ' + secureIcon + message;
+ } else {
+ message = '&#10060; ' + secureIcon + message;
+ }
+ jQuery('ol.conclusion').append('<li>' + message + '</li>');
+} \ No newline at end of file
diff --git a/Postman/Postman-Connectivity-Test/registered-domain-libs-master/.gitignore b/Postman/Postman-Connectivity-Test/registered-domain-libs-master/.gitignore
new file mode 100644
index 0000000..7886a27
--- /dev/null
+++ b/Postman/Postman-Connectivity-Test/registered-domain-libs-master/.gitignore
@@ -0,0 +1,3 @@
+C/*.o
+C/libregdom.so.1
+C/test-regdom
diff --git a/Postman/Postman-Connectivity-Test/registered-domain-libs-master/PHP/effectiveTLDs.inc.php b/Postman/Postman-Connectivity-Test/registered-domain-libs-master/PHP/effectiveTLDs.inc.php
new file mode 100644
index 0000000..8f353c8
--- /dev/null
+++ b/Postman/Postman-Connectivity-Test/registered-domain-libs-master/PHP/effectiveTLDs.inc.php
@@ -0,0 +1,6484 @@
+<?php
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+$tldTree = array('ac' => array('com' => array(),
+'edu' => array(),
+'gov' => array(),
+'net' => array(),
+'mil' => array(),
+'org' => array()),
+'ad' => array('nom' => array()),
+'ae' => array('co' => array(),
+'net' => array(),
+'org' => array(),
+'sch' => array(),
+'ac' => array(),
+'gov' => array(),
+'mil' => array()),
+'aero' => array('accident-investigation' => array(),
+'accident-prevention' => array(),
+'aerobatic' => array(),
+'aeroclub' => array(),
+'aerodrome' => array(),
+'agents' => array(),
+'aircraft' => array(),
+'airline' => array(),
+'airport' => array(),
+'air-surveillance' => array(),
+'airtraffic' => array(),
+'air-traffic-control' => array(),
+'ambulance' => array(),
+'amusement' => array(),
+'association' => array(),
+'author' => array(),
+'ballooning' => array(),
+'broker' => array(),
+'caa' => array(),
+'cargo' => array(),
+'catering' => array(),
+'certification' => array(),
+'championship' => array(),
+'charter' => array(),
+'civilaviation' => array(),
+'club' => array(),
+'conference' => array(),
+'consultant' => array(),
+'consulting' => array(),
+'control' => array(),
+'council' => array(),
+'crew' => array(),
+'design' => array(),
+'dgca' => array(),
+'educator' => array(),
+'emergency' => array(),
+'engine' => array(),
+'engineer' => array(),
+'entertainment' => array(),
+'equipment' => array(),
+'exchange' => array(),
+'express' => array(),
+'federation' => array(),
+'flight' => array(),
+'freight' => array(),
+'fuel' => array(),
+'gliding' => array(),
+'government' => array(),
+'groundhandling' => array(),
+'group' => array(),
+'hanggliding' => array(),
+'homebuilt' => array(),
+'insurance' => array(),
+'journal' => array(),
+'journalist' => array(),
+'leasing' => array(),
+'logistics' => array(),
+'magazine' => array(),
+'maintenance' => array(),
+'marketplace' => array(),
+'media' => array(),
+'microlight' => array(),
+'modelling' => array(),
+'navigation' => array(),
+'parachuting' => array(),
+'paragliding' => array(),
+'passenger-association' => array(),
+'pilot' => array(),
+'press' => array(),
+'production' => array(),
+'recreation' => array(),
+'repbody' => array(),
+'res' => array(),
+'research' => array(),
+'rotorcraft' => array(),
+'safety' => array(),
+'scientist' => array(),
+'services' => array(),
+'show' => array(),
+'skydiving' => array(),
+'software' => array(),
+'student' => array(),
+'taxi' => array(),
+'trader' => array(),
+'trading' => array(),
+'trainer' => array(),
+'union' => array(),
+'workinggroup' => array(),
+'works' => array()),
+'af' => array('gov' => array(),
+'com' => array(),
+'org' => array(),
+'net' => array(),
+'edu' => array()),
+'ag' => array('com' => array(),
+'org' => array(),
+'net' => array(),
+'co' => array(),
+'nom' => array()),
+'ai' => array('off' => array(),
+'com' => array(),
+'net' => array(),
+'org' => array()),
+'al' => array('com' => array(),
+'edu' => array(),
+'gov' => array(),
+'mil' => array(),
+'net' => array(),
+'org' => array()),
+'am' => array(),
+'an' => array('com' => array(),
+'net' => array(),
+'org' => array(),
+'edu' => array()),
+'ao' => array('ed' => array(),
+'gv' => array(),
+'og' => array(),
+'co' => array(),
+'pb' => array(),
+'it' => array()),
+'aq' => array(),
+'ar' => array('com' => array('blogspot' => array()),
+'edu' => array(),
+'gob' => array(),
+'gov' => array(),
+'int' => array(),
+'mil' => array(),
+'net' => array(),
+'org' => array(),
+'tur' => array()),
+'arpa' => array('e164' => array(),
+'in-addr' => array(),
+'ip6' => array(),
+'iris' => array(),
+'uri' => array(),
+'urn' => array()),
+'as' => array('gov' => array()),
+'asia' => array(),
+'at' => array('ac' => array(),
+'co' => array('blogspot' => array()),
+'gv' => array(),
+'or' => array(),
+'biz' => array(),
+'info' => array(),
+'priv' => array()),
+'au' => array('com' => array('blogspot' => array()),
+'net' => array(),
+'org' => array(),
+'edu' => array('act' => array(),
+'nsw' => array(),
+'nt' => array(),
+'qld' => array(),
+'sa' => array(),
+'tas' => array(),
+'vic' => array(),
+'wa' => array()),
+'gov' => array('qld' => array(),
+'sa' => array(),
+'tas' => array(),
+'vic' => array(),
+'wa' => array()),
+'asn' => array(),
+'id' => array(),
+'info' => array(),
+'conf' => array(),
+'oz' => array(),
+'act' => array(),
+'nsw' => array(),
+'nt' => array(),
+'qld' => array(),
+'sa' => array(),
+'tas' => array(),
+'vic' => array(),
+'wa' => array()),
+'aw' => array('com' => array()),
+'ax' => array(),
+'az' => array('com' => array(),
+'net' => array(),
+'int' => array(),
+'gov' => array(),
+'org' => array(),
+'edu' => array(),
+'info' => array(),
+'pp' => array(),
+'mil' => array(),
+'name' => array(),
+'pro' => array(),
+'biz' => array()),
+'ba' => array('org' => array(),
+'net' => array(),
+'edu' => array(),
+'gov' => array(),
+'mil' => array(),
+'unsa' => array(),
+'unbi' => array(),
+'co' => array(),
+'com' => array(),
+'rs' => array()),
+'bb' => array('biz' => array(),
+'co' => array(),
+'com' => array(),
+'edu' => array(),
+'gov' => array(),
+'info' => array(),
+'net' => array(),
+'org' => array(),
+'store' => array(),
+'tv' => array()),
+'bd' => array('*' => array()),
+'be' => array('ac' => array(),
+'blogspot' => array()),
+'bf' => array('gov' => array()),
+'bg' => array('a' => array(),
+'b' => array(),
+'c' => array(),
+'d' => array(),
+'e' => array(),
+'f' => array(),
+'g' => array(),
+'h' => array(),
+'i' => array(),
+'j' => array(),
+'k' => array(),
+'l' => array(),
+'m' => array(),
+'n' => array(),
+'o' => array(),
+'p' => array(),
+'q' => array(),
+'r' => array(),
+'s' => array(),
+'t' => array(),
+'u' => array(),
+'v' => array(),
+'w' => array(),
+'x' => array(),
+'y' => array(),
+'z' => array(),
+'0' => array(),
+'1' => array(),
+'2' => array(),
+'3' => array(),
+'4' => array(),
+'5' => array(),
+'6' => array(),
+'7' => array(),
+'8' => array(),
+'9' => array()),
+'bh' => array('com' => array(),
+'edu' => array(),
+'net' => array(),
+'org' => array(),
+'gov' => array()),
+'bi' => array('co' => array(),
+'com' => array(),
+'edu' => array(),
+'or' => array(),
+'org' => array()),
+'biz' => array('dyndns' => array(),
+'for-better' => array(),
+'for-more' => array(),
+'for-some' => array(),
+'for-the' => array(),
+'selfip' => array(),
+'webhop' => array()),
+'bj' => array('asso' => array(),
+'barreau' => array(),
+'gouv' => array(),
+'blogspot' => array()),
+'bm' => array('com' => array(),
+'edu' => array(),
+'gov' => array(),
+'net' => array(),
+'org' => array()),
+'bn' => array('*' => array()),
+'bo' => array('com' => array(),
+'edu' => array(),
+'gov' => array(),
+'gob' => array(),
+'int' => array(),
+'org' => array(),
+'net' => array(),
+'mil' => array(),
+'tv' => array()),
+'br' => array('adm' => array(),
+'adv' => array(),
+'agr' => array(),
+'am' => array(),
+'arq' => array(),
+'art' => array(),
+'ato' => array(),
+'b' => array(),
+'bio' => array(),
+'blog' => array(),
+'bmd' => array(),
+'cim' => array(),
+'cng' => array(),
+'cnt' => array(),
+'com' => array('blogspot' => array()),
+'coop' => array(),
+'ecn' => array(),
+'eco' => array(),
+'edu' => array(),
+'emp' => array(),
+'eng' => array(),
+'esp' => array(),
+'etc' => array(),
+'eti' => array(),
+'far' => array(),
+'flog' => array(),
+'fm' => array(),
+'fnd' => array(),
+'fot' => array(),
+'fst' => array(),
+'g12' => array(),
+'ggf' => array(),
+'gov' => array(),
+'imb' => array(),
+'ind' => array(),
+'inf' => array(),
+'jor' => array(),
+'jus' => array(),
+'leg' => array(),
+'lel' => array(),
+'mat' => array(),
+'med' => array(),
+'mil' => array(),
+'mp' => array(),
+'mus' => array(),
+'net' => array(),
+'nom' => array('*' => array()),
+'not' => array(),
+'ntr' => array(),
+'odo' => array(),
+'org' => array(),
+'ppg' => array(),
+'pro' => array(),
+'psc' => array(),
+'psi' => array(),
+'qsl' => array(),
+'radio' => array(),
+'rec' => array(),
+'slg' => array(),
+'srv' => array(),
+'taxi' => array(),
+'teo' => array(),
+'tmp' => array(),
+'trd' => array(),
+'tur' => array(),
+'tv' => array(),
+'vet' => array(),
+'vlog' => array(),
+'wiki' => array(),
+'zlg' => array()),
+'bs' => array('com' => array(),
+'net' => array(),
+'org' => array(),
+'edu' => array(),
+'gov' => array()),
+'bt' => array('com' => array(),
+'edu' => array(),
+'gov' => array(),
+'net' => array(),
+'org' => array()),
+'bv' => array(),
+'bw' => array('co' => array(),
+'org' => array()),
+'by' => array('gov' => array(),
+'mil' => array(),
+'com' => array(),
+'of' => array()),
+'bz' => array('com' => array(),
+'net' => array(),
+'org' => array(),
+'edu' => array(),
+'gov' => array(),
+'za' => array()),
+'ca' => array('ab' => array(),
+'bc' => array(),
+'mb' => array(),
+'nb' => array(),
+'nf' => array(),
+'nl' => array(),
+'ns' => array(),
+'nt' => array(),
+'nu' => array(),
+'on' => array(),
+'pe' => array(),
+'qc' => array(),
+'sk' => array(),
+'yk' => array(),
+'gc' => array(),
+'co' => array(),
+'blogspot' => array()),
+'cat' => array(),
+'cc' => array('ftpaccess' => array(),
+'game-server' => array(),
+'myphotos' => array(),
+'scrapping' => array()),
+'cd' => array('gov' => array()),
+'cf' => array('blogspot' => array()),
+'cg' => array(),
+'ch' => array('blogspot' => array()),
+'ci' => array('org' => array(),
+'or' => array(),
+'com' => array(),
+'co' => array(),
+'edu' => array(),
+'ed' => array(),
+'ac' => array(),
+'net' => array(),
+'go' => array(),
+'asso' => array(),
+'aéroport' => array(),
+'int' => array(),
+'presse' => array(),
+'md' => array(),
+'gouv' => array()),
+'ck' => array('*' => array(),
+'www' => array('!' => '')),
+'cl' => array('gov' => array(),
+'gob' => array(),
+'co' => array(),
+'mil' => array()),
+'cm' => array('co' => array(),
+'com' => array(),
+'gov' => array(),
+'net' => array()),
+'cn' => array('ac' => array(),
+'com' => array(),
+'edu' => array(),
+'gov' => array(),
+'net' => array(),
+'org' => array(),
+'mil' => array(),
+'公司' => array(),
+'网络' => array(),
+'網絡' => array(),
+'ah' => array(),
+'bj' => array(),
+'cq' => array(),
+'fj' => array(),
+'gd' => array(),
+'gs' => array(),
+'gz' => array(),
+'gx' => array(),
+'ha' => array(),
+'hb' => array(),
+'he' => array(),
+'hi' => array(),
+'hl' => array(),
+'hn' => array(),
+'jl' => array(),
+'js' => array(),
+'jx' => array(),
+'ln' => array(),
+'nm' => array(),
+'nx' => array(),
+'qh' => array(),
+'sc' => array(),
+'sd' => array(),
+'sh' => array(),
+'sn' => array(),
+'sx' => array(),
+'tj' => array(),
+'xj' => array(),
+'xz' => array(),
+'yn' => array(),
+'zj' => array(),
+'hk' => array(),
+'mo' => array(),
+'tw' => array(),
+'amazonaws' => array('compute' => array('cn-north-1' => array()))),
+'co' => array('arts' => array(),
+'com' => array(),
+'edu' => array(),
+'firm' => array(),
+'gov' => array(),
+'info' => array(),
+'int' => array(),
+'mil' => array(),
+'net' => array(),
+'nom' => array(),
+'org' => array(),
+'rec' => array(),
+'web' => array()),
+'com' => array('amazonaws' => array('compute' => array('ap-northeast-1' => array(),
+'ap-southeast-1' => array(),
+'ap-southeast-2' => array(),
+'eu-west-1' => array(),
+'sa-east-1' => array(),
+'us-gov-west-1' => array(),
+'us-west-1' => array(),
+'us-west-2' => array()),
+'compute-1' => array('z-1' => array(),
+'z-2' => array()),
+'us-east-1' => array(),
+'elb' => array(),
+'s3' => array(),
+'s3-us-west-2' => array(),
+'s3-us-west-1' => array(),
+'s3-eu-west-1' => array(),
+'s3-ap-southeast-1' => array(),
+'s3-ap-southeast-2' => array(),
+'s3-ap-northeast-1' => array(),
+'s3-sa-east-1' => array(),
+'s3-us-gov-west-1' => array(),
+'s3-fips-us-gov-west-1' => array(),
+'s3-website-us-east-1' => array(),
+'s3-website-us-west-2' => array(),
+'s3-website-us-west-1' => array(),
+'s3-website-eu-west-1' => array(),
+'s3-website-ap-southeast-1' => array(),
+'s3-website-ap-southeast-2' => array(),
+'s3-website-ap-northeast-1' => array(),
+'s3-website-sa-east-1' => array(),
+'s3-website-us-gov-west-1' => array()),
+'elasticbeanstalk' => array(),
+'betainabox' => array(),
+'ar' => array(),
+'br' => array(),
+'cn' => array(),
+'de' => array(),
+'eu' => array(),
+'gb' => array(),
+'hu' => array(),
+'jpn' => array(),
+'kr' => array(),
+'mex' => array(),
+'no' => array(),
+'qc' => array(),
+'ru' => array(),
+'sa' => array(),
+'se' => array(),
+'uk' => array(),
+'us' => array(),
+'uy' => array(),
+'za' => array(),
+'africa' => array(),
+'gr' => array(),
+'co' => array(),
+'cloudcontrolled' => array(),
+'cloudcontrolapp' => array(),
+'dreamhosters' => array(),
+'dyndns-at-home' => array(),
+'dyndns-at-work' => array(),
+'dyndns-blog' => array(),
+'dyndns-free' => array(),
+'dyndns-home' => array(),
+'dyndns-ip' => array(),
+'dyndns-mail' => array(),
+'dyndns-office' => array(),
+'dyndns-pics' => array(),
+'dyndns-remote' => array(),
+'dyndns-server' => array(),
+'dyndns-web' => array(),
+'dyndns-wiki' => array(),
+'dyndns-work' => array(),
+'blogdns' => array(),
+'cechire' => array(),
+'dnsalias' => array(),
+'dnsdojo' => array(),
+'doesntexist' => array(),
+'dontexist' => array(),
+'doomdns' => array(),
+'dyn-o-saur' => array(),
+'dynalias' => array(),
+'est-a-la-maison' => array(),
+'est-a-la-masion' => array(),
+'est-le-patron' => array(),
+'est-mon-blogueur' => array(),
+'from-ak' => array(),
+'from-al' => array(),
+'from-ar' => array(),
+'from-ca' => array(),
+'from-ct' => array(),
+'from-dc' => array(),
+'from-de' => array(),
+'from-fl' => array(),
+'from-ga' => array(),
+'from-hi' => array(),
+'from-ia' => array(),
+'from-id' => array(),
+'from-il' => array(),
+'from-in' => array(),
+'from-ks' => array(),
+'from-ky' => array(),
+'from-ma' => array(),
+'from-md' => array(),
+'from-mi' => array(),
+'from-mn' => array(),
+'from-mo' => array(),
+'from-ms' => array(),
+'from-mt' => array(),
+'from-nc' => array(),
+'from-nd' => array(),
+'from-ne' => array(),
+'from-nh' => array(),
+'from-nj' => array(),
+'from-nm' => array(),
+'from-nv' => array(),
+'from-oh' => array(),
+'from-ok' => array(),
+'from-or' => array(),
+'from-pa' => array(),
+'from-pr' => array(),
+'from-ri' => array(),
+'from-sc' => array(),
+'from-sd' => array(),
+'from-tn' => array(),
+'from-tx' => array(),
+'from-ut' => array(),
+'from-va' => array(),
+'from-vt' => array(),
+'from-wa' => array(),
+'from-wi' => array(),
+'from-wv' => array(),
+'from-wy' => array(),
+'getmyip' => array(),
+'gotdns' => array(),
+'hobby-site' => array(),
+'homelinux' => array(),
+'homeunix' => array(),
+'iamallama' => array(),
+'is-a-anarchist' => array(),
+'is-a-blogger' => array(),
+'is-a-bookkeeper' => array(),
+'is-a-bulls-fan' => array(),
+'is-a-caterer' => array(),
+'is-a-chef' => array(),
+'is-a-conservative' => array(),
+'is-a-cpa' => array(),
+'is-a-cubicle-slave' => array(),
+'is-a-democrat' => array(),
+'is-a-designer' => array(),
+'is-a-doctor' => array(),
+'is-a-financialadvisor' => array(),
+'is-a-geek' => array(),
+'is-a-green' => array(),
+'is-a-guru' => array(),
+'is-a-hard-worker' => array(),
+'is-a-hunter' => array(),
+'is-a-landscaper' => array(),
+'is-a-lawyer' => array(),
+'is-a-liberal' => array(),
+'is-a-libertarian' => array(),
+'is-a-llama' => array(),
+'is-a-musician' => array(),
+'is-a-nascarfan' => array(),
+'is-a-nurse' => array(),
+'is-a-painter' => array(),
+'is-a-personaltrainer' => array(),
+'is-a-photographer' => array(),
+'is-a-player' => array(),
+'is-a-republican' => array(),
+'is-a-rockstar' => array(),
+'is-a-socialist' => array(),
+'is-a-student' => array(),
+'is-a-teacher' => array(),
+'is-a-techie' => array(),
+'is-a-therapist' => array(),
+'is-an-accountant' => array(),
+'is-an-actor' => array(),
+'is-an-actress' => array(),
+'is-an-anarchist' => array(),
+'is-an-artist' => array(),
+'is-an-engineer' => array(),
+'is-an-entertainer' => array(),
+'is-certified' => array(),
+'is-gone' => array(),
+'is-into-anime' => array(),
+'is-into-cars' => array(),
+'is-into-cartoons' => array(),
+'is-into-games' => array(),
+'is-leet' => array(),
+'is-not-certified' => array(),
+'is-slick' => array(),
+'is-uberleet' => array(),
+'is-with-theband' => array(),
+'isa-geek' => array(),
+'isa-hockeynut' => array(),
+'issmarterthanyou' => array(),
+'likes-pie' => array(),
+'likescandy' => array(),
+'neat-url' => array(),
+'saves-the-whales' => array(),
+'selfip' => array(),
+'sells-for-less' => array(),
+'sells-for-u' => array(),
+'servebbs' => array(),
+'simple-url' => array(),
+'space-to-rent' => array(),
+'teaches-yoga' => array(),
+'writesthisblog' => array(),
+'firebaseapp' => array(),
+'flynnhub' => array(),
+'githubusercontent' => array(),
+'ro' => array(),
+'appspot' => array(),
+'blogspot' => array(),
+'codespot' => array(),
+'googleapis' => array(),
+'googlecode' => array(),
+'withgoogle' => array(),
+'herokuapp' => array(),
+'herokussl' => array(),
+'nfshost' => array(),
+'operaunite' => array(),
+'outsystemscloud' => array(),
+'rhcloud' => array(),
+'yolasite' => array()),
+'coop' => array(),
+'cr' => array('ac' => array(),
+'co' => array(),
+'ed' => array(),
+'fi' => array(),
+'go' => array(),
+'or' => array(),
+'sa' => array()),
+'cu' => array('com' => array(),
+'edu' => array(),
+'org' => array(),
+'net' => array(),
+'gov' => array(),
+'inf' => array()),
+'cv' => array('blogspot' => array()),
+'cw' => array('com' => array(),
+'edu' => array(),
+'net' => array(),
+'org' => array()),
+'cx' => array('gov' => array(),
+'ath' => array()),
+'cy' => array('*' => array()),
+'cz' => array('blogspot' => array()),
+'de' => array('com' => array(),
+'fuettertdasnetz' => array(),
+'isteingeek' => array(),
+'istmein' => array(),
+'lebtimnetz' => array(),
+'leitungsen' => array(),
+'traeumtgerade' => array(),
+'blogspot' => array()),
+'dj' => array(),
+'dk' => array('blogspot' => array()),
+'dm' => array('com' => array(),
+'net' => array(),
+'org' => array(),
+'edu' => array(),
+'gov' => array()),
+'do' => array('art' => array(),
+'com' => array(),
+'edu' => array(),
+'gob' => array(),
+'gov' => array(),
+'mil' => array(),
+'net' => array(),
+'org' => array(),
+'sld' => array(),
+'web' => array()),
+'dz' => array('com' => array(),
+'org' => array(),
+'net' => array(),
+'gov' => array(),
+'edu' => array(),
+'asso' => array(),
+'pol' => array(),
+'art' => array()),
+'ec' => array('com' => array(),
+'info' => array(),
+'net' => array(),
+'fin' => array(),
+'k12' => array(),
+'med' => array(),
+'pro' => array(),
+'org' => array(),
+'edu' => array(),
+'gov' => array(),
+'gob' => array(),
+'mil' => array()),
+'edu' => array(),
+'ee' => array('edu' => array(),
+'gov' => array(),
+'riik' => array(),
+'lib' => array(),
+'med' => array(),
+'com' => array(),
+'pri' => array(),
+'aip' => array(),
+'org' => array(),
+'fie' => array()),
+'eg' => array('com' => array(),
+'edu' => array(),
+'eun' => array(),
+'gov' => array(),
+'mil' => array(),
+'name' => array(),
+'net' => array(),
+'org' => array(),
+'sci' => array()),
+'er' => array('*' => array()),
+'es' => array('com' => array('blogspot' => array()),
+'nom' => array(),
+'org' => array(),
+'gob' => array(),
+'edu' => array()),
+'et' => array('com' => array(),
+'gov' => array(),
+'org' => array(),
+'edu' => array(),
+'biz' => array(),
+'name' => array(),
+'info' => array()),
+'eu' => array(),
+'fi' => array('aland' => array(),
+'blogspot' => array(),
+'iki' => array()),
+'fj' => array('*' => array()),
+'fk' => array('*' => array()),
+'fm' => array(),
+'fo' => array(),
+'fr' => array('com' => array(),
+'asso' => array(),
+'nom' => array(),
+'prd' => array(),
+'presse' => array(),
+'tm' => array(),
+'aeroport' => array(),
+'assedic' => array(),
+'avocat' => array(),
+'avoues' => array(),
+'cci' => array(),
+'chambagri' => array(),
+'chirurgiens-dentistes' => array(),
+'experts-comptables' => array(),
+'geometre-expert' => array(),
+'gouv' => array(),
+'greta' => array(),
+'huissier-justice' => array(),
+'medecin' => array(),
+'notaires' => array(),
+'pharmacien' => array(),
+'port' => array(),
+'veterinaire' => array(),
+'blogspot' => array()),
+'ga' => array(),
+'gb' => array(),
+'gd' => array(),
+'ge' => array('com' => array(),
+'edu' => array(),
+'gov' => array(),
+'org' => array(),
+'mil' => array(),
+'net' => array(),
+'pvt' => array()),
+'gf' => array(),
+'gg' => array('co' => array(),
+'net' => array(),
+'org' => array()),
+'gh' => array('com' => array(),
+'edu' => array(),
+'gov' => array(),
+'org' => array(),
+'mil' => array()),
+'gi' => array('com' => array(),
+'ltd' => array(),
+'gov' => array(),
+'mod' => array(),
+'edu' => array(),
+'org' => array()),
+'gl' => array(),
+'gm' => array(),
+'gn' => array('ac' => array(),
+'com' => array(),
+'edu' => array(),
+'gov' => array(),
+'org' => array(),
+'net' => array()),
+'gov' => array(),
+'gp' => array('com' => array(),
+'net' => array(),
+'mobi' => array(),
+'edu' => array(),
+'org' => array(),
+'asso' => array()),
+'gq' => array(),
+'gr' => array('com' => array(),
+'edu' => array(),
+'net' => array(),
+'org' => array(),
+'gov' => array(),
+'blogspot' => array()),
+'gs' => array(),
+'gt' => array('com' => array(),
+'edu' => array(),
+'gob' => array(),
+'ind' => array(),
+'mil' => array(),
+'net' => array(),
+'org' => array()),
+'gu' => array('*' => array()),
+'gw' => array(),
+'gy' => array('co' => array(),
+'com' => array(),
+'net' => array()),
+'hk' => array('com' => array(),
+'edu' => array(),
+'gov' => array(),
+'idv' => array(),
+'net' => array(),
+'org' => array(),
+'公司' => array(),
+'教育' => array(),
+'敎育' => array(),
+'政府' => array(),
+'個人' => array(),
+'个人' => array(),
+'箇人' => array(),
+'網络' => array(),
+'网络' => array(),
+'组織' => array(),
+'網絡' => array(),
+'网絡' => array(),
+'组织' => array(),
+'組織' => array(),
+'組织' => array(),
+'blogspot' => array()),
+'hm' => array(),
+'hn' => array('com' => array(),
+'edu' => array(),
+'org' => array(),
+'net' => array(),
+'mil' => array(),
+'gob' => array()),
+'hr' => array('iz' => array(),
+'from' => array(),
+'name' => array(),
+'com' => array()),
+'ht' => array('com' => array(),
+'shop' => array(),
+'firm' => array(),
+'info' => array(),
+'adult' => array(),
+'net' => array(),
+'pro' => array(),
+'org' => array(),
+'med' => array(),
+'art' => array(),
+'coop' => array(),
+'pol' => array(),
+'asso' => array(),
+'edu' => array(),
+'rel' => array(),
+'gouv' => array(),
+'perso' => array()),
+'hu' => array('co' => array(),
+'info' => array(),
+'org' => array(),
+'priv' => array(),
+'sport' => array(),
+'tm' => array(),
+'2000' => array(),
+'agrar' => array(),
+'bolt' => array(),
+'casino' => array(),
+'city' => array(),
+'erotica' => array(),
+'erotika' => array(),
+'film' => array(),
+'forum' => array(),
+'games' => array(),
+'hotel' => array(),
+'ingatlan' => array(),
+'jogasz' => array(),
+'konyvelo' => array(),
+'lakas' => array(),
+'media' => array(),
+'news' => array(),
+'reklam' => array(),
+'sex' => array(),
+'shop' => array(),
+'suli' => array(),
+'szex' => array(),
+'tozsde' => array(),
+'utazas' => array(),
+'video' => array(),
+'blogspot' => array()),
+'id' => array('ac' => array(),
+'biz' => array(),
+'co' => array(),
+'desa' => array(),
+'go' => array(),
+'mil' => array(),
+'my' => array(),
+'net' => array(),
+'or' => array(),
+'sch' => array(),
+'web' => array()),
+'ie' => array('gov' => array(),
+'blogspot' => array()),
+'il' => array('*' => array(),
+'co' => array('blogspot' => array())),
+'im' => array('ac' => array(),
+'co' => array('ltd' => array(),
+'plc' => array()),
+'com' => array(),
+'net' => array(),
+'org' => array(),
+'tt' => array(),
+'tv' => array()),
+'in' => array('co' => array(),
+'firm' => array(),
+'net' => array(),
+'org' => array(),
+'gen' => array(),
+'ind' => array(),
+'nic' => array(),
+'ac' => array(),
+'edu' => array(),
+'res' => array(),
+'gov' => array(),
+'mil' => array(),
+'blogspot' => array()),
+'info' => array('dyndns' => array(),
+'barrel-of-knowledge' => array(),
+'barrell-of-knowledge' => array(),
+'for-our' => array(),
+'groks-the' => array(),
+'groks-this' => array(),
+'here-for-more' => array(),
+'knowsitall' => array(),
+'selfip' => array(),
+'webhop' => array()),
+'int' => array('eu' => array()),
+'io' => array('com' => array(),
+'github' => array(),
+'nid' => array()),
+'iq' => array('gov' => array(),
+'edu' => array(),
+'mil' => array(),
+'com' => array(),
+'org' => array(),
+'net' => array()),
+'ir' => array('ac' => array(),
+'co' => array(),
+'gov' => array(),
+'id' => array(),
+'net' => array(),
+'org' => array(),
+'sch' => array(),
+'ایران' => array(),
+'ايران' => array()),
+'is' => array('net' => array(),
+'com' => array(),
+'edu' => array(),
+'gov' => array(),
+'org' => array(),
+'int' => array(),
+'cupcake' => array()),
+'it' => array('gov' => array(),
+'edu' => array(),
+'abr' => array(),
+'abruzzo' => array(),
+'aosta-valley' => array(),
+'aostavalley' => array(),
+'bas' => array(),
+'basilicata' => array(),
+'cal' => array(),
+'calabria' => array(),
+'cam' => array(),
+'campania' => array(),
+'emilia-romagna' => array(),
+'emiliaromagna' => array(),
+'emr' => array(),
+'friuli-v-giulia' => array(),
+'friuli-ve-giulia' => array(),
+'friuli-vegiulia' => array(),
+'friuli-venezia-giulia' => array(),
+'friuli-veneziagiulia' => array(),
+'friuli-vgiulia' => array(),
+'friuliv-giulia' => array(),
+'friulive-giulia' => array(),
+'friulivegiulia' => array(),
+'friulivenezia-giulia' => array(),
+'friuliveneziagiulia' => array(),
+'friulivgiulia' => array(),
+'fvg' => array(),
+'laz' => array(),
+'lazio' => array(),
+'lig' => array(),
+'liguria' => array(),
+'lom' => array(),
+'lombardia' => array(),
+'lombardy' => array(),
+'lucania' => array(),
+'mar' => array(),
+'marche' => array(),
+'mol' => array(),
+'molise' => array(),
+'piedmont' => array(),
+'piemonte' => array(),
+'pmn' => array(),
+'pug' => array(),
+'puglia' => array(),
+'sar' => array(),
+'sardegna' => array(),
+'sardinia' => array(),
+'sic' => array(),
+'sicilia' => array(),
+'sicily' => array(),
+'taa' => array(),
+'tos' => array(),
+'toscana' => array(),
+'trentino-a-adige' => array(),
+'trentino-aadige' => array(),
+'trentino-alto-adige' => array(),
+'trentino-altoadige' => array(),
+'trentino-s-tirol' => array(),
+'trentino-stirol' => array(),
+'trentino-sud-tirol' => array(),
+'trentino-sudtirol' => array(),
+'trentino-sued-tirol' => array(),
+'trentino-suedtirol' => array(),
+'trentinoa-adige' => array(),
+'trentinoaadige' => array(),
+'trentinoalto-adige' => array(),
+'trentinoaltoadige' => array(),
+'trentinos-tirol' => array(),
+'trentinostirol' => array(),
+'trentinosud-tirol' => array(),
+'trentinosudtirol' => array(),
+'trentinosued-tirol' => array(),
+'trentinosuedtirol' => array(),
+'tuscany' => array(),
+'umb' => array(),
+'umbria' => array(),
+'val-d-aosta' => array(),
+'val-daosta' => array(),
+'vald-aosta' => array(),
+'valdaosta' => array(),
+'valle-aosta' => array(),
+'valle-d-aosta' => array(),
+'valle-daosta' => array(),
+'valleaosta' => array(),
+'valled-aosta' => array(),
+'valledaosta' => array(),
+'vallee-aoste' => array(),
+'valleeaoste' => array(),
+'vao' => array(),
+'vda' => array(),
+'ven' => array(),
+'veneto' => array(),
+'ag' => array(),
+'agrigento' => array(),
+'al' => array(),
+'alessandria' => array(),
+'alto-adige' => array(),
+'altoadige' => array(),
+'an' => array(),
+'ancona' => array(),
+'andria-barletta-trani' => array(),
+'andria-trani-barletta' => array(),
+'andriabarlettatrani' => array(),
+'andriatranibarletta' => array(),
+'ao' => array(),
+'aosta' => array(),
+'aoste' => array(),
+'ap' => array(),
+'aq' => array(),
+'aquila' => array(),
+'ar' => array(),
+'arezzo' => array(),
+'ascoli-piceno' => array(),
+'ascolipiceno' => array(),
+'asti' => array(),
+'at' => array(),
+'av' => array(),
+'avellino' => array(),
+'ba' => array(),
+'balsan' => array(),
+'bari' => array(),
+'barletta-trani-andria' => array(),
+'barlettatraniandria' => array(),
+'belluno' => array(),
+'benevento' => array(),
+'bergamo' => array(),
+'bg' => array(),
+'bi' => array(),
+'biella' => array(),
+'bl' => array(),
+'bn' => array(),
+'bo' => array(),
+'bologna' => array(),
+'bolzano' => array(),
+'bozen' => array(),
+'br' => array(),
+'brescia' => array(),
+'brindisi' => array(),
+'bs' => array(),
+'bt' => array(),
+'bz' => array(),
+'ca' => array(),
+'cagliari' => array(),
+'caltanissetta' => array(),
+'campidano-medio' => array(),
+'campidanomedio' => array(),
+'campobasso' => array(),
+'carbonia-iglesias' => array(),
+'carboniaiglesias' => array(),
+'carrara-massa' => array(),
+'carraramassa' => array(),
+'caserta' => array(),
+'catania' => array(),
+'catanzaro' => array(),
+'cb' => array(),
+'ce' => array(),
+'cesena-forli' => array(),
+'cesenaforli' => array(),
+'ch' => array(),
+'chieti' => array(),
+'ci' => array(),
+'cl' => array(),
+'cn' => array(),
+'co' => array(),
+'como' => array(),
+'cosenza' => array(),
+'cr' => array(),
+'cremona' => array(),
+'crotone' => array(),
+'cs' => array(),
+'ct' => array(),
+'cuneo' => array(),
+'cz' => array(),
+'dell-ogliastra' => array(),
+'dellogliastra' => array(),
+'en' => array(),
+'enna' => array(),
+'fc' => array(),
+'fe' => array(),
+'fermo' => array(),
+'ferrara' => array(),
+'fg' => array(),
+'fi' => array(),
+'firenze' => array(),
+'florence' => array(),
+'fm' => array(),
+'foggia' => array(),
+'forli-cesena' => array(),
+'forlicesena' => array(),
+'fr' => array(),
+'frosinone' => array(),
+'ge' => array(),
+'genoa' => array(),
+'genova' => array(),
+'go' => array(),
+'gorizia' => array(),
+'gr' => array(),
+'grosseto' => array(),
+'iglesias-carbonia' => array(),
+'iglesiascarbonia' => array(),
+'im' => array(),
+'imperia' => array(),
+'is' => array(),
+'isernia' => array(),
+'kr' => array(),
+'la-spezia' => array(),
+'laquila' => array(),
+'laspezia' => array(),
+'latina' => array(),
+'lc' => array(),
+'le' => array(),
+'lecce' => array(),
+'lecco' => array(),
+'li' => array(),
+'livorno' => array(),
+'lo' => array(),
+'lodi' => array(),
+'lt' => array(),
+'lu' => array(),
+'lucca' => array(),
+'macerata' => array(),
+'mantova' => array(),
+'massa-carrara' => array(),
+'massacarrara' => array(),
+'matera' => array(),
+'mb' => array(),
+'mc' => array(),
+'me' => array(),
+'medio-campidano' => array(),
+'mediocampidano' => array(),
+'messina' => array(),
+'mi' => array(),
+'milan' => array(),
+'milano' => array(),
+'mn' => array(),
+'mo' => array(),
+'modena' => array(),
+'monza-brianza' => array(),
+'monza-e-della-brianza' => array(),
+'monza' => array(),
+'monzabrianza' => array(),
+'monzaebrianza' => array(),
+'monzaedellabrianza' => array(),
+'ms' => array(),
+'mt' => array(),
+'na' => array(),
+'naples' => array(),
+'napoli' => array(),
+'no' => array(),
+'novara' => array(),
+'nu' => array(),
+'nuoro' => array(),
+'og' => array(),
+'ogliastra' => array(),
+'olbia-tempio' => array(),
+'olbiatempio' => array(),
+'or' => array(),
+'oristano' => array(),
+'ot' => array(),
+'pa' => array(),
+'padova' => array(),
+'padua' => array(),
+'palermo' => array(),
+'parma' => array(),
+'pavia' => array(),
+'pc' => array(),
+'pd' => array(),
+'pe' => array(),
+'perugia' => array(),
+'pesaro-urbino' => array(),
+'pesarourbino' => array(),
+'pescara' => array(),
+'pg' => array(),
+'pi' => array(),
+'piacenza' => array(),
+'pisa' => array(),
+'pistoia' => array(),
+'pn' => array(),
+'po' => array(),
+'pordenone' => array(),
+'potenza' => array(),
+'pr' => array(),
+'prato' => array(),
+'pt' => array(),
+'pu' => array(),
+'pv' => array(),
+'pz' => array(),
+'ra' => array(),
+'ragusa' => array(),
+'ravenna' => array(),
+'rc' => array(),
+'re' => array(),
+'reggio-calabria' => array(),
+'reggio-emilia' => array(),
+'reggiocalabria' => array(),
+'reggioemilia' => array(),
+'rg' => array(),
+'ri' => array(),
+'rieti' => array(),
+'rimini' => array(),
+'rm' => array(),
+'rn' => array(),
+'ro' => array(),
+'roma' => array(),
+'rome' => array(),
+'rovigo' => array(),
+'sa' => array(),
+'salerno' => array(),
+'sassari' => array(),
+'savona' => array(),
+'si' => array(),
+'siena' => array(),
+'siracusa' => array(),
+'so' => array(),
+'sondrio' => array(),
+'sp' => array(),
+'sr' => array(),
+'ss' => array(),
+'suedtirol' => array(),
+'sv' => array(),
+'ta' => array(),
+'taranto' => array(),
+'te' => array(),
+'tempio-olbia' => array(),
+'tempioolbia' => array(),
+'teramo' => array(),
+'terni' => array(),
+'tn' => array(),
+'to' => array(),
+'torino' => array(),
+'tp' => array(),
+'tr' => array(),
+'trani-andria-barletta' => array(),
+'trani-barletta-andria' => array(),
+'traniandriabarletta' => array(),
+'tranibarlettaandria' => array(),
+'trapani' => array(),
+'trentino' => array(),
+'trento' => array(),
+'treviso' => array(),
+'trieste' => array(),
+'ts' => array(),
+'turin' => array(),
+'tv' => array(),
+'ud' => array(),
+'udine' => array(),
+'urbino-pesaro' => array(),
+'urbinopesaro' => array(),
+'va' => array(),
+'varese' => array(),
+'vb' => array(),
+'vc' => array(),
+'ve' => array(),
+'venezia' => array(),
+'venice' => array(),
+'verbania' => array(),
+'vercelli' => array(),
+'verona' => array(),
+'vi' => array(),
+'vibo-valentia' => array(),
+'vibovalentia' => array(),
+'vicenza' => array(),
+'viterbo' => array(),
+'vr' => array(),
+'vs' => array(),
+'vt' => array(),
+'vv' => array(),
+'blogspot' => array()),
+'je' => array('co' => array(),
+'net' => array(),
+'org' => array()),
+'jm' => array('*' => array()),
+'jo' => array('com' => array(),
+'org' => array(),
+'net' => array(),
+'edu' => array(),
+'sch' => array(),
+'gov' => array(),
+'mil' => array(),
+'name' => array()),
+'jobs' => array(),
+'jp' => array('ac' => array(),
+'ad' => array(),
+'co' => array(),
+'ed' => array(),
+'go' => array(),
+'gr' => array(),
+'lg' => array(),
+'ne' => array(),
+'or' => array(),
+'aichi' => array('aisai' => array(),
+'ama' => array(),
+'anjo' => array(),
+'asuke' => array(),
+'chiryu' => array(),
+'chita' => array(),
+'fuso' => array(),
+'gamagori' => array(),
+'handa' => array(),
+'hazu' => array(),
+'hekinan' => array(),
+'higashiura' => array(),
+'ichinomiya' => array(),
+'inazawa' => array(),
+'inuyama' => array(),
+'isshiki' => array(),
+'iwakura' => array(),
+'kanie' => array(),
+'kariya' => array(),
+'kasugai' => array(),
+'kira' => array(),
+'kiyosu' => array(),
+'komaki' => array(),
+'konan' => array(),
+'kota' => array(),
+'mihama' => array(),
+'miyoshi' => array(),
+'nishio' => array(),
+'nisshin' => array(),
+'obu' => array(),
+'oguchi' => array(),
+'oharu' => array(),
+'okazaki' => array(),
+'owariasahi' => array(),
+'seto' => array(),
+'shikatsu' => array(),
+'shinshiro' => array(),
+'shitara' => array(),
+'tahara' => array(),
+'takahama' => array(),
+'tobishima' => array(),
+'toei' => array(),
+'togo' => array(),
+'tokai' => array(),
+'tokoname' => array(),
+'toyoake' => array(),
+'toyohashi' => array(),
+'toyokawa' => array(),
+'toyone' => array(),
+'toyota' => array(),
+'tsushima' => array(),
+'yatomi' => array()),
+'akita' => array('akita' => array(),
+'daisen' => array(),
+'fujisato' => array(),
+'gojome' => array(),
+'hachirogata' => array(),
+'happou' => array(),
+'higashinaruse' => array(),
+'honjo' => array(),
+'honjyo' => array(),
+'ikawa' => array(),
+'kamikoani' => array(),
+'kamioka' => array(),
+'katagami' => array(),
+'kazuno' => array(),
+'kitaakita' => array(),
+'kosaka' => array(),
+'kyowa' => array(),
+'misato' => array(),
+'mitane' => array(),
+'moriyoshi' => array(),
+'nikaho' => array(),
+'noshiro' => array(),
+'odate' => array(),
+'oga' => array(),
+'ogata' => array(),
+'semboku' => array(),
+'yokote' => array(),
+'yurihonjo' => array()),
+'aomori' => array('aomori' => array(),
+'gonohe' => array(),
+'hachinohe' => array(),
+'hashikami' => array(),
+'hiranai' => array(),
+'hirosaki' => array(),
+'itayanagi' => array(),
+'kuroishi' => array(),
+'misawa' => array(),
+'mutsu' => array(),
+'nakadomari' => array(),
+'noheji' => array(),
+'oirase' => array(),
+'owani' => array(),
+'rokunohe' => array(),
+'sannohe' => array(),
+'shichinohe' => array(),
+'shingo' => array(),
+'takko' => array(),
+'towada' => array(),
+'tsugaru' => array(),
+'tsuruta' => array()),
+'chiba' => array('abiko' => array(),
+'asahi' => array(),
+'chonan' => array(),
+'chosei' => array(),
+'choshi' => array(),
+'chuo' => array(),
+'funabashi' => array(),
+'futtsu' => array(),
+'hanamigawa' => array(),
+'ichihara' => array(),
+'ichikawa' => array(),
+'ichinomiya' => array(),
+'inzai' => array(),
+'isumi' => array(),
+'kamagaya' => array(),
+'kamogawa' => array(),
+'kashiwa' => array(),
+'katori' => array(),
+'katsuura' => array(),
+'kimitsu' => array(),
+'kisarazu' => array(),
+'kozaki' => array(),
+'kujukuri' => array(),
+'kyonan' => array(),
+'matsudo' => array(),
+'midori' => array(),
+'mihama' => array(),
+'minamiboso' => array(),
+'mobara' => array(),
+'mutsuzawa' => array(),
+'nagara' => array(),
+'nagareyama' => array(),
+'narashino' => array(),
+'narita' => array(),
+'noda' => array(),
+'oamishirasato' => array(),
+'omigawa' => array(),
+'onjuku' => array(),
+'otaki' => array(),
+'sakae' => array(),
+'sakura' => array(),
+'shimofusa' => array(),
+'shirako' => array(),
+'shiroi' => array(),
+'shisui' => array(),
+'sodegaura' => array(),
+'sosa' => array(),
+'tako' => array(),
+'tateyama' => array(),
+'togane' => array(),
+'tohnosho' => array(),
+'tomisato' => array(),
+'urayasu' => array(),
+'yachimata' => array(),
+'yachiyo' => array(),
+'yokaichiba' => array(),
+'yokoshibahikari' => array(),
+'yotsukaido' => array()),
+'ehime' => array('ainan' => array(),
+'honai' => array(),
+'ikata' => array(),
+'imabari' => array(),
+'iyo' => array(),
+'kamijima' => array(),
+'kihoku' => array(),
+'kumakogen' => array(),
+'masaki' => array(),
+'matsuno' => array(),
+'matsuyama' => array(),
+'namikata' => array(),
+'niihama' => array(),
+'ozu' => array(),
+'saijo' => array(),
+'seiyo' => array(),
+'shikokuchuo' => array(),
+'tobe' => array(),
+'toon' => array(),
+'uchiko' => array(),
+'uwajima' => array(),
+'yawatahama' => array()),
+'fukui' => array('echizen' => array(),
+'eiheiji' => array(),
+'fukui' => array(),
+'ikeda' => array(),
+'katsuyama' => array(),
+'mihama' => array(),
+'minamiechizen' => array(),
+'obama' => array(),
+'ohi' => array(),
+'ono' => array(),
+'sabae' => array(),
+'sakai' => array(),
+'takahama' => array(),
+'tsuruga' => array(),
+'wakasa' => array()),
+'fukuoka' => array('ashiya' => array(),
+'buzen' => array(),
+'chikugo' => array(),
+'chikuho' => array(),
+'chikujo' => array(),
+'chikushino' => array(),
+'chikuzen' => array(),
+'chuo' => array(),
+'dazaifu' => array(),
+'fukuchi' => array(),
+'hakata' => array(),
+'higashi' => array(),
+'hirokawa' => array(),
+'hisayama' => array(),
+'iizuka' => array(),
+'inatsuki' => array(),
+'kaho' => array(),
+'kasuga' => array(),
+'kasuya' => array(),
+'kawara' => array(),
+'keisen' => array(),
+'koga' => array(),
+'kurate' => array(),
+'kurogi' => array(),
+'kurume' => array(),
+'minami' => array(),
+'miyako' => array(),
+'miyama' => array(),
+'miyawaka' => array(),
+'mizumaki' => array(),
+'munakata' => array(),
+'nakagawa' => array(),
+'nakama' => array(),
+'nishi' => array(),
+'nogata' => array(),
+'ogori' => array(),
+'okagaki' => array(),
+'okawa' => array(),
+'oki' => array(),
+'omuta' => array(),
+'onga' => array(),
+'onojo' => array(),
+'oto' => array(),
+'saigawa' => array(),
+'sasaguri' => array(),
+'shingu' => array(),
+'shinyoshitomi' => array(),
+'shonai' => array(),
+'soeda' => array(),
+'sue' => array(),
+'tachiarai' => array(),
+'tagawa' => array(),
+'takata' => array(),
+'toho' => array(),
+'toyotsu' => array(),
+'tsuiki' => array(),
+'ukiha' => array(),
+'umi' => array(),
+'usui' => array(),
+'yamada' => array(),
+'yame' => array(),
+'yanagawa' => array(),
+'yukuhashi' => array()),
+'fukushima' => array('aizubange' => array(),
+'aizumisato' => array(),
+'aizuwakamatsu' => array(),
+'asakawa' => array(),
+'bandai' => array(),
+'date' => array(),
+'fukushima' => array(),
+'furudono' => array(),
+'futaba' => array(),
+'hanawa' => array(),
+'higashi' => array(),
+'hirata' => array(),
+'hirono' => array(),
+'iitate' => array(),
+'inawashiro' => array(),
+'ishikawa' => array(),
+'iwaki' => array(),
+'izumizaki' => array(),
+'kagamiishi' => array(),
+'kaneyama' => array(),
+'kawamata' => array(),
+'kitakata' => array(),
+'kitashiobara' => array(),
+'koori' => array(),
+'koriyama' => array(),
+'kunimi' => array(),
+'miharu' => array(),
+'mishima' => array(),
+'namie' => array(),
+'nango' => array(),
+'nishiaizu' => array(),
+'nishigo' => array(),
+'okuma' => array(),
+'omotego' => array(),
+'ono' => array(),
+'otama' => array(),
+'samegawa' => array(),
+'shimogo' => array(),
+'shirakawa' => array(),
+'showa' => array(),
+'soma' => array(),
+'sukagawa' => array(),
+'taishin' => array(),
+'tamakawa' => array(),
+'tanagura' => array(),
+'tenei' => array(),
+'yabuki' => array(),
+'yamato' => array(),
+'yamatsuri' => array(),
+'yanaizu' => array(),
+'yugawa' => array()),
+'gifu' => array('anpachi' => array(),
+'ena' => array(),
+'gifu' => array(),
+'ginan' => array(),
+'godo' => array(),
+'gujo' => array(),
+'hashima' => array(),
+'hichiso' => array(),
+'hida' => array(),
+'higashishirakawa' => array(),
+'ibigawa' => array(),
+'ikeda' => array(),
+'kakamigahara' => array(),
+'kani' => array(),
+'kasahara' => array(),
+'kasamatsu' => array(),
+'kawaue' => array(),
+'kitagata' => array(),
+'mino' => array(),
+'minokamo' => array(),
+'mitake' => array(),
+'mizunami' => array(),
+'motosu' => array(),
+'nakatsugawa' => array(),
+'ogaki' => array(),
+'sakahogi' => array(),
+'seki' => array(),
+'sekigahara' => array(),
+'shirakawa' => array(),
+'tajimi' => array(),
+'takayama' => array(),
+'tarui' => array(),
+'toki' => array(),
+'tomika' => array(),
+'wanouchi' => array(),
+'yamagata' => array(),
+'yaotsu' => array(),
+'yoro' => array()),
+'gunma' => array('annaka' => array(),
+'chiyoda' => array(),
+'fujioka' => array(),
+'higashiagatsuma' => array(),
+'isesaki' => array(),
+'itakura' => array(),
+'kanna' => array(),
+'kanra' => array(),
+'katashina' => array(),
+'kawaba' => array(),
+'kiryu' => array(),
+'kusatsu' => array(),
+'maebashi' => array(),
+'meiwa' => array(),
+'midori' => array(),
+'minakami' => array(),
+'naganohara' => array(),
+'nakanojo' => array(),
+'nanmoku' => array(),
+'numata' => array(),
+'oizumi' => array(),
+'ora' => array(),
+'ota' => array(),
+'shibukawa' => array(),
+'shimonita' => array(),
+'shinto' => array(),
+'showa' => array(),
+'takasaki' => array(),
+'takayama' => array(),
+'tamamura' => array(),
+'tatebayashi' => array(),
+'tomioka' => array(),
+'tsukiyono' => array(),
+'tsumagoi' => array(),
+'ueno' => array(),
+'yoshioka' => array()),
+'hiroshima' => array('asaminami' => array(),
+'daiwa' => array(),
+'etajima' => array(),
+'fuchu' => array(),
+'fukuyama' => array(),
+'hatsukaichi' => array(),
+'higashihiroshima' => array(),
+'hongo' => array(),
+'jinsekikogen' => array(),
+'kaita' => array(),
+'kui' => array(),
+'kumano' => array(),
+'kure' => array(),
+'mihara' => array(),
+'miyoshi' => array(),
+'naka' => array(),
+'onomichi' => array(),
+'osakikamijima' => array(),
+'otake' => array(),
+'saka' => array(),
+'sera' => array(),
+'seranishi' => array(),
+'shinichi' => array(),
+'shobara' => array(),
+'takehara' => array()),
+'hokkaido' => array('abashiri' => array(),
+'abira' => array(),
+'aibetsu' => array(),
+'akabira' => array(),
+'akkeshi' => array(),
+'asahikawa' => array(),
+'ashibetsu' => array(),
+'ashoro' => array(),
+'assabu' => array(),
+'atsuma' => array(),
+'bibai' => array(),
+'biei' => array(),
+'bifuka' => array(),
+'bihoro' => array(),
+'biratori' => array(),
+'chippubetsu' => array(),
+'chitose' => array(),
+'date' => array(),
+'ebetsu' => array(),
+'embetsu' => array(),
+'eniwa' => array(),
+'erimo' => array(),
+'esan' => array(),
+'esashi' => array(),
+'fukagawa' => array(),
+'fukushima' => array(),
+'furano' => array(),
+'furubira' => array(),
+'haboro' => array(),
+'hakodate' => array(),
+'hamatonbetsu' => array(),
+'hidaka' => array(),
+'higashikagura' => array(),
+'higashikawa' => array(),
+'hiroo' => array(),
+'hokuryu' => array(),
+'hokuto' => array(),
+'honbetsu' => array(),
+'horokanai' => array(),
+'horonobe' => array(),
+'ikeda' => array(),
+'imakane' => array(),
+'ishikari' => array(),
+'iwamizawa' => array(),
+'iwanai' => array(),
+'kamifurano' => array(),
+'kamikawa' => array(),
+'kamishihoro' => array(),
+'kamisunagawa' => array(),
+'kamoenai' => array(),
+'kayabe' => array(),
+'kembuchi' => array(),
+'kikonai' => array(),
+'kimobetsu' => array(),
+'kitahiroshima' => array(),
+'kitami' => array(),
+'kiyosato' => array(),
+'koshimizu' => array(),
+'kunneppu' => array(),
+'kuriyama' => array(),
+'kuromatsunai' => array(),
+'kushiro' => array(),
+'kutchan' => array(),
+'kyowa' => array(),
+'mashike' => array(),
+'matsumae' => array(),
+'mikasa' => array(),
+'minamifurano' => array(),
+'mombetsu' => array(),
+'moseushi' => array(),
+'mukawa' => array(),
+'muroran' => array(),
+'naie' => array(),
+'nakagawa' => array(),
+'nakasatsunai' => array(),
+'nakatombetsu' => array(),
+'nanae' => array(),
+'nanporo' => array(),
+'nayoro' => array(),
+'nemuro' => array(),
+'niikappu' => array(),
+'niki' => array(),
+'nishiokoppe' => array(),
+'noboribetsu' => array(),
+'numata' => array(),
+'obihiro' => array(),
+'obira' => array(),
+'oketo' => array(),
+'okoppe' => array(),
+'otaru' => array(),
+'otobe' => array(),
+'otofuke' => array(),
+'otoineppu' => array(),
+'oumu' => array(),
+'ozora' => array(),
+'pippu' => array(),
+'rankoshi' => array(),
+'rebun' => array(),
+'rikubetsu' => array(),
+'rishiri' => array(),
+'rishirifuji' => array(),
+'saroma' => array(),
+'sarufutsu' => array(),
+'shakotan' => array(),
+'shari' => array(),
+'shibecha' => array(),
+'shibetsu' => array(),
+'shikabe' => array(),
+'shikaoi' => array(),
+'shimamaki' => array(),
+'shimizu' => array(),
+'shimokawa' => array(),
+'shinshinotsu' => array(),
+'shintoku' => array(),
+'shiranuka' => array(),
+'shiraoi' => array(),
+'shiriuchi' => array(),
+'sobetsu' => array(),
+'sunagawa' => array(),
+'taiki' => array(),
+'takasu' => array(),
+'takikawa' => array(),
+'takinoue' => array(),
+'teshikaga' => array(),
+'tobetsu' => array(),
+'tohma' => array(),
+'tomakomai' => array(),
+'tomari' => array(),
+'toya' => array(),
+'toyako' => array(),
+'toyotomi' => array(),
+'toyoura' => array(),
+'tsubetsu' => array(),
+'tsukigata' => array(),
+'urakawa' => array(),
+'urausu' => array(),
+'uryu' => array(),
+'utashinai' => array(),
+'wakkanai' => array(),
+'wassamu' => array(),
+'yakumo' => array(),
+'yoichi' => array()),
+'hyogo' => array('aioi' => array(),
+'akashi' => array(),
+'ako' => array(),
+'amagasaki' => array(),
+'aogaki' => array(),
+'asago' => array(),
+'ashiya' => array(),
+'awaji' => array(),
+'fukusaki' => array(),
+'goshiki' => array(),
+'harima' => array(),
+'himeji' => array(),
+'ichikawa' => array(),
+'inagawa' => array(),
+'itami' => array(),
+'kakogawa' => array(),
+'kamigori' => array(),
+'kamikawa' => array(),
+'kasai' => array(),
+'kasuga' => array(),
+'kawanishi' => array(),
+'miki' => array(),
+'minamiawaji' => array(),
+'nishinomiya' => array(),
+'nishiwaki' => array(),
+'ono' => array(),
+'sanda' => array(),
+'sannan' => array(),
+'sasayama' => array(),
+'sayo' => array(),
+'shingu' => array(),
+'shinonsen' => array(),
+'shiso' => array(),
+'sumoto' => array(),
+'taishi' => array(),
+'taka' => array(),
+'takarazuka' => array(),
+'takasago' => array(),
+'takino' => array(),
+'tamba' => array(),
+'tatsuno' => array(),
+'toyooka' => array(),
+'yabu' => array(),
+'yashiro' => array(),
+'yoka' => array(),
+'yokawa' => array()),
+'ibaraki' => array('ami' => array(),
+'asahi' => array(),
+'bando' => array(),
+'chikusei' => array(),
+'daigo' => array(),
+'fujishiro' => array(),
+'hitachi' => array(),
+'hitachinaka' => array(),
+'hitachiomiya' => array(),
+'hitachiota' => array(),
+'ibaraki' => array(),
+'ina' => array(),
+'inashiki' => array(),
+'itako' => array(),
+'iwama' => array(),
+'joso' => array(),
+'kamisu' => array(),
+'kasama' => array(),
+'kashima' => array(),
+'kasumigaura' => array(),
+'koga' => array(),
+'miho' => array(),
+'mito' => array(),
+'moriya' => array(),
+'naka' => array(),
+'namegata' => array(),
+'oarai' => array(),
+'ogawa' => array(),
+'omitama' => array(),
+'ryugasaki' => array(),
+'sakai' => array(),
+'sakuragawa' => array(),
+'shimodate' => array(),
+'shimotsuma' => array(),
+'shirosato' => array(),
+'sowa' => array(),
+'suifu' => array(),
+'takahagi' => array(),
+'tamatsukuri' => array(),
+'tokai' => array(),
+'tomobe' => array(),
+'tone' => array(),
+'toride' => array(),
+'tsuchiura' => array(),
+'tsukuba' => array(),
+'uchihara' => array(),
+'ushiku' => array(),
+'yachiyo' => array(),
+'yamagata' => array(),
+'yawara' => array(),
+'yuki' => array()),
+'ishikawa' => array('anamizu' => array(),
+'hakui' => array(),
+'hakusan' => array(),
+'kaga' => array(),
+'kahoku' => array(),
+'kanazawa' => array(),
+'kawakita' => array(),
+'komatsu' => array(),
+'nakanoto' => array(),
+'nanao' => array(),
+'nomi' => array(),
+'nonoichi' => array(),
+'noto' => array(),
+'shika' => array(),
+'suzu' => array(),
+'tsubata' => array(),
+'tsurugi' => array(),
+'uchinada' => array(),
+'wajima' => array()),
+'iwate' => array('fudai' => array(),
+'fujisawa' => array(),
+'hanamaki' => array(),
+'hiraizumi' => array(),
+'hirono' => array(),
+'ichinohe' => array(),
+'ichinoseki' => array(),
+'iwaizumi' => array(),
+'iwate' => array(),
+'joboji' => array(),
+'kamaishi' => array(),
+'kanegasaki' => array(),
+'karumai' => array(),
+'kawai' => array(),
+'kitakami' => array(),
+'kuji' => array(),
+'kunohe' => array(),
+'kuzumaki' => array(),
+'miyako' => array(),
+'mizusawa' => array(),
+'morioka' => array(),
+'ninohe' => array(),
+'noda' => array(),
+'ofunato' => array(),
+'oshu' => array(),
+'otsuchi' => array(),
+'rikuzentakata' => array(),
+'shiwa' => array(),
+'shizukuishi' => array(),
+'sumita' => array(),
+'tanohata' => array(),
+'tono' => array(),
+'yahaba' => array(),
+'yamada' => array()),
+'kagawa' => array('ayagawa' => array(),
+'higashikagawa' => array(),
+'kanonji' => array(),
+'kotohira' => array(),
+'manno' => array(),
+'marugame' => array(),
+'mitoyo' => array(),
+'naoshima' => array(),
+'sanuki' => array(),
+'tadotsu' => array(),
+'takamatsu' => array(),
+'tonosho' => array(),
+'uchinomi' => array(),
+'utazu' => array(),
+'zentsuji' => array()),
+'kagoshima' => array('akune' => array(),
+'amami' => array(),
+'hioki' => array(),
+'isa' => array(),
+'isen' => array(),
+'izumi' => array(),
+'kagoshima' => array(),
+'kanoya' => array(),
+'kawanabe' => array(),
+'kinko' => array(),
+'kouyama' => array(),
+'makurazaki' => array(),
+'matsumoto' => array(),
+'minamitane' => array(),
+'nakatane' => array(),
+'nishinoomote' => array(),
+'satsumasendai' => array(),
+'soo' => array(),
+'tarumizu' => array(),
+'yusui' => array()),
+'kanagawa' => array('aikawa' => array(),
+'atsugi' => array(),
+'ayase' => array(),
+'chigasaki' => array(),
+'ebina' => array(),
+'fujisawa' => array(),
+'hadano' => array(),
+'hakone' => array(),
+'hiratsuka' => array(),
+'isehara' => array(),
+'kaisei' => array(),
+'kamakura' => array(),
+'kiyokawa' => array(),
+'matsuda' => array(),
+'minamiashigara' => array(),
+'miura' => array(),
+'nakai' => array(),
+'ninomiya' => array(),
+'odawara' => array(),
+'oi' => array(),
+'oiso' => array(),
+'sagamihara' => array(),
+'samukawa' => array(),
+'tsukui' => array(),
+'yamakita' => array(),
+'yamato' => array(),
+'yokosuka' => array(),
+'yugawara' => array(),
+'zama' => array(),
+'zushi' => array()),
+'kochi' => array('aki' => array(),
+'geisei' => array(),
+'hidaka' => array(),
+'higashitsuno' => array(),
+'ino' => array(),
+'kagami' => array(),
+'kami' => array(),
+'kitagawa' => array(),
+'kochi' => array(),
+'mihara' => array(),
+'motoyama' => array(),
+'muroto' => array(),
+'nahari' => array(),
+'nakamura' => array(),
+'nankoku' => array(),
+'nishitosa' => array(),
+'niyodogawa' => array(),
+'ochi' => array(),
+'okawa' => array(),
+'otoyo' => array(),
+'otsuki' => array(),
+'sakawa' => array(),
+'sukumo' => array(),
+'susaki' => array(),
+'tosa' => array(),
+'tosashimizu' => array(),
+'toyo' => array(),
+'tsuno' => array(),
+'umaji' => array(),
+'yasuda' => array(),
+'yusuhara' => array()),
+'kumamoto' => array('amakusa' => array(),
+'arao' => array(),
+'aso' => array(),
+'choyo' => array(),
+'gyokuto' => array(),
+'hitoyoshi' => array(),
+'kamiamakusa' => array(),
+'kashima' => array(),
+'kikuchi' => array(),
+'kosa' => array(),
+'kumamoto' => array(),
+'mashiki' => array(),
+'mifune' => array(),
+'minamata' => array(),
+'minamioguni' => array(),
+'nagasu' => array(),
+'nishihara' => array(),
+'oguni' => array(),
+'ozu' => array(),
+'sumoto' => array(),
+'takamori' => array(),
+'uki' => array(),
+'uto' => array(),
+'yamaga' => array(),
+'yamato' => array(),
+'yatsushiro' => array()),
+'kyoto' => array('ayabe' => array(),
+'fukuchiyama' => array(),
+'higashiyama' => array(),
+'ide' => array(),
+'ine' => array(),
+'joyo' => array(),
+'kameoka' => array(),
+'kamo' => array(),
+'kita' => array(),
+'kizu' => array(),
+'kumiyama' => array(),
+'kyotamba' => array(),
+'kyotanabe' => array(),
+'kyotango' => array(),
+'maizuru' => array(),
+'minami' => array(),
+'minamiyamashiro' => array(),
+'miyazu' => array(),
+'muko' => array(),
+'nagaokakyo' => array(),
+'nakagyo' => array(),
+'nantan' => array(),
+'oyamazaki' => array(),
+'sakyo' => array(),
+'seika' => array(),
+'tanabe' => array(),
+'uji' => array(),
+'ujitawara' => array(),
+'wazuka' => array(),
+'yamashina' => array(),
+'yawata' => array()),
+'mie' => array('asahi' => array(),
+'inabe' => array(),
+'ise' => array(),
+'kameyama' => array(),
+'kawagoe' => array(),
+'kiho' => array(),
+'kisosaki' => array(),
+'kiwa' => array(),
+'komono' => array(),
+'kumano' => array(),
+'kuwana' => array(),
+'matsusaka' => array(),
+'meiwa' => array(),
+'mihama' => array(),
+'minamiise' => array(),
+'misugi' => array(),
+'miyama' => array(),
+'nabari' => array(),
+'shima' => array(),
+'suzuka' => array(),
+'tado' => array(),
+'taiki' => array(),
+'taki' => array(),
+'tamaki' => array(),
+'toba' => array(),
+'tsu' => array(),
+'udono' => array(),
+'ureshino' => array(),
+'watarai' => array(),
+'yokkaichi' => array()),
+'miyagi' => array('furukawa' => array(),
+'higashimatsushima' => array(),
+'ishinomaki' => array(),
+'iwanuma' => array(),
+'kakuda' => array(),
+'kami' => array(),
+'kawasaki' => array(),
+'kesennuma' => array(),
+'marumori' => array(),
+'matsushima' => array(),
+'minamisanriku' => array(),
+'misato' => array(),
+'murata' => array(),
+'natori' => array(),
+'ogawara' => array(),
+'ohira' => array(),
+'onagawa' => array(),
+'osaki' => array(),
+'rifu' => array(),
+'semine' => array(),
+'shibata' => array(),
+'shichikashuku' => array(),
+'shikama' => array(),
+'shiogama' => array(),
+'shiroishi' => array(),
+'tagajo' => array(),
+'taiwa' => array(),
+'tome' => array(),
+'tomiya' => array(),
+'wakuya' => array(),
+'watari' => array(),
+'yamamoto' => array(),
+'zao' => array()),
+'miyazaki' => array('aya' => array(),
+'ebino' => array(),
+'gokase' => array(),
+'hyuga' => array(),
+'kadogawa' => array(),
+'kawaminami' => array(),
+'kijo' => array(),
+'kitagawa' => array(),
+'kitakata' => array(),
+'kitaura' => array(),
+'kobayashi' => array(),
+'kunitomi' => array(),
+'kushima' => array(),
+'mimata' => array(),
+'miyakonojo' => array(),
+'miyazaki' => array(),
+'morotsuka' => array(),
+'nichinan' => array(),
+'nishimera' => array(),
+'nobeoka' => array(),
+'saito' => array(),
+'shiiba' => array(),
+'shintomi' => array(),
+'takaharu' => array(),
+'takanabe' => array(),
+'takazaki' => array(),
+'tsuno' => array()),
+'nagano' => array('achi' => array(),
+'agematsu' => array(),
+'anan' => array(),
+'aoki' => array(),
+'asahi' => array(),
+'azumino' => array(),
+'chikuhoku' => array(),
+'chikuma' => array(),
+'chino' => array(),
+'fujimi' => array(),
+'hakuba' => array(),
+'hara' => array(),
+'hiraya' => array(),
+'iida' => array(),
+'iijima' => array(),
+'iiyama' => array(),
+'iizuna' => array(),
+'ikeda' => array(),
+'ikusaka' => array(),
+'ina' => array(),
+'karuizawa' => array(),
+'kawakami' => array(),
+'kiso' => array(),
+'kisofukushima' => array(),
+'kitaaiki' => array(),
+'komagane' => array(),
+'komoro' => array(),
+'matsukawa' => array(),
+'matsumoto' => array(),
+'miasa' => array(),
+'minamiaiki' => array(),
+'minamimaki' => array(),
+'minamiminowa' => array(),
+'minowa' => array(),
+'miyada' => array(),
+'miyota' => array(),
+'mochizuki' => array(),
+'nagano' => array(),
+'nagawa' => array(),
+'nagiso' => array(),
+'nakagawa' => array(),
+'nakano' => array(),
+'nozawaonsen' => array(),
+'obuse' => array(),
+'ogawa' => array(),
+'okaya' => array(),
+'omachi' => array(),
+'omi' => array(),
+'ookuwa' => array(),
+'ooshika' => array(),
+'otaki' => array(),
+'otari' => array(),
+'sakae' => array(),
+'sakaki' => array(),
+'saku' => array(),
+'sakuho' => array(),
+'shimosuwa' => array(),
+'shinanomachi' => array(),
+'shiojiri' => array(),
+'suwa' => array(),
+'suzaka' => array(),
+'takagi' => array(),
+'takamori' => array(),
+'takayama' => array(),
+'tateshina' => array(),
+'tatsuno' => array(),
+'togakushi' => array(),
+'togura' => array(),
+'tomi' => array(),
+'ueda' => array(),
+'wada' => array(),
+'yamagata' => array(),
+'yamanouchi' => array(),
+'yasaka' => array(),
+'yasuoka' => array()),
+'nagasaki' => array('chijiwa' => array(),
+'futsu' => array(),
+'goto' => array(),
+'hasami' => array(),
+'hirado' => array(),
+'iki' => array(),
+'isahaya' => array(),
+'kawatana' => array(),
+'kuchinotsu' => array(),
+'matsuura' => array(),
+'nagasaki' => array(),
+'obama' => array(),
+'omura' => array(),
+'oseto' => array(),
+'saikai' => array(),
+'sasebo' => array(),
+'seihi' => array(),
+'shimabara' => array(),
+'shinkamigoto' => array(),
+'togitsu' => array(),
+'tsushima' => array(),
+'unzen' => array()),
+'nara' => array('ando' => array(),
+'gose' => array(),
+'heguri' => array(),
+'higashiyoshino' => array(),
+'ikaruga' => array(),
+'ikoma' => array(),
+'kamikitayama' => array(),
+'kanmaki' => array(),
+'kashiba' => array(),
+'kashihara' => array(),
+'katsuragi' => array(),
+'kawai' => array(),
+'kawakami' => array(),
+'kawanishi' => array(),
+'koryo' => array(),
+'kurotaki' => array(),
+'mitsue' => array(),
+'miyake' => array(),
+'nara' => array(),
+'nosegawa' => array(),
+'oji' => array(),
+'ouda' => array(),
+'oyodo' => array(),
+'sakurai' => array(),
+'sango' => array(),
+'shimoichi' => array(),
+'shimokitayama' => array(),
+'shinjo' => array(),
+'soni' => array(),
+'takatori' => array(),
+'tawaramoto' => array(),
+'tenkawa' => array(),
+'tenri' => array(),
+'uda' => array(),
+'yamatokoriyama' => array(),
+'yamatotakada' => array(),
+'yamazoe' => array(),
+'yoshino' => array()),
+'niigata' => array('aga' => array(),
+'agano' => array(),
+'gosen' => array(),
+'itoigawa' => array(),
+'izumozaki' => array(),
+'joetsu' => array(),
+'kamo' => array(),
+'kariwa' => array(),
+'kashiwazaki' => array(),
+'minamiuonuma' => array(),
+'mitsuke' => array(),
+'muika' => array(),
+'murakami' => array(),
+'myoko' => array(),
+'nagaoka' => array(),
+'niigata' => array(),
+'ojiya' => array(),
+'omi' => array(),
+'sado' => array(),
+'sanjo' => array(),
+'seiro' => array(),
+'seirou' => array(),
+'sekikawa' => array(),
+'shibata' => array(),
+'tagami' => array(),
+'tainai' => array(),
+'tochio' => array(),
+'tokamachi' => array(),
+'tsubame' => array(),
+'tsunan' => array(),
+'uonuma' => array(),
+'yahiko' => array(),
+'yoita' => array(),
+'yuzawa' => array()),
+'oita' => array('beppu' => array(),
+'bungoono' => array(),
+'bungotakada' => array(),
+'hasama' => array(),
+'hiji' => array(),
+'himeshima' => array(),
+'hita' => array(),
+'kamitsue' => array(),
+'kokonoe' => array(),
+'kuju' => array(),
+'kunisaki' => array(),
+'kusu' => array(),
+'oita' => array(),
+'saiki' => array(),
+'taketa' => array(),
+'tsukumi' => array(),
+'usa' => array(),
+'usuki' => array(),
+'yufu' => array()),
+'okayama' => array('akaiwa' => array(),
+'asakuchi' => array(),
+'bizen' => array(),
+'hayashima' => array(),
+'ibara' => array(),
+'kagamino' => array(),
+'kasaoka' => array(),
+'kibichuo' => array(),
+'kumenan' => array(),
+'kurashiki' => array(),
+'maniwa' => array(),
+'misaki' => array(),
+'nagi' => array(),
+'niimi' => array(),
+'nishiawakura' => array(),
+'okayama' => array(),
+'satosho' => array(),
+'setouchi' => array(),
+'shinjo' => array(),
+'shoo' => array(),
+'soja' => array(),
+'takahashi' => array(),
+'tamano' => array(),
+'tsuyama' => array(),
+'wake' => array(),
+'yakage' => array()),
+'okinawa' => array('aguni' => array(),
+'ginowan' => array(),
+'ginoza' => array(),
+'gushikami' => array(),
+'haebaru' => array(),
+'higashi' => array(),
+'hirara' => array(),
+'iheya' => array(),
+'ishigaki' => array(),
+'ishikawa' => array(),
+'itoman' => array(),
+'izena' => array(),
+'kadena' => array(),
+'kin' => array(),
+'kitadaito' => array(),
+'kitanakagusuku' => array(),
+'kumejima' => array(),
+'kunigami' => array(),
+'minamidaito' => array(),
+'motobu' => array(),
+'nago' => array(),
+'naha' => array(),
+'nakagusuku' => array(),
+'nakijin' => array(),
+'nanjo' => array(),
+'nishihara' => array(),
+'ogimi' => array(),
+'okinawa' => array(),
+'onna' => array(),
+'shimoji' => array(),
+'taketomi' => array(),
+'tarama' => array(),
+'tokashiki' => array(),
+'tomigusuku' => array(),
+'tonaki' => array(),
+'urasoe' => array(),
+'uruma' => array(),
+'yaese' => array(),
+'yomitan' => array(),
+'yonabaru' => array(),
+'yonaguni' => array(),
+'zamami' => array()),
+'osaka' => array('abeno' => array(),
+'chihayaakasaka' => array(),
+'chuo' => array(),
+'daito' => array(),
+'fujiidera' => array(),
+'habikino' => array(),
+'hannan' => array(),
+'higashiosaka' => array(),
+'higashisumiyoshi' => array(),
+'higashiyodogawa' => array(),
+'hirakata' => array(),
+'ibaraki' => array(),
+'ikeda' => array(),
+'izumi' => array(),
+'izumiotsu' => array(),
+'izumisano' => array(),
+'kadoma' => array(),
+'kaizuka' => array(),
+'kanan' => array(),
+'kashiwara' => array(),
+'katano' => array(),
+'kawachinagano' => array(),
+'kishiwada' => array(),
+'kita' => array(),
+'kumatori' => array(),
+'matsubara' => array(),
+'minato' => array(),
+'minoh' => array(),
+'misaki' => array(),
+'moriguchi' => array(),
+'neyagawa' => array(),
+'nishi' => array(),
+'nose' => array(),
+'osakasayama' => array(),
+'sakai' => array(),
+'sayama' => array(),
+'sennan' => array(),
+'settsu' => array(),
+'shijonawate' => array(),
+'shimamoto' => array(),
+'suita' => array(),
+'tadaoka' => array(),
+'taishi' => array(),
+'tajiri' => array(),
+'takaishi' => array(),
+'takatsuki' => array(),
+'tondabayashi' => array(),
+'toyonaka' => array(),
+'toyono' => array(),
+'yao' => array()),
+'saga' => array('ariake' => array(),
+'arita' => array(),
+'fukudomi' => array(),
+'genkai' => array(),
+'hamatama' => array(),
+'hizen' => array(),
+'imari' => array(),
+'kamimine' => array(),
+'kanzaki' => array(),
+'karatsu' => array(),
+'kashima' => array(),
+'kitagata' => array(),
+'kitahata' => array(),
+'kiyama' => array(),
+'kouhoku' => array(),
+'kyuragi' => array(),
+'nishiarita' => array(),
+'ogi' => array(),
+'omachi' => array(),
+'ouchi' => array(),
+'saga' => array(),
+'shiroishi' => array(),
+'taku' => array(),
+'tara' => array(),
+'tosu' => array(),
+'yoshinogari' => array()),
+'saitama' => array('arakawa' => array(),
+'asaka' => array(),
+'chichibu' => array(),
+'fujimi' => array(),
+'fujimino' => array(),
+'fukaya' => array(),
+'hanno' => array(),
+'hanyu' => array(),
+'hasuda' => array(),
+'hatogaya' => array(),
+'hatoyama' => array(),
+'hidaka' => array(),
+'higashichichibu' => array(),
+'higashimatsuyama' => array(),
+'honjo' => array(),
+'ina' => array(),
+'iruma' => array(),
+'iwatsuki' => array(),
+'kamiizumi' => array(),
+'kamikawa' => array(),
+'kamisato' => array(),
+'kasukabe' => array(),
+'kawagoe' => array(),
+'kawaguchi' => array(),
+'kawajima' => array(),
+'kazo' => array(),
+'kitamoto' => array(),
+'koshigaya' => array(),
+'kounosu' => array(),
+'kuki' => array(),
+'kumagaya' => array(),
+'matsubushi' => array(),
+'minano' => array(),
+'misato' => array(),
+'miyashiro' => array(),
+'miyoshi' => array(),
+'moroyama' => array(),
+'nagatoro' => array(),
+'namegawa' => array(),
+'niiza' => array(),
+'ogano' => array(),
+'ogawa' => array(),
+'ogose' => array(),
+'okegawa' => array(),
+'omiya' => array(),
+'otaki' => array(),
+'ranzan' => array(),
+'ryokami' => array(),
+'saitama' => array(),
+'sakado' => array(),
+'satte' => array(),
+'sayama' => array(),
+'shiki' => array(),
+'shiraoka' => array(),
+'soka' => array(),
+'sugito' => array(),
+'toda' => array(),
+'tokigawa' => array(),
+'tokorozawa' => array(),
+'tsurugashima' => array(),
+'urawa' => array(),
+'warabi' => array(),
+'yashio' => array(),
+'yokoze' => array(),
+'yono' => array(),
+'yorii' => array(),
+'yoshida' => array(),
+'yoshikawa' => array(),
+'yoshimi' => array()),
+'shiga' => array('aisho' => array(),
+'gamo' => array(),
+'higashiomi' => array(),
+'hikone' => array(),
+'koka' => array(),
+'konan' => array(),
+'kosei' => array(),
+'koto' => array(),
+'kusatsu' => array(),
+'maibara' => array(),
+'moriyama' => array(),
+'nagahama' => array(),
+'nishiazai' => array(),
+'notogawa' => array(),
+'omihachiman' => array(),
+'otsu' => array(),
+'ritto' => array(),
+'ryuoh' => array(),
+'takashima' => array(),
+'takatsuki' => array(),
+'torahime' => array(),
+'toyosato' => array(),
+'yasu' => array()),
+'shimane' => array('akagi' => array(),
+'ama' => array(),
+'gotsu' => array(),
+'hamada' => array(),
+'higashiizumo' => array(),
+'hikawa' => array(),
+'hikimi' => array(),
+'izumo' => array(),
+'kakinoki' => array(),
+'masuda' => array(),
+'matsue' => array(),
+'misato' => array(),
+'nishinoshima' => array(),
+'ohda' => array(),
+'okinoshima' => array(),
+'okuizumo' => array(),
+'shimane' => array(),
+'tamayu' => array(),
+'tsuwano' => array(),
+'unnan' => array(),
+'yakumo' => array(),
+'yasugi' => array(),
+'yatsuka' => array()),
+'shizuoka' => array('arai' => array(),
+'atami' => array(),
+'fuji' => array(),
+'fujieda' => array(),
+'fujikawa' => array(),
+'fujinomiya' => array(),
+'fukuroi' => array(),
+'gotemba' => array(),
+'haibara' => array(),
+'hamamatsu' => array(),
+'higashiizu' => array(),
+'ito' => array(),
+'iwata' => array(),
+'izu' => array(),
+'izunokuni' => array(),
+'kakegawa' => array(),
+'kannami' => array(),
+'kawanehon' => array(),
+'kawazu' => array(),
+'kikugawa' => array(),
+'kosai' => array(),
+'makinohara' => array(),
+'matsuzaki' => array(),
+'minamiizu' => array(),
+'mishima' => array(),
+'morimachi' => array(),
+'nishiizu' => array(),
+'numazu' => array(),
+'omaezaki' => array(),
+'shimada' => array(),
+'shimizu' => array(),
+'shimoda' => array(),
+'shizuoka' => array(),
+'susono' => array(),
+'yaizu' => array(),
+'yoshida' => array()),
+'tochigi' => array('ashikaga' => array(),
+'bato' => array(),
+'haga' => array(),
+'ichikai' => array(),
+'iwafune' => array(),
+'kaminokawa' => array(),
+'kanuma' => array(),
+'karasuyama' => array(),
+'kuroiso' => array(),
+'mashiko' => array(),
+'mibu' => array(),
+'moka' => array(),
+'motegi' => array(),
+'nasu' => array(),
+'nasushiobara' => array(),
+'nikko' => array(),
+'nishikata' => array(),
+'nogi' => array(),
+'ohira' => array(),
+'ohtawara' => array(),
+'oyama' => array(),
+'sakura' => array(),
+'sano' => array(),
+'shimotsuke' => array(),
+'shioya' => array(),
+'takanezawa' => array(),
+'tochigi' => array(),
+'tsuga' => array(),
+'ujiie' => array(),
+'utsunomiya' => array(),
+'yaita' => array()),
+'tokushima' => array('aizumi' => array(),
+'anan' => array(),
+'ichiba' => array(),
+'itano' => array(),
+'kainan' => array(),
+'komatsushima' => array(),
+'matsushige' => array(),
+'mima' => array(),
+'minami' => array(),
+'miyoshi' => array(),
+'mugi' => array(),
+'nakagawa' => array(),
+'naruto' => array(),
+'sanagochi' => array(),
+'shishikui' => array(),
+'tokushima' => array(),
+'wajiki' => array()),
+'tokyo' => array('adachi' => array(),
+'akiruno' => array(),
+'akishima' => array(),
+'aogashima' => array(),
+'arakawa' => array(),
+'bunkyo' => array(),
+'chiyoda' => array(),
+'chofu' => array(),
+'chuo' => array(),
+'edogawa' => array(),
+'fuchu' => array(),
+'fussa' => array(),
+'hachijo' => array(),
+'hachioji' => array(),
+'hamura' => array(),
+'higashikurume' => array(),
+'higashimurayama' => array(),
+'higashiyamato' => array(),
+'hino' => array(),
+'hinode' => array(),
+'hinohara' => array(),
+'inagi' => array(),
+'itabashi' => array(),
+'katsushika' => array(),
+'kita' => array(),
+'kiyose' => array(),
+'kodaira' => array(),
+'koganei' => array(),
+'kokubunji' => array(),
+'komae' => array(),
+'koto' => array(),
+'kouzushima' => array(),
+'kunitachi' => array(),
+'machida' => array(),
+'meguro' => array(),
+'minato' => array(),
+'mitaka' => array(),
+'mizuho' => array(),
+'musashimurayama' => array(),
+'musashino' => array(),
+'nakano' => array(),
+'nerima' => array(),
+'ogasawara' => array(),
+'okutama' => array(),
+'ome' => array(),
+'oshima' => array(),
+'ota' => array(),
+'setagaya' => array(),
+'shibuya' => array(),
+'shinagawa' => array(),
+'shinjuku' => array(),
+'suginami' => array(),
+'sumida' => array(),
+'tachikawa' => array(),
+'taito' => array(),
+'tama' => array(),
+'toshima' => array()),
+'tottori' => array('chizu' => array(),
+'hino' => array(),
+'kawahara' => array(),
+'koge' => array(),
+'kotoura' => array(),
+'misasa' => array(),
+'nanbu' => array(),
+'nichinan' => array(),
+'sakaiminato' => array(),
+'tottori' => array(),
+'wakasa' => array(),
+'yazu' => array(),
+'yonago' => array()),
+'toyama' => array('asahi' => array(),
+'fuchu' => array(),
+'fukumitsu' => array(),
+'funahashi' => array(),
+'himi' => array(),
+'imizu' => array(),
+'inami' => array(),
+'johana' => array(),
+'kamiichi' => array(),
+'kurobe' => array(),
+'nakaniikawa' => array(),
+'namerikawa' => array(),
+'nanto' => array(),
+'nyuzen' => array(),
+'oyabe' => array(),
+'taira' => array(),
+'takaoka' => array(),
+'tateyama' => array(),
+'toga' => array(),
+'tonami' => array(),
+'toyama' => array(),
+'unazuki' => array(),
+'uozu' => array(),
+'yamada' => array()),
+'wakayama' => array('arida' => array(),
+'aridagawa' => array(),
+'gobo' => array(),
+'hashimoto' => array(),
+'hidaka' => array(),
+'hirogawa' => array(),
+'inami' => array(),
+'iwade' => array(),
+'kainan' => array(),
+'kamitonda' => array(),
+'katsuragi' => array(),
+'kimino' => array(),
+'kinokawa' => array(),
+'kitayama' => array(),
+'koya' => array(),
+'koza' => array(),
+'kozagawa' => array(),
+'kudoyama' => array(),
+'kushimoto' => array(),
+'mihama' => array(),
+'misato' => array(),
+'nachikatsuura' => array(),
+'shingu' => array(),
+'shirahama' => array(),
+'taiji' => array(),
+'tanabe' => array(),
+'wakayama' => array(),
+'yuasa' => array(),
+'yura' => array()),
+'yamagata' => array('asahi' => array(),
+'funagata' => array(),
+'higashine' => array(),
+'iide' => array(),
+'kahoku' => array(),
+'kaminoyama' => array(),
+'kaneyama' => array(),
+'kawanishi' => array(),
+'mamurogawa' => array(),
+'mikawa' => array(),
+'murayama' => array(),
+'nagai' => array(),
+'nakayama' => array(),
+'nanyo' => array(),
+'nishikawa' => array(),
+'obanazawa' => array(),
+'oe' => array(),
+'oguni' => array(),
+'ohkura' => array(),
+'oishida' => array(),
+'sagae' => array(),
+'sakata' => array(),
+'sakegawa' => array(),
+'shinjo' => array(),
+'shirataka' => array(),
+'shonai' => array(),
+'takahata' => array(),
+'tendo' => array(),
+'tozawa' => array(),
+'tsuruoka' => array(),
+'yamagata' => array(),
+'yamanobe' => array(),
+'yonezawa' => array(),
+'yuza' => array()),
+'yamaguchi' => array('abu' => array(),
+'hagi' => array(),
+'hikari' => array(),
+'hofu' => array(),
+'iwakuni' => array(),
+'kudamatsu' => array(),
+'mitou' => array(),
+'nagato' => array(),
+'oshima' => array(),
+'shimonoseki' => array(),
+'shunan' => array(),
+'tabuse' => array(),
+'tokuyama' => array(),
+'toyota' => array(),
+'ube' => array(),
+'yuu' => array()),
+'yamanashi' => array('chuo' => array(),
+'doshi' => array(),
+'fuefuki' => array(),
+'fujikawa' => array(),
+'fujikawaguchiko' => array(),
+'fujiyoshida' => array(),
+'hayakawa' => array(),
+'hokuto' => array(),
+'ichikawamisato' => array(),
+'kai' => array(),
+'kofu' => array(),
+'koshu' => array(),
+'kosuge' => array(),
+'minami-alps' => array(),
+'minobu' => array(),
+'nakamichi' => array(),
+'nanbu' => array(),
+'narusawa' => array(),
+'nirasaki' => array(),
+'nishikatsura' => array(),
+'oshino' => array(),
+'otsuki' => array(),
+'showa' => array(),
+'tabayama' => array(),
+'tsuru' => array(),
+'uenohara' => array(),
+'yamanakako' => array(),
+'yamanashi' => array()),
+'kawasaki' => array('*' => array(),
+'city' => array('!' => '')),
+'kitakyushu' => array('*' => array(),
+'city' => array('!' => '')),
+'kobe' => array('*' => array(),
+'city' => array('!' => '')),
+'nagoya' => array('*' => array(),
+'city' => array('!' => '')),
+'sapporo' => array('*' => array(),
+'city' => array('!' => '')),
+'sendai' => array('*' => array(),
+'city' => array('!' => '')),
+'yokohama' => array('*' => array(),
+'city' => array('!' => '')),
+'blogspot' => array()),
+'ke' => array('*' => array()),
+'kg' => array('org' => array(),
+'net' => array(),
+'com' => array(),
+'edu' => array(),
+'gov' => array(),
+'mil' => array()),
+'kh' => array('*' => array()),
+'ki' => array('edu' => array(),
+'biz' => array(),
+'net' => array(),
+'org' => array(),
+'gov' => array(),
+'info' => array(),
+'com' => array()),
+'km' => array('org' => array(),
+'nom' => array(),
+'gov' => array(),
+'prd' => array(),
+'tm' => array(),
+'edu' => array(),
+'mil' => array(),
+'ass' => array(),
+'com' => array(),
+'coop' => array(),
+'asso' => array(),
+'presse' => array(),
+'medecin' => array(),
+'notaires' => array(),
+'pharmaciens' => array(),
+'veterinaire' => array(),
+'gouv' => array()),
+'kn' => array('net' => array(),
+'org' => array(),
+'edu' => array(),
+'gov' => array()),
+'kp' => array('com' => array(),
+'edu' => array(),
+'gov' => array(),
+'org' => array(),
+'rep' => array(),
+'tra' => array()),
+'kr' => array('ac' => array(),
+'co' => array(),
+'es' => array(),
+'go' => array(),
+'hs' => array(),
+'kg' => array(),
+'mil' => array(),
+'ms' => array(),
+'ne' => array(),
+'or' => array(),
+'pe' => array(),
+'re' => array(),
+'sc' => array(),
+'busan' => array(),
+'chungbuk' => array(),
+'chungnam' => array(),
+'daegu' => array(),
+'daejeon' => array(),
+'gangwon' => array(),
+'gwangju' => array(),
+'gyeongbuk' => array(),
+'gyeonggi' => array(),
+'gyeongnam' => array(),
+'incheon' => array(),
+'jeju' => array(),
+'jeonbuk' => array(),
+'jeonnam' => array(),
+'seoul' => array(),
+'ulsan' => array(),
+'blogspot' => array()),
+'kw' => array('*' => array()),
+'ky' => array('edu' => array(),
+'gov' => array(),
+'com' => array(),
+'org' => array(),
+'net' => array()),
+'kz' => array('org' => array(),
+'edu' => array(),
+'net' => array(),
+'gov' => array(),
+'mil' => array(),
+'com' => array()),
+'la' => array('int' => array(),
+'net' => array(),
+'info' => array(),
+'edu' => array(),
+'gov' => array(),
+'per' => array(),
+'com' => array(),
+'org' => array(),
+'c' => array()),
+'lb' => array('com' => array(),
+'edu' => array(),
+'gov' => array(),
+'net' => array(),
+'org' => array()),
+'lc' => array('com' => array(),
+'net' => array(),
+'co' => array(),
+'org' => array(),
+'edu' => array(),
+'gov' => array()),
+'li' => array(),
+'lk' => array('gov' => array(),
+'sch' => array(),
+'net' => array(),
+'int' => array(),
+'com' => array(),
+'org' => array(),
+'edu' => array(),
+'ngo' => array(),
+'soc' => array(),
+'web' => array(),
+'ltd' => array(),
+'assn' => array(),
+'grp' => array(),
+'hotel' => array()),
+'lr' => array('com' => array(),
+'edu' => array(),
+'gov' => array(),
+'org' => array(),
+'net' => array()),
+'ls' => array('co' => array(),
+'org' => array()),
+'lt' => array('gov' => array()),
+'lu' => array(),
+'lv' => array('com' => array(),
+'edu' => array(),
+'gov' => array(),
+'org' => array(),
+'mil' => array(),
+'id' => array(),
+'net' => array(),
+'asn' => array(),
+'conf' => array()),
+'ly' => array('com' => array(),
+'net' => array(),
+'gov' => array(),
+'plc' => array(),
+'edu' => array(),
+'sch' => array(),
+'med' => array(),
+'org' => array(),
+'id' => array()),
+'ma' => array('co' => array(),
+'net' => array(),
+'gov' => array(),
+'org' => array(),
+'ac' => array(),
+'press' => array()),
+'mc' => array('tm' => array(),
+'asso' => array()),
+'md' => array(),
+'me' => array('co' => array(),
+'net' => array(),
+'org' => array(),
+'edu' => array(),
+'ac' => array(),
+'gov' => array(),
+'its' => array(),
+'priv' => array()),
+'mg' => array('org' => array(),
+'nom' => array(),
+'gov' => array(),
+'prd' => array(),
+'tm' => array(),
+'edu' => array(),
+'mil' => array(),
+'com' => array()),
+'mh' => array(),
+'mil' => array(),
+'mk' => array('com' => array(),
+'org' => array(),
+'net' => array(),
+'edu' => array(),
+'gov' => array(),
+'inf' => array(),
+'name' => array()),
+'ml' => array('com' => array(),
+'edu' => array(),
+'gouv' => array(),
+'gov' => array(),
+'net' => array(),
+'org' => array(),
+'presse' => array()),
+'mm' => array('*' => array()),
+'mn' => array('gov' => array(),
+'edu' => array(),
+'org' => array(),
+'nyc' => array()),
+'mo' => array('com' => array(),
+'net' => array(),
+'org' => array(),
+'edu' => array(),
+'gov' => array()),
+'mobi' => array(),
+'mp' => array(),
+'mq' => array(),
+'mr' => array('gov' => array(),
+'blogspot' => array()),
+'ms' => array('com' => array(),
+'edu' => array(),
+'gov' => array(),
+'net' => array(),
+'org' => array()),
+'mt' => array('com' => array(),
+'edu' => array(),
+'net' => array(),
+'org' => array()),
+'mu' => array('com' => array(),
+'net' => array(),
+'org' => array(),
+'gov' => array(),
+'ac' => array(),
+'co' => array(),
+'or' => array()),
+'museum' => array('academy' => array(),
+'agriculture' => array(),
+'air' => array(),
+'airguard' => array(),
+'alabama' => array(),
+'alaska' => array(),
+'amber' => array(),
+'ambulance' => array(),
+'american' => array(),
+'americana' => array(),
+'americanantiques' => array(),
+'americanart' => array(),
+'amsterdam' => array(),
+'and' => array(),
+'annefrank' => array(),
+'anthro' => array(),
+'anthropology' => array(),
+'antiques' => array(),
+'aquarium' => array(),
+'arboretum' => array(),
+'archaeological' => array(),
+'archaeology' => array(),
+'architecture' => array(),
+'art' => array(),
+'artanddesign' => array(),
+'artcenter' => array(),
+'artdeco' => array(),
+'arteducation' => array(),
+'artgallery' => array(),
+'arts' => array(),
+'artsandcrafts' => array(),
+'asmatart' => array(),
+'assassination' => array(),
+'assisi' => array(),
+'association' => array(),
+'astronomy' => array(),
+'atlanta' => array(),
+'austin' => array(),
+'australia' => array(),
+'automotive' => array(),
+'aviation' => array(),
+'axis' => array(),
+'badajoz' => array(),
+'baghdad' => array(),
+'bahn' => array(),
+'bale' => array(),
+'baltimore' => array(),
+'barcelona' => array(),
+'baseball' => array(),
+'basel' => array(),
+'baths' => array(),
+'bauern' => array(),
+'beauxarts' => array(),
+'beeldengeluid' => array(),
+'bellevue' => array(),
+'bergbau' => array(),
+'berkeley' => array(),
+'berlin' => array(),
+'bern' => array(),
+'bible' => array(),
+'bilbao' => array(),
+'bill' => array(),
+'birdart' => array(),
+'birthplace' => array(),
+'bonn' => array(),
+'boston' => array(),
+'botanical' => array(),
+'botanicalgarden' => array(),
+'botanicgarden' => array(),
+'botany' => array(),
+'brandywinevalley' => array(),
+'brasil' => array(),
+'bristol' => array(),
+'british' => array(),
+'britishcolumbia' => array(),
+'broadcast' => array(),
+'brunel' => array(),
+'brussel' => array(),
+'brussels' => array(),
+'bruxelles' => array(),
+'building' => array(),
+'burghof' => array(),
+'bus' => array(),
+'bushey' => array(),
+'cadaques' => array(),
+'california' => array(),
+'cambridge' => array(),
+'can' => array(),
+'canada' => array(),
+'capebreton' => array(),
+'carrier' => array(),
+'cartoonart' => array(),
+'casadelamoneda' => array(),
+'castle' => array(),
+'castres' => array(),
+'celtic' => array(),
+'center' => array(),
+'chattanooga' => array(),
+'cheltenham' => array(),
+'chesapeakebay' => array(),
+'chicago' => array(),
+'children' => array(),
+'childrens' => array(),
+'childrensgarden' => array(),
+'chiropractic' => array(),
+'chocolate' => array(),
+'christiansburg' => array(),
+'cincinnati' => array(),
+'cinema' => array(),
+'circus' => array(),
+'civilisation' => array(),
+'civilization' => array(),
+'civilwar' => array(),
+'clinton' => array(),
+'clock' => array(),
+'coal' => array(),
+'coastaldefence' => array(),
+'cody' => array(),
+'coldwar' => array(),
+'collection' => array(),
+'colonialwilliamsburg' => array(),
+'coloradoplateau' => array(),
+'columbia' => array(),
+'columbus' => array(),
+'communication' => array(),
+'communications' => array(),
+'community' => array(),
+'computer' => array(),
+'computerhistory' => array(),
+'comunicações' => array(),
+'contemporary' => array(),
+'contemporaryart' => array(),
+'convent' => array(),
+'copenhagen' => array(),
+'corporation' => array(),
+'correios-e-telecomunicações' => array(),
+'corvette' => array(),
+'costume' => array(),
+'countryestate' => array(),
+'county' => array(),
+'crafts' => array(),
+'cranbrook' => array(),
+'creation' => array(),
+'cultural' => array(),
+'culturalcenter' => array(),
+'culture' => array(),
+'cyber' => array(),
+'cymru' => array(),
+'dali' => array(),
+'dallas' => array(),
+'database' => array(),
+'ddr' => array(),
+'decorativearts' => array(),
+'delaware' => array(),
+'delmenhorst' => array(),
+'denmark' => array(),
+'depot' => array(),
+'design' => array(),
+'detroit' => array(),
+'dinosaur' => array(),
+'discovery' => array(),
+'dolls' => array(),
+'donostia' => array(),
+'durham' => array(),
+'eastafrica' => array(),
+'eastcoast' => array(),
+'education' => array(),
+'educational' => array(),
+'egyptian' => array(),
+'eisenbahn' => array(),
+'elburg' => array(),
+'elvendrell' => array(),
+'embroidery' => array(),
+'encyclopedic' => array(),
+'england' => array(),
+'entomology' => array(),
+'environment' => array(),
+'environmentalconservation' => array(),
+'epilepsy' => array(),
+'essex' => array(),
+'estate' => array(),
+'ethnology' => array(),
+'exeter' => array(),
+'exhibition' => array(),
+'family' => array(),
+'farm' => array(),
+'farmequipment' => array(),
+'farmers' => array(),
+'farmstead' => array(),
+'field' => array(),
+'figueres' => array(),
+'filatelia' => array(),
+'film' => array(),
+'fineart' => array(),
+'finearts' => array(),
+'finland' => array(),
+'flanders' => array(),
+'florida' => array(),
+'force' => array(),
+'fortmissoula' => array(),
+'fortworth' => array(),
+'foundation' => array(),
+'francaise' => array(),
+'frankfurt' => array(),
+'franziskaner' => array(),
+'freemasonry' => array(),
+'freiburg' => array(),
+'fribourg' => array(),
+'frog' => array(),
+'fundacio' => array(),
+'furniture' => array(),
+'gallery' => array(),
+'garden' => array(),
+'gateway' => array(),
+'geelvinck' => array(),
+'gemological' => array(),
+'geology' => array(),
+'georgia' => array(),
+'giessen' => array(),
+'glas' => array(),
+'glass' => array(),
+'gorge' => array(),
+'grandrapids' => array(),
+'graz' => array(),
+'guernsey' => array(),
+'halloffame' => array(),
+'hamburg' => array(),
+'handson' => array(),
+'harvestcelebration' => array(),
+'hawaii' => array(),
+'health' => array(),
+'heimatunduhren' => array(),
+'hellas' => array(),
+'helsinki' => array(),
+'hembygdsforbund' => array(),
+'heritage' => array(),
+'histoire' => array(),
+'historical' => array(),
+'historicalsociety' => array(),
+'historichouses' => array(),
+'historisch' => array(),
+'historisches' => array(),
+'history' => array(),
+'historyofscience' => array(),
+'horology' => array(),
+'house' => array(),
+'humanities' => array(),
+'illustration' => array(),
+'imageandsound' => array(),
+'indian' => array(),
+'indiana' => array(),
+'indianapolis' => array(),
+'indianmarket' => array(),
+'intelligence' => array(),
+'interactive' => array(),
+'iraq' => array(),
+'iron' => array(),
+'isleofman' => array(),
+'jamison' => array(),
+'jefferson' => array(),
+'jerusalem' => array(),
+'jewelry' => array(),
+'jewish' => array(),
+'jewishart' => array(),
+'jfk' => array(),
+'journalism' => array(),
+'judaica' => array(),
+'judygarland' => array(),
+'juedisches' => array(),
+'juif' => array(),
+'karate' => array(),
+'karikatur' => array(),
+'kids' => array(),
+'koebenhavn' => array(),
+'koeln' => array(),
+'kunst' => array(),
+'kunstsammlung' => array(),
+'kunstunddesign' => array(),
+'labor' => array(),
+'labour' => array(),
+'lajolla' => array(),
+'lancashire' => array(),
+'landes' => array(),
+'lans' => array(),
+'läns' => array(),
+'larsson' => array(),
+'lewismiller' => array(),
+'lincoln' => array(),
+'linz' => array(),
+'living' => array(),
+'livinghistory' => array(),
+'localhistory' => array(),
+'london' => array(),
+'losangeles' => array(),
+'louvre' => array(),
+'loyalist' => array(),
+'lucerne' => array(),
+'luxembourg' => array(),
+'luzern' => array(),
+'mad' => array(),
+'madrid' => array(),
+'mallorca' => array(),
+'manchester' => array(),
+'mansion' => array(),
+'mansions' => array(),
+'manx' => array(),
+'marburg' => array(),
+'maritime' => array(),
+'maritimo' => array(),
+'maryland' => array(),
+'marylhurst' => array(),
+'media' => array(),
+'medical' => array(),
+'medizinhistorisches' => array(),
+'meeres' => array(),
+'memorial' => array(),
+'mesaverde' => array(),
+'michigan' => array(),
+'midatlantic' => array(),
+'military' => array(),
+'mill' => array(),
+'miners' => array(),
+'mining' => array(),
+'minnesota' => array(),
+'missile' => array(),
+'missoula' => array(),
+'modern' => array(),
+'moma' => array(),
+'money' => array(),
+'monmouth' => array(),
+'monticello' => array(),
+'montreal' => array(),
+'moscow' => array(),
+'motorcycle' => array(),
+'muenchen' => array(),
+'muenster' => array(),
+'mulhouse' => array(),
+'muncie' => array(),
+'museet' => array(),
+'museumcenter' => array(),
+'museumvereniging' => array(),
+'music' => array(),
+'national' => array(),
+'nationalfirearms' => array(),
+'nationalheritage' => array(),
+'nativeamerican' => array(),
+'naturalhistory' => array(),
+'naturalhistorymuseum' => array(),
+'naturalsciences' => array(),
+'nature' => array(),
+'naturhistorisches' => array(),
+'natuurwetenschappen' => array(),
+'naumburg' => array(),
+'naval' => array(),
+'nebraska' => array(),
+'neues' => array(),
+'newhampshire' => array(),
+'newjersey' => array(),
+'newmexico' => array(),
+'newport' => array(),
+'newspaper' => array(),
+'newyork' => array(),
+'niepce' => array(),
+'norfolk' => array(),
+'north' => array(),
+'nrw' => array(),
+'nuernberg' => array(),
+'nuremberg' => array(),
+'nyc' => array(),
+'nyny' => array(),
+'oceanographic' => array(),
+'oceanographique' => array(),
+'omaha' => array(),
+'online' => array(),
+'ontario' => array(),
+'openair' => array(),
+'oregon' => array(),
+'oregontrail' => array(),
+'otago' => array(),
+'oxford' => array(),
+'pacific' => array(),
+'paderborn' => array(),
+'palace' => array(),
+'paleo' => array(),
+'palmsprings' => array(),
+'panama' => array(),
+'paris' => array(),
+'pasadena' => array(),
+'pharmacy' => array(),
+'philadelphia' => array(),
+'philadelphiaarea' => array(),
+'philately' => array(),
+'phoenix' => array(),
+'photography' => array(),
+'pilots' => array(),
+'pittsburgh' => array(),
+'planetarium' => array(),
+'plantation' => array(),
+'plants' => array(),
+'plaza' => array(),
+'portal' => array(),
+'portland' => array(),
+'portlligat' => array(),
+'posts-and-telecommunications' => array(),
+'preservation' => array(),
+'presidio' => array(),
+'press' => array(),
+'project' => array(),
+'public' => array(),
+'pubol' => array(),
+'quebec' => array(),
+'railroad' => array(),
+'railway' => array(),
+'research' => array(),
+'resistance' => array(),
+'riodejaneiro' => array(),
+'rochester' => array(),
+'rockart' => array(),
+'roma' => array(),
+'russia' => array(),
+'saintlouis' => array(),
+'salem' => array(),
+'salvadordali' => array(),
+'salzburg' => array(),
+'sandiego' => array(),
+'sanfrancisco' => array(),
+'santabarbara' => array(),
+'santacruz' => array(),
+'santafe' => array(),
+'saskatchewan' => array(),
+'satx' => array(),
+'savannahga' => array(),
+'schlesisches' => array(),
+'schoenbrunn' => array(),
+'schokoladen' => array(),
+'school' => array(),
+'schweiz' => array(),
+'science' => array(),
+'scienceandhistory' => array(),
+'scienceandindustry' => array(),
+'sciencecenter' => array(),
+'sciencecenters' => array(),
+'science-fiction' => array(),
+'sciencehistory' => array(),
+'sciences' => array(),
+'sciencesnaturelles' => array(),
+'scotland' => array(),
+'seaport' => array(),
+'settlement' => array(),
+'settlers' => array(),
+'shell' => array(),
+'sherbrooke' => array(),
+'sibenik' => array(),
+'silk' => array(),
+'ski' => array(),
+'skole' => array(),
+'society' => array(),
+'sologne' => array(),
+'soundandvision' => array(),
+'southcarolina' => array(),
+'southwest' => array(),
+'space' => array(),
+'spy' => array(),
+'square' => array(),
+'stadt' => array(),
+'stalbans' => array(),
+'starnberg' => array(),
+'state' => array(),
+'stateofdelaware' => array(),
+'station' => array(),
+'steam' => array(),
+'steiermark' => array(),
+'stjohn' => array(),
+'stockholm' => array(),
+'stpetersburg' => array(),
+'stuttgart' => array(),
+'suisse' => array(),
+'surgeonshall' => array(),
+'surrey' => array(),
+'svizzera' => array(),
+'sweden' => array(),
+'sydney' => array(),
+'tank' => array(),
+'tcm' => array(),
+'technology' => array(),
+'telekommunikation' => array(),
+'television' => array(),
+'texas' => array(),
+'textile' => array(),
+'theater' => array(),
+'time' => array(),
+'timekeeping' => array(),
+'topology' => array(),
+'torino' => array(),
+'touch' => array(),
+'town' => array(),
+'transport' => array(),
+'tree' => array(),
+'trolley' => array(),
+'trust' => array(),
+'trustee' => array(),
+'uhren' => array(),
+'ulm' => array(),
+'undersea' => array(),
+'university' => array(),
+'usa' => array(),
+'usantiques' => array(),
+'usarts' => array(),
+'uscountryestate' => array(),
+'usculture' => array(),
+'usdecorativearts' => array(),
+'usgarden' => array(),
+'ushistory' => array(),
+'ushuaia' => array(),
+'uslivinghistory' => array(),
+'utah' => array(),
+'uvic' => array(),
+'valley' => array(),
+'vantaa' => array(),
+'versailles' => array(),
+'viking' => array(),
+'village' => array(),
+'virginia' => array(),
+'virtual' => array(),
+'virtuel' => array(),
+'vlaanderen' => array(),
+'volkenkunde' => array(),
+'wales' => array(),
+'wallonie' => array(),
+'war' => array(),
+'washingtondc' => array(),
+'watchandclock' => array(),
+'watch-and-clock' => array(),
+'western' => array(),
+'westfalen' => array(),
+'whaling' => array(),
+'wildlife' => array(),
+'williamsburg' => array(),
+'windmill' => array(),
+'workshop' => array(),
+'york' => array(),
+'yorkshire' => array(),
+'yosemite' => array(),
+'youth' => array(),
+'zoological' => array(),
+'zoology' => array(),
+'ירושלים' => array(),
+'иком' => array()),
+'mv' => array('aero' => array(),
+'biz' => array(),
+'com' => array(),
+'coop' => array(),
+'edu' => array(),
+'gov' => array(),
+'info' => array(),
+'int' => array(),
+'mil' => array(),
+'museum' => array(),
+'name' => array(),
+'net' => array(),
+'org' => array(),
+'pro' => array()),
+'mw' => array('ac' => array(),
+'biz' => array(),
+'co' => array(),
+'com' => array(),
+'coop' => array(),
+'edu' => array(),
+'gov' => array(),
+'int' => array(),
+'museum' => array(),
+'net' => array(),
+'org' => array()),
+'mx' => array('com' => array(),
+'org' => array(),
+'gob' => array(),
+'edu' => array(),
+'net' => array(),
+'blogspot' => array()),
+'my' => array('com' => array(),
+'net' => array(),
+'org' => array(),
+'gov' => array(),
+'edu' => array(),
+'mil' => array(),
+'name' => array()),
+'mz' => array('*' => array(),
+'teledata' => array('!' => '')),
+'na' => array('info' => array(),
+'pro' => array(),
+'name' => array(),
+'school' => array(),
+'or' => array(),
+'dr' => array(),
+'us' => array(),
+'mx' => array(),
+'ca' => array(),
+'in' => array(),
+'cc' => array(),
+'tv' => array(),
+'ws' => array(),
+'mobi' => array(),
+'co' => array(),
+'com' => array(),
+'org' => array()),
+'name' => array('her' => array('forgot' => array()),
+'his' => array('forgot' => array())),
+'nc' => array('asso' => array()),
+'ne' => array(),
+'net' => array('cloudfront' => array(),
+'gb' => array(),
+'hu' => array(),
+'jp' => array(),
+'se' => array(),
+'uk' => array(),
+'in' => array(),
+'at-band-camp' => array(),
+'blogdns' => array(),
+'broke-it' => array(),
+'buyshouses' => array(),
+'dnsalias' => array(),
+'dnsdojo' => array(),
+'does-it' => array(),
+'dontexist' => array(),
+'dynalias' => array(),
+'dynathome' => array(),
+'endofinternet' => array(),
+'from-az' => array(),
+'from-co' => array(),
+'from-la' => array(),
+'from-ny' => array(),
+'gets-it' => array(),
+'ham-radio-op' => array(),
+'homeftp' => array(),
+'homeip' => array(),
+'homelinux' => array(),
+'homeunix' => array(),
+'in-the-band' => array(),
+'is-a-chef' => array(),
+'is-a-geek' => array(),
+'isa-geek' => array(),
+'kicks-ass' => array(),
+'office-on-the' => array(),
+'podzone' => array(),
+'scrapper-site' => array(),
+'selfip' => array(),
+'sells-it' => array(),
+'servebbs' => array(),
+'serveftp' => array(),
+'thruhere' => array(),
+'webhop' => array(),
+'fastly' => array('ssl' => array('a' => array(),
+'b' => array(),
+'global' => array()),
+'prod' => array('a' => array(),
+'global' => array())),
+'azurewebsites' => array(),
+'azure-mobile' => array(),
+'cloudapp' => array(),
+'za' => array()),
+'nf' => array('com' => array(),
+'net' => array(),
+'per' => array(),
+'rec' => array(),
+'web' => array(),
+'arts' => array(),
+'firm' => array(),
+'info' => array(),
+'other' => array(),
+'store' => array()),
+'ng' => array('com' => array(),
+'edu' => array(),
+'name' => array(),
+'net' => array(),
+'org' => array(),
+'sch' => array(),
+'gov' => array(),
+'mil' => array(),
+'mobi' => array()),
+'ni' => array('*' => array()),
+'nl' => array('bv' => array(),
+'co' => array(),
+'blogspot' => array()),
+'no' => array('fhs' => array(),
+'vgs' => array(),
+'fylkesbibl' => array(),
+'folkebibl' => array(),
+'museum' => array(),
+'idrett' => array(),
+'priv' => array(),
+'mil' => array(),
+'stat' => array(),
+'dep' => array(),
+'kommune' => array(),
+'herad' => array(),
+'aa' => array('gs' => array()),
+'ah' => array('gs' => array()),
+'bu' => array('gs' => array()),
+'fm' => array('gs' => array()),
+'hl' => array('gs' => array()),
+'hm' => array('gs' => array()),
+'jan-mayen' => array('gs' => array()),
+'mr' => array('gs' => array()),
+'nl' => array('gs' => array()),
+'nt' => array('gs' => array()),
+'of' => array('gs' => array()),
+'ol' => array('gs' => array()),
+'oslo' => array('gs' => array()),
+'rl' => array('gs' => array()),
+'sf' => array('gs' => array()),
+'st' => array('gs' => array()),
+'svalbard' => array('gs' => array()),
+'tm' => array('gs' => array()),
+'tr' => array('gs' => array()),
+'va' => array('gs' => array()),
+'vf' => array('gs' => array()),
+'akrehamn' => array(),
+'åkrehamn' => array(),
+'algard' => array(),
+'ålgård' => array(),
+'arna' => array(),
+'brumunddal' => array(),
+'bryne' => array(),
+'bronnoysund' => array(),
+'brønnøysund' => array(),
+'drobak' => array(),
+'drøbak' => array(),
+'egersund' => array(),
+'fetsund' => array(),
+'floro' => array(),
+'florø' => array(),
+'fredrikstad' => array(),
+'hokksund' => array(),
+'honefoss' => array(),
+'hønefoss' => array(),
+'jessheim' => array(),
+'jorpeland' => array(),
+'jørpeland' => array(),
+'kirkenes' => array(),
+'kopervik' => array(),
+'krokstadelva' => array(),
+'langevag' => array(),
+'langevåg' => array(),
+'leirvik' => array(),
+'mjondalen' => array(),
+'mjøndalen' => array(),
+'mo-i-rana' => array(),
+'mosjoen' => array(),
+'mosjøen' => array(),
+'nesoddtangen' => array(),
+'orkanger' => array(),
+'osoyro' => array(),
+'osøyro' => array(),
+'raholt' => array(),
+'råholt' => array(),
+'sandnessjoen' => array(),
+'sandnessjøen' => array(),
+'skedsmokorset' => array(),
+'slattum' => array(),
+'spjelkavik' => array(),
+'stathelle' => array(),
+'stavern' => array(),
+'stjordalshalsen' => array(),
+'stjørdalshalsen' => array(),
+'tananger' => array(),
+'tranby' => array(),
+'vossevangen' => array(),
+'afjord' => array(),
+'åfjord' => array(),
+'agdenes' => array(),
+'al' => array(),
+'ål' => array(),
+'alesund' => array(),
+'ålesund' => array(),
+'alstahaug' => array(),
+'alta' => array(),
+'áltá' => array(),
+'alaheadju' => array(),
+'álaheadju' => array(),
+'alvdal' => array(),
+'amli' => array(),
+'åmli' => array(),
+'amot' => array(),
+'åmot' => array(),
+'andebu' => array(),
+'andoy' => array(),
+'andøy' => array(),
+'andasuolo' => array(),
+'ardal' => array(),
+'årdal' => array(),
+'aremark' => array(),
+'arendal' => array(),
+'ås' => array(),
+'aseral' => array(),
+'åseral' => array(),
+'asker' => array(),
+'askim' => array(),
+'askvoll' => array(),
+'askoy' => array(),
+'askøy' => array(),
+'asnes' => array(),
+'åsnes' => array(),
+'audnedaln' => array(),
+'aukra' => array(),
+'aure' => array(),
+'aurland' => array(),
+'aurskog-holand' => array(),
+'aurskog-høland' => array(),
+'austevoll' => array(),
+'austrheim' => array(),
+'averoy' => array(),
+'averøy' => array(),
+'balestrand' => array(),
+'ballangen' => array(),
+'balat' => array(),
+'bálát' => array(),
+'balsfjord' => array(),
+'bahccavuotna' => array(),
+'báhccavuotna' => array(),
+'bamble' => array(),
+'bardu' => array(),
+'beardu' => array(),
+'beiarn' => array(),
+'bajddar' => array(),
+'bájddar' => array(),
+'baidar' => array(),
+'báidár' => array(),
+'berg' => array(),
+'bergen' => array(),
+'berlevag' => array(),
+'berlevåg' => array(),
+'bearalvahki' => array(),
+'bearalváhki' => array(),
+'bindal' => array(),
+'birkenes' => array(),
+'bjarkoy' => array(),
+'bjarkøy' => array(),
+'bjerkreim' => array(),
+'bjugn' => array(),
+'bodo' => array(),
+'bodø' => array(),
+'badaddja' => array(),
+'bådåddjå' => array(),
+'budejju' => array(),
+'bokn' => array(),
+'bremanger' => array(),
+'bronnoy' => array(),
+'brønnøy' => array(),
+'bygland' => array(),
+'bykle' => array(),
+'barum' => array(),
+'bærum' => array(),
+'telemark' => array('bo' => array(),
+'bø' => array()),
+'nordland' => array('bo' => array(),
+'bø' => array(),
+'heroy' => array(),
+'herøy' => array()),
+'bievat' => array(),
+'bievát' => array(),
+'bomlo' => array(),
+'bømlo' => array(),
+'batsfjord' => array(),
+'båtsfjord' => array(),
+'bahcavuotna' => array(),
+'báhcavuotna' => array(),
+'dovre' => array(),
+'drammen' => array(),
+'drangedal' => array(),
+'dyroy' => array(),
+'dyrøy' => array(),
+'donna' => array(),
+'dønna' => array(),
+'eid' => array(),
+'eidfjord' => array(),
+'eidsberg' => array(),
+'eidskog' => array(),
+'eidsvoll' => array(),
+'eigersund' => array(),
+'elverum' => array(),
+'enebakk' => array(),
+'engerdal' => array(),
+'etne' => array(),
+'etnedal' => array(),
+'evenes' => array(),
+'evenassi' => array(),
+'evenášši' => array(),
+'evje-og-hornnes' => array(),
+'farsund' => array(),
+'fauske' => array(),
+'fuossko' => array(),
+'fuoisku' => array(),
+'fedje' => array(),
+'fet' => array(),
+'finnoy' => array(),
+'finnøy' => array(),
+'fitjar' => array(),
+'fjaler' => array(),
+'fjell' => array(),
+'flakstad' => array(),
+'flatanger' => array(),
+'flekkefjord' => array(),
+'flesberg' => array(),
+'flora' => array(),
+'fla' => array(),
+'flå' => array(),
+'folldal' => array(),
+'forsand' => array(),
+'fosnes' => array(),
+'frei' => array(),
+'frogn' => array(),
+'froland' => array(),
+'frosta' => array(),
+'frana' => array(),
+'fræna' => array(),
+'froya' => array(),
+'frøya' => array(),
+'fusa' => array(),
+'fyresdal' => array(),
+'forde' => array(),
+'førde' => array(),
+'gamvik' => array(),
+'gangaviika' => array(),
+'gáŋgaviika' => array(),
+'gaular' => array(),
+'gausdal' => array(),
+'gildeskal' => array(),
+'gildeskål' => array(),
+'giske' => array(),
+'gjemnes' => array(),
+'gjerdrum' => array(),
+'gjerstad' => array(),
+'gjesdal' => array(),
+'gjovik' => array(),
+'gjøvik' => array(),
+'gloppen' => array(),
+'gol' => array(),
+'gran' => array(),
+'grane' => array(),
+'granvin' => array(),
+'gratangen' => array(),
+'grimstad' => array(),
+'grong' => array(),
+'kraanghke' => array(),
+'kråanghke' => array(),
+'grue' => array(),
+'gulen' => array(),
+'hadsel' => array(),
+'halden' => array(),
+'halsa' => array(),
+'hamar' => array(),
+'hamaroy' => array(),
+'habmer' => array(),
+'hábmer' => array(),
+'hapmir' => array(),
+'hápmir' => array(),
+'hammerfest' => array(),
+'hammarfeasta' => array(),
+'hámmárfeasta' => array(),
+'haram' => array(),
+'hareid' => array(),
+'harstad' => array(),
+'hasvik' => array(),
+'aknoluokta' => array(),
+'ákŋoluokta' => array(),
+'hattfjelldal' => array(),
+'aarborte' => array(),
+'haugesund' => array(),
+'hemne' => array(),
+'hemnes' => array(),
+'hemsedal' => array(),
+'more-og-romsdal' => array('heroy' => array(),
+'sande' => array()),
+'møre-og-romsdal' => array('herøy' => array(),
+'sande' => array()),
+'hitra' => array(),
+'hjartdal' => array(),
+'hjelmeland' => array(),
+'hobol' => array(),
+'hobøl' => array(),
+'hof' => array(),
+'hol' => array(),
+'hole' => array(),
+'holmestrand' => array(),
+'holtalen' => array(),
+'holtålen' => array(),
+'hornindal' => array(),
+'horten' => array(),
+'hurdal' => array(),
+'hurum' => array(),
+'hvaler' => array(),
+'hyllestad' => array(),
+'hagebostad' => array(),
+'hægebostad' => array(),
+'hoyanger' => array(),
+'høyanger' => array(),
+'hoylandet' => array(),
+'høylandet' => array(),
+'ha' => array(),
+'hå' => array(),
+'ibestad' => array(),
+'inderoy' => array(),
+'inderøy' => array(),
+'iveland' => array(),
+'jevnaker' => array(),
+'jondal' => array(),
+'jolster' => array(),
+'jølster' => array(),
+'karasjok' => array(),
+'karasjohka' => array(),
+'kárášjohka' => array(),
+'karlsoy' => array(),
+'galsa' => array(),
+'gálsá' => array(),
+'karmoy' => array(),
+'karmøy' => array(),
+'kautokeino' => array(),
+'guovdageaidnu' => array(),
+'klepp' => array(),
+'klabu' => array(),
+'klæbu' => array(),
+'kongsberg' => array(),
+'kongsvinger' => array(),
+'kragero' => array(),
+'kragerø' => array(),
+'kristiansand' => array(),
+'kristiansund' => array(),
+'krodsherad' => array(),
+'krødsherad' => array(),
+'kvalsund' => array(),
+'rahkkeravju' => array(),
+'ráhkkerávju' => array(),
+'kvam' => array(),
+'kvinesdal' => array(),
+'kvinnherad' => array(),
+'kviteseid' => array(),
+'kvitsoy' => array(),
+'kvitsøy' => array(),
+'kvafjord' => array(),
+'kvæfjord' => array(),
+'giehtavuoatna' => array(),
+'kvanangen' => array(),
+'kvænangen' => array(),
+'navuotna' => array(),
+'návuotna' => array(),
+'kafjord' => array(),
+'kåfjord' => array(),
+'gaivuotna' => array(),
+'gáivuotna' => array(),
+'larvik' => array(),
+'lavangen' => array(),
+'lavagis' => array(),
+'loabat' => array(),
+'loabát' => array(),
+'lebesby' => array(),
+'davvesiida' => array(),
+'leikanger' => array(),
+'leirfjord' => array(),
+'leka' => array(),
+'leksvik' => array(),
+'lenvik' => array(),
+'leangaviika' => array(),
+'leaŋgaviika' => array(),
+'lesja' => array(),
+'levanger' => array(),
+'lier' => array(),
+'lierne' => array(),
+'lillehammer' => array(),
+'lillesand' => array(),
+'lindesnes' => array(),
+'lindas' => array(),
+'lindås' => array(),
+'lom' => array(),
+'loppa' => array(),
+'lahppi' => array(),
+'láhppi' => array(),
+'lund' => array(),
+'lunner' => array(),
+'luroy' => array(),
+'lurøy' => array(),
+'luster' => array(),
+'lyngdal' => array(),
+'lyngen' => array(),
+'ivgu' => array(),
+'lardal' => array(),
+'lerdal' => array(),
+'lærdal' => array(),
+'lodingen' => array(),
+'lødingen' => array(),
+'lorenskog' => array(),
+'lørenskog' => array(),
+'loten' => array(),
+'løten' => array(),
+'malvik' => array(),
+'masoy' => array(),
+'måsøy' => array(),
+'muosat' => array(),
+'muosát' => array(),
+'mandal' => array(),
+'marker' => array(),
+'marnardal' => array(),
+'masfjorden' => array(),
+'meland' => array(),
+'meldal' => array(),
+'melhus' => array(),
+'meloy' => array(),
+'meløy' => array(),
+'meraker' => array(),
+'meråker' => array(),
+'moareke' => array(),
+'moåreke' => array(),
+'midsund' => array(),
+'midtre-gauldal' => array(),
+'modalen' => array(),
+'modum' => array(),
+'molde' => array(),
+'moskenes' => array(),
+'moss' => array(),
+'mosvik' => array(),
+'malselv' => array(),
+'målselv' => array(),
+'malatvuopmi' => array(),
+'málatvuopmi' => array(),
+'namdalseid' => array(),
+'aejrie' => array(),
+'namsos' => array(),
+'namsskogan' => array(),
+'naamesjevuemie' => array(),
+'nååmesjevuemie' => array(),
+'laakesvuemie' => array(),
+'nannestad' => array(),
+'narvik' => array(),
+'narviika' => array(),
+'naustdal' => array(),
+'nedre-eiker' => array(),
+'akershus' => array('nes' => array()),
+'buskerud' => array('nes' => array()),
+'nesna' => array(),
+'nesodden' => array(),
+'nesseby' => array(),
+'unjarga' => array(),
+'unjárga' => array(),
+'nesset' => array(),
+'nissedal' => array(),
+'nittedal' => array(),
+'nord-aurdal' => array(),
+'nord-fron' => array(),
+'nord-odal' => array(),
+'norddal' => array(),
+'nordkapp' => array(),
+'davvenjarga' => array(),
+'davvenjárga' => array(),
+'nordre-land' => array(),
+'nordreisa' => array(),
+'raisa' => array(),
+'ráisa' => array(),
+'nore-og-uvdal' => array(),
+'notodden' => array(),
+'naroy' => array(),
+'nærøy' => array(),
+'notteroy' => array(),
+'nøtterøy' => array(),
+'odda' => array(),
+'oksnes' => array(),
+'øksnes' => array(),
+'oppdal' => array(),
+'oppegard' => array(),
+'oppegård' => array(),
+'orkdal' => array(),
+'orland' => array(),
+'ørland' => array(),
+'orskog' => array(),
+'ørskog' => array(),
+'orsta' => array(),
+'ørsta' => array(),
+'hedmark' => array('os' => array(),
+'valer' => array(),
+'våler' => array()),
+'hordaland' => array('os' => array()),
+'osen' => array(),
+'osteroy' => array(),
+'osterøy' => array(),
+'ostre-toten' => array(),
+'østre-toten' => array(),
+'overhalla' => array(),
+'ovre-eiker' => array(),
+'øvre-eiker' => array(),
+'oyer' => array(),
+'øyer' => array(),
+'oygarden' => array(),
+'øygarden' => array(),
+'oystre-slidre' => array(),
+'øystre-slidre' => array(),
+'porsanger' => array(),
+'porsangu' => array(),
+'porsáŋgu' => array(),
+'porsgrunn' => array(),
+'radoy' => array(),
+'radøy' => array(),
+'rakkestad' => array(),
+'rana' => array(),
+'ruovat' => array(),
+'randaberg' => array(),
+'rauma' => array(),
+'rendalen' => array(),
+'rennebu' => array(),
+'rennesoy' => array(),
+'rennesøy' => array(),
+'rindal' => array(),
+'ringebu' => array(),
+'ringerike' => array(),
+'ringsaker' => array(),
+'rissa' => array(),
+'risor' => array(),
+'risør' => array(),
+'roan' => array(),
+'rollag' => array(),
+'rygge' => array(),
+'ralingen' => array(),
+'rælingen' => array(),
+'rodoy' => array(),
+'rødøy' => array(),
+'romskog' => array(),
+'rømskog' => array(),
+'roros' => array(),
+'røros' => array(),
+'rost' => array(),
+'røst' => array(),
+'royken' => array(),
+'røyken' => array(),
+'royrvik' => array(),
+'røyrvik' => array(),
+'rade' => array(),
+'råde' => array(),
+'salangen' => array(),
+'siellak' => array(),
+'saltdal' => array(),
+'salat' => array(),
+'sálát' => array(),
+'sálat' => array(),
+'samnanger' => array(),
+'vestfold' => array('sande' => array()),
+'sandefjord' => array(),
+'sandnes' => array(),
+'sandoy' => array(),
+'sandøy' => array(),
+'sarpsborg' => array(),
+'sauda' => array(),
+'sauherad' => array(),
+'sel' => array(),
+'selbu' => array(),
+'selje' => array(),
+'seljord' => array(),
+'sigdal' => array(),
+'siljan' => array(),
+'sirdal' => array(),
+'skaun' => array(),
+'skedsmo' => array(),
+'ski' => array(),
+'skien' => array(),
+'skiptvet' => array(),
+'skjervoy' => array(),
+'skjervøy' => array(),
+'skierva' => array(),
+'skiervá' => array(),
+'skjak' => array(),
+'skjåk' => array(),
+'skodje' => array(),
+'skanland' => array(),
+'skånland' => array(),
+'skanit' => array(),
+'skánit' => array(),
+'smola' => array(),
+'smøla' => array(),
+'snillfjord' => array(),
+'snasa' => array(),
+'snåsa' => array(),
+'snoasa' => array(),
+'snaase' => array(),
+'snåase' => array(),
+'sogndal' => array(),
+'sokndal' => array(),
+'sola' => array(),
+'solund' => array(),
+'songdalen' => array(),
+'sortland' => array(),
+'spydeberg' => array(),
+'stange' => array(),
+'stavanger' => array(),
+'steigen' => array(),
+'steinkjer' => array(),
+'stjordal' => array(),
+'stjørdal' => array(),
+'stokke' => array(),
+'stor-elvdal' => array(),
+'stord' => array(),
+'stordal' => array(),
+'storfjord' => array(),
+'omasvuotna' => array(),
+'strand' => array(),
+'stranda' => array(),
+'stryn' => array(),
+'sula' => array(),
+'suldal' => array(),
+'sund' => array(),
+'sunndal' => array(),
+'surnadal' => array(),
+'sveio' => array(),
+'svelvik' => array(),
+'sykkylven' => array(),
+'sogne' => array(),
+'søgne' => array(),
+'somna' => array(),
+'sømna' => array(),
+'sondre-land' => array(),
+'søndre-land' => array(),
+'sor-aurdal' => array(),
+'sør-aurdal' => array(),
+'sor-fron' => array(),
+'sør-fron' => array(),
+'sor-odal' => array(),
+'sør-odal' => array(),
+'sor-varanger' => array(),
+'sør-varanger' => array(),
+'matta-varjjat' => array(),
+'mátta-várjjat' => array(),
+'sorfold' => array(),
+'sørfold' => array(),
+'sorreisa' => array(),
+'sørreisa' => array(),
+'sorum' => array(),
+'sørum' => array(),
+'tana' => array(),
+'deatnu' => array(),
+'time' => array(),
+'tingvoll' => array(),
+'tinn' => array(),
+'tjeldsund' => array(),
+'dielddanuorri' => array(),
+'tjome' => array(),
+'tjøme' => array(),
+'tokke' => array(),
+'tolga' => array(),
+'torsken' => array(),
+'tranoy' => array(),
+'tranøy' => array(),
+'tromso' => array(),
+'tromsø' => array(),
+'tromsa' => array(),
+'romsa' => array(),
+'trondheim' => array(),
+'troandin' => array(),
+'trysil' => array(),
+'trana' => array(),
+'træna' => array(),
+'trogstad' => array(),
+'trøgstad' => array(),
+'tvedestrand' => array(),
+'tydal' => array(),
+'tynset' => array(),
+'tysfjord' => array(),
+'divtasvuodna' => array(),
+'divttasvuotna' => array(),
+'tysnes' => array(),
+'tysvar' => array(),
+'tysvær' => array(),
+'tonsberg' => array(),
+'tønsberg' => array(),
+'ullensaker' => array(),
+'ullensvang' => array(),
+'ulvik' => array(),
+'utsira' => array(),
+'vadso' => array(),
+'vadsø' => array(),
+'cahcesuolo' => array(),
+'čáhcesuolo' => array(),
+'vaksdal' => array(),
+'valle' => array(),
+'vang' => array(),
+'vanylven' => array(),
+'vardo' => array(),
+'vardø' => array(),
+'varggat' => array(),
+'várggát' => array(),
+'vefsn' => array(),
+'vaapste' => array(),
+'vega' => array(),
+'vegarshei' => array(),
+'vegårshei' => array(),
+'vennesla' => array(),
+'verdal' => array(),
+'verran' => array(),
+'vestby' => array(),
+'vestnes' => array(),
+'vestre-slidre' => array(),
+'vestre-toten' => array(),
+'vestvagoy' => array(),
+'vestvågøy' => array(),
+'vevelstad' => array(),
+'vik' => array(),
+'vikna' => array(),
+'vindafjord' => array(),
+'volda' => array(),
+'voss' => array(),
+'varoy' => array(),
+'værøy' => array(),
+'vagan' => array(),
+'vågan' => array(),
+'voagat' => array(),
+'vagsoy' => array(),
+'vågsøy' => array(),
+'vaga' => array(),
+'vågå' => array(),
+'ostfold' => array('valer' => array()),
+'østfold' => array('våler' => array()),
+'co' => array(),
+'blogspot' => array()),
+'np' => array('*' => array()),
+'nr' => array('biz' => array(),
+'info' => array(),
+'gov' => array(),
+'edu' => array(),
+'org' => array(),
+'net' => array(),
+'com' => array()),
+'nu' => array('merseine' => array(),
+'mine' => array(),
+'shacknet' => array()),
+'nz' => array('ac' => array(),
+'co' => array('blogspot' => array()),
+'cri' => array(),
+'geek' => array(),
+'gen' => array(),
+'govt' => array(),
+'health' => array(),
+'iwi' => array(),
+'kiwi' => array(),
+'maori' => array(),
+'mil' => array(),
+'māori' => array(),
+'net' => array(),
+'org' => array(),
+'parliament' => array(),
+'school' => array()),
+'om' => array('co' => array(),
+'com' => array(),
+'edu' => array(),
+'gov' => array(),
+'med' => array(),
+'museum' => array(),
+'net' => array(),
+'org' => array(),
+'pro' => array()),
+'org' => array('ae' => array(),
+'us' => array(),
+'dyndns' => array('go' => array(),
+'home' => array()),
+'blogdns' => array(),
+'blogsite' => array(),
+'boldlygoingnowhere' => array(),
+'dnsalias' => array(),
+'dnsdojo' => array(),
+'doesntexist' => array(),
+'dontexist' => array(),
+'doomdns' => array(),
+'dvrdns' => array(),
+'dynalias' => array(),
+'endofinternet' => array(),
+'endoftheinternet' => array(),
+'from-me' => array(),
+'game-host' => array(),
+'gotdns' => array(),
+'hobby-site' => array(),
+'homedns' => array(),
+'homeftp' => array(),
+'homelinux' => array(),
+'homeunix' => array(),
+'is-a-bruinsfan' => array(),
+'is-a-candidate' => array(),
+'is-a-celticsfan' => array(),
+'is-a-chef' => array(),
+'is-a-geek' => array(),
+'is-a-knight' => array(),
+'is-a-linux-user' => array(),
+'is-a-patsfan' => array(),
+'is-a-soxfan' => array(),
+'is-found' => array(),
+'is-lost' => array(),
+'is-saved' => array(),
+'is-very-bad' => array(),
+'is-very-evil' => array(),
+'is-very-good' => array(),
+'is-very-nice' => array(),
+'is-very-sweet' => array(),
+'isa-geek' => array(),
+'kicks-ass' => array(),
+'misconfused' => array(),
+'podzone' => array(),
+'readmyblog' => array(),
+'selfip' => array(),
+'sellsyourhome' => array(),
+'servebbs' => array(),
+'serveftp' => array(),
+'servegame' => array(),
+'stuff-4-sale' => array(),
+'webhop' => array(),
+'za' => array()),
+'pa' => array('ac' => array(),
+'gob' => array(),
+'com' => array(),
+'org' => array(),
+'sld' => array(),
+'edu' => array(),
+'net' => array(),
+'ing' => array(),
+'abo' => array(),
+'med' => array(),
+'nom' => array()),
+'pe' => array('edu' => array(),
+'gob' => array(),
+'nom' => array(),
+'mil' => array(),
+'org' => array(),
+'com' => array(),
+'net' => array()),
+'pf' => array('com' => array(),
+'org' => array(),
+'edu' => array()),
+'pg' => array('*' => array()),
+'ph' => array('com' => array(),
+'net' => array(),
+'org' => array(),
+'gov' => array(),
+'edu' => array(),
+'ngo' => array(),
+'mil' => array(),
+'i' => array()),
+'pk' => array('com' => array(),
+'net' => array(),
+'edu' => array(),
+'org' => array(),
+'fam' => array(),
+'biz' => array(),
+'web' => array(),
+'gov' => array(),
+'gob' => array(),
+'gok' => array(),
+'gon' => array(),
+'gop' => array(),
+'gos' => array(),
+'info' => array()),
+'pl' => array('aid' => array(),
+'agro' => array(),
+'atm' => array(),
+'auto' => array(),
+'biz' => array(),
+'com' => array(),
+'edu' => array(),
+'gmina' => array(),
+'gsm' => array(),
+'info' => array(),
+'mail' => array(),
+'miasta' => array(),
+'media' => array(),
+'mil' => array(),
+'net' => array(),
+'nieruchomosci' => array(),
+'nom' => array(),
+'org' => array(),
+'pc' => array(),
+'powiat' => array(),
+'priv' => array(),
+'realestate' => array(),
+'rel' => array(),
+'sex' => array(),
+'shop' => array(),
+'sklep' => array(),
+'sos' => array(),
+'szkola' => array(),
+'targi' => array(),
+'tm' => array(),
+'tourism' => array(),
+'travel' => array(),
+'turystyka' => array(),
+'6bone' => array(),
+'art' => array(),
+'mbone' => array(),
+'gov' => array('uw' => array(),
+'um' => array(),
+'ug' => array(),
+'upow' => array(),
+'starostwo' => array(),
+'so' => array(),
+'sr' => array(),
+'po' => array(),
+'pa' => array()),
+'ngo' => array(),
+'irc' => array(),
+'usenet' => array(),
+'augustow' => array(),
+'babia-gora' => array(),
+'bedzin' => array(),
+'beskidy' => array(),
+'bialowieza' => array(),
+'bialystok' => array(),
+'bielawa' => array(),
+'bieszczady' => array(),
+'boleslawiec' => array(),
+'bydgoszcz' => array(),
+'bytom' => array(),
+'cieszyn' => array(),
+'czeladz' => array(),
+'czest' => array(),
+'dlugoleka' => array(),
+'elblag' => array(),
+'elk' => array(),
+'glogow' => array(),
+'gniezno' => array(),
+'gorlice' => array(),
+'grajewo' => array(),
+'ilawa' => array(),
+'jaworzno' => array(),
+'jelenia-gora' => array(),
+'jgora' => array(),
+'kalisz' => array(),
+'kazimierz-dolny' => array(),
+'karpacz' => array(),
+'kartuzy' => array(),
+'kaszuby' => array(),
+'katowice' => array(),
+'kepno' => array(),
+'ketrzyn' => array(),
+'klodzko' => array(),
+'kobierzyce' => array(),
+'kolobrzeg' => array(),
+'konin' => array(),
+'konskowola' => array(),
+'kutno' => array(),
+'lapy' => array(),
+'lebork' => array(),
+'legnica' => array(),
+'lezajsk' => array(),
+'limanowa' => array(),
+'lomza' => array(),
+'lowicz' => array(),
+'lubin' => array(),
+'lukow' => array(),
+'malbork' => array(),
+'malopolska' => array(),
+'mazowsze' => array(),
+'mazury' => array(),
+'mielec' => array(),
+'mielno' => array(),
+'mragowo' => array(),
+'naklo' => array(),
+'nowaruda' => array(),
+'nysa' => array(),
+'olawa' => array(),
+'olecko' => array(),
+'olkusz' => array(),
+'olsztyn' => array(),
+'opoczno' => array(),
+'opole' => array(),
+'ostroda' => array(),
+'ostroleka' => array(),
+'ostrowiec' => array(),
+'ostrowwlkp' => array(),
+'pila' => array(),
+'pisz' => array(),
+'podhale' => array(),
+'podlasie' => array(),
+'polkowice' => array(),
+'pomorze' => array(),
+'pomorskie' => array(),
+'prochowice' => array(),
+'pruszkow' => array(),
+'przeworsk' => array(),
+'pulawy' => array(),
+'radom' => array(),
+'rawa-maz' => array(),
+'rybnik' => array(),
+'rzeszow' => array(),
+'sanok' => array(),
+'sejny' => array(),
+'siedlce' => array(),
+'slask' => array(),
+'slupsk' => array(),
+'sosnowiec' => array(),
+'stalowa-wola' => array(),
+'skoczow' => array(),
+'starachowice' => array(),
+'stargard' => array(),
+'suwalki' => array(),
+'swidnica' => array(),
+'swiebodzin' => array(),
+'swinoujscie' => array(),
+'szczecin' => array(),
+'szczytno' => array(),
+'tarnobrzeg' => array(),
+'tgory' => array(),
+'turek' => array(),
+'tychy' => array(),
+'ustka' => array(),
+'walbrzych' => array(),
+'warmia' => array(),
+'warszawa' => array(),
+'waw' => array(),
+'wegrow' => array(),
+'wielun' => array(),
+'wlocl' => array(),
+'wloclawek' => array(),
+'wodzislaw' => array(),
+'wolomin' => array(),
+'wroclaw' => array(),
+'zachpomor' => array(),
+'zagan' => array(),
+'zarow' => array(),
+'zgora' => array(),
+'zgorzelec' => array(),
+'gda' => array(),
+'gdansk' => array(),
+'gdynia' => array(),
+'med' => array(),
+'sopot' => array(),
+'gliwice' => array(),
+'krakow' => array(),
+'poznan' => array(),
+'wroc' => array(),
+'zakopane' => array(),
+'co' => array()),
+'pm' => array(),
+'pn' => array('gov' => array(),
+'co' => array(),
+'org' => array(),
+'edu' => array(),
+'net' => array()),
+'post' => array(),
+'pr' => array('com' => array(),
+'net' => array(),
+'org' => array(),
+'gov' => array(),
+'edu' => array(),
+'isla' => array(),
+'pro' => array(),
+'biz' => array(),
+'info' => array(),
+'name' => array(),
+'est' => array(),
+'prof' => array(),
+'ac' => array()),
+'pro' => array('aca' => array(),
+'bar' => array(),
+'cpa' => array(),
+'jur' => array(),
+'law' => array(),
+'med' => array(),
+'eng' => array()),
+'ps' => array('edu' => array(),
+'gov' => array(),
+'sec' => array(),
+'plo' => array(),
+'com' => array(),
+'org' => array(),
+'net' => array()),
+'pt' => array('net' => array(),
+'gov' => array(),
+'org' => array(),
+'edu' => array(),
+'int' => array(),
+'publ' => array(),
+'com' => array(),
+'nome' => array(),
+'blogspot' => array()),
+'pw' => array('co' => array(),
+'ne' => array(),
+'or' => array(),
+'ed' => array(),
+'go' => array(),
+'belau' => array()),
+'py' => array('com' => array(),
+'coop' => array(),
+'edu' => array(),
+'gov' => array(),
+'mil' => array(),
+'net' => array(),
+'org' => array()),
+'qa' => array('com' => array(),
+'edu' => array(),
+'gov' => array(),
+'mil' => array(),
+'name' => array(),
+'net' => array(),
+'org' => array(),
+'sch' => array()),
+'re' => array('com' => array(),
+'asso' => array(),
+'nom' => array(),
+'blogspot' => array()),
+'ro' => array('com' => array(),
+'org' => array(),
+'tm' => array(),
+'nt' => array(),
+'nom' => array(),
+'info' => array(),
+'rec' => array(),
+'arts' => array(),
+'firm' => array(),
+'store' => array(),
+'www' => array(),
+'blogspot' => array()),
+'rs' => array('co' => array(),
+'org' => array(),
+'edu' => array(),
+'ac' => array(),
+'gov' => array(),
+'in' => array()),
+'ru' => array('ac' => array(),
+'com' => array(),
+'edu' => array(),
+'int' => array(),
+'net' => array(),
+'org' => array(),
+'pp' => array(),
+'adygeya' => array(),
+'altai' => array(),
+'amur' => array(),
+'arkhangelsk' => array(),
+'astrakhan' => array(),
+'bashkiria' => array(),
+'belgorod' => array(),
+'bir' => array(),
+'bryansk' => array(),
+'buryatia' => array(),
+'cbg' => array(),
+'chel' => array(),
+'chelyabinsk' => array(),
+'chita' => array(),
+'chukotka' => array(),
+'chuvashia' => array(),
+'dagestan' => array(),
+'dudinka' => array(),
+'e-burg' => array(),
+'grozny' => array(),
+'irkutsk' => array(),
+'ivanovo' => array(),
+'izhevsk' => array(),
+'jar' => array(),
+'joshkar-ola' => array(),
+'kalmykia' => array(),
+'kaluga' => array(),
+'kamchatka' => array(),
+'karelia' => array(),
+'kazan' => array(),
+'kchr' => array(),
+'kemerovo' => array(),
+'khabarovsk' => array(),
+'khakassia' => array(),
+'khv' => array(),
+'kirov' => array(),
+'koenig' => array(),
+'komi' => array(),
+'kostroma' => array(),
+'krasnoyarsk' => array(),
+'kuban' => array(),
+'kurgan' => array(),
+'kursk' => array(),
+'lipetsk' => array(),
+'magadan' => array(),
+'mari' => array(),
+'mari-el' => array(),
+'marine' => array(),
+'mordovia' => array(),
+'mosreg' => array(),
+'msk' => array(),
+'murmansk' => array(),
+'nalchik' => array(),
+'nnov' => array(),
+'nov' => array(),
+'novosibirsk' => array(),
+'nsk' => array(),
+'omsk' => array(),
+'orenburg' => array(),
+'oryol' => array(),
+'palana' => array(),
+'penza' => array(),
+'perm' => array(),
+'ptz' => array(),
+'rnd' => array(),
+'ryazan' => array(),
+'sakhalin' => array(),
+'samara' => array(),
+'saratov' => array(),
+'simbirsk' => array(),
+'smolensk' => array(),
+'spb' => array(),
+'stavropol' => array(),
+'stv' => array(),
+'surgut' => array(),
+'tambov' => array(),
+'tatarstan' => array(),
+'tom' => array(),
+'tomsk' => array(),
+'tsaritsyn' => array(),
+'tsk' => array(),
+'tula' => array(),
+'tuva' => array(),
+'tver' => array(),
+'tyumen' => array(),
+'udm' => array(),
+'udmurtia' => array(),
+'ulan-ude' => array(),
+'vladikavkaz' => array(),
+'vladimir' => array(),
+'vladivostok' => array(),
+'volgograd' => array(),
+'vologda' => array(),
+'voronezh' => array(),
+'vrn' => array(),
+'vyatka' => array(),
+'yakutia' => array(),
+'yamal' => array(),
+'yaroslavl' => array(),
+'yekaterinburg' => array(),
+'yuzhno-sakhalinsk' => array(),
+'amursk' => array(),
+'baikal' => array(),
+'cmw' => array(),
+'fareast' => array(),
+'jamal' => array(),
+'kms' => array(),
+'k-uralsk' => array(),
+'kustanai' => array(),
+'kuzbass' => array(),
+'magnitka' => array(),
+'mytis' => array(),
+'nakhodka' => array(),
+'nkz' => array(),
+'norilsk' => array(),
+'oskol' => array(),
+'pyatigorsk' => array(),
+'rubtsovsk' => array(),
+'snz' => array(),
+'syzran' => array(),
+'vdonsk' => array(),
+'zgrad' => array(),
+'gov' => array(),
+'mil' => array(),
+'test' => array()),
+'rw' => array('gov' => array(),
+'net' => array(),
+'edu' => array(),
+'ac' => array(),
+'com' => array(),
+'co' => array(),
+'int' => array(),
+'mil' => array(),
+'gouv' => array()),
+'sa' => array('com' => array(),
+'net' => array(),
+'org' => array(),
+'gov' => array(),
+'med' => array(),
+'pub' => array(),
+'edu' => array(),
+'sch' => array()),
+'sb' => array('com' => array(),
+'edu' => array(),
+'gov' => array(),
+'net' => array(),
+'org' => array()),
+'sc' => array('com' => array(),
+'gov' => array(),
+'net' => array(),
+'org' => array(),
+'edu' => array()),
+'sd' => array('com' => array(),
+'net' => array(),
+'org' => array(),
+'edu' => array(),
+'med' => array(),
+'tv' => array(),
+'gov' => array(),
+'info' => array()),
+'se' => array('a' => array(),
+'ac' => array(),
+'b' => array(),
+'bd' => array(),
+'brand' => array(),
+'c' => array(),
+'d' => array(),
+'e' => array(),
+'f' => array(),
+'fh' => array(),
+'fhsk' => array(),
+'fhv' => array(),
+'g' => array(),
+'h' => array(),
+'i' => array(),
+'k' => array(),
+'komforb' => array(),
+'kommunalforbund' => array(),
+'komvux' => array(),
+'l' => array(),
+'lanbib' => array(),
+'m' => array(),
+'n' => array(),
+'naturbruksgymn' => array(),
+'o' => array(),
+'org' => array(),
+'p' => array(),
+'parti' => array(),
+'pp' => array(),
+'press' => array(),
+'r' => array(),
+'s' => array(),
+'t' => array(),
+'tm' => array(),
+'u' => array(),
+'w' => array(),
+'x' => array(),
+'y' => array(),
+'z' => array(),
+'com' => array(),
+'blogspot' => array()),
+'sg' => array('com' => array(),
+'net' => array(),
+'org' => array(),
+'gov' => array(),
+'edu' => array(),
+'per' => array(),
+'blogspot' => array()),
+'sh' => array('com' => array(),
+'net' => array(),
+'gov' => array(),
+'org' => array(),
+'mil' => array()),
+'si' => array(),
+'sj' => array(),
+'sk' => array('blogspot' => array()),
+'sl' => array('com' => array(),
+'net' => array(),
+'edu' => array(),
+'gov' => array(),
+'org' => array()),
+'sm' => array(),
+'sn' => array('art' => array(),
+'com' => array(),
+'edu' => array(),
+'gouv' => array(),
+'org' => array(),
+'perso' => array(),
+'univ' => array()),
+'so' => array('com' => array(),
+'net' => array(),
+'org' => array()),
+'sr' => array(),
+'st' => array('co' => array(),
+'com' => array(),
+'consulado' => array(),
+'edu' => array(),
+'embaixada' => array(),
+'gov' => array(),
+'mil' => array(),
+'net' => array(),
+'org' => array(),
+'principe' => array(),
+'saotome' => array(),
+'store' => array()),
+'su' => array(),
+'sv' => array('com' => array(),
+'edu' => array(),
+'gob' => array(),
+'org' => array(),
+'red' => array()),
+'sx' => array('gov' => array()),
+'sy' => array('edu' => array(),
+'gov' => array(),
+'net' => array(),
+'mil' => array(),
+'com' => array(),
+'org' => array()),
+'sz' => array('co' => array(),
+'ac' => array(),
+'org' => array()),
+'tc' => array(),
+'td' => array('blogspot' => array()),
+'tel' => array(),
+'tf' => array(),
+'tg' => array(),
+'th' => array('ac' => array(),
+'co' => array(),
+'go' => array(),
+'in' => array(),
+'mi' => array(),
+'net' => array(),
+'or' => array()),
+'tj' => array('ac' => array(),
+'biz' => array(),
+'co' => array(),
+'com' => array(),
+'edu' => array(),
+'go' => array(),
+'gov' => array(),
+'int' => array(),
+'mil' => array(),
+'name' => array(),
+'net' => array(),
+'nic' => array(),
+'org' => array(),
+'test' => array(),
+'web' => array()),
+'tk' => array(),
+'tl' => array('gov' => array()),
+'tm' => array('com' => array(),
+'co' => array(),
+'org' => array(),
+'net' => array(),
+'nom' => array(),
+'gov' => array(),
+'mil' => array(),
+'edu' => array()),
+'tn' => array('com' => array(),
+'ens' => array(),
+'fin' => array(),
+'gov' => array(),
+'ind' => array(),
+'intl' => array(),
+'nat' => array(),
+'net' => array(),
+'org' => array(),
+'info' => array(),
+'perso' => array(),
+'tourism' => array(),
+'edunet' => array(),
+'rnrt' => array(),
+'rns' => array(),
+'rnu' => array(),
+'mincom' => array(),
+'agrinet' => array(),
+'defense' => array(),
+'turen' => array()),
+'to' => array('com' => array(),
+'gov' => array(),
+'net' => array(),
+'org' => array(),
+'edu' => array(),
+'mil' => array()),
+'tp' => array(),
+'tr' => array('com' => array(),
+'info' => array(),
+'biz' => array(),
+'net' => array(),
+'org' => array(),
+'web' => array(),
+'gen' => array(),
+'tv' => array(),
+'av' => array(),
+'dr' => array(),
+'bbs' => array(),
+'name' => array(),
+'tel' => array(),
+'gov' => array(),
+'bel' => array(),
+'pol' => array(),
+'mil' => array(),
+'k12' => array(),
+'edu' => array(),
+'kep' => array(),
+'nc' => array('gov' => array())),
+'travel' => array(),
+'tt' => array('co' => array(),
+'com' => array(),
+'org' => array(),
+'net' => array(),
+'biz' => array(),
+'info' => array(),
+'pro' => array(),
+'int' => array(),
+'coop' => array(),
+'jobs' => array(),
+'mobi' => array(),
+'travel' => array(),
+'museum' => array(),
+'aero' => array(),
+'name' => array(),
+'gov' => array(),
+'edu' => array()),
+'tv' => array('dyndns' => array(),
+'better-than' => array(),
+'on-the-web' => array(),
+'worse-than' => array()),
+'tw' => array('edu' => array(),
+'gov' => array(),
+'mil' => array(),
+'com' => array(),
+'net' => array(),
+'org' => array(),
+'idv' => array(),
+'game' => array(),
+'ebiz' => array(),
+'club' => array(),
+'網路' => array(),
+'組織' => array(),
+'商業' => array(),
+'blogspot' => array()),
+'tz' => array('ac' => array(),
+'co' => array(),
+'go' => array(),
+'hotel' => array(),
+'info' => array(),
+'me' => array(),
+'mil' => array(),
+'mobi' => array(),
+'ne' => array(),
+'or' => array(),
+'sc' => array(),
+'tv' => array()),
+'ua' => array('com' => array(),
+'edu' => array(),
+'gov' => array(),
+'in' => array(),
+'net' => array(),
+'org' => array(),
+'cherkassy' => array(),
+'cherkasy' => array(),
+'chernigov' => array(),
+'chernihiv' => array(),
+'chernivtsi' => array(),
+'chernovtsy' => array(),
+'ck' => array(),
+'cn' => array(),
+'cr' => array(),
+'crimea' => array(),
+'cv' => array(),
+'dn' => array(),
+'dnepropetrovsk' => array(),
+'dnipropetrovsk' => array(),
+'dominic' => array(),
+'donetsk' => array(),
+'dp' => array(),
+'if' => array(),
+'ivano-frankivsk' => array(),
+'kh' => array(),
+'kharkiv' => array(),
+'kharkov' => array(),
+'kherson' => array(),
+'khmelnitskiy' => array(),
+'khmelnytskyi' => array(),
+'kiev' => array(),
+'kirovograd' => array(),
+'km' => array(),
+'kr' => array(),
+'krym' => array(),
+'ks' => array(),
+'kv' => array(),
+'kyiv' => array(),
+'lg' => array(),
+'lt' => array(),
+'lugansk' => array(),
+'lutsk' => array(),
+'lv' => array(),
+'lviv' => array(),
+'mk' => array(),
+'mykolaiv' => array(),
+'nikolaev' => array(),
+'od' => array(),
+'odesa' => array(),
+'odessa' => array(),
+'pl' => array(),
+'poltava' => array(),
+'rivne' => array(),
+'rovno' => array(),
+'rv' => array(),
+'sb' => array(),
+'sebastopol' => array(),
+'sevastopol' => array(),
+'sm' => array(),
+'sumy' => array(),
+'te' => array(),
+'ternopil' => array(),
+'uz' => array(),
+'uzhgorod' => array(),
+'vinnica' => array(),
+'vinnytsia' => array(),
+'vn' => array(),
+'volyn' => array(),
+'yalta' => array(),
+'zaporizhzhe' => array(),
+'zaporizhzhia' => array(),
+'zhitomir' => array(),
+'zhytomyr' => array(),
+'zp' => array(),
+'zt' => array(),
+'co' => array(),
+'pp' => array()),
+'ug' => array('co' => array(),
+'or' => array(),
+'ac' => array(),
+'sc' => array(),
+'go' => array(),
+'ne' => array(),
+'com' => array(),
+'org' => array()),
+'uk' => array('ac' => array(),
+'co' => array('blogspot' => array()),
+'gov' => array('service' => array()),
+'ltd' => array(),
+'me' => array(),
+'net' => array(),
+'nhs' => array(),
+'org' => array(),
+'plc' => array(),
+'police' => array(),
+'sch' => array('*' => array())),
+'us' => array('dni' => array(),
+'fed' => array(),
+'isa' => array(),
+'kids' => array(),
+'nsn' => array(),
+'ak' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'al' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'ar' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'as' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'az' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'ca' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'co' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'ct' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'dc' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'de' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'fl' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'ga' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'gu' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'hi' => array('cc' => array(),
+'lib' => array()),
+'ia' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'id' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'il' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'in' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'ks' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'ky' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'la' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'ma' => array('k12' => array('pvt' => array(),
+'chtr' => array(),
+'paroch' => array()),
+'cc' => array(),
+'lib' => array()),
+'md' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'me' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'mi' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'mn' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'mo' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'ms' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'mt' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'nc' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'nd' => array('cc' => array(),
+'lib' => array()),
+'ne' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'nh' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'nj' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'nm' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'nv' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'ny' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'oh' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'ok' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'or' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'pa' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'pr' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'ri' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'sc' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'sd' => array('cc' => array(),
+'lib' => array()),
+'tn' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'tx' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'ut' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'vi' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'vt' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'va' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'wa' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'wi' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'wv' => array('cc' => array()),
+'wy' => array('k12' => array(),
+'cc' => array(),
+'lib' => array()),
+'is-by' => array(),
+'land-4-sale' => array(),
+'stuff-4-sale' => array()),
+'uy' => array('com' => array(),
+'edu' => array(),
+'gub' => array(),
+'mil' => array(),
+'net' => array(),
+'org' => array()),
+'uz' => array('co' => array(),
+'com' => array(),
+'net' => array(),
+'org' => array()),
+'va' => array(),
+'vc' => array('com' => array(),
+'net' => array(),
+'org' => array(),
+'gov' => array(),
+'mil' => array(),
+'edu' => array()),
+'ve' => array('arts' => array(),
+'co' => array(),
+'com' => array(),
+'e12' => array(),
+'edu' => array(),
+'firm' => array(),
+'gob' => array(),
+'gov' => array(),
+'info' => array(),
+'int' => array(),
+'mil' => array(),
+'net' => array(),
+'org' => array(),
+'rec' => array(),
+'store' => array(),
+'tec' => array(),
+'web' => array()),
+'vg' => array(),
+'vi' => array('co' => array(),
+'com' => array(),
+'k12' => array(),
+'net' => array(),
+'org' => array()),
+'vn' => array('com' => array(),
+'net' => array(),
+'org' => array(),
+'edu' => array(),
+'gov' => array(),
+'int' => array(),
+'ac' => array(),
+'biz' => array(),
+'info' => array(),
+'name' => array(),
+'pro' => array(),
+'health' => array()),
+'vu' => array('com' => array(),
+'edu' => array(),
+'net' => array(),
+'org' => array()),
+'wf' => array(),
+'ws' => array('com' => array(),
+'net' => array(),
+'org' => array(),
+'gov' => array(),
+'edu' => array(),
+'dyndns' => array(),
+'mypets' => array()),
+'yt' => array(),
+'امارات' => array(),
+'বাংলা' => array(),
+'中国' => array(),
+'中國' => array(),
+'الجزائر' => array(),
+'مصر' => array(),
+'გე' => array(),
+'香港' => array(),
+'भारत' => array(),
+'بھارت' => array(),
+'భారత్' => array(),
+'ભારત' => array(),
+'ਭਾਰਤ' => array(),
+'ভারত' => array(),
+'இந்தியா' => array(),
+'ایران' => array(),
+'ايران' => array(),
+'الاردن' => array(),
+'한국' => array(),
+'қаз' => array(),
+'ලංකා' => array(),
+'இலங்கை' => array(),
+'المغرب' => array(),
+'мон' => array(),
+'مليسيا' => array(),
+'عمان' => array(),
+'فلسطين' => array(),
+'срб' => array('пр' => array(),
+'орг' => array(),
+'обр' => array(),
+'од' => array(),
+'упр' => array(),
+'ак' => array()),
+'рф' => array(),
+'قطر' => array(),
+'السعودية' => array(),
+'السعودیة' => array(),
+'السعودیۃ' => array(),
+'السعوديه' => array(),
+'سورية' => array(),
+'سوريا' => array(),
+'新加坡' => array(),
+'சிங்கப்பூர்' => array(),
+'ไทย' => array(),
+'تونس' => array(),
+'台灣' => array(),
+'台湾' => array(),
+'臺灣' => array(),
+'укр' => array(),
+'اليمن' => array(),
+'xxx' => array(),
+'ye' => array('*' => array()),
+'za' => array('*' => array()),
+'zm' => array('*' => array()),
+'zw' => array('*' => array()),
+'abbott' => array(),
+'abogado' => array(),
+'academy' => array(),
+'accenture' => array(),
+'accountants' => array(),
+'active' => array(),
+'actor' => array(),
+'africa' => array(),
+'agency' => array(),
+'airforce' => array(),
+'allfinanz' => array(),
+'alsace' => array(),
+'amsterdam' => array(),
+'android' => array(),
+'aquarelle' => array(),
+'archi' => array(),
+'army' => array(),
+'associates' => array(),
+'attorney' => array(),
+'auction' => array(),
+'audio' => array(),
+'autos' => array(),
+'axa' => array(),
+'band' => array(),
+'bar' => array(),
+'barcelona' => array(),
+'bargains' => array(),
+'bauhaus' => array(),
+'bayern' => array(),
+'bcn' => array(),
+'beer' => array(),
+'berlin' => array(),
+'best' => array(),
+'bharti' => array(),
+'bible' => array(),
+'bid' => array(),
+'bike' => array(),
+'bio' => array(),
+'black' => array(),
+'blackfriday' => array(),
+'bloomberg' => array(),
+'blue' => array(),
+'bmw' => array(),
+'bnl' => array(),
+'bnpparibas' => array(),
+'bond' => array(),
+'boo' => array(),
+'boutique' => array(),
+'brussels' => array(),
+'budapest' => array(),
+'build' => array(),
+'builders' => array(),
+'business' => array(),
+'buzz' => array(),
+'bzh' => array(),
+'cab' => array(),
+'cal' => array(),
+'camera' => array(),
+'camp' => array(),
+'cancerresearch' => array(),
+'capetown' => array(),
+'capital' => array(),
+'caravan' => array(),
+'cards' => array(),
+'care' => array(),
+'career' => array(),
+'careers' => array(),
+'cartier' => array(),
+'casa' => array(),
+'cash' => array(),
+'catering' => array(),
+'cba' => array(),
+'cbn' => array(),
+'center' => array(),
+'ceo' => array(),
+'cern' => array(),
+'cfa' => array(),
+'channel' => array(),
+'cheap' => array(),
+'christmas' => array(),
+'chrome' => array(),
+'church' => array(),
+'citic' => array(),
+'city' => array(),
+'claims' => array(),
+'cleaning' => array(),
+'click' => array(),
+'clinic' => array(),
+'clothing' => array(),
+'club' => array(),
+'codes' => array(),
+'coffee' => array(),
+'college' => array(),
+'cologne' => array(),
+'commbank' => array(),
+'community' => array(),
+'company' => array(),
+'computer' => array(),
+'condos' => array(),
+'construction' => array(),
+'consulting' => array(),
+'contractors' => array(),
+'cooking' => array(),
+'cool' => array(),
+'country' => array(),
+'credit' => array(),
+'creditcard' => array(),
+'crs' => array(),
+'cruises' => array(),
+'cuisinella' => array(),
+'cymru' => array(),
+'dabur' => array(),
+'dad' => array(),
+'dance' => array(),
+'dating' => array(),
+'datsun' => array(),
+'day' => array(),
+'deals' => array(),
+'degree' => array(),
+'democrat' => array(),
+'dental' => array(),
+'dentist' => array(),
+'desi' => array(),
+'diamonds' => array(),
+'diet' => array(),
+'digital' => array(),
+'direct' => array(),
+'directory' => array(),
+'discount' => array(),
+'dnp' => array(),
+'domains' => array(),
+'doosan' => array(),
+'durban' => array(),
+'dvag' => array(),
+'eat' => array(),
+'education' => array(),
+'email' => array(),
+'emerck' => array(),
+'engineer' => array(),
+'engineering' => array(),
+'enterprises' => array(),
+'equipment' => array(),
+'erni' => array(),
+'esq' => array(),
+'estate' => array(),
+'eurovision' => array(),
+'eus' => array(),
+'events' => array(),
+'everbank' => array(),
+'exchange' => array(),
+'expert' => array(),
+'exposed' => array(),
+'fail' => array(),
+'fan' => array(),
+'farm' => array(),
+'fashion' => array(),
+'feedback' => array(),
+'finance' => array(),
+'financial' => array(),
+'firmdale' => array(),
+'fish' => array(),
+'fishing' => array(),
+'fitness' => array(),
+'flights' => array(),
+'florist' => array(),
+'flsmidth' => array(),
+'fly' => array(),
+'foo' => array(),
+'forsale' => array(),
+'foundation' => array(),
+'frl' => array(),
+'frogans' => array(),
+'fund' => array(),
+'furniture' => array(),
+'futbol' => array(),
+'gal' => array(),
+'gallery' => array(),
+'garden' => array(),
+'gbiz' => array(),
+'gdn' => array(),
+'gent' => array(),
+'ggee' => array(),
+'gift' => array(),
+'gifts' => array(),
+'gives' => array(),
+'glass' => array(),
+'gle' => array(),
+'global' => array(),
+'globo' => array(),
+'gmail' => array(),
+'gmo' => array(),
+'gmx' => array(),
+'google' => array(),
+'gop' => array(),
+'graphics' => array(),
+'gratis' => array(),
+'green' => array(),
+'gripe' => array(),
+'group' => array(),
+'guge' => array(),
+'guide' => array(),
+'guitars' => array(),
+'guru' => array(),
+'hamburg' => array(),
+'haus' => array(),
+'healthcare' => array(),
+'help' => array(),
+'here' => array(),
+'hermes' => array(),
+'hiphop' => array(),
+'hiv' => array(),
+'holdings' => array(),
+'holiday' => array(),
+'homes' => array(),
+'horse' => array(),
+'host' => array(),
+'hosting' => array(),
+'house' => array(),
+'how' => array(),
+'ibm' => array(),
+'ifm' => array(),
+'iinet' => array(),
+'immo' => array(),
+'immobilien' => array(),
+'industries' => array(),
+'infiniti' => array(),
+'ing' => array(),
+'ink' => array(),
+'institute' => array(),
+'insure' => array(),
+'international' => array(),
+'investments' => array(),
+'ipiranga' => array(),
+'irish' => array(),
+'ist' => array(),
+'istanbul' => array(),
+'iwc' => array(),
+'java' => array(),
+'jetzt' => array(),
+'joburg' => array(),
+'juegos' => array(),
+'kaufen' => array(),
+'kim' => array(),
+'kitchen' => array(),
+'kiwi' => array(),
+'koeln' => array(),
+'krd' => array(),
+'kred' => array(),
+'lacaixa' => array(),
+'land' => array(),
+'latrobe' => array(),
+'lawyer' => array(),
+'lds' => array(),
+'lease' => array(),
+'leclerc' => array(),
+'lgbt' => array(),
+'life' => array(),
+'lighting' => array(),
+'limited' => array(),
+'limo' => array(),
+'link' => array(),
+'loans' => array(),
+'london' => array(),
+'lotto' => array(),
+'ltda' => array(),
+'luxe' => array(),
+'luxury' => array(),
+'madrid' => array(),
+'maison' => array(),
+'management' => array(),
+'mango' => array(),
+'market' => array(),
+'marketing' => array(),
+'media' => array(),
+'meet' => array(),
+'melbourne' => array(),
+'meme' => array(),
+'menu' => array(),
+'miami' => array(),
+'mini' => array(),
+'moda' => array(),
+'moe' => array(),
+'monash' => array(),
+'montblanc' => array(),
+'mormon' => array(),
+'mortgage' => array(),
+'moscow' => array(),
+'motorcycles' => array(),
+'mov' => array(),
+'nagoya' => array(),
+'navy' => array(),
+'netbank' => array(),
+'network' => array(),
+'neustar' => array(),
+'new' => array(),
+'nexus' => array(),
+'ngo' => array(),
+'nhk' => array(),
+'ninja' => array(),
+'nissan' => array(),
+'nra' => array(),
+'nrw' => array(),
+'nyc' => array(),
+'okinawa' => array(),
+'ong' => array(),
+'onl' => array(),
+'ooo' => array(),
+'oracle' => array(),
+'organic' => array(),
+'otsuka' => array(),
+'ovh' => array(),
+'paris' => array(),
+'partners' => array(),
+'parts' => array(),
+'pharmacy' => array(),
+'photo' => array(),
+'photography' => array(),
+'photos' => array(),
+'physio' => array(),
+'pics' => array(),
+'pictet' => array(),
+'pictures' => array(),
+'pink' => array(),
+'pizza' => array(),
+'place' => array(),
+'plumbing' => array(),
+'pohl' => array(),
+'poker' => array(),
+'praxi' => array(),
+'press' => array(),
+'prod' => array(),
+'productions' => array(),
+'prof' => array(),
+'properties' => array(),
+'property' => array(),
+'pub' => array(),
+'qpon' => array(),
+'quebec' => array(),
+'realtor' => array(),
+'recipes' => array(),
+'red' => array(),
+'rehab' => array(),
+'reise' => array(),
+'reisen' => array(),
+'ren' => array(),
+'rentals' => array(),
+'repair' => array(),
+'report' => array(),
+'republican' => array(),
+'rest' => array(),
+'restaurant' => array(),
+'reviews' => array(),
+'rich' => array(),
+'rio' => array(),
+'rip' => array(),
+'rocks' => array(),
+'rodeo' => array(),
+'rsvp' => array(),
+'ruhr' => array(),
+'ryukyu' => array(),
+'saarland' => array(),
+'samsung' => array(),
+'sap' => array(),
+'sarl' => array(),
+'sca' => array(),
+'scb' => array(),
+'schmidt' => array(),
+'scholarships' => array(),
+'schule' => array(),
+'scot' => array(),
+'seat' => array(),
+'services' => array(),
+'sew' => array(),
+'sexy' => array(),
+'sharp' => array(),
+'shiksha' => array(),
+'shoes' => array(),
+'shriram' => array(),
+'singles' => array(),
+'sky' => array(),
+'social' => array(),
+'software' => array(),
+'sohu' => array(),
+'solar' => array(),
+'solutions' => array(),
+'soy' => array(),
+'space' => array(),
+'spiegel' => array(),
+'supplies' => array(),
+'supply' => array(),
+'support' => array(),
+'surf' => array(),
+'surgery' => array(),
+'suzuki' => array(),
+'systems' => array(),
+'taipei' => array(),
+'tatar' => array(),
+'tattoo' => array(),
+'tax' => array(),
+'technology' => array(),
+'temasek' => array(),
+'tienda' => array(),
+'tips' => array(),
+'tirol' => array(),
+'today' => array(),
+'tokyo' => array(),
+'tools' => array(),
+'top' => array(),
+'toshiba' => array(),
+'town' => array(),
+'toys' => array(),
+'trade' => array(),
+'training' => array(),
+'tui' => array(),
+'university' => array(),
+'uno' => array(),
+'uol' => array(),
+'vacations' => array(),
+'vegas' => array(),
+'ventures' => array(),
+'versicherung' => array(),
+'vet' => array(),
+'viajes' => array(),
+'villas' => array(),
+'vision' => array(),
+'vlaanderen' => array(),
+'vodka' => array(),
+'vote' => array(),
+'voting' => array(),
+'voto' => array(),
+'voyage' => array(),
+'wales' => array(),
+'wang' => array(),
+'watch' => array(),
+'webcam' => array(),
+'website' => array(),
+'wed' => array(),
+'wedding' => array(),
+'whoswho' => array(),
+'wien' => array(),
+'wiki' => array(),
+'williamhill' => array(),
+'wme' => array(),
+'work' => array(),
+'works' => array(),
+'world' => array(),
+'wtc' => array(),
+'wtf' => array(),
+'佛山' => array(),
+'慈善' => array(),
+'集团' => array(),
+'在线' => array(),
+'八卦' => array(),
+'موقع' => array(),
+'公益' => array(),
+'公司' => array(),
+'移动' => array(),
+'我爱你' => array(),
+'москва' => array(),
+'онлайн' => array(),
+'сайт' => array(),
+'时尚' => array(),
+'淡马锡' => array(),
+'орг' => array(),
+'삼성' => array(),
+'商标' => array(),
+'商店' => array(),
+'商城' => array(),
+'дети' => array(),
+'新闻' => array(),
+'中文网' => array(),
+'中信' => array(),
+'娱乐' => array(),
+'谷歌' => array(),
+'网店' => array(),
+'संगठन' => array(),
+'网络' => array(),
+'手机' => array(),
+'بازار' => array(),
+'政府' => array(),
+'شبكة' => array(),
+'机构' => array(),
+'组织机构' => array(),
+'рус' => array(),
+'みんな' => array(),
+'グーグル' => array(),
+'世界' => array(),
+'网址' => array(),
+'游戏' => array(),
+'vermögensberater' => array(),
+'vermögensberatung' => array(),
+'企业' => array(),
+'广东' => array(),
+'政务' => array(),
+'xyz' => array(),
+'yachts' => array(),
+'yandex' => array(),
+'yoga' => array(),
+'yokohama' => array(),
+'youtube' => array(),
+'zip' => array(),
+'zone' => array());
diff --git a/Postman/Postman-Connectivity-Test/registered-domain-libs-master/PHP/regDomain.class.php b/Postman/Postman-Connectivity-Test/registered-domain-libs-master/PHP/regDomain.class.php
new file mode 100644
index 0000000..ffe492e
--- /dev/null
+++ b/Postman/Postman-Connectivity-Test/registered-domain-libs-master/PHP/regDomain.class.php
@@ -0,0 +1,120 @@
+<?php
+
+/*
+ * Calculate the effective registered domain of a fully qualified domain name.
+ *
+ * <@LICENSE>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * </@LICENSE>
+ *
+ * Florian Sager, 25.07.2008, sager@agitos.de, http://www.agitos.de
+ */
+
+/*
+ * Remove subdomains from a signing domain to get the registered domain.
+ *
+ * dkim-reputation.org blocks signing domains on the level of registered domains
+ * to rate senders who use e.g. a.spamdomain.tld, b.spamdomain.tld, ... under
+ * the most common identifier - the registered domain - finally.
+ *
+ * This function returns NULL if $signingDomain is TLD itself
+ *
+ * $signingDomain has to be provided lowercase (!)
+ */
+
+class regDomain {
+ /* tld tree */
+ protected $tldTree = array();
+
+ /* main function */
+ public function getRegisteredDomain($signingDomain, $fallback = TRUE) {
+ $signingDomainParts = explode('.', $signingDomain);
+
+ $result = $this->findRegisteredDomain($signingDomainParts, $this->tldTree);
+
+ if ($result===NULL || $result=="") {
+ // this is an invalid domain name
+ return NULL;
+ }
+
+ // assure there is at least 1 TLD in the stripped signing domain
+ if (!strpos($result, '.')) {
+ if ($fallback===FALSE) {
+ return NULL;
+ }
+ $cnt = count($signingDomainParts);
+ if ($cnt==1 || $signingDomainParts[$cnt-2]=="") return NULL;
+ if (!$this->validDomainPart($signingDomainParts[$cnt-2]) || !$this->validDomainPart($signingDomainParts[$cnt-1])) return NULL;
+ return $signingDomainParts[$cnt-2].'.'.$signingDomainParts[$cnt-1];
+ }
+ return $result;
+ }
+
+ /* validate parts */
+ public function validDomainPart($domPart) {
+ // see http://www.register.com/domain-extension-rules.rcmx
+ $len = strlen($domPart);
+
+ // not more than 63 characters
+ if ($len>63) return FALSE;
+
+ // not less than 1 characters --> there are TLD-specific rules that could be considered additionally
+ if ($len<1) return FALSE;
+
+ // Use only letters, numbers, or hyphen ("-")
+ // not beginning or ending with a hypen (this is TLD specific, be aware!)
+ if (!preg_match("/^([a-z0-9])(([a-z0-9-])*([a-z0-9]))*$/", $domPart)) return FALSE;
+
+ return TRUE;
+ }
+
+ /* recursive helper method */
+ public function findRegisteredDomain($remainingSigningDomainParts, &$treeNode) {
+ $sub = array_pop($remainingSigningDomainParts);
+
+ $result = NULL;
+ if (isset($treeNode['!'])) {
+ return '#';
+ }
+
+ if (!$this->validDomainPart($sub)) {
+ return NULL;
+ }
+
+ if (is_array($treeNode) && array_key_exists($sub, $treeNode)) {
+ $result = $this->findRegisteredDomain($remainingSigningDomainParts, $treeNode[$sub]);
+ } else if (is_array($treeNode) && array_key_exists('*', $treeNode)) {
+ $result = $this->findRegisteredDomain($remainingSigningDomainParts, $treeNode['*']);
+ } else {
+ return $sub;
+ }
+
+ // this is a hack 'cause PHP interpretes '' as NULL
+ if ($result == '#') {
+ return $sub;
+ } else if (strlen($result)>0) {
+ return $result.'.'.$sub;
+ }
+ return NULL;
+ }
+
+ /* load tld tree into object */
+ function __construct() {
+ /* include tld tree data */
+ include(dirname(__FILE__) . '/effectiveTLDs.inc.php');
+ }
+
+}
diff --git a/Postman/Postman-Connectivity-Test/registered-domain-libs-master/PHP/regDomain.inc.php b/Postman/Postman-Connectivity-Test/registered-domain-libs-master/PHP/regDomain.inc.php
new file mode 100644
index 0000000..e6b7a2a
--- /dev/null
+++ b/Postman/Postman-Connectivity-Test/registered-domain-libs-master/PHP/regDomain.inc.php
@@ -0,0 +1,62 @@
+<?php
+
+/*
+ * Calculate the effective registered domain of a fully qualified domain name.
+ *
+ * <@LICENSE>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * </@LICENSE>
+ *
+ * Florian Sager, 25.07.2008, sager@agitos.de, http://www.agitos.de
+ */
+
+/*
+ * Remove subdomains from a signing domain to get the registered domain.
+ *
+ * dkim-reputation.org blocks signing domains on the level of registered domains
+ * to rate senders who use e.g. a.spamdomain.tld, b.spamdomain.tld, ... under
+ * the most common identifier - the registered domain - finally.
+ *
+ * This function returns NULL if $signingDomain is TLD itself
+ *
+ * $signingDomain has to be provided lowercase (!)
+ */
+
+/* pull in class */
+require_once (dirname ( __FILE__ ) . '/regDomain.class.php');
+
+/* create global object */
+;
+function getRegisteredDomain($signingDomain, $fallback = TRUE) {
+ /* pull in object */
+ $regDomainObj = new regDomain ();
+ /* return object method */
+ return $regDomainObj->getRegisteredDomain ( $signingDomain, $fallback );
+}
+function validDomainPart($domPart) {
+ /* pull in object */
+ $regDomainObj = new regDomain ();
+ /* return object method */
+ return $regDomainObj->validDomainPart ( $domPart );
+}
+
+// recursive helper method
+function findRegisteredDomain($remainingSigningDomainParts, &$treeNode) {
+ /* pull in object */
+ $regDomainObj = new regDomain ();
+ /* return object method */
+ return $regDomainObj->findRegisteredDomain ( $remainingSigningDomainParts, $treeNode );
+}
diff --git a/Postman/Postman-Connectivity-Test/registered-domain-libs-master/PHP/test-regDomain.php b/Postman/Postman-Connectivity-Test/registered-domain-libs-master/PHP/test-regDomain.php
new file mode 100644
index 0000000..d1cc47c
--- /dev/null
+++ b/Postman/Postman-Connectivity-Test/registered-domain-libs-master/PHP/test-regDomain.php
@@ -0,0 +1,51 @@
+<?php
+
+/*
+ * Calculate the effective registered domain of a fully qualified domain name.
+ *
+ * <@LICENSE>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * </@LICENSE>
+ *
+ * Florian Sager, 25.07.2008, sager@agitos.de, http://www.agitos.de
+ */
+
+require_once("effectiveTLDs.inc.php");
+require_once("regDomain.inc.php");
+
+if ($_SERVER["argc"]<2) {
+ print("test-regDomain.php <(fully-qualified-domain-name )+>\n");
+ exit;
+}
+
+// strip subdomains from every signing domain
+// char dom[] = "sub2.sub.registered.nom.ad";
+
+$argc = $_SERVER["argc"];
+$argv = $_SERVER["argv"];
+
+for ($i=1; $i<$argc; $i++) {
+
+ $registeredDomain = getRegisteredDomain($argv[$i], $tldTree);
+
+ if ( $registeredDomain === NULL ) {
+ printf("error: %s\n", $argv[$i]);
+ } else {
+ printf("%s\n", $registeredDomain);
+ }
+}
+
+?>
diff --git a/Postman/Postman-Connectivity-Test/registered-domain-libs-master/README.txt b/Postman/Postman-Connectivity-Test/registered-domain-libs-master/README.txt
new file mode 100644
index 0000000..9199c9f
--- /dev/null
+++ b/Postman/Postman-Connectivity-Test/registered-domain-libs-master/README.txt
@@ -0,0 +1,56 @@
+===============================================
+Detection of registered domains by reg-dom libs
+===============================================
+
+The reg-dom libs are available in C, Perl and PHP so far.
+
+They include recent representations of the effective TLD list available at
+http://mxr.mozilla.org/mozilla-central/source/netwerk/dns/effective_tld_names.dat?raw=1
+and help to convert an arbitrary domain name to the registered domain name.
+
+Sample use:
+dkim-reputation.org blocks signing domains on the level of registered domains
+to rate senders who use e.g. a.spamdomain.tld, b.spamdomain.tld, ... under
+the most common identifier - the registered domain - finally.
+Project page: http://www.dkim-reputation.org/regdom-libs/
+
+Pseudo code:
+registeredDomain = getRegisteredDomain(ingoingDomain);
+
+Return values:
+1) NULL if ingoingDomain is a TLD
+2) the registered domain name if TLD is known
+3) just <domain>.<tld> if <tld> is unknown
+ This case was added to support new TLDs in outdated reg-dom libs
+ by a certain likelihood. This fallback method is implemented in the
+ last conversion step and can be simply commented out.
+
+---
+
+If you like to regenerate the effective TLD tree structure by yourself
+you can use the script generateEffectiveTLDs.php with the following parameters:
+
+php generateEffectiveTLDs.php php > PHP/effectiveTLDs.inc.php
+php generateEffectiveTLDs.php perl > Perl/effectiveTLDs.pm
+php generateEffectiveTLDs.php c > C/tld-canon.h
+
+
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to you under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at:
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# </@LICENSE>
+
+
+Florian Sager, 2009-02-05, sager@agitos.de, http://www.agitos.de
diff --git a/Postman/Postman-Connectivity-Test/registered-domain-libs-master/generateEffectiveTLDs.php b/Postman/Postman-Connectivity-Test/registered-domain-libs-master/generateEffectiveTLDs.php
new file mode 100644
index 0000000..f8c18a4
--- /dev/null
+++ b/Postman/Postman-Connectivity-Test/registered-domain-libs-master/generateEffectiveTLDs.php
@@ -0,0 +1,213 @@
+<?php
+
+/*
+ * Florian Sager, 06.08.2008, sager@agitos.de, http://www.agitos.de
+ *
+ * Auto-Generate PHP array tree that contains all TLDs from the URL (see below);
+ * The output has to be copied to reputation-libs/effectiveTLDs.inc.php
+ *
+ *
+ */
+
+header('Content-Type: text/html; charset=utf-8');
+
+DEFINE('URL', 'http://mxr.mozilla.org/mozilla-central/source/netwerk/dns/effective_tld_names.dat?raw=1');
+
+$format = "php";
+if ($_SERVER['argc']>1) {
+ if ($_SERVER['argv'][1] == "perl") {
+ $format = "perl";
+ } else if ($_SERVER['argv'][1] == "c") {
+ $format = "c";
+ }
+}
+
+/*
+ * Does $search start with $startstring?
+ */
+function startsWith($search, $startstring) {
+ return (substr($search, 0, strlen($startstring))==$startstring);
+}
+
+/*
+ * Does $search end with $endstring?
+ */
+function endsWith($search, $endstring) {
+ return (substr($search, -strlen($endstring))==$endstring);
+}
+
+
+function buildSubdomain(&$node, $tldParts) {
+
+ $dom = trim(array_pop($tldParts));
+
+ $isNotDomain = FALSE;
+ if (startsWith($dom, "!")) {
+ $dom = substr($dom, 1);
+ $isNotDomain = TRUE;
+ }
+
+ if (!array_key_exists($dom, $node)) {
+ if ($isNotDomain) {
+ $node[$dom] = array("!" => "");
+ } else {
+ $node[$dom] = array();
+ }
+ }
+
+ if (!$isNotDomain && count($tldParts)>0) {
+ buildSubdomain($node[$dom], $tldParts);
+ }
+}
+
+function printNode($key, $valueTree, $isAssignment = false) {
+
+ global $format;
+
+ if ($isAssignment) {
+ if ($format == "perl") {
+ echo "$key = {";
+ } else {
+ echo "$key = array(";
+ }
+ } else {
+ if (strcmp($key, "!")==0) {
+ if ($format == "perl") {
+ echo "'!' => {}";
+ } else {
+ echo "'!' => ''";
+ }
+ return;
+ } else {
+ if ($format == "perl") {
+ echo "'$key' => {";
+ } else {
+ echo "'$key' => array(";
+ }
+ }
+ }
+
+ $keys = array_keys($valueTree);
+
+ for ($i=0; $i<count($keys); $i++) {
+
+ $key = $keys[$i];
+
+ printNode($key, $valueTree[$key]);
+
+ if ($i+1 != count($valueTree)) {
+ echo ",\n";
+ } else {
+ "\n";
+ }
+ }
+
+ if ($format == "perl") {
+ echo '}';
+ } else {
+ echo ')';
+ }
+}
+
+// sample: root(3:ac(5:com,edu,gov,net,ad(3:nom,co!,*)),de,com)
+
+function printNode_C($key, $valueTree) {
+
+ echo "$key";
+
+ $keys = array_keys($valueTree);
+
+ if (count($keys)>0) {
+
+ if (strcmp($keys['!'], "!")==0) {
+ echo "!";
+ } else {
+
+ echo "(".count($keys).":";
+
+ for ($i=0; $i<count($keys); $i++) {
+
+ $key = $keys[$i];
+
+ // if (count($valueTree[$key])>0) {
+ printNode_C($key, $valueTree[$key]);
+ // }
+
+ if ($i+1 != count($valueTree)) {
+ echo ",";
+ }
+ }
+
+ echo ')';
+ }
+ }
+}
+
+// --- main ---
+
+error_reporting(E_ERROR);
+
+$tldTree = array();
+$list = file_get_contents(URL);
+// $list = "bg\na.bg\n0.bg\n!c.bg\n";
+$lines = split("\n", $list);
+$licence = TRUE;
+
+if ($format == "php") echo "<?php\n";
+
+foreach ($lines as $line) {
+ $line = trim($line);
+ if ($line == "") {
+ if ($licence) {
+ $licence = FALSE;
+ echo "\n";
+ }
+ continue;
+ }
+ if (startsWith($line, "//")) {
+ if ($licence) {
+ if ($format == "perl") {
+ echo "# ".substr($line, 2)."\n";
+ } else {
+ echo $line."\n";
+ }
+ }
+ continue;
+ }
+
+ // this must be a TLD
+ $tldParts = split('\.', $line);
+ buildSubdomain($tldTree, $tldParts);
+}
+
+// print_r($tldTree);
+
+/*
+$tldTree = array(
+ 'de' => array(), // test.agitos.de --> agitos.de
+ 'uk' => array(
+ 'co' => array(), // test.agitos.co.uk --> agitos.co.uk
+ 'xy' => array('!'), // test.agitos.xy.uk --> xy.uk
+ '*' => array() // test.agitos.ab.uk --> agitos.ab.uk
+ )
+);
+*/
+
+if ($format == "c") {
+
+ echo "static const char tldString[] = \"";
+ printNode_C("root", $tldTree);
+ echo "\";\n\n";
+
+} else {
+
+ if ($format == "perl") {
+ print "package effectiveTLDs;\n\n";
+ }
+ printNode("\$tldTree", $tldTree, TRUE);
+ echo ";\n";
+ if ($format == "php") echo '?>' . "\n";
+
+}
+
+?>
diff --git a/Postman/Postman-Controller/PostmanAdminPointer.php b/Postman/Postman-Controller/PostmanAdminPointer.php
new file mode 100644
index 0000000..16bd6a2
--- /dev/null
+++ b/Postman/Postman-Controller/PostmanAdminPointer.php
@@ -0,0 +1,107 @@
+<?php
+if (! class_exists ( 'PostmanAdminPointer' )) {
+
+ /**
+ * From http://code.tutsplus.com/articles/integrating-with-wordpress-ui-admin-pointers--wp-26853
+ *
+ * @author jasonhendriks
+ *
+ */
+ class PostmanAdminPointer {
+ private $logger;
+ private $rootPluginFilenameAndPath;
+
+ /**
+ *
+ * @param unknown $rootPluginFilenameAndPath
+ */
+ function __construct($rootPluginFilenameAndPath) {
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ $this->rootPluginFilenameAndPath = $rootPluginFilenameAndPath;
+
+ // Don't run on WP < 3.3
+ if (get_bloginfo ( 'version' ) < '3.3' || true)
+ return;
+
+ add_action ( 'admin_enqueue_scripts', array (
+ $this,
+ 'wptuts_pointer_load'
+ ), 1000 );
+ add_filter ( 'postman_admin_pointers-settings_page_postman', array (
+ $this,
+ 'wptuts_register_pointer_testing'
+ ) );
+ }
+
+ /**
+ *
+ * @param unknown $hook_suffix
+ */
+ function wptuts_pointer_load($hook_suffix) {
+ // only do this for administrators
+ if (PostmanUtils::isAdmin ()) {
+ $this->logger->trace ( 'wptuts' );
+
+ $screen = get_current_screen ();
+ $screen_id = $screen->id;
+
+ // Get pointers for this screen
+ $pointers = apply_filters ( 'postman_admin_pointers-' . $screen_id, array () );
+
+ if (! $pointers || ! is_array ( $pointers ))
+ return;
+
+ // Get dismissed pointers
+ $dismissed = explode ( ',', ( string ) get_user_meta ( get_current_user_id (), 'dismissed_wp_pointers', true ) );
+ $this->logger->trace ( $dismissed );
+ $valid_pointers = array ();
+
+ // Check pointers and remove dismissed ones.
+ foreach ( $pointers as $pointer_id => $pointer ) {
+
+ // Sanity check
+ if (in_array ( $pointer_id, $dismissed ) || empty ( $pointer ) || empty ( $pointer_id ) || empty ( $pointer ['target'] ) || empty ( $pointer ['options'] ))
+ continue;
+
+ $pointer ['pointer_id'] = $pointer_id;
+
+ // Add the pointer to $valid_pointers array
+ $valid_pointers ['pointers'] [] = $pointer;
+ }
+
+ // No valid pointers? Stop here.
+ if (empty ( $valid_pointers )) {
+ return;
+ }
+
+ // Add pointers style to queue.
+ wp_enqueue_style ( 'wp-pointer' );
+
+ // Add pointers script to queue. Add custom script.
+ wp_enqueue_script ( 'postman_admin_pointer', plugins_url ( 'script/postman-admin-pointer.js', $this->rootPluginFilenameAndPath ), array (
+ 'wp-pointer'
+ ) );
+
+ // Add pointer options to script.
+ wp_localize_script ( 'postman_admin_pointer', 'postman_admin_pointer', $valid_pointers );
+ $this->logger->trace ( 'out wptuts' );
+ }
+ }
+ function wptuts_register_pointer_testing($p) {
+ // only do this for administrators
+ if (PostmanUtils::isAdmin () && false) {
+ $p ['postman16_log'] = array (
+ 'target' => '.configure_manually',
+ 'options' => array (
+ 'content' => '',
+ 'position' => array (
+ 'edge' => 'top',
+ 'align' => 'left'
+ )
+ )
+ );
+ return $p;
+ }
+ }
+ }
+}
diff --git a/Postman/Postman-Controller/PostmanDashboardWidgetController.php b/Postman/Postman-Controller/PostmanDashboardWidgetController.php
new file mode 100644
index 0000000..7393ee3
--- /dev/null
+++ b/Postman/Postman-Controller/PostmanDashboardWidgetController.php
@@ -0,0 +1,157 @@
+<?php
+if (! class_exists ( "PostmanDashboardWidgetController" )) {
+
+ //
+ class PostmanDashboardWidgetController {
+ private $rootPluginFilenameAndPath;
+ private $options;
+ private $authorizationToken;
+ private $wpMailBinder;
+
+ /**
+ * Start up
+ */
+ public function __construct($rootPluginFilenameAndPath, PostmanOptions $options, PostmanOAuthToken $authorizationToken, PostmanWpMailBinder $binder) {
+ assert ( ! empty ( $rootPluginFilenameAndPath ) );
+ assert ( ! empty ( $options ) );
+ assert ( ! empty ( $authorizationToken ) );
+ assert ( ! empty ( $binder ) );
+ $this->rootPluginFilenameAndPath = $rootPluginFilenameAndPath;
+ $this->options = $options;
+ $this->authorizationToken = $authorizationToken;
+ $this->wpMailBinder = $binder;
+
+ add_action ( 'wp_dashboard_setup', array (
+ $this,
+ 'addDashboardWidget'
+ ) );
+
+ add_action ( 'wp_network_dashboard_setup', array (
+ $this,
+ 'addNetworkDashboardWidget'
+ ) );
+
+ // dashboard glance mod
+ if ($this->options->isMailLoggingEnabled ()) {
+ add_filter ( 'dashboard_glance_items', array (
+ $this,
+ 'customizeAtAGlanceDashboardWidget'
+ ), 10, 1 );
+ }
+
+ // Postman API: register the human-readable plugin state
+ add_filter ( 'print_postman_status', array (
+ $this,
+ 'print_postman_status'
+ ) );
+ }
+
+ /**
+ * Add a widget to the dashboard.
+ *
+ * This function is hooked into the 'wp_dashboard_setup' action below.
+ */
+ public function addDashboardWidget() {
+ // only display to the widget to administrator
+ if (PostmanUtils::isAdmin ()) {
+ wp_add_dashboard_widget ( 'example_dashboard_widget', __ ( 'Postman SMTP', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'printDashboardWidget'
+ ) ); // Display function.
+ }
+ }
+
+ /**
+ * Add a widget to the network dashboard
+ */
+ public function addNetworkDashboardWidget() {
+ // only display to the widget to administrator
+ if (PostmanUtils::isAdmin ()) {
+ wp_add_dashboard_widget ( 'example_dashboard_widget', __ ( 'Postman SMTP', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'printNetworkDashboardWidget'
+ ) ); // Display function.
+ }
+ }
+
+ /**
+ * Create the function to output the contents of our Dashboard Widget.
+ */
+ public function printDashboardWidget() {
+ $goToSettings = sprintf ( '<a href="%s">%s</a>', PostmanUtils::getSettingsPageUrl (), __ ( 'Settings', Postman::TEXT_DOMAIN ) );
+ $goToEmailLog = sprintf ( '%s', _x ( 'Email Log', 'The log of Emails that have been delivered', Postman::TEXT_DOMAIN ) );
+ if ($this->options->isMailLoggingEnabled ()) {
+ $goToEmailLog = sprintf ( '<a href="%s">%s</a>', PostmanUtils::getEmailLogPageUrl (), $goToEmailLog );
+ }
+ apply_filters ( 'print_postman_status', null );
+ printf ( '<p>%s | %s</p>', $goToEmailLog, $goToSettings );
+ }
+
+ /**
+ * Print the human-readable plugin state
+ */
+ public function print_postman_status() {
+ if (! PostmanPreRequisitesCheck::isReady ()) {
+ printf ( '<p><span style="color:red">%s</span></p>', __ ( 'Error: Postman is missing a required PHP library.', Postman::TEXT_DOMAIN ) );
+ } else if ($this->wpMailBinder->isUnboundDueToException ()) {
+ printf ( '<p><span style="color:red">%s</span></p>', __ ( 'Postman: wp_mail has been declared by another plugin or theme, so you won\'t be able to use Postman until the conflict is resolved.', Postman::TEXT_DOMAIN ) );
+ } else {
+ if ($this->options->getRunMode () != PostmanOptions::RUN_MODE_PRODUCTION) {
+ printf ( '<p><span style="background-color:yellow">%s</span></p>', __ ( 'Postman is in <em>non-Production</em> mode and is dumping all emails.', Postman::TEXT_DOMAIN ) );
+ } else if (PostmanTransportRegistry::getInstance ()->getSelectedTransport ()->isConfiguredAndReady ()) {
+ printf ( '<p class="wp-menu-image dashicons-before dashicons-email"> %s </p>', sprintf ( _n ( '<span style="color:green">Postman is configured</span> and has delivered <span style="color:green">%d</span> email.', '<span style="color:green">Postman is configured</span> and has delivered <span style="color:green">%d</span> emails.', PostmanState::getInstance ()->getSuccessfulDeliveries (), Postman::TEXT_DOMAIN ), PostmanState::getInstance ()->getSuccessfulDeliveries () ) );
+ } else {
+ printf ( '<p><span style="color:red">%s</span></p>', __ ( 'Postman is <em>not</em> configured and is mimicking out-of-the-box WordPress email delivery.', Postman::TEXT_DOMAIN ) );
+ }
+ $currentTransport = PostmanTransportRegistry::getInstance ()->getActiveTransport ();
+ $deliveryDetails = $currentTransport->getDeliveryDetails ( $this->options );
+ printf ( '<p>%s</p>', $deliveryDetails );
+ }
+ }
+
+ /**
+ * Create the function to output the contents of our Dashboard Widget.
+ */
+ public function printNetworkDashboardWidget() {
+ printf ( '<p class="wp-menu-image dashicons-before dashicons-email"> %s</p>', __ ( 'Postman is operating in per-site mode.', Postman::TEXT_DOMAIN ) );
+ }
+
+ /**
+ * From http://www.hughlashbrooke.com/2014/02/wordpress-add-items-glance-widget/
+ * http://coffeecupweb.com/how-to-add-custom-post-types-to-at-a-glance-dashboard-widget-in-wordpress/
+ *
+ * @param unknown $items
+ * @return string
+ */
+ function customizeAtAGlanceDashboardWidget($items = array()) {
+ // only modify the At-a-Glance for administrators
+ if (PostmanUtils::isAdmin ()) {
+ $post_types = array (
+ PostmanEmailLogPostType::POSTMAN_CUSTOM_POST_TYPE_SLUG
+ );
+
+ foreach ( $post_types as $type ) {
+
+ if (! post_type_exists ( $type ))
+ continue;
+
+ $num_posts = wp_count_posts ( $type );
+
+ if ($num_posts) {
+
+ $published = intval ( $num_posts->publish );
+ $privated = intval ( $num_posts->private );
+ $post_type = get_post_type_object ( $type );
+
+ $text = _n ( '%s ' . $post_type->labels->singular_name, '%s ' . $post_type->labels->name, $privated, Postman::TEXT_DOMAIN );
+ $text = sprintf ( $text, number_format_i18n ( $privated ) );
+
+ $items [] = sprintf ( '<a class="%1$s-count" href="%3$s">%2$s</a>', $type, $text, PostmanUtils::getEmailLogPageUrl () ) . "\n";
+ }
+ }
+
+ return $items;
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/Postman/Postman-Controller/PostmanManageConfigurationAjaxHandler.php b/Postman/Postman-Controller/PostmanManageConfigurationAjaxHandler.php
new file mode 100644
index 0000000..2c05b3a
--- /dev/null
+++ b/Postman/Postman-Controller/PostmanManageConfigurationAjaxHandler.php
@@ -0,0 +1,55 @@
+<?php
+class PostmanWizardSocket {
+
+ // these variables are populated by the Port Test
+ public $hostname;
+ public $hostnameDomainOnly;
+ public $port;
+ public $protocol;
+ public $secure;
+ public $mitm;
+ public $reportedHostname;
+ public $reportedHostnameDomainOnly;
+ public $message;
+ public $startTls;
+ public $authPlain;
+ public $auth_login;
+ public $auth_crammd5;
+ public $auth_xoauth;
+ public $auth_none;
+ public $try_smtps;
+ public $success;
+ public $transport;
+
+ // these variables are populated by The Transport Recommenders
+ public $label;
+ public $id;
+
+ /**
+ *
+ * @param unknown $queryHostData
+ */
+ function __construct($queryHostData) {
+ $this->hostname = $queryHostData ['hostname'];
+ $this->hostnameDomainOnly = $queryHostData ['hostname_domain_only'];
+ $this->port = $queryHostData ['port'];
+ $this->protocol = $queryHostData ['protocol'];
+ $this->secure = PostmanUtils::parseBoolean ( $queryHostData ['secure'] );
+ $this->mitm = PostmanUtils::parseBoolean ( $queryHostData ['mitm'] );
+ $this->reportedHostname = $queryHostData ['reported_hostname'];
+ $this->reportedHostnameDomainOnly = $queryHostData ['reported_hostname_domain_only'];
+ $this->message = $queryHostData ['message'];
+ $this->startTls = PostmanUtils::parseBoolean ( $queryHostData ['start_tls'] );
+ $this->authPlain = PostmanUtils::parseBoolean ( $queryHostData ['auth_plain'] );
+ $this->auth_login = PostmanUtils::parseBoolean ( $queryHostData ['auth_login'] );
+ $this->auth_crammd5 = PostmanUtils::parseBoolean ( $queryHostData ['auth_crammd5'] );
+ $this->auth_xoauth = PostmanUtils::parseBoolean ( $queryHostData ['auth_xoauth'] );
+ $this->auth_none = PostmanUtils::parseBoolean ( $queryHostData ['auth_none'] );
+ $this->try_smtps = PostmanUtils::parseBoolean ( $queryHostData ['try_smtps'] );
+ $this->success = PostmanUtils::parseBoolean ( $queryHostData ['success'] );
+ $this->transport = $queryHostData ['transport'];
+ assert ( ! empty ( $this->transport ) );
+ $this->id = sprintf ( '%s_%s', $this->hostname, $this->port );
+ }
+}
+
diff --git a/Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php b/Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php
new file mode 100644
index 0000000..46fbd19
--- /dev/null
+++ b/Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php
@@ -0,0 +1,275 @@
+<?php
+class PostmanDiagnosticTestController {
+ const DIAGNOSTICS_SLUG = 'postman/diagnostics';
+
+ // logging
+ private $logger;
+ private $options;
+
+ // Holds the values to be used in the fields callbacks
+ private $rootPluginFilenameAndPath;
+
+ /**
+ * Constructor
+ *
+ * @param unknown $rootPluginFilenameAndPath
+ */
+ public function __construct($rootPluginFilenameAndPath) {
+ assert ( ! empty ( $rootPluginFilenameAndPath ) );
+ assert ( PostmanUtils::isAdmin () );
+ assert ( is_admin () );
+
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ $this->rootPluginFilenameAndPath = $rootPluginFilenameAndPath;
+ $this->options = PostmanOptions::getInstance ();
+
+ // register the admin menu
+ PostmanUtils::registerAdminMenu ( $this, 'addDiagnosticsSubmenu' );
+
+ // hook on the init event
+ add_action ( 'init', array (
+ $this,
+ 'on_init'
+ ) );
+
+ // initialize the scripts, stylesheets and form fields
+ add_action ( 'admin_init', array (
+ $this,
+ 'on_admin_init'
+ ) );
+ }
+
+ /**
+ * Functions to execute on the init event
+ *
+ * "Typically used by plugins to initialize. The current user is already authenticated by this time."
+ * ref: http://codex.wordpress.org/Plugin_API/Action_Reference#Actions_Run_During_a_Typical_Request
+ */
+ public function on_init() {
+ // register Ajax handlers
+ new PostmanGetDiagnosticsViaAjax ();
+ }
+
+ /**
+ * Fires on the admin_init method
+ */
+ public function on_admin_init() {
+ //
+ $this->registerStylesAndScripts ();
+ }
+
+ /**
+ * Register and add settings
+ */
+ private function registerStylesAndScripts() {
+ if ($this->logger->isTrace ()) {
+ $this->logger->trace ( 'registerStylesAndScripts()' );
+ }
+
+ // register the javascript resource
+ $pluginData = apply_filters ( 'postman_get_plugin_metadata', null );
+ wp_register_script ( 'postman_diagnostics_script', plugins_url ( 'Postman/Postman-Diagnostic-Test/postman_diagnostics.js', $this->rootPluginFilenameAndPath ), array (
+ PostmanViewController::JQUERY_SCRIPT,
+ PostmanViewController::POSTMAN_SCRIPT
+ ), $pluginData ['version'] );
+ }
+
+ /**
+ * Register the Diagnostics screen
+ */
+ public function addDiagnosticsSubmenu() {
+ $page = add_submenu_page ( null, sprintf ( __ ( '%s Setup', Postman::TEXT_DOMAIN ), __ ( 'Postman SMTP', Postman::TEXT_DOMAIN ) ), __ ( 'Postman SMTP', Postman::TEXT_DOMAIN ), Postman::MANAGE_POSTMAN_CAPABILITY_NAME, PostmanDiagnosticTestController::DIAGNOSTICS_SLUG, array (
+ $this,
+ 'outputDiagnosticsContent'
+ ) );
+ // When the plugin options page is loaded, also load the stylesheet
+ add_action ( 'admin_print_styles-' . $page, array (
+ $this,
+ 'enqueueDiagnosticsScreenStylesheet'
+ ) );
+ }
+ function enqueueDiagnosticsScreenStylesheet() {
+ wp_enqueue_style ( PostmanViewController::POSTMAN_STYLE );
+ wp_enqueue_script ( 'postman_diagnostics_script' );
+ }
+
+ /**
+ */
+ public function outputDiagnosticsContent() {
+ // test features
+ print '<div class="wrap">';
+
+ PostmanViewController::outputChildPageHeader ( __ ( 'Diagnostic Test', Postman::TEXT_DOMAIN ) );
+
+ printf ( '<h4>%s</h4>', __ ( 'Are you having issues with Postman?', Postman::TEXT_DOMAIN ) );
+ /* translators: where %1$s and %2$s are the URLs to the Troubleshooting and Support Forums on WordPress.org */
+ printf ( '<p style="margin:0 10px">%s</p>', sprintf ( __ ( 'Please check the <a href="%1$s">troubleshooting and error messages</a> page and the <a href="%2$s">support forum</a>.', Postman::TEXT_DOMAIN ), 'https://wordpress.org/plugins/postman-smtp/other_notes/', 'https://wordpress.org/support/plugin/postman-smtp' ) );
+ printf ( '<h4>%s</h4>', __ ( 'Diagnostic Test', Postman::TEXT_DOMAIN ) );
+ printf ( '<p style="margin:0 10px">%s</p><br/>', sprintf ( __ ( 'If you write for help, please include the following:', Postman::TEXT_DOMAIN ), 'https://wordpress.org/plugins/postman-smtp/other_notes/', 'https://wordpress.org/support/plugin/postman-smtp' ) );
+ printf ( '<textarea readonly="readonly" id="diagnostic-text" cols="80" rows="15">%s</textarea>', _x ( 'Checking..', 'The "please wait" message', Postman::TEXT_DOMAIN ) );
+ print '</div>';
+ }
+}
+
+/**
+ *
+ * @author jasonhendriks
+ *
+ */
+class PostmanGetDiagnosticsViaAjax {
+ private $diagnostics;
+ private $options;
+ private $authorizationToken;
+ /**
+ * Constructor
+ *
+ * @param PostmanOptions $options
+ */
+ function __construct() {
+ $this->options = PostmanOptions::getInstance ();
+ $this->authorizationToken = PostmanOAuthToken::getInstance ();
+ $this->diagnostics = '';
+ PostmanUtils::registerAjaxHandler ( 'postman_diagnostics', $this, 'getDiagnostics' );
+ }
+ private function addToDiagnostics($header, $data) {
+ if (isset ( $data )) {
+ $this->diagnostics .= sprintf ( '%s: %s%s', $header, $data, PHP_EOL );
+ }
+ }
+ private function getActivePlugins() {
+ // from http://stackoverflow.com/questions/20488264/how-do-i-get-activated-plugin-list-in-wordpress-plugin-development
+ $apl = get_option ( 'active_plugins' );
+ $plugins = get_plugins ();
+ $pluginText = array ();
+ foreach ( $apl as $p ) {
+ if (isset ( $plugins [$p] )) {
+ array_push ( $pluginText, $plugins [$p] ['Name'] );
+ }
+ }
+ return implode ( ', ', $pluginText );
+ }
+ private function getPhpDependencies() {
+ $apl = PostmanPreRequisitesCheck::getState ();
+ $pluginText = array ();
+ foreach ( $apl as $p ) {
+ array_push ( $pluginText, $p ['name'] . '=' . ($p ['ready'] ? 'Yes' : 'No') );
+ }
+ return implode ( ', ', $pluginText );
+ }
+ private function getTransports() {
+ $transports = '';
+ foreach ( PostmanTransportRegistry::getInstance ()->getTransports () as $transport ) {
+ $transports .= ' : ' . $transport->getName ();
+ }
+ return $transports;
+ }
+
+ /**
+ * Diagnostic Data test to current SMTP server
+ *
+ * @return string
+ */
+ private function testConnectivity(PostmanModuleTransport $transport) {
+ $hostname = $transport->getHostname ( $this->options );
+ $port = $transport->getPort ( $this->options );
+ if (! empty ( $hostname ) && ! empty ( $port )) {
+ $portTest = new PostmanPortTest ( $transport->getHostname ( $this->options ), $transport->getPort ( $this->options ) );
+ $result = $portTest->genericConnectionTest ( $this->options->getConnectionTimeout () );
+ if ($result) {
+ return 'Yes';
+ } else {
+ return 'No';
+ }
+ }
+ return 'n/a';
+ }
+
+ /**
+ * Inspects the $wp_filter variable and returns the plugins attached to it
+ * From: http://stackoverflow.com/questions/5224209/wordpress-how-do-i-get-all-the-registered-functions-for-the-content-filter
+ */
+ private function getFilters($hook = '') {
+ global $wp_filter;
+ if (empty ( $hook ) || ! isset ( $wp_filter [$hook] ))
+ return null;
+ $functionArray = array ();
+ foreach ( $wp_filter [$hook] as $functions ) {
+ foreach ( $functions as $function ) {
+ $thing = $function ['function'];
+ if (is_array ( $thing )) {
+ $name = get_class ( $thing [0] ) . '->' . $thing [1];
+ array_push ( $functionArray, $name );
+ } else {
+ array_push ( $functionArray, $thing );
+ }
+ }
+ }
+ return implode ( ', ', $functionArray );
+ }
+
+ /**
+ */
+ public function getDiagnostics() {
+ $transportRegistry = PostmanTransportRegistry::getInstance ();
+ $this->addToDiagnostics ( 'OS', php_uname () );
+ $this->addToDiagnostics ( 'PHP', PHP_OS . ' ' . PHP_VERSION . ' ' . setlocale ( LC_CTYPE, 0 ) );
+ $this->addToDiagnostics ( 'PHP Dependencies', $this->getPhpDependencies () );
+ $this->addToDiagnostics ( 'WordPress', (is_multisite () ? 'Multisite ' : '') . get_bloginfo ( 'version' ) . ' ' . get_locale () . ' ' . get_bloginfo( 'charset', 'display' ) );
+ $this->addToDiagnostics ( 'WordPress Theme', wp_get_theme () );
+ $this->addToDiagnostics ( 'WordPress Plugins', $this->getActivePlugins () );
+ {
+ $bindResult = apply_filters ( 'postman_wp_mail_bind_status', null );
+ $wp_mail_file_name = 'n/a';
+ if (class_exists ( 'ReflectionFunction' )) {
+ $wp_mail = new ReflectionFunction ( 'wp_mail' );
+ $wp_mail_file_name = realpath ( $wp_mail->getFileName () );
+ }
+ if (! $bindResult ['bound']) {
+ $this->addToDiagnostics ( 'WordPress wp_mail Owner', $wp_mail_file_name );
+ }
+ }
+ $this->addToDiagnostics ( 'WordPress wp_mail Filter(s)', $this->getFilters ( 'wp_mail' ) );
+ $this->addToDiagnostics ( 'WordPress wp_mail_from Filter(s)', $this->getFilters ( 'wp_mail_from' ) );
+ $this->addToDiagnostics ( 'WordPress wp_mail_from_name Filter(s)', $this->getFilters ( 'wp_mail_from_name' ) );
+ $this->addToDiagnostics ( 'WordPress wp_mail_content_type Filter(s)', $this->getFilters ( 'wp_mail_content_type' ) );
+ $this->addToDiagnostics ( 'WordPress wp_mail_charset Filter(s)', $this->getFilters ( 'wp_mail_charset' ) );
+ $this->addToDiagnostics ( 'WordPress phpmailer_init Action(s)', $this->getFilters ( 'phpmailer_init' ) );
+ $pluginData = apply_filters ( 'postman_get_plugin_metadata', null );
+ $this->addToDiagnostics ( 'Postman', $pluginData ['version'] );
+ {
+ $s1 = $this->options->getEnvelopeSender ();
+ $s2 = $this->options->getMessageSenderEmail ();
+ if (! empty ( $s1 ) || ! empty ( $s2 )) {
+ $this->addToDiagnostics ( 'Postman Sender Domain (Envelope|Message)', ($hostname = substr ( strrchr ( $this->options->getEnvelopeSender (), "@" ), 1 )) . ' | ' . ($hostname = substr ( strrchr ( $this->options->getMessageSenderEmail (), "@" ), 1 )) );
+ }
+ }
+ $this->addToDiagnostics ( 'Postman Prevent Message Sender Override (Email|Name)', ($this->options->isSenderEmailOverridePrevented () ? 'Yes' : 'No') . ' | ' . ($this->options->isSenderNameOverridePrevented () ? 'Yes' : 'No') );
+ {
+ // status of the active transport
+ $transport = $transportRegistry->getActiveTransport ();
+ $this->addToDiagnostics ( 'Postman Active Transport', sprintf ( '%s (%s)', $transport->getName (), $transportRegistry->getPublicTransportUri ( $transport ) ) );
+ $this->addToDiagnostics ( 'Postman Active Transport Status (Ready|Connected)', ($transport->isConfiguredAndReady () ? 'Yes' : 'No') . ' | ' . ($this->testConnectivity ( $transport )) );
+ }
+ if ($transportRegistry->getActiveTransport () != $transportRegistry->getSelectedTransport () && $transportRegistry->getSelectedTransport () != null) {
+ // status of the selected transport
+ $transport = $transportRegistry->getSelectedTransport ();
+ $this->addToDiagnostics ( 'Postman Selected Transport', sprintf ( '%s (%s)', $transport->getName (), $transportRegistry->getPublicTransportUri ( $transport ) ) );
+ $this->addToDiagnostics ( 'Postman Selected Transport Status (Ready|Connected)', ($transport->isConfiguredAndReady () ? 'Yes' : 'No') . ' | ' . ($this->testConnectivity ( $transport )) );
+ }
+ $this->addToDiagnostics ( 'Postman Deliveries (Success|Fail)', (PostmanState::getInstance ()->getSuccessfulDeliveries ()) . ' | ' . (PostmanState::getInstance ()->getFailedDeliveries ()) );
+ if ($this->options->getConnectionTimeout () != PostmanOptions::DEFAULT_TCP_CONNECTION_TIMEOUT || $this->options->getReadTimeout () != PostmanOptions::DEFAULT_TCP_READ_TIMEOUT) {
+ $this->addToDiagnostics ( 'Postman TCP Timeout (Connection|Read)', $this->options->getConnectionTimeout () . ' | ' . $this->options->getReadTimeout () );
+ }
+ if ($this->options->isMailLoggingEnabled () != PostmanOptions::DEFAULT_MAIL_LOG_ENABLED || $this->options->getMailLoggingMaxEntries () != PostmanOptions::DEFAULT_MAIL_LOG_ENTRIES || $this->options->getTranscriptSize () != PostmanOptions::DEFAULT_TRANSCRIPT_SIZE) {
+ $this->addToDiagnostics ( 'Postman Email Log (Enabled|Limit|Transcript Size)', ($this->options->isMailLoggingEnabled () ? 'Yes' : 'No') . ' | ' . $this->options->getMailLoggingMaxEntries () . ' | ' . $this->options->getTranscriptSize () );
+ }
+ $this->addToDiagnostics ( 'Postman Run Mode', $this->options->getRunMode () == PostmanOptions::RUN_MODE_PRODUCTION ? null : $this->options->getRunMode () );
+ $this->addToDiagnostics ( 'Postman PHP LogLevel', $this->options->getLogLevel () == PostmanLogger::ERROR_INT ? null : $this->options->getLogLevel () );
+ $this->addToDiagnostics ( 'Postman Stealth Mode', $this->options->isStealthModeEnabled () ? 'Yes' : null );
+ $this->addToDiagnostics ( 'Postman File Locking (Enabled|Temp Dir)', PostmanState::getInstance ()->isFileLockingEnabled () ? null : 'No' . ' | ' . $this->options->getTempDirectory () );
+ $response = array (
+ 'message' => $this->diagnostics
+ );
+ wp_send_json_success ( $response );
+ }
+}
diff --git a/Postman/Postman-Diagnostic-Test/postman_diagnostics.js b/Postman/Postman-Diagnostic-Test/postman_diagnostics.js
new file mode 100644
index 0000000..4aeaa5c
--- /dev/null
+++ b/Postman/Postman-Diagnostic-Test/postman_diagnostics.js
@@ -0,0 +1,18 @@
+jQuery(document).ready(function() {
+ getDiagnosticData();
+});
+
+/**
+ */
+function getDiagnosticData() {
+ var data = {
+ 'action' : 'postman_diagnostics'
+ };
+ jQuery.post(ajaxurl, data, function(response) {
+ if (response.success) {
+ jQuery('#diagnostic-text').val(response.data.message);
+ }
+ }).fail(function(response) {
+ ajaxFailed(response);
+ });
+}
diff --git a/Postman/Postman-Email-Log/PostmanEmailLogController.php b/Postman/Postman-Email-Log/PostmanEmailLogController.php
new file mode 100644
index 0000000..2aacba6
--- /dev/null
+++ b/Postman/Postman-Email-Log/PostmanEmailLogController.php
@@ -0,0 +1,356 @@
+<?php
+require_once 'PostmanEmailLogService.php';
+require_once 'PostmanEmailLogView.php';
+
+/**
+ *
+ * @author jasonhendriks
+ *
+ */
+class PostmanEmailLogController {
+ const RESEND_MAIL_AJAX_SLUG = 'postman_resend_mail';
+ private $rootPluginFilenameAndPath;
+ private $logger;
+
+ /**
+ */
+ function __construct($rootPluginFilenameAndPath) {
+ $this->rootPluginFilenameAndPath = $rootPluginFilenameAndPath;
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ if (PostmanOptions::getInstance ()->isMailLoggingEnabled ()) {
+ add_action ( 'admin_menu', array (
+ $this,
+ 'postmanAddMenuItem'
+ ) );
+ } else {
+ $this->logger->trace ( 'not creating PostmanEmailLog admin menu item' );
+ }
+ if (PostmanUtils::isCurrentPagePostmanAdmin ( 'postman_email_log' )) {
+ $this->logger->trace ( 'on postman email log page' );
+ // $this->logger->debug ( 'Registering ' . $actionName . ' Action Post handler' );
+ add_action ( 'admin_post_delete', array (
+ $this,
+ 'delete_log_item'
+ ) );
+ add_action ( 'admin_post_view', array (
+ $this,
+ 'view_log_item'
+ ) );
+ add_action ( 'admin_post_transcript', array (
+ $this,
+ 'view_transcript_log_item'
+ ) );
+ add_action ( 'admin_init', array (
+ $this,
+ 'on_admin_init'
+ ) );
+ }
+ if (is_admin ()) {
+ $actionName = self::RESEND_MAIL_AJAX_SLUG;
+ $fullname = 'wp_ajax_' . $actionName;
+ // $this->logger->debug ( 'Registering ' . 'wp_ajax_' . $fullname . ' Ajax handler' );
+ add_action ( $fullname, array (
+ $this,
+ 'resendMail'
+ ) );
+ }
+ }
+
+ /**
+ */
+ function on_admin_init() {
+ $this->handleBulkAction ();
+ // register the stylesheet and javascript external resources
+ $pluginData = apply_filters ( 'postman_get_plugin_metadata', null );
+ wp_register_script ( 'postman_resend_email_script', plugins_url ( 'script/postman_resend_email_sript.js', $this->rootPluginFilenameAndPath ), array (
+ PostmanViewController::JQUERY_SCRIPT,
+ PostmanViewController::POSTMAN_SCRIPT
+ ), $pluginData ['version'] );
+ }
+
+ /**
+ */
+ public function resendMail() {
+ // get the email address of the recipient from the HTTP Request
+ $postid = $this->getRequestParameter ( 'email' );
+ if (! empty ( $postid )) {
+ $post = get_post ( $postid );
+ $meta_values = get_post_meta ( $postid );
+
+ $success = wp_mail ( $meta_values ['original_to'] [0], $meta_values ['original_subject'] [0], $meta_values ['original_message'] [0], $meta_values ['original_headers'] [0] );
+
+ // Postman API: retrieve the result of sending this message from Postman
+ $result = apply_filters ( 'postman_wp_mail_result', null );
+ $transcript = $result ['transcript'];
+
+ // post-handling
+ if ($success) {
+ $this->logger->debug ( 'Email was successfully re-sent' );
+ // the message was sent successfully, generate an appropriate message for the user
+ $statusMessage = sprintf ( __ ( 'Your message was delivered (%d ms) to the SMTP server! Congratulations :)', Postman::TEXT_DOMAIN ), $result ['time'] );
+
+ // compose the JSON response for the caller
+ $response = array (
+ 'message' => $statusMessage,
+ 'transcript' => $transcript
+ );
+ $this->logger->trace ( 'AJAX response' );
+ $this->logger->trace ( $response );
+ // send the JSON response
+ wp_send_json_success ( $response );
+ } else {
+ $this->logger->error ( 'Email was not successfully re-sent - ' . $result ['exception']->getCode () );
+ // the message was NOT sent successfully, generate an appropriate message for the user
+ $statusMessage = $result ['exception']->getMessage ();
+
+ // compose the JSON response for the caller
+ $response = array (
+ 'message' => $statusMessage,
+ 'transcript' => $transcript
+ );
+ $this->logger->trace ( 'AJAX response' );
+ $this->logger->trace ( $response );
+ // send the JSON response
+ wp_send_json_error ( $response );
+ }
+ } else {
+ // compose the JSON response for the caller
+ $response = array ();
+ // send the JSON response
+ wp_send_json_error ( $response );
+ }
+ }
+
+ /**
+ * TODO move this somewhere reusable
+ *
+ * @param unknown $parameterName
+ * @return unknown
+ */
+ private function getRequestParameter($parameterName) {
+ if (isset ( $_POST [$parameterName] )) {
+ $value = filter_var( $_POST [$parameterName], FILTER_SANITIZE_STRING );
+ $this->logger->trace ( sprintf ( 'Found parameter "%s"', $parameterName ) );
+ $this->logger->trace ( $value );
+ return $value;
+ }
+ }
+
+ /**
+ * From https://www.skyverge.com/blog/add-custom-bulk-action/
+ */
+ function handleBulkAction() {
+ // only do this for administrators
+ if (PostmanUtils::isAdmin () && isset ( $_REQUEST ['email_log_entry'] )) {
+ $this->logger->trace ( 'handling bulk action' );
+ if (wp_verify_nonce ( $_REQUEST ['_wpnonce'], 'bulk-email_log_entries' )) {
+ $this->logger->trace ( sprintf ( 'nonce "%s" passed validation', $_REQUEST ['_wpnonce'] ) );
+ if (isset ( $_REQUEST ['action'] ) && ($_REQUEST ['action'] == 'bulk_delete' || $_REQUEST ['action2'] == 'bulk_delete')) {
+ $this->logger->trace ( sprintf ( 'handling bulk delete' ) );
+ $purger = new PostmanEmailLogPurger ();
+ $postids = $_REQUEST ['email_log_entry'];
+ foreach ( $postids as $postid ) {
+ $purger->verifyLogItemExistsAndRemove ( $postid );
+ }
+ $mh = new PostmanMessageHandler ();
+ $mh->addMessage ( __ ( 'Mail Log Entries were deleted.', Postman::TEXT_DOMAIN ) );
+ } else {
+ $this->logger->warn ( sprintf ( 'action "%s" not recognized', $_REQUEST ['action'] ) );
+ }
+ } else {
+ $this->logger->warn ( sprintf ( 'nonce "%s" failed validation', $_REQUEST ['_wpnonce'] ) );
+ }
+ $this->redirectToLogPage ();
+ }
+ }
+
+ /**
+ */
+ function delete_log_item() {
+ // only do this for administrators
+ if (PostmanUtils::isAdmin ()) {
+ $this->logger->trace ( 'handling delete item' );
+ $postid = $_REQUEST ['email'];
+ if (wp_verify_nonce ( $_REQUEST ['_wpnonce'], 'delete_email_log_item_' . $postid )) {
+ $this->logger->trace ( sprintf ( 'nonce "%s" passed validation', $_REQUEST ['_wpnonce'] ) );
+ $purger = new PostmanEmailLogPurger ();
+ $purger->verifyLogItemExistsAndRemove ( $postid );
+ $mh = new PostmanMessageHandler ();
+ $mh->addMessage ( __ ( 'Mail Log Entry was deleted.', Postman::TEXT_DOMAIN ) );
+ } else {
+ $this->logger->warn ( sprintf ( 'nonce "%s" failed validation', $_REQUEST ['_wpnonce'] ) );
+ }
+ $this->redirectToLogPage ();
+ }
+ }
+
+ /**
+ */
+ function view_log_item() {
+ // only do this for administrators
+ if (PostmanUtils::isAdmin ()) {
+ $this->logger->trace ( 'handling view item' );
+ $postid = $_REQUEST ['email'];
+ $post = get_post ( $postid );
+ $meta_values = get_post_meta ( $postid );
+ // https://css-tricks.com/examples/hrs/
+ print '<html><head><style>body {font-family: monospace;} hr {
+ border: 0;
+ border-bottom: 1px dashed #ccc;
+ background: #bbb;
+}</style></head><body>';
+ print '<table>';
+ if (! empty ( $meta_values ['from_header'] [0] )) {
+ printf ( '<tr><th style="text-align:right">%s:</th><td>%s</td></tr>', _x ( 'From', 'Who is this message From?', Postman::TEXT_DOMAIN ), esc_html ( $meta_values ['from_header'] [0] ) );
+ }
+ // show the To header (it's optional)
+ if (! empty ( $meta_values ['to_header'] [0] )) {
+ printf ( '<tr><th style="text-align:right">%s:</th><td>%s</td></tr>', _x ( 'To', 'Who is this message To?', Postman::TEXT_DOMAIN ), esc_html ( $meta_values ['to_header'] [0] ) );
+ }
+ // show the Cc header (it's optional)
+ if (! empty ( $meta_values ['cc_header'] [0] )) {
+ printf ( '<tr><th style="text-align:right">%s:</th><td>%s</td></tr>', _x ( 'Cc', 'Who is this message Cc\'d to?', Postman::TEXT_DOMAIN ), esc_html ( $meta_values ['cc_header'] [0] ) );
+ }
+ // show the Bcc header (it's optional)
+ if (! empty ( $meta_values ['bcc_header'] [0] )) {
+ printf ( '<tr><th style="text-align:right">%s:</th><td>%s</td></tr>', _x ( 'Bcc', 'Who is this message Bcc\'d to?', Postman::TEXT_DOMAIN ), esc_html ( $meta_values ['bcc_header'] [0] ) );
+ }
+ // show the Reply-To header (it's optional)
+ if (! empty ( $meta_values ['reply_to_header'] [0] )) {
+ printf ( '<tr><th style="text-align:right">%s:</th><td>%s</td></tr>', __ ( 'Reply-To', Postman::TEXT_DOMAIN ), esc_html ( $meta_values ['reply_to_header'] [0] ) );
+ }
+ printf ( '<tr><th style="text-align:right">%s:</th><td>%s</td></tr>', _x ( 'Date', 'What is the date today?', Postman::TEXT_DOMAIN ), $post->post_date );
+ printf ( '<tr><th style="text-align:right">%s:</th><td>%s</td></tr>', _x ( 'Subject', 'What is the subject of this message?', Postman::TEXT_DOMAIN ), esc_html ( $post->post_title ) );
+ // The Transport UI is always there, in more recent versions that is
+ if (! empty ( $meta_values ['transport_uri'] [0] )) {
+ printf ( '<tr><th style="text-align:right">%s:</th><td>%s</td></tr>', _x ( 'Delivery-URI', 'What is the unique URI of the configuration?', Postman::TEXT_DOMAIN ), esc_html ( $meta_values ['transport_uri'] [0] ) );
+ }
+ print '</table>';
+ print '<hr/>';
+ print '<pre>';
+ print esc_html ( $post->post_content );
+ print '</pre>';
+ print '</body></html>';
+ die ();
+ }
+ }
+
+ /**
+ */
+ function view_transcript_log_item() {
+ // only do this for administrators
+ if (PostmanUtils::isAdmin ()) {
+ $this->logger->trace ( 'handling view transcript item' );
+ $postid = $_REQUEST ['email'];
+ $post = get_post ( $postid );
+ $meta_values = get_post_meta ( $postid );
+ // https://css-tricks.com/examples/hrs/
+ print '<html><head><style>body {font-family: monospace;} hr {
+ border: 0;
+ border-bottom: 1px dashed #ccc;
+ background: #bbb;
+}</style></head><body>';
+ printf ( '<p>%s</p>', __ ( 'This is the conversation between Postman and the mail server. It can be useful for diagnosing problems. <b>DO NOT</b> post it on-line, it may contain your account password.', Postman::TEXT_DOMAIN ) );
+ print '<hr/>';
+ print '<pre>';
+ if (! empty ( $meta_values ['session_transcript'] [0] )) {
+ print esc_html ( $meta_values ['session_transcript'] [0] );
+ } else {
+ /* Translators: Meaning "Not Applicable" */
+ print __ ( 'n/a', Postman::TEXT_DOMAIN );
+ }
+ print '</pre>';
+ print '</body></html>';
+ die ();
+ }
+ }
+
+ /**
+ * For whatever reason, PostmanUtils::get..url doesn't work here? :(
+ */
+ function redirectToLogPage() {
+ PostmanUtils::redirect ( PostmanUtils::POSTMAN_EMAIL_LOG_PAGE_RELATIVE_URL );
+ die ();
+ }
+
+ /**
+ * Register the page
+ */
+ function postmanAddMenuItem() {
+ // only do this for administrators
+ if (PostmanUtils::isAdmin ()) {
+ $this->logger->trace ( 'created PostmanEmailLog admin menu item' );
+ /* Translators where (%s) is the name of the plugin */
+ $page = add_management_page ( sprintf ( __ ( '%s Email Log', Postman::TEXT_DOMAIN ), __ ( 'Postman SMTP', Postman::TEXT_DOMAIN ) ), _x ( 'Email Log', 'The log of Emails that have been delivered', Postman::TEXT_DOMAIN ), 'read_private_posts', 'postman_email_log', array (
+ $this,
+ 'postman_render_email_page'
+ ) );
+ // When the plugin options page is loaded, also load the stylesheet
+ add_action ( 'admin_print_styles-' . $page, array (
+ $this,
+ 'postman_email_log_enqueue_resources'
+ ) );
+ }
+ }
+ function postman_email_log_enqueue_resources() {
+ $pluginData = apply_filters ( 'postman_get_plugin_metadata', null );
+ wp_register_style ( 'postman_email_log', plugins_url ( 'style/postman-email-log.css', $this->rootPluginFilenameAndPath ), null, $pluginData ['version'] );
+ wp_enqueue_style ( 'postman_email_log' );
+ wp_enqueue_script ( 'postman_resend_email_script' );
+ wp_enqueue_script ( 'sprintf' );
+ wp_localize_script ( 'postman_resend_email_script', 'postman_js_email_was_resent', __ ( 'Email was successfully resent (but without attachments)', Postman::TEXT_DOMAIN ) );
+ /* Translators: Where %s is an error message */
+ wp_localize_script ( 'postman_resend_email_script', 'postman_js_email_not_resent', __ ( 'Email could not be resent. Error: %s', Postman::TEXT_DOMAIN ) );
+ wp_localize_script ( 'postman_resend_email_script', 'postman_js_resend_label', __ ( 'Resend', Postman::TEXT_DOMAIN ) );
+ }
+
+ /**
+ * *************************** RENDER TEST PAGE ********************************
+ * ******************************************************************************
+ * This function renders the admin page and the example list table.
+ * Although it's
+ * possible to call prepare_items() and display() from the constructor, there
+ * are often times where you may need to include logic here between those steps,
+ * so we've instead called those methods explicitly. It keeps things flexible, and
+ * it's the way the list tables are used in the WordPress core.
+ */
+ function postman_render_email_page() {
+
+ // Create an instance of our package class...
+ $testListTable = new PostmanEmailLogView ();
+ wp_enqueue_script ( 'postman_resend_email_script' );
+ // Fetch, prepare, sort, and filter our data...
+ $testListTable->prepare_items ();
+
+ ?>
+<div class="wrap">
+
+ <div id="icon-users" class="icon32">
+ <br />
+ </div>
+ <h2><?php
+/* Translators where (%s) is the name of the plugin */
+ echo sprintf ( __ ( '%s Email Log', Postman::TEXT_DOMAIN ), __ ( 'Postman SMTP', Postman::TEXT_DOMAIN ) )?></h2>
+
+ <div
+ style="background: #ECECEC; border: 1px solid #CCC; padding: 0 10px; margin-top: 5px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;">
+ <p><?php
+
+ echo __ ( 'This is a record of deliveries made to the mail server. It does not neccessarily indicate sucessful delivery to the recipient.', Postman::TEXT_DOMAIN )?></p>
+ </div>
+
+ <!-- Forms are NOT created automatically, so you need to wrap the table in one to use features like bulk actions -->
+ <form id="movies-filter" method="get">
+ <!-- For plugins, we also need to ensure that the form posts back to our current page -->
+ <input type="hidden" name="page"
+ value="<?php echo filter_input( INPUT_GET, 'page', FILTER_SANITIZE_STRING ); ?>" />
+ <!-- Now we can render the completed list table -->
+ <?php $testListTable->display()?>
+ </form>
+
+ <?php add_thickbox(); ?>
+
+</div>
+<?php
+ }
+}
diff --git a/Postman/Postman-Email-Log/PostmanEmailLogPostType.php b/Postman/Postman-Email-Log/PostmanEmailLogPostType.php
new file mode 100644
index 0000000..d45f92d
--- /dev/null
+++ b/Postman/Postman-Email-Log/PostmanEmailLogPostType.php
@@ -0,0 +1,48 @@
+<?php
+if (! class_exists ( 'PostmanEmailLogPostType' )) {
+
+ /**
+ * This class creates the Custom Post Type for Email Logs and handles writing these posts.
+ *
+ * @author jasonhendriks
+ */
+ class PostmanEmailLogPostType {
+
+ // constants
+ const POSTMAN_CUSTOM_POST_TYPE_SLUG = 'postman_sent_mail';
+
+ /**
+ * Behavior to run on the WordPress 'init' action
+ */
+ public static function automaticallyCreatePostType() {
+ add_action ( 'init', array (
+ new PostmanEmailLogPostType (),
+ 'create_post_type'
+ ) );
+ }
+
+ /**
+ * Create a custom post type
+ * Callback function - must be public scope
+ *
+ * register_post_type should only be invoked through the 'init' action.
+ * It will not work if called before 'init', and aspects of the newly
+ * created or modified post type will work incorrectly if called later.
+ *
+ * https://codex.wordpress.org/Function_Reference/register_post_type
+ */
+ public static function create_post_type() {
+ register_post_type ( self::POSTMAN_CUSTOM_POST_TYPE_SLUG, array (
+ 'labels' => array (
+ 'name' => _x ( 'Sent Emails', 'The group of Emails that have been delivered', Postman::TEXT_DOMAIN ),
+ 'singular_name' => _x ( 'Sent Email', 'An Email that has been delivered', Postman::TEXT_DOMAIN )
+ ),
+ 'capability_type' => '',
+ 'capabilities' => array ()
+ ) );
+ $logger = new PostmanLogger ( 'PostmanEmailLogPostType' );
+ $logger->trace ( 'Created post type: ' . self::POSTMAN_CUSTOM_POST_TYPE_SLUG );
+ }
+ }
+}
+
diff --git a/Postman/Postman-Email-Log/PostmanEmailLogService.php b/Postman/Postman-Email-Log/PostmanEmailLogService.php
new file mode 100644
index 0000000..b6dd98b
--- /dev/null
+++ b/Postman/Postman-Email-Log/PostmanEmailLogService.php
@@ -0,0 +1,279 @@
+<?php
+if (! class_exists ( 'PostmanEmailLog' )) {
+ class PostmanEmailLog {
+ public $sender;
+ public $toRecipients;
+ public $ccRecipients;
+ public $bccRecipients;
+ public $subject;
+ public $body;
+ public $success;
+ public $statusMessage;
+ public $sessionTranscript;
+ public $transportUri;
+ public $replyTo;
+ public $originalTo;
+ public $originalSubject;
+ public $originalMessage;
+ public $originalHeaders;
+ }
+}
+
+if (! class_exists ( 'PostmanEmailLogService' )) {
+
+ /**
+ * This class creates the Custom Post Type for Email Logs and handles writing these posts.
+ *
+ * @author jasonhendriks
+ */
+ class PostmanEmailLogService {
+
+ /*
+ * Private content is published only for your eyes, or the eyes of only those with authorization
+ * permission levels to see private content. Normal users and visitors will not be aware of
+ * private content. It will not appear in the article lists. If a visitor were to guess the URL
+ * for your private post, they would still not be able to see your content. You will only see
+ * the private content when you are logged into your WordPress blog.
+ */
+ const POSTMAN_CUSTOM_POST_STATUS_PRIVATE = 'private';
+
+ // member variables
+ private $logger;
+ private $inst;
+
+ /**
+ * Constructor
+ */
+ private function __construct() {
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ }
+
+ /**
+ * singleton instance
+ */
+ public static function getInstance() {
+ static $inst = null;
+ if ($inst === null) {
+ $inst = new PostmanEmailLogService ();
+ }
+ return $inst;
+ }
+
+ /**
+ * Logs successful email attempts
+ *
+ * @param PostmanMessage $message
+ * @param unknown $transcript
+ * @param PostmanModuleTransport $transport
+ */
+ public function writeSuccessLog(PostmanEmailLog $log, PostmanMessage $message, $transcript, PostmanModuleTransport $transport) {
+ if (PostmanOptions::getInstance ()->isMailLoggingEnabled ()) {
+ $statusMessage = '';
+ $status = true;
+ $subject = $message->getSubject ();
+ if (empty ( $subject )) {
+ $statusMessage = sprintf ( '%s: %s', __ ( 'Warning', Postman::TEXT_DOMAIN ), __ ( 'An empty subject line can result in delivery failure.', Postman::TEXT_DOMAIN ) );
+ $status = 'WARN';
+ }
+ $this->createLog ( $log, $message, $transcript, $statusMessage, $status, $transport );
+ $this->writeToEmailLog ( $log );
+ }
+ }
+
+ /**
+ * Logs failed email attempts, requires more metadata so the email can be resent in the future
+ *
+ * @param PostmanMessage $message
+ * @param unknown $transcript
+ * @param PostmanModuleTransport $transport
+ * @param unknown $statusMessage
+ * @param unknown $originalTo
+ * @param unknown $originalSubject
+ * @param unknown $originalMessage
+ * @param unknown $originalHeaders
+ */
+ public function writeFailureLog(PostmanEmailLog $log, PostmanMessage $message = null, $transcript, PostmanModuleTransport $transport, $statusMessage) {
+ if (PostmanOptions::getInstance ()->isMailLoggingEnabled ()) {
+ $this->createLog ( $log, $message, $transcript, $statusMessage, false, $transport );
+ $this->writeToEmailLog ( $log );
+ }
+ }
+
+ /**
+ * Writes an email sending attempt to the Email Log
+ *
+ * From http://wordpress.stackexchange.com/questions/8569/wp-insert-post-php-function-and-custom-fields
+ */
+ private function writeToEmailLog(PostmanEmailLog $log) {
+ // nothing here is sanitized as WordPress should take care of
+ // making database writes safe
+ $my_post = array (
+ 'post_type' => PostmanEmailLogPostType::POSTMAN_CUSTOM_POST_TYPE_SLUG,
+ 'post_title' => $log->subject,
+ 'post_content' => $log->body,
+ 'post_excerpt' => $log->statusMessage,
+ 'post_status' => PostmanEmailLogService::POSTMAN_CUSTOM_POST_STATUS_PRIVATE
+ );
+
+ // Insert the post into the database (WordPress gives us the Post ID)
+ $post_id = wp_insert_post ( $my_post );
+ $this->logger->debug ( sprintf ( 'Saved message #%s to the database', $post_id ) );
+ $this->logger->trace ( $log );
+
+ // Write the meta data related to the email
+ update_post_meta ( $post_id, 'success', $log->success );
+ update_post_meta ( $post_id, 'from_header', $log->sender );
+ if (! empty ( $log->toRecipients )) {
+ update_post_meta ( $post_id, 'to_header', $log->toRecipients );
+ }
+ if (! empty ( $log->ccRecipients )) {
+ update_post_meta ( $post_id, 'cc_header', $log->ccRecipients );
+ }
+ if (! empty ( $log->bccRecipients )) {
+ update_post_meta ( $post_id, 'bcc_header', $log->bccRecipients );
+ }
+ if (! empty ( $log->replyTo )) {
+ update_post_meta ( $post_id, 'reply_to_header', $log->replyTo );
+ }
+ update_post_meta ( $post_id, 'transport_uri', $log->transportUri );
+
+ if (! $log->success || true) {
+ // alwas add the meta data so we can re-send it
+ update_post_meta ( $post_id, 'original_to', $log->originalTo );
+ update_post_meta ( $post_id, 'original_subject', $log->originalSubject );
+ update_post_meta ( $post_id, 'original_message', $log->originalMessage );
+ update_post_meta ( $post_id, 'original_headers', $log->originalHeaders );
+ }
+
+ // we do not sanitize the session transcript - let the reader decide how to handle the data
+ update_post_meta ( $post_id, 'session_transcript', $log->sessionTranscript );
+
+ // truncate the log (remove older entries)
+ $purger = new PostmanEmailLogPurger ();
+ $purger->truncateLogItems ( PostmanOptions::getInstance ()->getMailLoggingMaxEntries () );
+ }
+
+ /**
+ * Creates a Log object for use by writeToEmailLog()
+ *
+ * @param PostmanMessage $message
+ * @param unknown $transcript
+ * @param unknown $statusMessage
+ * @param unknown $success
+ * @param PostmanModuleTransport $transport
+ * @return PostmanEmailLog
+ */
+ private function createLog(PostmanEmailLog $log, PostmanMessage $message = null, $transcript, $statusMessage, $success, PostmanModuleTransport $transport) {
+ if ($message) {
+ $log->sender = $message->getFromAddress ()->format ();
+ $log->toRecipients = $this->flattenEmails ( $message->getToRecipients () );
+ $log->ccRecipients = $this->flattenEmails ( $message->getCcRecipients () );
+ $log->bccRecipients = $this->flattenEmails ( $message->getBccRecipients () );
+ $log->subject = $message->getSubject ();
+ $log->body = $message->getBody ();
+ if (null !== $message->getReplyTo ()) {
+ $log->replyTo = $message->getReplyTo ()->format ();
+ }
+ }
+ $log->success = $success;
+ $log->statusMessage = $statusMessage;
+ $log->transportUri = PostmanTransportRegistry::getInstance ()->getPublicTransportUri ( $transport );
+ $log->sessionTranscript = $log->transportUri . "\n\n" . $transcript;
+ return $log;
+ }
+
+ /**
+ * Creates a readable "TO" entry based on the recipient header
+ *
+ * @param array $addresses
+ * @return string
+ */
+ private static function flattenEmails(array $addresses) {
+ $flat = '';
+ $count = 0;
+ foreach ( $addresses as $address ) {
+ if ($count >= 3) {
+ $flat .= sprintf ( __ ( '.. +%d more', Postman::TEXT_DOMAIN ), sizeof ( $addresses ) - $count );
+ break;
+ }
+ if ($count > 0) {
+ $flat .= ', ';
+ }
+ $flat .= $address->format ();
+ $count ++;
+ }
+ return $flat;
+ }
+ }
+}
+
+if (! class_exists ( 'PostmanEmailLogPurger' )) {
+ class PostmanEmailLogPurger {
+ private $posts;
+ private $logger;
+
+ /**
+ *
+ * @return unknown
+ */
+ function __construct() {
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ $args = array (
+ 'posts_per_page' => 1000,
+ 'offset' => 0,
+ 'category' => '',
+ 'category_name' => '',
+ 'orderby' => 'date',
+ 'order' => 'DESC',
+ 'include' => '',
+ 'exclude' => '',
+ 'meta_key' => '',
+ 'meta_value' => '',
+ 'post_type' => PostmanEmailLogPostType::POSTMAN_CUSTOM_POST_TYPE_SLUG,
+ 'post_mime_type' => '',
+ 'post_parent' => '',
+ 'post_status' => 'private',
+ 'suppress_filters' => true
+ );
+ $this->posts = get_posts ( $args );
+ }
+
+ /**
+ *
+ * @param array $posts
+ * @param unknown $postid
+ */
+ function verifyLogItemExistsAndRemove($postid) {
+ $force_delete = true;
+ foreach ( $this->posts as $post ) {
+ if ($post->ID == $postid) {
+ $this->logger->debug ( 'deleting log item ' . intval($postid) );
+ wp_delete_post ( $postid, $force_delete );
+ return;
+ }
+ }
+ $this->logger->warn ( 'could not find Postman Log Item #' . $postid );
+ }
+ function removeAll() {
+ $this->logger->debug ( sprintf ( 'deleting %d log items ', sizeof ( $this->posts ) ) );
+ $force_delete = true;
+ foreach ( $this->posts as $post ) {
+ wp_delete_post ( $post->ID, $force_delete );
+ }
+ }
+
+ /**
+ *
+ * @param unknown $size
+ */
+ function truncateLogItems($size) {
+ $index = count ( $this->posts );
+ $force_delete = true;
+ while ( $index > $size ) {
+ $postid = $this->posts [-- $index]->ID;
+ $this->logger->debug ( 'deleting log item ' . $postid );
+ wp_delete_post ( $postid, $force_delete );
+ }
+ }
+ }
+}
diff --git a/Postman/Postman-Email-Log/PostmanEmailLogView.php b/Postman/Postman-Email-Log/PostmanEmailLogView.php
new file mode 100644
index 0000000..ef06a29
--- /dev/null
+++ b/Postman/Postman-Email-Log/PostmanEmailLogView.php
@@ -0,0 +1,419 @@
+<?php
+
+/**
+ * See http://wpengineer.com/2426/wp_list_table-a-step-by-step-guide/
+ *
+ */
+if (! class_exists ( 'WP_List_Table' )) {
+ require_once (ABSPATH . 'wp-admin/includes/class-wp-list-table.php');
+}
+class PostmanEmailLogView extends WP_List_Table {
+ private $logger;
+
+ /**
+ * ************************************************************************
+ * REQUIRED.
+ * Set up a constructor that references the parent constructor. We
+ * use the parent reference to set some default configs.
+ * *************************************************************************
+ */
+ function __construct() {
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+
+ // Set parent defaults
+ parent::__construct ( array (
+ 'singular' => 'email_log_entry', // singular name of the listed records
+ 'plural' => 'email_log_entries', // plural name of the listed records
+ 'ajax' => false
+ ) ); // does this table support ajax?
+ }
+
+ /**
+ * ************************************************************************
+ * Recommended.
+ * This method is called when the parent class can't find a method
+ * specifically build for a given column. Generally, it's recommended to include
+ * one method for each column you want to render, keeping your package class
+ * neat and organized. For example, if the class needs to process a column
+ * named 'title', it would first see if a method named $this->column_title()
+ * exists - if it does, that method will be used. If it doesn't, this one will
+ * be used. Generally, you should try to use custom column methods as much as
+ * possible.
+ *
+ * Since we have defined a column_title() method later on, this method doesn't
+ * need to concern itself with any column with a name of 'title'. Instead, it
+ * needs to handle everything else.
+ *
+ * For more detailed insight into how columns are handled, take a look at
+ * WP_List_Table::single_row_columns()
+ *
+ * @param array $item
+ * A singular item (one full row's worth of data)
+ * @param array $column_name
+ * The name/slug of the column to be processed
+ * @return string Text or HTML to be placed inside the column <td>
+ * ************************************************************************
+ */
+ function column_default($item, $column_name) {
+ switch ($column_name) {
+ case 'date' :
+ case 'status' :
+ return $item [$column_name];
+ default :
+ return print_r ( $item, true ); // Show the whole array for troubleshooting purposes
+ }
+ }
+
+ /**
+ * ************************************************************************
+ * Recommended.
+ * This is a custom column method and is responsible for what
+ * is rendered in any column with a name/slug of 'title'. Every time the class
+ * needs to render a column, it first looks for a method named
+ * column_{$column_title} - if it exists, that method is run. If it doesn't
+ * exist, column_default() is called instead.
+ *
+ * This example also illustrates how to implement rollover actions. Actions
+ * should be an associative array formatted as 'slug'=>'link html' - and you
+ * will need to generate the URLs yourself. You could even ensure the links
+ *
+ *
+ * @see WP_List_Table::::single_row_columns()
+ * @param array $item
+ * A singular item (one full row's worth of data)
+ * @return string Text to be placed inside the column <td> (movie title only)
+ * ************************************************************************
+ */
+ function column_title($item) {
+
+ // Build row actions
+ $iframeUri = 'admin-post.php?page=postman_email_log&action=%s&email=%s&TB_iframe=true&width=700&height=550';
+ $deleteUrl = wp_nonce_url ( admin_url ( sprintf ( 'admin-post.php?page=postman_email_log&action=%s&email=%s', 'delete', $item ['ID'] ) ), 'delete_email_log_item_' . $item ['ID'] );
+ $viewUrl = admin_url ( sprintf ( $iframeUri, 'view', $item ['ID'] ) );
+ $transcriptUrl = admin_url ( sprintf ( $iframeUri, 'transcript', $item ['ID'] ) );
+ $resendUrl = admin_url ( sprintf ( $iframeUri, 'resend', $item ['ID'] ) );
+
+ $meta_values = get_post_meta ( $item ['ID'] );
+
+ $actions = array (
+ 'delete' => sprintf ( '<a href="%s">%s</a>', $deleteUrl, _x ( 'Delete', 'Delete an item from the email log', Postman::TEXT_DOMAIN ) ),
+ 'view' => sprintf ( '<a href="%s" class="thickbox">%s</a>', $viewUrl, _x ( 'View', 'View an item from the email log', Postman::TEXT_DOMAIN ) )
+ );
+
+ if (! empty ( $meta_values ['session_transcript'] [0] )) {
+ $actions ['transcript'] = sprintf ( '<a href="%1$s" class="thickbox">%2$s</a>', $transcriptUrl, __ ( 'Session Transcript', Postman::TEXT_DOMAIN ) );
+ } else {
+ $actions ['transcript'] = sprintf ( '%2$s', $transcriptUrl, __ ( 'Session Transcript', Postman::TEXT_DOMAIN ) );
+ }
+ if (! (empty ( $meta_values ['original_to'] [0] ) && empty ( $meta_values ['originalHeaders'] [0] ))) {
+ // $actions ['resend'] = sprintf ( '<a href="%s">%s</a>', $resendUrl, __ ( 'Resend', Postman::TEXT_DOMAIN ) );
+ $actions ['resend'] = sprintf ( '<span id="%3$s"><a href="javascript:postman_resend_email(%1$s);">%2$s</a></span>', $item ['ID'], __ ( 'Resend', Postman::TEXT_DOMAIN ), 'resend-' . $item ['ID'] );
+ } else {
+ $actions ['resend'] = sprintf ( '%2$s', $resendUrl, __ ( 'Resend', Postman::TEXT_DOMAIN ) );
+ }
+
+ // Return the title contents
+ return sprintf ( '%1$s %3$s',
+ /*$1%s*/ $item ['title'],
+ /*$2%s*/ $item ['ID'],
+ /*$3%s*/ $this->row_actions ( $actions ) );
+ }
+
+ /**
+ * ************************************************************************
+ * REQUIRED if displaying checkboxes or using bulk actions! The 'cb' column
+ * is given special treatment when columns are processed.
+ * It ALWAYS needs to
+ * have it's own method.
+ *
+ * @see WP_List_Table::::single_row_columns()
+ * @param array $item
+ * A singular item (one full row's worth of data)
+ * @return string Text to be placed inside the column <td> (movie title only)
+ * ************************************************************************
+ */
+ function column_cb($item) {
+ return sprintf ( '<input type="checkbox" name="%1$s[]" value="%2$s" />',
+ /*$1%s*/ $this->_args ['singular'], // Let's simply repurpose the table's singular label ("movie")
+ /* $2%s */
+ $item ['ID'] ); // The value of the checkbox should be the record's id
+ }
+
+ /**
+ * ************************************************************************
+ * REQUIRED! This method dictates the table's columns and titles.
+ * This should
+ * return an array where the key is the column slug (and class) and the value
+ * is the column's title text. If you need a checkbox for bulk actions, refer
+ * to the $columns array below.
+ *
+ * The 'cb' column is treated differently than the rest. If including a checkbox
+ * column in your table you must create a column_cb() method. If you don't need
+ * bulk actions or checkboxes, simply leave the 'cb' entry out of your array.
+ *
+ * @see WP_List_Table::::single_row_columns()
+ * @return array An associative array containing column information: 'slugs'=>'Visible Titles'
+ * ************************************************************************
+ */
+ function get_columns() {
+ $columns = array (
+ 'cb' => '<input type="checkbox" />', // Render a checkbox instead of text
+ 'title' => _x ( 'Subject', 'What is the subject of this message?', Postman::TEXT_DOMAIN ),
+ 'status' => __ ( 'Status', Postman::TEXT_DOMAIN ),
+ 'date' => _x ( 'Delivery Time', 'When was this email sent?', Postman::TEXT_DOMAIN )
+ );
+ return $columns;
+ }
+
+ /**
+ * ************************************************************************
+ * Optional.
+ * If you want one or more columns to be sortable (ASC/DESC toggle),
+ * you will need to register it here. This should return an array where the
+ * key is the column that needs to be sortable, and the value is db column to
+ * sort by. Often, the key and value will be the same, but this is not always
+ * the case (as the value is a column name from the database, not the list table).
+ *
+ * This method merely defines which columns should be sortable and makes them
+ * clickable - it does not handle the actual sorting. You still need to detect
+ * the ORDERBY and ORDER querystring variables within prepare_items() and sort
+ * your data accordingly (usually by modifying your query).
+ *
+ * @return array An associative array containing all the columns that should be sortable: 'slugs'=>array('data_values',bool)
+ * ************************************************************************
+ */
+ function get_sortable_columns() {
+ return array ();
+ $sortable_columns = array (
+ 'title' => array (
+ 'title',
+ false
+ ), // true means it's already sorted
+ 'status' => array (
+ 'status',
+ false
+ ),
+ 'date' => array (
+ 'date',
+ false
+ )
+ );
+ return $sortable_columns;
+ }
+
+ /**
+ * ************************************************************************
+ * Optional.
+ * If you need to include bulk actions in your list table, this is
+ * the place to define them. Bulk actions are an associative array in the format
+ * 'slug'=>'Visible Title'
+ *
+ * If this method returns an empty value, no bulk action will be rendered. If
+ * you specify any bulk actions, the bulk actions box will be rendered with
+ * the table automatically on display().
+ *
+ * Also note that list tables are not automatically wrapped in <form> elements,
+ * so you will need to create those manually in order for bulk actions to function.
+ *
+ * @return array An associative array containing all the bulk actions: 'slugs'=>'Visible Titles'
+ * ************************************************************************
+ */
+ function get_bulk_actions() {
+ $actions = array (
+ 'bulk_delete' => _x ( 'Delete', 'Delete an item from the email log', Postman::TEXT_DOMAIN )
+ );
+ return $actions;
+ }
+
+ /**
+ * ************************************************************************
+ * Optional.
+ * You can handle your bulk actions anywhere or anyhow you prefer.
+ * For this example package, we will handle it in the class to keep things
+ * clean and organized.
+ *
+ * @see $this->prepare_items() ************************************************************************
+ */
+ function process_bulk_action() {
+ }
+
+ /**
+ * ************************************************************************
+ * REQUIRED! This is where you prepare your data for display.
+ * This method will
+ * usually be used to query the database, sort and filter the data, and generally
+ * get it ready to be displayed. At a minimum, we should set $this->items and
+ * $this->set_pagination_args(), although the following properties and methods
+ * are frequently interacted with here...
+ *
+ * @global WPDB $wpdb
+ * @uses $this->_column_headers
+ * @uses $this->items
+ * @uses $this->get_columns()
+ * @uses $this->get_sortable_columns()
+ * @uses $this->get_pagenum()
+ * @uses $this->set_pagination_args()
+ * ************************************************************************
+ */
+ function prepare_items() {
+
+ /**
+ * First, lets decide how many records per page to show
+ */
+ $per_page = 10;
+
+ /**
+ * REQUIRED.
+ * Now we need to define our column headers. This includes a complete
+ * array of columns to be displayed (slugs & titles), a list of columns
+ * to keep hidden, and a list of columns that are sortable. Each of these
+ * can be defined in another method (as we've done here) before being
+ * used to build the value for our _column_headers property.
+ */
+ $columns = $this->get_columns ();
+ $hidden = array ();
+ $sortable = $this->get_sortable_columns ();
+
+ /**
+ * REQUIRED.
+ * Finally, we build an array to be used by the class for column
+ * headers. The $this->_column_headers property takes an array which contains
+ * 3 other arrays. One for all columns, one for hidden columns, and one
+ * for sortable columns.
+ */
+ $this->_column_headers = array (
+ $columns,
+ $hidden,
+ $sortable
+ );
+
+ /**
+ * Optional.
+ * You can handle your bulk actions however you see fit. In this
+ * case, we'll handle them within our package just to keep things clean.
+ */
+ $this->process_bulk_action ();
+
+ /**
+ * Instead of querying a database, we're going to fetch the example data
+ * property we created for use in this plugin.
+ * This makes this example
+ * package slightly different than one you might build on your own. In
+ * this example, we'll be using array manipulation to sort and paginate
+ * our data. In a real-world implementation, you will probably want to
+ * use sort and pagination data to build a custom query instead, as you'll
+ * be able to use your precisely-queried data immediately.
+ */
+ $data = array ();
+ $args = array (
+ 'posts_per_page' => 1000,
+ 'offset' => 0,
+ 'category' => '',
+ 'category_name' => '',
+ 'orderby' => 'date',
+ 'order' => 'DESC',
+ 'include' => '',
+ 'exclude' => '',
+ 'meta_key' => '',
+ 'meta_value' => '',
+ 'post_type' => PostmanEmailLogPostType::POSTMAN_CUSTOM_POST_TYPE_SLUG,
+ 'post_mime_type' => '',
+ 'post_parent' => '',
+ 'post_status' => 'private',
+ 'suppress_filters' => true
+ );
+ $posts = get_posts ( $args );
+ foreach ( $posts as $post ) {
+ $date = $post->post_date;
+ $humanTime = human_time_diff ( strtotime ( $post->post_date_gmt ) );
+ // if this PHP system support humanTime, than use it
+ if (! empty ( $humanTime )) {
+ /* Translators: where %s indicates the relative time from now */
+ $date = sprintf ( _x ( '%s ago', 'A relative time as in "five days ago"', Postman::TEXT_DOMAIN ), $humanTime );
+ }
+ $flattenedPost = array (
+ // the post title must be escaped as they are displayed in the HTML output
+ 'title' => esc_html ( $post->post_title ),
+ // the post status must be escaped as they are displayed in the HTML output
+ 'status' => ($post->post_excerpt != null ? esc_html ( $post->post_excerpt ) : __ ( 'Sent', Postman::TEXT_DOMAIN )),
+ 'date' => $date,
+ 'ID' => $post->ID
+ );
+ array_push ( $data, $flattenedPost );
+ }
+
+ /**
+ * This checks for sorting input and sorts the data in our array accordingly.
+ *
+ * In a real-world situation involving a database, you would probably want
+ * to handle sorting by passing the 'orderby' and 'order' values directly
+ * to a custom query. The returned data will be pre-sorted, and this array
+ * sorting technique would be unnecessary.
+ */
+ function usort_reorder($a, $b) {
+ $orderby = (! empty ( $_REQUEST ['orderby'] )) ? $_REQUEST ['orderby'] : 'title'; // If no sort, default to title
+ $order = (! empty ( $_REQUEST ['order'] )) ? $_REQUEST ['order'] : 'asc'; // If no order, default to asc
+ $result = strcmp ( $a [$orderby], $b [$orderby] ); // Determine sort order
+ return ($order === 'asc') ? $result : - $result; // Send final sort direction to usort
+ }
+ // usort($data, 'usort_reorder');
+
+ /**
+ * *********************************************************************
+ * ---------------------------------------------------------------------
+ * vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
+ *
+ * In a real-world situation, this is where you would place your query.
+ *
+ * For information on making queries in WordPress, see this Codex entry:
+ * http://codex.wordpress.org/Class_Reference/wpdb
+ *
+ * ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ * ---------------------------------------------------------------------
+ * ********************************************************************
+ */
+
+ /**
+ * REQUIRED for pagination.
+ * Let's figure out what page the user is currently
+ * looking at. We'll need this later, so you should always include it in
+ * your own package classes.
+ */
+ $current_page = $this->get_pagenum ();
+
+ /**
+ * REQUIRED for pagination.
+ * Let's check how many items are in our data array.
+ * In real-world use, this would be the total number of items in your database,
+ * without filtering. We'll need this later, so you should always include it
+ * in your own package classes.
+ */
+ $total_items = count ( $data );
+
+ /**
+ * The WP_List_Table class does not handle pagination for us, so we need
+ * to ensure that the data is trimmed to only the current page.
+ * We can use
+ * array_slice() to
+ */
+ $data = array_slice ( $data, (($current_page - 1) * $per_page), $per_page );
+
+ /**
+ * REQUIRED.
+ * Now we can add our *sorted* data to the items property, where
+ * it can be used by the rest of the class.
+ */
+ $this->items = $data;
+
+ /**
+ * REQUIRED.
+ * We also have to register our pagination options & calculations.
+ */
+ $this->set_pagination_args ( array (
+ 'total_items' => $total_items, // WE have to calculate the total number of items
+ 'per_page' => $per_page, // WE have to determine how many items to show on a page
+ 'total_pages' => ceil ( $total_items / $per_page )
+ ) ); // WE have to calculate the total number of pages
+ }
+}
+
diff --git a/Postman/Postman-Mail/PostmanDefaultModuleTransport.php b/Postman/Postman-Mail/PostmanDefaultModuleTransport.php
new file mode 100644
index 0000000..73c6777
--- /dev/null
+++ b/Postman/Postman-Mail/PostmanDefaultModuleTransport.php
@@ -0,0 +1,164 @@
+<?php
+require_once 'PostmanModuleTransport.php';
+if (! class_exists ( 'PostmanSmtpModuleTransport' )) {
+ class PostmanDefaultModuleTransport extends PostmanAbstractZendModuleTransport implements PostmanZendModuleTransport {
+ const SLUG = 'default';
+ private $fromName;
+ private $fromEmail;
+
+ /**
+ *
+ * @param unknown $rootPluginFilenameAndPath
+ */
+ public function __construct($rootPluginFilenameAndPath) {
+ parent::__construct ( $rootPluginFilenameAndPath );
+ $this->init ();
+ }
+
+ /**
+ * Copied from WordPress core
+ * Set the from name and email
+ */
+ public function init() {
+ parent::init();
+ // From email and name
+ // If we don't have a name from the input headers
+ $this->fromName = 'WordPress';
+
+ /*
+ * If we don't have an email from the input headers default to wordpress@$sitename
+ * Some hosts will block outgoing mail from this address if it doesn't exist but
+ * there's no easy alternative. Defaulting to admin_email might appear to be another
+ * option but some hosts may refuse to relay mail from an unknown domain. See
+ * https://core.trac.wordpress.org/ticket/5007.
+ */
+
+ // Get the site domain and get rid of www.
+ $sitename = strtolower ( $_SERVER ['SERVER_NAME'] );
+ if (substr ( $sitename, 0, 4 ) == 'www.') {
+ $sitename = substr ( $sitename, 4 );
+ }
+
+ $this->fromEmail = 'wordpress@' . $sitename;
+ }
+ public function isConfiguredAndReady() {
+ return false;
+ }
+ public function isReadyToSendMail() {
+ return true;
+ }
+ public function getFromEmailAddress() {
+ return $this->fromEmail;
+ }
+ public function getFromName() {
+ return $this->fromName;
+ }
+ public function getEnvelopeFromEmailAddress() {
+ return $this->getFromEmailAddress ();
+ }
+ public function isEmailValidationSupported() {
+ return false;
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanAbstractZendModuleTransport::validateTransportConfiguration()
+ */
+ protected function validateTransportConfiguration() {
+ return array ();
+ // no-op, always valid
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanModuleTransport::createMailEngine()
+ */
+ public function createMailEngine() {
+ require_once 'PostmanZendMailEngine.php';
+ return new PostmanZendMailEngine ( $this );
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanZendModuleTransport::createZendMailTransport()
+ */
+ public function createZendMailTransport($fakeHostname, $fakeConfig) {
+ $config = array (
+ 'port' => $this->getPort ()
+ );
+ return new Postman_Zend_Mail_Transport_Smtp ( $this->getHostname (), $config );
+ }
+
+ /**
+ * Determines whether Mail Engine locking is needed
+ *
+ * @see PostmanModuleTransport::requiresLocking()
+ */
+ public function isLockingRequired() {
+ return PostmanOptions::AUTHENTICATION_TYPE_OAUTH2 == $this->getAuthenticationType ();
+ }
+ public function getSlug() {
+ return self::SLUG;
+ }
+ public function getName() {
+ return __ ( 'Default', Postman::TEXT_DOMAIN );
+ }
+ public function getHostname() {
+ return 'localhost';
+ }
+ public function getPort() {
+ return 25;
+ }
+ public function getSecurityType() {
+ return PostmanOptions::SECURITY_TYPE_NONE;
+ }
+ public function getAuthenticationType() {
+ return PostmanOptions::AUTHENTICATION_TYPE_NONE;
+ }
+ public function getCredentialsId() {
+ $options = PostmanOptions::getInstance ();
+ if ($options->isAuthTypeOAuth2 ()) {
+ return $options->getClientId ();
+ } else {
+ return $options->getUsername ();
+ }
+ }
+ public function getCredentialsSecret() {
+ $options = PostmanOptions::getInstance ();
+ if ($options->isAuthTypeOAuth2 ()) {
+ return $options->getClientSecret ();
+ } else {
+ return $options->getPassword ();
+ }
+ }
+ public function isServiceProviderGoogle($hostname) {
+ return PostmanUtils::endsWith ( $hostname, 'gmail.com' );
+ }
+ public function isServiceProviderMicrosoft($hostname) {
+ return PostmanUtils::endsWith ( $hostname, 'live.com' );
+ }
+ public function isServiceProviderYahoo($hostname) {
+ return strpos ( $hostname, 'yahoo' );
+ }
+ public function isOAuthUsed($authType) {
+ return false;
+ }
+ public final function getConfigurationBid(PostmanWizardSocket $hostData, $userAuthOverride, $originalSmtpServer) {
+ return null;
+ }
+
+ /**
+ * Does not participate in the Wizard process;
+ *
+ * (non-PHPdoc)
+ *
+ * @see PostmanModuleTransport::getSocketsForSetupWizardToProbe()
+ */
+ public function getSocketsForSetupWizardToProbe($hostname, $smtpServerGuess) {
+ return array ();
+ }
+ }
+}
diff --git a/Postman/Postman-Mail/PostmanEmailAddress.php b/Postman/Postman-Mail/PostmanEmailAddress.php
new file mode 100644
index 0000000..67c4662
--- /dev/null
+++ b/Postman/Postman-Mail/PostmanEmailAddress.php
@@ -0,0 +1,91 @@
+<?php
+if (! class_exists ( 'PostmanEmailAddress' )) {
+ class PostmanEmailAddress {
+ private $name;
+ private $email;
+ public function __construct($email, $name = null) {
+ // Break $recipient into name and address parts if in the format "Foo <bar@baz.com>"
+ if (preg_match ( '/(.*)<(.+)>/', $email, $matches )) {
+ if (count ( $matches ) == 3) {
+ $name = $matches [1];
+ $email = $matches [2];
+ }
+ }
+ $this->setEmail ( trim ( $email ) );
+ $this->setName ( trim ( $name ) );
+ }
+ public static function copy(PostmanEmailAddress $orig) {
+ return new PostmanEmailAddress ( $orig->getEmail (), $orig->getName () );
+ }
+ public function getName() {
+ return $this->name;
+ }
+ public function getEmail() {
+ return $this->email;
+ }
+ public function format() {
+ $name = $this->getName ();
+ if (! empty ( $name )) {
+ return sprintf ( '%s <%s>', $this->getName (), $this->getEmail () );
+ } else {
+ return sprintf ( '%s', $this->getEmail () );
+ }
+ }
+ public function setName($name) {
+ $this->name = $name;
+ }
+ public function setEmail($email) {
+ $this->email = $email;
+ }
+
+ /**
+ * Validate the email address
+ *
+ * @throws Exception
+ */
+ public function validate($desc = '') {
+ if (! PostmanUtils::validateEmail ( $this->email )) {
+ if (empty ( $desc )) {
+ /* Translators: Where %s is the email address */
+ $message = sprintf ( 'Invalid e-mail address "%s"', $this->email );
+ } else {
+ /* Translators: Where (1) is the header name (eg. To) and (2) is the email address */
+ $message = sprintf ( 'Invalid "%1$s" e-mail address "%2$s"', $desc, $this->email );
+ }
+ $logger = new PostmanLogger ( get_class ( $this ) );
+ $logger->warn ( $message );
+ throw new Exception ( $message );
+ }
+ }
+
+ /**
+ * Accept a String of addresses or an array and return an array
+ *
+ * @param unknown $recipientList
+ * @param unknown $recipients
+ */
+ public static function convertToArray($emails) {
+ assert ( ! empty ( $emails ) );
+ if (! is_array ( $emails )) {
+ // http://tiku.io/questions/955963/splitting-comma-separated-email-addresses-in-a-string-with-commas-in-quotes-in-p
+ $t = str_getcsv ( $emails );
+ $emails = array ();
+ foreach ( $t as $k => $v ) {
+ if (strpos ( $v, ',' ) !== false) {
+ $t [$k] = '"' . str_replace ( ' <', '" <', $v );
+ }
+ $tokenizedEmail = trim ( $t [$k] );
+ array_push ( $emails, $tokenizedEmail );
+ }
+ }
+ return $emails;
+ }
+ public function log(PostmanLogger $log, $desc) {
+ $message = $desc . ' email=' . $this->getEmail ();
+ if (! empty ( $this->name )) {
+ $message .= ' name=' . $this->getName ();
+ }
+ $log->debug ( $message );
+ }
+ }
+} \ No newline at end of file
diff --git a/Postman/Postman-Mail/PostmanGmailApiModuleTransport.php b/Postman/Postman-Mail/PostmanGmailApiModuleTransport.php
new file mode 100644
index 0000000..acb760d
--- /dev/null
+++ b/Postman/Postman-Mail/PostmanGmailApiModuleTransport.php
@@ -0,0 +1,258 @@
+<?php
+require_once 'PostmanModuleTransport.php';
+
+/**
+ * This class integrates Postman with the Gmail API
+ * http://ctrlq.org/code/19860-gmail-api-send-emails
+ *
+ * @author jasonhendriks
+ *
+ */
+class PostmanGmailApiModuleTransport extends PostmanAbstractZendModuleTransport implements PostmanZendModuleTransport {
+ const SLUG = 'gmail_api';
+ const PORT = 443;
+ const HOST = 'www.googleapis.com';
+ const ENCRYPTION_TYPE = 'ssl';
+ public function __construct($rootPluginFilenameAndPath) {
+ parent::__construct ( $rootPluginFilenameAndPath );
+
+ // add a hook on the plugins_loaded event
+ add_action ( 'admin_init', array (
+ $this,
+ 'on_admin_init'
+ ) );
+ }
+ public function getProtocol() {
+ return 'https';
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanAbstractModuleTransport::isServiceProviderGoogle()
+ */
+ public function isServiceProviderGoogle($hostname) {
+ return true;
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanModuleTransport::createMailEngine()
+ */
+ public function createMailEngine() {
+ require_once 'PostmanZendMailEngine.php';
+ return new PostmanZendMailEngine ( $this );
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanZendModuleTransport::createZendMailTransport()
+ */
+ public function createZendMailTransport($fakeHostname, $fakeConfig) {
+ if (PostmanOptions::AUTHENTICATION_TYPE_OAUTH2 == $this->getAuthenticationType ()) {
+ $config = PostmanOAuth2ConfigurationFactory::createConfig ( $this );
+ } else {
+ $config = PostmanBasicAuthConfigurationFactory::createConfig ( $this );
+ }
+
+ // Google's autoloader will try and load this so we list it first
+ require_once 'PostmanGmailApiModuleZendMailTransport.php';
+
+ // Gmail Client includes
+ require_once 'google-api-php-client-1.1.2/src/Google/Client.php';
+ require_once 'google-api-php-client-1.1.2/src/Google/Service/Gmail.php';
+
+ // build the Gmail Client
+ $authToken = PostmanOAuthToken::getInstance ();
+ $client = new Postman_Google_Client ();
+ $client->setClientId ( $this->options->getClientId () );
+ $client->setClientSecret ( $this->options->getClientSecret () );
+ $client->setRedirectUri ( '' );
+ // rebuild the google access token
+ $token = new stdClass ();
+ $token->access_token = $authToken->getAccessToken ();
+ $token->refresh_token = $authToken->getRefreshToken ();
+ $token->token_type = 'Bearer';
+ $token->expires_in = 3600;
+ $token->id_token = null;
+ $token->created = 0;
+ $client->setAccessToken ( json_encode ( $token ) );
+ // We only need permissions to compose and send emails
+ $client->addScope ( "https://www.googleapis.com/auth/gmail.compose" );
+ $service = new Postman_Google_Service_Gmail ( $client );
+ $config [PostmanGmailApiModuleZendMailTransport::SERVICE_OPTION] = $service;
+
+ return new PostmanGmailApiModuleZendMailTransport ( self::HOST, $config );
+ }
+
+ /**
+ * Determines whether Mail Engine locking is needed
+ *
+ * @see PostmanModuleTransport::requiresLocking()
+ */
+ public function isLockingRequired() {
+ return PostmanOptions::AUTHENTICATION_TYPE_OAUTH2 == $this->getAuthenticationType ();
+ }
+ public function getSlug() {
+ return self::SLUG;
+ }
+ public function getName() {
+ return __ ( 'Gmail API', Postman::TEXT_DOMAIN );
+ }
+ public function isEnvelopeFromValidationSupported() {
+ return false;
+ }
+ public function getHostname() {
+ return self::HOST;
+ }
+ public function getPort() {
+ return self::PORT;
+ }
+ public function getAuthenticationType() {
+ return $this->options->getAuthenticationType ();
+ }
+ public function getSecurityType() {
+ return null;
+ }
+ public function getCredentialsId() {
+ $this->options = $this->options;
+ if ($this->options->isAuthTypeOAuth2 ()) {
+ return $this->options->getClientId ();
+ } else {
+ return $this->options->getUsername ();
+ }
+ }
+ public function getCredentialsSecret() {
+ $this->options = $this->options;
+ if ($this->options->isAuthTypeOAuth2 ()) {
+ return $this->options->getClientSecret ();
+ } else {
+ return $this->options->getPassword ();
+ }
+ }
+ public function isServiceProviderMicrosoft($hostname) {
+ return false;
+ }
+ public function isServiceProviderYahoo($hostname) {
+ return false;
+ }
+ public function isOAuthUsed($authType) {
+ return true;
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanAbstractModuleTransport::getDeliveryDetails()
+ */
+ public function getDeliveryDetails() {
+ /* translators: where (1) is the secure icon and (2) is the transport name */
+ return sprintf ( __ ( 'Postman will send mail via the <b>%1$s %2$s</b>.', Postman::TEXT_DOMAIN ), '🔐', $this->getName () );
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanAbstractZendModuleTransport::validateTransportConfiguration()
+ */
+ protected function validateTransportConfiguration() {
+ $messages = parent::validateTransportConfiguration ();
+ if (empty ( $messages )) {
+ $this->setReadyForOAuthGrant ();
+ if ($this->isPermissionNeeded ()) {
+ /* translators: %1$s is the Client ID label, and %2$s is the Client Secret label */
+ $message = sprintf ( __ ( 'You have configured OAuth 2.0 authentication, but have not received permission to use it.', Postman::TEXT_DOMAIN ), $this->getScribe ()->getClientIdLabel (), $this->getScribe ()->getClientSecretLabel () );
+ $message .= sprintf ( ' <a href="%s">%s</a>.', PostmanUtils::getGrantOAuthPermissionUrl (), $this->getScribe ()->getRequestPermissionLinkText () );
+ array_push ( $messages, $message );
+ $this->setNotConfiguredAndReady ();
+ }
+ }
+ return $messages;
+ }
+
+ /**
+ * Given a hostname, what ports should we test?
+ *
+ * May return an array of several combinations.
+ */
+ public function getSocketsForSetupWizardToProbe($hostname, $smtpServerGuess) {
+ $hosts = array ();
+ if ($smtpServerGuess == null || PostmanUtils::isGoogle ( $smtpServerGuess )) {
+ array_push ( $hosts, parent::createSocketDefinition ( $this->getHostname (), $this->getPort () ) );
+ }
+ return $hosts;
+ }
+
+ /**
+ * Postman Gmail API supports delivering mail with these parameters:
+ *
+ * 70 gmail api on port 465 to www.googleapis.com
+ *
+ * @param unknown $hostData
+ */
+ public function getConfigurationBid(PostmanWizardSocket $hostData, $userAuthOverride, $originalSmtpServer) {
+ $recommendation = array ();
+ $recommendation ['priority'] = 0;
+ $recommendation ['transport'] = self::SLUG;
+ $recommendation ['enc'] = PostmanOptions::SECURITY_TYPE_NONE;
+ $recommendation ['auth'] = PostmanOptions::AUTHENTICATION_TYPE_OAUTH2;
+ $recommendation ['hostname'] = null; // scribe looks this
+ $recommendation ['label'] = $this->getName ();
+ $recommendation ['display_auth'] = 'oauth2';
+ if ($hostData->hostname == self::HOST && $hostData->port == self::PORT) {
+ /* translators: where variables are (1) transport name (2) host and (3) port */
+ $recommendation ['message'] = sprintf ( __ ( ('Postman recommends the %1$s to host %2$s on port %3$d.') ), $this->getName (), self::HOST, self::PORT );
+ $recommendation ['priority'] = 27000;
+ }
+
+ return $recommendation;
+ }
+
+ /**
+ */
+ public function createOverrideMenu(PostmanWizardSocket $socket, $winningRecommendation, $userSocketOverride, $userAuthOverride) {
+ $overrideItem = parent::createOverrideMenu ( $socket, $winningRecommendation, $userSocketOverride, $userAuthOverride );
+ // push the authentication options into the $overrideItem structure
+ $overrideItem ['auth_items'] = array (
+ array (
+ 'selected' => true,
+ 'name' => __ ( 'OAuth 2.0 (requires Client ID and Client Secret)', Postman::TEXT_DOMAIN ),
+ 'value' => 'oauth2'
+ )
+ );
+ return $overrideItem;
+ }
+
+ /**
+ * Functions to execute on the admin_init event
+ *
+ * "Runs at the beginning of every admin page before the page is rendered."
+ * ref: http://codex.wordpress.org/Plugin_API/Action_Reference#Actions_Run_During_an_Admin_Page_Request
+ */
+ public function on_admin_init() {
+ // only administrators should be able to trigger this
+ if (PostmanUtils::isAdmin ()) {
+ $this->registerStylesAndScripts ();
+ }
+ }
+
+ /**
+ */
+ public function registerStylesAndScripts() {
+ // register the stylesheet and javascript external resources
+ $pluginData = apply_filters ( 'postman_get_plugin_metadata', null );
+ wp_register_script ( 'postman_gmail_script', plugins_url ( 'Postman/Postman-Mail/postman_gmail.js', $this->rootPluginFilenameAndPath ), array (
+ PostmanViewController::JQUERY_SCRIPT,
+ 'jquery_validation',
+ PostmanViewController::POSTMAN_SCRIPT
+ ), $pluginData ['version'] );
+ }
+
+ /**
+ */
+ public function enqueueScript() {
+ wp_enqueue_script ( 'postman_gmail_script' );
+ }
+}
diff --git a/Postman/Postman-Mail/PostmanGmailApiModuleZendMailTransport.php b/Postman/Postman-Mail/PostmanGmailApiModuleZendMailTransport.php
new file mode 100644
index 0000000..58b5e5a
--- /dev/null
+++ b/Postman/Postman-Mail/PostmanGmailApiModuleZendMailTransport.php
@@ -0,0 +1,244 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Transport
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ *
+ * @see Postman_Zend_Mime
+ */
+// require_once 'Zend/Mime.php';
+
+/**
+ *
+ * @see Postman_Zend_Mail_Protocol_Smtp
+ */
+// require_once 'Zend/Mail/Protocol/Smtp.php';
+
+/**
+ *
+ * @see Postman_Zend_Mail_Transport_Abstract
+ */
+// require_once 'Zend/Mail/Transport/Abstract.php';
+
+/**
+ * SMTP connection object
+ *
+ * Loads an instance of Postman_Zend_Mail_Protocol_Smtp and forwards smtp transactions
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Transport
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+if (! class_exists ( 'PostmanGmailApiModuleZendMailTransport' )) {
+ class PostmanGmailApiModuleZendMailTransport extends Postman_Zend_Mail_Transport_Abstract {
+ const SERVICE_OPTION = 'service';
+ const MESSAGE_SENDER_EMAIL_OPTION = 'sender_email';
+ private $logger;
+ private $message;
+ private $transcript;
+
+ /**
+ * EOL character string used by transport
+ *
+ * @var string
+ * @access public
+ */
+ public $EOL = "\n";
+
+ /**
+ * Remote smtp hostname or i.p.
+ *
+ * @var string
+ */
+ protected $_host;
+
+ /**
+ * Port number
+ *
+ * @var integer|null
+ */
+ protected $_port;
+
+ /**
+ * Local client hostname or i.p.
+ *
+ * @var string
+ */
+ protected $_name = 'localhost';
+
+ /**
+ * Authentication type OPTIONAL
+ *
+ * @var string
+ */
+ protected $_auth;
+
+ /**
+ * Config options for authentication
+ *
+ * @var array
+ */
+ protected $_config;
+
+ /**
+ * Instance of Postman_Zend_Mail_Protocol_Smtp
+ *
+ * @var Postman_Zend_Mail_Protocol_Smtp
+ */
+ protected $_connection;
+
+ /**
+ * Constructor.
+ *
+ * @param string $host
+ * OPTIONAL (Default: 127.0.0.1)
+ * @param array|null $config
+ * OPTIONAL (Default: null)
+ * @return void
+ *
+ * @todo Someone please make this compatible
+ * with the SendMail transport class.
+ */
+ public function __construct($host = '127.0.0.1', Array $config = array()) {
+ if (isset ( $config ['name'] )) {
+ $this->_name = $config ['name'];
+ }
+ if (isset ( $config ['port'] )) {
+ $this->_port = $config ['port'];
+ }
+ if (isset ( $config ['auth'] )) {
+ $this->_auth = $config ['auth'];
+ }
+
+ $this->_host = $host;
+ $this->_config = $config;
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ }
+
+ /**
+ * Class destructor to ensure all open connections are closed
+ *
+ * @return void
+ */
+ public function __destruct() {
+ if ($this->_connection instanceof Postman_Zend_Mail_Protocol_Smtp) {
+ try {
+ $this->_connection->quit ();
+ } catch ( Postman_Zend_Mail_Protocol_Exception $e ) {
+ // ignore
+ }
+ $this->_connection->disconnect ();
+ }
+ }
+
+ /**
+ * Sets the connection protocol instance
+ *
+ * @param Postman_Zend_Mail_Protocol_Abstract $client
+ *
+ * @return void
+ */
+ public function setConnection(Postman_Zend_Mail_Protocol_Abstract $connection) {
+ $this->_connection = $connection;
+ }
+
+ /**
+ * Gets the connection protocol instance
+ *
+ * @return Postman_Zend_Mail_Protocol|null
+ */
+ public function getConnection() {
+ return $this->_connection;
+ }
+
+ /**
+ * Send an email via the Gmail API
+ *
+ * Uses URI https://www.googleapis.com
+ *
+ *
+ * @return void
+ * @todo Rename this to sendMail, it's a public method...
+ */
+ public function _sendMail() {
+
+ // Prepare the message in message/rfc822
+ $message = $this->header . Postman_Zend_Mime::LINEEND . $this->body;
+ $this->message = $message;
+
+ // The message needs to be encoded in Base64URL
+ $encodedMessage = rtrim ( strtr ( base64_encode ( $message ), '+/', '-_' ), '=' );
+ $googleApiMessage = new Postman_Google_Service_Gmail_Message ();
+ $googleApiMessage->setRaw ( $encodedMessage );
+ $googleService = $this->_config [self::SERVICE_OPTION];
+ $result = array ();
+ try {
+ $result = $googleService->users_messages->send ( 'me', $googleApiMessage );
+ if ($this->logger->isInfo ()) {
+ $this->logger->info ( sprintf ( 'Message %d accepted for delivery', PostmanState::getInstance ()->getSuccessfulDeliveries () + 1 ) );
+ }
+ $this->transcript = print_r ( $result, true );
+ $this->transcript .= PostmanModuleTransport::RAW_MESSAGE_FOLLOWS;
+ $this->transcript .= $message;
+ } catch ( Exception $e ) {
+ $this->transcript = $e->getMessage ();
+ $this->transcript .= PostmanModuleTransport::RAW_MESSAGE_FOLLOWS;
+ $this->transcript .= $message;
+ throw $e;
+ }
+ }
+ public function getMessage() {
+ return $this->message;
+ }
+ public function getTranscript() {
+ return $this->transcript;
+ }
+
+ /**
+ * Format and fix headers
+ *
+ * Some SMTP servers do not strip BCC headers. Most clients do it themselves as do we.
+ *
+ * @access protected
+ * @param array $headers
+ * @return void
+ * @throws Postman_Zend_Transport_Exception
+ */
+ protected function _prepareHeaders($headers) {
+ if (! $this->_mail) {
+ /**
+ *
+ * @see Postman_Zend_Mail_Transport_Exception
+ */
+ // require_once 'Zend/Mail/Transport/Exception.php';
+ throw new Postman_Zend_Mail_Transport_Exception ( '_prepareHeaders requires a registered Postman_Zend_Mail object' );
+ }
+
+ // google will unset the Bcc header for us.
+ // unset ( $headers ['Bcc'] );
+
+ // Prepare headers
+ parent::_prepareHeaders ( $headers );
+ }
+ }
+} \ No newline at end of file
diff --git a/Postman/Postman-Mail/PostmanMailEngine.php b/Postman/Postman-Mail/PostmanMailEngine.php
new file mode 100644
index 0000000..16c799a
--- /dev/null
+++ b/Postman/Postman-Mail/PostmanMailEngine.php
@@ -0,0 +1,10 @@
+<?php
+if (! interface_exists ( "PostmanMailEngine" )) {
+
+ interface PostmanMailEngine {
+ public function getTranscript();
+ public function send(PostmanMessage $message);
+ }
+
+}
+
diff --git a/Postman/Postman-Mail/PostmanMandrillMailEngine.php b/Postman/Postman-Mail/PostmanMandrillMailEngine.php
new file mode 100644
index 0000000..4f68807
--- /dev/null
+++ b/Postman/Postman-Mail/PostmanMandrillMailEngine.php
@@ -0,0 +1,235 @@
+<?php
+if (! class_exists ( "PostmanMandrillMailEngine" )) {
+
+ require_once 'mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill.php';
+
+ /**
+ * Sends mail with Mandrill API
+ * https://mandrillapp.com/api/docs/messages.php.html
+ *
+ * @author jasonhendriks
+ */
+ class PostmanMandrillMailEngine implements PostmanMailEngine {
+
+ // logger for all concrete classes - populate with setLogger($logger)
+ protected $logger;
+
+ // the result
+ private $transcript;
+
+ //
+ private $apiKey;
+ private $mandrillMessage;
+
+ /**
+ *
+ * @param unknown $senderEmail
+ * @param unknown $accessToken
+ */
+ function __construct($apiKey) {
+ assert ( ! empty ( $apiKey ) );
+ $this->apiKey = $apiKey;
+
+ // create the logger
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+
+ // create the Message
+ $this->mandrillMessage = array (
+ 'to' => array (),
+ 'headers' => array ()
+ );
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanSmtpEngine::send()
+ */
+ public function send(PostmanMessage $message) {
+ $options = PostmanOptions::getInstance ();
+
+ // add the Postman signature - append it to whatever the user may have set
+ if (! $options->isStealthModeEnabled ()) {
+ $pluginData = apply_filters ( 'postman_get_plugin_metadata', null );
+ $this->addHeader ( 'X-Mailer', sprintf ( 'Postman SMTP %s for WordPress (%s)', $pluginData ['version'], 'https://wordpress.org/plugins/postman-smtp/' ) );
+ }
+
+ // add the headers - see http://framework.zend.com/manual/1.12/en/zend.mail.additional-headers.html
+ foreach ( ( array ) $message->getHeaders () as $header ) {
+ $this->logger->debug ( sprintf ( 'Adding user header %s=%s', $header ['name'], $header ['content'] ) );
+ $this->addHeader ( $header ['name'], $header ['content'], true );
+ }
+
+ // if the caller set a Content-Type header, use it
+ $contentType = $message->getContentType ();
+ if (! empty ( $contentType )) {
+ $this->logger->debug ( 'Adding content-type ' . $contentType );
+ $this->addHeader ( 'Content-Type', $contentType );
+ }
+
+ // add the From Header
+ $sender = $message->getFromAddress ();
+ {
+ $senderEmail = $sender->getEmail ();
+ $senderName = $sender->getName ();
+ assert ( ! empty ( $senderEmail ) );
+ $this->mandrillMessage ['from_email'] = $senderEmail;
+ if (! empty ( $senderName )) {
+ $this->mandrillMessage ['from_name'] = $senderName;
+ }
+ // now log it
+ $sender->log ( $this->logger, 'From' );
+ }
+
+ // add the Sender Header, overriding what the user may have set
+ $this->addHeader ( 'Sender', $options->getEnvelopeSender () );
+
+ // add the to recipients
+ foreach ( ( array ) $message->getToRecipients () as $recipient ) {
+ $recipient->log ( $this->logger, 'To' );
+ $recipient = array (
+ 'email' => $recipient->getEmail (),
+ 'name' => $recipient->getName (),
+ 'type' => 'to'
+ );
+ array_push ( $this->mandrillMessage ['to'], $recipient );
+ }
+
+ // add the cc recipients
+ foreach ( ( array ) $message->getCcRecipients () as $recipient ) {
+ $recipient->log ( $this->logger, 'Cc' );
+ $recipient = array (
+ 'email' => $recipient->getEmail (),
+ 'name' => $recipient->getName (),
+ 'type' => 'cc'
+ );
+ array_push ( $this->mandrillMessage ['to'], $recipient );
+ }
+
+ // add the bcc recipients
+ foreach ( ( array ) $message->getBccRecipients () as $recipient ) {
+ $recipient->log ( $this->logger, 'Bcc' );
+ $recipient = array (
+ 'email' => $recipient->getEmail (),
+ 'name' => $recipient->getName (),
+ 'type' => 'bcc'
+ );
+ array_push ( $this->mandrillMessage ['to'], $recipient );
+ }
+
+ // add the reply-to
+ $replyTo = $message->getReplyTo ();
+ // $replyTo is null or a PostmanEmailAddress object
+ if (isset ( $replyTo )) {
+ $this->addHeader ( 'reply-to', $replyTo->format () );
+ }
+
+ // add the date
+ $date = $message->getDate ();
+ if (! empty ( $date )) {
+ $this->addHeader ( 'date', $message->getDate () );
+ }
+
+ // add the messageId
+ $messageId = $message->getMessageId ();
+ if (! empty ( $messageId )) {
+ $this->addHeader ( 'message-id', $messageId );
+ }
+
+ // add the subject
+ if (null !== $message->getSubject ()) {
+ $this->mandrillMessage ['subject'] = $message->getSubject ();
+ }
+
+ // add the message content
+ {
+ $textPart = $message->getBodyTextPart ();
+ if (! empty ( $textPart )) {
+ $this->logger->debug ( 'Adding body as text' );
+ $this->mandrillMessage ['text'] = $textPart;
+ }
+ $htmlPart = $message->getBodyHtmlPart ();
+ if (! empty ( $htmlPart )) {
+ $this->logger->debug ( 'Adding body as html' );
+ $this->mandrillMessage ['html'] = $htmlPart;
+ }
+ }
+
+ // add attachments
+ $this->logger->debug ( "Adding attachments" );
+ $this->addAttachmentsToMail ( $message );
+
+ $result = array ();
+ try {
+ if ($this->logger->isDebug ()) {
+ $this->logger->debug ( "Creating Mandrill service with apiKey=" . $this->apiKey );
+ }
+ $mandrill = new Postman_Mandrill ( $this->apiKey );
+
+ // send the message
+ if ($this->logger->isDebug ()) {
+ $this->logger->debug ( "Sending mail" );
+ }
+
+ $result = $mandrill->messages->send ( $this->mandrillMessage );
+ if ($this->logger->isInfo ()) {
+ $this->logger->info ( sprintf ( 'Message %d accepted for delivery', PostmanState::getInstance ()->getSuccessfulDeliveries () + 1 ) );
+ }
+
+ $this->transcript = print_r ( $result, true );
+ $this->transcript .= PostmanModuleTransport::RAW_MESSAGE_FOLLOWS;
+ $this->transcript .= print_r ( $this->mandrillMessage, true );
+ } catch ( Exception $e ) {
+ $this->transcript = $e->getMessage ();
+ $this->transcript .= PostmanModuleTransport::RAW_MESSAGE_FOLLOWS;
+ $this->transcript .= print_r ( $this->mandrillMessage, true );
+ throw $e;
+ }
+ }
+ private function addHeader($key, $value, $append = false) {
+ $this->logger->debug ( 'Adding header: ' . $key . ' = ' . $value );
+ $header = &$this->mandrillMessage ['headers'];
+ if ($append && ! empty ( $header [$key] )) {
+ $header [$key] = $header [$key] . ', ' . $value;
+ } else {
+ $header [$key] = $value;
+ }
+ }
+
+ /**
+ * Add attachments to the message
+ *
+ * @param Postman_Zend_Mail $mail
+ */
+ private function addAttachmentsToMail(PostmanMessage $message) {
+ $attachments = $message->getAttachments ();
+ if (isset ( $attachments )) {
+ $this->mandrillMessage ['attachments'] = array ();
+ if (! is_array ( $attachments )) {
+ // WordPress may a single filename or a newline-delimited string list of multiple filenames
+ $attArray = explode ( PHP_EOL, $attachments );
+ } else {
+ $attArray = $attachments;
+ }
+ // otherwise WordPress sends an array
+ foreach ( $attArray as $file ) {
+ if (! empty ( $file )) {
+ $this->logger->debug ( "Adding attachment: " . $file );
+ $attachment = array (
+ 'type' => 'attachment',
+ 'name' => basename ( $file ),
+ 'content' => file_get_contents ( $file )
+ );
+ array_push ( $this->mandrillMessage ['attachments'], $attachment );
+ }
+ }
+ }
+ }
+
+ // return the SMTP session transcript
+ public function getTranscript() {
+ return $this->transcript;
+ }
+ }
+}
+
diff --git a/Postman/Postman-Mail/PostmanMandrillTransport.php b/Postman/Postman-Mail/PostmanMandrillTransport.php
new file mode 100644
index 0000000..bcc0cc3
--- /dev/null
+++ b/Postman/Postman-Mail/PostmanMandrillTransport.php
@@ -0,0 +1,276 @@
+<?php
+require_once 'PostmanModuleTransport.php';
+/**
+ * Postman Mandrill module
+ *
+ * @author jasonhendriks
+ *
+ */
+class PostmanMandrillTransport extends PostmanAbstractModuleTransport implements PostmanModuleTransport {
+ const SLUG = 'mandrill_api';
+ const PORT = 443;
+ const HOST = 'mandrillapp.com';
+ const PRIORITY = 9000;
+ const MANDRILL_AUTH_OPTIONS = 'postman_mandrill_auth_options';
+ const MANDRILL_AUTH_SECTION = 'postman_mandrill_auth_section';
+ public function __construct($rootPluginFilenameAndPath) {
+ parent::__construct ( $rootPluginFilenameAndPath );
+
+ // add a hook on the plugins_loaded event
+ add_action ( 'admin_init', array (
+ $this,
+ 'on_admin_init'
+ ) );
+ }
+
+ /**
+ *
+ * @param unknown $data
+ */
+ public function prepareOptionsForExport($data) {
+ $data = parent::prepareOptionsForExport ( $data );
+ $data [PostmanOptions::MANDRILL_API_KEY] = PostmanOptions::getInstance ()->getMandrillApiKey ();
+ return $data;
+ }
+ public function getProtocol() {
+ return 'https';
+ }
+
+ // this should be standard across all transports
+ public function getSlug() {
+ return self::SLUG;
+ }
+ public function getName() {
+ return __ ( 'Mandrill API', Postman::TEXT_DOMAIN );
+ }
+ /**
+ * v0.2.1
+ *
+ * @return string
+ */
+ public function getHostname() {
+ return self::HOST;
+ }
+ /**
+ * v0.2.1
+ *
+ * @return string
+ */
+ public function getPort() {
+ return self::PORT;
+ }
+ /**
+ * v1.7.0
+ *
+ * @return string
+ */
+ public function getTransportType() {
+ return 'mandrill_api';
+ }
+ /**
+ * v0.2.1
+ *
+ * @return string
+ */
+ public function getAuthenticationType() {
+ return '';
+ }
+ /**
+ * v0.2.1
+ *
+ * @return string
+ */
+ public function getSecurityType() {
+ return self::PROTOCOL;
+ }
+ /**
+ * v0.2.1
+ *
+ * @return string
+ */
+ public function getCredentialsId() {
+ return $this->options->getClientId ();
+ }
+ /**
+ * v0.2.1
+ *
+ * @return string
+ */
+ public function getCredentialsSecret() {
+ return $this->options->getClientSecret ();
+ }
+ public function isServiceProviderGoogle($hostname) {
+ return false;
+ }
+ public function isServiceProviderMicrosoft($hostname) {
+ return false;
+ }
+ public function isServiceProviderYahoo($hostname) {
+ return false;
+ }
+ public function isOAuthUsed($authType) {
+ return false;
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanModuleTransport::createMailEngine()
+ */
+ public function createMailEngine() {
+ $apiKey = $this->options->getMandrillApiKey ();
+ require_once 'PostmanMandrillMailEngine.php';
+ $engine = new PostmanMandrillMailEngine ( $apiKey );
+ return $engine;
+ }
+
+ /**
+ * This short description of the Transport State shows on the Summary screens
+ * (non-PHPdoc)
+ *
+ * @see PostmanModuleTransport::getDeliveryDetails()
+ */
+ public function getDeliveryDetails() {
+ /* translators: where (1) is the secure icon and (2) is the transport name */
+ return sprintf ( __ ( 'Postman will send mail via the <b>%1$s %2$s</b>.', Postman::TEXT_DOMAIN ), '🔐', $this->getName () );
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanAbstractModuleTransport::validateTransportConfiguration()
+ */
+ protected function validateTransportConfiguration() {
+ $messages = parent::validateTransportConfiguration ();
+ $apiKey = $this->options->getMandrillApiKey ();
+ if (empty ( $apiKey )) {
+ array_push ( $messages, __ ( 'API Key can not be empty', Postman::TEXT_DOMAIN ) . '.' );
+ $this->setNotConfiguredAndReady ();
+ }
+ if (! $this->isSenderConfigured ()) {
+ array_push ( $messages, __ ( 'Message From Address can not be empty', Postman::TEXT_DOMAIN ) . '.' );
+ $this->setNotConfiguredAndReady ();
+ }
+ return $messages;
+ }
+
+ /**
+ * Mandrill API doesn't care what the hostname or guessed SMTP Server is; it runs it's port test no matter what
+ */
+ public function getSocketsForSetupWizardToProbe($hostname, $smtpServerGuess) {
+ $hosts = array (
+ self::createSocketDefinition ( $this->getHostname (), $this->getPort () )
+ );
+ return $hosts;
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanModuleTransport::getConfigurationBid()
+ */
+ public function getConfigurationBid(PostmanWizardSocket $hostData, $userAuthOverride, $originalSmtpServer) {
+ $recommendation = array ();
+ $recommendation ['priority'] = 0;
+ $recommendation ['transport'] = self::SLUG;
+ $recommendation ['hostname'] = null; // scribe looks this
+ $recommendation ['label'] = $this->getName ();
+ if ($hostData->hostname == self::HOST && $hostData->port == self::PORT) {
+ $recommendation ['priority'] = self::PRIORITY;
+ /* translators: where variables are (1) transport name (2) host and (3) port */
+ $recommendation ['message'] = sprintf ( __ ( ('Postman recommends the %1$s to host %2$s on port %3$d.') ), $this->getName (), self::HOST, self::PORT );
+ }
+ return $recommendation;
+ }
+
+ /**
+ */
+ public function createOverrideMenu(PostmanWizardSocket $socket, $winningRecommendation, $userSocketOverride, $userAuthOverride) {
+ $overrideItem = parent::createOverrideMenu ( $socket, $winningRecommendation, $userSocketOverride, $userAuthOverride );
+ // push the authentication options into the $overrideItem structure
+ $overrideItem ['auth_items'] = array (
+ array (
+ 'selected' => true,
+ 'name' => __ ( 'API Key', Postman::TEXT_DOMAIN ),
+ 'value' => 'api_key'
+ )
+ );
+ return $overrideItem;
+ }
+
+ /**
+ * Functions to execute on the admin_init event
+ *
+ * "Runs at the beginning of every admin page before the page is rendered."
+ * ref: http://codex.wordpress.org/Plugin_API/Action_Reference#Actions_Run_During_an_Admin_Page_Request
+ */
+ public function on_admin_init() {
+ // only administrators should be able to trigger this
+ if (PostmanUtils::isAdmin ()) {
+ $this->addSettings ();
+ $this->registerStylesAndScripts ();
+ }
+ }
+
+ /*
+ * What follows in the code responsible for creating the Admin Settings page
+ */
+
+ /**
+ */
+ public function addSettings() {
+ // the Mandrill Auth section
+ add_settings_section ( PostmanMandrillTransport::MANDRILL_AUTH_SECTION, __ ( 'Authentication', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'printMandrillAuthSectionInfo'
+ ), PostmanMandrillTransport::MANDRILL_AUTH_OPTIONS );
+
+ add_settings_field ( PostmanOptions::MANDRILL_API_KEY, __ ( 'API Key', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'mandrill_api_key_callback'
+ ), PostmanMandrillTransport::MANDRILL_AUTH_OPTIONS, PostmanMandrillTransport::MANDRILL_AUTH_SECTION );
+ }
+
+ /**
+ */
+ public function printMandrillAuthSectionInfo() {
+ /* Translators: Where (1) is the service URL and (2) is the service name and (3) is a api key URL */
+ printf ( '<p id="wizard_mandrill_auth_help">%s</p>', sprintf ( __ ( 'Create an account at <a href="%1$s" target="_new">%2$s</a> and enter <a href="%3$s" target="_new">an API key</a> below.', Postman::TEXT_DOMAIN ), 'https://mandrillapp.com', 'Mandrillapp.com', 'https://mandrillapp.com/settings' ) );
+ }
+
+ /**
+ */
+ public function mandrill_api_key_callback() {
+ printf ( '<input type="password" autocomplete="off" id="mandrill_api_key" name="postman_options[mandrill_api_key]" value="%s" size="60" class="required" placeholder="%s"/>', null !== $this->options->getMandrillApiKey () ? esc_attr ( PostmanUtils::obfuscatePassword ( $this->options->getMandrillApiKey () ) ) : '', __ ( 'Required', Postman::TEXT_DOMAIN ) );
+ print ' <input type="button" id="toggleMandrillApiKey" value="Show Password" class="button button-secondary" style="visibility:hidden" />';
+ }
+
+ /**
+ */
+ public function registerStylesAndScripts() {
+ // register the stylesheet and javascript external resources
+ $pluginData = apply_filters ( 'postman_get_plugin_metadata', null );
+ wp_register_script ( 'postman_mandrill_script', plugins_url ( 'Postman/Postman-Mail/postman_mandrill.js', $this->rootPluginFilenameAndPath ), array (
+ PostmanViewController::JQUERY_SCRIPT,
+ 'jquery_validation',
+ PostmanViewController::POSTMAN_SCRIPT
+ ), $pluginData ['version'] );
+ }
+
+ /**
+ */
+ public function enqueueScript() {
+ wp_enqueue_script ( 'postman_mandrill_script' );
+ }
+
+ /**
+ */
+ public function printWizardAuthenticationStep() {
+ print '<section class="wizard_mandrill">';
+ $this->printMandrillAuthSectionInfo ();
+ printf ( '<label for="api_key">%s</label>', __ ( 'API Key', Postman::TEXT_DOMAIN ) );
+ print '<br />';
+ print $this->mandrill_api_key_callback ();
+ print '</section>';
+ }
+}
diff --git a/Postman/Postman-Mail/PostmanMessage.php b/Postman/Postman-Mail/PostmanMessage.php
new file mode 100644
index 0000000..bd852c4
--- /dev/null
+++ b/Postman/Postman-Mail/PostmanMessage.php
@@ -0,0 +1,564 @@
+<?php
+if (! class_exists ( "PostmanMessage" )) {
+
+ require_once 'PostmanEmailAddress.php';
+
+ /**
+ * This class knows how to interface with Wordpress
+ * including loading/saving to the database.
+ *
+ * The various Transports available:
+ * http://framework.zend.com/manual/current/en/modules/zend.mail.smtp.options.html
+ *
+ * @author jasonhendriks
+ *
+ */
+ class PostmanMessage {
+ const EOL = "\r\n";
+
+ // logger for all concrete classes - populate with setLogger($logger)
+ protected $logger;
+
+ // set by the caller
+ private $from;
+ private $replyTo;
+ private $toRecipients;
+ private $ccRecipients;
+ private $bccRecipients;
+ private $subject;
+ private $body;
+ private $bodyTextPart;
+ private $bodyHtmlPart;
+ private $headers;
+ private $attachments;
+ private $date;
+ private $messageId;
+
+ // determined by the send() method
+ private $isTextHtml;
+ private $contentType;
+ private $charset;
+
+ //
+ private $boundary;
+
+ /**
+ * No-argument constructor
+ */
+ function __construct() {
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ $this->headers = array ();
+ $this->toRecipients = array ();
+ $this->ccRecipients = array ();
+ $this->bccRecipients = array ();
+ }
+
+ /**
+ *
+ * @return boolean
+ */
+ public function isBodyPartsEmpty() {
+ return empty ( $this->bodyTextPart ) && empty ( $this->bodyHtmlPart );
+ }
+
+ /**
+ *
+ * @param PostmanModuleTransport $transport
+ */
+ public function validate(PostmanModuleTransport $transport) {
+ if ($transport->isEmailValidationSupported ()) {
+ $this->internalValidate ();
+ }
+ }
+
+ /**
+ * Create body parts based on content type
+ * MyMail creates its own body parts
+ */
+ public function createBodyParts() {
+
+ // modify the content-type to include the boundary
+ if (false !== stripos ( $this->contentType, 'multipart' ) && ! empty ( $this->boundary )) {
+ // Lines in email are terminated by CRLF ("\r\n") according to RFC2821
+ $this->contentType = sprintf ( "%s;\r\n\t boundary=\"%s\"", $this->contentType, $this->getBoundary () );
+ }
+
+ //
+ $body = $this->getBody ();
+ $contentType = $this->getContentType ();
+ // add the message content as either text or html
+ if (empty ( $contentType ) || substr ( $contentType, 0, 10 ) === 'text/plain') {
+ $this->logger->debug ( 'Creating text body part' );
+ $this->setBodyTextPart ( $body );
+ } else if (substr ( $contentType, 0, 9 ) === 'text/html') {
+ $this->logger->debug ( 'Creating html body part' );
+ $this->setBodyHtmlPart ( $body );
+ } else if (substr ( $contentType, 0, 21 ) === 'multipart/alternative') {
+ $this->logger->debug ( 'Adding body as multipart/alternative' );
+ $arr = explode ( PHP_EOL, $body );
+ $textBody = '';
+ $htmlBody = '';
+ $mode = '';
+ foreach ( $arr as $s ) {
+ $this->logger->trace ( 'mode: ' . $mode . ' bodyline: ' . $s );
+ if (substr ( $s, 0, 25 ) === "Content-Type: text/plain;") {
+ $mode = 'foundText';
+ } else if (substr ( $s, 0, 24 ) === "Content-Type: text/html;") {
+ $mode = 'foundHtml';
+ } else if ($mode == 'textReading') {
+ $textBody .= $s;
+ } else if ($mode == 'htmlReading') {
+ $htmlBody .= $s;
+ } else if ($mode == 'foundText') {
+ $trim = trim ( $s );
+ if (empty ( $trim )) {
+ $mode = 'textReading';
+ }
+ } else if ($mode == 'foundHtml') {
+ $trim = trim ( $s );
+ if (empty ( $trim )) {
+ $mode = 'htmlReading';
+ }
+ }
+ }
+ $this->setBodyHtmlPart ( $htmlBody );
+ $this->setBodyTextPart ( $textBody );
+ } else {
+ $this->logger->error ( 'Unknown content-type: ' . $contentType );
+ $this->setBodyTextPart ( $body );
+ }
+ }
+
+ /**
+ * Apply the WordPress filters to the email
+ */
+ public function applyFilters() {
+ if ($this->logger->isDebug ()) {
+ $this->logger->debug ( 'Applying WordPress filters' );
+ }
+
+ /**
+ * Filter the email address to send from.
+ *
+ * @since 2.2.0
+ *
+ * @param string $from_email
+ * Email address to send from.
+ */
+ $filteredEmail = apply_filters ( 'wp_mail_from', $this->getFromAddress ()->getEmail () );
+ if ($this->logger->isTrace ()) {
+ $this->logger->trace ( 'wp_mail_from: ' . $filteredEmail );
+ }
+ if ($this->getFromAddress ()->getEmail () !== $filteredEmail) {
+ $this->logger->debug ( sprintf ( 'Filtering From email address: before=%s after=%s', $this->getFromAddress ()->getEmail (), $filteredEmail ) );
+ $this->getFromAddress ()->setEmail ( $filteredEmail );
+ }
+
+ /**
+ * Filter the name to associate with the "from" email address.
+ *
+ * @since 2.3.0
+ *
+ * @param string $from_name
+ * Name associated with the "from" email address.
+ */
+ $filteredName = apply_filters ( 'wp_mail_from_name', $this->getFromAddress ()->getName () );
+ if ($this->logger->isTrace ()) {
+ $this->logger->trace ( 'wp_mail_from_name: ' . $filteredName );
+ }
+ if ($this->getFromAddress ()->getName () !== $filteredName) {
+ $this->logger->debug ( sprintf ( 'Filtering From email name: before=%s after=%s', $this->getFromAddress ()->getName (), $filteredName ) );
+ $this->getFromAddress ()->setName ( $filteredName );
+ }
+
+ /**
+ * Filter the default wp_mail() charset.
+ *
+ * @since 2.3.0
+ *
+ * @param string $charset
+ * Default email charset.
+ */
+ $filteredCharset = apply_filters ( 'wp_mail_charset', $this->getCharset () );
+ if ($this->logger->isTrace ()) {
+ $this->logger->trace ( 'wp_mail_charset: ' . $filteredCharset );
+ }
+ if ($this->getCharset () !== $filteredCharset) {
+ $this->logger->debug ( sprintf ( 'Filtering Charset: before=%s after=%s', $this->getCharset (), $filteredCharset ) );
+ $this->setCharset ( $filteredCharset );
+ }
+
+ /**
+ * Filter the wp_mail() content type.
+ *
+ * @since 2.3.0
+ *
+ * @param string $content_type
+ * Default wp_mail() content type.
+ */
+ $filteredContentType = apply_filters ( 'wp_mail_content_type', $this->getContentType () );
+ if ($this->logger->isTrace ()) {
+ $this->logger->trace ( sprintf ( 'wp_mail_content_type: "%s"', $filteredContentType ) );
+ }
+ if ($this->getContentType () != $filteredContentType) {
+ $this->logger->debug ( sprintf ( 'Filtering Content-Type: before=%s after=%s', $this->getContentType (), $filteredContentType ) );
+ $this->setContentType ( $filteredContentType );
+ }
+
+ // Postman has it's own 'user override' filter
+ $options = PostmanOptions::getInstance ();
+ $forcedEmailAddress = $options->getMessageSenderEmail ();
+ if ($options->isSenderEmailOverridePrevented () && $this->getFromAddress ()->getEmail () !== $forcedEmailAddress) {
+ $this->logger->debug ( sprintf ( 'Forced From email address: before=%s after=%s', $this->getFromAddress ()->getEmail (), $forcedEmailAddress ) );
+ $this->getFromAddress ()->setEmail ( $forcedEmailAddress );
+ }
+ $forcedEmailName = $options->getMessageSenderName ();
+ if ($options->isSenderNameOverridePrevented () && $this->getFromAddress ()->getName () !== $forcedEmailName) {
+ $this->logger->debug ( sprintf ( 'Forced From email name: before=%s after=%s', $this->getFromAddress ()->getName (), $forcedEmailName ) );
+ $this->getFromAddress ()->setName ( $forcedEmailName );
+ }
+ }
+
+ /**
+ * Check all email headers for errors
+ * Throw an exception if an error is found
+ */
+ private function internalValidate() {
+ // check the reply-to address for errors
+ if (isset ( $this->replyTo )) {
+ $this->getReplyTo ()->validate ( 'Reply-To' );
+ }
+
+ // check the from address for errors
+ $this->getFromAddress ()->validate ( 'From' );
+
+ // validate the To recipients
+ foreach ( ( array ) $this->getToRecipients () as $toRecipient ) {
+ $toRecipient->validate ( 'To' );
+ }
+
+ // validate the Cc recipients
+ foreach ( ( array ) $this->getCcRecipients () as $ccRecipient ) {
+ $ccRecipient->validate ( 'Cc' );
+ }
+
+ // validate the Bcc recipients
+ foreach ( ( array ) $this->getBccRecipients () as $bccRecipient ) {
+ $bccRecipient->validate ( 'Bcc' );
+ }
+ }
+
+ /**
+ *
+ * @return PostmanEmailAddress
+ */
+ public function getFromAddress() {
+ return $this->from;
+ }
+
+ /**
+ * Get the charset, checking first the WordPress bloginfo, then the header, then the wp_mail_charset filter.
+ *
+ * @return string
+ */
+ public function getCharset() {
+ return $this->charset;
+ }
+
+ /**
+ * Set the charset
+ *
+ * @param unknown $charset
+ */
+ public function setCharset($charset) {
+ $this->charset = $charset;
+ }
+
+ /**
+ * Get the content type, checking first the header, then the wp_mail_content_type filter
+ *
+ * @return string
+ */
+ public function getContentType() {
+ return $this->contentType;
+ }
+ public function setContentType($contentType) {
+ $this->contentType = $contentType;
+ }
+ /**
+ *
+ * @param unknown $recipients
+ * Array or comma-separated list of email addresses to send message.
+ * @throws Exception
+ */
+ public function addTo($to) {
+ $this->addRecipients ( $this->toRecipients, $to );
+ }
+ /**
+ *
+ * @param unknown $recipients
+ * Array or comma-separated list of email addresses to send message.
+ * @throws Exception
+ */
+ public function addCc($cc) {
+ $this->addRecipients ( $this->ccRecipients, $cc );
+ }
+ /**
+ *
+ * @param unknown $recipients
+ * Array or comma-separated list of email addresses to send message.
+ * @throws Exception
+ */
+ public function addBcc($bcc) {
+ $this->addRecipients ( $this->bccRecipients, $bcc );
+ }
+ /**
+ *
+ * @param unknown $recipients
+ * Array or comma-separated list of email addresses to send message.
+ * @throws Exception
+ */
+ private function addRecipients(&$recipientList, $recipients) {
+ if (! empty ( $recipients )) {
+ $recipients = PostmanEmailAddress::convertToArray ( $recipients );
+ foreach ( $recipients as $recipient ) {
+ if (! empty ( $recipient )) {
+ $this->logger->debug ( sprintf ( 'User added recipient: "%s"', $recipient ) );
+ array_push ( $recipientList, new PostmanEmailAddress ( $recipient ) );
+ }
+ }
+ }
+ }
+
+ /**
+ * For the string version, each header line (beginning with From:, Cc:, etc.) is delimited with a newline ("\r\n")
+ */
+ public function addHeaders($headers) {
+ if (! is_array ( $headers )) {
+ // WordPress may send a string where "each header line (beginning with From:, Cc:, etc.) is delimited with a newline ("\r\n") (advanced)"
+ // this converts that string to an array
+ $headers = explode ( "\n", str_replace ( "\r\n", "\n", $headers ) );
+ // $headers = explode ( PHP_EOL, $headers );
+ }
+ // otherwise WordPress sends an array
+ foreach ( $headers as $header ) {
+ if (! empty ( $header )) {
+ // boundary may be in a header line, but it's not a header
+ // eg. boundary="----=_NextPart_DC7E1BB5...
+ if (strpos ( $header, ':' ) === false) {
+ if (false !== stripos ( $header, 'boundary=' )) {
+ $parts = preg_split ( '/boundary=/i', trim ( $header ) );
+ $this->boundary = trim ( str_replace ( array (
+ "'",
+ '"'
+ ), '', $parts [1] ) );
+ $this->logger->debug ( sprintf ( 'Processing special boundary header \'%s\'', $this->getBoundary () ) );
+ } else {
+ $this->logger->debug ( sprintf ( 'Ignoring broken header \'%s\'', $header ) );
+ }
+ continue;
+ }
+ list ( $name, $content ) = explode ( ':', trim ( $header ), 2 );
+ $this->processHeader ( $name, $content );
+ }
+ }
+ }
+
+ /**
+ * Add the headers that were processed in processHeaders()
+ * Zend requires that several headers are specially handled.
+ *
+ * @param unknown $name
+ * @param unknown $value
+ * @param Postman_Zend_Mail $mail
+ */
+ private function processHeader($name, $content) {
+ $name = trim ( $name );
+ $content = trim ( $content );
+ switch (strtolower ( $name )) {
+ case 'content-type' :
+ $this->logProcessHeader ( 'Content-Type', $name, $content );
+ if (strpos ( $content, ';' ) !== false) {
+ list ( $type, $charset ) = explode ( ';', $content );
+ $this->setContentType ( trim ( $type ) );
+ if (false !== stripos ( $charset, 'charset=' )) {
+ $charset = trim ( str_replace ( array (
+ 'charset=',
+ '"'
+ ), '', $charset ) );
+ } elseif (false !== stripos ( $charset, 'boundary=' )) {
+ $this->boundary = trim ( str_replace ( array (
+ 'BOUNDARY=',
+ 'boundary=',
+ '"'
+ ), '', $charset ) );
+ $charset = '';
+ }
+ if (! empty ( $charset )) {
+ $this->setCharset ( $charset );
+ }
+ } else {
+ $this->setContentType ( trim ( $content ) );
+ }
+ break;
+ case 'to' :
+ $this->logProcessHeader ( 'To', $name, $content );
+ $this->addTo ( $content );
+ break;
+ case 'cc' :
+ $this->logProcessHeader ( 'Cc', $name, $content );
+ $this->addCc ( $content );
+ break;
+ case 'bcc' :
+ $this->logProcessHeader ( 'Bcc', $name, $content );
+ $this->addBcc ( $content );
+ break;
+ case 'from' :
+ $this->logProcessHeader ( 'From', $name, $content );
+ $this->setFrom ( $content );
+ break;
+ case 'subject' :
+ $this->logProcessHeader ( 'Subject', $name, $content );
+ $this->setSubject ( $content );
+ break;
+ case 'reply-to' :
+ $this->logProcessHeader ( 'Reply-To', $name, $content );
+ $this->setReplyTo ( $content );
+ break;
+ case 'sender' :
+ $this->logProcessHeader ( 'Sender', $name, $content );
+ $this->logger->warn ( sprintf ( 'Ignoring Sender header \'%s\'', $content ) );
+ break;
+ case 'return-path' :
+ $this->logProcessHeader ( 'Return-Path', $name, $content );
+ $this->logger->warn ( sprintf ( 'Ignoring Return-Path header \'%s\'', $content ) );
+ break;
+ case 'date' :
+ $this->logProcessHeader ( 'Date', $name, $content );
+ $this->setDate ( $content );
+ break;
+ case 'message-id' :
+ $this->logProcessHeader ( 'Message-Id', $name, $content );
+ $this->setMessageId ( $content );
+ break;
+ default :
+ // Add it to our grand headers array
+ $this->logProcessHeader ( 'other', $name, $content );
+ array_push ( $this->headers, array (
+ 'name' => $name,
+ 'content' => $content
+ ) );
+ break;
+ }
+ }
+
+ /**
+ *
+ * @param unknown $desc
+ * @param unknown $name
+ * @param unknown $content
+ */
+ private function logProcessHeader($desc, $name, $content) {
+ $this->logger->debug ( 'Processing ' . $desc . ' Header - ' . $name . ': ' . $content );
+ }
+
+ /**
+ * Add attachments to the message
+ *
+ * @param Postman_Zend_Mail $mail
+ */
+ public function addAttachmentsToMail(Postman_Zend_Mail $mail) {
+ $attachments = $this->attachments;
+ if (! is_array ( $attachments )) {
+ // WordPress may a single filename or a newline-delimited string list of multiple filenames
+ $attArray = explode ( PHP_EOL, $attachments );
+ } else {
+ $attArray = $attachments;
+ }
+ // otherwise WordPress sends an array
+ foreach ( $attArray as $file ) {
+ if (! empty ( $file )) {
+ $this->logger->debug ( "Adding attachment: " . $file );
+ $at = new Postman_Zend_Mime_Part ( file_get_contents ( $file ) );
+ // $at->type = 'image/gif';
+ $at->disposition = Postman_Zend_Mime::DISPOSITION_ATTACHMENT;
+ $at->encoding = Postman_Zend_Mime::ENCODING_BASE64;
+ $at->filename = basename ( $file );
+ $mail->addAttachment ( $at );
+ }
+ }
+ }
+ function setBody($body) {
+ $this->body = $body;
+ }
+ function setBodyTextPart($bodyTextPart) {
+ $this->bodyTextPart = $bodyTextPart;
+ }
+ function setBodyHtmlPart($bodyHtmlPart) {
+ $this->bodyHtmlPart = $bodyHtmlPart;
+ }
+ function setSubject($subject) {
+ $this->subject = $subject;
+ }
+ function setAttachments($attachments) {
+ $this->attachments = $attachments;
+ }
+ function setFrom($email, $name = null) {
+ if (! empty ( $email )) {
+ $this->from = new PostmanEmailAddress ( $email, $name );
+ }
+ }
+ function setReplyTo($replyTo) {
+ if (! empty ( $replyTo )) {
+ $this->replyTo = new PostmanEmailAddress ( $replyTo );
+ }
+ }
+ function setMessageId($messageId) {
+ $this->messageId = $messageId;
+ }
+ function setDate($date) {
+ $this->date = $date;
+ }
+
+ // return the headers
+ public function getHeaders() {
+ return $this->headers;
+ }
+ public function getBoundary() {
+ return $this->boundary;
+ }
+ public function getToRecipients() {
+ return $this->toRecipients;
+ }
+ public function getCcRecipients() {
+ return $this->ccRecipients;
+ }
+ public function getBccRecipients() {
+ return $this->bccRecipients;
+ }
+ public function getReplyTo() {
+ return $this->replyTo;
+ }
+ public function getDate() {
+ return $this->date;
+ }
+ public function getMessageId() {
+ return $this->messageId;
+ }
+ public function getSubject() {
+ return $this->subject;
+ }
+ public function getBody() {
+ return $this->body;
+ }
+ public function getBodyTextPart() {
+ return $this->bodyTextPart;
+ }
+ public function getBodyHtmlPart() {
+ return $this->bodyHtmlPart;
+ }
+ public function getAttachments() {
+ return $this->attachments;
+ }
+ }
+}
diff --git a/Postman/Postman-Mail/PostmanModuleTransport.php b/Postman/Postman-Mail/PostmanModuleTransport.php
new file mode 100644
index 0000000..21c1624
--- /dev/null
+++ b/Postman/Postman-Mail/PostmanModuleTransport.php
@@ -0,0 +1,748 @@
+<?php
+/**
+ * Keep the interface_exists check here for Postman Gmail API Extension users!
+ *
+ * @author jasonhendriks
+ */
+if (! interface_exists ( 'PostmanTransport' )) {
+ interface PostmanTransport {
+ public function isServiceProviderGoogle($hostname);
+ public function isServiceProviderMicrosoft($hostname);
+ public function isServiceProviderYahoo($hostname);
+ // @deprecated
+ public function isOAuthUsed($authType);
+ public function isTranscriptSupported();
+ public function getSlug();
+ public function getName();
+ // @deprecated
+ public function createPostmanMailAuthenticator(PostmanOptions $options, PostmanOAuthToken $authToken);
+ public function createZendMailTransport($fakeHostname, $fakeConfig);
+ public function isConfigured(PostmanOptionsInterface $options, PostmanOAuthToken $token);
+ public function isReady(PostmanOptionsInterface $options, PostmanOAuthToken $token);
+ // @deprecated
+ public function getMisconfigurationMessage(PostmanConfigTextHelper $scribe, PostmanOptionsInterface $options, PostmanOAuthToken $token);
+ // @deprecated
+ public function getConfigurationRecommendation($hostData);
+ // @deprecated
+ public function getHostsToTest($hostname);
+ }
+}
+interface PostmanModuleTransport extends PostmanTransport {
+ const RAW_MESSAGE_FOLLOWS = '
+
+--Raw message follows--
+
+';
+ public function getDeliveryDetails();
+ public function getSocketsForSetupWizardToProbe($hostname, $smtpServerGuess);
+ public function getConfigurationBid(PostmanWizardSocket $hostData, $userAuthOverride, $originalSmtpServer);
+ public function isLockingRequired();
+ public function createMailEngine();
+ public function isWizardSupported();
+ public function isConfiguredAndReady();
+ public function isReadyToSendMail();
+ public function getFromEmailAddress();
+ public function getFromName();
+ public function getProtocol();
+ public function isEmailValidationSupported();
+ public function getPort();
+ public function init();
+}
+interface PostmanZendModuleTransport extends PostmanModuleTransport {
+ public function getAuthenticationType();
+ public function getSecurityType();
+ public function getCredentialsId();
+ public function getCredentialsSecret();
+ public function getEnvelopeFromEmailAddress();
+}
+
+/**
+ *
+ * @author jasonhendriks
+ *
+ */
+abstract class PostmanAbstractModuleTransport implements PostmanModuleTransport {
+ private $configurationMessages;
+ private $configuredAndReady;
+
+ /**
+ * These internal variables are exposed for the subclasses to use
+ *
+ * @var unknown
+ */
+ protected $logger;
+ protected $options;
+ protected $rootPluginFilenameAndPath;
+ protected $scribe;
+
+ /**
+ */
+ public function __construct($rootPluginFilenameAndPath) {
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ $this->options = PostmanOptions::getInstance ();
+ $this->rootPluginFilenameAndPath = $rootPluginFilenameAndPath;
+ }
+
+ /**
+ * Initialize the Module
+ *
+ * Perform validation and create configuration error messages.
+ * The module is not in a configured-and-ready state until initialization
+ */
+ public function init() {
+ // create the scribe
+ $hostname = $this->getHostname ();
+ $this->scribe = $this->createScribe ( $hostname );
+
+ // validate the transport and generate error messages
+ $this->configurationMessages = $this->validateTransportConfiguration ();
+ }
+
+ /**
+ * SendGrid API doesn't care what the hostname or guessed SMTP Server is; it runs it's port test no matter what
+ */
+ public function getSocketsForSetupWizardToProbe($hostname, $smtpServerGuess) {
+ $hosts = array (
+ self::createSocketDefinition ( $this->getHostname (), $this->getPort () )
+ );
+ return $hosts;
+ }
+
+ /**
+ * Creates a single socket for the Wizard to test
+ */
+ protected function createSocketDefinition($hostname, $port) {
+ $socket = array ();
+ $socket ['host'] = $hostname;
+ $socket ['port'] = $port;
+ $socket ['id'] = sprintf ( '%s-%s', $this->getSlug (), $port );
+ $socket ['transport_id'] = $this->getSlug ();
+ $socket ['transport_name'] = $this->getName ();
+ $socket ['smtp'] = false;
+ return $socket;
+ }
+
+ /**
+ *
+ * @param unknown $data
+ */
+ public function prepareOptionsForExport($data) {
+ // no-op
+ return $data;
+ }
+
+ /**
+ */
+ public function printActionMenuItem() {
+ printf ( '<li><div class="welcome-icon send_test_email">%s</div></li>', $this->getScribe ()->getRequestPermissionLinkText () );
+ }
+
+ /**
+ *
+ * @param unknown $queryHostname
+ */
+ protected function createScribe($hostname) {
+ $scribe = new PostmanNonOAuthScribe ( $hostname );
+ return $scribe;
+ }
+
+ /**
+ */
+ public function enqueueScript() {
+ // no-op, this for subclasses
+ }
+
+ /**
+ * This method is for internal use
+ */
+ protected function validateTransportConfiguration() {
+ $this->configuredAndReady = true;
+ $messages = array ();
+ return $messages;
+ }
+
+ /**
+ */
+ protected function setNotConfiguredAndReady() {
+ $this->configuredAndReady = false;
+ }
+
+ /**
+ * A short-hand way of showing the complete delivery method
+ *
+ * @param PostmanModuleTransport $transport
+ * @return string
+ */
+ public function getPublicTransportUri() {
+ $name = $this->getSlug ();
+ $host = $this->getHostname ();
+ $port = $this->getPort ();
+ $protocol = $this->getProtocol ();
+ return sprintf ( '%s://%s:%s', $protocol, $host, $port );
+ }
+
+ /**
+ * The Message From Address
+ */
+ public function getFromEmailAddress() {
+ return PostmanOptions::getInstance ()->getMessageSenderEmail ();
+ }
+
+ /**
+ * The Message From Name
+ */
+ public function getFromName() {
+ return PostmanOptions::getInstance ()->getMessageSenderName ();
+ }
+ public function getEnvelopeFromEmailAddress() {
+ return PostmanOptions::getInstance ()->getEnvelopeSender ();
+ }
+ public function isEmailValidationSupported() {
+ return ! PostmanOptions::getInstance ()->isEmailValidationDisabled ();
+ }
+
+ /**
+ * Make sure the Senders are configured
+ *
+ * @param PostmanOptions $options
+ * @return boolean
+ */
+ protected function isSenderConfigured() {
+ $options = PostmanOptions::getInstance ();
+ $messageFrom = $options->getMessageSenderEmail ();
+ return ! empty ( $messageFrom );
+ }
+
+ /**
+ * Get the configuration error messages
+ */
+ public function getConfigurationMessages() {
+ return $this->configurationMessages;
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanModuleTransport::isConfiguredAndReady()
+ */
+ public function isConfiguredAndReady() {
+ return $this->configuredAndReady;
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanModuleTransport::isReadyToSendMail()
+ */
+ public function isReadyToSendMail() {
+ return $this->isConfiguredAndReady ();
+ }
+
+ /**
+ * Determines whether Mail Engine locking is needed
+ *
+ * @see PostmanModuleTransport::requiresLocking()
+ */
+ public function isLockingRequired() {
+ return false;
+ }
+ public function isOAuthUsed($authType) {
+ return $authType == PostmanOptions::AUTHENTICATION_TYPE_OAUTH2;
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanModuleTransport::isWizardSupported()
+ */
+ public function isWizardSupported() {
+ return false;
+ }
+
+ /**
+ * This is for step 2 of the Wizard
+ */
+ public function printWizardMailServerHostnameStep() {
+ }
+
+ /**
+ * This is for step 4 of the Wizard
+ */
+ public function printWizardAuthenticationStep() {
+ }
+
+ /**
+ *
+ * @return PostmanNonOAuthScribe
+ */
+ public function getScribe() {
+ return $this->scribe;
+ }
+
+ /**
+ *
+ * @param unknown $hostname
+ * @param unknown $response
+ */
+ public function populateConfiguration($hostname) {
+ $configuration = array ();
+ return $configuration;
+ }
+ /**
+ *
+ * @param unknown $winningRecommendation
+ * @param unknown $response
+ */
+ public function populateConfigurationFromRecommendation($winningRecommendation) {
+ $configuration = array ();
+ $configuration ['message'] = $winningRecommendation ['message'];
+ $configuration [PostmanOptions::TRANSPORT_TYPE] = $winningRecommendation ['transport'];
+ return $configuration;
+ }
+
+ /**
+ */
+ public function createOverrideMenu(PostmanWizardSocket $socket, $winningRecommendation, $userSocketOverride, $userAuthOverride) {
+ $overrideItem = array ();
+ $overrideItem ['secure'] = $socket->secure;
+ $overrideItem ['mitm'] = $socket->mitm;
+ $overrideItem ['hostname_domain_only'] = $socket->hostnameDomainOnly;
+ $overrideItem ['reported_hostname_domain_only'] = $socket->reportedHostnameDomainOnly;
+ $overrideItem ['value'] = $socket->id;
+ $overrideItem ['description'] = $socket->label;
+ $overrideItem ['selected'] = ($winningRecommendation ['id'] == $overrideItem ['value']);
+ return $overrideItem;
+ }
+
+ /*
+ * ******************************************************************
+ * Not deprecated, but I wish they didn't live here on the superclass
+ */
+ public function isServiceProviderGoogle($hostname) {
+ return PostmanUtils::endsWith ( $hostname, 'gmail.com' ) || PostmanUtils::endsWith ( $hostname, 'googleapis.com' );
+ }
+ public function isServiceProviderMicrosoft($hostname) {
+ return PostmanUtils::endsWith ( $hostname, 'live.com' );
+ }
+ public function isServiceProviderYahoo($hostname) {
+ return strpos ( $hostname, 'yahoo' );
+ }
+
+ /*
+ * ********************************
+ * Unused, deprecated methods follow
+ * *********************************
+ */
+
+ /**
+ *
+ * @deprecated (non-PHPdoc)
+ * @see PostmanTransport::createZendMailTransport()
+ */
+ public function createZendMailTransport($hostname, $config) {
+ }
+
+ /**
+ *
+ * @deprecated (non-PHPdoc)
+ * @see PostmanTransport::isTranscriptSupported()
+ */
+ public function isTranscriptSupported() {
+ return false;
+ }
+
+ /**
+ * Only here because I can't remove it from the Interface
+ */
+ public final function getMisconfigurationMessage(PostmanConfigTextHelper $scribe, PostmanOptionsInterface $options, PostmanOAuthToken $token) {
+ }
+ public final function isReady(PostmanOptionsInterface $options, PostmanOAuthToken $token) {
+ return ! ($this->isConfiguredAndReady ());
+ }
+ public final function isConfigured(PostmanOptionsInterface $options, PostmanOAuthToken $token) {
+ return ! ($this->isConfiguredAndReady ());
+ }
+ /**
+ *
+ * @deprecated (non-PHPdoc)
+ * @see PostmanTransport::getConfigurationRecommendation()
+ */
+ public final function getConfigurationRecommendation($hostData) {
+ }
+ /**
+ *
+ * @deprecated (non-PHPdoc)
+ * @see PostmanTransport::getHostsToTest()
+ */
+ public final function getHostsToTest($hostname) {
+ }
+ protected final function isHostConfigured(PostmanOptions $options) {
+ $hostname = $options->getHostname ();
+ $port = $options->getPort ();
+ return ! (empty ( $hostname ) || empty ( $port ));
+ }
+ /**
+ *
+ * @deprecated (non-PHPdoc)
+ * @see PostmanTransport::createPostmanMailAuthenticator()
+ */
+ public final function createPostmanMailAuthenticator(PostmanOptions $options, PostmanOAuthToken $authToken) {
+ }
+}
+
+/**
+ * For the transports which depend on Zend_Mail
+ *
+ * @author jasonhendriks
+ *
+ */
+abstract class PostmanAbstractZendModuleTransport extends PostmanAbstractModuleTransport implements PostmanZendModuleTransport {
+ private $oauthToken;
+ private $readyForOAuthGrant;
+
+ /**
+ */
+ public function __construct($rootPluginFilenameAndPath) {
+ parent::__construct ( $rootPluginFilenameAndPath );
+ $this->oauthToken = PostmanOAuthToken::getInstance ();
+ }
+ public function getOAuthToken() {
+ return $this->oauthToken;
+ }
+ public function getProtocol() {
+ if ($this->getSecurityType () == PostmanOptions::SECURITY_TYPE_SMTPS)
+ return 'smtps';
+ else
+ return 'smtp';
+ }
+ public function getSecurityType() {
+ return PostmanOptions::getInstance ()->getEncryptionType ();
+ }
+
+ /**
+ *
+ * @param unknown $data
+ */
+ public function prepareOptionsForExport($data) {
+ $data = parent::prepareOptionsForExport ( $data );
+ $data [PostmanOptions::BASIC_AUTH_PASSWORD] = PostmanOptions::getInstance ()->getPassword ();
+ return $data;
+ }
+
+ /**
+ *
+ * @return boolean
+ */
+ public function isEnvelopeFromValidationSupported() {
+ return $this->isEmailValidationSupported ();
+ }
+
+ /**
+ */
+ protected function setReadyForOAuthGrant() {
+ $this->readyForOAuthGrant = true;
+ }
+
+ /**
+ */
+ public function printActionMenuItem() {
+ if ($this->readyForOAuthGrant && $this->getAuthenticationType () == PostmanOptions::AUTHENTICATION_TYPE_OAUTH2) {
+ printf ( '<li><a href="%s" class="welcome-icon send-test-email">%s</a></li>', PostmanUtils::getGrantOAuthPermissionUrl (), $this->getScribe ()->getRequestPermissionLinkText () );
+ } else {
+ parent::printActionMenuItem ();
+ }
+ }
+
+ /**
+ *
+ * @param unknown $queryHostname
+ */
+ protected function createScribe($hostname) {
+ $scribe = null;
+ if ($this->isServiceProviderGoogle ( $hostname )) {
+ $scribe = new PostmanGoogleOAuthScribe ();
+ } else if ($this->isServiceProviderMicrosoft ( $hostname )) {
+ $scribe = new PostmanMicrosoftOAuthScribe ();
+ } else if ($this->isServiceProviderYahoo ( $hostname )) {
+ $scribe = new PostmanYahooOAuthScribe ();
+ } else {
+ $scribe = new PostmanNonOAuthScribe ( $hostname );
+ }
+ return $scribe;
+ }
+
+ /**
+ * A short-hand way of showing the complete delivery method
+ *
+ * @param PostmanModuleTransport $transport
+ * @return string
+ */
+ public function getPublicTransportUri() {
+ $transportName = $this->getSlug ();
+ $options = PostmanOptions::getInstance ();
+ $auth = $this->getAuthenticationType ( $options );
+ $protocol = $this->getProtocol ();
+ $security = $this->getSecurityType ();
+ $host = $this->getHostname ( $options );
+ $port = $this->getPort ( $options );
+ if (! empty ( $security ) && $security != 'ssl') {
+ return sprintf ( '%s:%s:%s://%s:%s', $protocol, $security, $auth, $host, $port );
+ } else {
+ return sprintf ( '%s:%s://%s:%s', $protocol, $auth, $host, $port );
+ }
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanModuleTransport::getDeliveryDetails()
+ */
+ public function getDeliveryDetails() {
+ $this->options = $this->options;
+ $deliveryDetails ['transport_name'] = $this->getTransportDescription ( $this->getSecurityType () );
+ $deliveryDetails ['host'] = $this->getHostname () . ':' . $this->getPort ();
+ $deliveryDetails ['auth_desc'] = $this->getAuthenticationDescription ( $this->getAuthenticationType () );
+ /* translators: where (1) is the transport type, (2) is the host, and (3) is the Authentication Type (e.g. Postman will send mail via smtp.gmail.com:465 using OAuth 2.0 authentication.) */
+ return sprintf ( __ ( 'Postman will send mail via %1$s to %2$s using %3$s authentication.', Postman::TEXT_DOMAIN ), '<b>' . $deliveryDetails ['transport_name'] . '</b>', '<b>' . $deliveryDetails ['host'] . '</b>', '<b>' . $deliveryDetails ['auth_desc'] . '</b>' );
+ }
+
+ /**
+ *
+ * @param unknown $encType
+ * @return string
+ */
+ protected function getTransportDescription($encType) {
+ $deliveryDetails = '🔓SMTP';
+ if ($encType == PostmanOptions::SECURITY_TYPE_SMTPS) {
+ /* translators: where %1$s is the Transport type (e.g. SMTP or SMTPS) and %2$s is the encryption type (e.g. SSL or TLS) */
+ $deliveryDetails = '🔐SMTPS';
+ } else if ($encType == PostmanOptions::SECURITY_TYPE_STARTTLS) {
+ /* translators: where %1$s is the Transport type (e.g. SMTP or SMTPS) and %2$s is the encryption type (e.g. SSL or TLS) */
+ $deliveryDetails = '🔐SMTP-STARTTLS';
+ }
+ return $deliveryDetails;
+ }
+
+ /**
+ *
+ * @param unknown $authType
+ */
+ protected function getAuthenticationDescription($authType) {
+ if (PostmanOptions::AUTHENTICATION_TYPE_OAUTH2 == $authType) {
+ return 'OAuth 2.0';
+ } else if (PostmanOptions::AUTHENTICATION_TYPE_NONE == $authType) {
+ return _x ( 'no', 'as in "There is no Spoon"', Postman::TEXT_DOMAIN );
+ } else {
+ switch ($authType) {
+ case PostmanOptions::AUTHENTICATION_TYPE_CRAMMD5 :
+ $authDescription = 'CRAM-MD5';
+ break;
+
+ case PostmanOptions::AUTHENTICATION_TYPE_LOGIN :
+ $authDescription = 'Login';
+ break;
+
+ case PostmanOptions::AUTHENTICATION_TYPE_PLAIN :
+ $authDescription = 'Plain';
+ break;
+
+ default :
+ $authDescription = $authType;
+ break;
+ }
+ return sprintf ( '%s (%s)', __ ( 'Password', Postman::TEXT_DOMAIN ), $authDescription );
+ }
+ }
+
+ /**
+ * Make sure the Senders are configured
+ *
+ * @param PostmanOptions $options
+ * @return boolean
+ */
+ protected function isEnvelopeFromConfigured() {
+ $options = PostmanOptions::getInstance ();
+ $envelopeFrom = $options->getEnvelopeSender ();
+ return ! empty ( $envelopeFrom );
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanTransport::getMisconfigurationMessage()
+ */
+ protected function validateTransportConfiguration() {
+ parent::validateTransportConfiguration ();
+ $messages = parent::validateTransportConfiguration ();
+ if (! $this->isSenderConfigured ()) {
+ array_push ( $messages, __ ( 'Message From Address can not be empty', Postman::TEXT_DOMAIN ) . '.' );
+ $this->setNotConfiguredAndReady ();
+ }
+ if ($this->getAuthenticationType () == PostmanOptions::AUTHENTICATION_TYPE_OAUTH2) {
+ if (! $this->isOAuth2ClientIdAndClientSecretConfigured ()) {
+ /* translators: %1$s is the Client ID label, and %2$s is the Client Secret label (e.g. Warning: OAuth 2.0 authentication requires an OAuth 2.0-capable Outgoing Mail Server, Sender Email Address, Client ID, and Client Secret.) */
+ array_push ( $messages, sprintf ( __ ( 'OAuth 2.0 authentication requires a %1$s and %2$s.', Postman::TEXT_DOMAIN ), $this->getScribe ()->getClientIdLabel (), $this->getScribe ()->getClientSecretLabel () ) );
+ $this->setNotConfiguredAndReady ();
+ }
+ }
+ return $messages;
+ }
+
+ /**
+ *
+ * @return boolean
+ */
+ protected function isOAuth2ClientIdAndClientSecretConfigured() {
+ $options = PostmanOptions::getInstance ();
+ $clientId = $options->getClientId ();
+ $clientSecret = $options->getClientSecret ();
+ return ! (empty ( $clientId ) || empty ( $clientSecret ));
+ }
+
+ /**
+ *
+ * @return boolean
+ */
+ protected function isPasswordAuthenticationConfigured(PostmanOptions $options) {
+ $username = $options->getUsername ();
+ $password = $options->getPassword ();
+ return $this->options->isAuthTypePassword () && ! (empty ( $username ) || empty ( $password ));
+ }
+
+ /**
+ *
+ * @return boolean
+ */
+ protected function isPermissionNeeded() {
+ $accessToken = $this->getOAuthToken ()->getAccessToken ();
+ $refreshToken = $this->getOAuthToken ()->getRefreshToken ();
+ return $this->isOAuthUsed ( PostmanOptions::getInstance ()->getAuthenticationType () ) && (empty ( $accessToken ) || empty ( $refreshToken ));
+ }
+
+ /**
+ *
+ * @param unknown $hostname
+ * @param unknown $response
+ */
+ public function populateConfiguration($hostname) {
+ $response = parent::populateConfiguration ( $hostname );
+ $this->logger->debug ( sprintf ( 'populateConfigurationFromRecommendation for hostname %s', $hostname ) );
+ $scribe = $this->createScribe ( $hostname );
+ // checks to see if the host is an IP address and sticks the result in the response
+ // IP addresses are not allowed in the Redirect URL
+ $urlParts = parse_url ( $scribe->getCallbackUrl () );
+ $response ['dot_notation_url'] = false;
+ if (isset ( $urlParts ['host'] )) {
+ if (PostmanUtils::isHostAddressNotADomainName ( $urlParts ['host'] )) {
+ $response ['dot_notation_url'] = true;
+ }
+ }
+ $response ['redirect_url'] = $scribe->getCallbackUrl ();
+ $response ['callback_domain'] = $scribe->getCallbackDomain ();
+ $response ['help_text'] = $scribe->getOAuthHelp ();
+ $response ['client_id_label'] = $scribe->getClientIdLabel ();
+ $response ['client_secret_label'] = $scribe->getClientSecretLabel ();
+ $response ['redirect_url_label'] = $scribe->getCallbackUrlLabel ();
+ $response ['callback_domain_label'] = $scribe->getCallbackDomainLabel ();
+ return $response;
+ }
+
+ /**
+ * Populate the Ajax response for the Setup Wizard / Manual Configuration
+ *
+ * @param unknown $hostname
+ * @param unknown $response
+ */
+ public function populateConfigurationFromRecommendation($winningRecommendation) {
+ $response = parent::populateConfigurationFromRecommendation ( $winningRecommendation );
+ $response [PostmanOptions::AUTHENTICATION_TYPE] = $winningRecommendation ['auth'];
+ if (isset ( $winningRecommendation ['enc'] )) {
+ $response [PostmanOptions::SECURITY_TYPE] = $winningRecommendation ['enc'];
+ }
+ if (isset ( $winningRecommendation ['port'] )) {
+ $response [PostmanOptions::PORT] = $winningRecommendation ['port'];
+ }
+ if (isset ( $winningRecommendation ['hostname'] )) {
+ $response [PostmanOptions::HOSTNAME] = $winningRecommendation ['hostname'];
+ }
+ if (isset ( $winningRecommendation ['display_auth'] )) {
+ $response ['display_auth'] = $winningRecommendation ['display_auth'];
+ }
+ return $response;
+ }
+
+ /**
+ */
+ public function createOverrideMenu(PostmanWizardSocket $socket, $winningRecommendation, $userSocketOverride, $userAuthOverride) {
+ $overrideItem = parent::createOverrideMenu ( $socket, $winningRecommendation, $userSocketOverride, $userAuthOverride );
+ $selected = $overrideItem ['selected'];
+
+ // only smtp can have multiple auth options
+ $overrideAuthItems = array ();
+ $passwordMode = false;
+ $oauth2Mode = false;
+ $noAuthMode = false;
+ if (isset ( $userAuthOverride ) || isset ( $userSocketOverride )) {
+ if ($userAuthOverride == 'password') {
+ $passwordMode = true;
+ } elseif ($userAuthOverride == 'oauth2') {
+ $oauth2Mode = true;
+ } else {
+ $noAuthMode = true;
+ }
+ } else {
+ if ($winningRecommendation ['display_auth'] == 'password') {
+ $passwordMode = true;
+ } elseif ($winningRecommendation ['display_auth'] == 'oauth2') {
+ $oauth2Mode = true;
+ } else {
+ $noAuthMode = true;
+ }
+ }
+ if ($selected) {
+ if ($socket->auth_crammd5 || $socket->auth_login || $socket->authPlain) {
+ array_push ( $overrideAuthItems, array (
+ 'selected' => $passwordMode,
+ 'name' => __ ( 'Password (requires username and password)', Postman::TEXT_DOMAIN ),
+ 'value' => 'password'
+ ) );
+ }
+ if ($socket->auth_xoauth || $winningRecommendation ['auth'] == 'oauth2') {
+ array_push ( $overrideAuthItems, array (
+ 'selected' => $oauth2Mode,
+ 'name' => __ ( 'OAuth 2.0 (requires Client ID and Client Secret)', Postman::TEXT_DOMAIN ),
+ 'value' => 'oauth2'
+ ) );
+ }
+ if ($socket->auth_none) {
+ array_push ( $overrideAuthItems, array (
+ 'selected' => $noAuthMode,
+ 'name' => __ ( 'None', Postman::TEXT_DOMAIN ),
+ 'value' => 'none'
+ ) );
+ }
+
+ // marks at least one item as selected if none are selected
+ $atLeastOneSelected = false;
+ $firstItem = null;
+ // don't use variable reference see http://stackoverflow.com/questions/15024616/php-foreach-change-original-array-values
+ foreach ( $overrideAuthItems as $key => $field ) {
+ if (! $firstItem) {
+ $firstItem = $key;
+ }
+ if ($field ['selected']) {
+ $atLeastOneSelected = true;
+ }
+ }
+ if (! $atLeastOneSelected) {
+ $this->logger->debug ( 'nothing selected - forcing a selection on the *first* overrided auth item' );
+ $overrideAuthItems [$firstItem] ['selected'] = true;
+ }
+
+ // push the authentication options into the $overrideItem structure
+ $overrideItem ['auth_items'] = $overrideAuthItems;
+ }
+ return $overrideItem;
+ }
+}
+
diff --git a/Postman/Postman-Mail/PostmanMyMailConnector.php b/Postman/Postman-Mail/PostmanMyMailConnector.php
new file mode 100644
index 0000000..203fbf5
--- /dev/null
+++ b/Postman/Postman-Mail/PostmanMyMailConnector.php
@@ -0,0 +1,222 @@
+<?php
+define ( 'MYMAIL_POSTMAN_REQUIRED_VERSION', '2.0' );
+define ( 'MYMAIL_POSTMAN_ID', 'postman' );
+
+/**
+ * Enables MyMail to deliver via Postman
+ *
+ * @author jasonhendriks
+ *
+ */
+if (! class_exists ( 'PostmanMyMailConnector' )) {
+ class PostmanMyMailConnector {
+
+ // PostmanLogger
+ private $logger;
+
+ /**
+ * No-argument constructor
+ */
+ public function __construct($file) {
+ register_activation_hook ( $file, array (
+ $this,
+ 'activate'
+ ) );
+ register_deactivation_hook ( $file, array (
+ $this,
+ 'deactivate'
+ ) );
+
+ add_action ( 'init', array (
+ $this,
+ 'init'
+ ), 1 );
+ }
+
+ /**
+ * Initialize the Connector
+ */
+ public function init() {
+ if (! defined ( 'MYMAIL_VERSION' ) || version_compare ( MYMAIL_POSTMAN_REQUIRED_VERSION, MYMAIL_VERSION, '>' )) {
+ // no-op
+ } else {
+ // create an instance of the Logger
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ $this->logger->debug ( 'Starting' );
+
+ add_filter ( 'mymail_delivery_methods', array (
+ &$this,
+ 'delivery_method'
+ ) );
+ add_action ( 'mymail_deliverymethod_tab_postman', array (
+ &$this,
+ 'deliverytab'
+ ) );
+
+ if (mymail_option ( 'deliverymethod' ) == MYMAIL_POSTMAN_ID) {
+ add_action ( 'mymail_initsend', array (
+ &$this,
+ 'initsend'
+ ) );
+ add_action ( 'mymail_presend', array (
+ &$this,
+ 'presend'
+ ) );
+ add_action ( 'mymail_dosend', array (
+ &$this,
+ 'dosend'
+ ) );
+ add_action ( 'MYMAIL_POSTMAN_cron', array (
+ &$this,
+ 'reset'
+ ) );
+ }
+ }
+ }
+
+ /**
+ * initsend function.
+ *
+ * uses mymail_initsend hook to set initial settings
+ *
+ * @access public
+ * @param mixed $mailobject
+ * @return void
+ */
+ public function initsend($mailobject) {
+ $this->logger->trace ( 'initsend' );
+ // disable dkim
+ $mailobject->dkim = false;
+ }
+
+ /**
+ * presend function.
+ *
+ * uses the mymail_presend hook to apply setttings before each mail
+ *
+ * @access public
+ * @param mixed $mailobject
+ * @return void
+ */
+ public function presend($mailobject) {
+
+ // embedding images doesn't work
+ $mailobject->embed_images = false;
+
+ // use pre_send from the main class
+ // need the raw email body to send so we use the same option
+ $mailobject->pre_send ();
+ }
+
+ /**
+ * dosend function.
+ *
+ * uses the mymail_dosend hook and triggers the send
+ *
+ * @access public
+ * @param mixed $mailobject
+ * @return void
+ */
+ public function dosend($mailobject) {
+ $this->logger->trace ( 'dosend' );
+ $this->logger->trace ( $mailobject->mailer );
+
+ // create a PostmanWpMail instance
+ $postmanWpMail = new PostmanWpMail ();
+ $postmanWpMail->init ();
+
+ // create a PostmanMessage instance
+ $message = $postmanWpMail->createNewMessage ();
+ $message->addHeaders ( $mailobject->headers );
+ $message->setBodyTextPart ( $mailobject->mailer->AltBody );
+ $message->setBodyHtmlPart ( $mailobject->mailer->Body );
+ $message->setBody ( $mailobject->mailer->AltBody . $mailobject->mailer->Body );
+ $message->setSubject ( $mailobject->subject );
+ $message->addTo ( $mailobject->to );
+ $message->setReplyTo ( $mailobject->reply_to );
+ $message->setAttachments ( $mailobject->attachments );
+
+ // create a PostmanEmailLog instance
+ $log = new PostmanEmailLog ();
+
+ // send the message and store the result
+ $mailobject->sent = $postmanWpMail->sendMessage ( $message, $log );
+
+ // give error message back to MyMail
+ $result = apply_filters ( 'postman_wp_mail_result', null );
+ if (! $mailobject->sent) {
+ $mailobject->set_error ( $result ['exception']->getMessage () );
+ }
+ }
+
+ /**
+ * reset function.
+ *
+ * resets the current time
+ *
+ * @access public
+ * @param mixed $message
+ * @return array
+ */
+ public function reset() {
+ update_option ( '_transient__mymail_send_period_timeout', false );
+ update_option ( '_transient__mymail_send_period', 0 );
+ }
+
+ /**
+ * delivery_method function.
+ *
+ * add the delivery method to the options
+ *
+ * @access public
+ * @param mixed $delivery_methods
+ * @return void
+ */
+ public function delivery_method($delivery_methods) {
+ $delivery_methods [MYMAIL_POSTMAN_ID] = __ ( 'Postman SMTP', Postman::TEXT_DOMAIN );
+ return $delivery_methods;
+ }
+
+ /**
+ * deliverytab function.
+ *
+ * the content of the tab for the options
+ *
+ * @access public
+ * @return void
+ */
+ public function deliverytab() {
+ apply_filters ( 'print_postman_status', null );
+ }
+
+ /**
+ * activate function.
+ *
+ * @access public
+ * @return void
+ */
+ public function activate() {
+ if (defined ( 'MYMAIL_VERSION' ) && version_compare ( MYMAIL_POSTMAN_REQUIRED_VERSION, MYMAIL_VERSION, '<=' )) {
+ mymail_notice ( sprintf ( __ ( 'MyMail: Change the delivery method in the %s!', Postman::TEXT_DOMAIN ), sprintf ( '<a href="options-general.php?page=newsletter-settings&mymail_remove_notice=mymail_delivery_method#delivery">%s</a>', __ ( 'Settings', 'postman-smtp' ) ) ), '', false, 'delivery_method' );
+ $this->reset ();
+ }
+ }
+
+ /**
+ * deactivate function.
+ *
+ * @access public
+ * @return void
+ */
+ public function deactivate() {
+ d;
+ if (defined ( 'MYMAIL_VERSION' ) && function_exists ( 'mymail_option' ) && version_compare ( MYMAIL_POSTMAN_REQUIRED_VERSION, MYMAIL_VERSION, '<=' )) {
+ if (mymail_option ( 'deliverymethod' ) == MYMAIL_POSTMAN_ID) {
+ mymail_update_option ( 'deliverymethod', 'simple' );
+ /* Translators where %s is the name of the page */
+ mymail_notice ( sprintf ( __ ( 'MyMail: Change the delivery method in the %s!', Postman::TEXT_DOMAIN ), sprintf ( '<a href="options-general.php?page=newsletter-settings&mymail_remove_notice=mymail_delivery_method#delivery">%s</a>', __ ( 'Settings', 'postman-smtp' ) ) ), '', false, 'delivery_method' );
+ }
+ }
+ }
+ }
+}
diff --git a/Postman/Postman-Mail/PostmanSendGridMailEngine.php b/Postman/Postman-Mail/PostmanSendGridMailEngine.php
new file mode 100644
index 0000000..0798428
--- /dev/null
+++ b/Postman/Postman-Mail/PostmanSendGridMailEngine.php
@@ -0,0 +1,200 @@
+<?php
+if (! class_exists ( "PostmanSendGridMailEngine" )) {
+
+ require_once 'sendgrid-php-3.2.0/sendgrid-php.php';
+
+ /**
+ * Sends mail with the SendGrid API
+ * https://sendgrid.com/docs/API_Reference/Web_API/mail.html
+ *
+ * @author jasonhendriks
+ *
+ */
+ class PostmanSendGridMailEngine implements PostmanMailEngine {
+
+ // logger for all concrete classes - populate with setLogger($logger)
+ protected $logger;
+
+ // the result
+ private $transcript;
+
+ //
+ private $email;
+ private $apiKey;
+
+ /**
+ *
+ * @param unknown $senderEmail
+ * @param unknown $accessToken
+ */
+ function __construct($apiKey) {
+ assert ( ! empty ( $apiKey ) );
+ $this->apiKey = $apiKey;
+
+ // create the logger
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+
+ // create the Message
+ $this->email = new SendGrid\Email ();
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanSmtpEngine::send()
+ */
+ public function send(PostmanMessage $message) {
+ $options = PostmanOptions::getInstance ();
+
+ // add the Postman signature - append it to whatever the user may have set
+ if (! $options->isStealthModeEnabled ()) {
+ $pluginData = apply_filters ( 'postman_get_plugin_metadata', null );
+ $this->email->addHeader ( 'X-Mailer', sprintf ( 'Postman SMTP %s for WordPress (%s)', $pluginData ['version'], 'https://wordpress.org/plugins/postman-smtp/' ) );
+ }
+
+ // add the headers - see http://framework.zend.com/manual/1.12/en/zend.mail.additional-headers.html
+ foreach ( ( array ) $message->getHeaders () as $header ) {
+ $this->logger->debug ( sprintf ( 'Adding user header %s=%s', $header ['name'], $header ['content'] ) );
+ $this->email->addHeader ( $header ['name'], $header ['content'] );
+ }
+
+ // if the caller set a Content-Type header, use it
+ $contentType = $message->getContentType ();
+ if (! empty ( $contentType )) {
+ $this->logger->debug ( 'Adding content-type ' . $contentType );
+ $this->email->addHeader ( 'Content-Type', $contentType );
+ }
+
+ // add the From Header
+ $sender = $message->getFromAddress ();
+ {
+ $senderEmail = $sender->getEmail ();
+ $senderName = $sender->getName ();
+ assert ( ! empty ( $senderEmail ) );
+ $this->email->setFrom ( $senderEmail );
+ if (! empty ( $senderName )) {
+ $this->email->setFromName ( $senderName );
+ }
+ // now log it
+ $sender->log ( $this->logger, 'From' );
+ }
+
+ // add the Sender Header, overriding what the user may have set
+ $this->email->addHeader ( 'Sender', $options->getEnvelopeSender () );
+
+ // add the to recipients
+ foreach ( ( array ) $message->getToRecipients () as $recipient ) {
+ $recipient->log ( $this->logger, 'To' );
+ $this->email->addTo ( $recipient->getEmail (), $recipient->getName () );
+ }
+
+ // add the cc recipients
+ foreach ( ( array ) $message->getCcRecipients () as $recipient ) {
+ $recipient->log ( $this->logger, 'Cc' );
+ $this->email->addCc ( $recipient->getEmail (), $recipient->getName () );
+ }
+
+ // add the bcc recipients
+ foreach ( ( array ) $message->getBccRecipients () as $recipient ) {
+ $recipient->log ( $this->logger, 'Bcc' );
+ $this->email->addBcc ( $recipient->getEmail (), $recipient->getName () );
+ }
+
+ // add the reply-to
+ $replyTo = $message->getReplyTo ();
+ // $replyTo is null or a PostmanEmailAddress object
+ if (isset ( $replyTo )) {
+ $this->email->setReplyTo ( $replyTo->format () );
+ }
+
+ // add the date
+ $date = $message->getDate ();
+ if (! empty ( $date )) {
+ $this->email->setDate ( $message->getDate () );
+ }
+
+ // add the messageId
+ $messageId = $message->getMessageId ();
+ if (! empty ( $messageId )) {
+ $this->email->addHeader ( 'message-id', $messageId );
+ }
+
+ // add the subject
+ if (null !== $message->getSubject ()) {
+ $this->email->setSubject ( $message->getSubject () );
+ }
+
+ // add the message content
+ {
+ $textPart = $message->getBodyTextPart ();
+ if (! empty ( $textPart )) {
+ $this->logger->debug ( 'Adding body as text' );
+ $this->email->setText ( $textPart );
+ }
+ $htmlPart = $message->getBodyHtmlPart ();
+ if (! empty ( $htmlPart )) {
+ $this->logger->debug ( 'Adding body as html' );
+ $this->email->setHtml ( $htmlPart );
+ }
+ }
+
+ // add attachments
+ $this->logger->debug ( "Adding attachments" );
+ $this->addAttachmentsToMail ( $message );
+
+ $result = array ();
+ try {
+
+ if ($this->logger->isDebug ()) {
+ $this->logger->debug ( "Creating SendGrid service with apiKey=" . $this->apiKey );
+ }
+ $sendgrid = new SendGrid ( $this->apiKey );
+
+ // send the message
+ if ($this->logger->isDebug ()) {
+ $this->logger->debug ( "Sending mail" );
+ }
+ $result = $sendgrid->send ( $this->email );
+ if ($this->logger->isInfo ()) {
+ $this->logger->info ( );
+ }
+ $this->transcript = print_r ( $result, true );
+ $this->transcript .= PostmanModuleTransport::RAW_MESSAGE_FOLLOWS;
+ $this->transcript .= print_r ( $this->email, true );
+ } catch ( SendGrid\Exception $e ) {
+ $this->transcript = $e->getMessage ();
+ $this->transcript .= PostmanModuleTransport::RAW_MESSAGE_FOLLOWS;
+ $this->transcript .= print_r ( $this->email, true );
+ throw $e;
+ }
+ }
+
+ /**
+ * Add attachments to the message
+ *
+ * @param Postman_Zend_Mail $mail
+ */
+ private function addAttachmentsToMail(PostmanMessage $message) {
+ $attachments = $message->getAttachments ();
+ if (! is_array ( $attachments )) {
+ // WordPress may a single filename or a newline-delimited string list of multiple filenames
+ $attArray = explode ( PHP_EOL, $attachments );
+ } else {
+ $attArray = $attachments;
+ }
+ // otherwise WordPress sends an array
+ foreach ( $attArray as $file ) {
+ if (! empty ( $file )) {
+ $this->logger->debug ( "Adding attachment: " . $file );
+ $this->email->addAttachment ( basename ( $file ) );
+ }
+ }
+ }
+
+ // return the SMTP session transcript
+ public function getTranscript() {
+ return $this->transcript;
+ }
+ }
+}
+
diff --git a/Postman/Postman-Mail/PostmanSendGridTransport.php b/Postman/Postman-Mail/PostmanSendGridTransport.php
new file mode 100644
index 0000000..125217b
--- /dev/null
+++ b/Postman/Postman-Mail/PostmanSendGridTransport.php
@@ -0,0 +1,227 @@
+<?php
+require_once 'PostmanModuleTransport.php';
+/**
+ * Postman SendGrid module
+ *
+ * @author jasonhendriks
+ *
+ */
+class PostmanSendGridTransport extends PostmanAbstractModuleTransport implements PostmanModuleTransport {
+ const SLUG = 'sendgrid_api';
+ const PORT = 443;
+ const HOST = 'api.sendgrid.com';
+ const PRIORITY = 8000;
+ const SENDGRID_AUTH_OPTIONS = 'postman_sendgrid_auth_options';
+ const SENDGRID_AUTH_SECTION = 'postman_sendgrid_auth_section';
+
+ /**
+ *
+ * @param unknown $rootPluginFilenameAndPath
+ */
+ public function __construct($rootPluginFilenameAndPath) {
+ parent::__construct ( $rootPluginFilenameAndPath );
+
+ // add a hook on the plugins_loaded event
+ add_action ( 'admin_init', array (
+ $this,
+ 'on_admin_init'
+ ) );
+ }
+ public function getProtocol() {
+ return 'https';
+ }
+
+ // this should be standard across all transports
+ public function getSlug() {
+ return self::SLUG;
+ }
+ public function getName() {
+ return __ ( 'SendGrid API', Postman::TEXT_DOMAIN );
+ }
+ /**
+ * v0.2.1
+ *
+ * @return string
+ */
+ public function getHostname() {
+ return self::HOST;
+ }
+ /**
+ * v0.2.1
+ *
+ * @return string
+ */
+ public function getPort() {
+ return self::PORT;
+ }
+ /**
+ * v1.7.0
+ *
+ * @return string
+ */
+ public function getTransportType() {
+ return 'SendGrid_api';
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanModuleTransport::createMailEngine()
+ */
+ public function createMailEngine() {
+ $apiKey = $this->options->getSendGridApiKey ();
+ require_once 'PostmanSendGridMailEngine.php';
+ $engine = new PostmanSendGridMailEngine ( $apiKey );
+ return $engine;
+ }
+ public function getDeliveryDetails() {
+ /* translators: where (1) is the secure icon and (2) is the transport name */
+ return sprintf ( __ ( 'Postman will send mail via the <b>%1$s %2$s</b>.', Postman::TEXT_DOMAIN ), '🔐', $this->getName () );
+ }
+
+ /**
+ *
+ * @param unknown $data
+ */
+ public function prepareOptionsForExport($data) {
+ $data = parent::prepareOptionsForExport ( $data );
+ $data [PostmanOptions::SENDGRID_API_KEY] = PostmanOptions::getInstance ()->getSendGridApiKey ();
+ return $data;
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanTransport::getMisconfigurationMessage()
+ */
+ protected function validateTransportConfiguration() {
+ $messages = parent::validateTransportConfiguration ();
+ $apiKey = $this->options->getSendGridApiKey ();
+ if (empty ( $apiKey )) {
+ array_push ( $messages, __ ( 'API Key can not be empty', Postman::TEXT_DOMAIN ) . '.' );
+ $this->setNotConfiguredAndReady ();
+ }
+ if (! $this->isSenderConfigured ()) {
+ array_push ( $messages, __ ( 'Message From Address can not be empty', Postman::TEXT_DOMAIN ) . '.' );
+ $this->setNotConfiguredAndReady ();
+ }
+ return $messages;
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanModuleTransport::getConfigurationBid()
+ */
+ public function getConfigurationBid(PostmanWizardSocket $hostData, $userAuthOverride, $originalSmtpServer) {
+ $recommendation = array ();
+ $recommendation ['priority'] = 0;
+ $recommendation ['transport'] = self::SLUG;
+ $recommendation ['hostname'] = null; // scribe looks this
+ $recommendation ['label'] = $this->getName ();
+ if ($hostData->hostname == self::HOST && $hostData->port == self::PORT) {
+ $recommendation ['priority'] = self::PRIORITY;
+ /* translators: where variables are (1) transport name (2) host and (3) port */
+ $recommendation ['message'] = sprintf ( __ ( ('Postman recommends the %1$s to host %2$s on port %3$d.') ), $this->getName (), self::HOST, self::PORT );
+ }
+ return $recommendation;
+ }
+
+ /**
+ *
+ * @param unknown $hostname
+ * @param unknown $response
+ */
+ public function populateConfiguration($hostname) {
+ $response = parent::populateConfiguration ( $hostname );
+ return $response;
+ }
+
+ /**
+ */
+ public function createOverrideMenu(PostmanWizardSocket $socket, $winningRecommendation, $userSocketOverride, $userAuthOverride) {
+ $overrideItem = parent::createOverrideMenu ( $socket, $winningRecommendation, $userSocketOverride, $userAuthOverride );
+ // push the authentication options into the $overrideItem structure
+ $overrideItem ['auth_items'] = array (
+ array (
+ 'selected' => true,
+ 'name' => __ ( 'API Key', Postman::TEXT_DOMAIN ),
+ 'value' => 'api_key'
+ )
+ );
+ return $overrideItem;
+ }
+
+ /**
+ * Functions to execute on the admin_init event
+ *
+ * "Runs at the beginning of every admin page before the page is rendered."
+ * ref: http://codex.wordpress.org/Plugin_API/Action_Reference#Actions_Run_During_an_Admin_Page_Request
+ */
+ public function on_admin_init() {
+ // only administrators should be able to trigger this
+ if (PostmanUtils::isAdmin ()) {
+ $this->addSettings ();
+ $this->registerStylesAndScripts ();
+ }
+ }
+
+ /*
+ * What follows in the code responsible for creating the Admin Settings page
+ */
+
+ /**
+ */
+ public function addSettings() {
+ // the SendGrid Auth section
+ add_settings_section ( PostmanSendGridTransport::SENDGRID_AUTH_SECTION, __ ( 'Authentication', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'printSendGridAuthSectionInfo'
+ ), PostmanSendGridTransport::SENDGRID_AUTH_OPTIONS );
+
+ add_settings_field ( PostmanOptions::SENDGRID_API_KEY, __ ( 'API Key', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'sendgrid_api_key_callback'
+ ), PostmanSendGridTransport::SENDGRID_AUTH_OPTIONS, PostmanSendGridTransport::SENDGRID_AUTH_SECTION );
+ }
+ public function printSendGridAuthSectionInfo() {
+ /* Translators: Where (1) is the service URL and (2) is the service name and (3) is a api key URL */
+ printf ( '<p id="wizard_sendgrid_auth_help">%s</p>', sprintf ( __ ( 'Create an account at <a href="%1$s" target="_new">%2$s</a> and enter <a href="%3$s" target="_new">an API key</a> below.', Postman::TEXT_DOMAIN ), 'https://sendgrid.com', 'SendGrid.com', 'https://app.sendgrid.com/settings/api_keys' ) );
+ }
+
+ /**
+ */
+ public function sendgrid_api_key_callback() {
+ printf ( '<input type="password" autocomplete="off" id="sendgrid_api_key" name="postman_options[sendgrid_api_key]" value="%s" size="60" class="required" placeholder="%s"/>', null !== $this->options->getSendGridApiKey () ? esc_attr ( PostmanUtils::obfuscatePassword ( $this->options->getSendGridApiKey () ) ) : '', __ ( 'Required', Postman::TEXT_DOMAIN ) );
+ print ' <input type="button" id="toggleSendGridApiKey" value="Show Password" class="button button-secondary" style="visibility:hidden" />';
+ }
+
+ /**
+ */
+ public function registerStylesAndScripts() {
+ // register the stylesheet and javascript external resources
+ $pluginData = apply_filters ( 'postman_get_plugin_metadata', null );
+ wp_register_script ( 'postman_sendgrid_script', plugins_url ( 'Postman/Postman-Mail/postman_sendgrid.js', $this->rootPluginFilenameAndPath ), array (
+ PostmanViewController::JQUERY_SCRIPT,
+ 'jquery_validation',
+ PostmanViewController::POSTMAN_SCRIPT
+ ), $pluginData ['version'] );
+ }
+
+ /**
+ */
+ public function enqueueScript() {
+ wp_enqueue_script ( 'postman_sendgrid_script' );
+ }
+
+ /**
+ */
+ public function printWizardAuthenticationStep() {
+ print '<section class="wizard_sendgrid">';
+ $this->printSendGridAuthSectionInfo ();
+ printf ( '<label for="api_key">%s</label>', __ ( 'API Key', Postman::TEXT_DOMAIN ) );
+ print '<br />';
+ print $this->sendgrid_api_key_callback ();
+ print '</section>';
+ }
+}
diff --git a/Postman/Postman-Mail/PostmanSmtpModuleTransport.php b/Postman/Postman-Mail/PostmanSmtpModuleTransport.php
new file mode 100644
index 0000000..5c45ded
--- /dev/null
+++ b/Postman/Postman-Mail/PostmanSmtpModuleTransport.php
@@ -0,0 +1,589 @@
+<?php
+require_once 'PostmanModuleTransport.php';
+
+/**
+ *
+ * @author jasonhendriks
+ *
+ */
+class PostmanSmtpModuleTransport extends PostmanAbstractZendModuleTransport implements PostmanZendModuleTransport {
+ const SLUG = 'smtp';
+ public function __construct($rootPluginFilenameAndPath) {
+ parent::__construct ( $rootPluginFilenameAndPath );
+
+ // add a hook on the plugins_loaded event
+ add_action ( 'admin_init', array (
+ $this,
+ 'on_admin_init'
+ ) );
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanModuleTransport::createMailEngine()
+ */
+ public function createMailEngine() {
+ require_once 'PostmanZendMailEngine.php';
+ return new PostmanZendMailEngine ( $this );
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanZendModuleTransport::createZendMailTransport()
+ */
+ public function createZendMailTransport($fakeHostname, $fakeConfig) {
+ if (PostmanOptions::AUTHENTICATION_TYPE_OAUTH2 == $this->getAuthenticationType ()) {
+ $config = PostmanOAuth2ConfigurationFactory::createConfig ( $this );
+ } else {
+ $config = PostmanBasicAuthConfigurationFactory::createConfig ( $this );
+ }
+ return new Postman_Zend_Mail_Transport_Smtp ( $this->getHostname (), $config );
+ }
+
+ /**
+ * Determines whether Mail Engine locking is needed
+ *
+ * @see PostmanModuleTransport::requiresLocking()
+ */
+ public function isLockingRequired() {
+ return PostmanOptions::AUTHENTICATION_TYPE_OAUTH2 == $this->getAuthenticationType ();
+ }
+ public function getSlug() {
+ return self::SLUG;
+ }
+ public function getName() {
+ return 'SMTP';
+ }
+ public function getHostname() {
+ $this->options = $this->options;
+ return $this->options->getHostname ();
+ }
+ public function getPort() {
+ $this->options = $this->options;
+ return $this->options->getPort ();
+ }
+ public function getAuthenticationType() {
+ return $this->options->getAuthenticationType ();
+ }
+ public function getCredentialsId() {
+ $this->options = $this->options;
+ if ($this->options->isAuthTypeOAuth2 ()) {
+ return $this->options->getClientId ();
+ } else {
+ return $this->options->getUsername ();
+ }
+ }
+ public function getCredentialsSecret() {
+ $this->options = $this->options;
+ if ($this->options->isAuthTypeOAuth2 ()) {
+ return $this->options->getClientSecret ();
+ } else {
+ return $this->options->getPassword ();
+ }
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanTransport::getMisconfigurationMessage()
+ */
+ protected function validateTransportConfiguration() {
+ $messages = parent::validateTransportConfiguration ();
+ if (! $this->isHostConfigured ( $this->options )) {
+ array_push ( $messages, __ ( 'Outgoing Mail Server Hostname and Port can not be empty.', Postman::TEXT_DOMAIN ) );
+ $this->setNotConfiguredAndReady ();
+ }
+ if (! $this->isEnvelopeFromConfigured ()) {
+ array_push ( $messages, __ ( 'Envelope-From Email Address can not be empty', Postman::TEXT_DOMAIN ) . '.' );
+ $this->setNotConfiguredAndReady ();
+ }
+ if ($this->options->isAuthTypePassword () && ! $this->isPasswordAuthenticationConfigured ( $this->options )) {
+ array_push ( $messages, __ ( 'Username and password can not be empty.', Postman::TEXT_DOMAIN ) );
+ $this->setNotConfiguredAndReady ();
+ }
+ if ($this->getAuthenticationType () == PostmanOptions::AUTHENTICATION_TYPE_OAUTH2) {
+ if (! $this->isOAuth2SupportedHostConfigured ()) {
+ /* translators: %1$s is the Client ID label, and %2$s is the Client Secret label (e.g. Warning: OAuth 2.0 authentication requires an OAuth 2.0-capable Outgoing Mail Server, Sender Email Address, Client ID, and Client Secret.) */
+ array_push ( $messages, sprintf ( __ ( 'OAuth 2.0 authentication requires a supported OAuth 2.0-capable Outgoing Mail Server.', Postman::TEXT_DOMAIN ) ) );
+ $this->setNotConfiguredAndReady ();
+ }
+ }
+ if (empty ( $messages )) {
+ $this->setReadyForOAuthGrant ();
+ if ($this->isPermissionNeeded ( $this->options, $this->getOAuthToken () )) {
+ /* translators: %1$s is the Client ID label, and %2$s is the Client Secret label */
+ $message = sprintf ( __ ( 'You have configured OAuth 2.0 authentication, but have not received permission to use it.', Postman::TEXT_DOMAIN ), $this->getScribe ()->getClientIdLabel (), $this->getScribe ()->getClientSecretLabel () );
+ $message .= sprintf ( ' <a href="%s">%s</a>.', PostmanUtils::getGrantOAuthPermissionUrl (), $this->getScribe ()->getRequestPermissionLinkText () );
+ array_push ( $messages, $message );
+ $this->setNotConfiguredAndReady ();
+ }
+ }
+ return $messages;
+ }
+
+ /**
+ *
+ * @return boolean
+ */
+ private function isOAuth2SupportedHostConfigured() {
+ $options = PostmanOptions::getInstance ();
+ $hostname = $options->getHostname ();
+ $supportedOAuthProvider = $this->isServiceProviderGoogle ( $hostname ) || $this->isServiceProviderMicrosoft ( $hostname ) || $this->isServiceProviderYahoo ( $hostname );
+ return $supportedOAuthProvider;
+ }
+
+ /**
+ * Given a hostname, what ports should we test?
+ *
+ * May return an array of several combinations.
+ */
+ public function getSocketsForSetupWizardToProbe($hostname, $smtpServerGuess) {
+ $hosts = array (
+ $this->createSocketDefinition ( $hostname, 25 ),
+ $this->createSocketDefinition ( $hostname, 465 ),
+ $this->createSocketDefinition ( $hostname, 587 )
+ );
+
+ return $hosts;
+ }
+
+ /**
+ * Creates a single socket for the Wizard to test
+ */
+ protected function createSocketDefinition($hostname, $port) {
+ $socket = parent::createSocketDefinition ( $hostname, $port );
+ $socket ['smtp'] = true;
+ return $socket;
+ }
+
+ /**
+ * SendGrid will never recommend it's configuration
+ *
+ * @param unknown $hostData
+ */
+ public function getConfigurationBid(PostmanWizardSocket $hostData, $userAuthOverride, $originalSmtpServer) {
+ $port = $hostData->port;
+ $hostname = $hostData->hostname;
+ // because some servers, like smtp.broadband.rogers.com, report XOAUTH2 but have no OAuth2 front-end
+ $supportedOAuth2Provider = $this->isServiceProviderGoogle ( $hostname ) || $this->isServiceProviderMicrosoft ( $hostname ) || $this->isServiceProviderYahoo ( $hostname );
+ $score = 1;
+ $recommendation = array ();
+ // increment score for auth type
+ if ($hostData->mitm) {
+ $this->logger->debug ( 'Losing points for MITM' );
+ $score -= 10000;
+ $recommendation ['mitm'] = true;
+ }
+ if (! empty ( $originalSmtpServer ) && $hostname != $originalSmtpServer) {
+ $this->logger->debug ( 'Losing points for Not The Original SMTP server' );
+ $score -= 10000;
+ }
+ $secure = true;
+ if ($hostData->startTls) {
+ // STARTTLS was formalized in 2002
+ // http://www.rfc-editor.org/rfc/rfc3207.txt
+ $recommendation ['enc'] = PostmanOptions::SECURITY_TYPE_STARTTLS;
+ $score += 30000;
+ } elseif ($hostData->protocol == 'SMTPS') {
+ // "The hopelessly confusing and imprecise term, SSL,
+ // has often been used to indicate the SMTPS wrapper and
+ // TLS to indicate the STARTTLS protocol extension."
+ // http://stackoverflow.com/a/19942206/4368109
+ $recommendation ['enc'] = PostmanOptions::SECURITY_TYPE_SMTPS;
+ $score += 28000;
+ } elseif ($hostData->protocol == 'SMTP') {
+ $recommendation ['enc'] = PostmanOptions::SECURITY_TYPE_NONE;
+ $score += 26000;
+ $secure = false;
+ }
+
+ // if there is a way to send mail....
+ if ($score > 10) {
+
+ // determine the authentication type
+ if ($hostData->auth_xoauth && $supportedOAuth2Provider && (empty ( $userAuthOverride ) || $userAuthOverride == 'oauth2')) {
+ $recommendation ['auth'] = PostmanOptions::AUTHENTICATION_TYPE_OAUTH2;
+ $recommendation ['display_auth'] = 'oauth2';
+ $score += 500;
+ if (! $secure) {
+ $this->logger->debug ( 'Losing points for sending credentials in the clear' );
+ $score -= 10000;
+ }
+ } elseif ($hostData->auth_crammd5 && (empty ( $userAuthOverride ) || $userAuthOverride == 'password')) {
+ $recommendation ['auth'] = PostmanOptions::AUTHENTICATION_TYPE_CRAMMD5;
+ $recommendation ['display_auth'] = 'password';
+ $score += 400;
+ if (! $secure) {
+ $this->logger->debug ( 'Losing points for sending credentials in the clear' );
+ $score -= 10000;
+ }
+ } elseif ($hostData->authPlain && (empty ( $userAuthOverride ) || $userAuthOverride == 'password')) {
+ $recommendation ['auth'] = PostmanOptions::AUTHENTICATION_TYPE_PLAIN;
+ $recommendation ['display_auth'] = 'password';
+ $score += 300;
+ if (! $secure) {
+ $this->logger->debug ( 'Losing points for sending credentials in the clear' );
+ $score -= 10000;
+ }
+ } elseif ($hostData->auth_login && (empty ( $userAuthOverride ) || $userAuthOverride == 'password')) {
+ $recommendation ['auth'] = PostmanOptions::AUTHENTICATION_TYPE_LOGIN;
+ $recommendation ['display_auth'] = 'password';
+ $score += 200;
+ if (! $secure) {
+ $this->logger->debug ( 'Losing points for sending credentials in the clear' );
+ $score -= 10000;
+ }
+ } else if (empty ( $userAuthOverride ) || $userAuthOverride == 'none') {
+ $recommendation ['auth'] = PostmanOptions::AUTHENTICATION_TYPE_NONE;
+ $recommendation ['display_auth'] = 'none';
+ $score += 100;
+ }
+
+ // tiny weighting to prejudice the port selection, all things being equal
+ if ($port == 587) {
+ $score += 4;
+ } elseif ($port == 25) {
+ // "due to the prevalence of machines that have worms,
+ // viruses, or other malicious software that generate large amounts of
+ // spam, many sites now prohibit outbound traffic on the standard SMTP
+ // port (port 25), funneling all mail submissions through submission
+ // servers."
+ // http://www.rfc-editor.org/rfc/rfc6409.txt
+ $score += 3;
+ } elseif ($port == 465) {
+ // use of port 465 for SMTP was deprecated in 1998
+ // http://www.imc.org/ietf-apps-tls/mail-archive/msg00204.html
+ $score += 2;
+ } else {
+ $score += 1;
+ }
+
+ // create the recommendation message for the user
+ // this can only be set if there is a valid ['auth'] and ['enc']
+ $transportDescription = $this->getTransportDescription ( $recommendation ['enc'] );
+ $authDesc = $this->getAuthenticationDescription ( $recommendation ['auth'] );
+ $recommendation ['label'] = sprintf ( 'SMTP - %2$s:%3$d', $transportDescription, $hostData->hostnameDomainOnly, $port );
+ /* translators: where %1$s is a description of the transport (eg. SMTPS-SSL), %2$s is a description of the authentication (eg. Password-CRAMMD5), %3$d is the TCP port (eg. 465), %4$d is the hostname */
+ $recommendation ['message'] = sprintf ( __ ( 'Postman recommends %1$s with %2$s authentication to host %4$s on port %3$d.', Postman::TEXT_DOMAIN ), $transportDescription, $authDesc, $port, $hostname );
+ }
+
+ // fill-in the rest of the recommendation
+ $recommendation ['transport'] = PostmanSmtpModuleTransport::SLUG;
+ $recommendation ['priority'] = $score;
+ $recommendation ['port'] = $port;
+ $recommendation ['hostname'] = $hostname;
+ $recommendation ['transport'] = self::SLUG;
+
+ return $recommendation;
+ }
+
+ /**
+ * Functions to execute on the admin_init event
+ *
+ * "Runs at the beginning of every admin page before the page is rendered."
+ * ref: http://codex.wordpress.org/Plugin_API/Action_Reference#Actions_Run_During_an_Admin_Page_Request
+ */
+ public function on_admin_init() {
+ // only administrators should be able to trigger this
+ if (PostmanUtils::isAdmin ()) {
+ $this->addSettings ();
+ $this->registerStylesAndScripts ();
+ }
+ }
+
+ /**
+ */
+ public function registerStylesAndScripts() {
+ // register the stylesheet and javascript external resources
+ $pluginData = apply_filters ( 'postman_get_plugin_metadata', null );
+ wp_register_script ( 'postman_smtp_script', plugins_url ( 'Postman/Postman-Mail/postman_smtp.js', $this->rootPluginFilenameAndPath ), array (
+ PostmanViewController::JQUERY_SCRIPT,
+ 'jquery_validation',
+ PostmanViewController::POSTMAN_SCRIPT
+ ), $pluginData ['version'] );
+ }
+
+ /*
+ * What follows in the code responsible for creating the Admin Settings page
+ */
+
+ /**
+ */
+ public function enqueueScript() {
+ wp_enqueue_script ( 'postman_smtp_script' );
+ }
+
+ /**
+ */
+ public function addSettings() {
+ $transport = $this;
+ $this->options = $this->options;
+ $oauthScribe = $transport->getScribe ();
+
+ // Sanitize
+ add_settings_section ( PostmanAdminController::SMTP_SECTION, __ ( 'Transport Settings', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'printSmtpSectionInfo'
+ ), PostmanAdminController::SMTP_OPTIONS );
+
+ add_settings_field ( PostmanOptions::HOSTNAME, __ ( 'Outgoing Mail Server Hostname', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'hostname_callback'
+ ), PostmanAdminController::SMTP_OPTIONS, PostmanAdminController::SMTP_SECTION );
+
+ add_settings_field ( PostmanOptions::PORT, __ ( 'Outgoing Mail Server Port', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'port_callback'
+ ), PostmanAdminController::SMTP_OPTIONS, PostmanAdminController::SMTP_SECTION );
+
+ add_settings_field ( PostmanOptions::ENVELOPE_SENDER, __ ( 'Envelope-From Email Address', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'sender_email_callback'
+ ), PostmanAdminController::SMTP_OPTIONS, PostmanAdminController::SMTP_SECTION );
+
+ add_settings_field ( PostmanOptions::SECURITY_TYPE, _x ( 'Security', 'Configuration Input Field', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'encryption_type_callback'
+ ), PostmanAdminController::SMTP_OPTIONS, PostmanAdminController::SMTP_SECTION );
+
+ add_settings_field ( PostmanOptions::AUTHENTICATION_TYPE, __ ( 'Authentication', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'authentication_type_callback'
+ ), PostmanAdminController::SMTP_OPTIONS, PostmanAdminController::SMTP_SECTION );
+
+ add_settings_section ( PostmanAdminController::BASIC_AUTH_SECTION, __ ( 'Authentication', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'printBasicAuthSectionInfo'
+ ), PostmanAdminController::BASIC_AUTH_OPTIONS );
+
+ add_settings_field ( PostmanOptions::BASIC_AUTH_USERNAME, __ ( 'Username', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'basic_auth_username_callback'
+ ), PostmanAdminController::BASIC_AUTH_OPTIONS, PostmanAdminController::BASIC_AUTH_SECTION );
+
+ add_settings_field ( PostmanOptions::BASIC_AUTH_PASSWORD, __ ( 'Password', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'basic_auth_password_callback'
+ ), PostmanAdminController::BASIC_AUTH_OPTIONS, PostmanAdminController::BASIC_AUTH_SECTION );
+
+ // the OAuth section
+ add_settings_section ( PostmanAdminController::OAUTH_SECTION, __ ( 'Authentication', Postman::TEXT_DOMAIN ), array (
+ $this,
+ 'printOAuthSectionInfo'
+ ), PostmanAdminController::OAUTH_AUTH_OPTIONS );
+
+ add_settings_field ( 'callback_domain', sprintf ( '<span id="callback_domain">%s</span>', $oauthScribe->getCallbackDomainLabel () ), array (
+ $this,
+ 'callback_domain_callback'
+ ), PostmanAdminController::OAUTH_AUTH_OPTIONS, PostmanAdminController::OAUTH_SECTION );
+
+ add_settings_field ( 'redirect_url', sprintf ( '<span id="redirect_url">%s</span>', $oauthScribe->getCallbackUrlLabel () ), array (
+ $this,
+ 'redirect_url_callback'
+ ), PostmanAdminController::OAUTH_AUTH_OPTIONS, PostmanAdminController::OAUTH_SECTION );
+
+ add_settings_field ( PostmanOptions::CLIENT_ID, $oauthScribe->getClientIdLabel (), array (
+ $this,
+ 'oauth_client_id_callback'
+ ), PostmanAdminController::OAUTH_AUTH_OPTIONS, PostmanAdminController::OAUTH_SECTION );
+
+ add_settings_field ( PostmanOptions::CLIENT_SECRET, $oauthScribe->getClientSecretLabel (), array (
+ $this,
+ 'oauth_client_secret_callback'
+ ), PostmanAdminController::OAUTH_AUTH_OPTIONS, PostmanAdminController::OAUTH_SECTION );
+ }
+
+ /**
+ * Print the Section text
+ */
+ public function printSmtpSectionInfo() {
+ print __ ( 'Configure the communication with the mail server.', Postman::TEXT_DOMAIN );
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function hostname_callback() {
+ printf ( '<input type="text" id="input_hostname" name="postman_options[hostname]" value="%s" size="40" class="required" placeholder="%s"/>', null !== $this->options->getHostname () ? esc_attr ( $this->options->getHostname () ) : '', __ ( 'Required', Postman::TEXT_DOMAIN ) );
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function port_callback($args) {
+ printf ( '<input type="text" id="input_port" name="postman_options[port]" value="%s" %s placeholder="%s"/>', null !== $this->options->getPort () ? esc_attr ( $this->options->getPort () ) : '', isset ( $args ['style'] ) ? $args ['style'] : '', __ ( 'Required', Postman::TEXT_DOMAIN ) );
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function encryption_type_callback() {
+ $encType = $this->options->getEncryptionType ();
+ print '<select id="input_enc_type" class="input_encryption_type" name="postman_options[enc_type]">';
+ printf ( '<option class="input_enc_type_none" value="%s" %s>%s</option>', PostmanOptions::SECURITY_TYPE_NONE, $encType == PostmanOptions::SECURITY_TYPE_NONE ? 'selected="selected"' : '', __ ( 'None', Postman::TEXT_DOMAIN ) );
+ printf ( '<option class="input_enc_type_ssl" value="%s" %s>%s</option>', PostmanOptions::SECURITY_TYPE_SMTPS, $encType == PostmanOptions::SECURITY_TYPE_SMTPS ? 'selected="selected"' : '', 'SMTPS' );
+ printf ( '<option class="input_enc_type_tls" value="%s" %s>%s</option>', PostmanOptions::SECURITY_TYPE_STARTTLS, $encType == PostmanOptions::SECURITY_TYPE_STARTTLS ? 'selected="selected"' : '', 'STARTTLS' );
+ print '</select>';
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function authentication_type_callback() {
+ $authType = $this->options->getAuthenticationType ();
+ printf ( '<select id="input_%2$s" class="input_%2$s" name="%1$s[%2$s]">', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::AUTHENTICATION_TYPE );
+ printf ( '<option class="input_auth_type_none" value="%s" %s>%s</option>', PostmanOptions::AUTHENTICATION_TYPE_NONE, $authType == PostmanOptions::AUTHENTICATION_TYPE_NONE ? 'selected="selected"' : '', 'None' );
+ printf ( '<option class="input_auth_type_plain" value="%s" %s>%s</option>', PostmanOptions::AUTHENTICATION_TYPE_PLAIN, $authType == PostmanOptions::AUTHENTICATION_TYPE_PLAIN ? 'selected="selected"' : '', 'Plain' );
+ printf ( '<option class="input_auth_type_login" value="%s" %s>%s</option>', PostmanOptions::AUTHENTICATION_TYPE_LOGIN, $authType == PostmanOptions::AUTHENTICATION_TYPE_LOGIN ? 'selected="selected"' : '', 'Login' );
+ printf ( '<option class="input_auth_type_crammd5" value="%s" %s>%s</option>', PostmanOptions::AUTHENTICATION_TYPE_CRAMMD5, $authType == PostmanOptions::AUTHENTICATION_TYPE_CRAMMD5 ? 'selected="selected"' : '', 'CRAM-MD5' );
+ printf ( '<option class="input_auth_type_oauth2" value="%s" %s>%s</option>', PostmanOptions::AUTHENTICATION_TYPE_OAUTH2, $authType == PostmanOptions::AUTHENTICATION_TYPE_OAUTH2 ? 'selected="selected"' : '', 'OAuth 2.0' );
+ print '</select>';
+ }
+
+ /**
+ * Print the Section text
+ */
+ public function printBasicAuthSectionInfo() {
+ print __ ( 'Enter the account credentials.', Postman::TEXT_DOMAIN );
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function basic_auth_username_callback() {
+ $inputValue = (null !== $this->options->getUsername () ? esc_attr ( $this->options->getUsername () ) : '');
+ $inputDescription = __ ( 'The Username is usually the same as the Envelope-From Email Address.', Postman::TEXT_DOMAIN );
+ print ('<input tabindex="99" id="fake_user_name" name="fake_user[name]" style="position:absolute; top:-500px;" type="text" value="Safari Autofill Me">') ;
+ printf ( '<input type="text" id="input_basic_auth_username" name="postman_options[basic_auth_username]" value="%s" size="40" class="required" placeholder="%s"/><br/><span class="postman_input_description">%s</span>', $inputValue, __ ( 'Required', Postman::TEXT_DOMAIN ), $inputDescription );
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function basic_auth_password_callback() {
+ print ('<input tabindex="99" id="fake_password" name="fake[password]" style="position:absolute; top:-500px;" type="password" value="Safari Autofill Me">') ;
+ printf ( '<input type="password" id="input_basic_auth_password" name="postman_options[basic_auth_password]" value="%s" size="40" class="required" placeholder="%s"/>', null !== $this->options->getPassword () ? esc_attr ( PostmanUtils::obfuscatePassword ( $this->options->getPassword () ) ) : '', __ ( 'Required', Postman::TEXT_DOMAIN ) );
+ print ' <input type="button" id="togglePasswordField" value="Show Password" class="button button-secondary" style="visibility:hidden" />';
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function oauth_client_id_callback() {
+ printf ( '<input type="text" onClick="this.setSelectionRange(0, this.value.length)" id="oauth_client_id" name="postman_options[oauth_client_id]" value="%s" size="60" class="required" placeholder="%s"/>', null !== $this->options->getClientId () ? esc_attr ( $this->options->getClientId () ) : '', __ ( 'Required', Postman::TEXT_DOMAIN ) );
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function oauth_client_secret_callback() {
+ printf ( '<input type="text" onClick="this.setSelectionRange(0, this.value.length)" autocomplete="off" id="oauth_client_secret" name="postman_options[oauth_client_secret]" value="%s" size="60" class="required" placeholder="%s"/>', null !== $this->options->getClientSecret () ? esc_attr ( $this->options->getClientSecret () ) : '', __ ( 'Required', Postman::TEXT_DOMAIN ) );
+ }
+
+ /**
+ * Print the Section text
+ */
+ public function printOAuthSectionInfo() {
+ $this->options = $this->options;
+ $transport = $this;
+ $oauthScribe = $transport->getScribe ();
+ printf ( '<p id="wizard_oauth2_help">%s</p>', $oauthScribe->getOAuthHelp () );
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function callback_domain_callback() {
+ printf ( '<input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly="readonly" id="input_oauth_callback_domain" value="%s" size="60"/>', $this->getCallbackDomain () );
+ }
+
+ /**
+ */
+ private function getCallbackDomain() {
+ try {
+ $this->options = $this->options;
+ $transport = $this;
+ $oauthScribe = $transport->getScribe ();
+ return $oauthScribe->getCallbackDomain ();
+ } catch ( Exception $e ) {
+ return __ ( 'Error computing your domain root - please enter it manually', Postman::TEXT_DOMAIN );
+ }
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function redirect_url_callback() {
+ $this->options = $this->options;
+ $transport = $this;
+ $oauthScribe = $transport->getScribe ();
+ printf ( '<input type="text" onClick="this.setSelectionRange(0, this.value.length)" readonly="readonly" id="input_oauth_redirect_url" value="%s" size="60"/>', $oauthScribe->getCallbackUrl () );
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function sender_email_callback() {
+ $inputValue = (null !== $this->options->getEnvelopeSender () ? esc_attr ( $this->options->getEnvelopeSender () ) : '');
+ $requiredLabel = __ ( 'Required', Postman::TEXT_DOMAIN );
+ $envelopeFromMessage = __ ( 'This address, like the <b>return address</b> printed on an envelope, identifies the account owner to the SMTP server.', Postman::TEXT_DOMAIN );
+ $spfMessage = sprintf ( __ ( 'For reliable delivery, this domain must specify an <a target="_new" href="%s">SPF record</a> permitting the use of the SMTP server named above.', Postman::TEXT_DOMAIN ), 'https://www.mail-tester.com/spf/' );
+ printf ( '<input type="email" id="input_envelope_sender_email" name="postman_options[envelope_sender]" value="%s" size="40" class="required" placeholder="%s"/> <br/><span class="postman_input_description">%s %s</span>', $inputValue, $requiredLabel, $envelopeFromMessage, $spfMessage );
+ }
+
+ /**
+ */
+ public function printWizardMailServerHostnameStep() {
+ printf ( '<legend>%s</legend>', _x ( 'Which host will relay the mail?', 'Wizard Step Title', Postman::TEXT_DOMAIN ) );
+ printf ( '<p>%s</p>', __ ( 'This is the Outgoing (SMTP) Mail Server, or Mail Submission Agent (MSA), which Postman delegates mail delivery to. This server is specific to your email account, and if you don\'t know what to use, ask your email service provider.', Postman::TEXT_DOMAIN ) );
+ printf ( '<p>%s</p>', __ ( 'Note that many WordPress hosts, such as GoDaddy, Bluehost and Dreamhost, require that you use their mail accounts with their mail servers, and prevent you from using others.', Postman::TEXT_DOMAIN ) );
+ printf ( '<label for="hostname">%s</label>', __ ( 'Outgoing Mail Server Hostname', Postman::TEXT_DOMAIN ) );
+ print $this->hostname_callback ();
+ printf ( '<p class="ajax-loader" style="display:none"><img src="%s"/></p>', plugins_url ( 'postman-smtp/style/ajax-loader.gif' ) );
+ $warning = __ ( 'Warning', Postman::TEXT_DOMAIN );
+ /* Translators: Where (%s) is the name of the web host */
+ $nonGodaddyDomainMessage = sprintf ( __ ( 'Your email address <b>requires</b> access to a remote SMTP server blocked by %s.', Postman::TEXT_DOMAIN ), 'GoDaddy' );
+ $nonGodaddyDomainMessage .= sprintf ( ' %s', __ ( 'If you have access to cPanel, enable the Remote Mail Exchanger.', Postman::TEXT_DOMAIN ) );
+ printf ( '<p id="godaddy_block"><span style="background-color:yellow"><b>%s</b>: %s</span></p>', $warning, $nonGodaddyDomainMessage );
+ /* Translators: Where (%1$s) is the SPF-info URL and (%2$s) is the name of the web host */
+ $godaddyCustomDomainMessage = sprintf ( __ ( 'If you own this domain, make sure it has an <a href="%1$s">SPF record authorizing %2$s</a> as a relay, or you will have delivery problems.', Postman::TEXT_DOMAIN ), 'http://www.mail-tester.com/spf/godaddy', 'GoDaddy' );
+ printf ( '<p id="godaddy_spf_required"><span style="background-color:yellow"><b>%s</b>: %s</span></p>', $warning, $godaddyCustomDomainMessage );
+ }
+
+ /**
+ */
+ public function printWizardAuthenticationStep() {
+ print '<section class="wizard-auth-oauth2">';
+ print '<p id="wizard_oauth2_help"></p>';
+ printf ( '<label id="callback_domain" for="callback_domain">%s</label>', $this->getScribe ()->getCallbackDomainLabel () );
+ print '<br />';
+ print $this->callback_domain_callback ();
+ print '<br />';
+ printf ( '<label id="redirect_url" for="redirect_uri">%s</label>', $this->getScribe ()->getCallbackUrlLabel () );
+ print '<br />';
+ print $this->redirect_url_callback ();
+ print '<br />';
+ printf ( '<label id="client_id" for="client_id">%s</label>', $this->getScribe ()->getClientIdLabel () );
+ print '<br />';
+ print $this->oauth_client_id_callback ();
+ print '<br />';
+ printf ( '<label id="client_secret" for="client_secret">%s</label>', $this->getScribe ()->getClientSecretLabel () );
+ print '<br />';
+ print $this->oauth_client_secret_callback ();
+ print '<br />';
+ print '</section>';
+
+ print '<section class="wizard-auth-basic">';
+ printf ( '<p class="port-explanation-ssl">%s</p>', __ ( 'Enter the account credentials.', Postman::TEXT_DOMAIN ) );
+ printf ( '<label for="username">%s</label>', __ ( 'Username', Postman::TEXT_DOMAIN ) );
+ print '<br />';
+ print $this->basic_auth_username_callback ();
+ print '<br />';
+ printf ( '<label for="password">%s</label>', __ ( 'Password', Postman::TEXT_DOMAIN ) );
+ print '<br />';
+ print $this->basic_auth_password_callback ();
+ print '</section>';
+ }
+}
diff --git a/Postman/Postman-Mail/PostmanTransportRegistry.php b/Postman/Postman-Mail/PostmanTransportRegistry.php
new file mode 100644
index 0000000..01a60bd
--- /dev/null
+++ b/Postman/Postman-Mail/PostmanTransportRegistry.php
@@ -0,0 +1,237 @@
+<?php
+require_once 'PostmanModuleTransport.php';
+require_once 'PostmanZendMailTransportConfigurationFactory.php';
+
+/**
+ *
+ * @author jasonhendriks
+ *
+ */
+class PostmanTransportRegistry {
+ private $transports;
+ private $logger;
+
+ /**
+ */
+ private function __construct() {
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ }
+
+ // singleton instance
+ public static function getInstance() {
+ static $inst = null;
+ if ($inst === null) {
+ $inst = new PostmanTransportRegistry ();
+ }
+ return $inst;
+ }
+ public function registerTransport(PostmanModuleTransport $instance) {
+ $this->transports [$instance->getSlug ()] = $instance;
+ $instance->init();
+ }
+ public function getTransports() {
+ return $this->transports;
+ }
+
+ /**
+ * Retrieve a Transport by slug
+ * Look up a specific Transport use:
+ * A) when retrieving the transport saved in the database
+ * B) when querying what a theoretical scenario involving this transport is like
+ * (ie.for ajax in config screen)
+ *
+ * @param unknown $slug
+ */
+ public function getTransport($slug) {
+ $transports = $this->getTransports ();
+ if (isset ( $transports [$slug] )) {
+ return $transports [$slug];
+ }
+ }
+
+ /**
+ * A short-hand way of showing the complete delivery method
+ *
+ * @param PostmanModuleTransport $transport
+ * @return string
+ */
+ public function getPublicTransportUri(PostmanModuleTransport $transport) {
+ return $transport->getPublicTransportUri ();
+ }
+
+ /**
+ * Determine if a specific transport is registered in the directory.
+ *
+ * @param unknown $slug
+ */
+ public function isRegistered($slug) {
+ $transports = $this->getTransports ();
+ return isset ( $transports [$slug] );
+ }
+
+ /**
+ * Retrieve the transport Postman is currently configured with.
+ *
+ * @return PostmanDummyTransport|PostmanModuleTransport
+ * @deprecated
+ *
+ */
+ public function getCurrentTransport() {
+ $selectedTransport = PostmanOptions::getInstance ()->getTransportType ();
+ $transports = $this->getTransports ();
+ if (! isset ( $transports [$selectedTransport] )) {
+ return $transports ['default'];
+ } else {
+ return $transports [$selectedTransport];
+ }
+ }
+
+ /**
+ *
+ * @param PostmanOptions $options
+ * @param PostmanOAuthToken $token
+ * @return boolean
+ */
+ public function getActiveTransport() {
+ $selectedTransport = PostmanOptions::getInstance ()->getTransportType ();
+ $transports = $this->getTransports ();
+ if (isset ( $transports [$selectedTransport] )) {
+ $transport = $transports [$selectedTransport];
+ if ($transport->getSlug () == $selectedTransport && $transport->isConfiguredAndReady ()) {
+ return $transport;
+ }
+ }
+ return $transports ['default'];
+ }
+
+ /**
+ * Retrieve the transport Postman is currently configured with.
+ *
+ * @return PostmanDummyTransport|PostmanModuleTransport
+ */
+ public function getSelectedTransport() {
+ $selectedTransport = PostmanOptions::getInstance ()->getTransportType ();
+ $transports = $this->getTransports ();
+ if (isset ( $transports [$selectedTransport] )) {
+ return $transports [$selectedTransport];
+ } else {
+ return $transports ['default'];
+ }
+ }
+
+ /**
+ * Determine whether to show the Request Permission link on the main menu
+ *
+ * This link is displayed if
+ * 1. the current transport requires OAuth 2.0
+ * 2. the transport is properly configured
+ * 3. we have a valid Client ID and Client Secret without an Auth Token
+ *
+ * @param PostmanOptions $options
+ * @return boolean
+ */
+ public function isRequestOAuthPermissionAllowed(PostmanOptions $options, PostmanOAuthToken $authToken) {
+ // does the current transport use OAuth 2.0
+ $oauthUsed = self::getSelectedTransport ()->isOAuthUsed ( $options->getAuthenticationType () );
+
+ // is the transport configured
+ if ($oauthUsed) {
+ $configured = self::getSelectedTransport ()->isConfiguredAndReady ();
+ }
+
+ return $oauthUsed && $configured;
+ }
+
+ /**
+ * Polls all the installed transports to get a complete list of sockets to probe for connectivity
+ *
+ * @param unknown $hostname
+ * @param unknown $isGmail
+ * @return multitype:
+ */
+ public function getSocketsForSetupWizardToProbe($hostname = 'localhost', $smtpServerGuess = null) {
+ $hosts = array ();
+ if ($this->logger->isDebug ()) {
+ $this->logger->debug ( sprintf ( 'Getting sockets for Port Test given hostname %s and smtpServerGuess %s', $hostname, $smtpServerGuess ) );
+ }
+ foreach ( $this->getTransports () as $transport ) {
+ $socketsToTest = $transport->getSocketsForSetupWizardToProbe ( $hostname, $smtpServerGuess );
+ if ($this->logger->isTrace ()) {
+ $this->logger->trace ( 'sockets to test:' );
+ $this->logger->trace ( $socketsToTest );
+ }
+ $hosts = array_merge ( $hosts, $socketsToTest );
+ if ($this->logger->isDebug ()) {
+ $this->logger->debug ( sprintf ( 'Transport %s returns %d sockets ', $transport->getName (), sizeof ( $socketsToTest ) ) );
+ }
+ }
+ return $hosts;
+ }
+
+ /**
+ * If the host port is a possible configuration option, recommend it
+ *
+ * $hostData includes ['host'] and ['port']
+ *
+ * response should include ['success'], ['message'], ['priority']
+ *
+ * @param unknown $hostData
+ */
+ public function getRecommendation(PostmanWizardSocket $hostData, $userAuthOverride, $originalSmtpServer) {
+ $scrubbedUserAuthOverride = $this->scrubUserOverride ( $hostData, $userAuthOverride );
+ $transport = $this->getTransport ( $hostData->transport );
+ $recommendation = $transport->getConfigurationBid ( $hostData, $scrubbedUserAuthOverride, $originalSmtpServer );
+ if ($this->logger->isDebug ()) {
+ $this->logger->debug ( sprintf ( 'Transport %s bid %s', $transport->getName (), $recommendation ['priority'] ) );
+ }
+ return $recommendation;
+ }
+
+ /**
+ *
+ * @param PostmanWizardSocket $hostData
+ * @param unknown $userAuthOverride
+ * @return NULL
+ */
+ private function scrubUserOverride(PostmanWizardSocket $hostData, $userAuthOverride) {
+ $this->logger->trace ( 'before scrubbing userAuthOverride: ' . $userAuthOverride );
+
+ // validate userAuthOverride
+ if (! ($userAuthOverride == 'oauth2' || $userAuthOverride == 'password' || $userAuthOverride == 'none')) {
+ $userAuthOverride = null;
+ }
+
+ // validate the userAuthOverride
+ if (! $hostData->auth_xoauth) {
+ if ($userAuthOverride == 'oauth2') {
+ $userAuthOverride = null;
+ }
+ }
+ if (! $hostData->auth_crammd5 && ! $hostData->authPlain && ! $hostData->auth_login) {
+ if ($userAuthOverride == 'password') {
+ $userAuthOverride = null;
+ }
+ }
+ if (! $hostData->auth_none) {
+ if ($userAuthOverride == 'none') {
+ $userAuthOverride = null;
+ }
+ }
+ $this->logger->trace ( 'after scrubbing userAuthOverride: ' . $userAuthOverride );
+ return $userAuthOverride;
+ }
+
+ /**
+ */
+ public function getReadyMessage() {
+ if ($this->getCurrentTransport ()->isConfiguredAndReady ()) {
+ if (PostmanOptions::getInstance ()->getRunMode () != PostmanOptions::RUN_MODE_PRODUCTION) {
+ return __ ( 'Postman is in <em>non-Production</em> mode and is dumping all emails.', Postman::TEXT_DOMAIN );
+ } else {
+ return __ ( 'Postman is configured.', Postman::TEXT_DOMAIN );
+ }
+ } else {
+ return __ ( 'Postman is <em>not</em> configured and is mimicking out-of-the-box WordPress email delivery.', Postman::TEXT_DOMAIN );
+ }
+ }
+}
diff --git a/Postman/Postman-Mail/PostmanZendMailEngine.php b/Postman/Postman-Mail/PostmanZendMailEngine.php
new file mode 100644
index 0000000..943be50
--- /dev/null
+++ b/Postman/Postman-Mail/PostmanZendMailEngine.php
@@ -0,0 +1,245 @@
+<?php
+if (! class_exists ( "PostmanZendMailEngine" )) {
+
+ require_once 'Zend-1.12.10/Loader.php';
+ require_once 'Zend-1.12.10/Registry.php';
+ require_once 'Zend-1.12.10/Mime/Message.php';
+ require_once 'Zend-1.12.10/Mime/Part.php';
+ require_once 'Zend-1.12.10/Mime.php';
+ require_once 'Zend-1.12.10/Validate/Interface.php';
+ require_once 'Zend-1.12.10/Validate/Abstract.php';
+ require_once 'Zend-1.12.10/Validate.php';
+ require_once 'Zend-1.12.10/Validate/Ip.php';
+ require_once 'Zend-1.12.10/Validate/Hostname.php';
+ require_once 'Zend-1.12.10/Mail.php';
+ require_once 'Zend-1.12.10/Exception.php';
+ require_once 'Zend-1.12.10/Mail/Exception.php';
+ require_once 'Zend-1.12.10/Mail/Transport/Exception.php';
+ require_once 'Zend-1.12.10/Mail/Transport/Abstract.php';
+ require_once 'Zend-1.12.10/Mail/Transport/Smtp.php';
+ require_once 'Zend-1.12.10/Mail/Transport/Sendmail.php';
+ require_once 'Zend-1.12.10/Mail/Protocol/Abstract.php';
+ require_once 'Zend-1.12.10/Mail/Protocol/Exception.php';
+ require_once 'Zend-1.12.10/Mail/Protocol/Smtp.php';
+ require_once 'Zend-1.12.10/Mail/Protocol/Smtp/Auth/Oauth2.php';
+ require_once 'Zend-1.12.10/Mail/Protocol/Smtp/Auth/Login.php';
+ require_once 'Zend-1.12.10/Mail/Protocol/Smtp/Auth/Crammd5.php';
+ require_once 'Zend-1.12.10/Mail/Protocol/Smtp/Auth/Plain.php';
+
+ /**
+ * This class knows how to interface with Wordpress
+ * including loading/saving to the database.
+ *
+ * The various Transports available:
+ * http://framework.zend.com/manual/current/en/modules/zend.mail.smtp.options.html
+ *
+ * @author jasonhendriks
+ *
+ */
+ class PostmanZendMailEngine implements PostmanMailEngine {
+
+ // logger for all concrete classes - populate with setLogger($logger)
+ protected $logger;
+
+ // the result
+ private $transcript;
+
+ //
+ private $transport;
+
+ /**
+ *
+ * @param unknown $senderEmail
+ * @param unknown $accessToken
+ */
+ function __construct(PostmanZendModuleTransport $transport) {
+ assert ( isset ( $transport ) );
+ $this->transport = $transport;
+
+ // create the logger
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ }
+
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanSmtpEngine::send()
+ */
+ public function send(PostmanMessage $message) {
+ $this->logger->debug ( "Prepping Zend" );
+ $envelopeFrom = new PostmanEmailAddress ( $this->transport->getEnvelopeFromEmailAddress () );
+ if ($this->transport->isEnvelopeFromValidationSupported ()) {
+ // validate the envelope from since we didn't do it in the Message
+ $envelopeFrom->validate ( 'Envelope From' );
+ }
+
+ // create the Message
+ $charset = $message->getCharset ();
+ $this->logger->debug ( 'Building Postman_Zend_Mail with charset=' . $charset );
+ $mail = new Postman_Zend_Mail ( $charset );
+
+ // add the Postman signature - append it to whatever the user may have set
+ if (! PostmanOptions::getInstance ()->isStealthModeEnabled ()) {
+ $pluginData = apply_filters ( 'postman_get_plugin_metadata', null );
+ $mail->addHeader ( 'X-Mailer', sprintf ( 'Postman SMTP %s for WordPress (%s)', $pluginData ['version'], 'https://wordpress.org/plugins/postman-smtp/' ) );
+ }
+
+ // add the headers - see http://framework.zend.com/manual/1.12/en/zend.mail.additional-headers.html
+ foreach ( ( array ) $message->getHeaders () as $header ) {
+ $this->logger->debug ( sprintf ( 'Adding user header %s=%s', $header ['name'], $header ['content'] ) );
+ $mail->addHeader ( $header ['name'], $header ['content'], true );
+ }
+
+ // if the caller set a Content-Type header, use it
+ $contentType = $message->getContentType ();
+ if (! empty ( $contentType )) {
+ $mail->addHeader ( 'Content-Type', $contentType, false );
+ $this->logger->debug ( 'Adding content-type ' . $contentType );
+ }
+
+ // add the From Header
+ $fromHeader = $this->addFrom ( $message, $mail );
+ $fromHeader->log ( $this->logger, 'From' );
+
+ // add the Sender Header, overriding what the user may have set
+ $mail->addHeader ( 'Sender', $this->transport->getFromEmailAddress (), false );
+ // from RFC 5321: http://tools.ietf.org/html/rfc5321#section-4.4
+ // A message-originating SMTP system SHOULD NOT send a message that
+ // already contains a Return-path header field.
+ // I changed Zend/Mail/Mail.php to fix this
+ $mail->setReturnPath ( $this->transport->getEnvelopeFromEmailAddress () );
+
+ // add the to recipients
+ foreach ( ( array ) $message->getToRecipients () as $recipient ) {
+ $recipient->log ( $this->logger, 'To' );
+ $mail->addTo ( $recipient->getEmail (), $recipient->getName () );
+ }
+
+ // add the cc recipients
+ foreach ( ( array ) $message->getCcRecipients () as $recipient ) {
+ $recipient->log ( $this->logger, 'Cc' );
+ $mail->addCc ( $recipient->getEmail (), $recipient->getName () );
+ }
+
+ // add the to recipients
+ foreach ( ( array ) $message->getBccRecipients () as $recipient ) {
+ $recipient->log ( $this->logger, 'Bcc' );
+ $mail->addBcc ( $recipient->getEmail (), $recipient->getName () );
+ }
+
+ // add the reply-to
+ $replyTo = $message->getReplyTo ();
+ // $replyTo is null or a PostmanEmailAddress object
+ if (isset ( $replyTo )) {
+ $mail->setReplyTo ( $replyTo->getEmail (), $replyTo->getName () );
+ }
+
+ // add the date
+ $date = $message->getDate ();
+ if (! empty ( $date )) {
+ $mail->setDate ( $date );
+ }
+
+ // add the messageId
+ $messageId = $message->getMessageId ();
+ if (! empty ( $messageId )) {
+ $mail->setMessageId ( $messageId );
+ }
+
+ // add the subject
+ if (null !== $message->getSubject ()) {
+ $mail->setSubject ( $message->getSubject () );
+ }
+
+ // add the message content
+ {
+ $textPart = $message->getBodyTextPart ();
+ if (! empty ( $textPart )) {
+ $this->logger->debug ( 'Adding body as text' );
+ $mail->setBodyText ( $textPart );
+ }
+ $htmlPart = $message->getBodyHtmlPart ();
+ if (! empty ( $htmlPart )) {
+ $this->logger->debug ( 'Adding body as html' );
+ $mail->setBodyHtml ( $htmlPart );
+ }
+ }
+
+ // add attachments
+ $this->logger->debug ( "Adding attachments" );
+ $message->addAttachmentsToMail ( $mail );
+
+ // create the SMTP transport
+ $this->logger->debug ( "Create the Zend_Mail transport" );
+ $zendTransport = $this->transport->createZendMailTransport ( $this->transport->getHostname (), array () );
+
+ try {
+ // send the message
+ $this->logger->debug ( "Sending mail" );
+ $mail->send ( $zendTransport );
+ if ($this->logger->isInfo ()) {
+ $this->logger->info ( sprintf ( 'Message %d accepted for delivery', PostmanState::getInstance ()->getSuccessfulDeliveries () + 1 ) );
+ }
+ // finally not supported??
+ if ($zendTransport->getConnection () && ! PostmanUtils::isEmpty ( $zendTransport->getConnection ()->getLog () )) {
+ $this->transcript = $zendTransport->getConnection ()->getLog ();
+ } else if (method_exists ( $zendTransport, 'getTranscript' ) && ! PostmanUtils::isEmpty ( $zendTransport->getTranscript () )) {
+ // then use the API response
+ $this->transcript = $zendTransport->getTranscript ();
+ } else if (method_exists ( $zendTransport, 'getMessage' ) && ! PostmanUtils::isEmpty ( $zendTransport->getMessage () )) {
+ // then use the Raw Message as the Transcript
+ $this->transcript = $zendTransport->getMessage ();
+ }
+ } catch ( Exception $e ) {
+ // finally not supported??
+ if ($zendTransport->getConnection () && ! PostmanUtils::isEmpty ( $zendTransport->getConnection ()->getLog () )) {
+ $this->transcript = $zendTransport->getConnection ()->getLog ();
+ } else if (method_exists ( $zendTransport, 'getTranscript' ) && ! PostmanUtils::isEmpty ( $zendTransport->getTranscript () )) {
+ // then use the API response
+ $this->transcript = $zendTransport->getTranscript ();
+ } else if (method_exists ( $zendTransport, 'getMessage' ) && ! PostmanUtils::isEmpty ( $zendTransport->getMessage () )) {
+ // then use the Raw Message as the Transcript
+ $this->transcript = $zendTransport->getMessage ();
+ }
+
+ // get the current exception message
+ $message = $e->getMessage ();
+ if ($e->getCode () == 334) {
+ // replace the unusable Google message with a better one in the case of code 334
+ $message = sprintf ( __ ( 'Communication Error [334] - make sure the Envelope From email is the same account used to create the Client ID.', Postman::TEXT_DOMAIN ) );
+ }
+ // create a new exception
+ $newException = new Exception ( $message, $e->getCode () );
+ // throw the new exception after handling
+ throw $newException;
+ }
+ }
+
+ /**
+ * Get the sender from PostmanMessage and add it to the Postman_Zend_Mail object
+ *
+ * @param PostmanMessage $message
+ * @param Postman_Zend_Mail $mail
+ * @return PostmanEmailAddress
+ */
+ public function addFrom(PostmanMessage $message, Postman_Zend_Mail $mail) {
+ $sender = $message->getFromAddress ();
+ // now log it and push it into the message
+ $senderEmail = $sender->getEmail ();
+ $senderName = $sender->getName ();
+ assert ( ! empty ( $senderEmail ) );
+ if (! empty ( $senderName )) {
+ $mail->setFrom ( $senderEmail, $senderName );
+ } else {
+ $mail->setFrom ( $senderEmail );
+ }
+ return $sender;
+ }
+
+ // return the SMTP session transcript
+ public function getTranscript() {
+ return $this->transcript;
+ }
+ }
+}
+
diff --git a/Postman/Postman-Mail/PostmanZendMailTransportConfigurationFactory.php b/Postman/Postman-Mail/PostmanZendMailTransportConfigurationFactory.php
new file mode 100644
index 0000000..2639497
--- /dev/null
+++ b/Postman/Postman-Mail/PostmanZendMailTransportConfigurationFactory.php
@@ -0,0 +1,129 @@
+<?php
+if (! interface_exists ( 'PostmanZendMailTransportConfigurationFactory' )) {
+ interface PostmanZendMailTransportConfigurationFactory {
+ static function createConfig(PostmanTransport $transport);
+ }
+}
+
+if (! class_exists ( 'PostmanBasicAuthConfigurationFactory' )) {
+ class PostmanBasicAuthConfigurationFactory implements PostmanZendMailTransportConfigurationFactory {
+ public static function createConfig(PostmanTransport $transport) {
+
+ // create Logger
+ $logger = new PostmanLogger ( "PostmanBasicAuthConfigurationFactory" );
+
+ // retrieve the hostname and port form the transport
+ $hostname = $transport->getHostname ();
+ $port = $transport->getPort ();
+ $securityType = $transport->getSecurityType ();
+ $authType = $transport->getAuthenticationType ();
+ $username = $transport->getCredentialsId ();
+ $password = $transport->getCredentialsSecret ();
+
+ // create the Configuration structure for Zend_Mail
+ $config = array (
+ 'port' => $port
+ );
+ $logger->debug ( sprintf ( 'Using %s:%s ', $hostname, $port ) );
+ if ($securityType != PostmanOptions::SECURITY_TYPE_NONE) {
+ $config ['ssl'] = $securityType;
+ $logger->debug ( 'Using encryption ' . $securityType );
+ } else {
+ $logger->debug ( 'Using no encryption' );
+ }
+ if ($authType != PostmanOptions::AUTHENTICATION_TYPE_NONE) {
+ $config ['auth'] = $authType;
+ $config ['username'] = $username;
+ $config ['password'] = $password;
+ $logger->debug ( sprintf ( 'Using auth %s with username %s and password %s', $authType, $username, PostmanUtils::obfuscatePassword ( $password ) ) );
+ } else {
+ $logger->debug ( 'Using no authentication' );
+ }
+
+ // return the Configuration structure
+ return $config;
+ }
+ }
+}
+
+if (! class_exists ( 'PostmanOAuth2ConfigurationFactory' )) {
+ class PostmanOAuth2ConfigurationFactory implements PostmanZendMailTransportConfigurationFactory {
+ public static function createConfig(PostmanTransport $transport) {
+
+ // create Logger
+ $logger = new PostmanLogger ( 'PostmanOAuth2ConfigurationFactory' );
+
+ // retrieve the hostname and port form the transport
+ $hostname = $transport->getHostname ();
+ $port = $transport->getPort ();
+
+ // the sender email is needed for the OAuth2 Bearer token
+ $senderEmail = PostmanOptions::getInstance ()->getEnvelopeSender ();
+ assert ( ! empty ( $senderEmail ) );
+
+ // the vendor is required for Yahoo's OAuth2 implementation
+ $vendor = self::createVendorString ( $hostname );
+
+ // create the OAuth2 SMTP Authentication string
+ $initClientRequestEncoded = self::createAuthenticationString ( $senderEmail, PostmanOAuthToken::getInstance ()->getAccessToken (), $vendor );
+
+ // create the Configuration structure for Zend_Mail
+ $config = self::createConfiguration ( $logger, $hostname, $port, $transport->getSecurityType (), $transport->getAuthenticationType (), $initClientRequestEncoded );
+
+ // return the Configuration structure
+ return $config;
+ }
+
+ /**
+ *
+ * Create the Configuration structure for Zend_Mail
+ *
+ * @param unknown $hostname
+ * @param unknown $port
+ * @param unknown $securityType
+ * @param unknown $authenticationType
+ * @param unknown $initClientRequestEncoded
+ * @return multitype:unknown NULL
+ */
+ private static function createConfiguration($logger, $hostname, $port, $securityType, $authenticationType, $initClientRequestEncoded) {
+ $config = array (
+ 'ssl' => $securityType,
+ 'port' => $port,
+ 'auth' => $authenticationType,
+ 'xoauth2_request' => $initClientRequestEncoded
+ );
+ $logger->debug ( sprintf ( 'Using auth %s with encryption %s to %s:%s ', $config ['auth'], $config ['ssl'], $hostname, $config ['port'] ) );
+ return $config;
+ }
+
+ /**
+ * Create the vendor string (for Yahoo servers only)
+ *
+ * @param unknown $hostname
+ * @return string
+ */
+ private static function createVendorString($hostname) {
+ // the vendor is required for Yahoo's OAuth2 implementation
+ $vendor = '';
+ if (PostmanUtils::endsWith ( $hostname, 'yahoo.com' )) {
+ // Yahoo Mail requires a Vendor - see http://imapclient.freshfoo.com/changeset/535%3A80ae438f4e4a/
+ $pluginData = apply_filters ( 'postman_get_plugin_metadata', null );
+ $vendor = sprintf ( "vendor=Postman SMTP %s\1", $pluginData ['version'] );
+ }
+ return $vendor;
+ }
+
+ /**
+ * Create the standard OAuth2 SMTP Authentication string
+ *
+ * @param unknown $senderEmail
+ * @param unknown $oauth2AccessToken
+ * @param unknown $vendor
+ * @return string
+ */
+ private static function createAuthenticationString($senderEmail, $oauth2AccessToken, $vendor) {
+ $initClientRequestEncoded = base64_encode ( sprintf ( "user=%s\1auth=Bearer %s\1%s\1", $senderEmail, $oauth2AccessToken, $vendor ) );
+ return $initClientRequestEncoded;
+ }
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Exception.php b/Postman/Postman-Mail/Zend-1.12.10/Exception.php
new file mode 100644
index 0000000..7ab867b
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Exception.php
@@ -0,0 +1,96 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Zend
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+* @category Zend
+* @package Zend
+* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+* @license http://framework.zend.com/license/new-bsd New BSD License
+*/
+class Postman_Zend_Exception extends Exception
+{
+ /**
+ * @var null|Exception
+ */
+ private $_previous = null;
+
+ /**
+ * Construct the exception
+ *
+ * @param string $msg
+ * @param int $code
+ * @param Exception $previous
+ * @return void
+ */
+ public function __construct($msg = '', $code = 0, Exception $previous = null)
+ {
+ if (version_compare(PHP_VERSION, '5.3.0', '<')) {
+ parent::__construct($msg, (int) $code);
+ $this->_previous = $previous;
+ } else {
+ parent::__construct($msg, (int) $code, $previous);
+ }
+ }
+
+ /**
+ * Overloading
+ *
+ * For PHP < 5.3.0, provides access to the getPrevious() method.
+ *
+ * @param string $method
+ * @param array $args
+ * @return mixed
+ */
+ public function __call($method, array $args)
+ {
+ if ('getprevious' == strtolower($method)) {
+ return $this->_getPrevious();
+ }
+ return null;
+ }
+
+ /**
+ * String representation of the exception
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (version_compare(PHP_VERSION, '5.3.0', '<')) {
+ if (null !== ($e = $this->getPrevious())) {
+ return $e->__toString()
+ . "\n\nNext "
+ . parent::__toString();
+ }
+ }
+ return parent::__toString();
+ }
+
+ /**
+ * Returns previous Exception
+ *
+ * @return Exception|null
+ */
+ protected function _getPrevious()
+ {
+ return $this->_previous;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Loader.php b/Postman/Postman-Mail/Zend-1.12.10/Loader.php
new file mode 100644
index 0000000..0635c77
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Loader.php
@@ -0,0 +1,343 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Loader
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * Static methods for loading classes and files.
+ *
+ * @category Zend
+ * @package Postman_Zend_Loader
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Loader
+{
+ /**
+ * Loads a class from a PHP file. The filename must be formatted
+ * as "$class.php".
+ *
+ * If $dirs is a string or an array, it will search the directories
+ * in the order supplied, and attempt to load the first matching file.
+ *
+ * If $dirs is null, it will split the class name at underscores to
+ * generate a path hierarchy (e.g., "Postman_Zend_Example_Class" will map
+ * to "Zend/Example/Class.php").
+ *
+ * If the file was not found in the $dirs, or if no $dirs were specified,
+ * it will attempt to load it from PHP's include_path.
+ *
+ * @param string $class - The full class name of a Zend component.
+ * @param string|array $dirs - OPTIONAL Either a path or an array of paths
+ * to search.
+ * @return void
+ * @throws Postman_Zend_Exception
+ */
+ public static function loadClass($class, $dirs = null)
+ {
+ if (class_exists($class, false) || interface_exists($class, false)) {
+ return;
+ }
+
+ if ((null !== $dirs) && !is_string($dirs) && !is_array($dirs)) {
+ require_once 'Zend/Exception.php';
+ throw new Postman_Zend_Exception('Directory argument must be a string or an array');
+ }
+
+ $file = self::standardiseFile($class);
+
+ if (!empty($dirs)) {
+ // use the autodiscovered path
+ $dirPath = dirname($file);
+ if (is_string($dirs)) {
+ $dirs = explode(PATH_SEPARATOR, $dirs);
+ }
+ foreach ($dirs as $key => $dir) {
+ if ($dir == '.') {
+ $dirs[$key] = $dirPath;
+ } else {
+ $dir = rtrim($dir, '\\/');
+ $dirs[$key] = $dir . DIRECTORY_SEPARATOR . $dirPath;
+ }
+ }
+ $file = basename($file);
+ self::loadFile($file, $dirs, true);
+ } else {
+ self::loadFile($file, null, true);
+ }
+
+ if (!class_exists($class, false) && !interface_exists($class, false)) {
+ require_once 'Zend/Exception.php';
+ throw new Postman_Zend_Exception("File \"$file\" does not exist or class \"$class\" was not found in the file");
+ }
+ }
+
+ /**
+ * Loads a PHP file. This is a wrapper for PHP's include() function.
+ *
+ * $filename must be the complete filename, including any
+ * extension such as ".php". Note that a security check is performed that
+ * does not permit extended characters in the filename. This method is
+ * intended for loading Zend Framework files.
+ *
+ * If $dirs is a string or an array, it will search the directories
+ * in the order supplied, and attempt to load the first matching file.
+ *
+ * If the file was not found in the $dirs, or if no $dirs were specified,
+ * it will attempt to load it from PHP's include_path.
+ *
+ * If $once is TRUE, it will use include_once() instead of include().
+ *
+ * @param string $filename
+ * @param string|array $dirs - OPTIONAL either a path or array of paths
+ * to search.
+ * @param boolean $once
+ * @return boolean
+ * @throws Postman_Zend_Exception
+ */
+ public static function loadFile($filename, $dirs = null, $once = false)
+ {
+ self::_securityCheck($filename);
+
+ /**
+ * Search in provided directories, as well as include_path
+ */
+ $incPath = false;
+ if (!empty($dirs) && (is_array($dirs) || is_string($dirs))) {
+ if (is_array($dirs)) {
+ $dirs = implode(PATH_SEPARATOR, $dirs);
+ }
+ $incPath = get_include_path();
+ set_include_path($dirs . PATH_SEPARATOR . $incPath);
+ }
+
+ /**
+ * Try finding for the plain filename in the include_path.
+ */
+ if ($once) {
+ include_once $filename;
+ } else {
+ include $filename;
+ }
+
+ /**
+ * If searching in directories, reset include_path
+ */
+ if ($incPath) {
+ set_include_path($incPath);
+ }
+
+ return true;
+ }
+
+ /**
+ * Returns TRUE if the $filename is readable, or FALSE otherwise.
+ * This function uses the PHP include_path, where PHP's is_readable()
+ * does not.
+ *
+ * Note from ZF-2900:
+ * If you use custom error handler, please check whether return value
+ * from error_reporting() is zero or not.
+ * At mark of fopen() can not suppress warning if the handler is used.
+ *
+ * @param string $filename
+ * @return boolean
+ */
+ public static function isReadable($filename)
+ {
+ if (is_readable($filename)) {
+ // Return early if the filename is readable without needing the
+ // include_path
+ return true;
+ }
+
+ if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN'
+ && preg_match('/^[a-z]:/i', $filename)
+ ) {
+ // If on windows, and path provided is clearly an absolute path,
+ // return false immediately
+ return false;
+ }
+
+ foreach (self::explodeIncludePath() as $path) {
+ if ($path == '.') {
+ if (is_readable($filename)) {
+ return true;
+ }
+ continue;
+ }
+ $file = $path . '/' . $filename;
+ if (is_readable($file)) {
+ return true;
+ }
+ }
+ return false;
+ }
+
+ /**
+ * Explode an include path into an array
+ *
+ * If no path provided, uses current include_path. Works around issues that
+ * occur when the path includes stream schemas.
+ *
+ * @param string|null $path
+ * @return array
+ */
+ public static function explodeIncludePath($path = null)
+ {
+ if (null === $path) {
+ $path = get_include_path();
+ }
+
+ if (PATH_SEPARATOR == ':') {
+ // On *nix systems, include_paths which include paths with a stream
+ // schema cannot be safely explode'd, so we have to be a bit more
+ // intelligent in the approach.
+ $paths = preg_split('#:(?!//)#', $path);
+ } else {
+ $paths = explode(PATH_SEPARATOR, $path);
+ }
+ return $paths;
+ }
+
+ /**
+ * spl_autoload() suitable implementation for supporting class autoloading.
+ *
+ * Attach to spl_autoload() using the following:
+ * <code>
+ * spl_autoload_register(array('Postman_Zend_Loader', 'autoload'));
+ * </code>
+ *
+ * @deprecated Since 1.8.0
+ * @param string $class
+ * @return string|false Class name on success; false on failure
+ */
+ public static function autoload($class)
+ {
+ trigger_error(__CLASS__ . '::' . __METHOD__ . ' is deprecated as of 1.8.0 and will be removed with 2.0.0; use Postman_Zend_Loader_Autoloader instead', E_USER_NOTICE);
+ try {
+ @self::loadClass($class);
+ return $class;
+ } catch (Exception $e) {
+ return false;
+ }
+ }
+
+ /**
+ * Register {@link autoload()} with spl_autoload()
+ *
+ * @deprecated Since 1.8.0
+ * @param string $class (optional)
+ * @param boolean $enabled (optional)
+ * @return void
+ * @throws Postman_Zend_Exception if spl_autoload() is not found
+ * or if the specified class does not have an autoload() method.
+ */
+ public static function registerAutoload($class = 'Postman_Zend_Loader', $enabled = true)
+ {
+ trigger_error(__CLASS__ . '::' . __METHOD__ . ' is deprecated as of 1.8.0 and will be removed with 2.0.0; use Postman_Zend_Loader_Autoloader instead', E_USER_NOTICE);
+ require_once 'Zend/Loader/Autoloader.php';
+ $autoloader = Postman_Zend_Loader_Autoloader::getInstance();
+ $autoloader->setFallbackAutoloader(true);
+
+ if ('Postman_Zend_Loader' != $class) {
+ self::loadClass($class);
+ $methods = get_class_methods($class);
+ if (!in_array('autoload', (array) $methods)) {
+ require_once 'Zend/Exception.php';
+ throw new Postman_Zend_Exception("The class \"$class\" does not have an autoload() method");
+ }
+
+ $callback = array($class, 'autoload');
+
+ if ($enabled) {
+ $autoloader->pushAutoloader($callback);
+ } else {
+ $autoloader->removeAutoloader($callback);
+ }
+ }
+ }
+
+ /**
+ * Ensure that filename does not contain exploits
+ *
+ * @param string $filename
+ * @return void
+ * @throws Postman_Zend_Exception
+ */
+ protected static function _securityCheck($filename)
+ {
+ /**
+ * Security check
+ */
+ if (preg_match('/[^a-z0-9\\/\\\\_.:-]/i', $filename)) {
+ require_once 'Zend/Exception.php';
+ throw new Postman_Zend_Exception('Security check: Illegal character in filename');
+ }
+ }
+
+ /**
+ * Attempt to include() the file.
+ *
+ * include() is not prefixed with the @ operator because if
+ * the file is loaded and contains a parse error, execution
+ * will halt silently and this is difficult to debug.
+ *
+ * Always set display_errors = Off on production servers!
+ *
+ * @param string $filespec
+ * @param boolean $once
+ * @return boolean
+ * @deprecated Since 1.5.0; use loadFile() instead
+ */
+ protected static function _includeFile($filespec, $once = false)
+ {
+ if ($once) {
+ return include_once $filespec;
+ } else {
+ return include $filespec ;
+ }
+ }
+
+ /**
+ * Standardise the filename.
+ *
+ * Convert the supplied filename into the namespace-aware standard,
+ * based on the Framework Interop Group reference implementation:
+ * http://groups.google.com/group/php-standards/web/psr-0-final-proposal
+ *
+ * The filename must be formatted as "$file.php".
+ *
+ * @param string $file - The file name to be loaded.
+ * @return string
+ */
+ public static function standardiseFile($file)
+ {
+ $fileName = ltrim($file, '\\');
+ $file = '';
+ $namespace = '';
+ if ($lastNsPos = strripos($fileName, '\\')) {
+ $namespace = substr($fileName, 0, $lastNsPos);
+ $fileName = substr($fileName, $lastNsPos + 1);
+ $file = str_replace('\\', DIRECTORY_SEPARATOR, $namespace) . DIRECTORY_SEPARATOR;
+ }
+ $file .= str_replace('_', DIRECTORY_SEPARATOR, $fileName) . '.php';
+ return $file;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Loader/Autoloader.php b/Postman/Postman-Mail/Zend-1.12.10/Loader/Autoloader.php
new file mode 100644
index 0000000..84b8e72
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Loader/Autoloader.php
@@ -0,0 +1,589 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Loader
+ * @subpackage Autoloader
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id$
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+
+/** Postman_Zend_Loader */
+require_once 'Zend/Loader.php';
+
+/**
+ * Autoloader stack and namespace autoloader
+ *
+ * @uses Postman_Zend_Loader_Autoloader
+ * @package Postman_Zend_Loader
+ * @subpackage Autoloader
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Loader_Autoloader
+{
+ /**
+ * @var Postman_Zend_Loader_Autoloader Singleton instance
+ */
+ protected static $_instance;
+
+ /**
+ * @var array Concrete autoloader callback implementations
+ */
+ protected $_autoloaders = array();
+
+ /**
+ * @var array Default autoloader callback
+ */
+ protected $_defaultAutoloader = array('Postman_Zend_Loader', 'loadClass');
+
+ /**
+ * @var bool Whether or not to act as a fallback autoloader
+ */
+ protected $_fallbackAutoloader = false;
+
+ /**
+ * @var array Callback for internal autoloader implementation
+ */
+ protected $_internalAutoloader;
+
+ /**
+ * @var array Supported namespaces 'Zend' and 'ZendX' by default.
+ */
+ protected $_namespaces = array(
+ 'Postman_Zend_' => true,
+ 'ZendX_' => true,
+ );
+
+ /**
+ * @var array Namespace-specific autoloaders
+ */
+ protected $_namespaceAutoloaders = array();
+
+ /**
+ * @var bool Whether or not to suppress file not found warnings
+ */
+ protected $_suppressNotFoundWarnings = false;
+
+ /**
+ * @var null|string
+ */
+ protected $_zfPath;
+
+ /**
+ * Retrieve singleton instance
+ *
+ * @return Postman_Zend_Loader_Autoloader
+ */
+ public static function getInstance()
+ {
+ if (null === self::$_instance) {
+ self::$_instance = new self();
+ }
+ return self::$_instance;
+ }
+
+ /**
+ * Reset the singleton instance
+ *
+ * @return void
+ */
+ public static function resetInstance()
+ {
+ self::$_instance = null;
+ }
+
+ /**
+ * Autoload a class
+ *
+ * @param string $class
+ * @return bool
+ */
+ public static function autoload($class)
+ {
+ $self = self::getInstance();
+
+ foreach ($self->getClassAutoloaders($class) as $autoloader) {
+ if ($autoloader instanceof Postman_Zend_Loader_Autoloader_Interface) {
+ if ($autoloader->autoload($class)) {
+ return true;
+ }
+ } elseif (is_array($autoloader)) {
+ if (call_user_func($autoloader, $class)) {
+ return true;
+ }
+ } elseif (is_string($autoloader) || is_callable($autoloader)) {
+ if ($autoloader($class)) {
+ return true;
+ }
+ }
+ }
+
+ return false;
+ }
+
+ /**
+ * Set the default autoloader implementation
+ *
+ * @param string|array $callback PHP callback
+ * @return void
+ */
+ public function setDefaultAutoloader($callback)
+ {
+ if (!is_callable($callback)) {
+ throw new Postman_Zend_Loader_Exception('Invalid callback specified for default autoloader');
+ }
+
+ $this->_defaultAutoloader = $callback;
+ return $this;
+ }
+
+ /**
+ * Retrieve the default autoloader callback
+ *
+ * @return string|array PHP Callback
+ */
+ public function getDefaultAutoloader()
+ {
+ return $this->_defaultAutoloader;
+ }
+
+ /**
+ * Set several autoloader callbacks at once
+ *
+ * @param array $autoloaders Array of PHP callbacks (or Postman_Zend_Loader_Autoloader_Interface implementations) to act as autoloaders
+ * @return Postman_Zend_Loader_Autoloader
+ */
+ public function setAutoloaders(array $autoloaders)
+ {
+ $this->_autoloaders = $autoloaders;
+ return $this;
+ }
+
+ /**
+ * Get attached autoloader implementations
+ *
+ * @return array
+ */
+ public function getAutoloaders()
+ {
+ return $this->_autoloaders;
+ }
+
+ /**
+ * Return all autoloaders for a given namespace
+ *
+ * @param string $namespace
+ * @return array
+ */
+ public function getNamespaceAutoloaders($namespace)
+ {
+ $namespace = (string) $namespace;
+ if (!array_key_exists($namespace, $this->_namespaceAutoloaders)) {
+ return array();
+ }
+ return $this->_namespaceAutoloaders[$namespace];
+ }
+
+ /**
+ * Register a namespace to autoload
+ *
+ * @param string|array $namespace
+ * @return Postman_Zend_Loader_Autoloader
+ */
+ public function registerNamespace($namespace)
+ {
+ if (is_string($namespace)) {
+ $namespace = (array) $namespace;
+ } elseif (!is_array($namespace)) {
+ throw new Postman_Zend_Loader_Exception('Invalid namespace provided');
+ }
+
+ foreach ($namespace as $ns) {
+ if (!isset($this->_namespaces[$ns])) {
+ $this->_namespaces[$ns] = true;
+ }
+ }
+ return $this;
+ }
+
+ /**
+ * Unload a registered autoload namespace
+ *
+ * @param string|array $namespace
+ * @return Postman_Zend_Loader_Autoloader
+ */
+ public function unregisterNamespace($namespace)
+ {
+ if (is_string($namespace)) {
+ $namespace = (array) $namespace;
+ } elseif (!is_array($namespace)) {
+ throw new Postman_Zend_Loader_Exception('Invalid namespace provided');
+ }
+
+ foreach ($namespace as $ns) {
+ if (isset($this->_namespaces[$ns])) {
+ unset($this->_namespaces[$ns]);
+ }
+ }
+ return $this;
+ }
+
+ /**
+ * Get a list of registered autoload namespaces
+ *
+ * @return array
+ */
+ public function getRegisteredNamespaces()
+ {
+ return array_keys($this->_namespaces);
+ }
+
+ public function setZfPath($spec, $version = 'latest')
+ {
+ $path = $spec;
+ if (is_array($spec)) {
+ if (!isset($spec['path'])) {
+ throw new Postman_Zend_Loader_Exception('No path specified for ZF');
+ }
+ $path = $spec['path'];
+ if (isset($spec['version'])) {
+ $version = $spec['version'];
+ }
+ }
+
+ $this->_zfPath = $this->_getVersionPath($path, $version);
+ set_include_path(implode(PATH_SEPARATOR, array(
+ $this->_zfPath,
+ get_include_path(),
+ )));
+ return $this;
+ }
+
+ public function getZfPath()
+ {
+ return $this->_zfPath;
+ }
+
+ /**
+ * Get or set the value of the "suppress not found warnings" flag
+ *
+ * @param null|bool $flag
+ * @return bool|Postman_Zend_Loader_Autoloader Returns boolean if no argument is passed, object instance otherwise
+ */
+ public function suppressNotFoundWarnings($flag = null)
+ {
+ if (null === $flag) {
+ return $this->_suppressNotFoundWarnings;
+ }
+ $this->_suppressNotFoundWarnings = (bool) $flag;
+ return $this;
+ }
+
+ /**
+ * Indicate whether or not this autoloader should be a fallback autoloader
+ *
+ * @param bool $flag
+ * @return Postman_Zend_Loader_Autoloader
+ */
+ public function setFallbackAutoloader($flag)
+ {
+ $this->_fallbackAutoloader = (bool) $flag;
+ return $this;
+ }
+
+ /**
+ * Is this instance acting as a fallback autoloader?
+ *
+ * @return bool
+ */
+ public function isFallbackAutoloader()
+ {
+ return $this->_fallbackAutoloader;
+ }
+
+ /**
+ * Get autoloaders to use when matching class
+ *
+ * Determines if the class matches a registered namespace, and, if so,
+ * returns only the autoloaders for that namespace. Otherwise, it returns
+ * all non-namespaced autoloaders.
+ *
+ * @param string $class
+ * @return array Array of autoloaders to use
+ */
+ public function getClassAutoloaders($class)
+ {
+ $namespace = false;
+ $autoloaders = array();
+
+ // Add concrete namespaced autoloaders
+ foreach (array_keys($this->_namespaceAutoloaders) as $ns) {
+ if ('' == $ns) {
+ continue;
+ }
+ if (0 === strpos($class, $ns)) {
+ if ((false === $namespace) || (strlen($ns) > strlen($namespace))) {
+ $namespace = $ns;
+ $autoloaders = $this->getNamespaceAutoloaders($ns);
+ }
+ }
+ }
+
+ // Add internal namespaced autoloader
+ foreach ($this->getRegisteredNamespaces() as $ns) {
+ if (0 === strpos($class, $ns)) {
+ $namespace = $ns;
+ $autoloaders[] = $this->_internalAutoloader;
+ break;
+ }
+ }
+
+ // Add non-namespaced autoloaders
+ $autoloadersNonNamespace = $this->getNamespaceAutoloaders('');
+ if (count($autoloadersNonNamespace)) {
+ foreach ($autoloadersNonNamespace as $ns) {
+ $autoloaders[] = $ns;
+ }
+ unset($autoloadersNonNamespace);
+ }
+
+ // Add fallback autoloader
+ if (!$namespace && $this->isFallbackAutoloader()) {
+ $autoloaders[] = $this->_internalAutoloader;
+ }
+
+ return $autoloaders;
+ }
+
+ /**
+ * Add an autoloader to the beginning of the stack
+ *
+ * @param object|array|string $callback PHP callback or Postman_Zend_Loader_Autoloader_Interface implementation
+ * @param string|array $namespace Specific namespace(s) under which to register callback
+ * @return Postman_Zend_Loader_Autoloader
+ */
+ public function unshiftAutoloader($callback, $namespace = '')
+ {
+ $autoloaders = $this->getAutoloaders();
+ array_unshift($autoloaders, $callback);
+ $this->setAutoloaders($autoloaders);
+
+ $namespace = (array) $namespace;
+ foreach ($namespace as $ns) {
+ $autoloaders = $this->getNamespaceAutoloaders($ns);
+ array_unshift($autoloaders, $callback);
+ $this->_setNamespaceAutoloaders($autoloaders, $ns);
+ }
+
+ return $this;
+ }
+
+ /**
+ * Append an autoloader to the autoloader stack
+ *
+ * @param object|array|string $callback PHP callback or Postman_Zend_Loader_Autoloader_Interface implementation
+ * @param string|array $namespace Specific namespace(s) under which to register callback
+ * @return Postman_Zend_Loader_Autoloader
+ */
+ public function pushAutoloader($callback, $namespace = '')
+ {
+ $autoloaders = $this->getAutoloaders();
+ array_push($autoloaders, $callback);
+ $this->setAutoloaders($autoloaders);
+
+ $namespace = (array) $namespace;
+ foreach ($namespace as $ns) {
+ $autoloaders = $this->getNamespaceAutoloaders($ns);
+ array_push($autoloaders, $callback);
+ $this->_setNamespaceAutoloaders($autoloaders, $ns);
+ }
+
+ return $this;
+ }
+
+ /**
+ * Remove an autoloader from the autoloader stack
+ *
+ * @param object|array|string $callback PHP callback or Postman_Zend_Loader_Autoloader_Interface implementation
+ * @param null|string|array $namespace Specific namespace(s) from which to remove autoloader
+ * @return Postman_Zend_Loader_Autoloader
+ */
+ public function removeAutoloader($callback, $namespace = null)
+ {
+ if (null === $namespace) {
+ $autoloaders = $this->getAutoloaders();
+ if (false !== ($index = array_search($callback, $autoloaders, true))) {
+ unset($autoloaders[$index]);
+ $this->setAutoloaders($autoloaders);
+ }
+
+ foreach ($this->_namespaceAutoloaders as $ns => $autoloaders) {
+ if (false !== ($index = array_search($callback, $autoloaders, true))) {
+ unset($autoloaders[$index]);
+ $this->_setNamespaceAutoloaders($autoloaders, $ns);
+ }
+ }
+ } else {
+ $namespace = (array) $namespace;
+ foreach ($namespace as $ns) {
+ $autoloaders = $this->getNamespaceAutoloaders($ns);
+ if (false !== ($index = array_search($callback, $autoloaders, true))) {
+ unset($autoloaders[$index]);
+ $this->_setNamespaceAutoloaders($autoloaders, $ns);
+ }
+ }
+ }
+
+ return $this;
+ }
+
+ /**
+ * Constructor
+ *
+ * Registers instance with spl_autoload stack
+ *
+ * @return void
+ */
+ protected function __construct()
+ {
+ spl_autoload_register(array(__CLASS__, 'autoload'));
+ $this->_internalAutoloader = array($this, '_autoload');
+ }
+
+ /**
+ * Internal autoloader implementation
+ *
+ * @param string $class
+ * @return bool
+ */
+ protected function _autoload($class)
+ {
+ $callback = $this->getDefaultAutoloader();
+ try {
+ if ($this->suppressNotFoundWarnings()) {
+ @call_user_func($callback, $class);
+ } else {
+ call_user_func($callback, $class);
+ }
+ return $class;
+ } catch (Postman_Zend_Exception $e) {
+ return false;
+ }
+ }
+
+ /**
+ * Set autoloaders for a specific namespace
+ *
+ * @param array $autoloaders
+ * @param string $namespace
+ * @return Postman_Zend_Loader_Autoloader
+ */
+ protected function _setNamespaceAutoloaders(array $autoloaders, $namespace = '')
+ {
+ $namespace = (string) $namespace;
+ $this->_namespaceAutoloaders[$namespace] = $autoloaders;
+ return $this;
+ }
+
+ /**
+ * Retrieve the filesystem path for the requested ZF version
+ *
+ * @param string $path
+ * @param string $version
+ * @return void
+ */
+ protected function _getVersionPath($path, $version)
+ {
+ $type = $this->_getVersionType($version);
+
+ if ($type == 'latest') {
+ $version = 'latest';
+ }
+
+ $availableVersions = $this->_getAvailableVersions($path, $version);
+ if (empty($availableVersions)) {
+ throw new Postman_Zend_Loader_Exception('No valid ZF installations discovered');
+ }
+
+ $matchedVersion = array_pop($availableVersions);
+ return $matchedVersion;
+ }
+
+ /**
+ * Retrieve the ZF version type
+ *
+ * @param string $version
+ * @return string "latest", "major", "minor", or "specific"
+ * @throws Postman_Zend_Loader_Exception if version string contains too many dots
+ */
+ protected function _getVersionType($version)
+ {
+ if (strtolower($version) == 'latest') {
+ return 'latest';
+ }
+
+ $parts = explode('.', $version);
+ $count = count($parts);
+ if (1 == $count) {
+ return 'major';
+ }
+ if (2 == $count) {
+ return 'minor';
+ }
+ if (3 < $count) {
+ throw new Postman_Zend_Loader_Exception('Invalid version string provided');
+ }
+ return 'specific';
+ }
+
+ /**
+ * Get available versions for the version type requested
+ *
+ * @param string $path
+ * @param string $version
+ * @return array
+ */
+ protected function _getAvailableVersions($path, $version)
+ {
+ if (!is_dir($path)) {
+ throw new Postman_Zend_Loader_Exception('Invalid ZF path provided');
+ }
+
+ $path = rtrim($path, '/');
+ $path = rtrim($path, '\\');
+ $versionLen = strlen($version);
+ $versions = array();
+ $dirs = glob("$path/*", GLOB_ONLYDIR);
+ foreach ((array) $dirs as $dir) {
+ $dirName = substr($dir, strlen($path) + 1);
+ if (!preg_match('/^(?:ZendFramework-)?(\d+\.\d+\.\d+((a|b|pl|pr|p|rc)\d+)?)(?:-minimal)?$/i', $dirName, $matches)) {
+ continue;
+ }
+
+ $matchedVersion = $matches[1];
+
+ if (('latest' == $version)
+ || ((strlen($matchedVersion) >= $versionLen)
+ && (0 === strpos($matchedVersion, $version)))
+ ) {
+ $versions[$matchedVersion] = $dir . '/library';
+ }
+ }
+
+ uksort($versions, 'version_compare');
+ return $versions;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail.php b/Postman/Postman-Mail/Zend-1.12.10/Mail.php
new file mode 100644
index 0000000..437e0fa
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail.php
@@ -0,0 +1,1279 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @see Postman_Zend_Mail_Transport_Abstract
+ */
+// require_once 'Zend/Mail/Transport/Abstract.php';
+
+/**
+ * @see Postman_Zend_Mime
+ */
+// require_once 'Zend/Mime.php';
+
+/**
+ * @see Postman_Zend_Mime_Message
+ */
+// require_once 'Zend/Mime/Message.php';
+
+/**
+ * @see Postman_Zend_Mime_Part
+ */
+// require_once 'Zend/Mime/Part.php';
+
+
+/**
+ * Class for sending an email.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail extends Postman_Zend_Mime_Message
+{
+ /**#@+
+ * @access protected
+ */
+
+ /**
+ * @var Postman_Zend_Mail_Transport_Abstract
+ * @static
+ */
+ protected static $_defaultTransport = null;
+
+ /**
+ * @var array
+ * @static
+ */
+ protected static $_defaultFrom;
+
+ /**
+ * @var array
+ * @static
+ */
+ protected static $_defaultReplyTo;
+
+ /**
+ * Mail character set
+ * @var string
+ */
+ protected $_charset = 'iso-8859-1';
+
+ /**
+ * Mail headers
+ * @var array
+ */
+ protected $_headers = array();
+
+ /**
+ * Encoding of Mail headers
+ * @var string
+ */
+ protected $_headerEncoding = Postman_Zend_Mime::ENCODING_QUOTEDPRINTABLE;
+
+ /**
+ * From: address
+ * @var string
+ */
+ protected $_from = null;
+
+ /**
+ * To: addresses
+ * @var array
+ */
+ protected $_to = array();
+
+ /**
+ * Array of all recipients
+ * @var array
+ */
+ protected $_recipients = array();
+
+ /**
+ * Reply-To header
+ * @var string
+ */
+ protected $_replyTo = null;
+
+ /**
+ * Return-Path header
+ * @var string
+ */
+ protected $_returnPath = null;
+
+ /**
+ * Subject: header
+ * @var string
+ */
+ protected $_subject = null;
+
+ /**
+ * Date: header
+ * @var string
+ */
+ protected $_date = null;
+
+ /**
+ * Message-ID: header
+ * @var string
+ */
+ protected $_messageId = null;
+
+ /**
+ * text/plain MIME part
+ * @var false|Postman_Zend_Mime_Part
+ */
+ protected $_bodyText = false;
+
+ /**
+ * text/html MIME part
+ * @var false|Postman_Zend_Mime_Part
+ */
+ protected $_bodyHtml = false;
+
+ /**
+ * MIME boundary string
+ * @var string
+ */
+ protected $_mimeBoundary = null;
+
+ /**
+ * Content type of the message
+ * @var string
+ */
+ protected $_type = null;
+
+ /**#@-*/
+
+ /**
+ * Flag: whether or not email has attachments
+ * @var boolean
+ */
+ public $hasAttachments = false;
+
+
+ /**
+ * Sets the default mail transport for all following uses of
+ * Postman_Zend_Mail::send();
+ *
+ * @todo Allow passing a string to indicate the transport to load
+ * @todo Allow passing in optional options for the transport to load
+ * @param Postman_Zend_Mail_Transport_Abstract $transport
+ */
+ public static function setDefaultTransport(Postman_Zend_Mail_Transport_Abstract $transport)
+ {
+ self::$_defaultTransport = $transport;
+ }
+
+ /**
+ * Gets the default mail transport for all following uses of
+ * unittests
+ *
+ * @todo Allow passing a string to indicate the transport to load
+ * @todo Allow passing in optional options for the transport to load
+ */
+ public static function getDefaultTransport()
+ {
+ return self::$_defaultTransport;
+ }
+
+ /**
+ * Clear the default transport property
+ */
+ public static function clearDefaultTransport()
+ {
+ self::$_defaultTransport = null;
+ }
+
+ /**
+ * Public constructor
+ *
+ * @param string $charset
+ * @return void
+ */
+ public function __construct($charset = null)
+ {
+ if ($charset != null) {
+ $this->_charset = $charset;
+ }
+ }
+
+ /**
+ * Return charset string
+ *
+ * @return string
+ */
+ public function getCharset()
+ {
+ return $this->_charset;
+ }
+
+ /**
+ * Set content type
+ *
+ * Should only be used for manually setting multipart content types.
+ *
+ * @param string $type Content type
+ * @return Postman_Zend_Mail Implements fluent interface
+ * @throws Postman_Zend_Mail_Exception for types not supported by Postman_Zend_Mime
+ */
+ public function setType($type)
+ {
+ $allowed = array(
+ Postman_Zend_Mime::MULTIPART_ALTERNATIVE,
+ Postman_Zend_Mime::MULTIPART_MIXED,
+ Postman_Zend_Mime::MULTIPART_RELATED,
+ );
+ if (!in_array($type, $allowed)) {
+ /**
+ * @see Postman_Zend_Mail_Exception
+ */
+// require_once 'Zend/Mail/Exception.php';
+ throw new Postman_Zend_Mail_Exception('Invalid content type "' . $type . '"');
+ }
+
+ $this->_type = $type;
+ return $this;
+ }
+
+ /**
+ * Get content type of the message
+ *
+ * @return string
+ */
+ public function getType()
+ {
+ return $this->_type;
+ }
+
+ /**
+ * Set an arbitrary mime boundary for the message
+ *
+ * If not set, Postman_Zend_Mime will generate one.
+ *
+ * @param string $boundary
+ * @return Postman_Zend_Mail Provides fluent interface
+ */
+ public function setMimeBoundary($boundary)
+ {
+ $this->_mimeBoundary = $boundary;
+
+ return $this;
+ }
+
+ /**
+ * Return the boundary string used for the message
+ *
+ * @return string
+ */
+ public function getMimeBoundary()
+ {
+ return $this->_mimeBoundary;
+ }
+
+ /**
+ * Return encoding of mail headers
+ *
+ * @deprecated use {@link getHeaderEncoding()} instead
+ * @return string
+ */
+ public function getEncodingOfHeaders()
+ {
+ return $this->getHeaderEncoding();
+ }
+
+ /**
+ * Return the encoding of mail headers
+ *
+ * Either Postman_Zend_Mime::ENCODING_QUOTEDPRINTABLE or Postman_Zend_Mime::ENCODING_BASE64
+ *
+ * @return string
+ */
+ public function getHeaderEncoding()
+ {
+ return $this->_headerEncoding;
+ }
+
+ /**
+ * Set the encoding of mail headers
+ *
+ * @deprecated Use {@link setHeaderEncoding()} instead.
+ * @param string $encoding
+ * @return Postman_Zend_Mail
+ */
+ public function setEncodingOfHeaders($encoding)
+ {
+ return $this->setHeaderEncoding($encoding);
+ }
+
+ /**
+ * Set the encoding of mail headers
+ *
+ * @param string $encoding Postman_Zend_Mime::ENCODING_QUOTEDPRINTABLE or Postman_Zend_Mime::ENCODING_BASE64
+ * @return Postman_Zend_Mail Provides fluent interface
+ */
+ public function setHeaderEncoding($encoding)
+ {
+ $allowed = array(
+ Postman_Zend_Mime::ENCODING_BASE64,
+ Postman_Zend_Mime::ENCODING_QUOTEDPRINTABLE
+ );
+ if (!in_array($encoding, $allowed)) {
+ /**
+ * @see Postman_Zend_Mail_Exception
+ */
+// require_once 'Zend/Mail/Exception.php';
+ throw new Postman_Zend_Mail_Exception('Invalid encoding "' . $encoding . '"');
+ }
+ $this->_headerEncoding = $encoding;
+
+ return $this;
+ }
+
+ /**
+ * Sets the text body for the message.
+ *
+ * @param string $txt
+ * @param string $charset
+ * @param string $encoding
+ * @return Postman_Zend_Mail Provides fluent interface
+ */
+ public function setBodyText($txt, $charset = null, $encoding = Postman_Zend_Mime::ENCODING_QUOTEDPRINTABLE)
+ {
+ if ($charset === null) {
+ $charset = $this->_charset;
+ }
+
+ $mp = new Postman_Zend_Mime_Part($txt);
+ $mp->encoding = $encoding;
+ $mp->type = Postman_Zend_Mime::TYPE_TEXT;
+ $mp->disposition = Postman_Zend_Mime::DISPOSITION_INLINE;
+ $mp->charset = $charset;
+
+ $this->_bodyText = $mp;
+
+ return $this;
+ }
+
+ /**
+ * Return text body Postman_Zend_Mime_Part or string
+ *
+ * @param bool textOnly Whether to return just the body text content or the MIME part; defaults to false, the MIME part
+ * @return false|Postman_Zend_Mime_Part|string
+ */
+ public function getBodyText($textOnly = false)
+ {
+ if ($textOnly && $this->_bodyText) {
+ $body = $this->_bodyText;
+ return $body->getContent();
+ }
+
+ return $this->_bodyText;
+ }
+
+ /**
+ * Sets the HTML body for the message
+ *
+ * @param string $html
+ * @param string $charset
+ * @param string $encoding
+ * @return Postman_Zend_Mail Provides fluent interface
+ */
+ public function setBodyHtml($html, $charset = null, $encoding = Postman_Zend_Mime::ENCODING_QUOTEDPRINTABLE)
+ {
+ if ($charset === null) {
+ $charset = $this->_charset;
+ }
+
+ $mp = new Postman_Zend_Mime_Part($html);
+ $mp->encoding = $encoding;
+ $mp->type = Postman_Zend_Mime::TYPE_HTML;
+ $mp->disposition = Postman_Zend_Mime::DISPOSITION_INLINE;
+ $mp->charset = $charset;
+
+ $this->_bodyHtml = $mp;
+
+ return $this;
+ }
+
+ /**
+ * Return Postman_Zend_Mime_Part representing body HTML
+ *
+ * @param bool $htmlOnly Whether to return the body HTML only, or the MIME part; defaults to false, the MIME part
+ * @return false|Postman_Zend_Mime_Part|string
+ */
+ public function getBodyHtml($htmlOnly = false)
+ {
+ if ($htmlOnly && $this->_bodyHtml) {
+ $body = $this->_bodyHtml;
+ return $body->getContent();
+ }
+
+ return $this->_bodyHtml;
+ }
+
+ /**
+ * Adds an existing attachment to the mail message
+ *
+ * @param Postman_Zend_Mime_Part $attachment
+ * @return Postman_Zend_Mail Provides fluent interface
+ */
+ public function addAttachment(Postman_Zend_Mime_Part $attachment)
+ {
+ $this->addPart($attachment);
+ $this->hasAttachments = true;
+
+ return $this;
+ }
+
+ /**
+ * Creates a Postman_Zend_Mime_Part attachment
+ *
+ * Attachment is automatically added to the mail object after creation. The
+ * attachment object is returned to allow for further manipulation.
+ *
+ * @param string $body
+ * @param string $mimeType
+ * @param string $disposition
+ * @param string $encoding
+ * @param string $filename OPTIONAL A filename for the attachment
+ * @return Postman_Zend_Mime_Part Newly created Postman_Zend_Mime_Part object (to allow
+ * advanced settings)
+ */
+ public function createAttachment($body,
+ $mimeType = Postman_Zend_Mime::TYPE_OCTETSTREAM,
+ $disposition = Postman_Zend_Mime::DISPOSITION_ATTACHMENT,
+ $encoding = Postman_Zend_Mime::ENCODING_BASE64,
+ $filename = null)
+ {
+
+ $mp = new Postman_Zend_Mime_Part($body);
+ $mp->encoding = $encoding;
+ $mp->type = $mimeType;
+ $mp->disposition = $disposition;
+ $mp->filename = $filename;
+
+ $this->addAttachment($mp);
+
+ return $mp;
+ }
+
+ /**
+ * Return a count of message parts
+ *
+ * @return integer
+ */
+ public function getPartCount()
+ {
+ return count($this->_parts);
+ }
+
+ /**
+ * Encode header fields
+ *
+ * Encodes header content according to RFC1522 if it contains non-printable
+ * characters.
+ *
+ * @param string $value
+ * @return string
+ */
+ protected function _encodeHeader($value)
+ {
+ if (Postman_Zend_Mime::isPrintable($value) === false) {
+ if ($this->getHeaderEncoding() === Postman_Zend_Mime::ENCODING_QUOTEDPRINTABLE) {
+ $value = Postman_Zend_Mime::encodeQuotedPrintableHeader($value, $this->getCharset(), Postman_Zend_Mime::LINELENGTH, Postman_Zend_Mime::LINEEND);
+ } else {
+ $value = Postman_Zend_Mime::encodeBase64Header($value, $this->getCharset(), Postman_Zend_Mime::LINELENGTH, Postman_Zend_Mime::LINEEND);
+ }
+ }
+
+ return $value;
+ }
+
+ /**
+ * Add a header to the message
+ *
+ * Adds a header to this message. If append is true and the header already
+ * exists, raises a flag indicating that the header should be appended.
+ *
+ * @param string $headerName
+ * @param string $value
+ * @param bool $append
+ */
+ protected function _storeHeader($headerName, $value, $append = false)
+ {
+ if (isset($this->_headers[$headerName])) {
+ $this->_headers[$headerName][] = $value;
+ } else {
+ $this->_headers[$headerName] = array($value);
+ }
+
+ if ($append) {
+ $this->_headers[$headerName]['append'] = true;
+ }
+
+ }
+
+ /**
+ * Clear header from the message
+ *
+ * @param string $headerName
+ * @deprecated use public method directly
+ */
+ protected function _clearHeader($headerName)
+ {
+ $this->clearHeader($headerName);
+ }
+
+ /**
+ * Helper function for adding a recipient and the corresponding header
+ *
+ * @param string $headerName
+ * @param string $email
+ * @param string $name
+ */
+ protected function _addRecipientAndHeader($headerName, $email, $name)
+ {
+ $email = $this->_filterEmail($email);
+ $name = $this->_filterName($name);
+ // prevent duplicates
+ $this->_recipients[$email] = 1;
+ $this->_storeHeader($headerName, $this->_formatAddress($email, $name), true);
+ }
+
+ /**
+ * Adds To-header and recipient, $email can be an array, or a single string address
+ *
+ * @param string|array $email
+ * @param string $name
+ * @return Postman_Zend_Mail Provides fluent interface
+ */
+ public function addTo($email, $name='')
+ {
+ if (!is_array($email)) {
+ $email = array($name => $email);
+ }
+
+ foreach ($email as $n => $recipient) {
+ $this->_addRecipientAndHeader('To', $recipient, is_int($n) ? '' : $n);
+ $this->_to[] = $recipient;
+ }
+
+ return $this;
+ }
+
+ /**
+ * Adds Cc-header and recipient, $email can be an array, or a single string address
+ *
+ * @param string|array $email
+ * @param string $name
+ * @return Postman_Zend_Mail Provides fluent interface
+ */
+ public function addCc($email, $name='')
+ {
+ if (!is_array($email)) {
+ $email = array($name => $email);
+ }
+
+ foreach ($email as $n => $recipient) {
+ $this->_addRecipientAndHeader('Cc', $recipient, is_int($n) ? '' : $n);
+ }
+
+ return $this;
+ }
+
+ /**
+ * Adds Bcc recipient, $email can be an array, or a single string address
+ *
+ * @param string|array $email
+ * @return Postman_Zend_Mail Provides fluent interface
+ */
+ public function addBcc($email)
+ {
+ if (!is_array($email)) {
+ $email = array($email);
+ }
+
+ foreach ($email as $recipient) {
+ $this->_addRecipientAndHeader('Bcc', $recipient, '');
+ }
+
+ return $this;
+ }
+
+ /**
+ * Return list of recipient email addresses
+ *
+ * @return array (of strings)
+ */
+ public function getRecipients()
+ {
+ return array_keys($this->_recipients);
+ }
+
+ /**
+ * Clear header from the message
+ *
+ * @param string $headerName
+ * @return Postman_Zend_Mail Provides fluent inter
+ */
+ public function clearHeader($headerName)
+ {
+ if (isset($this->_headers[$headerName])){
+ unset($this->_headers[$headerName]);
+ }
+ return $this;
+ }
+
+ /**
+ * Clears list of recipient email addresses
+ *
+ * @return Postman_Zend_Mail Provides fluent interface
+ */
+ public function clearRecipients()
+ {
+ $this->_recipients = array();
+ $this->_to = array();
+
+ $this->clearHeader('To');
+ $this->clearHeader('Cc');
+ $this->clearHeader('Bcc');
+
+ return $this;
+ }
+
+ /**
+ * Sets From-header and sender of the message
+ *
+ * @param string $email
+ * @param string $name
+ * @return Postman_Zend_Mail Provides fluent interface
+ * @throws Postman_Zend_Mail_Exception if called subsequent times
+ */
+ public function setFrom($email, $name = null)
+ {
+ if (null !== $this->_from) {
+ /**
+ * @see Postman_Zend_Mail_Exception
+ */
+// require_once 'Zend/Mail/Exception.php';
+ throw new Postman_Zend_Mail_Exception('From Header set twice');
+ }
+
+ $email = $this->_filterEmail($email);
+ $name = $this->_filterName($name);
+ $this->_from = $email;
+ $this->_storeHeader('From', $this->_formatAddress($email, $name), true);
+
+ return $this;
+ }
+
+ /**
+ * Set Reply-To Header
+ *
+ * @param string $email
+ * @param string $name
+ * @return Postman_Zend_Mail
+ * @throws Postman_Zend_Mail_Exception if called more than one time
+ */
+ public function setReplyTo($email, $name = null)
+ {
+ if (null !== $this->_replyTo) {
+ /**
+ * @see Postman_Zend_Mail_Exception
+ */
+// require_once 'Zend/Mail/Exception.php';
+ throw new Postman_Zend_Mail_Exception('Reply-To Header set twice');
+ }
+
+ $email = $this->_filterEmail($email);
+ $name = $this->_filterName($name);
+ $this->_replyTo = $email;
+ $this->_storeHeader('Reply-To', $this->_formatAddress($email, $name), true);
+
+ return $this;
+ }
+
+ /**
+ * Returns the sender of the mail
+ *
+ * @return string
+ */
+ public function getFrom()
+ {
+ return $this->_from;
+ }
+
+ /**
+ * Returns the current Reply-To address of the message
+ *
+ * @return string|null Reply-To address, null when not set
+ */
+ public function getReplyTo()
+ {
+ return $this->_replyTo;
+ }
+
+ /**
+ * Clears the sender from the mail
+ *
+ * @return Postman_Zend_Mail Provides fluent interface
+ */
+ public function clearFrom()
+ {
+ $this->_from = null;
+ $this->clearHeader('From');
+
+ return $this;
+ }
+
+ /**
+ * Clears the current Reply-To address from the message
+ *
+ * @return Postman_Zend_Mail Provides fluent interface
+ */
+ public function clearReplyTo()
+ {
+ $this->_replyTo = null;
+ $this->clearHeader('Reply-To');
+
+ return $this;
+ }
+
+ /**
+ * Sets Default From-email and name of the message
+ *
+ * @param string $email
+ * @param string Optional $name
+ * @return void
+ */
+ public static function setDefaultFrom($email, $name = null)
+ {
+ self::$_defaultFrom = array('email' => $email, 'name' => $name);
+ }
+
+ /**
+ * Returns the default sender of the mail
+ *
+ * @return null|array Null if none was set.
+ */
+ public static function getDefaultFrom()
+ {
+ return self::$_defaultFrom;
+ }
+
+ /**
+ * Clears the default sender from the mail
+ *
+ * @return void
+ */
+ public static function clearDefaultFrom()
+ {
+ self::$_defaultFrom = null;
+ }
+
+ /**
+ * Sets From-name and -email based on the defaults
+ *
+ * @return Postman_Zend_Mail Provides fluent interface
+ */
+ public function setFromToDefaultFrom() {
+ $from = self::getDefaultFrom();
+ if($from === null) {
+// require_once 'Zend/Mail/Exception.php';
+ throw new Postman_Zend_Mail_Exception(
+ 'No default From Address set to use');
+ }
+
+ $this->setFrom($from['email'], $from['name']);
+
+ return $this;
+ }
+
+ /**
+ * Sets Default ReplyTo-address and -name of the message
+ *
+ * @param string $email
+ * @param string Optional $name
+ * @return void
+ */
+ public static function setDefaultReplyTo($email, $name = null)
+ {
+ self::$_defaultReplyTo = array('email' => $email, 'name' => $name);
+ }
+
+ /**
+ * Returns the default Reply-To Address and Name of the mail
+ *
+ * @return null|array Null if none was set.
+ */
+ public static function getDefaultReplyTo()
+ {
+ return self::$_defaultReplyTo;
+ }
+
+ /**
+ * Clears the default ReplyTo-address and -name from the mail
+ *
+ * @return void
+ */
+ public static function clearDefaultReplyTo()
+ {
+ self::$_defaultReplyTo = null;
+ }
+
+ /**
+ * Sets ReplyTo-name and -email based on the defaults
+ *
+ * @return Postman_Zend_Mail Provides fluent interface
+ */
+ public function setReplyToFromDefault() {
+ $replyTo = self::getDefaultReplyTo();
+ if($replyTo === null) {
+// require_once 'Zend/Mail/Exception.php';
+ throw new Postman_Zend_Mail_Exception(
+ 'No default Reply-To Address set to use');
+ }
+
+ $this->setReplyTo($replyTo['email'], $replyTo['name']);
+
+ return $this;
+ }
+
+ /**
+ * Sets the Return-Path header of the message
+ *
+ * @param string $email
+ * @return Postman_Zend_Mail Provides fluent interface
+ * @throws Postman_Zend_Mail_Exception if set multiple times
+ */
+ public function setReturnPath($email)
+ {
+ if ($this->_returnPath === null) {
+ $email = $this->_filterEmail($email);
+ $this->_returnPath = $email;
+ // Postman SMTP Fix - Jason Hendriks
+ // according to RFC 5321, Return-Path should not be set my the MUA
+ // http://tools.ietf.org/html/rfc5321#section-4.4
+ // $this->_storeHeader('Return-Path', $email, false);
+ } else {
+ /**
+ * @see Postman_Zend_Mail_Exception
+ */
+// require_once 'Zend/Mail/Exception.php';
+ throw new Postman_Zend_Mail_Exception('Return-Path Header set twice');
+ }
+ return $this;
+ }
+
+ /**
+ * Returns the current Return-Path address of the message
+ *
+ * If no Return-Path header is set, returns the value of {@link $_from}.
+ *
+ * @return string
+ */
+ public function getReturnPath()
+ {
+ if (null !== $this->_returnPath) {
+ return $this->_returnPath;
+ }
+
+ return $this->_from;
+ }
+
+ /**
+ * Clears the current Return-Path address from the message
+ *
+ * @return Postman_Zend_Mail Provides fluent interface
+ */
+ public function clearReturnPath()
+ {
+ $this->_returnPath = null;
+ $this->clearHeader('Return-Path');
+
+ return $this;
+ }
+
+ /**
+ * Sets the subject of the message
+ *
+ * @param string $subject
+ * @return Postman_Zend_Mail Provides fluent interface
+ * @throws Postman_Zend_Mail_Exception
+ */
+ public function setSubject($subject)
+ {
+ if ($this->_subject === null) {
+ $subject = $this->_filterOther($subject);
+ $this->_subject = $this->_encodeHeader($subject);
+ $this->_storeHeader('Subject', $this->_subject);
+ } else {
+ /**
+ * @see Postman_Zend_Mail_Exception
+ */
+// require_once 'Zend/Mail/Exception.php';
+ throw new Postman_Zend_Mail_Exception('Subject set twice');
+ }
+ return $this;
+ }
+
+ /**
+ * Returns the encoded subject of the message
+ *
+ * @return string
+ */
+ public function getSubject()
+ {
+ return $this->_subject;
+ }
+
+ /**
+ * Clears the encoded subject from the message
+ *
+ * @return Postman_Zend_Mail Provides fluent interface
+ */
+ public function clearSubject()
+ {
+ $this->_subject = null;
+ $this->clearHeader('Subject');
+
+ return $this;
+ }
+
+ /**
+ * Sets Date-header
+ *
+ * @param timestamp|string|Postman_Zend_Date $date
+ * @return Postman_Zend_Mail Provides fluent interface
+ * @throws Postman_Zend_Mail_Exception if called subsequent times or wrong date format.
+ */
+ public function setDate($date = null)
+ {
+ if ($this->_date === null) {
+ if ($date === null) {
+ $date = date('r');
+ } else if (is_int($date)) {
+ $date = date('r', $date);
+ } else if (is_string($date)) {
+ $date = strtotime($date);
+ if ($date === false || $date < 0) {
+ /**
+ * @see Postman_Zend_Mail_Exception
+ */
+// require_once 'Zend/Mail/Exception.php';
+ throw new Postman_Zend_Mail_Exception('String representations of Date Header must be ' .
+ 'strtotime()-compatible');
+ }
+ $date = date('r', $date);
+ } else if ($date instanceof Postman_Zend_Date) {
+ $date = $date->get(Postman_Zend_Date::RFC_2822);
+ } else {
+ /**
+ * @see Postman_Zend_Mail_Exception
+ */
+// require_once 'Zend/Mail/Exception.php';
+ throw new Postman_Zend_Mail_Exception(__METHOD__ . ' only accepts UNIX timestamps, Postman_Zend_Date objects, ' .
+ ' and strtotime()-compatible strings');
+ }
+ $this->_date = $date;
+ $this->_storeHeader('Date', $date);
+ } else {
+ /**
+ * @see Postman_Zend_Mail_Exception
+ */
+// require_once 'Zend/Mail/Exception.php';
+ throw new Postman_Zend_Mail_Exception('Date Header set twice');
+ }
+ return $this;
+ }
+
+ /**
+ * Returns the formatted date of the message
+ *
+ * @return string
+ */
+ public function getDate()
+ {
+ return $this->_date;
+ }
+
+ /**
+ * Clears the formatted date from the message
+ *
+ * @return Postman_Zend_Mail Provides fluent interface
+ */
+ public function clearDate()
+ {
+ $this->_date = null;
+ $this->clearHeader('Date');
+
+ return $this;
+ }
+
+ /**
+ * Sets the Message-ID of the message
+ *
+ * @param boolean|string $id
+ * true :Auto
+ * false :No set
+ * null :No set
+ * string:Sets given string (Angle brackets is not necessary)
+ * @return Postman_Zend_Mail Provides fluent interface
+ * @throws Postman_Zend_Mail_Exception
+ */
+ public function setMessageId($id = true)
+ {
+ if ($id === null || $id === false) {
+ return $this;
+ } elseif ($id === true) {
+ $id = $this->createMessageId();
+ }
+
+ if ($this->_messageId === null) {
+ $id = $this->_filterOther($id);
+ $this->_messageId = $id;
+ $this->_storeHeader('Message-Id', '<' . $this->_messageId . '>');
+ } else {
+ /**
+ * @see Postman_Zend_Mail_Exception
+ */
+// require_once 'Zend/Mail/Exception.php';
+ throw new Postman_Zend_Mail_Exception('Message-ID set twice');
+ }
+
+ return $this;
+ }
+
+ /**
+ * Returns the Message-ID of the message
+ *
+ * @return string
+ */
+ public function getMessageId()
+ {
+ return $this->_messageId;
+ }
+
+
+ /**
+ * Clears the Message-ID from the message
+ *
+ * @return Postman_Zend_Mail Provides fluent interface
+ */
+ public function clearMessageId()
+ {
+ $this->_messageId = null;
+ $this->clearHeader('Message-Id');
+
+ return $this;
+ }
+
+ /**
+ * Creates the Message-ID
+ *
+ * @return string
+ */
+ public function createMessageId() {
+
+ $time = time();
+
+ if ($this->_from !== null) {
+ $user = $this->_from;
+ } elseif (isset($_SERVER['REMOTE_ADDR'])) {
+ $user = $_SERVER['REMOTE_ADDR'];
+ } else {
+ $user = getmypid();
+ }
+
+ $rand = mt_rand();
+
+ if ($this->_recipients !== array()) {
+ $recipient = array_rand($this->_recipients);
+ } else {
+ $recipient = 'unknown';
+ }
+
+ if (isset($_SERVER["SERVER_NAME"])) {
+ $hostName = $_SERVER["SERVER_NAME"];
+ } else {
+ $hostName = php_uname('n');
+ }
+
+ return sha1($time . $user . $rand . $recipient) . '@' . $hostName;
+ }
+
+ /**
+ * Add a custom header to the message
+ *
+ * @param string $name
+ * @param string $value
+ * @param boolean $append
+ * @return Postman_Zend_Mail Provides fluent interface
+ * @throws Postman_Zend_Mail_Exception on attempts to create standard headers
+ */
+ public function addHeader($name, $value, $append = false)
+ {
+ $prohibit = array('to', 'cc', 'bcc', 'from', 'subject',
+ 'reply-to', 'return-path',
+ 'date', 'message-id',
+ );
+ if (in_array(strtolower($name), $prohibit)) {
+ /**
+ * @see Postman_Zend_Mail_Exception
+ */
+// require_once 'Zend/Mail/Exception.php';
+ throw new Postman_Zend_Mail_Exception('Cannot set standard header from addHeader()');
+ }
+
+ $value = $this->_filterOther($value);
+ $value = $this->_encodeHeader($value);
+ $this->_storeHeader($name, $value, $append);
+
+ return $this;
+ }
+
+ /**
+ * Return mail headers
+ *
+ * @return void
+ */
+ public function getHeaders()
+ {
+ return $this->_headers;
+ }
+
+ /**
+ * Sends this email using the given transport or a previously
+ * set DefaultTransport or the internal mail function if no
+ * default transport had been set.
+ *
+ * @param Postman_Zend_Mail_Transport_Abstract $transport
+ * @return Postman_Zend_Mail Provides fluent interface
+ */
+ public function send($transport = null)
+ {
+ if ($transport === null) {
+ if (! self::$_defaultTransport instanceof Postman_Zend_Mail_Transport_Abstract) {
+ require_once 'Zend/Mail/Transport/Sendmail.php';
+ $transport = new Postman_Zend_Mail_Transport_Sendmail();
+ } else {
+ $transport = self::$_defaultTransport;
+ }
+ }
+
+ if ($this->_date === null) {
+ $this->setDate();
+ }
+
+ if(null === $this->_from && null !== self::getDefaultFrom()) {
+ $this->setFromToDefaultFrom();
+ }
+
+ if(null === $this->_replyTo && null !== self::getDefaultReplyTo()) {
+ $this->setReplyToFromDefault();
+ }
+
+ $transport->send($this);
+
+ return $this;
+ }
+
+ /**
+ * Filter of email data
+ *
+ * @param string $email
+ * @return string
+ */
+ protected function _filterEmail($email)
+ {
+ $rule = array("\r" => '',
+ "\n" => '',
+ "\t" => '',
+ '"' => '',
+ ',' => '',
+ '<' => '',
+ '>' => '',
+ );
+
+ return strtr($email, $rule);
+ }
+
+ /**
+ * Filter of name data
+ *
+ * @param string $name
+ * @return string
+ */
+ protected function _filterName($name)
+ {
+ $rule = array("\r" => '',
+ "\n" => '',
+ "\t" => '',
+ '"' => "'",
+ '<' => '[',
+ '>' => ']',
+ );
+
+ return trim(strtr($name, $rule));
+ }
+
+ /**
+ * Filter of other data
+ *
+ * @param string $data
+ * @return string
+ */
+ protected function _filterOther($data)
+ {
+ $rule = array("\r" => '',
+ "\n" => '',
+ "\t" => '',
+ );
+
+ return strtr($data, $rule);
+ }
+
+ /**
+ * Formats e-mail address
+ *
+ * @param string $email
+ * @param string $name
+ * @return string
+ */
+ protected function _formatAddress($email, $name)
+ {
+ if ($name === '' || $name === null || $name === $email) {
+ return $email;
+ } else {
+ $encodedName = $this->_encodeHeader($name);
+ if ($encodedName === $name && strcspn($name, '()<>[]:;@\\,.') != strlen($name)) {
+ $format = '"%s" <%s>';
+ } else {
+ $format = '%s <%s>';
+ }
+ return sprintf($format, $encodedName, $email);
+ }
+ }
+
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Exception.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Exception.php
new file mode 100644
index 0000000..7c741f7
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Exception.php
@@ -0,0 +1,37 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @see Postman_Zend_Exception
+ */
+// require_once 'Zend/Exception.php';
+
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Exception extends Postman_Zend_Exception
+{}
+
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Message.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Message.php
new file mode 100644
index 0000000..f4189ae
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Message.php
@@ -0,0 +1,112 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * Postman_Zend_Mail_Part
+ */
+require_once 'Zend/Mail/Part.php';
+
+/**
+ * Postman_Zend_Mail_Message_Interface
+ */
+require_once 'Zend/Mail/Message/Interface.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Message extends Postman_Zend_Mail_Part implements Postman_Zend_Mail_Message_Interface
+{
+ /**
+ * flags for this message
+ * @var array
+ */
+ protected $_flags = array();
+
+ /**
+ * Public constructor
+ *
+ * In addition to the parameters of Postman_Zend_Mail_Part::__construct() this constructor supports:
+ * - file filename or file handle of a file with raw message content
+ * - flags array with flags for message, keys are ignored, use constants defined in Postman_Zend_Mail_Storage
+ *
+ * @param string $rawMessage full message with or without headers
+ * @throws Postman_Zend_Mail_Exception
+ */
+ public function __construct(array $params)
+ {
+ if (isset($params['file'])) {
+ if (!is_resource($params['file'])) {
+ $params['raw'] = @file_get_contents($params['file']);
+ if ($params['raw'] === false) {
+ /**
+ * @see Postman_Zend_Mail_Exception
+ */
+ require_once 'Zend/Mail/Exception.php';
+ throw new Postman_Zend_Mail_Exception('could not open file');
+ }
+ } else {
+ $params['raw'] = stream_get_contents($params['file']);
+ }
+ }
+
+ if (!empty($params['flags'])) {
+ // set key and value to the same value for easy lookup
+ $this->_flags = array_merge($this->_flags, array_combine($params['flags'],$params['flags']));
+ }
+
+ parent::__construct($params);
+ }
+
+ /**
+ * return toplines as found after headers
+ *
+ * @return string toplines
+ */
+ public function getTopLines()
+ {
+ return $this->_topLines;
+ }
+
+ /**
+ * check if flag is set
+ *
+ * @param mixed $flag a flag name, use constants defined in Postman_Zend_Mail_Storage
+ * @return bool true if set, otherwise false
+ */
+ public function hasFlag($flag)
+ {
+ return isset($this->_flags[$flag]);
+ }
+
+ /**
+ * get all set flags
+ *
+ * @return array array with flags, key and value are the same for easy lookup
+ */
+ public function getFlags()
+ {
+ return $this->_flags;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Message/File.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Message/File.php
new file mode 100644
index 0000000..0ff7ca5
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Message/File.php
@@ -0,0 +1,96 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * Postman_Zend_Mail_Part
+ */
+require_once 'Zend/Mail/Part/File.php';
+
+/**
+ * Postman_Zend_Mail_Message_Interface
+ */
+require_once 'Zend/Mail/Message/Interface.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Message_File extends Postman_Zend_Mail_Part_File implements Postman_Zend_Mail_Message_Interface
+{
+ /**
+ * flags for this message
+ * @var array
+ */
+ protected $_flags = array();
+
+ /**
+ * Public constructor
+ *
+ * In addition to the parameters of Postman_Zend_Mail_Part::__construct() this constructor supports:
+ * - flags array with flags for message, keys are ignored, use constants defined in Postman_Zend_Mail_Storage
+ *
+ * @param string $rawMessage full message with or without headers
+ * @throws Postman_Zend_Mail_Exception
+ */
+ public function __construct(array $params)
+ {
+ if (!empty($params['flags'])) {
+ // set key and value to the same value for easy lookup
+ $this->_flags = array_combine($params['flags'], $params['flags']);
+ }
+
+ parent::__construct($params);
+ }
+
+ /**
+ * return toplines as found after headers
+ *
+ * @return string toplines
+ */
+ public function getTopLines()
+ {
+ return $this->_topLines;
+ }
+
+ /**
+ * check if flag is set
+ *
+ * @param mixed $flag a flag name, use constants defined in Postman_Zend_Mail_Storage
+ * @return bool true if set, otherwise false
+ */
+ public function hasFlag($flag)
+ {
+ return isset($this->_flags[$flag]);
+ }
+
+ /**
+ * get all set flags
+ *
+ * @return array array with flags, key and value are the same for easy lookup
+ */
+ public function getFlags()
+ {
+ return $this->_flags;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Message/Interface.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Message/Interface.php
new file mode 100644
index 0000000..2b08074
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Message/Interface.php
@@ -0,0 +1,55 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+
+interface Postman_Zend_Mail_Message_Interface
+{
+ /**
+ * return toplines as found after headers
+ *
+ * @return string toplines
+ */
+ public function getTopLines();
+
+ /**
+ * check if flag is set
+ *
+ * @param mixed $flag a flag name, use constants defined in Postman_Zend_Mail_Storage
+ * @return bool true if set, otherwise false
+ */
+ public function hasFlag($flag);
+
+ /**
+ * get all set flags
+ *
+ * @return array array with flags, key and value are the same for easy lookup
+ */
+ public function getFlags();
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Part/File.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Part/File.php
new file mode 100644
index 0000000..dbe34c2
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Part/File.php
@@ -0,0 +1,198 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @see Postman_Zend_Mime_Decode
+ */
+require_once 'Zend/Mime/Decode.php';
+
+/**
+ * @see Postman_Zend_Mail_Part
+ */
+require_once 'Zend/Mail/Part.php';
+
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Part_File extends Postman_Zend_Mail_Part
+{
+ protected $_contentPos = array();
+ protected $_partPos = array();
+ protected $_fh;
+
+ /**
+ * Public constructor
+ *
+ * This handler supports the following params:
+ * - file filename or open file handler with message content (required)
+ * - startPos start position of message or part in file (default: current position)
+ * - endPos end position of message or part in file (default: end of file)
+ *
+ * @param array $params full message with or without headers
+ * @throws Postman_Zend_Mail_Exception
+ */
+ public function __construct(array $params)
+ {
+ if (empty($params['file'])) {
+ /**
+ * @see Postman_Zend_Mail_Exception
+ */
+ require_once 'Zend/Mail/Exception.php';
+ throw new Postman_Zend_Mail_Exception('no file given in params');
+ }
+
+ if (!is_resource($params['file'])) {
+ $this->_fh = fopen($params['file'], 'r');
+ } else {
+ $this->_fh = $params['file'];
+ }
+ if (!$this->_fh) {
+ /**
+ * @see Postman_Zend_Mail_Exception
+ */
+ require_once 'Zend/Mail/Exception.php';
+ throw new Postman_Zend_Mail_Exception('could not open file');
+ }
+ if (isset($params['startPos'])) {
+ fseek($this->_fh, $params['startPos']);
+ }
+ $header = '';
+ $endPos = isset($params['endPos']) ? $params['endPos'] : null;
+ while (($endPos === null || ftell($this->_fh) < $endPos) && trim($line = fgets($this->_fh))) {
+ $header .= $line;
+ }
+
+ Postman_Zend_Mime_Decode::splitMessage($header, $this->_headers, $null);
+
+ $this->_contentPos[0] = ftell($this->_fh);
+ if ($endPos !== null) {
+ $this->_contentPos[1] = $endPos;
+ } else {
+ fseek($this->_fh, 0, SEEK_END);
+ $this->_contentPos[1] = ftell($this->_fh);
+ }
+ if (!$this->isMultipart()) {
+ return;
+ }
+
+ $boundary = $this->getHeaderField('content-type', 'boundary');
+ if (!$boundary) {
+ /**
+ * @see Postman_Zend_Mail_Exception
+ */
+ require_once 'Zend/Mail/Exception.php';
+ throw new Postman_Zend_Mail_Exception('no boundary found in content type to split message');
+ }
+
+ $part = array();
+ $pos = $this->_contentPos[0];
+ fseek($this->_fh, $pos);
+ while (!feof($this->_fh) && ($endPos === null || $pos < $endPos)) {
+ $line = fgets($this->_fh);
+ if ($line === false) {
+ if (feof($this->_fh)) {
+ break;
+ }
+ /**
+ * @see Postman_Zend_Mail_Exception
+ */
+ require_once 'Zend/Mail/Exception.php';
+ throw new Postman_Zend_Mail_Exception('error reading file');
+ }
+
+ $lastPos = $pos;
+ $pos = ftell($this->_fh);
+ $line = trim($line);
+
+ if ($line == '--' . $boundary) {
+ if ($part) {
+ // not first part
+ $part[1] = $lastPos;
+ $this->_partPos[] = $part;
+ }
+ $part = array($pos);
+ } else if ($line == '--' . $boundary . '--') {
+ $part[1] = $lastPos;
+ $this->_partPos[] = $part;
+ break;
+ }
+ }
+ $this->_countParts = count($this->_partPos);
+
+ }
+
+
+ /**
+ * Body of part
+ *
+ * If part is multipart the raw content of this part with all sub parts is returned
+ *
+ * @return string body
+ * @throws Postman_Zend_Mail_Exception
+ */
+ public function getContent($stream = null)
+ {
+ fseek($this->_fh, $this->_contentPos[0]);
+ if ($stream !== null) {
+ return stream_copy_to_stream($this->_fh, $stream, $this->_contentPos[1] - $this->_contentPos[0]);
+ }
+ $length = $this->_contentPos[1] - $this->_contentPos[0];
+ return $length < 1 ? '' : fread($this->_fh, $length);
+ }
+
+ /**
+ * Return size of part
+ *
+ * Quite simple implemented currently (not decoding). Handle with care.
+ *
+ * @return int size
+ */
+ public function getSize() {
+ return $this->_contentPos[1] - $this->_contentPos[0];
+ }
+
+ /**
+ * Get part of multipart message
+ *
+ * @param int $num number of part starting with 1 for first part
+ * @return Postman_Zend_Mail_Part wanted part
+ * @throws Postman_Zend_Mail_Exception
+ */
+ public function getPart($num)
+ {
+ --$num;
+ if (!isset($this->_partPos[$num])) {
+ /**
+ * @see Postman_Zend_Mail_Exception
+ */
+ require_once 'Zend/Mail/Exception.php';
+ throw new Postman_Zend_Mail_Exception('part not found');
+ }
+
+ return new self(array('file' => $this->_fh, 'startPos' => $this->_partPos[$num][0],
+ 'endPos' => $this->_partPos[$num][1]));
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Part/Interface.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Part/Interface.php
new file mode 100644
index 0000000..ac9656f
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Part/Interface.php
@@ -0,0 +1,136 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+
+interface Postman_Zend_Mail_Part_Interface extends RecursiveIterator
+{
+ /**
+ * Check if part is a multipart message
+ *
+ * @return bool if part is multipart
+ */
+ public function isMultipart();
+
+
+ /**
+ * Body of part
+ *
+ * If part is multipart the raw content of this part with all sub parts is returned
+ *
+ * @return string body
+ * @throws Postman_Zend_Mail_Exception
+ */
+ public function getContent();
+
+ /**
+ * Return size of part
+ *
+ * @return int size
+ */
+ public function getSize();
+
+ /**
+ * Get part of multipart message
+ *
+ * @param int $num number of part starting with 1 for first part
+ * @return Postman_Zend_Mail_Part wanted part
+ * @throws Postman_Zend_Mail_Exception
+ */
+ public function getPart($num);
+
+ /**
+ * Count parts of a multipart part
+ *
+ * @return int number of sub-parts
+ */
+ public function countParts();
+
+
+ /**
+ * Get all headers
+ *
+ * The returned headers are as saved internally. All names are lowercased. The value is a string or an array
+ * if a header with the same name occurs more than once.
+ *
+ * @return array headers as array(name => value)
+ */
+ public function getHeaders();
+
+ /**
+ * Get a header in specificed format
+ *
+ * Internally headers that occur more than once are saved as array, all other as string. If $format
+ * is set to string implode is used to concat the values (with Postman_Zend_Mime::LINEEND as delim).
+ *
+ * @param string $name name of header, matches case-insensitive, but camel-case is replaced with dashes
+ * @param string $format change type of return value to 'string' or 'array'
+ * @return string|array value of header in wanted or internal format
+ * @throws Postman_Zend_Mail_Exception
+ */
+ public function getHeader($name, $format = null);
+
+ /**
+ * Get a specific field from a header like content type or all fields as array
+ *
+ * If the header occurs more than once, only the value from the first header
+ * is returned.
+ *
+ * Throws a Postman_Zend_Mail_Exception if the requested header does not exist. If
+ * the specific header field does not exist, returns null.
+ *
+ * @param string $name name of header, like in getHeader()
+ * @param string $wantedPart the wanted part, default is first, if null an array with all parts is returned
+ * @param string $firstName key name for the first part
+ * @return string|array wanted part or all parts as array($firstName => firstPart, partname => value)
+ * @throws Postman_Zend_Exception, Postman_Zend_Mail_Exception
+ */
+ public function getHeaderField($name, $wantedPart = 0, $firstName = 0);
+
+
+ /**
+ * Getter for mail headers - name is matched in lowercase
+ *
+ * This getter is short for Postman_Zend_Mail_Part::getHeader($name, 'string')
+ *
+ * @see Postman_Zend_Mail_Part::getHeader()
+ *
+ * @param string $name header name
+ * @return string value of header
+ * @throws Postman_Zend_Mail_Exception
+ */
+ public function __get($name);
+
+ /**
+ * magic method to get content of part
+ *
+ * @return string content
+ */
+ public function __toString();
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Abstract.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Abstract.php
new file mode 100644
index 0000000..8cfdc20
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Abstract.php
@@ -0,0 +1,453 @@
+<?php
+
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Protocol
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @see Postman_Zend_Validate
+ */
+// require_once 'Zend/Validate.php';
+
+
+/**
+ * @see Postman_Zend_Validate_Hostname
+ */
+// require_once 'Zend/Validate/Hostname.php';
+
+
+/**
+ * Postman_Zend_Mail_Protocol_Abstract
+ *
+ * Provides low-level methods for concrete adapters to communicate with a remote mail server and track requests and responses.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Protocol
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ * @todo Implement proxy settings
+ */
+abstract class Postman_Zend_Mail_Protocol_Abstract
+{
+ /**
+ * Mail default EOL string
+ */
+ const EOL = "\r\n";
+
+
+ /**
+ * Default timeout in seconds for initiating session
+ */
+ const TIMEOUT_CONNECTION = 30;
+
+ /**
+ * Maximum of the transaction log
+ * @var integer
+ */
+ protected $_maximumLog = 64;
+
+
+ /**
+ * Hostname or IP address of remote server
+ * @var string
+ */
+ protected $_host;
+
+
+ /**
+ * Port number of connection
+ * @var integer
+ */
+ protected $_port;
+
+
+ /**
+ * Instance of Postman_Zend_Validate to check hostnames
+ * @var Postman_Zend_Validate
+ */
+ protected $_validHost;
+
+
+ /**
+ * Socket connection resource
+ * @var resource
+ */
+ protected $_socket;
+
+
+ /**
+ * Last request sent to server
+ * @var string
+ */
+ protected $_request;
+
+
+ /**
+ * Array of server responses to last request
+ * @var array
+ */
+ protected $_response;
+
+
+ /**
+ * String template for parsing server responses using sscanf (default: 3 digit code and response string)
+ * @var resource
+ * @deprecated Since 1.10.3
+ */
+ protected $_template = '%d%s';
+
+
+ /**
+ * Log of mail requests and server responses for a session
+ * @var array
+ */
+ private $_log = array();
+
+
+ /**
+ * Constructor.
+ *
+ * @param string $host OPTIONAL Hostname of remote connection (default: 127.0.0.1)
+ * @param integer $port OPTIONAL Port number (default: null)
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ * @return void
+ */
+ public function __construct($host = '127.0.0.1', $port = null)
+ {
+ $this->_validHost = new Postman_Zend_Validate();
+ $this->_validHost->addValidator(new Postman_Zend_Validate_Hostname(Postman_Zend_Validate_Hostname::ALLOW_ALL));
+
+ if (!$this->_validHost->isValid($host)) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+// require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception(join(', ', $this->_validHost->getMessages()));
+ }
+
+ $this->_host = $host;
+ $this->_port = $port;
+ $this->_maximumLog = PostmanOptions::getInstance()->getTranscriptSize();
+ }
+
+
+ /**
+ * Class destructor to cleanup open resources
+ *
+ * @return void
+ */
+ public function __destruct()
+ {
+ $this->_disconnect();
+ }
+
+ /**
+ * Set the maximum log size
+ *
+ * @param integer $maximumLog Maximum log size
+ * @return void
+ */
+ public function setMaximumLog($maximumLog)
+ {
+ $this->_maximumLog = (int) $maximumLog;
+ }
+
+
+ /**
+ * Get the maximum log size
+ *
+ * @return int the maximum log size
+ */
+ public function getMaximumLog()
+ {
+ return $this->_maximumLog;
+ }
+
+
+ /**
+ * Create a connection to the remote host
+ *
+ * Concrete adapters for this class will implement their own unique connect scripts, using the _connect() method to create the socket resource.
+ */
+ abstract public function connect();
+
+
+ /**
+ * Retrieve the last client request
+ *
+ * @return string
+ */
+ public function getRequest()
+ {
+ return $this->_request;
+ }
+
+
+ /**
+ * Retrieve the last server response
+ *
+ * @return array
+ */
+ public function getResponse()
+ {
+ return $this->_response;
+ }
+
+
+ /**
+ * Retrieve the transaction log
+ *
+ * @return string
+ */
+ public function getLog()
+ {
+ return implode('', $this->_log);
+ }
+
+
+ /**
+ * Reset the transaction log
+ *
+ * @return void
+ */
+ public function resetLog()
+ {
+ $this->_log = array();
+ }
+
+ /**
+ * Add the transaction log
+ *
+ * @param string new transaction
+ * @return void
+ */
+ protected function _addLog($value)
+ {
+ if ($this->_maximumLog >= 0 && count($this->_log) >= $this->_maximumLog) {
+ array_shift($this->_log);
+ }
+
+ $this->_log[] = $value;
+ }
+
+ /**
+ * Connect to the server using the supplied transport and target
+ *
+ * An example $remote string may be 'tcp://mail.example.com:25' or 'ssh://hostname.com:2222'
+ *
+ * @param string $remote Remote
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ * @return boolean
+ */
+ protected function _connect($remote)
+ {
+ $errorNum = 0;
+ $errorStr = '';
+
+ // open connection
+ $this->_socket = @stream_socket_client($remote, $errorNum, $errorStr, self::TIMEOUT_CONNECTION);
+
+ if ($this->_socket === false) {
+ if ($errorNum == 0) {
+ $errorStr = 'Could not open socket';
+ }
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+// require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception($errorStr);
+ }
+
+ if (($result = $this->_setStreamTimeout(self::TIMEOUT_CONNECTION)) === false) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+// require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('Could not set stream timeout');
+ }
+
+ return $result;
+ }
+
+
+ /**
+ * Disconnect from remote host and free resource
+ *
+ * @return void
+ */
+ protected function _disconnect()
+ {
+ if (is_resource($this->_socket)) {
+ fclose($this->_socket);
+ }
+ }
+
+
+ /**
+ * Send the given request followed by a LINEEND to the server.
+ *
+ * @param string $request
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ * @return integer|boolean Number of bytes written to remote host
+ */
+ protected function _send($request)
+ {
+ if (!is_resource($this->_socket)) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+// require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('No connection has been established to ' . $this->_host);
+ }
+
+ $this->_request = $request;
+
+ $result = fwrite($this->_socket, $request . self::EOL);
+
+ // Save request to internal log
+ $this->_addLog($request . self::EOL);
+
+ if ($result === false) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+// require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('Could not send request to ' . $this->_host);
+ }
+
+ return $result;
+ }
+
+
+ /**
+ * Get a line from the stream.
+ *
+ * @var integer $timeout Per-request timeout value if applicable
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ * @return string
+ */
+ protected function _receive($timeout = null)
+ {
+ if (!is_resource($this->_socket)) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+// require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('No connection has been established to ' . $this->_host);
+ }
+
+ // Adapters may wish to supply per-commend timeouts according to appropriate RFC
+ if ($timeout !== null) {
+ $this->_setStreamTimeout($timeout);
+ }
+
+ // Retrieve response
+ $reponse = fgets($this->_socket, 1024);
+
+ // Save request to internal log
+ $this->_addLog($reponse);
+
+ // Check meta data to ensure connection is still valid
+ $info = stream_get_meta_data($this->_socket);
+
+ if (!empty($info['timed_out'])) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+// require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception($this->_host . ' has timed out');
+ }
+
+ if ($reponse === false) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+// require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('Could not read from ' . $this->_host);
+ }
+
+ return $reponse;
+ }
+
+
+ /**
+ * Parse server response for successful codes
+ *
+ * Read the response from the stream and check for expected return code.
+ * Throws a Postman_Zend_Mail_Protocol_Exception if an unexpected code is returned.
+ *
+ * @param string|array $code One or more codes that indicate a successful response
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ * @return string Last line of response string
+ */
+ protected function _expect($code, $timeout = null)
+ {
+ $userTimeout = PostmanOptions::getInstance()->getReadTimeout();
+ if($timeout > $userTimeout) {
+ $timeout = $userTimeout;
+ }
+ $this->_response = array();
+ $cmd = '';
+ $more = '';
+ $msg = '';
+ $errMsg = '';
+
+ if (!is_array($code)) {
+ $code = array($code);
+ }
+
+ do {
+ $this->_response[] = $result = $this->_receive($timeout);
+ list($cmd, $more, $msg) = preg_split('/([\s-]+)/', $result, 2, PREG_SPLIT_DELIM_CAPTURE);
+
+ if ($errMsg !== '') {
+ $errMsg .= ' ' . $msg;
+ } elseif ($cmd === null || !in_array($cmd, $code)) {
+ $errMsg = $msg;
+ }
+
+ } while (strpos($more, '-') === 0); // The '-' message prefix indicates an information string instead of a response string.
+
+ if ($errMsg !== '') {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+// require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception($errMsg, $cmd);
+ }
+
+ return $msg;
+ }
+
+ /**
+ * Set stream timeout
+ *
+ * @param integer $timeout
+ * @return boolean
+ */
+ protected function _setStreamTimeout($timeout)
+ {
+ // @jason: added @ to hide PHP warnings if the host has disabled stream_set_timeout
+ return @stream_set_timeout($this->_socket, $timeout);
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Exception.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Exception.php
new file mode 100644
index 0000000..7bd2901
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Exception.php
@@ -0,0 +1,39 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Protocol
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @see Postman_Zend_Exception
+ */
+// require_once 'Zend/Mail/Exception.php';
+
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Protocol
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Protocol_Exception extends Postman_Zend_Mail_Exception
+{}
+
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Imap.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Imap.php
new file mode 100644
index 0000000..6b3679e
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Imap.php
@@ -0,0 +1,838 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Protocol
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Protocol
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Protocol_Imap
+{
+ /**
+ * Default timeout in seconds for initiating session
+ */
+ const TIMEOUT_CONNECTION = 30;
+
+ /**
+ * socket to imap server
+ * @var resource|null
+ */
+ protected $_socket;
+
+ /**
+ * counter for request tag
+ * @var int
+ */
+ protected $_tagCount = 0;
+
+ /**
+ * Public constructor
+ *
+ * @param string $host hostname or IP address of IMAP server, if given connect() is called
+ * @param int|null $port port of IMAP server, null for default (143 or 993 for ssl)
+ * @param bool $ssl use ssl? 'SSL', 'TLS' or false
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ function __construct($host = '', $port = null, $ssl = false)
+ {
+ if ($host) {
+ $this->connect($host, $port, $ssl);
+ }
+ }
+
+ /**
+ * Public destructor
+ */
+ public function __destruct()
+ {
+ $this->logout();
+ }
+
+ /**
+ * Open connection to IMAP server
+ *
+ * @param string $host hostname or IP address of IMAP server
+ * @param int|null $port of IMAP server, default is 143 (993 for ssl)
+ * @param string|bool $ssl use 'SSL', 'TLS' or false
+ * @return string welcome message
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function connect($host, $port = null, $ssl = false)
+ {
+ if ($ssl == 'SSL') {
+ $host = 'ssl://' . $host;
+ }
+
+ if ($port === null) {
+ $port = $ssl === 'SSL' ? 993 : 143;
+ }
+
+ $errno = 0;
+ $errstr = '';
+ $this->_socket = @fsockopen($host, $port, $errno, $errstr, self::TIMEOUT_CONNECTION);
+ if (!$this->_socket) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+ require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('cannot connect to host; error = ' . $errstr .
+ ' (errno = ' . $errno . ' )');
+ }
+
+ if (!$this->_assumedNextLine('* OK')) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+ require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('host doesn\'t allow connection');
+ }
+
+ if ($ssl === 'TLS') {
+ $result = $this->requestAndResponse('STARTTLS');
+ $result = $result && stream_socket_enable_crypto($this->_socket, true, STREAM_CRYPTO_METHOD_TLS_CLIENT);
+ if (!$result) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+ require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('cannot enable TLS');
+ }
+ }
+ }
+
+ /**
+ * get the next line from socket with error checking, but nothing else
+ *
+ * @return string next line
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ protected function _nextLine()
+ {
+ $line = @fgets($this->_socket);
+ if ($line === false) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+ require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('cannot read - connection closed?');
+ }
+
+ return $line;
+ }
+
+ /**
+ * get next line and assume it starts with $start. some requests give a simple
+ * feedback so we can quickly check if we can go on.
+ *
+ * @param string $start the first bytes we assume to be in the next line
+ * @return bool line starts with $start
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ protected function _assumedNextLine($start)
+ {
+ $line = $this->_nextLine();
+ return strpos($line, $start) === 0;
+ }
+
+ /**
+ * get next line and split the tag. that's the normal case for a response line
+ *
+ * @param string $tag tag of line is returned by reference
+ * @return string next line
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ protected function _nextTaggedLine(&$tag)
+ {
+ $line = $this->_nextLine();
+
+ // seperate tag from line
+ list($tag, $line) = explode(' ', $line, 2);
+
+ return $line;
+ }
+
+ /**
+ * split a given line in tokens. a token is literal of any form or a list
+ *
+ * @param string $line line to decode
+ * @return array tokens, literals are returned as string, lists as array
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ protected function _decodeLine($line)
+ {
+ $tokens = array();
+ $stack = array();
+
+ /*
+ We start to decode the response here. The unterstood tokens are:
+ literal
+ "literal" or also "lit\\er\"al"
+ {bytes}<NL>literal
+ (literals*)
+ All tokens are returned in an array. Literals in braces (the last unterstood
+ token in the list) are returned as an array of tokens. I.e. the following response:
+ "foo" baz {3}<NL>bar ("f\\\"oo" bar)
+ would be returned as:
+ array('foo', 'baz', 'bar', array('f\\\"oo', 'bar'));
+
+ // TODO: add handling of '[' and ']' to parser for easier handling of response text
+ */
+ // replace any trailling <NL> including spaces with a single space
+ $line = rtrim($line) . ' ';
+ while (($pos = strpos($line, ' ')) !== false) {
+ $token = substr($line, 0, $pos);
+ while ($token[0] == '(') {
+ array_push($stack, $tokens);
+ $tokens = array();
+ $token = substr($token, 1);
+ }
+ if ($token[0] == '"') {
+ if (preg_match('%^\(*"((.|\\\\|\\")*?)" *%', $line, $matches)) {
+ $tokens[] = $matches[1];
+ $line = substr($line, strlen($matches[0]));
+ continue;
+ }
+ }
+ if ($token[0] == '{') {
+ $endPos = strpos($token, '}');
+ $chars = substr($token, 1, $endPos - 1);
+ if (is_numeric($chars)) {
+ $token = '';
+ while (strlen($token) < $chars) {
+ $token .= $this->_nextLine();
+ }
+ $line = '';
+ if (strlen($token) > $chars) {
+ $line = substr($token, $chars);
+ $token = substr($token, 0, $chars);
+ } else {
+ $line .= $this->_nextLine();
+ }
+ $tokens[] = $token;
+ $line = trim($line) . ' ';
+ continue;
+ }
+ }
+ if ($stack && $token[strlen($token) - 1] == ')') {
+ // closing braces are not seperated by spaces, so we need to count them
+ $braces = strlen($token);
+ $token = rtrim($token, ')');
+ // only count braces if more than one
+ $braces -= strlen($token) + 1;
+ // only add if token had more than just closing braces
+ if (rtrim($token) != '') {
+ $tokens[] = rtrim($token);
+ }
+ $token = $tokens;
+ $tokens = array_pop($stack);
+ // special handline if more than one closing brace
+ while ($braces-- > 0) {
+ $tokens[] = $token;
+ $token = $tokens;
+ $tokens = array_pop($stack);
+ }
+ }
+ $tokens[] = $token;
+ $line = substr($line, $pos + 1);
+ }
+
+ // maybe the server forgot to send some closing braces
+ while ($stack) {
+ $child = $tokens;
+ $tokens = array_pop($stack);
+ $tokens[] = $child;
+ }
+
+ return $tokens;
+ }
+
+ /**
+ * read a response "line" (could also be more than one real line if response has {..}<NL>)
+ * and do a simple decode
+ *
+ * @param array|string $tokens decoded tokens are returned by reference, if $dontParse
+ * is true the unparsed line is returned here
+ * @param string $wantedTag check for this tag for response code. Default '*' is
+ * continuation tag.
+ * @param bool $dontParse if true only the unparsed line is returned $tokens
+ * @return bool if returned tag matches wanted tag
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function readLine(&$tokens = array(), $wantedTag = '*', $dontParse = false)
+ {
+ $line = $this->_nextTaggedLine($tag);
+ if (!$dontParse) {
+ $tokens = $this->_decodeLine($line);
+ } else {
+ $tokens = $line;
+ }
+
+ // if tag is wanted tag we might be at the end of a multiline response
+ return $tag == $wantedTag;
+ }
+
+ /**
+ * read all lines of response until given tag is found (last line of response)
+ *
+ * @param string $tag the tag of your request
+ * @param string|array $filter you can filter the response so you get only the
+ * given response lines
+ * @param bool $dontParse if true every line is returned unparsed instead of
+ * the decoded tokens
+ * @return null|bool|array tokens if success, false if error, null if bad request
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function readResponse($tag, $dontParse = false)
+ {
+ $lines = array();
+ while (!$this->readLine($tokens, $tag, $dontParse)) {
+ $lines[] = $tokens;
+ }
+
+ if ($dontParse) {
+ // last to chars are still needed for response code
+ $tokens = array(substr($tokens, 0, 2));
+ }
+ // last line has response code
+ if ($tokens[0] == 'OK') {
+ return $lines ? $lines : true;
+ } else if ($tokens[0] == 'NO'){
+ return false;
+ }
+ return null;
+ }
+
+ /**
+ * send a request
+ *
+ * @param string $command your request command
+ * @param array $tokens additional parameters to command, use escapeString() to prepare
+ * @param string $tag provide a tag otherwise an autogenerated is returned
+ * @return null
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function sendRequest($command, $tokens = array(), &$tag = null)
+ {
+ if (!$tag) {
+ ++$this->_tagCount;
+ $tag = 'TAG' . $this->_tagCount;
+ }
+
+ $line = $tag . ' ' . $command;
+
+ foreach ($tokens as $token) {
+ if (is_array($token)) {
+ if (@fputs($this->_socket, $line . ' ' . $token[0] . "\r\n") === false) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+ require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('cannot write - connection closed?');
+ }
+ if (!$this->_assumedNextLine('+ ')) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+ require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('cannot send literal string');
+ }
+ $line = $token[1];
+ } else {
+ $line .= ' ' . $token;
+ }
+ }
+
+ if (@fputs($this->_socket, $line . "\r\n") === false) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+ require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('cannot write - connection closed?');
+ }
+ }
+
+ /**
+ * send a request and get response at once
+ *
+ * @param string $command command as in sendRequest()
+ * @param array $tokens parameters as in sendRequest()
+ * @param bool $dontParse if true unparsed lines are returned instead of tokens
+ * @return mixed response as in readResponse()
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function requestAndResponse($command, $tokens = array(), $dontParse = false)
+ {
+ $this->sendRequest($command, $tokens, $tag);
+ $response = $this->readResponse($tag, $dontParse);
+
+ return $response;
+ }
+
+ /**
+ * escape one or more literals i.e. for sendRequest
+ *
+ * @param string|array $string the literal/-s
+ * @return string|array escape literals, literals with newline ar returned
+ * as array('{size}', 'string');
+ */
+ public function escapeString($string)
+ {
+ if (func_num_args() < 2) {
+ if (strpos($string, "\n") !== false) {
+ return array('{' . strlen($string) . '}', $string);
+ } else {
+ return '"' . str_replace(array('\\', '"'), array('\\\\', '\\"'), $string) . '"';
+ }
+ }
+ $result = array();
+ foreach (func_get_args() as $string) {
+ $result[] = $this->escapeString($string);
+ }
+ return $result;
+ }
+
+ /**
+ * escape a list with literals or lists
+ *
+ * @param array $list list with literals or lists as PHP array
+ * @return string escaped list for imap
+ */
+ public function escapeList($list)
+ {
+ $result = array();
+ foreach ($list as $k => $v) {
+ if (!is_array($v)) {
+// $result[] = $this->escapeString($v);
+ $result[] = $v;
+ continue;
+ }
+ $result[] = $this->escapeList($v);
+ }
+ return '(' . implode(' ', $result) . ')';
+ }
+
+ /**
+ * Login to IMAP server.
+ *
+ * @param string $user username
+ * @param string $password password
+ * @return bool success
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function login($user, $password)
+ {
+ return $this->requestAndResponse('LOGIN', $this->escapeString($user, $password), true);
+ }
+
+ /**
+ * logout of imap server
+ *
+ * @return bool success
+ */
+ public function logout()
+ {
+ $result = false;
+ if ($this->_socket) {
+ try {
+ $result = $this->requestAndResponse('LOGOUT', array(), true);
+ } catch (Postman_Zend_Mail_Protocol_Exception $e) {
+ // ignoring exception
+ }
+ fclose($this->_socket);
+ $this->_socket = null;
+ }
+ return $result;
+ }
+
+
+ /**
+ * Get capabilities from IMAP server
+ *
+ * @return array list of capabilities
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function capability()
+ {
+ $response = $this->requestAndResponse('CAPABILITY');
+
+ if (!$response) {
+ return $response;
+ }
+
+ $capabilities = array();
+ foreach ($response as $line) {
+ $capabilities = array_merge($capabilities, $line);
+ }
+ return $capabilities;
+ }
+
+ /**
+ * Examine and select have the same response. The common code for both
+ * is in this method
+ *
+ * @param string $command can be 'EXAMINE' or 'SELECT' and this is used as command
+ * @param string $box which folder to change to or examine
+ * @return bool|array false if error, array with returned information
+ * otherwise (flags, exists, recent, uidvalidity)
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function examineOrSelect($command = 'EXAMINE', $box = 'INBOX')
+ {
+ $this->sendRequest($command, array($this->escapeString($box)), $tag);
+
+ $result = array();
+ while (!$this->readLine($tokens, $tag)) {
+ if ($tokens[0] == 'FLAGS') {
+ array_shift($tokens);
+ $result['flags'] = $tokens;
+ continue;
+ }
+ switch ($tokens[1]) {
+ case 'EXISTS':
+ case 'RECENT':
+ $result[strtolower($tokens[1])] = $tokens[0];
+ break;
+ case '[UIDVALIDITY':
+ $result['uidvalidity'] = (int)$tokens[2];
+ break;
+ default:
+ // ignore
+ }
+ }
+
+ if ($tokens[0] != 'OK') {
+ return false;
+ }
+ return $result;
+ }
+
+ /**
+ * change folder
+ *
+ * @param string $box change to this folder
+ * @return bool|array see examineOrselect()
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function select($box = 'INBOX')
+ {
+ return $this->examineOrSelect('SELECT', $box);
+ }
+
+ /**
+ * examine folder
+ *
+ * @param string $box examine this folder
+ * @return bool|array see examineOrselect()
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function examine($box = 'INBOX')
+ {
+ return $this->examineOrSelect('EXAMINE', $box);
+ }
+
+ /**
+ * fetch one or more items of one or more messages
+ *
+ * @param string|array $items items to fetch from message(s) as string (if only one item)
+ * or array of strings
+ * @param int $from message for items or start message if $to !== null
+ * @param int|null $to if null only one message ($from) is fetched, else it's the
+ * last message, INF means last message avaible
+ * @return string|array if only one item of one message is fetched it's returned as string
+ * if items of one message are fetched it's returned as (name => value)
+ * if one items of messages are fetched it's returned as (msgno => value)
+ * if items of messages are fetchted it's returned as (msgno => (name => value))
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function fetch($items, $from, $to = null)
+ {
+ if (is_array($from)) {
+ $set = implode(',', $from);
+ } else if ($to === null) {
+ $set = (int)$from;
+ } else if ($to === INF) {
+ $set = (int)$from . ':*';
+ } else {
+ $set = (int)$from . ':' . (int)$to;
+ }
+
+ $items = (array)$items;
+ $itemList = $this->escapeList($items);
+
+ $this->sendRequest('FETCH', array($set, $itemList), $tag);
+
+ $result = array();
+ while (!$this->readLine($tokens, $tag)) {
+ // ignore other responses
+ if ($tokens[1] != 'FETCH') {
+ continue;
+ }
+ // ignore other messages
+ if ($to === null && !is_array($from) && $tokens[0] != $from) {
+ continue;
+ }
+ // if we only want one item we return that one directly
+ if (count($items) == 1) {
+ if ($tokens[2][0] == $items[0]) {
+ $data = $tokens[2][1];
+ } else {
+ // maybe the server send an other field we didn't wanted
+ $count = count($tokens[2]);
+ // we start with 2, because 0 was already checked
+ for ($i = 2; $i < $count; $i += 2) {
+ if ($tokens[2][$i] != $items[0]) {
+ continue;
+ }
+ $data = $tokens[2][$i + 1];
+ break;
+ }
+ }
+ } else {
+ $data = array();
+ while (key($tokens[2]) !== null) {
+ $data[current($tokens[2])] = next($tokens[2]);
+ next($tokens[2]);
+ }
+ }
+ // if we want only one message we can ignore everything else and just return
+ if ($to === null && !is_array($from) && $tokens[0] == $from) {
+ // we still need to read all lines
+ while (!$this->readLine($tokens, $tag));
+ return $data;
+ }
+ $result[$tokens[0]] = $data;
+ }
+
+ if ($to === null && !is_array($from)) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+ require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('the single id was not found in response');
+ }
+
+ return $result;
+ }
+
+ /**
+ * get mailbox list
+ *
+ * this method can't be named after the IMAP command 'LIST', as list is a reserved keyword
+ *
+ * @param string $reference mailbox reference for list
+ * @param string $mailbox mailbox name match with wildcards
+ * @return array mailboxes that matched $mailbox as array(globalName => array('delim' => .., 'flags' => ..))
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function listMailbox($reference = '', $mailbox = '*')
+ {
+ $result = array();
+ $list = $this->requestAndResponse('LIST', $this->escapeString($reference, $mailbox));
+ if (!$list || $list === true) {
+ return $result;
+ }
+
+ foreach ($list as $item) {
+ if (count($item) != 4 || $item[0] != 'LIST') {
+ continue;
+ }
+ $result[$item[3]] = array('delim' => $item[2], 'flags' => $item[1]);
+ }
+
+ return $result;
+ }
+
+ /**
+ * set flags
+ *
+ * @param array $flags flags to set, add or remove - see $mode
+ * @param int $from message for items or start message if $to !== null
+ * @param int|null $to if null only one message ($from) is fetched, else it's the
+ * last message, INF means last message avaible
+ * @param string|null $mode '+' to add flags, '-' to remove flags, everything else sets the flags as given
+ * @param bool $silent if false the return values are the new flags for the wanted messages
+ * @return bool|array new flags if $silent is false, else true or false depending on success
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function store(array $flags, $from, $to = null, $mode = null, $silent = true)
+ {
+ $item = 'FLAGS';
+ if ($mode == '+' || $mode == '-') {
+ $item = $mode . $item;
+ }
+ if ($silent) {
+ $item .= '.SILENT';
+ }
+
+ $flags = $this->escapeList($flags);
+ $set = (int)$from;
+ if ($to != null) {
+ $set .= ':' . ($to == INF ? '*' : (int)$to);
+ }
+
+ $result = $this->requestAndResponse('STORE', array($set, $item, $flags), $silent);
+
+ if ($silent) {
+ return $result ? true : false;
+ }
+
+ $tokens = $result;
+ $result = array();
+ foreach ($tokens as $token) {
+ if ($token[1] != 'FETCH' || $token[2][0] != 'FLAGS') {
+ continue;
+ }
+ $result[$token[0]] = $token[2][1];
+ }
+
+ return $result;
+ }
+
+ /**
+ * append a new message to given folder
+ *
+ * @param string $folder name of target folder
+ * @param string $message full message content
+ * @param array $flags flags for new message
+ * @param string $date date for new message
+ * @return bool success
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function append($folder, $message, $flags = null, $date = null)
+ {
+ $tokens = array();
+ $tokens[] = $this->escapeString($folder);
+ if ($flags !== null) {
+ $tokens[] = $this->escapeList($flags);
+ }
+ if ($date !== null) {
+ $tokens[] = $this->escapeString($date);
+ }
+ $tokens[] = $this->escapeString($message);
+
+ return $this->requestAndResponse('APPEND', $tokens, true);
+ }
+
+ /**
+ * copy message set from current folder to other folder
+ *
+ * @param string $folder destination folder
+ * @param int|null $to if null only one message ($from) is fetched, else it's the
+ * last message, INF means last message avaible
+ * @return bool success
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function copy($folder, $from, $to = null)
+ {
+ $set = (int)$from;
+ if ($to != null) {
+ $set .= ':' . ($to == INF ? '*' : (int)$to);
+ }
+
+ return $this->requestAndResponse('COPY', array($set, $this->escapeString($folder)), true);
+ }
+
+ /**
+ * create a new folder (and parent folders if needed)
+ *
+ * @param string $folder folder name
+ * @return bool success
+ */
+ public function create($folder)
+ {
+ return $this->requestAndResponse('CREATE', array($this->escapeString($folder)), true);
+ }
+
+ /**
+ * rename an existing folder
+ *
+ * @param string $old old name
+ * @param string $new new name
+ * @return bool success
+ */
+ public function rename($old, $new)
+ {
+ return $this->requestAndResponse('RENAME', $this->escapeString($old, $new), true);
+ }
+
+ /**
+ * remove a folder
+ *
+ * @param string $folder folder name
+ * @return bool success
+ */
+ public function delete($folder)
+ {
+ return $this->requestAndResponse('DELETE', array($this->escapeString($folder)), true);
+ }
+
+ /**
+ * permanently remove messages
+ *
+ * @return bool success
+ */
+ public function expunge()
+ {
+ // TODO: parse response?
+ return $this->requestAndResponse('EXPUNGE');
+ }
+
+ /**
+ * send noop
+ *
+ * @return bool success
+ */
+ public function noop()
+ {
+ // TODO: parse response
+ return $this->requestAndResponse('NOOP');
+ }
+
+ /**
+ * do a search request
+ *
+ * This method is currently marked as internal as the API might change and is not
+ * safe if you don't take precautions.
+ *
+ * @internal
+ * @return array message ids
+ */
+ public function search(array $params)
+ {
+ $response = $this->requestAndResponse('SEARCH', $params);
+ if (!$response) {
+ return $response;
+ }
+
+ foreach ($response as $ids) {
+ if ($ids[0] == 'SEARCH') {
+ array_shift($ids);
+ return $ids;
+ }
+ }
+ return array();
+ }
+
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Pop3.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Pop3.php
new file mode 100644
index 0000000..bbd826e
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Pop3.php
@@ -0,0 +1,472 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Protocol
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Protocol
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Protocol_Pop3
+{
+ /**
+ * Default timeout in seconds for initiating session
+ */
+ const TIMEOUT_CONNECTION = 30;
+
+ /**
+ * saves if server supports top
+ * @var null|bool
+ */
+ public $hasTop = null;
+
+ /**
+ * socket to pop3
+ * @var null|resource
+ */
+ protected $_socket;
+
+ /**
+ * greeting timestamp for apop
+ * @var null|string
+ */
+ protected $_timestamp;
+
+
+ /**
+ * Public constructor
+ *
+ * @param string $host hostname or IP address of POP3 server, if given connect() is called
+ * @param int|null $port port of POP3 server, null for default (110 or 995 for ssl)
+ * @param bool|string $ssl use ssl? 'SSL', 'TLS' or false
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function __construct($host = '', $port = null, $ssl = false)
+ {
+ if ($host) {
+ $this->connect($host, $port, $ssl);
+ }
+ }
+
+
+ /**
+ * Public destructor
+ */
+ public function __destruct()
+ {
+ $this->logout();
+ }
+
+
+ /**
+ * Open connection to POP3 server
+ *
+ * @param string $host hostname or IP address of POP3 server
+ * @param int|null $port of POP3 server, default is 110 (995 for ssl)
+ * @param string|bool $ssl use 'SSL', 'TLS' or false
+ * @return string welcome message
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function connect($host, $port = null, $ssl = false)
+ {
+ if ($ssl == 'SSL') {
+ $host = 'ssl://' . $host;
+ }
+
+ if ($port === null) {
+ $port = $ssl == 'SSL' ? 995 : 110;
+ }
+
+ $errno = 0;
+ $errstr = '';
+ $this->_socket = @fsockopen($host, $port, $errno, $errstr, self::TIMEOUT_CONNECTION);
+ if (!$this->_socket) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+ require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('cannot connect to host; error = ' . $errstr .
+ ' (errno = ' . $errno . ' )');
+ }
+
+ $welcome = $this->readResponse();
+
+ strtok($welcome, '<');
+ $this->_timestamp = strtok('>');
+ if (!strpos($this->_timestamp, '@')) {
+ $this->_timestamp = null;
+ } else {
+ $this->_timestamp = '<' . $this->_timestamp . '>';
+ }
+
+ if ($ssl === 'TLS') {
+ $this->request('STLS');
+ $result = stream_socket_enable_crypto($this->_socket, true, STREAM_CRYPTO_METHOD_TLS_CLIENT);
+ if (!$result) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+ require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('cannot enable TLS');
+ }
+ }
+
+ return $welcome;
+ }
+
+
+ /**
+ * Send a request
+ *
+ * @param string $request your request without newline
+ * @return null
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function sendRequest($request)
+ {
+ $result = @fputs($this->_socket, $request . "\r\n");
+ if (!$result) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+ require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('send failed - connection closed?');
+ }
+ }
+
+
+ /**
+ * read a response
+ *
+ * @param boolean $multiline response has multiple lines and should be read until "<nl>.<nl>"
+ * @return string response
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function readResponse($multiline = false)
+ {
+ $result = @fgets($this->_socket);
+ if (!is_string($result)) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+ require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('read failed - connection closed?');
+ }
+
+ $result = trim($result);
+ if (strpos($result, ' ')) {
+ list($status, $message) = explode(' ', $result, 2);
+ } else {
+ $status = $result;
+ $message = '';
+ }
+
+ if ($status != '+OK') {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+ require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('last request failed');
+ }
+
+ if ($multiline) {
+ $message = '';
+ $line = fgets($this->_socket);
+ while ($line && rtrim($line, "\r\n") != '.') {
+ if ($line[0] == '.') {
+ $line = substr($line, 1);
+ }
+ $message .= $line;
+ $line = fgets($this->_socket);
+ };
+ }
+
+ return $message;
+ }
+
+
+ /**
+ * Send request and get resposne
+ *
+ * @see sendRequest(), readResponse()
+ *
+ * @param string $request request
+ * @param bool $multiline multiline response?
+ * @return string result from readResponse()
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function request($request, $multiline = false)
+ {
+ $this->sendRequest($request);
+ return $this->readResponse($multiline);
+ }
+
+
+ /**
+ * End communication with POP3 server (also closes socket)
+ *
+ * @return null
+ */
+ public function logout()
+ {
+ if (!$this->_socket) {
+ return;
+ }
+
+ try {
+ $this->request('QUIT');
+ } catch (Postman_Zend_Mail_Protocol_Exception $e) {
+ // ignore error - we're closing the socket anyway
+ }
+
+ fclose($this->_socket);
+ $this->_socket = null;
+ }
+
+
+ /**
+ * Get capabilities from POP3 server
+ *
+ * @return array list of capabilities
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function capa()
+ {
+ $result = $this->request('CAPA', true);
+ return explode("\n", $result);
+ }
+
+
+ /**
+ * Login to POP3 server. Can use APOP
+ *
+ * @param string $user username
+ * @param string $password password
+ * @param bool $try_apop should APOP be tried?
+ * @return void
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function login($user, $password, $tryApop = true)
+ {
+ if ($tryApop && $this->_timestamp) {
+ try {
+ $this->request("APOP $user " . md5($this->_timestamp . $password));
+ return;
+ } catch (Postman_Zend_Mail_Protocol_Exception $e) {
+ // ignore
+ }
+ }
+
+ $result = $this->request("USER $user");
+ $result = $this->request("PASS $password");
+ }
+
+
+ /**
+ * Make STAT call for message count and size sum
+ *
+ * @param int $messages out parameter with count of messages
+ * @param int $octets out parameter with size in octects of messages
+ * @return void
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function status(&$messages, &$octets)
+ {
+ $messages = 0;
+ $octets = 0;
+ $result = $this->request('STAT');
+
+ list($messages, $octets) = explode(' ', $result);
+ }
+
+
+ /**
+ * Make LIST call for size of message(s)
+ *
+ * @param int|null $msgno number of message, null for all
+ * @return int|array size of given message or list with array(num => size)
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function getList($msgno = null)
+ {
+ if ($msgno !== null) {
+ $result = $this->request("LIST $msgno");
+
+ list(, $result) = explode(' ', $result);
+ return (int)$result;
+ }
+
+ $result = $this->request('LIST', true);
+ $messages = array();
+ $line = strtok($result, "\n");
+ while ($line) {
+ list($no, $size) = explode(' ', trim($line));
+ $messages[(int)$no] = (int)$size;
+ $line = strtok("\n");
+ }
+
+ return $messages;
+ }
+
+
+ /**
+ * Make UIDL call for getting a uniqueid
+ *
+ * @param int|null $msgno number of message, null for all
+ * @return string|array uniqueid of message or list with array(num => uniqueid)
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function uniqueid($msgno = null)
+ {
+ if ($msgno !== null) {
+ $result = $this->request("UIDL $msgno");
+
+ list(, $result) = explode(' ', $result);
+ return $result;
+ }
+
+ $result = $this->request('UIDL', true);
+
+ $result = explode("\n", $result);
+ $messages = array();
+ foreach ($result as $line) {
+ if (!$line) {
+ continue;
+ }
+ list($no, $id) = explode(' ', trim($line), 2);
+ $messages[(int)$no] = $id;
+ }
+
+ return $messages;
+
+ }
+
+
+ /**
+ * Make TOP call for getting headers and maybe some body lines
+ * This method also sets hasTop - before it it's not known if top is supported
+ *
+ * The fallback makes normale RETR call, which retrieves the whole message. Additional
+ * lines are not removed.
+ *
+ * @param int $msgno number of message
+ * @param int $lines number of wanted body lines (empty line is inserted after header lines)
+ * @param bool $fallback fallback with full retrieve if top is not supported
+ * @return string message headers with wanted body lines
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function top($msgno, $lines = 0, $fallback = false)
+ {
+ if ($this->hasTop === false) {
+ if ($fallback) {
+ return $this->retrieve($msgno);
+ } else {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+ require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('top not supported and no fallback wanted');
+ }
+ }
+ $this->hasTop = true;
+
+ $lines = (!$lines || $lines < 1) ? 0 : (int)$lines;
+
+ try {
+ $result = $this->request("TOP $msgno $lines", true);
+ } catch (Postman_Zend_Mail_Protocol_Exception $e) {
+ $this->hasTop = false;
+ if ($fallback) {
+ $result = $this->retrieve($msgno);
+ } else {
+ throw $e;
+ }
+ }
+
+ return $result;
+ }
+
+
+ /**
+ * Make a RETR call for retrieving a full message with headers and body
+ *
+ * @deprecated since 1.1.0; this method has a typo - please use retrieve()
+ * @param int $msgno message number
+ * @return string message
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function retrive($msgno)
+ {
+ return $this->retrieve($msgno);
+ }
+
+
+ /**
+ * Make a RETR call for retrieving a full message with headers and body
+ *
+ * @param int $msgno message number
+ * @return string message
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function retrieve($msgno)
+ {
+ $result = $this->request("RETR $msgno", true);
+ return $result;
+ }
+
+ /**
+ * Make a NOOP call, maybe needed for keeping the server happy
+ *
+ * @return null
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function noop()
+ {
+ $this->request('NOOP');
+ }
+
+
+ /**
+ * Make a DELE count to remove a message
+ *
+ * @return null
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function delete($msgno)
+ {
+ $this->request("DELE $msgno");
+ }
+
+
+ /**
+ * Make RSET call, which rollbacks delete requests
+ *
+ * @return null
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function undelete()
+ {
+ $this->request('RSET');
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp.php
new file mode 100644
index 0000000..db8016d
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp.php
@@ -0,0 +1,443 @@
+<?php
+
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Protocol
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @see Postman_Zend_Mime
+ */
+// require_once 'Zend/Mime.php';
+
+
+/**
+ * @see Postman_Zend_Mail_Protocol_Abstract
+ */
+// require_once 'Zend/Mail/Protocol/Abstract.php';
+
+
+/**
+ * Smtp implementation of Postman_Zend_Mail_Protocol_Abstract
+ *
+ * Minimum implementation according to RFC2821: EHLO, MAIL FROM, RCPT TO, DATA, RSET, NOOP, QUIT
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Protocol
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Protocol_Smtp extends Postman_Zend_Mail_Protocol_Abstract
+{
+ /**
+ * The transport method for the socket
+ *
+ * @var string
+ */
+ protected $_transport = 'tcp';
+
+
+ /**
+ * Indicates that a session is requested to be secure
+ *
+ * @var string
+ */
+ protected $_secure;
+
+
+ /**
+ * Indicates an smtp session has been started by the HELO command
+ *
+ * @var boolean
+ */
+ protected $_sess = false;
+
+
+ /**
+ * Indicates the HELO command has been issues
+ *
+ * @var unknown_type
+ */
+ protected $_helo = false;
+
+
+ /**
+ * Indicates an smtp AUTH has been issued and authenticated
+ *
+ * @var unknown_type
+ */
+ protected $_auth = false;
+
+
+ /**
+ * Indicates a MAIL command has been issued
+ *
+ * @var unknown_type
+ */
+ protected $_mail = false;
+
+
+ /**
+ * Indicates one or more RCTP commands have been issued
+ *
+ * @var unknown_type
+ */
+ protected $_rcpt = false;
+
+
+ /**
+ * Indicates that DATA has been issued and sent
+ *
+ * @var unknown_type
+ */
+ protected $_data = null;
+
+
+ /**
+ * Constructor.
+ *
+ * @param string $host
+ * @param integer $port
+ * @param array $config
+ * @return void
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function __construct($host = '127.0.0.1', $port = null, array $config = array())
+ {
+ if (isset($config['ssl'])) {
+ switch (strtolower($config['ssl'])) {
+ case 'tls':
+ $this->_secure = 'tls';
+ break;
+
+ case 'ssl':
+ $this->_transport = 'ssl';
+ $this->_secure = 'ssl';
+ if ($port == null) {
+ $port = 465;
+ }
+ break;
+
+ default:
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+// require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception($config['ssl'] . ' is unsupported SSL type');
+ break;
+ }
+ }
+
+ // If no port has been specified then check the master PHP ini file. Defaults to 25 if the ini setting is null.
+ if ($port == null) {
+ if (($port = ini_get('smtp_port')) == '') {
+ $port = 25;
+ }
+ }
+
+ parent::__construct($host, $port);
+ }
+
+
+ /**
+ * Connect to the server with the parameters given in the constructor.
+ *
+ * @return boolean
+ */
+ public function connect()
+ {
+ return $this->_connect($this->_transport . '://' . $this->_host . ':'. $this->_port);
+ }
+
+
+ /**
+ * Initiate HELO/EHLO sequence and set flag to indicate valid smtp session
+ *
+ * @param string $host The client hostname or IP address (default: 127.0.0.1)
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ * @return void
+ */
+ public function helo($host = '127.0.0.1')
+ {
+ // Respect RFC 2821 and disallow HELO attempts if session is already initiated.
+ if ($this->_sess === true) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+// require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('Cannot issue HELO to existing session');
+ }
+
+ // Validate client hostname
+ if (!$this->_validHost->isValid($host)) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+// require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception(join(', ', $this->_validHost->getMessages()));
+ }
+
+ // Initiate helo sequence
+ $this->_expect(220, 300); // Timeout set for 5 minutes as per RFC 2821 4.5.3.2
+ $this->_ehlo($host);
+
+ // If a TLS session is required, commence negotiation
+ if ($this->_secure == 'tls') {
+ $this->_send('STARTTLS');
+ $this->_expect(220, 180);
+ if (!stream_socket_enable_crypto($this->_socket, true, STREAM_CRYPTO_METHOD_TLS_CLIENT)) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+// require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('Unable to connect via TLS');
+ }
+ $this->_ehlo($host);
+ }
+
+ $this->_startSession();
+ $this->auth();
+ }
+
+
+ /**
+ * Send EHLO or HELO depending on capabilities of smtp host
+ *
+ * @param string $host The client hostname or IP address (default: 127.0.0.1)
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ * @return void
+ */
+ protected function _ehlo($host)
+ {
+ // Support for older, less-compliant remote servers. Tries multiple attempts of EHLO or HELO.
+ try {
+ $this->_send('EHLO ' . $host);
+ $this->_expect(250, 300); // Timeout set for 5 minutes as per RFC 2821 4.5.3.2
+ } catch (Postman_Zend_Mail_Protocol_Exception $e) {
+ $this->_send('HELO ' . $host);
+ $this->_expect(250, 300); // Timeout set for 5 minutes as per RFC 2821 4.5.3.2
+ } catch (Postman_Zend_Mail_Protocol_Exception $e) {
+ throw $e;
+ }
+ }
+
+
+ /**
+ * Issues MAIL command
+ *
+ * @param string $from Sender mailbox
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ * @return void
+ */
+ public function mail($from)
+ {
+ if ($this->_sess !== true) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+// require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('A valid session has not been started');
+ }
+
+ $this->_send('MAIL FROM:<' . $from . '>');
+ $this->_expect(250, 300); // Timeout set for 5 minutes as per RFC 2821 4.5.3.2
+
+ // Set mail to true, clear recipients and any existing data flags as per 4.1.1.2 of RFC 2821
+ $this->_mail = true;
+ $this->_rcpt = false;
+ $this->_data = false;
+ }
+
+
+ /**
+ * Issues RCPT command
+ *
+ * @param string $to Receiver(s) mailbox
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ * @return void
+ */
+ public function rcpt($to)
+ {
+ if ($this->_mail !== true) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+// require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('No sender reverse path has been supplied');
+ }
+
+ // Set rcpt to true, as per 4.1.1.3 of RFC 2821
+ $this->_send('RCPT TO:<' . $to . '>');
+ $this->_expect(array(250, 251), 300); // Timeout set for 5 minutes as per RFC 2821 4.5.3.2
+ $this->_rcpt = true;
+ }
+
+
+ /**
+ * Issues DATA command
+ *
+ * @param string $data
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ * @return void
+ */
+ public function data($data)
+ {
+ // Ensure recipients have been set
+ if ($this->_rcpt !== true) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+// require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('No recipient forward path has been supplied');
+ }
+
+ $this->_send('DATA');
+ $this->_expect(354, 120); // Timeout set for 2 minutes as per RFC 2821 4.5.3.2
+
+ foreach (explode(Postman_Zend_Mime::LINEEND, $data) as $line) {
+ if (strpos($line, '.') === 0) {
+ // Escape lines prefixed with a '.'
+ $line = '.' . $line;
+ }
+ $this->_send($line);
+ }
+
+ $this->_send('.');
+ $this->_expect(250, 600); // Timeout set for 10 minutes as per RFC 2821 4.5.3.2
+ $this->_data = true;
+ }
+
+
+ /**
+ * Issues the RSET command and validates answer
+ *
+ * Can be used to restore a clean smtp communication state when a transaction has been cancelled or commencing a new transaction.
+ *
+ * @return void
+ */
+ public function rset()
+ {
+ $this->_send('RSET');
+ // MS ESMTP doesn't follow RFC, see [ZF-1377]
+ $this->_expect(array(250, 220));
+
+ $this->_mail = false;
+ $this->_rcpt = false;
+ $this->_data = false;
+ }
+
+
+ /**
+ * Issues the NOOP command and validates answer
+ *
+ * Not used by Postman_Zend_Mail, could be used to keep a connection alive or check if it is still open.
+ *
+ * @return void
+ */
+ public function noop()
+ {
+ $this->_send('NOOP');
+ $this->_expect(250, 300); // Timeout set for 5 minutes as per RFC 2821 4.5.3.2
+ }
+
+
+ /**
+ * Issues the VRFY command and validates answer
+ *
+ * Not used by Postman_Zend_Mail.
+ *
+ * @param string $user User Name or eMail to verify
+ * @return void
+ */
+ public function vrfy($user)
+ {
+ $this->_send('VRFY ' . $user);
+ $this->_expect(array(250, 251, 252), 300); // Timeout set for 5 minutes as per RFC 2821 4.5.3.2
+ }
+
+
+ /**
+ * Issues the QUIT command and clears the current session
+ *
+ * @return void
+ */
+ public function quit()
+ {
+ if ($this->_sess) {
+ $this->_send('QUIT');
+ $this->_expect(221, 300); // Timeout set for 5 minutes as per RFC 2821 4.5.3.2
+ $this->_stopSession();
+ }
+ }
+
+
+ /**
+ * Default authentication method
+ *
+ * This default method is implemented by AUTH adapters to properly authenticate to a remote host.
+ *
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ * @return void
+ */
+ public function auth()
+ {
+ if ($this->_auth === true) {
+ /**
+ * @see Postman_Zend_Mail_Protocol_Exception
+ */
+// require_once 'Zend/Mail/Protocol/Exception.php';
+ throw new Postman_Zend_Mail_Protocol_Exception('Already authenticated for this session');
+ }
+ }
+
+
+ /**
+ * Closes connection
+ *
+ * @return void
+ */
+ public function disconnect()
+ {
+ $this->_disconnect();
+ }
+
+
+ /**
+ * Start mail session
+ *
+ * @return void
+ */
+ protected function _startSession()
+ {
+ $this->_sess = true;
+ }
+
+
+ /**
+ * Stop mail session
+ *
+ * @return void
+ */
+ protected function _stopSession()
+ {
+ $this->_sess = false;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp/Auth/Crammd5.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp/Auth/Crammd5.php
new file mode 100644
index 0000000..7ca9c1d
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp/Auth/Crammd5.php
@@ -0,0 +1,108 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Protocol
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @see Postman_Zend_Mail_Protocol_Smtp
+ */
+// require_once 'Zend/Mail/Protocol/Smtp.php';
+
+
+/**
+ * Performs CRAM-MD5 authentication
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Protocol
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Protocol_Smtp_Auth_Crammd5 extends Postman_Zend_Mail_Protocol_Smtp
+{
+ /**
+ * Constructor.
+ *
+ * @param string $host (Default: 127.0.0.1)
+ * @param int $port (Default: null)
+ * @param array $config Auth-specific parameters
+ * @return void
+ */
+ public function __construct($host = '127.0.0.1', $port = null, $config = null)
+ {
+ if (is_array($config)) {
+ if (isset($config['username'])) {
+ $this->_username = $config['username'];
+ }
+ if (isset($config['password'])) {
+ $this->_password = $config['password'];
+ }
+ }
+
+ parent::__construct($host, $port, $config);
+ }
+
+
+ /**
+ * @todo Perform CRAM-MD5 authentication with supplied credentials
+ *
+ * @return void
+ */
+ public function auth()
+ {
+ // Ensure AUTH has not already been initiated.
+ parent::auth();
+
+ $this->_send('AUTH CRAM-MD5');
+ $challenge = $this->_expect(334);
+ $challenge = base64_decode($challenge);
+ $digest = $this->_hmacMd5($this->_password, $challenge);
+ $this->_send(base64_encode($this->_username . ' ' . $digest));
+ $this->_expect(235);
+ $this->_auth = true;
+ }
+
+
+ /**
+ * Prepare CRAM-MD5 response to server's ticket
+ *
+ * @param string $key Challenge key (usually password)
+ * @param string $data Challenge data
+ * @param string $block Length of blocks
+ * @return string
+ */
+ protected function _hmacMd5($key, $data, $block = 64)
+ {
+ if (strlen($key) > 64) {
+ $key = pack('H32', md5($key));
+ } elseif (strlen($key) < 64) {
+ $key = str_pad($key, $block, "\0");
+ }
+
+ $k_ipad = substr($key, 0, 64) ^ str_repeat(chr(0x36), 64);
+ $k_opad = substr($key, 0, 64) ^ str_repeat(chr(0x5C), 64);
+
+ $inner = pack('H32', md5($k_ipad . $data));
+ $digest = md5($k_opad . $inner);
+
+ return $digest;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp/Auth/Login.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp/Auth/Login.php
new file mode 100644
index 0000000..714b6fb
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp/Auth/Login.php
@@ -0,0 +1,98 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Protocol
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @see Postman_Zend_Mail_Protocol_Smtp
+ */
+// require_once 'Zend/Mail/Protocol/Smtp.php';
+
+
+/**
+ * Performs LOGIN authentication
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Protocol
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Protocol_Smtp_Auth_Login extends Postman_Zend_Mail_Protocol_Smtp
+{
+ /**
+ * LOGIN username
+ *
+ * @var string
+ */
+ protected $_username;
+
+
+ /**
+ * LOGIN password
+ *
+ * @var string
+ */
+ protected $_password;
+
+
+ /**
+ * Constructor.
+ *
+ * @param string $host (Default: 127.0.0.1)
+ * @param int $port (Default: null)
+ * @param array $config Auth-specific parameters
+ * @return void
+ */
+ public function __construct($host = '127.0.0.1', $port = null, $config = null)
+ {
+ if (is_array($config)) {
+ if (isset($config['username'])) {
+ $this->_username = $config['username'];
+ }
+ if (isset($config['password'])) {
+ $this->_password = $config['password'];
+ }
+ }
+
+ parent::__construct($host, $port, $config);
+ }
+
+
+ /**
+ * Perform LOGIN authentication with supplied credentials
+ *
+ * @return void
+ */
+ public function auth()
+ {
+ // Ensure AUTH has not already been initiated.
+ parent::auth();
+
+ $this->_send('AUTH LOGIN');
+ $this->_expect(334);
+ $this->_send(base64_encode($this->_username));
+ $this->_expect(334);
+ $this->_send(base64_encode($this->_password));
+ $this->_expect(235);
+ $this->_auth = true;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp/Auth/Oauth2.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp/Auth/Oauth2.php
new file mode 100644
index 0000000..7b181ad
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp/Auth/Oauth2.php
@@ -0,0 +1,78 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Protocol
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: Login.php 24593 2012-01-05 20:35:02Z matthew $
+ */
+
+/**
+ * @see Postman_Zend_Mail_Protocol_Smtp
+ */
+
+/**
+ * Performs Oauth2 authentication
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Protocol
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Protocol_Smtp_Auth_Oauth2 extends Postman_Zend_Mail_Protocol_Smtp
+{
+ /**
+ * LOGIN xoauth2 request
+ *
+ * @var string
+ */
+ protected $_xoauth2_request;
+
+ /**
+ * Constructor.
+ *
+ * @param string $host (Default: 127.0.0.1)
+ * @param int $port (Default: null)
+ * @param array $config Auth-specific parameters
+ * @return void
+ */
+ public function __construct($host = '127.0.0.1', $port = null, $config = null)
+ {
+ if (is_array($config)) {
+ if (isset($config['xoauth2_request'])) {
+ $this->_xoauth2_request = $config['xoauth2_request'];
+ }
+ }
+
+ parent::__construct($host, $port, $config);
+ }
+
+ /**
+ * Perform LOGIN authentication with supplied credentials
+ *
+ * @return void
+ */
+ public function auth()
+ {
+ // Ensure AUTH has not already been initiated.
+ parent::auth();
+
+ $this->_send('AUTH XOAUTH2 '.$this->_xoauth2_request);
+ $this->_expect(235);
+ $this->_auth = true;
+ }
+} \ No newline at end of file
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp/Auth/Plain.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp/Auth/Plain.php
new file mode 100644
index 0000000..73df793
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Smtp/Auth/Plain.php
@@ -0,0 +1,96 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Protocol
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @see Postman_Zend_Mail_Protocol_Smtp
+ */
+// require_once 'Zend/Mail/Protocol/Smtp.php';
+
+
+/**
+ * Performs PLAIN authentication
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Protocol
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Protocol_Smtp_Auth_Plain extends Postman_Zend_Mail_Protocol_Smtp
+{
+ /**
+ * PLAIN username
+ *
+ * @var string
+ */
+ protected $_username;
+
+
+ /**
+ * PLAIN password
+ *
+ * @var string
+ */
+ protected $_password;
+
+
+ /**
+ * Constructor.
+ *
+ * @param string $host (Default: 127.0.0.1)
+ * @param int $port (Default: null)
+ * @param array $config Auth-specific parameters
+ * @return void
+ */
+ public function __construct($host = '127.0.0.1', $port = null, $config = null)
+ {
+ if (is_array($config)) {
+ if (isset($config['username'])) {
+ $this->_username = $config['username'];
+ }
+ if (isset($config['password'])) {
+ $this->_password = $config['password'];
+ }
+ }
+
+ parent::__construct($host, $port, $config);
+ }
+
+
+ /**
+ * Perform PLAIN authentication with supplied credentials
+ *
+ * @return void
+ */
+ public function auth()
+ {
+ // Ensure AUTH has not already been initiated.
+ parent::auth();
+
+ $this->_send('AUTH PLAIN');
+ $this->_expect(334);
+ $this->_send(base64_encode("\0" . $this->_username . "\0" . $this->_password));
+ $this->_expect(235);
+ $this->_auth = true;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage.php
new file mode 100644
index 0000000..adecc53
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage.php
@@ -0,0 +1,39 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Storage
+{
+ // maildir and IMAP flags, using IMAP names, where possible to be able to distinguish between IMAP
+ // system flags and other flags
+ const FLAG_PASSED = 'Passed';
+ const FLAG_SEEN = '\Seen';
+ const FLAG_ANSWERED = '\Answered';
+ const FLAG_FLAGGED = '\Flagged';
+ const FLAG_DELETED = '\Deleted';
+ const FLAG_DRAFT = '\Draft';
+ const FLAG_RECENT = '\Recent';
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Abstract.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Abstract.php
new file mode 100644
index 0000000..de8ecb2
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Abstract.php
@@ -0,0 +1,366 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+abstract class Postman_Zend_Mail_Storage_Abstract implements Countable, ArrayAccess, SeekableIterator
+{
+ /**
+ * class capabilities with default values
+ * @var array
+ */
+ protected $_has = array('uniqueid' => true,
+ 'delete' => false,
+ 'create' => false,
+ 'top' => false,
+ 'fetchPart' => true,
+ 'flags' => false);
+
+ /**
+ * current iteration position
+ * @var int
+ */
+ protected $_iterationPos = 0;
+
+ /**
+ * maximum iteration position (= message count)
+ * @var null|int
+ */
+ protected $_iterationMax = null;
+
+ /**
+ * used message class, change it in an extened class to extend the returned message class
+ * @var string
+ */
+ protected $_messageClass = 'Postman_Zend_Mail_Message';
+
+ /**
+ * Getter for has-properties. The standard has properties
+ * are: hasFolder, hasUniqueid, hasDelete, hasCreate, hasTop
+ *
+ * The valid values for the has-properties are:
+ * - true if a feature is supported
+ * - false if a feature is not supported
+ * - null is it's not yet known or it can't be know if a feature is supported
+ *
+ * @param string $var property name
+ * @return bool supported or not
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function __get($var)
+ {
+ if (strpos($var, 'has') === 0) {
+ $var = strtolower(substr($var, 3));
+ return isset($this->_has[$var]) ? $this->_has[$var] : null;
+ }
+
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception($var . ' not found');
+ }
+
+
+ /**
+ * Get a full list of features supported by the specific mail lib and the server
+ *
+ * @return array list of features as array(featurename => true|false[|null])
+ */
+ public function getCapabilities()
+ {
+ return $this->_has;
+ }
+
+
+ /**
+ * Count messages messages in current box/folder
+ *
+ * @return int number of messages
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ abstract public function countMessages();
+
+
+ /**
+ * Get a list of messages with number and size
+ *
+ * @param int $id number of message
+ * @return int|array size of given message of list with all messages as array(num => size)
+ */
+ abstract public function getSize($id = 0);
+
+
+ /**
+ * Get a message with headers and body
+ *
+ * @param int $id number of message
+ * @return Postman_Zend_Mail_Message
+ */
+ abstract public function getMessage($id);
+
+
+ /**
+ * Get raw header of message or part
+ *
+ * @param int $id number of message
+ * @param null|array|string $part path to part or null for messsage header
+ * @param int $topLines include this many lines with header (after an empty line)
+ * @return string raw header
+ */
+ abstract public function getRawHeader($id, $part = null, $topLines = 0);
+
+ /**
+ * Get raw content of message or part
+ *
+ * @param int $id number of message
+ * @param null|array|string $part path to part or null for messsage content
+ * @return string raw content
+ */
+ abstract public function getRawContent($id, $part = null);
+
+ /**
+ * Create instance with parameters
+ *
+ * @param array $params mail reader specific parameters
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ abstract public function __construct($params);
+
+
+ /**
+ * Destructor calls close() and therefore closes the resource.
+ */
+ public function __destruct()
+ {
+ $this->close();
+ }
+
+
+ /**
+ * Close resource for mail lib. If you need to control, when the resource
+ * is closed. Otherwise the destructor would call this.
+ *
+ * @return null
+ */
+ abstract public function close();
+
+
+ /**
+ * Keep the resource alive.
+ *
+ * @return null
+ */
+ abstract public function noop();
+
+ /**
+ * delete a message from current box/folder
+ *
+ * @return null
+ */
+ abstract public function removeMessage($id);
+
+ /**
+ * get unique id for one or all messages
+ *
+ * if storage does not support unique ids it's the same as the message number
+ *
+ * @param int|null $id message number
+ * @return array|string message number for given message or all messages as array
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ abstract public function getUniqueId($id = null);
+
+ /**
+ * get a message number from a unique id
+ *
+ * I.e. if you have a webmailer that supports deleting messages you should use unique ids
+ * as parameter and use this method to translate it to message number right before calling removeMessage()
+ *
+ * @param string $id unique id
+ * @return int message number
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ abstract public function getNumberByUniqueId($id);
+
+ // interface implementations follows
+
+ /**
+ * Countable::count()
+ *
+ * @return int
+ */
+ public function count()
+ {
+ return $this->countMessages();
+ }
+
+
+ /**
+ * ArrayAccess::offsetExists()
+ *
+ * @param int $id
+ * @return boolean
+ */
+ public function offsetExists($id)
+ {
+ try {
+ if ($this->getMessage($id)) {
+ return true;
+ }
+ } catch(Postman_Zend_Mail_Storage_Exception $e) {}
+
+ return false;
+ }
+
+
+ /**
+ * ArrayAccess::offsetGet()
+ *
+ * @param int $id
+ * @return Postman_Zend_Mail_Message message object
+ */
+ public function offsetGet($id)
+ {
+ return $this->getMessage($id);
+ }
+
+
+ /**
+ * ArrayAccess::offsetSet()
+ *
+ * @param id $id
+ * @param mixed $value
+ * @throws Postman_Zend_Mail_Storage_Exception
+ * @return void
+ */
+ public function offsetSet($id, $value)
+ {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('cannot write mail messages via array access');
+ }
+
+
+ /**
+ * ArrayAccess::offsetUnset()
+ *
+ * @param int $id
+ * @return boolean success
+ */
+ public function offsetUnset($id)
+ {
+ return $this->removeMessage($id);
+ }
+
+
+ /**
+ * Iterator::rewind()
+ *
+ * Rewind always gets the new count from the storage. Thus if you use
+ * the interfaces and your scripts take long you should use reset()
+ * from time to time.
+ *
+ * @return void
+ */
+ public function rewind()
+ {
+ $this->_iterationMax = $this->countMessages();
+ $this->_iterationPos = 1;
+ }
+
+
+ /**
+ * Iterator::current()
+ *
+ * @return Postman_Zend_Mail_Message current message
+ */
+ public function current()
+ {
+ return $this->getMessage($this->_iterationPos);
+ }
+
+
+ /**
+ * Iterator::key()
+ *
+ * @return int id of current position
+ */
+ public function key()
+ {
+ return $this->_iterationPos;
+ }
+
+
+ /**
+ * Iterator::next()
+ *
+ * @return void
+ */
+ public function next()
+ {
+ ++$this->_iterationPos;
+ }
+
+
+ /**
+ * Iterator::valid()
+ *
+ * @return boolean
+ */
+ public function valid()
+ {
+ if ($this->_iterationMax === null) {
+ $this->_iterationMax = $this->countMessages();
+ }
+ return $this->_iterationPos && $this->_iterationPos <= $this->_iterationMax;
+ }
+
+
+ /**
+ * SeekableIterator::seek()
+ *
+ * @param int $pos
+ * @return void
+ * @throws OutOfBoundsException
+ */
+ public function seek($pos)
+ {
+ if ($this->_iterationMax === null) {
+ $this->_iterationMax = $this->countMessages();
+ }
+
+ if ($pos > $this->_iterationMax) {
+ throw new OutOfBoundsException('this position does not exist');
+ }
+ $this->_iterationPos = $pos;
+ }
+
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Exception.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Exception.php
new file mode 100644
index 0000000..99ece01
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Exception.php
@@ -0,0 +1,39 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @see Postman_Zend_Mail_Exception
+ */
+require_once 'Zend/Mail/Exception.php';
+
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Storage_Exception extends Postman_Zend_Mail_Exception
+{}
+
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Folder.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Folder.php
new file mode 100644
index 0000000..24c4035
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Folder.php
@@ -0,0 +1,236 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Storage_Folder implements RecursiveIterator
+{
+ /**
+ * subfolders of folder array(localName => Postman_Zend_Mail_Storage_Folder folder)
+ * @var array
+ */
+ protected $_folders;
+
+ /**
+ * local name (name of folder in parent folder)
+ * @var string
+ */
+ protected $_localName;
+
+ /**
+ * global name (absolute name of folder)
+ * @var string
+ */
+ protected $_globalName;
+
+ /**
+ * folder is selectable if folder is able to hold messages, else it's just a parent folder
+ * @var bool
+ */
+ protected $_selectable = true;
+
+ /**
+ * create a new mail folder instance
+ *
+ * @param string $localName name of folder in current subdirectory
+ * @param string $globalName absolute name of folder
+ * @param bool $selectable if true folder holds messages, if false it's just a parent for subfolders
+ * @param array $folders init with given instances of Postman_Zend_Mail_Storage_Folder as subfolders
+ */
+ public function __construct($localName, $globalName = '', $selectable = true, array $folders = array())
+ {
+ $this->_localName = $localName;
+ $this->_globalName = $globalName ? $globalName : $localName;
+ $this->_selectable = $selectable;
+ $this->_folders = $folders;
+ }
+
+ /**
+ * implements RecursiveIterator::hasChildren()
+ *
+ * @return bool current element has children
+ */
+ public function hasChildren()
+ {
+ $current = $this->current();
+ return $current && $current instanceof Postman_Zend_Mail_Storage_Folder && !$current->isLeaf();
+ }
+
+ /**
+ * implements RecursiveIterator::getChildren()
+ *
+ * @return Postman_Zend_Mail_Storage_Folder same as self::current()
+ */
+ public function getChildren()
+ {
+ return $this->current();
+ }
+
+ /**
+ * implements Iterator::valid()
+ *
+ * @return bool check if there's a current element
+ */
+ public function valid()
+ {
+ return key($this->_folders) !== null;
+ }
+
+ /**
+ * implements Iterator::next()
+ *
+ * @return null
+ */
+ public function next()
+ {
+ next($this->_folders);
+ }
+
+ /**
+ * implements Iterator::key()
+ *
+ * @return string key/local name of current element
+ */
+ public function key()
+ {
+ return key($this->_folders);
+ }
+
+ /**
+ * implements Iterator::current()
+ *
+ * @return Postman_Zend_Mail_Storage_Folder current folder
+ */
+ public function current()
+ {
+ return current($this->_folders);
+ }
+
+ /**
+ * implements Iterator::rewind()
+ *
+ * @return null
+ */
+ public function rewind()
+ {
+ reset($this->_folders);
+ }
+
+ /**
+ * get subfolder named $name
+ *
+ * @param string $name wanted subfolder
+ * @return Postman_Zend_Mail_Storage_Folder folder named $folder
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function __get($name)
+ {
+ if (!isset($this->_folders[$name])) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception("no subfolder named $name");
+ }
+
+ return $this->_folders[$name];
+ }
+
+ /**
+ * add or replace subfolder named $name
+ *
+ * @param string $name local name of subfolder
+ * @param Postman_Zend_Mail_Storage_Folder $folder instance for new subfolder
+ * @return null
+ */
+ public function __set($name, Postman_Zend_Mail_Storage_Folder $folder)
+ {
+ $this->_folders[$name] = $folder;
+ }
+
+ /**
+ * remove subfolder named $name
+ *
+ * @param string $name local name of subfolder
+ * @return null
+ */
+ public function __unset($name)
+ {
+ unset($this->_folders[$name]);
+ }
+
+ /**
+ * magic method for easy output of global name
+ *
+ * @return string global name of folder
+ */
+ public function __toString()
+ {
+ return (string)$this->getGlobalName();
+ }
+
+ /**
+ * get local name
+ *
+ * @return string local name
+ */
+ public function getLocalName()
+ {
+ return $this->_localName;
+ }
+
+ /**
+ * get global name
+ *
+ * @return string global name
+ */
+ public function getGlobalName()
+ {
+ return $this->_globalName;
+ }
+
+ /**
+ * is this folder selectable?
+ *
+ * @return bool selectable
+ */
+ public function isSelectable()
+ {
+ return $this->_selectable;
+ }
+
+ /**
+ * check if folder has no subfolder
+ *
+ * @return bool true if no subfolders
+ */
+ public function isLeaf()
+ {
+ return empty($this->_folders);
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Folder/Interface.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Folder/Interface.php
new file mode 100644
index 0000000..e991c4f
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Folder/Interface.php
@@ -0,0 +1,60 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+interface Postman_Zend_Mail_Storage_Folder_Interface
+{
+ /**
+ * get root folder or given folder
+ *
+ * @param string $rootFolder get folder structure for given folder, else root
+ * @return Postman_Zend_Mail_Storage_Folder root or wanted folder
+ */
+ public function getFolders($rootFolder = null);
+
+ /**
+ * select given folder
+ *
+ * folder must be selectable!
+ *
+ * @param Postman_Zend_Mail_Storage_Folder|string $globalName global name of folder or instance for subfolder
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function selectFolder($globalName);
+
+
+ /**
+ * get Postman_Zend_Mail_Storage_Folder instance for current folder
+ *
+ * @return Postman_Zend_Mail_Storage_Folder instance of current folder
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getCurrentFolder();
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Folder/Maildir.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Folder/Maildir.php
new file mode 100644
index 0000000..4cbaa25
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Folder/Maildir.php
@@ -0,0 +1,265 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @see Postman_Zend_Mail_Storage_Folder
+ */
+require_once 'Zend/Mail/Storage/Folder.php';
+
+/**
+ * @see Postman_Zend_Mail_Storage_Folder_Interface
+ */
+require_once 'Zend/Mail/Storage/Folder/Interface.php';
+
+/**
+ * @see Postman_Zend_Mail_Storage_Maildir
+ */
+require_once 'Zend/Mail/Storage/Maildir.php';
+
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Storage_Folder_Maildir extends Postman_Zend_Mail_Storage_Maildir implements Postman_Zend_Mail_Storage_Folder_Interface
+{
+ /**
+ * Postman_Zend_Mail_Storage_Folder root folder for folder structure
+ * @var Postman_Zend_Mail_Storage_Folder
+ */
+ protected $_rootFolder;
+
+ /**
+ * rootdir of folder structure
+ * @var string
+ */
+ protected $_rootdir;
+
+ /**
+ * name of current folder
+ * @var string
+ */
+ protected $_currentFolder;
+
+ /**
+ * delim char for subfolders
+ * @var string
+ */
+ protected $_delim;
+
+ /**
+ * Create instance with parameters
+ * Supported parameters are:
+ * - dirname rootdir of maildir structure
+ * - delim delim char for folder structur, default is '.'
+ * - folder intial selected folder, default is 'INBOX'
+ *
+ * @param array $params mail reader specific parameters
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function __construct($params)
+ {
+ if (is_array($params)) {
+ $params = (object)$params;
+ }
+
+ if (!isset($params->dirname) || !is_dir($params->dirname)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('no valid dirname given in params');
+ }
+
+ $this->_rootdir = rtrim($params->dirname, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
+
+ $this->_delim = isset($params->delim) ? $params->delim : '.';
+
+ $this->_buildFolderTree();
+ $this->selectFolder(!empty($params->folder) ? $params->folder : 'INBOX');
+ $this->_has['top'] = true;
+ $this->_has['flags'] = true;
+ }
+
+ /**
+ * find all subfolders and mbox files for folder structure
+ *
+ * Result is save in Postman_Zend_Mail_Storage_Folder instances with the root in $this->_rootFolder.
+ * $parentFolder and $parentGlobalName are only used internally for recursion.
+ *
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ protected function _buildFolderTree()
+ {
+ $this->_rootFolder = new Postman_Zend_Mail_Storage_Folder('/', '/', false);
+ $this->_rootFolder->INBOX = new Postman_Zend_Mail_Storage_Folder('INBOX', 'INBOX', true);
+
+ $dh = @opendir($this->_rootdir);
+ if (!$dh) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception("can't read folders in maildir");
+ }
+ $dirs = array();
+ while (($entry = readdir($dh)) !== false) {
+ // maildir++ defines folders must start with .
+ if ($entry[0] != '.' || $entry == '.' || $entry == '..') {
+ continue;
+ }
+ if ($this->_isMaildir($this->_rootdir . $entry)) {
+ $dirs[] = $entry;
+ }
+ }
+ closedir($dh);
+
+ sort($dirs);
+ $stack = array(null);
+ $folderStack = array(null);
+ $parentFolder = $this->_rootFolder;
+ $parent = '.';
+
+ foreach ($dirs as $dir) {
+ do {
+ if (strpos($dir, $parent) === 0) {
+ $local = substr($dir, strlen($parent));
+ if (strpos($local, $this->_delim) !== false) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('error while reading maildir');
+ }
+ array_push($stack, $parent);
+ $parent = $dir . $this->_delim;
+ $folder = new Postman_Zend_Mail_Storage_Folder($local, substr($dir, 1), true);
+ $parentFolder->$local = $folder;
+ array_push($folderStack, $parentFolder);
+ $parentFolder = $folder;
+ break;
+ } else if ($stack) {
+ $parent = array_pop($stack);
+ $parentFolder = array_pop($folderStack);
+ }
+ } while ($stack);
+ if (!$stack) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('error while reading maildir');
+ }
+ }
+ }
+
+ /**
+ * get root folder or given folder
+ *
+ * @param string $rootFolder get folder structure for given folder, else root
+ * @return Postman_Zend_Mail_Storage_Folder root or wanted folder
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getFolders($rootFolder = null)
+ {
+ if (!$rootFolder || $rootFolder == 'INBOX') {
+ return $this->_rootFolder;
+ }
+
+ // rootdir is same as INBOX in maildir
+ if (strpos($rootFolder, 'INBOX' . $this->_delim) === 0) {
+ $rootFolder = substr($rootFolder, 6);
+ }
+ $currentFolder = $this->_rootFolder;
+ $subname = trim($rootFolder, $this->_delim);
+ while ($currentFolder) {
+ @list($entry, $subname) = @explode($this->_delim, $subname, 2);
+ $currentFolder = $currentFolder->$entry;
+ if (!$subname) {
+ break;
+ }
+ }
+
+ if ($currentFolder->getGlobalName() != rtrim($rootFolder, $this->_delim)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception("folder $rootFolder not found");
+ }
+ return $currentFolder;
+ }
+
+ /**
+ * select given folder
+ *
+ * folder must be selectable!
+ *
+ * @param Postman_Zend_Mail_Storage_Folder|string $globalName global name of folder or instance for subfolder
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function selectFolder($globalName)
+ {
+ $this->_currentFolder = (string)$globalName;
+
+ // getting folder from folder tree for validation
+ $folder = $this->getFolders($this->_currentFolder);
+
+ try {
+ $this->_openMaildir($this->_rootdir . '.' . $folder->getGlobalName());
+ } catch(Postman_Zend_Mail_Storage_Exception $e) {
+ // check what went wrong
+ if (!$folder->isSelectable()) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception("{$this->_currentFolder} is not selectable", 0, $e);
+ }
+ // seems like file has vanished; rebuilding folder tree - but it's still an exception
+ $this->_buildFolderTree($this->_rootdir);
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('seems like the maildir has vanished, I\'ve rebuild the ' .
+ 'folder tree, search for an other folder and try again', 0, $e);
+ }
+ }
+
+ /**
+ * get Postman_Zend_Mail_Storage_Folder instance for current folder
+ *
+ * @return Postman_Zend_Mail_Storage_Folder instance of current folder
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getCurrentFolder()
+ {
+ return $this->_currentFolder;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Folder/Mbox.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Folder/Mbox.php
new file mode 100644
index 0000000..8f61e16
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Folder/Mbox.php
@@ -0,0 +1,264 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @see Postman_Zend_Mail_Storage_Folder
+ */
+require_once 'Zend/Mail/Storage/Folder.php';
+
+/**
+ * @see Postman_Zend_Mail_Storage_Folder_Interface
+ */
+require_once 'Zend/Mail/Storage/Folder/Interface.php';
+
+/**
+ * @see Postman_Zend_Mail_Storage_Mbox
+ */
+require_once 'Zend/Mail/Storage/Mbox.php';
+
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Storage_Folder_Mbox extends Postman_Zend_Mail_Storage_Mbox implements Postman_Zend_Mail_Storage_Folder_Interface
+{
+ /**
+ * Postman_Zend_Mail_Storage_Folder root folder for folder structure
+ * @var Postman_Zend_Mail_Storage_Folder
+ */
+ protected $_rootFolder;
+
+ /**
+ * rootdir of folder structure
+ * @var string
+ */
+ protected $_rootdir;
+
+ /**
+ * name of current folder
+ * @var string
+ */
+ protected $_currentFolder;
+
+ /**
+ * Create instance with parameters
+ *
+ * Disallowed parameters are:
+ * - filename use Postman_Zend_Mail_Storage_Mbox for a single file
+ * Supported parameters are:
+ * - dirname rootdir of mbox structure
+ * - folder intial selected folder, default is 'INBOX'
+ *
+ * @param array $params mail reader specific parameters
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function __construct($params)
+ {
+ if (is_array($params)) {
+ $params = (object)$params;
+ }
+
+ if (isset($params->filename)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('use Postman_Zend_Mail_Storage_Mbox for a single file');
+ }
+
+ if (!isset($params->dirname) || !is_dir($params->dirname)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('no valid dirname given in params');
+ }
+
+ $this->_rootdir = rtrim($params->dirname, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
+
+ $this->_buildFolderTree($this->_rootdir);
+ $this->selectFolder(!empty($params->folder) ? $params->folder : 'INBOX');
+ $this->_has['top'] = true;
+ $this->_has['uniqueid'] = false;
+ }
+
+ /**
+ * find all subfolders and mbox files for folder structure
+ *
+ * Result is save in Postman_Zend_Mail_Storage_Folder instances with the root in $this->_rootFolder.
+ * $parentFolder and $parentGlobalName are only used internally for recursion.
+ *
+ * @param string $currentDir call with root dir, also used for recursion.
+ * @param Postman_Zend_Mail_Storage_Folder|null $parentFolder used for recursion
+ * @param string $parentGlobalName used for rescursion
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ protected function _buildFolderTree($currentDir, $parentFolder = null, $parentGlobalName = '')
+ {
+ if (!$parentFolder) {
+ $this->_rootFolder = new Postman_Zend_Mail_Storage_Folder('/', '/', false);
+ $parentFolder = $this->_rootFolder;
+ }
+
+ $dh = @opendir($currentDir);
+ if (!$dh) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception("can't read dir $currentDir");
+ }
+ while (($entry = readdir($dh)) !== false) {
+ // ignore hidden files for mbox
+ if ($entry[0] == '.') {
+ continue;
+ }
+ $absoluteEntry = $currentDir . $entry;
+ $globalName = $parentGlobalName . DIRECTORY_SEPARATOR . $entry;
+ if (is_file($absoluteEntry) && $this->_isMboxFile($absoluteEntry)) {
+ $parentFolder->$entry = new Postman_Zend_Mail_Storage_Folder($entry, $globalName);
+ continue;
+ }
+ if (!is_dir($absoluteEntry) /* || $entry == '.' || $entry == '..' */) {
+ continue;
+ }
+ $folder = new Postman_Zend_Mail_Storage_Folder($entry, $globalName, false);
+ $parentFolder->$entry = $folder;
+ $this->_buildFolderTree($absoluteEntry . DIRECTORY_SEPARATOR, $folder, $globalName);
+ }
+
+ closedir($dh);
+ }
+
+ /**
+ * get root folder or given folder
+ *
+ * @param string $rootFolder get folder structure for given folder, else root
+ * @return Postman_Zend_Mail_Storage_Folder root or wanted folder
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getFolders($rootFolder = null)
+ {
+ if (!$rootFolder) {
+ return $this->_rootFolder;
+ }
+
+ $currentFolder = $this->_rootFolder;
+ $subname = trim($rootFolder, DIRECTORY_SEPARATOR);
+ while ($currentFolder) {
+ @list($entry, $subname) = @explode(DIRECTORY_SEPARATOR, $subname, 2);
+ $currentFolder = $currentFolder->$entry;
+ if (!$subname) {
+ break;
+ }
+ }
+
+ if ($currentFolder->getGlobalName() != DIRECTORY_SEPARATOR . trim($rootFolder, DIRECTORY_SEPARATOR)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception("folder $rootFolder not found");
+ }
+ return $currentFolder;
+ }
+
+ /**
+ * select given folder
+ *
+ * folder must be selectable!
+ *
+ * @param Postman_Zend_Mail_Storage_Folder|string $globalName global name of folder or instance for subfolder
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function selectFolder($globalName)
+ {
+ $this->_currentFolder = (string)$globalName;
+
+ // getting folder from folder tree for validation
+ $folder = $this->getFolders($this->_currentFolder);
+
+ try {
+ $this->_openMboxFile($this->_rootdir . $folder->getGlobalName());
+ } catch(Postman_Zend_Mail_Storage_Exception $e) {
+ // check what went wrong
+ if (!$folder->isSelectable()) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception("{$this->_currentFolder} is not selectable", 0, $e);
+ }
+ // seems like file has vanished; rebuilding folder tree - but it's still an exception
+ $this->_buildFolderTree($this->_rootdir);
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('seems like the mbox file has vanished, I\'ve rebuild the ' .
+ 'folder tree, search for an other folder and try again', 0, $e);
+ }
+ }
+
+ /**
+ * get Postman_Zend_Mail_Storage_Folder instance for current folder
+ *
+ * @return Postman_Zend_Mail_Storage_Folder instance of current folder
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getCurrentFolder()
+ {
+ return $this->_currentFolder;
+ }
+
+ /**
+ * magic method for serialize()
+ *
+ * with this method you can cache the mbox class
+ *
+ * @return array name of variables
+ */
+ public function __sleep()
+ {
+ return array_merge(parent::__sleep(), array('_currentFolder', '_rootFolder', '_rootdir'));
+ }
+
+ /**
+ * magic method for unserialize()
+ *
+ * with this method you can cache the mbox class
+ *
+ * @return null
+ */
+ public function __wakeup()
+ {
+ // if cache is stall selectFolder() rebuilds the tree on error
+ parent::__wakeup();
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Imap.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Imap.php
new file mode 100644
index 0000000..8073c93
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Imap.php
@@ -0,0 +1,644 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @see Postman_Zend_Mail_Storage_Abstract
+ */
+require_once 'Zend/Mail/Storage/Abstract.php';
+
+/**
+ * @see Postman_Zend_Mail_Protocol_Imap
+ */
+require_once 'Zend/Mail/Protocol/Imap.php';
+
+/**
+ * @see Postman_Zend_Mail_Storage_Writable_Interface
+ */
+require_once 'Zend/Mail/Storage/Writable/Interface.php';
+
+/**
+ * @see Postman_Zend_Mail_Storage_Folder_Interface
+ */
+require_once 'Zend/Mail/Storage/Folder/Interface.php';
+
+/**
+ * @see Postman_Zend_Mail_Storage_Folder
+ */
+require_once 'Zend/Mail/Storage/Folder.php';
+
+/**
+ * @see Postman_Zend_Mail_Message
+ */
+require_once 'Zend/Mail/Message.php';
+
+/**
+ * @see Postman_Zend_Mail_Storage
+ */
+require_once 'Zend/Mail/Storage.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Storage_Imap extends Postman_Zend_Mail_Storage_Abstract
+ implements Postman_Zend_Mail_Storage_Folder_Interface, Postman_Zend_Mail_Storage_Writable_Interface
+{
+ // TODO: with an internal cache we could optimize this class, or create an extra class with
+ // such optimizations. Especially the various fetch calls could be combined to one cache call
+
+ /**
+ * protocol handler
+ * @var null|Postman_Zend_Mail_Protocol_Imap
+ */
+ protected $_protocol;
+
+ /**
+ * name of current folder
+ * @var string
+ */
+ protected $_currentFolder = '';
+
+ /**
+ * imap flags to constants translation
+ * @var array
+ */
+ protected static $_knownFlags = array('\Passed' => Postman_Zend_Mail_Storage::FLAG_PASSED,
+ '\Answered' => Postman_Zend_Mail_Storage::FLAG_ANSWERED,
+ '\Seen' => Postman_Zend_Mail_Storage::FLAG_SEEN,
+ '\Deleted' => Postman_Zend_Mail_Storage::FLAG_DELETED,
+ '\Draft' => Postman_Zend_Mail_Storage::FLAG_DRAFT,
+ '\Flagged' => Postman_Zend_Mail_Storage::FLAG_FLAGGED);
+
+ /**
+ * map flags to search criterias
+ * @var array
+ */
+ protected static $_searchFlags = array('\Recent' => 'RECENT',
+ '\Answered' => 'ANSWERED',
+ '\Seen' => 'SEEN',
+ '\Deleted' => 'DELETED',
+ '\Draft' => 'DRAFT',
+ '\Flagged' => 'FLAGGED');
+
+ /**
+ * Count messages all messages in current box
+ *
+ * @return int number of messages
+ * @throws Postman_Zend_Mail_Storage_Exception
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function countMessages($flags = null)
+ {
+ if (!$this->_currentFolder) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('No selected folder to count');
+ }
+
+ if ($flags === null) {
+ return count($this->_protocol->search(array('ALL')));
+ }
+
+ $params = array();
+ foreach ((array)$flags as $flag) {
+ if (isset(self::$_searchFlags[$flag])) {
+ $params[] = self::$_searchFlags[$flag];
+ } else {
+ $params[] = 'KEYWORD';
+ $params[] = $this->_protocol->escapeString($flag);
+ }
+ }
+ return count($this->_protocol->search($params));
+ }
+
+ /**
+ * get a list of messages with number and size
+ *
+ * @param int $id number of message
+ * @return int|array size of given message of list with all messages as array(num => size)
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function getSize($id = 0)
+ {
+ if ($id) {
+ return $this->_protocol->fetch('RFC822.SIZE', $id);
+ }
+ return $this->_protocol->fetch('RFC822.SIZE', 1, INF);
+ }
+
+ /**
+ * Fetch a message
+ *
+ * @param int $id number of message
+ * @return Postman_Zend_Mail_Message
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function getMessage($id)
+ {
+ $data = $this->_protocol->fetch(array('FLAGS', 'RFC822.HEADER'), $id);
+ $header = $data['RFC822.HEADER'];
+
+ $flags = array();
+ foreach ($data['FLAGS'] as $flag) {
+ $flags[] = isset(self::$_knownFlags[$flag]) ? self::$_knownFlags[$flag] : $flag;
+ }
+
+ return new $this->_messageClass(array('handler' => $this, 'id' => $id, 'headers' => $header, 'flags' => $flags));
+ }
+
+ /*
+ * Get raw header of message or part
+ *
+ * @param int $id number of message
+ * @param null|array|string $part path to part or null for messsage header
+ * @param int $topLines include this many lines with header (after an empty line)
+ * @param int $topLines include this many lines with header (after an empty line)
+ * @return string raw header
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getRawHeader($id, $part = null, $topLines = 0)
+ {
+ if ($part !== null) {
+ // TODO: implement
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('not implemented');
+ }
+
+ // TODO: toplines
+ return $this->_protocol->fetch('RFC822.HEADER', $id);
+ }
+
+ /*
+ * Get raw content of message or part
+ *
+ * @param int $id number of message
+ * @param null|array|string $part path to part or null for messsage content
+ * @return string raw content
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getRawContent($id, $part = null)
+ {
+ if ($part !== null) {
+ // TODO: implement
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('not implemented');
+ }
+
+ return $this->_protocol->fetch('RFC822.TEXT', $id);
+ }
+
+ /**
+ * create instance with parameters
+ * Supported paramters are
+ * - user username
+ * - host hostname or ip address of IMAP server [optional, default = 'localhost']
+ * - password password for user 'username' [optional, default = '']
+ * - port port for IMAP server [optional, default = 110]
+ * - ssl 'SSL' or 'TLS' for secure sockets
+ * - folder select this folder [optional, default = 'INBOX']
+ *
+ * @param array $params mail reader specific parameters
+ * @throws Postman_Zend_Mail_Storage_Exception
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function __construct($params)
+ {
+ if (is_array($params)) {
+ $params = (object)$params;
+ }
+
+ $this->_has['flags'] = true;
+
+ if ($params instanceof Postman_Zend_Mail_Protocol_Imap) {
+ $this->_protocol = $params;
+ try {
+ $this->selectFolder('INBOX');
+ } catch(Postman_Zend_Mail_Storage_Exception $e) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('cannot select INBOX, is this a valid transport?', 0, $e);
+ }
+ return;
+ }
+
+ if (!isset($params->user)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('need at least user in params');
+ }
+
+ $host = isset($params->host) ? $params->host : 'localhost';
+ $password = isset($params->password) ? $params->password : '';
+ $port = isset($params->port) ? $params->port : null;
+ $ssl = isset($params->ssl) ? $params->ssl : false;
+
+ $this->_protocol = new Postman_Zend_Mail_Protocol_Imap();
+ $this->_protocol->connect($host, $port, $ssl);
+ if (!$this->_protocol->login($params->user, $password)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('cannot login, user or password wrong');
+ }
+ $this->selectFolder(isset($params->folder) ? $params->folder : 'INBOX');
+ }
+
+ /**
+ * Close resource for mail lib. If you need to control, when the resource
+ * is closed. Otherwise the destructor would call this.
+ *
+ * @return null
+ */
+ public function close()
+ {
+ $this->_currentFolder = '';
+ $this->_protocol->logout();
+ }
+
+ /**
+ * Keep the server busy.
+ *
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function noop()
+ {
+ if (!$this->_protocol->noop()) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('could not do nothing');
+ }
+ }
+
+ /**
+ * Remove a message from server. If you're doing that from a web enviroment
+ * you should be careful and use a uniqueid as parameter if possible to
+ * identify the message.
+ *
+ * @param int $id number of message
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function removeMessage($id)
+ {
+ if (!$this->_protocol->store(array(Postman_Zend_Mail_Storage::FLAG_DELETED), $id, null, '+')) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('cannot set deleted flag');
+ }
+ // TODO: expunge here or at close? we can handle an error here better and are more fail safe
+ if (!$this->_protocol->expunge()) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('message marked as deleted, but could not expunge');
+ }
+ }
+
+ /**
+ * get unique id for one or all messages
+ *
+ * if storage does not support unique ids it's the same as the message number
+ *
+ * @param int|null $id message number
+ * @return array|string message number for given message or all messages as array
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getUniqueId($id = null)
+ {
+ if ($id) {
+ return $this->_protocol->fetch('UID', $id);
+ }
+
+ return $this->_protocol->fetch('UID', 1, INF);
+ }
+
+ /**
+ * get a message number from a unique id
+ *
+ * I.e. if you have a webmailer that supports deleting messages you should use unique ids
+ * as parameter and use this method to translate it to message number right before calling removeMessage()
+ *
+ * @param string $id unique id
+ * @return int message number
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getNumberByUniqueId($id)
+ {
+ // TODO: use search to find number directly
+ $ids = $this->getUniqueId();
+ foreach ($ids as $k => $v) {
+ if ($v == $id) {
+ return $k;
+ }
+ }
+
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('unique id not found');
+ }
+
+
+ /**
+ * get root folder or given folder
+ *
+ * @param string $rootFolder get folder structure for given folder, else root
+ * @return Postman_Zend_Mail_Storage_Folder root or wanted folder
+ * @throws Postman_Zend_Mail_Storage_Exception
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function getFolders($rootFolder = null)
+ {
+ $folders = $this->_protocol->listMailbox((string)$rootFolder);
+ if (!$folders) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('folder not found');
+ }
+
+ ksort($folders, SORT_STRING);
+ $root = new Postman_Zend_Mail_Storage_Folder('/', '/', false);
+ $stack = array(null);
+ $folderStack = array(null);
+ $parentFolder = $root;
+ $parent = '';
+
+ foreach ($folders as $globalName => $data) {
+ do {
+ if (!$parent || strpos($globalName, $parent) === 0) {
+ $pos = strrpos($globalName, $data['delim']);
+ if ($pos === false) {
+ $localName = $globalName;
+ } else {
+ $localName = substr($globalName, $pos + 1);
+ }
+ $selectable = !$data['flags'] || !in_array('\\Noselect', $data['flags']);
+
+ array_push($stack, $parent);
+ $parent = $globalName . $data['delim'];
+ $folder = new Postman_Zend_Mail_Storage_Folder($localName, $globalName, $selectable);
+ $parentFolder->$localName = $folder;
+ array_push($folderStack, $parentFolder);
+ $parentFolder = $folder;
+ break;
+ } else if ($stack) {
+ $parent = array_pop($stack);
+ $parentFolder = array_pop($folderStack);
+ }
+ } while ($stack);
+ if (!$stack) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('error while constructing folder tree');
+ }
+ }
+
+ return $root;
+ }
+
+ /**
+ * select given folder
+ *
+ * folder must be selectable!
+ *
+ * @param Postman_Zend_Mail_Storage_Folder|string $globalName global name of folder or instance for subfolder
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function selectFolder($globalName)
+ {
+ $this->_currentFolder = $globalName;
+ if (!$this->_protocol->select($this->_currentFolder)) {
+ $this->_currentFolder = '';
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('cannot change folder, maybe it does not exist');
+ }
+ }
+
+
+ /**
+ * get Postman_Zend_Mail_Storage_Folder instance for current folder
+ *
+ * @return Postman_Zend_Mail_Storage_Folder instance of current folder
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getCurrentFolder()
+ {
+ return $this->_currentFolder;
+ }
+
+ /**
+ * create a new folder
+ *
+ * This method also creates parent folders if necessary. Some mail storages may restrict, which folder
+ * may be used as parent or which chars may be used in the folder name
+ *
+ * @param string $name global name of folder, local name if $parentFolder is set
+ * @param string|Postman_Zend_Mail_Storage_Folder $parentFolder parent folder for new folder, else root folder is parent
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function createFolder($name, $parentFolder = null)
+ {
+ // TODO: we assume / as the hierarchy delim - need to get that from the folder class!
+ if ($parentFolder instanceof Postman_Zend_Mail_Storage_Folder) {
+ $folder = $parentFolder->getGlobalName() . '/' . $name;
+ } else if ($parentFolder != null) {
+ $folder = $parentFolder . '/' . $name;
+ } else {
+ $folder = $name;
+ }
+
+ if (!$this->_protocol->create($folder)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('cannot create folder');
+ }
+ }
+
+ /**
+ * remove a folder
+ *
+ * @param string|Postman_Zend_Mail_Storage_Folder $name name or instance of folder
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function removeFolder($name)
+ {
+ if ($name instanceof Postman_Zend_Mail_Storage_Folder) {
+ $name = $name->getGlobalName();
+ }
+
+ if (!$this->_protocol->delete($name)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('cannot delete folder');
+ }
+ }
+
+ /**
+ * rename and/or move folder
+ *
+ * The new name has the same restrictions as in createFolder()
+ *
+ * @param string|Postman_Zend_Mail_Storage_Folder $oldName name or instance of folder
+ * @param string $newName new global name of folder
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function renameFolder($oldName, $newName)
+ {
+ if ($oldName instanceof Postman_Zend_Mail_Storage_Folder) {
+ $oldName = $oldName->getGlobalName();
+ }
+
+ if (!$this->_protocol->rename($oldName, $newName)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('cannot rename folder');
+ }
+ }
+
+ /**
+ * append a new message to mail storage
+ *
+ * @param string $message message as string or instance of message class
+ * @param null|string|Postman_Zend_Mail_Storage_Folder $folder folder for new message, else current folder is taken
+ * @param null|array $flags set flags for new message, else a default set is used
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ // not yet * @param string|Postman_Zend_Mail_Message|Postman_Zend_Mime_Message $message message as string or instance of message class
+ public function appendMessage($message, $folder = null, $flags = null)
+ {
+ if ($folder === null) {
+ $folder = $this->_currentFolder;
+ }
+
+ if ($flags === null) {
+ $flags = array(Postman_Zend_Mail_Storage::FLAG_SEEN);
+ }
+
+ // TODO: handle class instances for $message
+ if (!$this->_protocol->append($folder, $message, $flags)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('cannot create message, please check if the folder exists and your flags');
+ }
+ }
+
+ /**
+ * copy an existing message
+ *
+ * @param int $id number of message
+ * @param string|Postman_Zend_Mail_Storage_Folder $folder name or instance of targer folder
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function copyMessage($id, $folder)
+ {
+ if (!$this->_protocol->copy($folder, $id)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('cannot copy message, does the folder exist?');
+ }
+ }
+
+ /**
+ * move an existing message
+ *
+ * NOTE: imap has no native move command, thus it's emulated with copy and delete
+ *
+ * @param int $id number of message
+ * @param string|Postman_Zend_Mail_Storage_Folder $folder name or instance of targer folder
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function moveMessage($id, $folder) {
+ $this->copyMessage($id, $folder);
+ $this->removeMessage($id);
+ }
+
+ /**
+ * set flags for message
+ *
+ * NOTE: this method can't set the recent flag.
+ *
+ * @param int $id number of message
+ * @param array $flags new flags for message
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function setFlags($id, $flags)
+ {
+ if (!$this->_protocol->store($flags, $id)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('cannot set flags, have you tried to set the recent flag or special chars?');
+ }
+ }
+}
+
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Maildir.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Maildir.php
new file mode 100644
index 0000000..39913ca
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Maildir.php
@@ -0,0 +1,475 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @see Postman_Zend_Mail_Storage_Abstract
+ */
+require_once 'Zend/Mail/Storage/Abstract.php';
+
+/**
+ * @see Postman_Zend_Mail_Message_File
+ */
+require_once 'Zend/Mail/Message/File.php';
+
+/**
+ * @see Postman_Zend_Mail_Storage
+ */
+require_once 'Zend/Mail/Storage.php';
+
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Storage_Maildir extends Postman_Zend_Mail_Storage_Abstract
+{
+ /**
+ * used message class, change it in an extened class to extend the returned message class
+ * @var string
+ */
+ protected $_messageClass = 'Postman_Zend_Mail_Message_File';
+
+ /**
+ * data of found message files in maildir dir
+ * @var array
+ */
+ protected $_files = array();
+
+ /**
+ * known flag chars in filenames
+ *
+ * This list has to be in alphabetical order for setFlags()
+ *
+ * @var array
+ */
+ protected static $_knownFlags = array('D' => Postman_Zend_Mail_Storage::FLAG_DRAFT,
+ 'F' => Postman_Zend_Mail_Storage::FLAG_FLAGGED,
+ 'P' => Postman_Zend_Mail_Storage::FLAG_PASSED,
+ 'R' => Postman_Zend_Mail_Storage::FLAG_ANSWERED,
+ 'S' => Postman_Zend_Mail_Storage::FLAG_SEEN,
+ 'T' => Postman_Zend_Mail_Storage::FLAG_DELETED);
+
+ // TODO: getFlags($id) for fast access if headers are not needed (i.e. just setting flags)?
+
+ /**
+ * Count messages all messages in current box
+ *
+ * @return int number of messages
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function countMessages($flags = null)
+ {
+ if ($flags === null) {
+ return count($this->_files);
+ }
+
+ $count = 0;
+ if (!is_array($flags)) {
+ foreach ($this->_files as $file) {
+ if (isset($file['flaglookup'][$flags])) {
+ ++$count;
+ }
+ }
+ return $count;
+ }
+
+ $flags = array_flip($flags);
+ foreach ($this->_files as $file) {
+ foreach ($flags as $flag => $v) {
+ if (!isset($file['flaglookup'][$flag])) {
+ continue 2;
+ }
+ }
+ ++$count;
+ }
+ return $count;
+ }
+
+ /**
+ * Get one or all fields from file structure. Also checks if message is valid
+ *
+ * @param int $id message number
+ * @param string|null $field wanted field
+ * @return string|array wanted field or all fields as array
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ protected function _getFileData($id, $field = null)
+ {
+ if (!isset($this->_files[$id - 1])) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('id does not exist');
+ }
+
+ if (!$field) {
+ return $this->_files[$id - 1];
+ }
+
+ if (!isset($this->_files[$id - 1][$field])) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('field does not exist');
+ }
+
+ return $this->_files[$id - 1][$field];
+ }
+
+ /**
+ * Get a list of messages with number and size
+ *
+ * @param int|null $id number of message or null for all messages
+ * @return int|array size of given message of list with all messages as array(num => size)
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getSize($id = null)
+ {
+ if ($id !== null) {
+ $filedata = $this->_getFileData($id);
+ return isset($filedata['size']) ? $filedata['size'] : filesize($filedata['filename']);
+ }
+
+ $result = array();
+ foreach ($this->_files as $num => $data) {
+ $result[$num + 1] = isset($data['size']) ? $data['size'] : filesize($data['filename']);
+ }
+
+ return $result;
+ }
+
+
+
+ /**
+ * Fetch a message
+ *
+ * @param int $id number of message
+ * @return Postman_Zend_Mail_Message_File
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getMessage($id)
+ {
+ // TODO that's ugly, would be better to let the message class decide
+ if (strtolower($this->_messageClass) == 'Postman_Zend_mail_message_file' || is_subclass_of($this->_messageClass, 'Postman_Zend_mail_message_file')) {
+ return new $this->_messageClass(array('file' => $this->_getFileData($id, 'filename'),
+ 'flags' => $this->_getFileData($id, 'flags')));
+ }
+
+ return new $this->_messageClass(array('handler' => $this, 'id' => $id, 'headers' => $this->getRawHeader($id),
+ 'flags' => $this->_getFileData($id, 'flags')));
+ }
+
+ /*
+ * Get raw header of message or part
+ *
+ * @param int $id number of message
+ * @param null|array|string $part path to part or null for messsage header
+ * @param int $topLines include this many lines with header (after an empty line)
+ * @return string raw header
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getRawHeader($id, $part = null, $topLines = 0)
+ {
+ if ($part !== null) {
+ // TODO: implement
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('not implemented');
+ }
+
+ $fh = fopen($this->_getFileData($id, 'filename'), 'r');
+
+ $content = '';
+ while (!feof($fh)) {
+ $line = fgets($fh);
+ if (!trim($line)) {
+ break;
+ }
+ $content .= $line;
+ }
+
+ fclose($fh);
+ return $content;
+ }
+
+ /*
+ * Get raw content of message or part
+ *
+ * @param int $id number of message
+ * @param null|array|string $part path to part or null for messsage content
+ * @return string raw content
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getRawContent($id, $part = null)
+ {
+ if ($part !== null) {
+ // TODO: implement
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('not implemented');
+ }
+
+ $fh = fopen($this->_getFileData($id, 'filename'), 'r');
+
+ while (!feof($fh)) {
+ $line = fgets($fh);
+ if (!trim($line)) {
+ break;
+ }
+ }
+
+ $content = stream_get_contents($fh);
+ fclose($fh);
+ return $content;
+ }
+
+ /**
+ * Create instance with parameters
+ * Supported parameters are:
+ * - dirname dirname of mbox file
+ *
+ * @param array $params mail reader specific parameters
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function __construct($params)
+ {
+ if (is_array($params)) {
+ $params = (object)$params;
+ }
+
+ if (!isset($params->dirname) || !is_dir($params->dirname)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('no valid dirname given in params');
+ }
+
+ if (!$this->_isMaildir($params->dirname)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('invalid maildir given');
+ }
+
+ $this->_has['top'] = true;
+ $this->_has['flags'] = true;
+ $this->_openMaildir($params->dirname);
+ }
+
+ /**
+ * check if a given dir is a valid maildir
+ *
+ * @param string $dirname name of dir
+ * @return bool dir is valid maildir
+ */
+ protected function _isMaildir($dirname)
+ {
+ if (file_exists($dirname . '/new') && !is_dir($dirname . '/new')) {
+ return false;
+ }
+ if (file_exists($dirname . '/tmp') && !is_dir($dirname . '/tmp')) {
+ return false;
+ }
+ return is_dir($dirname . '/cur');
+ }
+
+ /**
+ * open given dir as current maildir
+ *
+ * @param string $dirname name of maildir
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ protected function _openMaildir($dirname)
+ {
+ if ($this->_files) {
+ $this->close();
+ }
+
+ $dh = @opendir($dirname . '/cur/');
+ if (!$dh) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('cannot open maildir');
+ }
+ $this->_getMaildirFiles($dh, $dirname . '/cur/');
+ closedir($dh);
+
+ $dh = @opendir($dirname . '/new/');
+ if ($dh) {
+ $this->_getMaildirFiles($dh, $dirname . '/new/', array(Postman_Zend_Mail_Storage::FLAG_RECENT));
+ closedir($dh);
+ } else if (file_exists($dirname . '/new/')) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('cannot read recent mails in maildir');
+ }
+ }
+
+ /**
+ * find all files in opened dir handle and add to maildir files
+ *
+ * @param resource $dh dir handle used for search
+ * @param string $dirname dirname of dir in $dh
+ * @param array $default_flags default flags for given dir
+ * @return null
+ */
+ protected function _getMaildirFiles($dh, $dirname, $default_flags = array())
+ {
+ while (($entry = readdir($dh)) !== false) {
+ if ($entry[0] == '.' || !is_file($dirname . $entry)) {
+ continue;
+ }
+
+ @list($uniq, $info) = explode(':', $entry, 2);
+ @list(,$size) = explode(',', $uniq, 2);
+ if ($size && $size[0] == 'S' && $size[1] == '=') {
+ $size = substr($size, 2);
+ }
+ if (!ctype_digit($size)) {
+ $size = null;
+ }
+ @list($version, $flags) = explode(',', $info, 2);
+ if ($version != 2) {
+ $flags = '';
+ }
+
+ $named_flags = $default_flags;
+ $length = strlen($flags);
+ for ($i = 0; $i < $length; ++$i) {
+ $flag = $flags[$i];
+ $named_flags[$flag] = isset(self::$_knownFlags[$flag]) ? self::$_knownFlags[$flag] : $flag;
+ }
+
+ $data = array('uniq' => $uniq,
+ 'flags' => $named_flags,
+ 'flaglookup' => array_flip($named_flags),
+ 'filename' => $dirname . $entry);
+ if ($size !== null) {
+ $data['size'] = (int)$size;
+ }
+ $this->_files[] = $data;
+ }
+ }
+
+
+ /**
+ * Close resource for mail lib. If you need to control, when the resource
+ * is closed. Otherwise the destructor would call this.
+ *
+ * @return void
+ */
+ public function close()
+ {
+ $this->_files = array();
+ }
+
+
+ /**
+ * Waste some CPU cycles doing nothing.
+ *
+ * @return void
+ */
+ public function noop()
+ {
+ return true;
+ }
+
+
+ /**
+ * stub for not supported message deletion
+ *
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function removeMessage($id)
+ {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('maildir is (currently) read-only');
+ }
+
+ /**
+ * get unique id for one or all messages
+ *
+ * if storage does not support unique ids it's the same as the message number
+ *
+ * @param int|null $id message number
+ * @return array|string message number for given message or all messages as array
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getUniqueId($id = null)
+ {
+ if ($id) {
+ return $this->_getFileData($id, 'uniq');
+ }
+
+ $ids = array();
+ foreach ($this->_files as $num => $file) {
+ $ids[$num + 1] = $file['uniq'];
+ }
+ return $ids;
+ }
+
+ /**
+ * get a message number from a unique id
+ *
+ * I.e. if you have a webmailer that supports deleting messages you should use unique ids
+ * as parameter and use this method to translate it to message number right before calling removeMessage()
+ *
+ * @param string $id unique id
+ * @return int message number
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getNumberByUniqueId($id)
+ {
+ foreach ($this->_files as $num => $file) {
+ if ($file['uniq'] == $id) {
+ return $num + 1;
+ }
+ }
+
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('unique id not found');
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Mbox.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Mbox.php
new file mode 100644
index 0000000..0880a96
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Mbox.php
@@ -0,0 +1,447 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @see Postman_Zend_Loader
+ * May be used in constructor, but commented out for now
+ */
+// require_once 'Zend/Loader.php';
+
+/**
+ * @see Postman_Zend_Mail_Storage_Abstract
+ */
+require_once 'Zend/Mail/Storage/Abstract.php';
+
+/**
+ * @see Postman_Zend_Mail_Message_File
+ */
+require_once 'Zend/Mail/Message/File.php';
+
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Storage_Mbox extends Postman_Zend_Mail_Storage_Abstract
+{
+ /**
+ * file handle to mbox file
+ * @var null|resource
+ */
+ protected $_fh;
+
+ /**
+ * filename of mbox file for __wakeup
+ * @var string
+ */
+ protected $_filename;
+
+ /**
+ * modification date of mbox file for __wakeup
+ * @var int
+ */
+ protected $_filemtime;
+
+ /**
+ * start and end position of messages as array('start' => start, 'seperator' => headersep, 'end' => end)
+ * @var array
+ */
+ protected $_positions;
+
+ /**
+ * used message class, change it in an extened class to extend the returned message class
+ * @var string
+ */
+ protected $_messageClass = 'Postman_Zend_Mail_Message_File';
+
+ /**
+ * Count messages all messages in current box
+ *
+ * @return int number of messages
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function countMessages()
+ {
+ return count($this->_positions);
+ }
+
+
+ /**
+ * Get a list of messages with number and size
+ *
+ * @param int|null $id number of message or null for all messages
+ * @return int|array size of given message of list with all messages as array(num => size)
+ */
+ public function getSize($id = 0)
+ {
+ if ($id) {
+ $pos = $this->_positions[$id - 1];
+ return $pos['end'] - $pos['start'];
+ }
+
+ $result = array();
+ foreach ($this->_positions as $num => $pos) {
+ $result[$num + 1] = $pos['end'] - $pos['start'];
+ }
+
+ return $result;
+ }
+
+
+ /**
+ * Get positions for mail message or throw exeption if id is invalid
+ *
+ * @param int $id number of message
+ * @return array positions as in _positions
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ protected function _getPos($id)
+ {
+ if (!isset($this->_positions[$id - 1])) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('id does not exist');
+ }
+
+ return $this->_positions[$id - 1];
+ }
+
+
+ /**
+ * Fetch a message
+ *
+ * @param int $id number of message
+ * @return Postman_Zend_Mail_Message_File
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getMessage($id)
+ {
+ // TODO that's ugly, would be better to let the message class decide
+ if (strtolower($this->_messageClass) == 'Postman_Zend_mail_message_file' || is_subclass_of($this->_messageClass, 'Postman_Zend_mail_message_file')) {
+ // TODO top/body lines
+ $messagePos = $this->_getPos($id);
+ return new $this->_messageClass(array('file' => $this->_fh, 'startPos' => $messagePos['start'],
+ 'endPos' => $messagePos['end']));
+ }
+
+ $bodyLines = 0; // TODO: need a way to change that
+
+ $message = $this->getRawHeader($id);
+ // file pointer is after headers now
+ if ($bodyLines) {
+ $message .= "\n";
+ while ($bodyLines-- && ftell($this->_fh) < $this->_positions[$id - 1]['end']) {
+ $message .= fgets($this->_fh);
+ }
+ }
+
+ return new $this->_messageClass(array('handler' => $this, 'id' => $id, 'headers' => $message));
+ }
+
+ /*
+ * Get raw header of message or part
+ *
+ * @param int $id number of message
+ * @param null|array|string $part path to part or null for messsage header
+ * @param int $topLines include this many lines with header (after an empty line)
+ * @return string raw header
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getRawHeader($id, $part = null, $topLines = 0)
+ {
+ if ($part !== null) {
+ // TODO: implement
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('not implemented');
+ }
+ $messagePos = $this->_getPos($id);
+ // TODO: toplines
+ return stream_get_contents($this->_fh, $messagePos['separator'] - $messagePos['start'], $messagePos['start']);
+ }
+
+ /*
+ * Get raw content of message or part
+ *
+ * @param int $id number of message
+ * @param null|array|string $part path to part or null for messsage content
+ * @return string raw content
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getRawContent($id, $part = null)
+ {
+ if ($part !== null) {
+ // TODO: implement
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('not implemented');
+ }
+ $messagePos = $this->_getPos($id);
+ return stream_get_contents($this->_fh, $messagePos['end'] - $messagePos['separator'], $messagePos['separator']);
+ }
+
+ /**
+ * Create instance with parameters
+ * Supported parameters are:
+ * - filename filename of mbox file
+ *
+ * @param array $params mail reader specific parameters
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function __construct($params)
+ {
+ if (is_array($params)) {
+ $params = (object)$params;
+ }
+
+ if (!isset($params->filename) /* || Postman_Zend_Loader::isReadable($params['filename']) */) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('no valid filename given in params');
+ }
+
+ $this->_openMboxFile($params->filename);
+ $this->_has['top'] = true;
+ $this->_has['uniqueid'] = false;
+ }
+
+ /**
+ * check if given file is a mbox file
+ *
+ * if $file is a resource its file pointer is moved after the first line
+ *
+ * @param resource|string $file stream resource of name of file
+ * @param bool $fileIsString file is string or resource
+ * @return bool file is mbox file
+ */
+ protected function _isMboxFile($file, $fileIsString = true)
+ {
+ if ($fileIsString) {
+ $file = @fopen($file, 'r');
+ if (!$file) {
+ return false;
+ }
+ } else {
+ fseek($file, 0);
+ }
+
+ $result = false;
+
+ $line = fgets($file);
+ if (strpos($line, 'From ') === 0) {
+ $result = true;
+ }
+
+ if ($fileIsString) {
+ @fclose($file);
+ }
+
+ return $result;
+ }
+
+ /**
+ * open given file as current mbox file
+ *
+ * @param string $filename filename of mbox file
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ protected function _openMboxFile($filename)
+ {
+ if ($this->_fh) {
+ $this->close();
+ }
+
+ $this->_fh = @fopen($filename, 'r');
+ if (!$this->_fh) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('cannot open mbox file');
+ }
+ $this->_filename = $filename;
+ $this->_filemtime = filemtime($this->_filename);
+
+ if (!$this->_isMboxFile($this->_fh, false)) {
+ @fclose($this->_fh);
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('file is not a valid mbox format');
+ }
+
+ $messagePos = array('start' => ftell($this->_fh), 'separator' => 0, 'end' => 0);
+ while (($line = fgets($this->_fh)) !== false) {
+ if (strpos($line, 'From ') === 0) {
+ $messagePos['end'] = ftell($this->_fh) - strlen($line) - 2; // + newline
+ if (!$messagePos['separator']) {
+ $messagePos['separator'] = $messagePos['end'];
+ }
+ $this->_positions[] = $messagePos;
+ $messagePos = array('start' => ftell($this->_fh), 'separator' => 0, 'end' => 0);
+ }
+ if (!$messagePos['separator'] && !trim($line)) {
+ $messagePos['separator'] = ftell($this->_fh);
+ }
+ }
+
+ $messagePos['end'] = ftell($this->_fh);
+ if (!$messagePos['separator']) {
+ $messagePos['separator'] = $messagePos['end'];
+ }
+ $this->_positions[] = $messagePos;
+ }
+
+ /**
+ * Close resource for mail lib. If you need to control, when the resource
+ * is closed. Otherwise the destructor would call this.
+ *
+ * @return void
+ */
+ public function close()
+ {
+ @fclose($this->_fh);
+ $this->_positions = array();
+ }
+
+
+ /**
+ * Waste some CPU cycles doing nothing.
+ *
+ * @return void
+ */
+ public function noop()
+ {
+ return true;
+ }
+
+
+ /**
+ * stub for not supported message deletion
+ *
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function removeMessage($id)
+ {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('mbox is read-only');
+ }
+
+ /**
+ * get unique id for one or all messages
+ *
+ * Mbox does not support unique ids (yet) - it's always the same as the message number.
+ * That shouldn't be a problem, because we can't change mbox files. Therefor the message
+ * number is save enough.
+ *
+ * @param int|null $id message number
+ * @return array|string message number for given message or all messages as array
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getUniqueId($id = null)
+ {
+ if ($id) {
+ // check if id exists
+ $this->_getPos($id);
+ return $id;
+ }
+
+ $range = range(1, $this->countMessages());
+ return array_combine($range, $range);
+ }
+
+ /**
+ * get a message number from a unique id
+ *
+ * I.e. if you have a webmailer that supports deleting messages you should use unique ids
+ * as parameter and use this method to translate it to message number right before calling removeMessage()
+ *
+ * @param string $id unique id
+ * @return int message number
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getNumberByUniqueId($id)
+ {
+ // check if id exists
+ $this->_getPos($id);
+ return $id;
+ }
+
+ /**
+ * magic method for serialize()
+ *
+ * with this method you can cache the mbox class
+ *
+ * @return array name of variables
+ */
+ public function __sleep()
+ {
+ return array('_filename', '_positions', '_filemtime');
+ }
+
+ /**
+ * magic method for unserialize()
+ *
+ * with this method you can cache the mbox class
+ * for cache validation the mtime of the mbox file is used
+ *
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function __wakeup()
+ {
+ if ($this->_filemtime != @filemtime($this->_filename)) {
+ $this->close();
+ $this->_openMboxFile($this->_filename);
+ } else {
+ $this->_fh = @fopen($this->_filename, 'r');
+ if (!$this->_fh) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('cannot open mbox file');
+ }
+ }
+ }
+
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Pop3.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Pop3.php
new file mode 100644
index 0000000..efc8f8d
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Pop3.php
@@ -0,0 +1,328 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @see Postman_Zend_Mail_Storage_Abstract
+ */
+require_once 'Zend/Mail/Storage/Abstract.php';
+
+/**
+ * @see Postman_Zend_Mail_Protocol_Pop3
+ */
+require_once 'Zend/Mail/Protocol/Pop3.php';
+
+/**
+ * @see Postman_Zend_Mail_Message
+ */
+require_once 'Zend/Mail/Message.php';
+
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Storage_Pop3 extends Postman_Zend_Mail_Storage_Abstract
+{
+ /**
+ * protocol handler
+ * @var null|Postman_Zend_Mail_Protocol_Pop3
+ */
+ protected $_protocol;
+
+
+ /**
+ * Count messages all messages in current box
+ *
+ * @return int number of messages
+ * @throws Postman_Zend_Mail_Storage_Exception
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function countMessages()
+ {
+ $this->_protocol->status($count, $null);
+ return (int)$count;
+ }
+
+ /**
+ * get a list of messages with number and size
+ *
+ * @param int $id number of message
+ * @return int|array size of given message of list with all messages as array(num => size)
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function getSize($id = 0)
+ {
+ $id = $id ? $id : null;
+ return $this->_protocol->getList($id);
+ }
+
+ /**
+ * Fetch a message
+ *
+ * @param int $id number of message
+ * @return Postman_Zend_Mail_Message
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function getMessage($id)
+ {
+ $bodyLines = 0;
+ $message = $this->_protocol->top($id, $bodyLines, true);
+
+ return new $this->_messageClass(array('handler' => $this, 'id' => $id, 'headers' => $message,
+ 'noToplines' => $bodyLines < 1));
+ }
+
+ /*
+ * Get raw header of message or part
+ *
+ * @param int $id number of message
+ * @param null|array|string $part path to part or null for messsage header
+ * @param int $topLines include this many lines with header (after an empty line)
+ * @return string raw header
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getRawHeader($id, $part = null, $topLines = 0)
+ {
+ if ($part !== null) {
+ // TODO: implement
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('not implemented');
+ }
+
+ return $this->_protocol->top($id, 0, true);
+ }
+
+ /*
+ * Get raw content of message or part
+ *
+ * @param int $id number of message
+ * @param null|array|string $part path to part or null for messsage content
+ * @return string raw content
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getRawContent($id, $part = null)
+ {
+ if ($part !== null) {
+ // TODO: implement
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('not implemented');
+ }
+
+ $content = $this->_protocol->retrieve($id);
+ // TODO: find a way to avoid decoding the headers
+ Postman_Zend_Mime_Decode::splitMessage($content, $null, $body);
+ return $body;
+ }
+
+ /**
+ * create instance with parameters
+ * Supported paramters are
+ * - host hostname or ip address of POP3 server
+ * - user username
+ * - password password for user 'username' [optional, default = '']
+ * - port port for POP3 server [optional, default = 110]
+ * - ssl 'SSL' or 'TLS' for secure sockets
+ *
+ * @param array $params mail reader specific parameters
+ * @throws Postman_Zend_Mail_Storage_Exception
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function __construct($params)
+ {
+ if (is_array($params)) {
+ $params = (object)$params;
+ }
+
+ $this->_has['fetchPart'] = false;
+ $this->_has['top'] = null;
+ $this->_has['uniqueid'] = null;
+
+ if ($params instanceof Postman_Zend_Mail_Protocol_Pop3) {
+ $this->_protocol = $params;
+ return;
+ }
+
+ if (!isset($params->user)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('need at least user in params');
+ }
+
+ $host = isset($params->host) ? $params->host : 'localhost';
+ $password = isset($params->password) ? $params->password : '';
+ $port = isset($params->port) ? $params->port : null;
+ $ssl = isset($params->ssl) ? $params->ssl : false;
+
+ $this->_protocol = new Postman_Zend_Mail_Protocol_Pop3();
+ $this->_protocol->connect($host, $port, $ssl);
+ $this->_protocol->login($params->user, $password);
+ }
+
+ /**
+ * Close resource for mail lib. If you need to control, when the resource
+ * is closed. Otherwise the destructor would call this.
+ *
+ * @return null
+ */
+ public function close()
+ {
+ $this->_protocol->logout();
+ }
+
+ /**
+ * Keep the server busy.
+ *
+ * @return null
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function noop()
+ {
+ return $this->_protocol->noop();
+ }
+
+ /**
+ * Remove a message from server. If you're doing that from a web enviroment
+ * you should be careful and use a uniqueid as parameter if possible to
+ * identify the message.
+ *
+ * @param int $id number of message
+ * @return null
+ * @throws Postman_Zend_Mail_Protocol_Exception
+ */
+ public function removeMessage($id)
+ {
+ $this->_protocol->delete($id);
+ }
+
+ /**
+ * get unique id for one or all messages
+ *
+ * if storage does not support unique ids it's the same as the message number
+ *
+ * @param int|null $id message number
+ * @return array|string message number for given message or all messages as array
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getUniqueId($id = null)
+ {
+ if (!$this->hasUniqueid) {
+ if ($id) {
+ return $id;
+ }
+ $count = $this->countMessages();
+ if ($count < 1) {
+ return array();
+ }
+ $range = range(1, $count);
+ return array_combine($range, $range);
+ }
+
+ return $this->_protocol->uniqueid($id);
+ }
+
+ /**
+ * get a message number from a unique id
+ *
+ * I.e. if you have a webmailer that supports deleting messages you should use unique ids
+ * as parameter and use this method to translate it to message number right before calling removeMessage()
+ *
+ * @param string $id unique id
+ * @return int message number
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function getNumberByUniqueId($id)
+ {
+ if (!$this->hasUniqueid) {
+ return $id;
+ }
+
+ $ids = $this->getUniqueId();
+ foreach ($ids as $k => $v) {
+ if ($v == $id) {
+ return $k;
+ }
+ }
+
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('unique id not found');
+ }
+
+ /**
+ * Special handling for hasTop and hasUniqueid. The headers of the first message is
+ * retrieved if Top wasn't needed/tried yet.
+ *
+ * @see Postman_Zend_Mail_Storage_Abstract:__get()
+ * @param string $var
+ * @return string
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function __get($var)
+ {
+ $result = parent::__get($var);
+ if ($result !== null) {
+ return $result;
+ }
+
+ if (strtolower($var) == 'hastop') {
+ if ($this->_protocol->hasTop === null) {
+ // need to make a real call, because not all server are honest in their capas
+ try {
+ $this->_protocol->top(1, 0, false);
+ } catch(Postman_Zend_Mail_Exception $e) {
+ // ignoring error
+ }
+ }
+ $this->_has['top'] = $this->_protocol->hasTop;
+ return $this->_protocol->hasTop;
+ }
+
+ if (strtolower($var) == 'hasuniqueid') {
+ $id = null;
+ try {
+ $id = $this->_protocol->uniqueid(1);
+ } catch(Postman_Zend_Mail_Exception $e) {
+ // ignoring error
+ }
+ $this->_has['uniqueid'] = $id ? true : false;
+ return $this->_has['uniqueid'];
+ }
+
+ return $result;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Writable/Interface.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Writable/Interface.php
new file mode 100644
index 0000000..27ff498
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Writable/Interface.php
@@ -0,0 +1,108 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+
+interface Postman_Zend_Mail_Storage_Writable_Interface
+{
+ /**
+ * create a new folder
+ *
+ * This method also creates parent folders if necessary. Some mail storages may restrict, which folder
+ * may be used as parent or which chars may be used in the folder name
+ *
+ * @param string $name global name of folder, local name if $parentFolder is set
+ * @param string|Postman_Zend_Mail_Storage_Folder $parentFolder parent folder for new folder, else root folder is parent
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function createFolder($name, $parentFolder = null);
+
+ /**
+ * remove a folder
+ *
+ * @param string|Postman_Zend_Mail_Storage_Folder $name name or instance of folder
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function removeFolder($name);
+
+ /**
+ * rename and/or move folder
+ *
+ * The new name has the same restrictions as in createFolder()
+ *
+ * @param string|Postman_Zend_Mail_Storage_Folder $oldName name or instance of folder
+ * @param string $newName new global name of folder
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function renameFolder($oldName, $newName);
+
+ /**
+ * append a new message to mail storage
+ *
+ * @param string|Postman_Zend_Mail_Message|Postman_Zend_Mime_Message $message message as string or instance of message class
+ * @param null|string|Postman_Zend_Mail_Storage_Folder $folder folder for new message, else current folder is taken
+ * @param null|array $flags set flags for new message, else a default set is used
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function appendMessage($message, $folder = null, $flags = null);
+
+ /**
+ * copy an existing message
+ *
+ * @param int $id number of message
+ * @param string|Postman_Zend_Mail_Storage_Folder $folder name or instance of targer folder
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function copyMessage($id, $folder);
+
+ /**
+ * move an existing message
+ *
+ * @param int $id number of message
+ * @param string|Postman_Zend_Mail_Storage_Folder $folder name or instance of targer folder
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function moveMessage($id, $folder);
+
+ /**
+ * set flags for message
+ *
+ * NOTE: this method can't set the recent flag.
+ *
+ * @param int $id number of message
+ * @param array $flags new flags for message
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function setFlags($id, $flags);
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Writable/Maildir.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Writable/Maildir.php
new file mode 100644
index 0000000..7909f37
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Storage/Writable/Maildir.php
@@ -0,0 +1,1049 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @see Postman_Zend_Mail_Storage_Folder_Maildir
+ */
+require_once 'Zend/Mail/Storage/Folder/Maildir.php';
+
+/**
+ * @see Postman_Zend_Mail_Storage_Writable_Interface
+ */
+require_once 'Zend/Mail/Storage/Writable/Interface.php';
+
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Storage
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Storage_Writable_Maildir extends Postman_Zend_Mail_Storage_Folder_Maildir
+ implements Postman_Zend_Mail_Storage_Writable_Interface
+{
+ // TODO: init maildir (+ constructor option create if not found)
+
+ /**
+ * use quota and size of quota if given
+ * @var bool|int
+ */
+ protected $_quota;
+
+ /**
+ * create a new maildir
+ *
+ * If the given dir is already a valid maildir this will not fail.
+ *
+ * @param string $dir directory for the new maildir (may already exist)
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public static function initMaildir($dir)
+ {
+ if (file_exists($dir)) {
+ if (!is_dir($dir)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('maildir must be a directory if already exists');
+ }
+ } else {
+ if (!mkdir($dir)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ $dir = dirname($dir);
+ if (!file_exists($dir)) {
+ throw new Postman_Zend_Mail_Storage_Exception("parent $dir not found");
+ } else if (!is_dir($dir)) {
+ throw new Postman_Zend_Mail_Storage_Exception("parent $dir not a directory");
+ } else {
+ throw new Postman_Zend_Mail_Storage_Exception('cannot create maildir');
+ }
+ }
+ }
+
+ foreach (array('cur', 'tmp', 'new') as $subdir) {
+ if (!@mkdir($dir . DIRECTORY_SEPARATOR . $subdir)) {
+ // ignore if dir exists (i.e. was already valid maildir or two processes try to create one)
+ if (!file_exists($dir . DIRECTORY_SEPARATOR . $subdir)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('could not create subdir ' . $subdir);
+ }
+ }
+ }
+ }
+
+ /**
+ * Create instance with parameters
+ * Additional parameters are (see parent for more):
+ * - create if true a new maildir is create if none exists
+ *
+ * @param array $params mail reader specific parameters
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function __construct($params) {
+ if (is_array($params)) {
+ $params = (object)$params;
+ }
+
+ if (!empty($params->create) && isset($params->dirname) && !file_exists($params->dirname . DIRECTORY_SEPARATOR . 'cur')) {
+ self::initMaildir($params->dirname);
+ }
+
+ parent::__construct($params);
+ }
+
+ /**
+ * create a new folder
+ *
+ * This method also creates parent folders if necessary. Some mail storages may restrict, which folder
+ * may be used as parent or which chars may be used in the folder name
+ *
+ * @param string $name global name of folder, local name if $parentFolder is set
+ * @param string|Postman_Zend_Mail_Storage_Folder $parentFolder parent folder for new folder, else root folder is parent
+ * @return string only used internally (new created maildir)
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function createFolder($name, $parentFolder = null)
+ {
+ if ($parentFolder instanceof Postman_Zend_Mail_Storage_Folder) {
+ $folder = $parentFolder->getGlobalName() . $this->_delim . $name;
+ } else if ($parentFolder != null) {
+ $folder = rtrim($parentFolder, $this->_delim) . $this->_delim . $name;
+ } else {
+ $folder = $name;
+ }
+
+ $folder = trim($folder, $this->_delim);
+
+ // first we check if we try to create a folder that does exist
+ $exists = null;
+ try {
+ $exists = $this->getFolders($folder);
+ } catch (Postman_Zend_Mail_Exception $e) {
+ // ok
+ }
+ if ($exists) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('folder already exists');
+ }
+
+ if (strpos($folder, $this->_delim . $this->_delim) !== false) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('invalid name - folder parts may not be empty');
+ }
+
+ if (strpos($folder, 'INBOX' . $this->_delim) === 0) {
+ $folder = substr($folder, 6);
+ }
+
+ $fulldir = $this->_rootdir . '.' . $folder;
+
+ // check if we got tricked and would create a dir outside of the rootdir or not as direct child
+ if (strpos($folder, DIRECTORY_SEPARATOR) !== false || strpos($folder, '/') !== false
+ || dirname($fulldir) . DIRECTORY_SEPARATOR != $this->_rootdir) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('invalid name - no directory seprator allowed in folder name');
+ }
+
+ // has a parent folder?
+ $parent = null;
+ if (strpos($folder, $this->_delim)) {
+ // let's see if the parent folder exists
+ $parent = substr($folder, 0, strrpos($folder, $this->_delim));
+ try {
+ $this->getFolders($parent);
+ } catch (Postman_Zend_Mail_Exception $e) {
+ // does not - create parent folder
+ $this->createFolder($parent);
+ }
+ }
+
+ if (!@mkdir($fulldir) || !@mkdir($fulldir . DIRECTORY_SEPARATOR . 'cur')) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('error while creating new folder, may be created incompletly');
+ }
+
+ mkdir($fulldir . DIRECTORY_SEPARATOR . 'new');
+ mkdir($fulldir . DIRECTORY_SEPARATOR . 'tmp');
+
+ $localName = $parent ? substr($folder, strlen($parent) + 1) : $folder;
+ $this->getFolders($parent)->$localName = new Postman_Zend_Mail_Storage_Folder($localName, $folder, true);
+
+ return $fulldir;
+ }
+
+ /**
+ * remove a folder
+ *
+ * @param string|Postman_Zend_Mail_Storage_Folder $name name or instance of folder
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function removeFolder($name)
+ {
+ // TODO: This could fail in the middle of the task, which is not optimal.
+ // But there is no defined standard way to mark a folder as removed and there is no atomar fs-op
+ // to remove a directory. Also moving the folder to a/the trash folder is not possible, as
+ // all parent folders must be created. What we could do is add a dash to the front of the
+ // directory name and it should be ignored as long as other processes obey the standard.
+
+ if ($name instanceof Postman_Zend_Mail_Storage_Folder) {
+ $name = $name->getGlobalName();
+ }
+
+ $name = trim($name, $this->_delim);
+ if (strpos($name, 'INBOX' . $this->_delim) === 0) {
+ $name = substr($name, 6);
+ }
+
+ // check if folder exists and has no children
+ if (!$this->getFolders($name)->isLeaf()) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('delete children first');
+ }
+
+ if ($name == 'INBOX' || $name == DIRECTORY_SEPARATOR || $name == '/') {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('wont delete INBOX');
+ }
+
+ if ($name == $this->getCurrentFolder()) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('wont delete selected folder');
+ }
+
+ foreach (array('tmp', 'new', 'cur', '.') as $subdir) {
+ $dir = $this->_rootdir . '.' . $name . DIRECTORY_SEPARATOR . $subdir;
+ if (!file_exists($dir)) {
+ continue;
+ }
+ $dh = opendir($dir);
+ if (!$dh) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception("error opening $subdir");
+ }
+ while (($entry = readdir($dh)) !== false) {
+ if ($entry == '.' || $entry == '..') {
+ continue;
+ }
+ if (!unlink($dir . DIRECTORY_SEPARATOR . $entry)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception("error cleaning $subdir");
+ }
+ }
+ closedir($dh);
+ if ($subdir !== '.') {
+ if (!rmdir($dir)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception("error removing $subdir");
+ }
+ }
+ }
+
+ if (!rmdir($this->_rootdir . '.' . $name)) {
+ // at least we should try to make it a valid maildir again
+ mkdir($this->_rootdir . '.' . $name . DIRECTORY_SEPARATOR . 'cur');
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception("error removing maindir");
+ }
+
+ $parent = strpos($name, $this->_delim) ? substr($name, 0, strrpos($name, $this->_delim)) : null;
+ $localName = $parent ? substr($name, strlen($parent) + 1) : $name;
+ unset($this->getFolders($parent)->$localName);
+ }
+
+ /**
+ * rename and/or move folder
+ *
+ * The new name has the same restrictions as in createFolder()
+ *
+ * @param string|Postman_Zend_Mail_Storage_Folder $oldName name or instance of folder
+ * @param string $newName new global name of folder
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function renameFolder($oldName, $newName)
+ {
+ // TODO: This is also not atomar and has similar problems as removeFolder()
+
+ if ($oldName instanceof Postman_Zend_Mail_Storage_Folder) {
+ $oldName = $oldName->getGlobalName();
+ }
+
+ $oldName = trim($oldName, $this->_delim);
+ if (strpos($oldName, 'INBOX' . $this->_delim) === 0) {
+ $oldName = substr($oldName, 6);
+ }
+
+ $newName = trim($newName, $this->_delim);
+ if (strpos($newName, 'INBOX' . $this->_delim) === 0) {
+ $newName = substr($newName, 6);
+ }
+
+ if (strpos($newName, $oldName . $this->_delim) === 0) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('new folder cannot be a child of old folder');
+ }
+
+ // check if folder exists and has no children
+ $folder = $this->getFolders($oldName);
+
+ if ($oldName == 'INBOX' || $oldName == DIRECTORY_SEPARATOR || $oldName == '/') {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('wont rename INBOX');
+ }
+
+ if ($oldName == $this->getCurrentFolder()) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('wont rename selected folder');
+ }
+
+ $newdir = $this->createFolder($newName);
+
+ if (!$folder->isLeaf()) {
+ foreach ($folder as $k => $v) {
+ $this->renameFolder($v->getGlobalName(), $newName . $this->_delim . $k);
+ }
+ }
+
+ $olddir = $this->_rootdir . '.' . $folder;
+ foreach (array('tmp', 'new', 'cur') as $subdir) {
+ $subdir = DIRECTORY_SEPARATOR . $subdir;
+ if (!file_exists($olddir . $subdir)) {
+ continue;
+ }
+ // using copy or moving files would be even better - but also much slower
+ if (!rename($olddir . $subdir, $newdir . $subdir)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('error while moving ' . $subdir);
+ }
+ }
+ // create a dummy if removing fails - otherwise we can't read it next time
+ mkdir($olddir . DIRECTORY_SEPARATOR . 'cur');
+ $this->removeFolder($oldName);
+ }
+
+ /**
+ * create a uniqueid for maildir filename
+ *
+ * This is nearly the format defined in the maildir standard. The microtime() call should already
+ * create a uniqueid, the pid is for multicore/-cpu machine that manage to call this function at the
+ * exact same time, and uname() gives us the hostname for multiple machines accessing the same storage.
+ *
+ * If someone disables posix we create a random number of the same size, so this method should also
+ * work on Windows - if you manage to get maildir working on Windows.
+ * Microtime could also be disabled, altough I've never seen it.
+ *
+ * @return string new uniqueid
+ */
+ protected function _createUniqueId()
+ {
+ $id = '';
+ $id .= function_exists('microtime') ? microtime(true) : (time() . ' ' . rand(0, 100000));
+ $id .= '.' . (function_exists('posix_getpid') ? posix_getpid() : rand(50, 65535));
+ $id .= '.' . php_uname('n');
+
+ return $id;
+ }
+
+ /**
+ * open a temporary maildir file
+ *
+ * makes sure tmp/ exists and create a file with a unique name
+ * you should close the returned filehandle!
+ *
+ * @param string $folder name of current folder without leading .
+ * @return array array('dirname' => dir of maildir folder, 'uniq' => unique id, 'filename' => name of create file
+ * 'handle' => file opened for writing)
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ protected function _createTmpFile($folder = 'INBOX')
+ {
+ if ($folder == 'INBOX') {
+ $tmpdir = $this->_rootdir . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR;
+ } else {
+ $tmpdir = $this->_rootdir . '.' . $folder . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR;
+ }
+ if (!file_exists($tmpdir)) {
+ if (!mkdir($tmpdir)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('problems creating tmp dir');
+ }
+ }
+
+ // we should retry to create a unique id if a file with the same name exists
+ // to avoid a script timeout we only wait 1 second (instead of 2) and stop
+ // after a defined retry count
+ // if you change this variable take into account that it can take up to $max_tries seconds
+ // normally we should have a valid unique name after the first try, we're just following the "standard" here
+ $max_tries = 5;
+ for ($i = 0; $i < $max_tries; ++$i) {
+ $uniq = $this->_createUniqueId();
+ if (!file_exists($tmpdir . $uniq)) {
+ // here is the race condition! - as defined in the standard
+ // to avoid having a long time between stat()ing the file and creating it we're opening it here
+ // to mark the filename as taken
+ $fh = fopen($tmpdir . $uniq, 'w');
+ if (!$fh) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('could not open temp file');
+ }
+ break;
+ }
+ sleep(1);
+ }
+
+ if (!$fh) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception("tried $max_tries unique ids for a temp file, but all were taken"
+ . ' - giving up');
+ }
+
+ return array('dirname' => $this->_rootdir . '.' . $folder, 'uniq' => $uniq, 'filename' => $tmpdir . $uniq,
+ 'handle' => $fh);
+ }
+
+ /**
+ * create an info string for filenames with given flags
+ *
+ * @param array $flags wanted flags, with the reference you'll get the set flags with correct key (= char for flag)
+ * @return string info string for version 2 filenames including the leading colon
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ protected function _getInfoString(&$flags)
+ {
+ // accessing keys is easier, faster and it removes duplicated flags
+ $wanted_flags = array_flip($flags);
+ if (isset($wanted_flags[Postman_Zend_Mail_Storage::FLAG_RECENT])) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('recent flag may not be set');
+ }
+
+ $info = ':2,';
+ $flags = array();
+ foreach (Postman_Zend_Mail_Storage_Maildir::$_knownFlags as $char => $flag) {
+ if (!isset($wanted_flags[$flag])) {
+ continue;
+ }
+ $info .= $char;
+ $flags[$char] = $flag;
+ unset($wanted_flags[$flag]);
+ }
+
+ if (!empty($wanted_flags)) {
+ $wanted_flags = implode(', ', array_keys($wanted_flags));
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('unknown flag(s): ' . $wanted_flags);
+ }
+
+ return $info;
+ }
+
+ /**
+ * append a new message to mail storage
+ *
+ * @param string|stream $message message as string or stream resource
+ * @param null|string|Postman_Zend_Mail_Storage_Folder $folder folder for new message, else current folder is taken
+ * @param null|array $flags set flags for new message, else a default set is used
+ * @param bool $recent handle this mail as if recent flag has been set,
+ * should only be used in delivery
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ // not yet * @param string|Postman_Zend_Mail_Message|Postman_Zend_Mime_Message $message message as string or instance of message class
+
+ public function appendMessage($message, $folder = null, $flags = null, $recent = false)
+ {
+ if ($this->_quota && $this->checkQuota()) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('storage is over quota!');
+ }
+
+ if ($folder === null) {
+ $folder = $this->_currentFolder;
+ }
+
+ if (!($folder instanceof Postman_Zend_Mail_Storage_Folder)) {
+ $folder = $this->getFolders($folder);
+ }
+
+ if ($flags === null) {
+ $flags = array(Postman_Zend_Mail_Storage::FLAG_SEEN);
+ }
+ $info = $this->_getInfoString($flags);
+ $temp_file = $this->_createTmpFile($folder->getGlobalName());
+
+ // TODO: handle class instances for $message
+ if (is_resource($message) && get_resource_type($message) == 'stream') {
+ stream_copy_to_stream($message, $temp_file['handle']);
+ } else {
+ fputs($temp_file['handle'], $message);
+ }
+ fclose($temp_file['handle']);
+
+ // we're adding the size to the filename for maildir++
+ $size = filesize($temp_file['filename']);
+ if ($size !== false) {
+ $info = ',S=' . $size . $info;
+ }
+ $new_filename = $temp_file['dirname'] . DIRECTORY_SEPARATOR;
+ $new_filename .= $recent ? 'new' : 'cur';
+ $new_filename .= DIRECTORY_SEPARATOR . $temp_file['uniq'] . $info;
+
+ // we're throwing any exception after removing our temp file and saving it to this variable instead
+ $exception = null;
+
+ if (!link($temp_file['filename'], $new_filename)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ $exception = new Postman_Zend_Mail_Storage_Exception('cannot link message file to final dir');
+ }
+ @unlink($temp_file['filename']);
+
+ if ($exception) {
+ throw $exception;
+ }
+
+ $this->_files[] = array('uniq' => $temp_file['uniq'],
+ 'flags' => $flags,
+ 'filename' => $new_filename);
+ if ($this->_quota) {
+ $this->_addQuotaEntry((int)$size, 1);
+ }
+ }
+
+ /**
+ * copy an existing message
+ *
+ * @param int $id number of message
+ * @param string|Postman_Zend_Mail_Storage_Folder $folder name or instance of targer folder
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function copyMessage($id, $folder)
+ {
+ if ($this->_quota && $this->checkQuota()) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('storage is over quota!');
+ }
+
+ if (!($folder instanceof Postman_Zend_Mail_Storage_Folder)) {
+ $folder = $this->getFolders($folder);
+ }
+
+ $filedata = $this->_getFileData($id);
+ $old_file = $filedata['filename'];
+ $flags = $filedata['flags'];
+
+ // copied message can't be recent
+ while (($key = array_search(Postman_Zend_Mail_Storage::FLAG_RECENT, $flags)) !== false) {
+ unset($flags[$key]);
+ }
+ $info = $this->_getInfoString($flags);
+
+ // we're creating the copy as temp file before moving to cur/
+ $temp_file = $this->_createTmpFile($folder->getGlobalName());
+ // we don't write directly to the file
+ fclose($temp_file['handle']);
+
+ // we're adding the size to the filename for maildir++
+ $size = filesize($old_file);
+ if ($size !== false) {
+ $info = ',S=' . $size . $info;
+ }
+
+ $new_file = $temp_file['dirname'] . DIRECTORY_SEPARATOR . 'cur' . DIRECTORY_SEPARATOR . $temp_file['uniq'] . $info;
+
+ // we're throwing any exception after removing our temp file and saving it to this variable instead
+ $exception = null;
+
+ if (!copy($old_file, $temp_file['filename'])) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ $exception = new Postman_Zend_Mail_Storage_Exception('cannot copy message file');
+ } else if (!link($temp_file['filename'], $new_file)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ $exception = new Postman_Zend_Mail_Storage_Exception('cannot link message file to final dir');
+ }
+ @unlink($temp_file['filename']);
+
+ if ($exception) {
+ throw $exception;
+ }
+
+ if ($folder->getGlobalName() == $this->_currentFolder
+ || ($this->_currentFolder == 'INBOX' && $folder->getGlobalName() == '/')) {
+ $this->_files[] = array('uniq' => $temp_file['uniq'],
+ 'flags' => $flags,
+ 'filename' => $new_file);
+ }
+
+ if ($this->_quota) {
+ $this->_addQuotaEntry((int)$size, 1);
+ }
+ }
+
+ /**
+ * move an existing message
+ *
+ * @param int $id number of message
+ * @param string|Postman_Zend_Mail_Storage_Folder $folder name or instance of targer folder
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function moveMessage($id, $folder) {
+ if (!($folder instanceof Postman_Zend_Mail_Storage_Folder)) {
+ $folder = $this->getFolders($folder);
+ }
+
+ if ($folder->getGlobalName() == $this->_currentFolder
+ || ($this->_currentFolder == 'INBOX' && $folder->getGlobalName() == '/')) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('target is current folder');
+ }
+
+ $filedata = $this->_getFileData($id);
+ $old_file = $filedata['filename'];
+ $flags = $filedata['flags'];
+
+ // moved message can't be recent
+ while (($key = array_search(Postman_Zend_Mail_Storage::FLAG_RECENT, $flags)) !== false) {
+ unset($flags[$key]);
+ }
+ $info = $this->_getInfoString($flags);
+
+ // reserving a new name
+ $temp_file = $this->_createTmpFile($folder->getGlobalName());
+ fclose($temp_file['handle']);
+
+ // we're adding the size to the filename for maildir++
+ $size = filesize($old_file);
+ if ($size !== false) {
+ $info = ',S=' . $size . $info;
+ }
+
+ $new_file = $temp_file['dirname'] . DIRECTORY_SEPARATOR . 'cur' . DIRECTORY_SEPARATOR . $temp_file['uniq'] . $info;
+
+ // we're throwing any exception after removing our temp file and saving it to this variable instead
+ $exception = null;
+
+ if (!rename($old_file, $new_file)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ $exception = new Postman_Zend_Mail_Storage_Exception('cannot move message file');
+ }
+ @unlink($temp_file['filename']);
+
+ if ($exception) {
+ throw $exception;
+ }
+
+ unset($this->_files[$id - 1]);
+ // remove the gap
+ $this->_files = array_values($this->_files);
+ }
+
+
+ /**
+ * set flags for message
+ *
+ * NOTE: this method can't set the recent flag.
+ *
+ * @param int $id number of message
+ * @param array $flags new flags for message
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function setFlags($id, $flags)
+ {
+ $info = $this->_getInfoString($flags);
+ $filedata = $this->_getFileData($id);
+
+ // NOTE: double dirname to make sure we always move to cur. if recent flag has been set (message is in new) it will be moved to cur.
+ $new_filename = dirname(dirname($filedata['filename'])) . DIRECTORY_SEPARATOR . 'cur' . DIRECTORY_SEPARATOR . "$filedata[uniq]$info";
+
+ if (!@rename($filedata['filename'], $new_filename)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('cannot rename file');
+ }
+
+ $filedata['flags'] = $flags;
+ $filedata['filename'] = $new_filename;
+
+ $this->_files[$id - 1] = $filedata;
+ }
+
+
+ /**
+ * stub for not supported message deletion
+ *
+ * @return null
+ * @throws Postman_Zend_Mail_Storage_Exception
+ */
+ public function removeMessage($id)
+ {
+ $filename = $this->_getFileData($id, 'filename');
+
+ if ($this->_quota) {
+ $size = filesize($filename);
+ }
+
+ if (!@unlink($filename)) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('cannot remove message');
+ }
+ unset($this->_files[$id - 1]);
+ // remove the gap
+ $this->_files = array_values($this->_files);
+ if ($this->_quota) {
+ $this->_addQuotaEntry(0 - (int)$size, -1);
+ }
+ }
+
+ /**
+ * enable/disable quota and set a quota value if wanted or needed
+ *
+ * You can enable/disable quota with true/false. If you don't have
+ * a MDA or want to enforce a quota value you can also set this value
+ * here. Use array('size' => SIZE_QUOTA, 'count' => MAX_MESSAGE) do
+ * define your quota. Order of these fields does matter!
+ *
+ * @param bool|array $value new quota value
+ * @return null
+ */
+ public function setQuota($value) {
+ $this->_quota = $value;
+ }
+
+ /**
+ * get currently set quota
+ *
+ * @see Postman_Zend_Mail_Storage_Writable_Maildir::setQuota()
+ *
+ * @return bool|array
+ */
+ public function getQuota($fromStorage = false) {
+ if ($fromStorage) {
+ $fh = @fopen($this->_rootdir . 'maildirsize', 'r');
+ if (!$fh) {
+ /**
+ * @see Postman_Zend_Mail_Storage_Exception
+ */
+ require_once 'Zend/Mail/Storage/Exception.php';
+ throw new Postman_Zend_Mail_Storage_Exception('cannot open maildirsize');
+ }
+ $definition = fgets($fh);
+ fclose($fh);
+ $definition = explode(',', trim($definition));
+ $quota = array();
+ foreach ($definition as $member) {
+ $key = $member[strlen($member) - 1];
+ if ($key == 'S' || $key == 'C') {
+ $key = $key == 'C' ? 'count' : 'size';
+ }
+ $quota[$key] = substr($member, 0, -1);
+ }
+ return $quota;
+ }
+
+ return $this->_quota;
+ }
+
+ /**
+ * @see http://www.inter7.com/courierimap/README.maildirquota.html "Calculating maildirsize"
+ */
+ protected function _calculateMaildirsize() {
+ $timestamps = array();
+ $messages = 0;
+ $total_size = 0;
+
+ if (is_array($this->_quota)) {
+ $quota = $this->_quota;
+ } else {
+ try {
+ $quota = $this->getQuota(true);
+ } catch (Postman_Zend_Mail_Storage_Exception $e) {
+ throw new Postman_Zend_Mail_Storage_Exception('no quota definition found', 0, $e);
+ }
+ }
+
+ $folders = new RecursiveIteratorIterator($this->getFolders(), RecursiveIteratorIterator::SELF_FIRST);
+ foreach ($folders as $folder) {
+ $subdir = $folder->getGlobalName();
+ if ($subdir == 'INBOX') {
+ $subdir = '';
+ } else {
+ $subdir = '.' . $subdir;
+ }
+ if ($subdir == 'Trash') {
+ continue;
+ }
+
+ foreach (array('cur', 'new') as $subsubdir) {
+ $dirname = $this->_rootdir . $subdir . DIRECTORY_SEPARATOR . $subsubdir . DIRECTORY_SEPARATOR;
+ if (!file_exists($dirname)) {
+ continue;
+ }
+ // NOTE: we are using mtime instead of "the latest timestamp". The latest would be atime
+ // and as we are accessing the directory it would make the whole calculation useless.
+ $timestamps[$dirname] = filemtime($dirname);
+
+ $dh = opendir($dirname);
+ // NOTE: Should have been checked in constructor. Not throwing an exception here, quotas will
+ // therefore not be fully enforeced, but next request will fail anyway, if problem persists.
+ if (!$dh) {
+ continue;
+ }
+
+
+ while (($entry = readdir()) !== false) {
+ if ($entry[0] == '.' || !is_file($dirname . $entry)) {
+ continue;
+ }
+
+ if (strpos($entry, ',S=')) {
+ strtok($entry, '=');
+ $filesize = strtok(':');
+ if (is_numeric($filesize)) {
+ $total_size += $filesize;
+ ++$messages;
+ continue;
+ }
+ }
+ $size = filesize($dirname . $entry);
+ if ($size === false) {
+ // ignore, as we assume file got removed
+ continue;
+ }
+ $total_size += $size;
+ ++$messages;
+ }
+ }
+ }
+
+ $tmp = $this->_createTmpFile();
+ $fh = $tmp['handle'];
+ $definition = array();
+ foreach ($quota as $type => $value) {
+ if ($type == 'size' || $type == 'count') {
+ $type = $type == 'count' ? 'C' : 'S';
+ }
+ $definition[] = $value . $type;
+ }
+ $definition = implode(',', $definition);
+ fputs($fh, "$definition\n");
+ fputs($fh, "$total_size $messages\n");
+ fclose($fh);
+ rename($tmp['filename'], $this->_rootdir . 'maildirsize');
+ foreach ($timestamps as $dir => $timestamp) {
+ if ($timestamp < filemtime($dir)) {
+ unlink($this->_rootdir . 'maildirsize');
+ break;
+ }
+ }
+
+ return array('size' => $total_size, 'count' => $messages, 'quota' => $quota);
+ }
+
+ /**
+ * @see http://www.inter7.com/courierimap/README.maildirquota.html "Calculating the quota for a Maildir++"
+ */
+ protected function _calculateQuota($forceRecalc = false) {
+ $fh = null;
+ $total_size = 0;
+ $messages = 0;
+ $maildirsize = '';
+ if (!$forceRecalc && file_exists($this->_rootdir . 'maildirsize') && filesize($this->_rootdir . 'maildirsize') < 5120) {
+ $fh = fopen($this->_rootdir . 'maildirsize', 'r');
+ }
+ if ($fh) {
+ $maildirsize = fread($fh, 5120);
+ if (strlen($maildirsize) >= 5120) {
+ fclose($fh);
+ $fh = null;
+ $maildirsize = '';
+ }
+ }
+ if (!$fh) {
+ $result = $this->_calculateMaildirsize();
+ $total_size = $result['size'];
+ $messages = $result['count'];
+ $quota = $result['quota'];
+ } else {
+ $maildirsize = explode("\n", $maildirsize);
+ if (is_array($this->_quota)) {
+ $quota = $this->_quota;
+ } else {
+ $definition = explode(',', $maildirsize[0]);
+ $quota = array();
+ foreach ($definition as $member) {
+ $key = $member[strlen($member) - 1];
+ if ($key == 'S' || $key == 'C') {
+ $key = $key == 'C' ? 'count' : 'size';
+ }
+ $quota[$key] = substr($member, 0, -1);
+ }
+ }
+ unset($maildirsize[0]);
+ foreach ($maildirsize as $line) {
+ list($size, $count) = explode(' ', trim($line));
+ $total_size += $size;
+ $messages += $count;
+ }
+ }
+
+ $over_quota = false;
+ $over_quota = $over_quota || (isset($quota['size']) && $total_size > $quota['size']);
+ $over_quota = $over_quota || (isset($quota['count']) && $messages > $quota['count']);
+ // NOTE: $maildirsize equals false if it wasn't set (AKA we recalculated) or it's only
+ // one line, because $maildirsize[0] gets unsetted.
+ // Also we're using local time to calculate the 15 minute offset. Touching a file just for known the
+ // local time of the file storage isn't worth the hassle.
+ if ($over_quota && ($maildirsize || filemtime($this->_rootdir . 'maildirsize') > time() - 900)) {
+ $result = $this->_calculateMaildirsize();
+ $total_size = $result['size'];
+ $messages = $result['count'];
+ $quota = $result['quota'];
+ $over_quota = false;
+ $over_quota = $over_quota || (isset($quota['size']) && $total_size > $quota['size']);
+ $over_quota = $over_quota || (isset($quota['count']) && $messages > $quota['count']);
+ }
+
+ if ($fh) {
+ // TODO is there a safe way to keep the handle open for writing?
+ fclose($fh);
+ }
+
+ return array('size' => $total_size, 'count' => $messages, 'quota' => $quota, 'over_quota' => $over_quota);
+ }
+
+ protected function _addQuotaEntry($size, $count = 1) {
+ if (!file_exists($this->_rootdir . 'maildirsize')) {
+ // TODO: should get file handler from _calculateQuota
+ }
+ $size = (int)$size;
+ $count = (int)$count;
+ file_put_contents($this->_rootdir . 'maildirsize', "$size $count\n", FILE_APPEND);
+ }
+
+ /**
+ * check if storage is currently over quota
+ *
+ * @param bool $detailedResponse return known data of quota and current size and message count @see _calculateQuota()
+ * @return bool|array over quota state or detailed response
+ */
+ public function checkQuota($detailedResponse = false, $forceRecalc = false) {
+ $result = $this->_calculateQuota($forceRecalc);
+ return $detailedResponse ? $result : $result['over_quota'];
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/Abstract.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/Abstract.php
new file mode 100644
index 0000000..5ff71bc
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/Abstract.php
@@ -0,0 +1,350 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Transport
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @see Postman_Zend_Mime
+ */
+// require_once 'Zend/Mime.php';
+
+
+/**
+ * Abstract for sending eMails through different
+ * ways of transport
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Transport
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+abstract class Postman_Zend_Mail_Transport_Abstract
+{
+ /**
+ * Mail body
+ * @var string
+ * @access public
+ */
+ public $body = '';
+
+ /**
+ * MIME boundary
+ * @var string
+ * @access public
+ */
+ public $boundary = '';
+
+ /**
+ * Mail header string
+ * @var string
+ * @access public
+ */
+ public $header = '';
+
+ /**
+ * Array of message headers
+ * @var array
+ * @access protected
+ */
+ protected $_headers = array();
+
+ /**
+ * Message is a multipart message
+ * @var boolean
+ * @access protected
+ */
+ protected $_isMultipart = false;
+
+ /**
+ * Postman_Zend_Mail object
+ * @var false|Postman_Zend_Mail
+ * @access protected
+ */
+ protected $_mail = false;
+
+ /**
+ * Array of message parts
+ * @var array
+ * @access protected
+ */
+ protected $_parts = array();
+
+ /**
+ * Recipients string
+ * @var string
+ * @access public
+ */
+ public $recipients = '';
+
+ /**
+ * EOL character string used by transport
+ * @var string
+ * @access public
+ */
+ public $EOL = "\r\n";
+
+ /**
+ * Send an email independent from the used transport
+ *
+ * The requisite information for the email will be found in the following
+ * properties:
+ *
+ * - {@link $recipients} - list of recipients (string)
+ * - {@link $header} - message header
+ * - {@link $body} - message body
+ */
+ abstract protected function _sendMail();
+
+ /**
+ * Return all mail headers as an array
+ *
+ * If a boundary is given, a multipart header is generated with a
+ * Content-Type of either multipart/alternative or multipart/mixed depending
+ * on the mail parts present in the {@link $_mail Postman_Zend_Mail object} present.
+ *
+ * @param string $boundary
+ * @return array
+ */
+ protected function _getHeaders($boundary)
+ {
+ if (null !== $boundary) {
+ // Build multipart mail
+ $type = $this->_mail->getType();
+ if (!$type) {
+ if ($this->_mail->hasAttachments) {
+ $type = Postman_Zend_Mime::MULTIPART_MIXED;
+ } elseif ($this->_mail->getBodyText() && $this->_mail->getBodyHtml()) {
+ $type = Postman_Zend_Mime::MULTIPART_ALTERNATIVE;
+ } else {
+ $type = Postman_Zend_Mime::MULTIPART_MIXED;
+ }
+ }
+
+ $this->_headers['Content-Type'] = array(
+ $type . ';'
+ . $this->EOL
+ . " " . 'boundary="' . $boundary . '"'
+ );
+ $this->boundary = $boundary;
+ }
+
+ $this->_headers['MIME-Version'] = array('1.0');
+
+ return $this->_headers;
+ }
+
+ /**
+ * Prepend header name to header value
+ *
+ * @param string $item
+ * @param string $key
+ * @param string $prefix
+ * @static
+ * @access protected
+ * @return void
+ */
+ protected static function _formatHeader(&$item, $key, $prefix)
+ {
+ $item = $prefix . ': ' . $item;
+ }
+
+ /**
+ * Prepare header string for use in transport
+ *
+ * Prepares and generates {@link $header} based on the headers provided.
+ *
+ * @param mixed $headers
+ * @access protected
+ * @return void
+ * @throws Postman_Zend_Mail_Transport_Exception if any header lines exceed 998
+ * characters
+ */
+ protected function _prepareHeaders($headers)
+ {
+ if (!$this->_mail) {
+ /**
+ * @see Postman_Zend_Mail_Transport_Exception
+ */
+ require_once 'Exception.php';
+ throw new Postman_Zend_Mail_Transport_Exception('Missing Postman_Zend_Mail object in _mail property');
+ }
+
+ $this->header = '';
+
+ foreach ($headers as $header => $content) {
+ if (isset($content['append'])) {
+ unset($content['append']);
+ $value = implode(',' . $this->EOL . ' ', $content);
+ $this->header .= $header . ': ' . $value . $this->EOL;
+ } else {
+ array_walk($content, array(get_class($this), '_formatHeader'), $header);
+ $this->header .= implode($this->EOL, $content) . $this->EOL;
+ }
+ }
+
+ // Sanity check on headers -- should not be > 998 characters
+ $sane = true;
+ foreach (explode($this->EOL, $this->header) as $line) {
+ if (strlen(trim($line)) > 998) {
+ $sane = false;
+ break;
+ }
+ }
+ if (!$sane) {
+ /**
+ * @see Postman_Zend_Mail_Transport_Exception
+ */
+ require_once 'Exception.php';
+ throw new Postman_Zend_Mail_Exception('At least one mail header line is too long');
+ }
+ }
+
+ /**
+ * Generate MIME compliant message from the current configuration
+ *
+ * If both a text and HTML body are present, generates a
+ * multipart/alternative Postman_Zend_Mime_Part containing the headers and contents
+ * of each. Otherwise, uses whichever of the text or HTML parts present.
+ *
+ * The content part is then prepended to the list of Postman_Zend_Mime_Parts for
+ * this message.
+ *
+ * @return void
+ */
+ protected function _buildBody()
+ {
+ if (($text = $this->_mail->getBodyText())
+ && ($html = $this->_mail->getBodyHtml()))
+ {
+ // Generate unique boundary for multipart/alternative
+ $mime = new Postman_Zend_Mime(null);
+ $boundaryLine = $mime->boundaryLine($this->EOL);
+ $boundaryEnd = $mime->mimeEnd($this->EOL);
+
+ $text->disposition = false;
+ $html->disposition = false;
+
+ $body = $boundaryLine
+ . $text->getHeaders($this->EOL)
+ . $this->EOL
+ . $text->getContent($this->EOL)
+ . $this->EOL
+ . $boundaryLine
+ . $html->getHeaders($this->EOL)
+ . $this->EOL
+ . $html->getContent($this->EOL)
+ . $this->EOL
+ . $boundaryEnd;
+
+ $mp = new Postman_Zend_Mime_Part($body);
+ $mp->type = Postman_Zend_Mime::MULTIPART_ALTERNATIVE;
+ $mp->boundary = $mime->boundary();
+
+ $this->_isMultipart = true;
+
+ // Ensure first part contains text alternatives
+ array_unshift($this->_parts, $mp);
+
+ // Get headers
+ $this->_headers = $this->_mail->getHeaders();
+ return;
+ }
+
+ // If not multipart, then get the body
+ if (false !== ($body = $this->_mail->getBodyHtml())) {
+ array_unshift($this->_parts, $body);
+ } elseif (false !== ($body = $this->_mail->getBodyText())) {
+ array_unshift($this->_parts, $body);
+ }
+
+ if (!$body) {
+ /**
+ * @see Postman_Zend_Mail_Transport_Exception
+ */
+ require_once 'Exception.php';
+ throw new Postman_Zend_Mail_Transport_Exception('No body specified');
+ }
+
+ // Get headers
+ $this->_headers = $this->_mail->getHeaders();
+ $headers = $body->getHeadersArray($this->EOL);
+ foreach ($headers as $header) {
+ // Headers in Postman_Zend_Mime_Part are kept as arrays with two elements, a
+ // key and a value
+ $this->_headers[$header[0]] = array($header[1]);
+ }
+ }
+
+ /**
+ * Send a mail using this transport
+ *
+ * @param Postman_Zend_Mail $mail
+ * @access public
+ * @return void
+ * @throws Postman_Zend_Mail_Transport_Exception if mail is empty
+ */
+ public function send(Postman_Zend_Mail $mail)
+ {
+ $this->_isMultipart = false;
+ $this->_mail = $mail;
+ $this->_parts = $mail->getParts();
+ $mime = $mail->getMime();
+
+ // Build body content
+ $this->_buildBody();
+
+ // Determine number of parts and boundary
+ $count = count($this->_parts);
+ $boundary = null;
+ if ($count < 1) {
+ /**
+ * @see Postman_Zend_Mail_Transport_Exception
+ */
+ require_once 'Exception.php';
+ throw new Postman_Zend_Mail_Transport_Exception('Empty mail cannot be sent');
+ }
+
+ if ($count > 1) {
+ // Multipart message; create new MIME object and boundary
+ $mime = new Postman_Zend_Mime($this->_mail->getMimeBoundary());
+ $boundary = $mime->boundary();
+ } elseif ($this->_isMultipart) {
+ // multipart/alternative -- grab boundary
+ $boundary = $this->_parts[0]->boundary;
+ }
+
+ // Determine recipients, and prepare headers
+ $this->recipients = implode(',', $mail->getRecipients());
+ $this->_prepareHeaders($this->_getHeaders($boundary));
+
+ // Create message body
+ // This is done so that the same Postman_Zend_Mail object can be used in
+ // multiple transports
+ $message = new Postman_Zend_Mime_Message();
+ $message->setParts($this->_parts);
+ $message->setMime($mime);
+ $this->body = $message->generateMessage($this->EOL);
+
+ // Send to transport!
+ $this->_sendMail();
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/Exception.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/Exception.php
new file mode 100644
index 0000000..134abbf
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/Exception.php
@@ -0,0 +1,39 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Transport
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @see Postman_Zend_Mail_Exception
+ */
+// require_once 'Zend/Mail/Exception.php';
+
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Transport
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Transport_Exception extends Postman_Zend_Mail_Exception
+{}
+
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/File.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/File.php
new file mode 100644
index 0000000..91592a4
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/File.php
@@ -0,0 +1,134 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Transport
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Mail_Transport_Abstract
+ */
+require_once 'Zend/Mail/Transport/Abstract.php';
+
+
+/**
+ * File transport
+ *
+ * Class for saving outgoing emails in filesystem
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Transport
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Transport_File extends Postman_Zend_Mail_Transport_Abstract
+{
+ /**
+ * Target directory for saving sent email messages
+ *
+ * @var string
+ */
+ protected $_path;
+
+ /**
+ * Callback function generating a file name
+ *
+ * @var string|array
+ */
+ protected $_callback;
+
+ /**
+ * Constructor
+ *
+ * @param array|Postman_Zend_Config $options OPTIONAL (Default: null)
+ * @return void
+ */
+ public function __construct($options = null)
+ {
+ if ($options instanceof Postman_Zend_Config) {
+ $options = $options->toArray();
+ } elseif (!is_array($options)) {
+ $options = array();
+ }
+
+ // Making sure we have some defaults to work with
+ if (!isset($options['path'])) {
+ $options['path'] = sys_get_temp_dir();
+ }
+ if (!isset($options['callback'])) {
+ $options['callback'] = array($this, 'defaultCallback');
+ }
+
+ $this->setOptions($options);
+ }
+
+ /**
+ * Sets options
+ *
+ * @param array $options
+ * @return void
+ */
+ public function setOptions(array $options)
+ {
+ if (isset($options['path']) && is_dir($options['path'])) {
+ $this->_path = $options['path'];
+ }
+ if (isset($options['callback']) && is_callable($options['callback'])) {
+ $this->_callback = $options['callback'];
+ }
+ }
+
+ /**
+ * Saves e-mail message to a file
+ *
+ * @return void
+ * @throws Postman_Zend_Mail_Transport_Exception on not writable target directory
+ * @throws Postman_Zend_Mail_Transport_Exception on file_put_contents() failure
+ */
+ protected function _sendMail()
+ {
+ $file = $this->_path . DIRECTORY_SEPARATOR . call_user_func($this->_callback, $this);
+
+ if (!is_writable(dirname($file))) {
+ require_once 'Zend/Mail/Transport/Exception.php';
+ throw new Postman_Zend_Mail_Transport_Exception(sprintf(
+ 'Target directory "%s" does not exist or is not writable',
+ dirname($file)
+ ));
+ }
+
+ $email = $this->header . $this->EOL . $this->body;
+
+ if (!file_put_contents($file, $email)) {
+ require_once 'Zend/Mail/Transport/Exception.php';
+ throw new Postman_Zend_Mail_Transport_Exception('Unable to send mail');
+ }
+ }
+
+ /**
+ * Default callback for generating filenames
+ *
+ * @param Postman_Zend_Mail_Transport_File File transport instance
+ * @return string
+ */
+ public function defaultCallback($transport)
+ {
+ return 'ZendMail_' . $_SERVER['REQUEST_TIME'] . '_' . mt_rand() . '.tmp';
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/Sendmail.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/Sendmail.php
new file mode 100644
index 0000000..0af1b2c
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/Sendmail.php
@@ -0,0 +1,220 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Transport
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @see Postman_Zend_Mail_Transport_Abstract
+ */
+// require_once 'Zend/Mail/Transport/Abstract.php';
+
+
+/**
+ * Class for sending eMails via the PHP internal mail() function
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Transport
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Transport_Sendmail extends Postman_Zend_Mail_Transport_Abstract
+{
+ /**
+ * Subject
+ * @var string
+ * @access public
+ */
+ public $subject = null;
+
+
+ /**
+ * Config options for sendmail parameters
+ *
+ * @var string
+ */
+ public $parameters;
+
+ /**
+ * EOL character string
+ * @var string
+ * @access public
+ */
+ public $EOL = PHP_EOL;
+
+ /**
+ * error information
+ * @var string
+ */
+ protected $_errstr;
+
+ /**
+ * Constructor.
+ *
+ * @param string|array|Postman_Zend_Config $parameters OPTIONAL (Default: null)
+ * @return void
+ */
+ public function __construct($parameters = null)
+ {
+ if ($parameters instanceof Postman_Zend_Config) {
+ $parameters = $parameters->toArray();
+ }
+
+ if (is_array($parameters)) {
+ $parameters = implode(' ', $parameters);
+ }
+
+ $this->parameters = $parameters;
+ }
+
+
+ /**
+ * Send mail using PHP native mail()
+ *
+ * @access public
+ * @return void
+ * @throws Postman_Zend_Mail_Transport_Exception if parameters is set
+ * but not a string
+ * @throws Postman_Zend_Mail_Transport_Exception on mail() failure
+ */
+ public function _sendMail()
+ {
+ if ($this->parameters === null) {
+ set_error_handler(array($this, '_handleMailErrors'));
+ $result = mail(
+ $this->recipients,
+ $this->_mail->getSubject(),
+ $this->body,
+ $this->header);
+ restore_error_handler();
+ } else {
+ if(!is_string($this->parameters)) {
+ /**
+ * @see Postman_Zend_Mail_Transport_Exception
+ *
+ * Exception is thrown here because
+ * $parameters is a public property
+ */
+// require_once 'Zend/Mail/Transport/Exception.php';
+ throw new Postman_Zend_Mail_Transport_Exception(
+ 'Parameters were set but are not a string'
+ );
+ }
+
+ set_error_handler(array($this, '_handleMailErrors'));
+ $result = mail(
+ $this->recipients,
+ $this->_mail->getSubject(),
+ $this->body,
+ $this->header,
+ $this->parameters);
+ restore_error_handler();
+ }
+
+ if ($this->_errstr !== null || !$result) {
+ /**
+ * @see Postman_Zend_Mail_Transport_Exception
+ */
+// require_once 'Zend/Mail/Transport/Exception.php';
+ throw new Postman_Zend_Mail_Transport_Exception('Unable to send mail. ' . $this->_errstr);
+ }
+ }
+
+
+ /**
+ * Format and fix headers
+ *
+ * mail() uses its $to and $subject arguments to set the To: and Subject:
+ * headers, respectively. This method strips those out as a sanity check to
+ * prevent duplicate header entries.
+ *
+ * @access protected
+ * @param array $headers
+ * @return void
+ * @throws Postman_Zend_Mail_Transport_Exception
+ */
+ protected function _prepareHeaders($headers)
+ {
+ if (!$this->_mail) {
+ /**
+ * @see Postman_Zend_Mail_Transport_Exception
+ */
+// require_once 'Zend/Mail/Transport/Exception.php';
+ throw new Postman_Zend_Mail_Transport_Exception('_prepareHeaders requires a registered Postman_Zend_Mail object');
+ }
+
+ // mail() uses its $to parameter to set the To: header, and the $subject
+ // parameter to set the Subject: header. We need to strip them out.
+ if (0 === strpos(PHP_OS, 'WIN')) {
+ // If the current recipients list is empty, throw an error
+ if (empty($this->recipients)) {
+ /**
+ * @see Postman_Zend_Mail_Transport_Exception
+ */
+// require_once 'Zend/Mail/Transport/Exception.php';
+ throw new Postman_Zend_Mail_Transport_Exception('Missing To addresses');
+ }
+ } else {
+ // All others, simply grab the recipients and unset the To: header
+ if (!isset($headers['To'])) {
+ /**
+ * @see Postman_Zend_Mail_Transport_Exception
+ */
+// require_once 'Zend/Mail/Transport/Exception.php';
+ throw new Postman_Zend_Mail_Transport_Exception('Missing To header');
+ }
+
+ unset($headers['To']['append']);
+ $this->recipients = implode(',', $headers['To']);
+ }
+
+ // Remove recipient header
+ unset($headers['To']);
+
+ // Remove subject header, if present
+ if (isset($headers['Subject'])) {
+ unset($headers['Subject']);
+ }
+
+ // Prepare headers
+ parent::_prepareHeaders($headers);
+
+ // Fix issue with empty blank line ontop when using Sendmail Trnasport
+ $this->header = rtrim($this->header);
+ }
+
+ /**
+ * Temporary error handler for PHP native mail().
+ *
+ * @param int $errno
+ * @param string $errstr
+ * @param string $errfile
+ * @param string $errline
+ * @param array $errcontext
+ * @return true
+ */
+ public function _handleMailErrors($errno, $errstr, $errfile = null, $errline = null, array $errcontext = null)
+ {
+ $this->_errstr = $errstr;
+ return true;
+ }
+
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/Smtp.php b/Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/Smtp.php
new file mode 100644
index 0000000..e47357a
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mail/Transport/Smtp.php
@@ -0,0 +1,247 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Transport
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+
+/**
+ * @see Postman_Zend_Mime
+ */
+// require_once 'Zend/Mime.php';
+
+/**
+ * @see Postman_Zend_Mail_Protocol_Smtp
+ */
+// require_once 'Zend/Mail/Protocol/Smtp.php';
+
+/**
+ * @see Postman_Zend_Mail_Transport_Abstract
+ */
+// require_once 'Zend/Mail/Transport/Abstract.php';
+
+
+/**
+ * SMTP connection object
+ *
+ * Loads an instance of Postman_Zend_Mail_Protocol_Smtp and forwards smtp transactions
+ *
+ * @category Zend
+ * @package Postman_Zend_Mail
+ * @subpackage Transport
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mail_Transport_Smtp extends Postman_Zend_Mail_Transport_Abstract
+{
+ /**
+ * EOL character string used by transport
+ * @var string
+ * @access public
+ */
+ public $EOL = "\n";
+
+ /**
+ * Remote smtp hostname or i.p.
+ *
+ * @var string
+ */
+ protected $_host;
+
+
+ /**
+ * Port number
+ *
+ * @var integer|null
+ */
+ protected $_port;
+
+
+ /**
+ * Local client hostname or i.p.
+ *
+ * @var string
+ */
+ protected $_name = 'localhost';
+
+
+ /**
+ * Authentication type OPTIONAL
+ *
+ * @var string
+ */
+ protected $_auth;
+
+
+ /**
+ * Config options for authentication
+ *
+ * @var array
+ */
+ protected $_config;
+
+
+ /**
+ * Instance of Postman_Zend_Mail_Protocol_Smtp
+ *
+ * @var Postman_Zend_Mail_Protocol_Smtp
+ */
+ protected $_connection;
+
+
+ /**
+ * Constructor.
+ *
+ * @param string $host OPTIONAL (Default: 127.0.0.1)
+ * @param array|null $config OPTIONAL (Default: null)
+ * @return void
+ *
+ * @todo Someone please make this compatible
+ * with the SendMail transport class.
+ */
+ public function __construct($host = '127.0.0.1', Array $config = array())
+ {
+ if (isset($config['name'])) {
+ $this->_name = $config['name'];
+ } else {
+ $this->_name = PostmanUtils::getServerIp();
+ }
+
+ if (isset($config['port'])) {
+ $this->_port = $config['port'];
+ }
+
+ if (isset($config['auth'])) {
+ $this->_auth = $config['auth'];
+ }
+
+ $this->_host = $host;
+ $this->_config = $config;
+ }
+
+
+ /**
+ * Class destructor to ensure all open connections are closed
+ *
+ * @return void
+ */
+ public function __destruct()
+ {
+ if ($this->_connection instanceof Postman_Zend_Mail_Protocol_Smtp) {
+ try {
+ $this->_connection->quit();
+ } catch (Postman_Zend_Mail_Protocol_Exception $e) {
+ // ignore
+ }
+ $this->_connection->disconnect();
+ }
+ }
+
+
+ /**
+ * Sets the connection protocol instance
+ *
+ * @param Postman_Zend_Mail_Protocol_Abstract $client
+ *
+ * @return void
+ */
+ public function setConnection(Postman_Zend_Mail_Protocol_Abstract $connection)
+ {
+ $this->_connection = $connection;
+ }
+
+
+ /**
+ * Gets the connection protocol instance
+ *
+ * @return Postman_Zend_Mail_Protocol|null
+ */
+ public function getConnection()
+ {
+ return $this->_connection;
+ }
+
+ /**
+ * Send an email via the SMTP connection protocol
+ *
+ * The connection via the protocol adapter is made just-in-time to allow a
+ * developer to add a custom adapter if required before mail is sent.
+ *
+ * @return void
+ * @todo Rename this to sendMail, it's a public method...
+ */
+ public function _sendMail()
+ {
+ // If sending multiple messages per session use existing adapter
+ if (!($this->_connection instanceof Postman_Zend_Mail_Protocol_Smtp)) {
+ // Check if authentication is required and determine required class
+ $connectionClass = 'Postman_Zend_Mail_Protocol_Smtp';
+ if ($this->_auth) {
+ $connectionClass .= '_Auth_' . ucwords($this->_auth);
+ }
+ if (!class_exists($connectionClass)) {
+// require_once 'Zend/Loader.php';
+// Postman_Zend_Loader::loadClass($connectionClass);
+ }
+ $this->setConnection(new $connectionClass($this->_host, $this->_port, $this->_config));
+ $this->_connection->connect();
+ $this->_connection->helo($this->_name);
+ } else {
+ // Reset connection to ensure reliable transaction
+ $this->_connection->rset();
+ }
+
+ // Set sender email address
+ $this->_connection->mail($this->_mail->getReturnPath());
+
+ // Set recipient forward paths
+ foreach ($this->_mail->getRecipients() as $recipient) {
+ $this->_connection->rcpt($recipient);
+ }
+
+ // Issue DATA command to client
+ $this->_connection->data($this->header . Postman_Zend_Mime::LINEEND . $this->body);
+ }
+
+ /**
+ * Format and fix headers
+ *
+ * Some SMTP servers do not strip BCC headers. Most clients do it themselves as do we.
+ *
+ * @access protected
+ * @param array $headers
+ * @return void
+ * @throws Postman_Zend_Transport_Exception
+ */
+ protected function _prepareHeaders($headers)
+ {
+ if (!$this->_mail) {
+ /**
+ * @see Postman_Zend_Mail_Transport_Exception
+ */
+// require_once 'Zend/Mail/Transport/Exception.php';
+ throw new Postman_Zend_Mail_Transport_Exception('_prepareHeaders requires a registered Postman_Zend_Mail object');
+ }
+
+ unset($headers['Bcc']);
+
+ // Prepare headers
+ parent::_prepareHeaders($headers);
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mime.php b/Postman/Postman-Mail/Zend-1.12.10/Mime.php
new file mode 100644
index 0000000..9e0fa8c
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mime.php
@@ -0,0 +1,670 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mime
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * Support class for MultiPart Mime Messages
+ *
+ * @category Zend
+ * @package Postman_Zend_Mime
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mime
+{
+ const TYPE_OCTETSTREAM = 'application/octet-stream';
+ const TYPE_TEXT = 'text/plain';
+ const TYPE_HTML = 'text/html';
+ const ENCODING_7BIT = '7bit';
+ const ENCODING_8BIT = '8bit';
+ const ENCODING_QUOTEDPRINTABLE = 'quoted-printable';
+ const ENCODING_BASE64 = 'base64';
+ const DISPOSITION_ATTACHMENT = 'attachment';
+ const DISPOSITION_INLINE = 'inline';
+ const LINELENGTH = 72;
+ const LINEEND = "\n";
+ const MULTIPART_ALTERNATIVE = 'multipart/alternative';
+ const MULTIPART_MIXED = 'multipart/mixed';
+ const MULTIPART_RELATED = 'multipart/related';
+
+ /**
+ * Boundary
+ *
+ * @var null|string
+ */
+ protected $_boundary;
+
+ /**
+ * @var int
+ */
+ protected static $makeUnique = 0;
+
+ /**
+ * Lookup-Tables for QuotedPrintable
+ *
+ * @var array
+ */
+ public static $qpKeys = array(
+ "\x00",
+ "\x01",
+ "\x02",
+ "\x03",
+ "\x04",
+ "\x05",
+ "\x06",
+ "\x07",
+ "\x08",
+ "\x09",
+ "\x0A",
+ "\x0B",
+ "\x0C",
+ "\x0D",
+ "\x0E",
+ "\x0F",
+ "\x10",
+ "\x11",
+ "\x12",
+ "\x13",
+ "\x14",
+ "\x15",
+ "\x16",
+ "\x17",
+ "\x18",
+ "\x19",
+ "\x1A",
+ "\x1B",
+ "\x1C",
+ "\x1D",
+ "\x1E",
+ "\x1F",
+ "\x7F",
+ "\x80",
+ "\x81",
+ "\x82",
+ "\x83",
+ "\x84",
+ "\x85",
+ "\x86",
+ "\x87",
+ "\x88",
+ "\x89",
+ "\x8A",
+ "\x8B",
+ "\x8C",
+ "\x8D",
+ "\x8E",
+ "\x8F",
+ "\x90",
+ "\x91",
+ "\x92",
+ "\x93",
+ "\x94",
+ "\x95",
+ "\x96",
+ "\x97",
+ "\x98",
+ "\x99",
+ "\x9A",
+ "\x9B",
+ "\x9C",
+ "\x9D",
+ "\x9E",
+ "\x9F",
+ "\xA0",
+ "\xA1",
+ "\xA2",
+ "\xA3",
+ "\xA4",
+ "\xA5",
+ "\xA6",
+ "\xA7",
+ "\xA8",
+ "\xA9",
+ "\xAA",
+ "\xAB",
+ "\xAC",
+ "\xAD",
+ "\xAE",
+ "\xAF",
+ "\xB0",
+ "\xB1",
+ "\xB2",
+ "\xB3",
+ "\xB4",
+ "\xB5",
+ "\xB6",
+ "\xB7",
+ "\xB8",
+ "\xB9",
+ "\xBA",
+ "\xBB",
+ "\xBC",
+ "\xBD",
+ "\xBE",
+ "\xBF",
+ "\xC0",
+ "\xC1",
+ "\xC2",
+ "\xC3",
+ "\xC4",
+ "\xC5",
+ "\xC6",
+ "\xC7",
+ "\xC8",
+ "\xC9",
+ "\xCA",
+ "\xCB",
+ "\xCC",
+ "\xCD",
+ "\xCE",
+ "\xCF",
+ "\xD0",
+ "\xD1",
+ "\xD2",
+ "\xD3",
+ "\xD4",
+ "\xD5",
+ "\xD6",
+ "\xD7",
+ "\xD8",
+ "\xD9",
+ "\xDA",
+ "\xDB",
+ "\xDC",
+ "\xDD",
+ "\xDE",
+ "\xDF",
+ "\xE0",
+ "\xE1",
+ "\xE2",
+ "\xE3",
+ "\xE4",
+ "\xE5",
+ "\xE6",
+ "\xE7",
+ "\xE8",
+ "\xE9",
+ "\xEA",
+ "\xEB",
+ "\xEC",
+ "\xED",
+ "\xEE",
+ "\xEF",
+ "\xF0",
+ "\xF1",
+ "\xF2",
+ "\xF3",
+ "\xF4",
+ "\xF5",
+ "\xF6",
+ "\xF7",
+ "\xF8",
+ "\xF9",
+ "\xFA",
+ "\xFB",
+ "\xFC",
+ "\xFD",
+ "\xFE",
+ "\xFF"
+ );
+
+ /**
+ * @var array
+ */
+ public static $qpReplaceValues = array(
+ "=00",
+ "=01",
+ "=02",
+ "=03",
+ "=04",
+ "=05",
+ "=06",
+ "=07",
+ "=08",
+ "=09",
+ "=0A",
+ "=0B",
+ "=0C",
+ "=0D",
+ "=0E",
+ "=0F",
+ "=10",
+ "=11",
+ "=12",
+ "=13",
+ "=14",
+ "=15",
+ "=16",
+ "=17",
+ "=18",
+ "=19",
+ "=1A",
+ "=1B",
+ "=1C",
+ "=1D",
+ "=1E",
+ "=1F",
+ "=7F",
+ "=80",
+ "=81",
+ "=82",
+ "=83",
+ "=84",
+ "=85",
+ "=86",
+ "=87",
+ "=88",
+ "=89",
+ "=8A",
+ "=8B",
+ "=8C",
+ "=8D",
+ "=8E",
+ "=8F",
+ "=90",
+ "=91",
+ "=92",
+ "=93",
+ "=94",
+ "=95",
+ "=96",
+ "=97",
+ "=98",
+ "=99",
+ "=9A",
+ "=9B",
+ "=9C",
+ "=9D",
+ "=9E",
+ "=9F",
+ "=A0",
+ "=A1",
+ "=A2",
+ "=A3",
+ "=A4",
+ "=A5",
+ "=A6",
+ "=A7",
+ "=A8",
+ "=A9",
+ "=AA",
+ "=AB",
+ "=AC",
+ "=AD",
+ "=AE",
+ "=AF",
+ "=B0",
+ "=B1",
+ "=B2",
+ "=B3",
+ "=B4",
+ "=B5",
+ "=B6",
+ "=B7",
+ "=B8",
+ "=B9",
+ "=BA",
+ "=BB",
+ "=BC",
+ "=BD",
+ "=BE",
+ "=BF",
+ "=C0",
+ "=C1",
+ "=C2",
+ "=C3",
+ "=C4",
+ "=C5",
+ "=C6",
+ "=C7",
+ "=C8",
+ "=C9",
+ "=CA",
+ "=CB",
+ "=CC",
+ "=CD",
+ "=CE",
+ "=CF",
+ "=D0",
+ "=D1",
+ "=D2",
+ "=D3",
+ "=D4",
+ "=D5",
+ "=D6",
+ "=D7",
+ "=D8",
+ "=D9",
+ "=DA",
+ "=DB",
+ "=DC",
+ "=DD",
+ "=DE",
+ "=DF",
+ "=E0",
+ "=E1",
+ "=E2",
+ "=E3",
+ "=E4",
+ "=E5",
+ "=E6",
+ "=E7",
+ "=E8",
+ "=E9",
+ "=EA",
+ "=EB",
+ "=EC",
+ "=ED",
+ "=EE",
+ "=EF",
+ "=F0",
+ "=F1",
+ "=F2",
+ "=F3",
+ "=F4",
+ "=F5",
+ "=F6",
+ "=F7",
+ "=F8",
+ "=F9",
+ "=FA",
+ "=FB",
+ "=FC",
+ "=FD",
+ "=FE",
+ "=FF"
+ );
+
+ /**
+ * @var string
+ */
+ public static $qpKeysString =
+ "\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F\x7F\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF";
+
+ /**
+ * Check if the given string is "printable"
+ *
+ * Checks that a string contains no unprintable characters. If this returns
+ * false, encode the string for secure delivery.
+ *
+ * @param string $str
+ * @return boolean
+ */
+ public static function isPrintable($str)
+ {
+ return (strcspn($str, self::$qpKeysString) == strlen($str));
+ }
+
+ /**
+ * Encode a given string with the QUOTED_PRINTABLE mechanism and wrap the lines.
+ *
+ * @param string $str
+ * @param int $lineLength Line length; defaults to {@link LINELENGTH}
+ * @param string $lineEnd Line end; defaults to {@link LINEEND}
+ * @return string
+ */
+ public static function encodeQuotedPrintable(
+ $str,
+ $lineLength = self::LINELENGTH,
+ $lineEnd = self::LINEEND
+ )
+ {
+ $out = '';
+ $str = self::_encodeQuotedPrintable($str);
+
+ // Split encoded text into separate lines
+ while (strlen($str) > 0) {
+ $ptr = strlen($str);
+ if ($ptr > $lineLength) {
+ $ptr = $lineLength;
+ }
+
+ // Ensure we are not splitting across an encoded character
+ $pos = strrpos(substr($str, 0, $ptr), '=');
+ if ($pos !== false && $pos >= $ptr - 2) {
+ $ptr = $pos;
+ }
+
+ // Check if there is a space at the end of the line and rewind
+ if ($ptr > 0 && $str[$ptr - 1] == ' ') {
+ --$ptr;
+ }
+
+ // Add string and continue
+ $out .= substr($str, 0, $ptr) . '=' . $lineEnd;
+ $str = substr($str, $ptr);
+ }
+
+ $out = rtrim($out, $lineEnd);
+ $out = rtrim($out, '=');
+
+ return $out;
+ }
+
+ /**
+ * Converts a string into quoted printable format.
+ *
+ * @param string $str
+ * @return string
+ */
+ private static function _encodeQuotedPrintable($str)
+ {
+ $str = str_replace('=', '=3D', $str);
+ $str = str_replace(self::$qpKeys, self::$qpReplaceValues, $str);
+ $str = rtrim($str);
+
+ return $str;
+ }
+
+ /**
+ * Encode a given string with the QUOTED_PRINTABLE mechanism for Mail Headers.
+ *
+ * Mail headers depend on an extended quoted printable algorithm otherwise
+ * a range of bugs can occur.
+ *
+ * @param string $str
+ * @param string $charset
+ * @param int $lineLength Line length; defaults to {@link LINELENGTH}
+ * @param string $lineEnd Line end; defaults to {@link LINEEND}
+ * @return string
+ */
+ public static function encodeQuotedPrintableHeader(
+ $str, $charset, $lineLength = self::LINELENGTH, $lineEnd = self::LINEEND
+ )
+ {
+ // Reduce line-length by the length of the required delimiter, charsets and encoding
+ $prefix = sprintf('=?%s?Q?', $charset);
+ $lineLength = $lineLength - strlen($prefix) - 3;
+
+ $str = self::_encodeQuotedPrintable($str);
+
+ // Mail-Header required chars have to be encoded also:
+ $str = str_replace(
+ array('?', ' ', '_', ','), array('=3F', '=20', '=5F', '=2C'), $str
+ );
+
+ // initialize first line, we need it anyways
+ $lines = array(0 => "");
+
+ // Split encoded text into separate lines
+ $tmp = "";
+ while (strlen($str) > 0) {
+ $currentLine = max(count($lines) - 1, 0);
+ $token = self::getNextQuotedPrintableToken($str);
+ $str = substr($str, strlen($token));
+
+ $tmp .= $token;
+ if ($token == '=20') {
+ // only if we have a single char token or space, we can append the
+ // tempstring it to the current line or start a new line if necessary.
+ if (strlen($lines[$currentLine] . $tmp) > $lineLength) {
+ $lines[$currentLine + 1] = $tmp;
+ } else {
+ $lines[$currentLine] .= $tmp;
+ }
+ $tmp = "";
+ }
+ // don't forget to append the rest to the last line
+ if (strlen($str) == 0) {
+ $lines[$currentLine] .= $tmp;
+ }
+ }
+
+ // assemble the lines together by pre- and appending delimiters, charset, encoding.
+ for ($i = 0; $i < count($lines); $i++) {
+ $lines[$i] = " " . $prefix . $lines[$i] . "?=";
+ }
+ $str = trim(implode($lineEnd, $lines));
+
+ return $str;
+ }
+
+ /**
+ * Retrieves the first token from a quoted printable string.
+ *
+ * @param string $str
+ * @return string
+ */
+ private static function getNextQuotedPrintableToken($str)
+ {
+ if (substr($str, 0, 1) == "=") {
+ $token = substr($str, 0, 3);
+ } else {
+ $token = substr($str, 0, 1);
+ }
+
+ return $token;
+ }
+
+ /**
+ * Encode a given string in mail header compatible base64 encoding.
+ *
+ * @param string $str
+ * @param string $charset
+ * @param int $lineLength Line length; defaults to {@link LINELENGTH}
+ * @param string $lineEnd Line end; defaults to {@link LINEEND}
+ * @return string
+ */
+ public static function encodeBase64Header(
+ $str, $charset, $lineLength = self::LINELENGTH, $lineEnd = self::LINEEND
+ )
+ {
+ $prefix = '=?' . $charset . '?B?';
+ $suffix = '?=';
+ $remainingLength = $lineLength - strlen($prefix) - strlen($suffix);
+
+ $encodedValue = self::encodeBase64($str, $remainingLength, $lineEnd);
+ $encodedValue = str_replace(
+ $lineEnd, $suffix . $lineEnd . ' ' . $prefix, $encodedValue
+ );
+ $encodedValue = $prefix . $encodedValue . $suffix;
+
+ return $encodedValue;
+ }
+
+ /**
+ * Encode a given string in base64 encoding and break lines
+ * according to the maximum linelength.
+ *
+ * @param string $str
+ * @param int $lineLength Line length; defaults to {@link LINELENGTH}
+ * @param string $lineEnd Line end; defaults to {@link LINEEND}
+ * @return string
+ */
+ public static function encodeBase64(
+ $str, $lineLength = self::LINELENGTH, $lineEnd = self::LINEEND
+ )
+ {
+ return rtrim(chunk_split(base64_encode($str), $lineLength, $lineEnd));
+ }
+
+ /**
+ * Constructor
+ *
+ * @param null|string $boundary
+ */
+ public function __construct($boundary = null)
+ {
+ // This string needs to be somewhat unique
+ if ($boundary === null) {
+ $this->_boundary = '=_' . md5(microtime(1) . self::$makeUnique++);
+ } else {
+ $this->_boundary = $boundary;
+ }
+ }
+
+ /**
+ * Encode the given string with the given encoding.
+ *
+ * @param string $str
+ * @param string $encoding
+ * @param string $EOL Line end; defaults to {@link Postman_Zend_Mime::LINEEND}
+ * @return string
+ */
+ public static function encode($str, $encoding, $EOL = self::LINEEND)
+ {
+ switch ($encoding) {
+ case self::ENCODING_BASE64:
+ return self::encodeBase64($str, self::LINELENGTH, $EOL);
+
+ case self::ENCODING_QUOTEDPRINTABLE:
+ return self::encodeQuotedPrintable($str, self::LINELENGTH, $EOL);
+
+ default:
+ /**
+ * @todo 7Bit and 8Bit is currently handled the same way.
+ */
+ return $str;
+ }
+ }
+
+ /**
+ * Return a MIME boundary
+ *
+ * @access public
+ * @return string
+ */
+ public function boundary()
+ {
+ return $this->_boundary;
+ }
+
+ /**
+ * Return a MIME boundary line
+ *
+ * @param string $EOL Line end; defaults to {@link LINEEND}
+ * @return string
+ */
+ public function boundaryLine($EOL = self::LINEEND)
+ {
+ return $EOL . '--' . $this->_boundary . $EOL;
+ }
+
+ /**
+ * Return MIME ending
+ *
+ * @param string $EOL Line end; defaults to {@link LINEEND}
+ * @return string
+ */
+ public function mimeEnd($EOL = self::LINEEND)
+ {
+ return $EOL . '--' . $this->_boundary . '--' . $EOL;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mime/Decode.php b/Postman/Postman-Mail/Zend-1.12.10/Mime/Decode.php
new file mode 100644
index 0000000..5fd17bd
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mime/Decode.php
@@ -0,0 +1,276 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mime
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Mime
+ */
+require_once 'Zend/Mime.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mime
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mime_Decode
+{
+ /**
+ * Explode MIME multipart string into seperate parts
+ *
+ * Parts consist of the header and the body of each MIME part.
+ *
+ * @param string $body raw body of message
+ * @param string $boundary boundary as found in content-type
+ * @return array parts with content of each part, empty if no parts found
+ * @throws Postman_Zend_Exception
+ */
+ public static function splitMime($body, $boundary)
+ {
+ // TODO: we're ignoring \r for now - is this function fast enough and is it safe to asume noone needs \r?
+ $body = str_replace("\r", '', $body);
+
+ $start = 0;
+ $res = array();
+ // find every mime part limiter and cut out the
+ // string before it.
+ // the part before the first boundary string is discarded:
+ $p = strpos($body, '--' . $boundary . "\n", $start);
+ if ($p === false) {
+ // no parts found!
+ return array();
+ }
+
+ // position after first boundary line
+ $start = $p + 3 + strlen($boundary);
+
+ while (($p = strpos($body, '--' . $boundary . "\n", $start)) !== false) {
+ $res[] = substr($body, $start, $p-$start);
+ $start = $p + 3 + strlen($boundary);
+ }
+
+ // no more parts, find end boundary
+ $p = strpos($body, '--' . $boundary . '--', $start);
+ if ($p === false) {
+ throw new Postman_Zend_Exception('Not a valid Mime Message: End Missing');
+ }
+
+ // the remaining part also needs to be parsed:
+ $res[] = substr($body, $start, $p - $start);
+
+ return $res;
+ }
+
+ /**
+ * decodes a mime encoded String and returns a
+ * struct of parts with header and body
+ *
+ * @param string $message raw message content
+ * @param string $boundary boundary as found in content-type
+ * @param string $EOL EOL string; defaults to {@link Postman_Zend_Mime::LINEEND}
+ * @return array|null parts as array('header' => array(name => value), 'body' => content), null if no parts found
+ * @throws Postman_Zend_Exception
+ */
+ public static function splitMessageStruct(
+ $message, $boundary, $EOL = Postman_Zend_Mime::LINEEND
+ )
+ {
+ $parts = self::splitMime($message, $boundary);
+ if (count($parts) <= 0) {
+ return null;
+ }
+ $result = array();
+ foreach ($parts as $part) {
+ self::splitMessage($part, $headers, $body, $EOL);
+ $result[] = array(
+ 'header' => $headers,
+ 'body' => $body
+ );
+ }
+
+ return $result;
+ }
+
+ /**
+ * split a message in header and body part, if no header or an
+ * invalid header is found $headers is empty
+ *
+ * The charset of the returned headers depend on your iconv settings.
+ *
+ * @param string $message raw message with header and optional content
+ * @param array $headers output param, array with headers as array(name => value)
+ * @param string $body output param, content of message
+ * @param string $EOL EOL string; defaults to {@link Postman_Zend_Mime::LINEEND}
+ * @return null
+ */
+ public static function splitMessage(
+ $message, &$headers, &$body, $EOL = Postman_Zend_Mime::LINEEND
+ )
+ {
+ // check for valid header at first line
+ $firstline = strtok($message, "\n");
+ if (!preg_match('%^[^\s]+[^:]*:%', $firstline)) {
+ $headers = array();
+ // TODO: we're ignoring \r for now - is this function fast enough and is it safe to asume noone needs \r?
+ $body = str_replace(
+ array(
+ "\r",
+ "\n"
+ ), array(
+ '',
+ $EOL
+ ), $message
+ );
+
+ return;
+ }
+
+ // find an empty line between headers and body
+ // default is set new line
+ if (strpos($message, $EOL . $EOL)) {
+ list($headers, $body) = explode($EOL . $EOL, $message, 2);
+ // next is the standard new line
+ } else {
+ if ($EOL != "\r\n" && strpos($message, "\r\n\r\n")) {
+ list($headers, $body) = explode("\r\n\r\n", $message, 2);
+ // next is the other "standard" new line
+ } else {
+ if ($EOL != "\n" && strpos($message, "\n\n")) {
+ list($headers, $body) = explode("\n\n", $message, 2);
+ // at last resort find anything that looks like a new line
+ } else {
+ @list($headers, $body) =
+ @preg_split("%([\r\n]+)\\1%U", $message, 2);
+ }
+ }
+ }
+
+ $headers = iconv_mime_decode_headers(
+ $headers, ICONV_MIME_DECODE_CONTINUE_ON_ERROR
+ );
+
+ if ($headers === false) {
+ // an error occurs during the decoding
+ return;
+ }
+
+ // normalize header names
+ foreach ($headers as $name => $header) {
+ $lower = strtolower($name);
+ if ($lower == $name) {
+ continue;
+ }
+ unset($headers[$name]);
+ if (!isset($headers[$lower])) {
+ $headers[$lower] = $header;
+ continue;
+ }
+ if (is_array($headers[$lower])) {
+ $headers[$lower][] = $header;
+ continue;
+ }
+ $headers[$lower] = array(
+ $headers[$lower],
+ $header
+ );
+ }
+ }
+
+ /**
+ * split a content type in its different parts
+ *
+ * @param string $type content-type
+ * @param string $wantedPart the wanted part, else an array with all parts is returned
+ * @return string|array wanted part or all parts as array('type' => content-type, partname => value)
+ */
+ public static function splitContentType($type, $wantedPart = null)
+ {
+ return self::splitHeaderField($type, $wantedPart, 'type');
+ }
+
+ /**
+ * split a header field like content type in its different parts
+ *
+ * @param string $field
+ * @param string $wantedPart the wanted part, else an array with all parts is returned
+ * @param int|string $firstName key name for the first part
+ * @throws Postman_Zend_Exception
+ * @return string|array wanted part or all parts as array($firstName => firstPart, partname => value)
+ */
+ public static function splitHeaderField(
+ $field, $wantedPart = null, $firstName = 0
+ )
+ {
+ $wantedPart = strtolower($wantedPart);
+ $firstName = strtolower($firstName);
+
+ // special case - a bit optimized
+ if ($firstName === $wantedPart) {
+ $field = strtok($field, ';');
+
+ return $field[0] == '"' ? substr($field, 1, -1) : $field;
+ }
+
+ $field = $firstName . '=' . $field;
+ if (!preg_match_all('%([^=\s]+)\s*=\s*("[^"]+"|[^;]+)(;\s*|$)%', $field, $matches)) {
+ throw new Postman_Zend_Exception('not a valid header field');
+ }
+
+ if ($wantedPart) {
+ foreach ($matches[1] as $key => $name) {
+ if (strcasecmp($name, $wantedPart)) {
+ continue;
+ }
+ if ($matches[2][$key][0] != '"') {
+ return $matches[2][$key];
+ }
+
+ return substr($matches[2][$key], 1, -1);
+ }
+
+ return null;
+ }
+
+ $split = array();
+ foreach ($matches[1] as $key => $name) {
+ $name = strtolower($name);
+ if ($matches[2][$key][0] == '"') {
+ $split[$name] = substr($matches[2][$key], 1, -1);
+ } else {
+ $split[$name] = $matches[2][$key];
+ }
+ }
+
+ return $split;
+ }
+
+ /**
+ * decode a quoted printable encoded string
+ *
+ * The charset of the returned string depends on your iconv settings.
+ *
+ * @param string $string Encoded string
+ * @return string Decoded string
+ */
+ public static function decodeQuotedPrintable($string)
+ {
+ return quoted_printable_decode($string);
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mime/Exception.php b/Postman/Postman-Mail/Zend-1.12.10/Mime/Exception.php
new file mode 100644
index 0000000..e8f3b00
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mime/Exception.php
@@ -0,0 +1,36 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mime
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * Postman_Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mime
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mime_Exception extends Postman_Zend_Exception
+{
+}
+
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mime/Message.php b/Postman/Postman-Mail/Zend-1.12.10/Mime/Message.php
new file mode 100644
index 0000000..e5783fb
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mime/Message.php
@@ -0,0 +1,305 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mime
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * Postman_Zend_Mime
+ */
+// require_once 'Zend/Mime.php';
+
+/**
+ * Postman_Zend_Mime_Part
+ */
+// require_once 'Zend/Mime/Part.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Mime
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mime_Message
+{
+ /**
+ * The Postman_Zend_Mime_Parts of the message
+ *
+ * @var array
+ */
+ protected $_parts = array();
+
+ /**
+ * The Postman_Zend_Mime object for the message
+ *
+ * @var Postman_Zend_Mime|null
+ */
+ protected $_mime = null;
+
+ /**
+ * Returns the list of all Postman_Zend_Mime_Parts in the message
+ *
+ * @return array of Postman_Zend_Mime_Part
+ */
+ public function getParts()
+ {
+ return $this->_parts;
+ }
+
+ /**
+ * Sets the given array of Postman_Zend_Mime_Parts as the array for the message
+ *
+ * @param array $parts
+ */
+ public function setParts($parts)
+ {
+ $this->_parts = $parts;
+ }
+
+ /**
+ * Append a new Postman_Zend_Mime_Part to the current message
+ *
+ * @param Postman_Zend_Mime_Part $part
+ */
+ public function addPart(Postman_Zend_Mime_Part $part)
+ {
+ /**
+ * @todo check for duplicate object handle
+ */
+ $this->_parts[] = $part;
+ }
+
+ /**
+ * Check if message needs to be sent as multipart
+ * MIME message or if it has only one part.
+ *
+ * @return boolean
+ */
+ public function isMultiPart()
+ {
+ return (count($this->_parts) > 1);
+ }
+
+ /**
+ * Set Postman_Zend_Mime object for the message
+ *
+ * This can be used to set the boundary specifically or to use a subclass of
+ * Postman_Zend_Mime for generating the boundary.
+ *
+ * @param Postman_Zend_Mime $mime
+ */
+ public function setMime(Postman_Zend_Mime $mime)
+ {
+ $this->_mime = $mime;
+ }
+
+ /**
+ * Returns the Postman_Zend_Mime object in use by the message
+ *
+ * If the object was not present, it is created and returned. Can be used to
+ * determine the boundary used in this message.
+ *
+ * @return Postman_Zend_Mime
+ */
+ public function getMime()
+ {
+ if ($this->_mime === null) {
+ $this->_mime = new Postman_Zend_Mime();
+ }
+
+ return $this->_mime;
+ }
+
+ /**
+ * Generate MIME-compliant message from the current configuration
+ *
+ * This can be a multipart message if more than one MIME part was added. If
+ * only one part is present, the content of this part is returned. If no
+ * part had been added, an empty string is returned.
+ *
+ * Parts are seperated by the mime boundary as defined in Postman_Zend_Mime. If
+ * {@link setMime()} has been called before this method, the Postman_Zend_Mime
+ * object set by this call will be used. Otherwise, a new Postman_Zend_Mime object
+ * is generated and used.
+ *
+ * @param string $EOL EOL string; defaults to {@link Postman_Zend_Mime::LINEEND}
+ * @return string
+ */
+ public function generateMessage($EOL = Postman_Zend_Mime::LINEEND)
+ {
+ if (!$this->isMultiPart()) {
+ $body = array_shift($this->_parts);
+ $body = $body->getContent($EOL);
+ } else {
+ $mime = $this->getMime();
+
+ $boundaryLine = $mime->boundaryLine($EOL);
+ $body = 'This is a message in Mime Format. If you see this, '
+ . "your mail reader does not support this format." . $EOL;
+
+ foreach (array_keys($this->_parts) as $p) {
+ $body .= $boundaryLine
+ . $this->getPartHeaders($p, $EOL)
+ . $EOL
+ . $this->getPartContent($p, $EOL);
+ }
+
+ $body .= $mime->mimeEnd($EOL);
+ }
+
+ return trim($body);
+ }
+
+ /**
+ * Get the headers of a given part as an array
+ *
+ * @param int $partnum
+ * @return array
+ */
+ public function getPartHeadersArray($partnum)
+ {
+ return $this->_parts[$partnum]->getHeadersArray();
+ }
+
+ /**
+ * Get the headers of a given part as a string
+ *
+ * @param int $partnum
+ * @param string $EOL
+ * @return string
+ */
+ public function getPartHeaders($partnum, $EOL = Postman_Zend_Mime::LINEEND)
+ {
+ return $this->_parts[$partnum]->getHeaders($EOL);
+ }
+
+ /**
+ * Get the (encoded) content of a given part as a string
+ *
+ * @param int $partnum
+ * @param string $EOL
+ * @return string
+ */
+ public function getPartContent($partnum, $EOL = Postman_Zend_Mime::LINEEND)
+ {
+ return $this->_parts[$partnum]->getContent($EOL);
+ }
+
+ /**
+ * Explode MIME multipart string into seperate parts
+ *
+ * Parts consist of the header and the body of each MIME part.
+ *
+ * @param string $body
+ * @param string $boundary
+ * @throws Postman_Zend_Exception
+ * @return array
+ */
+ protected static function _disassembleMime($body, $boundary)
+ {
+ $start = 0;
+ $res = array();
+ // find every mime part limiter and cut out the
+ // string before it.
+ // the part before the first boundary string is discarded:
+ $p = strpos($body, '--' . $boundary . "\n", $start);
+ if ($p === false) {
+ // no parts found!
+ return array();
+ }
+
+ // position after first boundary line
+ $start = $p + 3 + strlen($boundary);
+
+ while (($p = strpos($body, '--' . $boundary . "\n", $start))
+ !== false) {
+ $res[] = substr($body, $start, $p - $start);
+ $start = $p + 3 + strlen($boundary);
+ }
+
+ // no more parts, find end boundary
+ $p = strpos($body, '--' . $boundary . '--', $start);
+ if ($p === false) {
+ throw new Postman_Zend_Exception('Not a valid Mime Message: End Missing');
+ }
+
+ // the remaining part also needs to be parsed:
+ $res[] = substr($body, $start, $p - $start);
+
+ return $res;
+ }
+
+ /**
+ * Decodes a MIME encoded string and returns a Postman_Zend_Mime_Message object with
+ * all the MIME parts set according to the given string
+ *
+ * @param string $message
+ * @param string $boundary
+ * @param string $EOL EOL string; defaults to {@link Postman_Zend_Mime::LINEEND}
+ * @throws Postman_Zend_Exception
+ * @return Postman_Zend_Mime_Message
+ */
+ public static function createFromMessage(
+ $message, $boundary, $EOL = Postman_Zend_Mime::LINEEND
+ )
+ {
+ require_once 'Zend/Mime/Decode.php';
+ $parts = Postman_Zend_Mime_Decode::splitMessageStruct($message, $boundary, $EOL);
+
+ $res = new self();
+ foreach ($parts as $part) {
+ // now we build a new MimePart for the current Message Part:
+ $newPart = new Postman_Zend_Mime_Part($part['body']);
+ foreach ($part['header'] as $key => $value) {
+ /**
+ * @todo check for characterset and filename
+ */
+ switch (strtolower($key)) {
+ case 'content-type':
+ $newPart->type = $value;
+ break;
+ case 'content-transfer-encoding':
+ $newPart->encoding = $value;
+ break;
+ case 'content-id':
+ $newPart->id = trim($value, '<>');
+ break;
+ case 'content-disposition':
+ $newPart->disposition = $value;
+ break;
+ case 'content-description':
+ $newPart->description = $value;
+ break;
+ case 'content-location':
+ $newPart->location = $value;
+ break;
+ case 'content-language':
+ $newPart->language = $value;
+ break;
+ default:
+ throw new Postman_Zend_Exception(
+ 'Unknown header ignored for MimePart:' . $key
+ );
+ }
+ }
+ $res->addPart($newPart);
+ }
+
+ return $res;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Mime/Part.php b/Postman/Postman-Mail/Zend-1.12.10/Mime/Part.php
new file mode 100644
index 0000000..9051c28
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Mime/Part.php
@@ -0,0 +1,333 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mime
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * Postman_Zend_Mime
+ */
+// require_once 'Zend/Mime.php';
+
+/**
+ * Class representing a MIME part.
+ *
+ * @category Zend
+ * @package Postman_Zend_Mime
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Mime_Part
+{
+
+ /**
+ * Type
+ *
+ * @var string
+ */
+ public $type = Postman_Zend_Mime::TYPE_OCTETSTREAM;
+
+ /**
+ * Encoding
+ *
+ * @var string
+ */
+ public $encoding = Postman_Zend_Mime::ENCODING_8BIT;
+
+ /**
+ * ID
+ *
+ * @var string
+ */
+ public $id;
+
+ /**
+ * Disposition
+ *
+ * @var string
+ */
+ public $disposition;
+
+ /**
+ * Filename
+ *
+ * @var string
+ */
+ public $filename;
+
+ /**
+ * Description
+ *
+ * @var string
+ */
+ public $description;
+
+ /**
+ * Character set
+ *
+ * @var string
+ */
+ public $charset;
+
+ /**
+ * Boundary
+ *
+ * @var string
+ */
+ public $boundary;
+
+ /**
+ * Location
+ *
+ * @var string
+ */
+ public $location;
+
+ /**
+ * Language
+ *
+ * @var string
+ */
+ public $language;
+
+ /**
+ * Content
+ *
+ * @var mixed
+ */
+ protected $_content;
+
+ /**
+ * @var bool
+ */
+ protected $_isStream = false;
+
+ /**
+ * create a new Mime Part.
+ * The (unencoded) content of the Part as passed
+ * as a string or stream
+ *
+ * @param mixed $content String or Stream containing the content
+ */
+ public function __construct($content)
+ {
+ $this->_content = $content;
+ if (is_resource($content)) {
+ $this->_isStream = true;
+ }
+ }
+
+ /**
+ * @todo setters/getters
+ * @todo error checking for setting $type
+ * @todo error checking for setting $encoding
+ */
+
+ /**
+ * check if this part can be read as a stream.
+ * if true, getEncodedStream can be called, otherwise
+ * only getContent can be used to fetch the encoded
+ * content of the part
+ *
+ * @return bool
+ */
+ public function isStream()
+ {
+ return $this->_isStream;
+ }
+
+ /**
+ * if this was created with a stream, return a filtered stream for
+ * reading the content. very useful for large file attachments.
+ *
+ * @return mixed Stream
+ * @throws Postman_Zend_Mime_Exception if not a stream or unable to append filter
+ */
+ public function getEncodedStream()
+ {
+ if (!$this->_isStream) {
+ require_once 'Zend/Mime/Exception.php';
+ throw new Postman_Zend_Mime_Exception(
+ 'Attempt to get a stream from a string part'
+ );
+ }
+
+ //stream_filter_remove(); // ??? is that right?
+ switch ($this->encoding) {
+ case Postman_Zend_Mime::ENCODING_QUOTEDPRINTABLE:
+ $filter = stream_filter_append(
+ $this->_content,
+ 'convert.quoted-printable-encode',
+ STREAM_FILTER_READ,
+ array(
+ 'line-length' => 76,
+ 'line-break-chars' => Postman_Zend_Mime::LINEEND
+ )
+ );
+ if (!is_resource($filter)) {
+ require_once 'Zend/Mime/Exception.php';
+ throw new Postman_Zend_Mime_Exception(
+ 'Failed to append quoted-printable filter'
+ );
+ }
+ break;
+
+ case Postman_Zend_Mime::ENCODING_BASE64:
+ $filter = stream_filter_append(
+ $this->_content,
+ 'convert.base64-encode',
+ STREAM_FILTER_READ,
+ array(
+ 'line-length' => 76,
+ 'line-break-chars' => Postman_Zend_Mime::LINEEND
+ )
+ );
+ if (!is_resource($filter)) {
+ require_once 'Zend/Mime/Exception.php';
+ throw new Postman_Zend_Mime_Exception(
+ 'Failed to append base64 filter'
+ );
+ }
+ break;
+
+ default:
+ }
+
+ return $this->_content;
+ }
+
+ /**
+ * Get the Content of the current Mime Part in the given encoding.
+ *
+ * @param string $EOL Line end; defaults to {@link Postman_Zend_Mime::LINEEND}
+ * @throws Postman_Zend_Mime_Exception
+ * @return string
+ */
+ public function getContent($EOL = Postman_Zend_Mime::LINEEND)
+ {
+ if ($this->_isStream) {
+ return stream_get_contents($this->getEncodedStream());
+ } else {
+ return Postman_Zend_Mime::encode($this->_content, $this->encoding, $EOL);
+ }
+ }
+
+ /**
+ * Get the RAW unencoded content from this part
+ *
+ * @return string
+ */
+ public function getRawContent()
+ {
+ if ($this->_isStream) {
+ return stream_get_contents($this->_content);
+ } else {
+ return $this->_content;
+ }
+ }
+
+ /**
+ * Create and return the array of headers for this MIME part
+ *
+ * @param string $EOL Line end; defaults to {@link Postman_Zend_Mime::LINEEND}
+ * @return array
+ */
+ public function getHeadersArray($EOL = Postman_Zend_Mime::LINEEND)
+ {
+ $headers = array();
+
+ $contentType = $this->type;
+ if ($this->charset) {
+ $contentType .= '; charset=' . $this->charset;
+ }
+
+ if ($this->boundary) {
+ $contentType .= ';' . $EOL
+ . " boundary=\"" . $this->boundary . '"';
+ }
+
+ $headers[] = array(
+ 'Content-Type',
+ $contentType
+ );
+
+ if ($this->encoding) {
+ $headers[] = array(
+ 'Content-Transfer-Encoding',
+ $this->encoding
+ );
+ }
+
+ if ($this->id) {
+ $headers[] = array(
+ 'Content-ID',
+ '<' . $this->id . '>'
+ );
+ }
+
+ if ($this->disposition) {
+ $disposition = $this->disposition;
+ if ($this->filename) {
+ $disposition .= '; filename="' . $this->filename . '"';
+ }
+ $headers[] = array(
+ 'Content-Disposition',
+ $disposition
+ );
+ }
+
+ if ($this->description) {
+ $headers[] = array(
+ 'Content-Description',
+ $this->description
+ );
+ }
+
+ if ($this->location) {
+ $headers[] = array(
+ 'Content-Location',
+ $this->location
+ );
+ }
+
+ if ($this->language) {
+ $headers[] = array(
+ 'Content-Language',
+ $this->language
+ );
+ }
+
+ return $headers;
+ }
+
+ /**
+ * Return the headers for this part as a string
+ *
+ * @param string $EOL Line end; defaults to {@link Postman_Zend_Mime::LINEEND}
+ * @return string
+ */
+ public function getHeaders($EOL = Postman_Zend_Mime::LINEEND)
+ {
+ $res = '';
+ foreach ($this->getHeadersArray($EOL) as $header) {
+ $res .= $header[0] . ': ' . $header[1] . $EOL;
+ }
+
+ return $res;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Registry.php b/Postman/Postman-Mail/Zend-1.12.10/Registry.php
new file mode 100644
index 0000000..1506700
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Registry.php
@@ -0,0 +1,209 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Registry
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * Generic storage class helps to manage global data.
+ *
+ * @category Zend
+ * @package Postman_Zend_Registry
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Registry extends ArrayObject
+{
+ /**
+ * Class name of the singleton registry object.
+ * @var string
+ */
+ private static $_registryClassName = 'Postman_Zend_Registry';
+
+ /**
+ * Registry object provides storage for shared objects.
+ * @var Postman_Zend_Registry
+ */
+ private static $_registry = null;
+
+ /**
+ * Retrieves the default registry instance.
+ *
+ * @return Postman_Zend_Registry
+ */
+ public static function getInstance()
+ {
+ if (self::$_registry === null) {
+ self::init();
+ }
+
+ return self::$_registry;
+ }
+
+ /**
+ * Set the default registry instance to a specified instance.
+ *
+ * @param Postman_Zend_Registry $registry An object instance of type Postman_Zend_Registry,
+ * or a subclass.
+ * @return void
+ * @throws Postman_Zend_Exception if registry is already initialized.
+ */
+ public static function setInstance(Postman_Zend_Registry $registry)
+ {
+ if (self::$_registry !== null) {
+ require_once 'Zend/Exception.php';
+ throw new Postman_Zend_Exception('Registry is already initialized');
+ }
+
+ self::setClassName(get_class($registry));
+ self::$_registry = $registry;
+ }
+
+ /**
+ * Initialize the default registry instance.
+ *
+ * @return void
+ */
+ protected static function init()
+ {
+ self::setInstance(new self::$_registryClassName());
+ }
+
+ /**
+ * Set the class name to use for the default registry instance.
+ * Does not affect the currently initialized instance, it only applies
+ * for the next time you instantiate.
+ *
+ * @param string $registryClassName
+ * @return void
+ * @throws Postman_Zend_Exception if the registry is initialized or if the
+ * class name is not valid.
+ */
+ public static function setClassName($registryClassName = 'Postman_Zend_Registry')
+ {
+ if (self::$_registry !== null) {
+ require_once 'Zend/Exception.php';
+ throw new Postman_Zend_Exception('Registry is already initialized');
+ }
+
+ if (!is_string($registryClassName)) {
+ require_once 'Zend/Exception.php';
+ throw new Postman_Zend_Exception("Argument is not a class name");
+ }
+
+ /**
+ * @see Postman_Zend_Loader
+ */
+ if (!class_exists($registryClassName)) {
+ require_once 'Zend/Loader.php';
+ Postman_Zend_Loader::loadClass($registryClassName);
+ }
+
+ self::$_registryClassName = $registryClassName;
+ }
+
+ /**
+ * Unset the default registry instance.
+ * Primarily used in tearDown() in unit tests.
+ * @returns void
+ */
+ public static function _unsetInstance()
+ {
+ self::$_registry = null;
+ }
+
+ /**
+ * getter method, basically same as offsetGet().
+ *
+ * This method can be called from an object of type Postman_Zend_Registry, or it
+ * can be called statically. In the latter case, it uses the default
+ * static instance stored in the class.
+ *
+ * @param string $index - get the value associated with $index
+ * @return mixed
+ * @throws Postman_Zend_Exception if no entry is registerd for $index.
+ */
+ public static function get($index)
+ {
+ $instance = self::getInstance();
+
+ if (!$instance->offsetExists($index)) {
+ require_once 'Zend/Exception.php';
+ throw new Postman_Zend_Exception("No entry is registered for key '$index'");
+ }
+
+ return $instance->offsetGet($index);
+ }
+
+ /**
+ * setter method, basically same as offsetSet().
+ *
+ * This method can be called from an object of type Postman_Zend_Registry, or it
+ * can be called statically. In the latter case, it uses the default
+ * static instance stored in the class.
+ *
+ * @param string $index The location in the ArrayObject in which to store
+ * the value.
+ * @param mixed $value The object to store in the ArrayObject.
+ * @return void
+ */
+ public static function set($index, $value)
+ {
+ $instance = self::getInstance();
+ $instance->offsetSet($index, $value);
+ }
+
+ /**
+ * Returns TRUE if the $index is a named value in the registry,
+ * or FALSE if $index was not found in the registry.
+ *
+ * @param string $index
+ * @return boolean
+ */
+ public static function isRegistered($index)
+ {
+ if (self::$_registry === null) {
+ return false;
+ }
+ return self::$_registry->offsetExists($index);
+ }
+
+ /**
+ * Constructs a parent ArrayObject with default
+ * ARRAY_AS_PROPS to allow acces as an object
+ *
+ * @param array $array data array
+ * @param integer $flags ArrayObject flags
+ */
+ public function __construct($array = array(), $flags = parent::ARRAY_AS_PROPS)
+ {
+ parent::__construct($array, $flags);
+ }
+
+ /**
+ * @param string $index
+ * @returns mixed
+ *
+ * Workaround for http://bugs.php.net/bug.php?id=40442 (ZF-960).
+ */
+ public function offsetExists($index)
+ {
+ return array_key_exists($index, $this);
+ }
+
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate.php b/Postman/Postman-Mail/Zend-1.12.10/Validate.php
new file mode 100644
index 0000000..44b67bf
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate.php
@@ -0,0 +1,290 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Interface
+ */
+// require_once 'Zend/Validate/Interface.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate implements Postman_Zend_Validate_Interface
+{
+ /**
+ * Validator chain
+ *
+ * @var array
+ */
+ protected $_validators = array();
+
+ /**
+ * Array of validation failure messages
+ *
+ * @var array
+ */
+ protected $_messages = array();
+
+ /**
+ * Default Namespaces
+ *
+ * @var array
+ */
+ protected static $_defaultNamespaces = array();
+
+ /**
+ * Array of validation failure message codes
+ *
+ * @var array
+ * @deprecated Since 1.5.0
+ */
+ protected $_errors = array();
+
+ /**
+ * Adds a validator to the end of the chain
+ *
+ * If $breakChainOnFailure is true, then if the validator fails, the next validator in the chain,
+ * if one exists, will not be executed.
+ *
+ * @param Postman_Zend_Validate_Interface $validator
+ * @param boolean $breakChainOnFailure
+ * @return Postman_Zend_Validate Provides a fluent interface
+ */
+ public function addValidator(Postman_Zend_Validate_Interface $validator, $breakChainOnFailure = false)
+ {
+ $this->_validators[] = array(
+ 'instance' => $validator,
+ 'breakChainOnFailure' => (boolean) $breakChainOnFailure
+ );
+ return $this;
+ }
+
+ /**
+ * Returns true if and only if $value passes all validations in the chain
+ *
+ * Validators are run in the order in which they were added to the chain (FIFO).
+ *
+ * @param mixed $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ $this->_messages = array();
+ $this->_errors = array();
+ $result = true;
+ foreach ($this->_validators as $element) {
+ $validator = $element['instance'];
+ if ($validator->isValid($value)) {
+ continue;
+ }
+ $result = false;
+ $messages = $validator->getMessages();
+ $this->_messages = array_merge($this->_messages, $messages);
+ $this->_errors = array_merge($this->_errors, array_keys($messages));
+ if ($element['breakChainOnFailure']) {
+ break;
+ }
+ }
+ return $result;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns array of validation failure messages
+ *
+ * @return array
+ */
+ public function getMessages()
+ {
+ return $this->_messages;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns array of validation failure message codes
+ *
+ * @return array
+ * @deprecated Since 1.5.0
+ */
+ public function getErrors()
+ {
+ return $this->_errors;
+ }
+
+ /**
+ * Returns the set default namespaces
+ *
+ * @return array
+ */
+ public static function getDefaultNamespaces()
+ {
+ return self::$_defaultNamespaces;
+ }
+
+ /**
+ * Sets new default namespaces
+ *
+ * @param array|string $namespace
+ * @return null
+ */
+ public static function setDefaultNamespaces($namespace)
+ {
+ if (!is_array($namespace)) {
+ $namespace = array((string) $namespace);
+ }
+
+ self::$_defaultNamespaces = $namespace;
+ }
+
+ /**
+ * Adds a new default namespace
+ *
+ * @param array|string $namespace
+ * @return null
+ */
+ public static function addDefaultNamespaces($namespace)
+ {
+ if (!is_array($namespace)) {
+ $namespace = array((string) $namespace);
+ }
+
+ self::$_defaultNamespaces = array_unique(array_merge(self::$_defaultNamespaces, $namespace));
+ }
+
+ /**
+ * Returns true when defaultNamespaces are set
+ *
+ * @return boolean
+ */
+ public static function hasDefaultNamespaces()
+ {
+ return (!empty(self::$_defaultNamespaces));
+ }
+
+ /**
+ * @param mixed $value
+ * @param string $classBaseName
+ * @param array $args OPTIONAL
+ * @param mixed $namespaces OPTIONAL
+ * @return boolean
+ * @throws Postman_Zend_Validate_Exception
+ */
+ public static function is($value, $classBaseName, array $args = array(), $namespaces = array())
+ {
+ $namespaces = array_merge((array) $namespaces, self::$_defaultNamespaces, array('Postman_Zend_Validate'));
+ $className = ucfirst($classBaseName);
+ try {
+ if (!class_exists($className, false)) {
+ require_once 'Zend/Loader.php';
+ foreach($namespaces as $namespace) {
+ $class = $namespace . '_' . $className;
+ $file = str_replace('_', DIRECTORY_SEPARATOR, $class) . '.php';
+ if (Postman_Zend_Loader::isReadable($file)) {
+ Postman_Zend_Loader::loadClass($class);
+ $className = $class;
+ break;
+ }
+ }
+ }
+
+ $class = new ReflectionClass($className);
+ if ($class->implementsInterface('Postman_Zend_Validate_Interface')) {
+ if ($class->hasMethod('__construct')) {
+ $keys = array_keys($args);
+ $numeric = false;
+ foreach($keys as $key) {
+ if (is_numeric($key)) {
+ $numeric = true;
+ break;
+ }
+ }
+
+ if ($numeric) {
+ $object = $class->newInstanceArgs($args);
+ } else {
+ $object = $class->newInstance($args);
+ }
+ } else {
+ $object = $class->newInstance();
+ }
+
+ return $object->isValid($value);
+ }
+ } catch (Postman_Zend_Validate_Exception $ze) {
+ // if there is an exception while validating throw it
+ throw $ze;
+ } catch (Exception $e) {
+ // fallthrough and continue for missing validation classes
+ }
+
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception("Validate class not found from basename '$classBaseName'");
+ }
+
+ /**
+ * Returns the maximum allowed message length
+ *
+ * @return integer
+ */
+ public static function getMessageLength()
+ {
+ require_once 'Zend/Validate/Abstract.php';
+ return Postman_Zend_Validate_Abstract::getMessageLength();
+ }
+
+ /**
+ * Sets the maximum allowed message length
+ *
+ * @param integer $length
+ */
+ public static function setMessageLength($length = -1)
+ {
+ require_once 'Zend/Validate/Abstract.php';
+ Postman_Zend_Validate_Abstract::setMessageLength($length);
+ }
+
+ /**
+ * Returns the default translation object
+ *
+ * @return Postman_Zend_Translate_Adapter|null
+ */
+ public static function getDefaultTranslator($translator = null)
+ {
+ require_once 'Zend/Validate/Abstract.php';
+ return Postman_Zend_Validate_Abstract::getDefaultTranslator();
+ }
+
+ /**
+ * Sets a default translation object for all validation objects
+ *
+ * @param Postman_Zend_Translate|Postman_Zend_Translate_Adapter|null $translator
+ */
+ public static function setDefaultTranslator($translator = null)
+ {
+ require_once 'Zend/Validate/Abstract.php';
+ Postman_Zend_Validate_Abstract::setDefaultTranslator($translator);
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Abstract.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Abstract.php
new file mode 100644
index 0000000..bda7066
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Abstract.php
@@ -0,0 +1,483 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Interface
+ */
+// require_once 'Zend/Validate/Interface.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+abstract class Postman_Zend_Validate_Abstract implements Postman_Zend_Validate_Interface
+{
+ /**
+ * The value to be validated
+ *
+ * @var mixed
+ */
+ protected $_value;
+
+ /**
+ * Additional variables available for validation failure messages
+ *
+ * @var array
+ */
+ protected $_messageVariables = array();
+
+ /**
+ * Validation failure message template definitions
+ *
+ * @var array
+ */
+ protected $_messageTemplates = array();
+
+ /**
+ * Array of validation failure messages
+ *
+ * @var array
+ */
+ protected $_messages = array();
+
+ /**
+ * Flag indidcating whether or not value should be obfuscated in error
+ * messages
+ * @var bool
+ */
+ protected $_obscureValue = false;
+
+ /**
+ * Array of validation failure message codes
+ *
+ * @var array
+ * @deprecated Since 1.5.0
+ */
+ protected $_errors = array();
+
+ /**
+ * Translation object
+ * @var Postman_Zend_Translate
+ */
+ protected $_translator;
+
+ /**
+ * Default translation object for all validate objects
+ * @var Postman_Zend_Translate
+ */
+ protected static $_defaultTranslator;
+
+ /**
+ * Is translation disabled?
+ * @var Boolean
+ */
+ protected $_translatorDisabled = false;
+
+ /**
+ * Limits the maximum returned length of a error message
+ *
+ * @var Integer
+ */
+ protected static $_messageLength = -1;
+
+ /**
+ * Returns array of validation failure messages
+ *
+ * @return array
+ */
+ public function getMessages()
+ {
+ return $this->_messages;
+ }
+
+ /**
+ * Returns an array of the names of variables that are used in constructing validation failure messages
+ *
+ * @return array
+ */
+ public function getMessageVariables()
+ {
+ return array_keys($this->_messageVariables);
+ }
+
+ /**
+ * Returns the message templates from the validator
+ *
+ * @return array
+ */
+ public function getMessageTemplates()
+ {
+ return $this->_messageTemplates;
+ }
+
+ /**
+ * Sets the validation failure message template for a particular key
+ *
+ * @param string $messageString
+ * @param string $messageKey OPTIONAL
+ * @return Postman_Zend_Validate_Abstract Provides a fluent interface
+ * @throws Postman_Zend_Validate_Exception
+ */
+ public function setMessage($messageString, $messageKey = null)
+ {
+ if ($messageKey === null) {
+ $keys = array_keys($this->_messageTemplates);
+ foreach($keys as $key) {
+ $this->setMessage($messageString, $key);
+ }
+ return $this;
+ }
+
+ if (!isset($this->_messageTemplates[$messageKey])) {
+// require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception("No message template exists for key '$messageKey'");
+ }
+
+ $this->_messageTemplates[$messageKey] = $messageString;
+ return $this;
+ }
+
+ /**
+ * Sets validation failure message templates given as an array, where the array keys are the message keys,
+ * and the array values are the message template strings.
+ *
+ * @param array $messages
+ * @return Postman_Zend_Validate_Abstract
+ */
+ public function setMessages(array $messages)
+ {
+ foreach ($messages as $key => $message) {
+ $this->setMessage($message, $key);
+ }
+ return $this;
+ }
+
+ /**
+ * Magic function returns the value of the requested property, if and only if it is the value or a
+ * message variable.
+ *
+ * @param string $property
+ * @return mixed
+ * @throws Postman_Zend_Validate_Exception
+ */
+ public function __get($property)
+ {
+ if ($property == 'value') {
+ return $this->_value;
+ }
+ if (array_key_exists($property, $this->_messageVariables)) {
+ return $this->{$this->_messageVariables[$property]};
+ }
+ /**
+ * @see Postman_Zend_Validate_Exception
+ */
+// require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception("No property exists by the name '$property'");
+ }
+
+ /**
+ * Constructs and returns a validation failure message with the given message key and value.
+ *
+ * Returns null if and only if $messageKey does not correspond to an existing template.
+ *
+ * If a translator is available and a translation exists for $messageKey,
+ * the translation will be used.
+ *
+ * @param string $messageKey
+ * @param string $value
+ * @return string
+ */
+ protected function _createMessage($messageKey, $value)
+ {
+ if (!isset($this->_messageTemplates[$messageKey])) {
+ return null;
+ }
+
+ $message = $this->_messageTemplates[$messageKey];
+
+ if (null !== ($translator = $this->getTranslator())) {
+ if ($translator->isTranslated($messageKey)) {
+ $message = $translator->translate($messageKey);
+ } else {
+ $message = $translator->translate($message);
+ }
+ }
+
+ if (is_object($value)) {
+ if (!in_array('__toString', get_class_methods($value))) {
+ $value = get_class($value) . ' object';
+ } else {
+ $value = $value->__toString();
+ }
+ } elseif (is_array($value)) {
+ $value = $this->_implodeRecursive($value);
+ } else {
+ $value = implode((array) $value);
+ }
+
+ if ($this->getObscureValue()) {
+ $value = str_repeat('*', strlen($value));
+ }
+
+ $message = str_replace('%value%', $value, $message);
+ foreach ($this->_messageVariables as $ident => $property) {
+ $message = str_replace(
+ "%$ident%",
+ implode(' ', (array) $this->$property),
+ $message
+ );
+ }
+
+ $length = self::getMessageLength();
+ if (($length > -1) && (strlen($message) > $length)) {
+ $message = substr($message, 0, (self::getMessageLength() - 3)) . '...';
+ }
+
+ return $message;
+ }
+
+ /**
+ * Joins elements of a multidimensional array
+ *
+ * @param array $pieces
+ * @return string
+ */
+ protected function _implodeRecursive(array $pieces)
+ {
+ $values = array();
+ foreach ($pieces as $item) {
+ if (is_array($item)) {
+ $values[] = $this->_implodeRecursive($item);
+ } else {
+ $values[] = $item;
+ }
+ }
+
+ return implode(', ', $values);
+ }
+
+ /**
+ * @param string $messageKey
+ * @param string $value OPTIONAL
+ * @return void
+ */
+ protected function _error($messageKey, $value = null)
+ {
+ if ($messageKey === null) {
+ $keys = array_keys($this->_messageTemplates);
+ $messageKey = current($keys);
+ }
+ if ($value === null) {
+ $value = $this->_value;
+ }
+ $this->_errors[] = $messageKey;
+ $this->_messages[$messageKey] = $this->_createMessage($messageKey, $value);
+ }
+
+ /**
+ * Sets the value to be validated and clears the messages and errors arrays
+ *
+ * @param mixed $value
+ * @return void
+ */
+ protected function _setValue($value)
+ {
+ $this->_value = $value;
+ $this->_messages = array();
+ $this->_errors = array();
+ }
+
+ /**
+ * Returns array of validation failure message codes
+ *
+ * @return array
+ * @deprecated Since 1.5.0
+ */
+ public function getErrors()
+ {
+ return $this->_errors;
+ }
+
+ /**
+ * Set flag indicating whether or not value should be obfuscated in messages
+ *
+ * @param bool $flag
+ * @return Postman_Zend_Validate_Abstract
+ */
+ public function setObscureValue($flag)
+ {
+ $this->_obscureValue = (bool) $flag;
+ return $this;
+ }
+
+ /**
+ * Retrieve flag indicating whether or not value should be obfuscated in
+ * messages
+ *
+ * @return bool
+ */
+ public function getObscureValue()
+ {
+ return $this->_obscureValue;
+ }
+
+ /**
+ * Set translation object
+ *
+ * @param Postman_Zend_Translate|Postman_Zend_Translate_Adapter|null $translator
+ * @throws Postman_Zend_Validate_Exception
+ * @return Postman_Zend_Validate_Abstract
+ */
+ public function setTranslator($translator = null)
+ {
+ if ((null === $translator) || ($translator instanceof Postman_Zend_Translate_Adapter)) {
+ $this->_translator = $translator;
+ } elseif ($translator instanceof Postman_Zend_Translate) {
+ $this->_translator = $translator->getAdapter();
+ } else {
+// require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception('Invalid translator specified');
+ }
+ return $this;
+ }
+
+ /**
+ * Return translation object
+ *
+ * @return Postman_Zend_Translate_Adapter|null
+ */
+ public function getTranslator()
+ {
+ if ($this->translatorIsDisabled()) {
+ return null;
+ }
+
+ if (null === $this->_translator) {
+ return self::getDefaultTranslator();
+ }
+
+ return $this->_translator;
+ }
+
+ /**
+ * Does this validator have its own specific translator?
+ *
+ * @return bool
+ */
+ public function hasTranslator()
+ {
+ return (bool)$this->_translator;
+ }
+
+ /**
+ * Set default translation object for all validate objects
+ *
+ * @param Postman_Zend_Translate|Postman_Zend_Translate_Adapter|null $translator
+ * @throws Postman_Zend_Validate_Exception
+ */
+ public static function setDefaultTranslator($translator = null)
+ {
+ if ((null === $translator) || ($translator instanceof Postman_Zend_Translate_Adapter)) {
+ self::$_defaultTranslator = $translator;
+ } elseif ($translator instanceof Postman_Zend_Translate) {
+ self::$_defaultTranslator = $translator->getAdapter();
+ } else {
+// require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception('Invalid translator specified');
+ }
+ }
+
+ /**
+ * Get default translation object for all validate objects
+ *
+ * @return Postman_Zend_Translate_Adapter|null
+ */
+ public static function getDefaultTranslator()
+ {
+ if (null === self::$_defaultTranslator) {
+// require_once 'Zend/Registry.php';
+ if (Postman_Zend_Registry::isRegistered('Postman_Zend_Translate')) {
+ $translator = Postman_Zend_Registry::get('Postman_Zend_Translate');
+ if ($translator instanceof Postman_Zend_Translate_Adapter) {
+ return $translator;
+ } elseif ($translator instanceof Postman_Zend_Translate) {
+ return $translator->getAdapter();
+ }
+ }
+ }
+
+ return self::$_defaultTranslator;
+ }
+
+ /**
+ * Is there a default translation object set?
+ *
+ * @return boolean
+ */
+ public static function hasDefaultTranslator()
+ {
+ return (bool)self::$_defaultTranslator;
+ }
+
+ /**
+ * Indicate whether or not translation should be disabled
+ *
+ * @param bool $flag
+ * @return Postman_Zend_Validate_Abstract
+ */
+ public function setDisableTranslator($flag)
+ {
+ $this->_translatorDisabled = (bool) $flag;
+ return $this;
+ }
+
+ /**
+ * Is translation disabled?
+ *
+ * @return bool
+ */
+ public function translatorIsDisabled()
+ {
+ return $this->_translatorDisabled;
+ }
+
+ /**
+ * Returns the maximum allowed message length
+ *
+ * @return integer
+ */
+ public static function getMessageLength()
+ {
+ return self::$_messageLength;
+ }
+
+ /**
+ * Sets the maximum allowed message length
+ *
+ * @param integer $length
+ */
+ public static function setMessageLength($length = -1)
+ {
+ self::$_messageLength = $length;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Alnum.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Alnum.php
new file mode 100644
index 0000000..fa59cdf
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Alnum.php
@@ -0,0 +1,149 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_Alnum extends Postman_Zend_Validate_Abstract
+{
+ const INVALID = 'alnumInvalid';
+ const NOT_ALNUM = 'notAlnum';
+ const STRING_EMPTY = 'alnumStringEmpty';
+
+ /**
+ * Whether to allow white space characters; off by default
+ *
+ * @var boolean
+ * @deprecated
+ */
+ public $allowWhiteSpace;
+
+ /**
+ * Alphanumeric filter used for validation
+ *
+ * @var Postman_Zend_Filter_Alnum
+ */
+ protected static $_filter = null;
+
+ /**
+ * Validation failure message template definitions
+ *
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::INVALID => "Invalid type given. String, integer or float expected",
+ self::NOT_ALNUM => "'%value%' contains characters which are non alphabetic and no digits",
+ self::STRING_EMPTY => "'%value%' is an empty string",
+ );
+
+ /**
+ * Sets default option values for this instance
+ *
+ * @param boolean|Postman_Zend_Config $allowWhiteSpace
+ */
+ public function __construct($allowWhiteSpace = false)
+ {
+ if ($allowWhiteSpace instanceof Postman_Zend_Config) {
+ $allowWhiteSpace = $allowWhiteSpace->toArray();
+ }
+
+ if (is_array($allowWhiteSpace)) {
+ if (array_key_exists('allowWhiteSpace', $allowWhiteSpace)) {
+ $allowWhiteSpace = $allowWhiteSpace['allowWhiteSpace'];
+ } else {
+ $allowWhiteSpace = false;
+ }
+ }
+
+ $this->allowWhiteSpace = (boolean) $allowWhiteSpace;
+ }
+
+ /**
+ * Returns the allowWhiteSpace option
+ *
+ * @return boolean
+ */
+ public function getAllowWhiteSpace()
+ {
+ return $this->allowWhiteSpace;
+ }
+
+ /**
+ * Sets the allowWhiteSpace option
+ *
+ * @param boolean $allowWhiteSpace
+ * @return Postman_Zend_Filter_Alnum Provides a fluent interface
+ */
+ public function setAllowWhiteSpace($allowWhiteSpace)
+ {
+ $this->allowWhiteSpace = (boolean) $allowWhiteSpace;
+ return $this;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if and only if $value contains only alphabetic and digit characters
+ *
+ * @param string $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ if (!is_string($value) && !is_int($value) && !is_float($value)) {
+ $this->_error(self::INVALID);
+ return false;
+ }
+
+ $this->_setValue($value);
+
+ if ('' === $value) {
+ $this->_error(self::STRING_EMPTY);
+ return false;
+ }
+
+ if (null === self::$_filter) {
+ /**
+ * @see Postman_Zend_Filter_Alnum
+ */
+ require_once 'Zend/Filter/Alnum.php';
+ self::$_filter = new Postman_Zend_Filter_Alnum();
+ }
+
+ self::$_filter->allowWhiteSpace = $this->allowWhiteSpace;
+
+ if ($value != self::$_filter->filter($value)) {
+ $this->_error(self::NOT_ALNUM);
+ return false;
+ }
+
+ return true;
+ }
+
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Alpha.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Alpha.php
new file mode 100644
index 0000000..fe73a93
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Alpha.php
@@ -0,0 +1,149 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_Alpha extends Postman_Zend_Validate_Abstract
+{
+ const INVALID = 'alphaInvalid';
+ const NOT_ALPHA = 'notAlpha';
+ const STRING_EMPTY = 'alphaStringEmpty';
+
+ /**
+ * Whether to allow white space characters; off by default
+ *
+ * @var boolean
+ * @deprecated
+ */
+ public $allowWhiteSpace;
+
+ /**
+ * Alphabetic filter used for validation
+ *
+ * @var Postman_Zend_Filter_Alpha
+ */
+ protected static $_filter = null;
+
+ /**
+ * Validation failure message template definitions
+ *
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::INVALID => "Invalid type given. String expected",
+ self::NOT_ALPHA => "'%value%' contains non alphabetic characters",
+ self::STRING_EMPTY => "'%value%' is an empty string"
+ );
+
+ /**
+ * Sets default option values for this instance
+ *
+ * @param boolean|Postman_Zend_Config $allowWhiteSpace
+ */
+ public function __construct($allowWhiteSpace = false)
+ {
+ if ($allowWhiteSpace instanceof Postman_Zend_Config) {
+ $allowWhiteSpace = $allowWhiteSpace->toArray();
+ }
+
+ if (is_array($allowWhiteSpace)) {
+ if (array_key_exists('allowWhiteSpace', $allowWhiteSpace)) {
+ $allowWhiteSpace = $allowWhiteSpace['allowWhiteSpace'];
+ } else {
+ $allowWhiteSpace = false;
+ }
+ }
+
+ $this->allowWhiteSpace = (boolean) $allowWhiteSpace;
+ }
+
+ /**
+ * Returns the allowWhiteSpace option
+ *
+ * @return boolean
+ */
+ public function getAllowWhiteSpace()
+ {
+ return $this->allowWhiteSpace;
+ }
+
+ /**
+ * Sets the allowWhiteSpace option
+ *
+ * @param boolean $allowWhiteSpace
+ * @return Postman_Zend_Filter_Alpha Provides a fluent interface
+ */
+ public function setAllowWhiteSpace($allowWhiteSpace)
+ {
+ $this->allowWhiteSpace = (boolean) $allowWhiteSpace;
+ return $this;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if and only if $value contains only alphabetic characters
+ *
+ * @param string $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ if (!is_string($value)) {
+ $this->_error(self::INVALID);
+ return false;
+ }
+
+ $this->_setValue($value);
+
+ if ('' === $value) {
+ $this->_error(self::STRING_EMPTY);
+ return false;
+ }
+
+ if (null === self::$_filter) {
+ /**
+ * @see Postman_Zend_Filter_Alpha
+ */
+ require_once 'Zend/Filter/Alpha.php';
+ self::$_filter = new Postman_Zend_Filter_Alpha();
+ }
+
+ self::$_filter->allowWhiteSpace = $this->allowWhiteSpace;
+
+ if ($value !== self::$_filter->filter($value)) {
+ $this->_error(self::NOT_ALPHA);
+ return false;
+ }
+
+ return true;
+ }
+
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Barcode.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Barcode.php
new file mode 100644
index 0000000..2f9fe21
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Barcode.php
@@ -0,0 +1,227 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @see Postman_Zend_Loader
+ */
+require_once 'Zend/Loader.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_Barcode extends Postman_Zend_Validate_Abstract
+{
+ const INVALID = 'barcodeInvalid';
+ const FAILED = 'barcodeFailed';
+ const INVALID_CHARS = 'barcodeInvalidChars';
+ const INVALID_LENGTH = 'barcodeInvalidLength';
+
+ protected $_messageTemplates = array(
+ self::FAILED => "'%value%' failed checksum validation",
+ self::INVALID_CHARS => "'%value%' contains invalid characters",
+ self::INVALID_LENGTH => "'%value%' should have a length of %length% characters",
+ self::INVALID => "Invalid type given. String expected",
+ );
+
+ /**
+ * Additional variables available for validation failure messages
+ *
+ * @var array
+ */
+ protected $_messageVariables = array(
+ 'length' => '_length'
+ );
+
+ /**
+ * Length for the set subtype
+ *
+ * @var integer
+ */
+ protected $_length;
+
+ /**
+ * Barcode adapter
+ *
+ * @var Postman_Zend_Validate_Barcode_BarcodeAdapter
+ */
+ protected $_adapter;
+
+ /**
+ * Generates the standard validator object
+ *
+ * @param string|Postman_Zend_Config|
+ * Postman_Zend_Validate_Barcode_BarcodeAdapter $adapter Barcode adapter to use
+ * @throws Postman_Zend_Validate_Exception
+ */
+ public function __construct($adapter)
+ {
+ if ($adapter instanceof Postman_Zend_Config) {
+ $adapter = $adapter->toArray();
+ }
+
+ $options = null;
+ $checksum = null;
+ if (is_array($adapter)) {
+ if (array_key_exists('options', $adapter)) {
+ $options = $adapter['options'];
+ }
+
+ if (array_key_exists('checksum', $adapter)) {
+ $checksum = $adapter['checksum'];
+ }
+
+ if (array_key_exists('adapter', $adapter)) {
+ $adapter = $adapter['adapter'];
+ } else {
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception("Missing option 'adapter'");
+ }
+ }
+
+ $this->setAdapter($adapter, $options);
+ if ($checksum !== null) {
+ $this->setChecksum($checksum);
+ }
+ }
+
+ /**
+ * Returns the set adapter
+ *
+ * @return Postman_Zend_Validate_Barcode_BarcodeAdapter
+ */
+ public function getAdapter()
+ {
+ return $this->_adapter;
+ }
+
+ /**
+ * Sets a new barcode adapter
+ *
+ * @param string|Postman_Zend_Validate_Barcode $adapter Barcode adapter to use
+ * @param array $options Options for this adapter
+ * @return $this
+ * @throws Postman_Zend_Validate_Exception
+ */
+ public function setAdapter($adapter, $options = null)
+ {
+ $adapter = ucfirst(strtolower($adapter));
+ require_once 'Zend/Loader.php';
+ if (Postman_Zend_Loader::isReadable('Zend/Validate/Barcode/' . $adapter. '.php')) {
+ $adapter = 'Postman_Zend_Validate_Barcode_' . $adapter;
+ }
+
+ if (!class_exists($adapter)) {
+ Postman_Zend_Loader::loadClass($adapter);
+ }
+
+ $this->_adapter = new $adapter($options);
+ if (!$this->_adapter instanceof Postman_Zend_Validate_Barcode_AdapterInterface) {
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception(
+ "Adapter " . $adapter . " does not implement Postman_Zend_Validate_Barcode_AdapterInterface"
+ );
+ }
+
+ return $this;
+ }
+
+ /**
+ * Returns the checksum option
+ *
+ * @return boolean
+ */
+ public function getChecksum()
+ {
+ return $this->getAdapter()->getCheck();
+ }
+
+ /**
+ * Sets the checksum option
+ *
+ * @param boolean $checksum
+ * @return Postman_Zend_Validate_Barcode
+ */
+ public function setChecksum($checksum)
+ {
+ $this->getAdapter()->setCheck($checksum);
+ return $this;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if and only if $value contains a valid barcode
+ *
+ * @param string $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ if (!is_string($value)) {
+ $this->_error(self::INVALID);
+ return false;
+ }
+
+ $this->_setValue($value);
+ $adapter = $this->getAdapter();
+ $this->_length = $adapter->getLength();
+ $result = $adapter->checkLength($value);
+ if (!$result) {
+ if (is_array($this->_length)) {
+ $temp = $this->_length;
+ $this->_length = "";
+ foreach($temp as $length) {
+ $this->_length .= "/";
+ $this->_length .= $length;
+ }
+
+ $this->_length = substr($this->_length, 1);
+ }
+
+ $this->_error(self::INVALID_LENGTH);
+ return false;
+ }
+
+ $result = $adapter->checkChars($value);
+ if (!$result) {
+ $this->_error(self::INVALID_CHARS);
+ return false;
+ }
+
+ if ($this->getChecksum()) {
+ $result = $adapter->checksum($value);
+ if (!$result) {
+ $this->_error(self::FAILED);
+ return false;
+ }
+ }
+
+ return true;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Between.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Between.php
new file mode 100644
index 0000000..8f5aa55
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Between.php
@@ -0,0 +1,224 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_Between extends Postman_Zend_Validate_Abstract
+{
+ /**
+ * Validation failure message key for when the value is not between the min and max, inclusively
+ */
+ const NOT_BETWEEN = 'notBetween';
+
+ /**
+ * Validation failure message key for when the value is not strictly between the min and max
+ */
+ const NOT_BETWEEN_STRICT = 'notBetweenStrict';
+
+ /**
+ * Validation failure message template definitions
+ *
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::NOT_BETWEEN => "'%value%' is not between '%min%' and '%max%', inclusively",
+ self::NOT_BETWEEN_STRICT => "'%value%' is not strictly between '%min%' and '%max%'"
+ );
+
+ /**
+ * Additional variables available for validation failure messages
+ *
+ * @var array
+ */
+ protected $_messageVariables = array(
+ 'min' => '_min',
+ 'max' => '_max'
+ );
+
+ /**
+ * Minimum value
+ *
+ * @var mixed
+ */
+ protected $_min;
+
+ /**
+ * Maximum value
+ *
+ * @var mixed
+ */
+ protected $_max;
+
+ /**
+ * Whether to do inclusive comparisons, allowing equivalence to min and/or max
+ *
+ * If false, then strict comparisons are done, and the value may equal neither
+ * the min nor max options
+ *
+ * @var boolean
+ */
+ protected $_inclusive;
+
+ /**
+ * Sets validator options
+ * Accepts the following option keys:
+ * 'min' => scalar, minimum border
+ * 'max' => scalar, maximum border
+ * 'inclusive' => boolean, inclusive border values
+ *
+ * @param array|Postman_Zend_Config $options
+ * @throws Postman_Zend_Validate_Exception
+ */
+ public function __construct($options)
+ {
+ if ($options instanceof Postman_Zend_Config) {
+ $options = $options->toArray();
+ } else if (!is_array($options)) {
+ $options = func_get_args();
+ $temp['min'] = array_shift($options);
+ if (!empty($options)) {
+ $temp['max'] = array_shift($options);
+ }
+
+ if (!empty($options)) {
+ $temp['inclusive'] = array_shift($options);
+ }
+
+ $options = $temp;
+ }
+
+ if (!array_key_exists('min', $options) || !array_key_exists('max', $options)) {
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception("Missing option. 'min' and 'max' has to be given");
+ }
+
+ if (!array_key_exists('inclusive', $options)) {
+ $options['inclusive'] = true;
+ }
+
+ $this->setMin($options['min'])
+ ->setMax($options['max'])
+ ->setInclusive($options['inclusive']);
+ }
+
+ /**
+ * Returns the min option
+ *
+ * @return mixed
+ */
+ public function getMin()
+ {
+ return $this->_min;
+ }
+
+ /**
+ * Sets the min option
+ *
+ * @param mixed $min
+ * @return Postman_Zend_Validate_Between Provides a fluent interface
+ */
+ public function setMin($min)
+ {
+ $this->_min = $min;
+ return $this;
+ }
+
+ /**
+ * Returns the max option
+ *
+ * @return mixed
+ */
+ public function getMax()
+ {
+ return $this->_max;
+ }
+
+ /**
+ * Sets the max option
+ *
+ * @param mixed $max
+ * @return Postman_Zend_Validate_Between Provides a fluent interface
+ */
+ public function setMax($max)
+ {
+ $this->_max = $max;
+ return $this;
+ }
+
+ /**
+ * Returns the inclusive option
+ *
+ * @return boolean
+ */
+ public function getInclusive()
+ {
+ return $this->_inclusive;
+ }
+
+ /**
+ * Sets the inclusive option
+ *
+ * @param boolean $inclusive
+ * @return Postman_Zend_Validate_Between Provides a fluent interface
+ */
+ public function setInclusive($inclusive)
+ {
+ $this->_inclusive = $inclusive;
+ return $this;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if and only if $value is between min and max options, inclusively
+ * if inclusive option is true.
+ *
+ * @param mixed $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ $this->_setValue($value);
+
+ if ($this->_inclusive) {
+ if ($this->_min > $value || $value > $this->_max) {
+ $this->_error(self::NOT_BETWEEN);
+ return false;
+ }
+ } else {
+ if ($this->_min >= $value || $value >= $this->_max) {
+ $this->_error(self::NOT_BETWEEN_STRICT);
+ return false;
+ }
+ }
+ return true;
+ }
+
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Callback.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Callback.php
new file mode 100644
index 0000000..636efca
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Callback.php
@@ -0,0 +1,173 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_Callback extends Postman_Zend_Validate_Abstract
+{
+ /**
+ * Invalid callback
+ */
+ const INVALID_CALLBACK = 'callbackInvalid';
+
+ /**
+ * Invalid value
+ */
+ const INVALID_VALUE = 'callbackValue';
+
+ /**
+ * Validation failure message template definitions
+ *
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::INVALID_VALUE => "'%value%' is not valid",
+ self::INVALID_CALLBACK => "An exception has been raised within the callback",
+ );
+
+ /**
+ * Callback in a call_user_func format
+ *
+ * @var string|array
+ */
+ protected $_callback = null;
+
+ /**
+ * Default options to set for the filter
+ *
+ * @var mixed
+ */
+ protected $_options = array();
+
+ /**
+ * Sets validator options
+ *
+ * @param mixed $callback
+ * @throws Postman_Zend_Validate_Exception
+ */
+ public function __construct($callback = null)
+ {
+ if (is_callable($callback)) {
+ $this->setCallback($callback);
+ } elseif (is_array($callback)) {
+ if (isset($callback['callback'])) {
+ $this->setCallback($callback['callback']);
+ }
+ if (isset($callback['options'])) {
+ $this->setOptions($callback['options']);
+ }
+ }
+
+ if (null === ($initializedCallack = $this->getCallback())) {
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception('No callback registered');
+ }
+ }
+
+ /**
+ * Returns the set callback
+ *
+ * @return mixed
+ */
+ public function getCallback()
+ {
+ return $this->_callback;
+ }
+
+ /**
+ * Sets the callback
+ *
+ * @param string|array $callback
+ * @throws Postman_Zend_Validate_Exception
+ * @return Postman_Zend_Validate_Callback Provides a fluent interface
+ */
+ public function setCallback($callback)
+ {
+ if (!is_callable($callback)) {
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception('Invalid callback given');
+ }
+ $this->_callback = $callback;
+ return $this;
+ }
+
+ /**
+ * Returns the set options for the callback
+ *
+ * @return mixed
+ */
+ public function getOptions()
+ {
+ return $this->_options;
+ }
+
+ /**
+ * Sets options for the callback
+ *
+ * @param mixed $options
+ * @return Postman_Zend_Validate_Callback Provides a fluent interface
+ */
+ public function setOptions($options)
+ {
+ $this->_options = (array) $options;
+ return $this;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if and only if the set callback returns
+ * for the provided $value
+ *
+ * @param mixed $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ $this->_setValue($value);
+
+ $options = $this->getOptions();
+ $callback = $this->getCallback();
+ $args = func_get_args();
+ $options = array_merge($args, $options);
+
+ try {
+ if (!call_user_func_array($callback, $options)) {
+ $this->_error(self::INVALID_VALUE);
+ return false;
+ }
+ } catch (Exception $e) {
+ $this->_error(self::INVALID_CALLBACK);
+ return false;
+ }
+
+ return true;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Ccnum.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Ccnum.php
new file mode 100644
index 0000000..e3ad1e5
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Ccnum.php
@@ -0,0 +1,112 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_Ccnum extends Postman_Zend_Validate_Abstract
+{
+ /**
+ * Validation failure message key for when the value is not of valid length
+ */
+ const LENGTH = 'ccnumLength';
+
+ /**
+ * Validation failure message key for when the value fails the mod-10 checksum
+ */
+ const CHECKSUM = 'ccnumChecksum';
+
+ /**
+ * Digits filter for input
+ *
+ * @var Postman_Zend_Filter_Digits
+ */
+ protected static $_filter = null;
+
+ /**
+ * Validation failure message template definitions
+ *
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::LENGTH => "'%value%' must contain between 13 and 19 digits",
+ self::CHECKSUM => "Luhn algorithm (mod-10 checksum) failed on '%value%'"
+ );
+
+ public function __construct()
+ {
+ trigger_error('Using the Ccnum validator is deprecated in favor of the CreditCard validator');
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if and only if $value follows the Luhn algorithm (mod-10 checksum)
+ *
+ * @param string $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ $this->_setValue($value);
+
+ if (null === self::$_filter) {
+ /**
+ * @see Postman_Zend_Filter_Digits
+ */
+ require_once 'Zend/Filter/Digits.php';
+ self::$_filter = new Postman_Zend_Filter_Digits();
+ }
+
+ $valueFiltered = self::$_filter->filter($value);
+
+ $length = strlen($valueFiltered);
+
+ if ($length < 13 || $length > 19) {
+ $this->_error(self::LENGTH);
+ return false;
+ }
+
+ $sum = 0;
+ $weight = 2;
+
+ for ($i = $length - 2; $i >= 0; $i--) {
+ $digit = $weight * $valueFiltered[$i];
+ $sum += floor($digit / 10) + $digit % 10;
+ $weight = $weight % 2 + 1;
+ }
+
+ if ((10 - $sum % 10) % 10 != $valueFiltered[$length - 1]) {
+ $this->_error(self::CHECKSUM, $valueFiltered);
+ return false;
+ }
+
+ return true;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/CreditCard.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/CreditCard.php
new file mode 100644
index 0000000..a77e2a6
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/CreditCard.php
@@ -0,0 +1,319 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_CreditCard extends Postman_Zend_Validate_Abstract
+{
+ /**
+ * Detected CCI list
+ *
+ * @var string
+ */
+ const ALL = 'All';
+ const AMERICAN_EXPRESS = 'American_Express';
+ const UNIONPAY = 'Unionpay';
+ const DINERS_CLUB = 'Diners_Club';
+ const DINERS_CLUB_US = 'Diners_Club_US';
+ const DISCOVER = 'Discover';
+ const JCB = 'JCB';
+ const LASER = 'Laser';
+ const MAESTRO = 'Maestro';
+ const MASTERCARD = 'Mastercard';
+ const SOLO = 'Solo';
+ const VISA = 'Visa';
+
+ const CHECKSUM = 'creditcardChecksum';
+ const CONTENT = 'creditcardContent';
+ const INVALID = 'creditcardInvalid';
+ const LENGTH = 'creditcardLength';
+ const PREFIX = 'creditcardPrefix';
+ const SERVICE = 'creditcardService';
+ const SERVICEFAILURE = 'creditcardServiceFailure';
+
+ /**
+ * Validation failure message template definitions
+ *
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::CHECKSUM => "'%value%' seems to contain an invalid checksum",
+ self::CONTENT => "'%value%' must contain only digits",
+ self::INVALID => "Invalid type given. String expected",
+ self::LENGTH => "'%value%' contains an invalid amount of digits",
+ self::PREFIX => "'%value%' is not from an allowed institute",
+ self::SERVICE => "'%value%' seems to be an invalid creditcard number",
+ self::SERVICEFAILURE => "An exception has been raised while validating '%value%'",
+ );
+
+ /**
+ * List of allowed CCV lengths
+ *
+ * @var array
+ */
+ protected $_cardLength = array(
+ self::AMERICAN_EXPRESS => array(15),
+ self::DINERS_CLUB => array(14),
+ self::DINERS_CLUB_US => array(16),
+ self::DISCOVER => array(16),
+ self::JCB => array(16),
+ self::LASER => array(16, 17, 18, 19),
+ self::MAESTRO => array(12, 13, 14, 15, 16, 17, 18, 19),
+ self::MASTERCARD => array(16),
+ self::SOLO => array(16, 18, 19),
+ self::UNIONPAY => array(16, 17, 18, 19),
+ self::VISA => array(16),
+ );
+
+ /**
+ * List of accepted CCV provider tags
+ *
+ * @var array
+ */
+ protected $_cardType = array(
+ self::AMERICAN_EXPRESS => array('34', '37'),
+ self::DINERS_CLUB => array('300', '301', '302', '303', '304', '305', '36'),
+ self::DINERS_CLUB_US => array('54', '55'),
+ self::DISCOVER => array('6011', '622126', '622127', '622128', '622129', '62213',
+ '62214', '62215', '62216', '62217', '62218', '62219',
+ '6222', '6223', '6224', '6225', '6226', '6227', '6228',
+ '62290', '62291', '622920', '622921', '622922', '622923',
+ '622924', '622925', '644', '645', '646', '647', '648',
+ '649', '65'),
+ self::JCB => array('3528', '3529', '353', '354', '355', '356', '357', '358'),
+ self::LASER => array('6304', '6706', '6771', '6709'),
+ self::MAESTRO => array('5018', '5020', '5038', '6304', '6759', '6761', '6763'),
+ self::MASTERCARD => array('51', '52', '53', '54', '55'),
+ self::SOLO => array('6334', '6767'),
+ self::UNIONPAY => array('622126', '622127', '622128', '622129', '62213', '62214',
+ '62215', '62216', '62217', '62218', '62219', '6222', '6223',
+ '6224', '6225', '6226', '6227', '6228', '62290', '62291',
+ '622920', '622921', '622922', '622923', '622924', '622925'),
+ self::VISA => array('4'),
+ );
+
+ /**
+ * CCIs which are accepted by validation
+ *
+ * @var array
+ */
+ protected $_type = array();
+
+ /**
+ * Service callback for additional validation
+ *
+ * @var callback
+ */
+ protected $_service;
+
+ /**
+ * Constructor
+ *
+ * @param string|array|Postman_Zend_Config $options OPTIONAL Type of CCI to allow
+ */
+ public function __construct($options = array())
+ {
+ if ($options instanceof Postman_Zend_Config) {
+ $options = $options->toArray();
+ } else if (!is_array($options)) {
+ $options = func_get_args();
+ $temp['type'] = array_shift($options);
+ if (!empty($options)) {
+ $temp['service'] = array_shift($options);
+ }
+
+ $options = $temp;
+ }
+
+ if (!array_key_exists('type', $options)) {
+ $options['type'] = self::ALL;
+ }
+
+ $this->setType($options['type']);
+ if (array_key_exists('service', $options)) {
+ $this->setService($options['service']);
+ }
+ }
+
+ /**
+ * Returns a list of accepted CCIs
+ *
+ * @return array
+ */
+ public function getType()
+ {
+ return $this->_type;
+ }
+
+ /**
+ * Sets CCIs which are accepted by validation
+ *
+ * @param string|array $type Type to allow for validation
+ * @return Postman_Zend_Validate_CreditCard Provides a fluent interface
+ */
+ public function setType($type)
+ {
+ $this->_type = array();
+ return $this->addType($type);
+ }
+
+ /**
+ * Adds a CCI to be accepted by validation
+ *
+ * @param string|array $type Type to allow for validation
+ * @return Postman_Zend_Validate_CreditCard Provides a fluent interface
+ */
+ public function addType($type)
+ {
+ if (is_string($type)) {
+ $type = array($type);
+ }
+
+ foreach($type as $typ) {
+ if (defined('self::' . strtoupper($typ)) && !in_array($typ, $this->_type)) {
+ $this->_type[] = $typ;
+ }
+
+ if (($typ == self::ALL)) {
+ $this->_type = array_keys($this->_cardLength);
+ }
+ }
+
+ return $this;
+ }
+
+ /**
+ * Returns the actual set service
+ *
+ * @return callback
+ */
+ public function getService()
+ {
+ return $this->_service;
+ }
+
+ /**
+ * Sets a new callback for service validation
+ *
+ * @param mixed $service
+ * @throws Postman_Zend_Validate_Exception
+ * @return $this
+ */
+ public function setService($service)
+ {
+ if (!is_callable($service)) {
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception('Invalid callback given');
+ }
+
+ $this->_service = $service;
+ return $this;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if and only if $value follows the Luhn algorithm (mod-10 checksum)
+ *
+ * @param string $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ $this->_setValue($value);
+
+ if (!is_string($value)) {
+ $this->_error(self::INVALID, $value);
+ return false;
+ }
+
+ if (!ctype_digit($value)) {
+ $this->_error(self::CONTENT, $value);
+ return false;
+ }
+
+ $length = strlen($value);
+ $types = $this->getType();
+ $foundp = false;
+ $foundl = false;
+ foreach ($types as $type) {
+ foreach ($this->_cardType[$type] as $prefix) {
+ if (substr($value, 0, strlen($prefix)) == $prefix) {
+ $foundp = true;
+ if (in_array($length, $this->_cardLength[$type])) {
+ $foundl = true;
+ break 2;
+ }
+ }
+ }
+ }
+
+ if ($foundp == false){
+ $this->_error(self::PREFIX, $value);
+ return false;
+ }
+
+ if ($foundl == false) {
+ $this->_error(self::LENGTH, $value);
+ return false;
+ }
+
+ $sum = 0;
+ $weight = 2;
+
+ for ($i = $length - 2; $i >= 0; $i--) {
+ $digit = $weight * $value[$i];
+ $sum += floor($digit / 10) + $digit % 10;
+ $weight = $weight % 2 + 1;
+ }
+
+ if ((10 - $sum % 10) % 10 != $value[$length - 1]) {
+ $this->_error(self::CHECKSUM, $value);
+ return false;
+ }
+
+ if (!empty($this->_service)) {
+ try {
+ require_once 'Zend/Validate/Callback.php';
+ $callback = new Postman_Zend_Validate_Callback($this->_service);
+ $callback->setOptions($this->_type);
+ if (!$callback->isValid($value)) {
+ $this->_error(self::SERVICE, $value);
+ return false;
+ }
+ } catch (Postman_Zend_Exception $e) {
+ $this->_error(self::SERVICEFAILURE, $value);
+ return false;
+ }
+ }
+
+ return true;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Date.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Date.php
new file mode 100644
index 0000000..fb42ab5
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Date.php
@@ -0,0 +1,258 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_Date extends Postman_Zend_Validate_Abstract
+{
+ const INVALID = 'dateInvalid';
+ const INVALID_DATE = 'dateInvalidDate';
+ const FALSEFORMAT = 'dateFalseFormat';
+
+ /**
+ * Validation failure message template definitions
+ *
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::INVALID => "Invalid type given. String, integer, array or Postman_Zend_Date expected",
+ self::INVALID_DATE => "'%value%' does not appear to be a valid date",
+ self::FALSEFORMAT => "'%value%' does not fit the date format '%format%'",
+ );
+
+ /**
+ * @var array
+ */
+ protected $_messageVariables = array(
+ 'format' => '_format'
+ );
+
+ /**
+ * Optional format
+ *
+ * @var string|null
+ */
+ protected $_format;
+
+ /**
+ * Optional locale
+ *
+ * @var string|Postman_Zend_Locale|null
+ */
+ protected $_locale;
+
+ /**
+ * Sets validator options
+ *
+ * @param string|array|Postman_Zend_Config $options OPTIONAL
+ */
+ public function __construct($options = array())
+ {
+ if ($options instanceof Postman_Zend_Config) {
+ $options = $options->toArray();
+ } else if (!is_array($options)) {
+ $options = func_get_args();
+ $temp['format'] = array_shift($options);
+ if (!empty($options)) {
+ $temp['locale'] = array_shift($options);
+ }
+
+ $options = $temp;
+ }
+
+ if (array_key_exists('format', $options)) {
+ $this->setFormat($options['format']);
+ }
+
+ if (!array_key_exists('locale', $options)) {
+ require_once 'Zend/Registry.php';
+ if (Postman_Zend_Registry::isRegistered('Postman_Zend_Locale')) {
+ $options['locale'] = Postman_Zend_Registry::get('Postman_Zend_Locale');
+ }
+ }
+
+ if (array_key_exists('locale', $options)) {
+ $this->setLocale($options['locale']);
+ }
+ }
+
+ /**
+ * Returns the locale option
+ *
+ * @return string|Postman_Zend_Locale|null
+ */
+ public function getLocale()
+ {
+ return $this->_locale;
+ }
+
+ /**
+ * Sets the locale option
+ *
+ * @param string|Postman_Zend_Locale $locale
+ * @return Postman_Zend_Validate_Date provides a fluent interface
+ */
+ public function setLocale($locale = null)
+ {
+ require_once 'Zend/Locale.php';
+ $this->_locale = Postman_Zend_Locale::findLocale($locale);
+ return $this;
+ }
+
+ /**
+ * Returns the locale option
+ *
+ * @return string|null
+ */
+ public function getFormat()
+ {
+ return $this->_format;
+ }
+
+ /**
+ * Sets the format option
+ *
+ * @param string $format
+ * @return Postman_Zend_Validate_Date provides a fluent interface
+ */
+ public function setFormat($format = null)
+ {
+ $this->_format = $format;
+ return $this;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if $value is a valid date of the format YYYY-MM-DD
+ * If optional $format or $locale is set the date format is checked
+ * according to Postman_Zend_Date, see Postman_Zend_Date::isDate()
+ *
+ * @param string|array|Postman_Zend_Date $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ if (!is_string($value) && !is_int($value) && !is_float($value) &&
+ !is_array($value) && !($value instanceof Postman_Zend_Date)) {
+ $this->_error(self::INVALID);
+ return false;
+ }
+
+ $this->_setValue($value);
+
+ if (($this->_format !== null) || ($this->_locale !== null) || is_array($value) ||
+ $value instanceof Postman_Zend_Date) {
+ require_once 'Zend/Date.php';
+ if (!Postman_Zend_Date::isDate($value, $this->_format, $this->_locale)) {
+ if ($this->_checkFormat($value) === false) {
+ $this->_error(self::FALSEFORMAT);
+ } else {
+ $this->_error(self::INVALID_DATE);
+ }
+ return false;
+ }
+ } else {
+ if (!preg_match('/^\d{4}-\d{2}-\d{2}$/', $value)) {
+ $this->_format = 'yyyy-MM-dd';
+ $this->_error(self::FALSEFORMAT);
+ $this->_format = null;
+ return false;
+ }
+
+ list($year, $month, $day) = sscanf($value, '%d-%d-%d');
+
+ if (!checkdate($month, $day, $year)) {
+ $this->_error(self::INVALID_DATE);
+ return false;
+ }
+ }
+
+ return true;
+ }
+
+ /**
+ * Check if the given date fits the given format
+ *
+ * @param string $value Date to check
+ * @return boolean False when date does not fit the format
+ */
+ private function _checkFormat($value)
+ {
+ try {
+ require_once 'Zend/Locale/Format.php';
+ $parsed = Postman_Zend_Locale_Format::getDate($value, array(
+ 'date_format' => $this->_format, 'format_type' => 'iso',
+ 'fix_date' => false));
+ if (isset($parsed['year']) and ((strpos(strtoupper($this->_format), 'YY') !== false) and
+ (strpos(strtoupper($this->_format), 'YYYY') === false))) {
+ $parsed['year'] = Postman_Zend_Date::getFullYear($parsed['year']);
+ }
+ } catch (Exception $e) {
+ // Date can not be parsed
+ return false;
+ }
+
+ if (((strpos($this->_format, 'Y') !== false) or (strpos($this->_format, 'y') !== false)) and
+ (!isset($parsed['year']))) {
+ // Year expected but not found
+ return false;
+ }
+
+ if ((strpos($this->_format, 'M') !== false) and (!isset($parsed['month']))) {
+ // Month expected but not found
+ return false;
+ }
+
+ if ((strpos($this->_format, 'd') !== false) and (!isset($parsed['day']))) {
+ // Day expected but not found
+ return false;
+ }
+
+ if (((strpos($this->_format, 'H') !== false) or (strpos($this->_format, 'h') !== false)) and
+ (!isset($parsed['hour']))) {
+ // Hour expected but not found
+ return false;
+ }
+
+ if ((strpos($this->_format, 'm') !== false) and (!isset($parsed['minute']))) {
+ // Minute expected but not found
+ return false;
+ }
+
+ if ((strpos($this->_format, 's') !== false) and (!isset($parsed['second']))) {
+ // Second expected but not found
+ return false;
+ }
+
+ // Date fits the format
+ return true;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Digits.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Digits.php
new file mode 100644
index 0000000..ba253a8
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Digits.php
@@ -0,0 +1,91 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_Digits extends Postman_Zend_Validate_Abstract
+{
+ const NOT_DIGITS = 'notDigits';
+ const STRING_EMPTY = 'digitsStringEmpty';
+ const INVALID = 'digitsInvalid';
+
+ /**
+ * Digits filter used for validation
+ *
+ * @var Postman_Zend_Filter_Digits
+ */
+ protected static $_filter = null;
+
+ /**
+ * Validation failure message template definitions
+ *
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::NOT_DIGITS => "'%value%' must contain only digits",
+ self::STRING_EMPTY => "'%value%' is an empty string",
+ self::INVALID => "Invalid type given. String, integer or float expected",
+ );
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if and only if $value only contains digit characters
+ *
+ * @param string $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ if (!is_string($value) && !is_int($value) && !is_float($value)) {
+ $this->_error(self::INVALID);
+ return false;
+ }
+
+ $this->_setValue((string) $value);
+
+ if ('' === $this->_value) {
+ $this->_error(self::STRING_EMPTY);
+ return false;
+ }
+
+ if (null === self::$_filter) {
+ require_once 'Zend/Filter/Digits.php';
+ self::$_filter = new Postman_Zend_Filter_Digits();
+ }
+
+ if ($this->_value !== self::$_filter->filter($this->_value)) {
+ $this->_error(self::NOT_DIGITS);
+ return false;
+ }
+
+ return true;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/EmailAddress.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/EmailAddress.php
new file mode 100644
index 0000000..537c330
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/EmailAddress.php
@@ -0,0 +1,574 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+// require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @see Postman_Zend_Validate_Hostname
+ */
+// require_once 'Zend/Validate/Hostname.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_EmailAddress extends Postman_Zend_Validate_Abstract
+{
+ const INVALID = 'emailAddressInvalid';
+ const INVALID_FORMAT = 'emailAddressInvalidFormat';
+ const INVALID_HOSTNAME = 'emailAddressInvalidHostname';
+ const INVALID_MX_RECORD = 'emailAddressInvalidMxRecord';
+ const INVALID_SEGMENT = 'emailAddressInvalidSegment';
+ const DOT_ATOM = 'emailAddressDotAtom';
+ const QUOTED_STRING = 'emailAddressQuotedString';
+ const INVALID_LOCAL_PART = 'emailAddressInvalidLocalPart';
+ const LENGTH_EXCEEDED = 'emailAddressLengthExceeded';
+
+ /**
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::INVALID => "Invalid type given. String expected",
+ self::INVALID_FORMAT => "'%value%' is not a valid email address in the basic format local-part@hostname",
+ self::INVALID_HOSTNAME => "'%hostname%' is not a valid hostname for email address '%value%'",
+ self::INVALID_MX_RECORD => "'%hostname%' does not appear to have a valid MX record for the email address '%value%'",
+ self::INVALID_SEGMENT => "'%hostname%' is not in a routable network segment. The email address '%value%' should not be resolved from public network",
+ self::DOT_ATOM => "'%localPart%' can not be matched against dot-atom format",
+ self::QUOTED_STRING => "'%localPart%' can not be matched against quoted-string format",
+ self::INVALID_LOCAL_PART => "'%localPart%' is not a valid local part for email address '%value%'",
+ self::LENGTH_EXCEEDED => "'%value%' exceeds the allowed length",
+ );
+
+ /**
+ * As of RFC5753 (JAN 2010), the following blocks are no logner reserved:
+ * - 128.0.0.0/16
+ * - 191.255.0.0/16
+ * - 223.255.255.0/24
+ * @see http://tools.ietf.org/html/rfc5735#page-6
+ *
+ * As of RFC6598 (APR 2012), the following blocks are now reserved:
+ * - 100.64.0.0/10
+ * @see http://tools.ietf.org/html/rfc6598#section-7
+ *
+ * @see http://en.wikipedia.org/wiki/IPv4
+ * @var array
+ */
+ protected $_invalidIp = array(
+ '0' => '0.0.0.0/8',
+ '10' => '10.0.0.0/8',
+ '100' => '100.64.0.0/10',
+ '127' => '127.0.0.0/8',
+ '169' => '169.254.0.0/16',
+ '172' => '172.16.0.0/12',
+ '192' => array(
+ '192.0.0.0/24',
+ '192.0.2.0/24',
+ '192.88.99.0/24',
+ '192.168.0.0/16'
+ ),
+ '198' => '198.18.0.0/15',
+ '224' => '224.0.0.0/4',
+ '240' => '240.0.0.0/4'
+ );
+
+ /**
+ * @var array
+ */
+ protected $_messageVariables = array(
+ 'hostname' => '_hostname',
+ 'localPart' => '_localPart'
+ );
+
+ /**
+ * @var string
+ */
+ protected $_hostname;
+
+ /**
+ * @var string
+ */
+ protected $_localPart;
+
+ /**
+ * Internal options array
+ */
+ protected $_options = array(
+ 'mx' => false,
+ 'deep' => false,
+ 'domain' => true,
+ 'allow' => Postman_Zend_Validate_Hostname::ALLOW_DNS,
+ 'hostname' => null
+ );
+
+ /**
+ * Instantiates hostname validator for local use
+ *
+ * The following option keys are supported:
+ * 'hostname' => A hostname validator, see Postman_Zend_Validate_Hostname
+ * 'allow' => Options for the hostname validator, see Postman_Zend_Validate_Hostname::ALLOW_*
+ * 'mx' => If MX check should be enabled, boolean
+ * 'deep' => If a deep MX check should be done, boolean
+ *
+ * @param array|string|Postman_Zend_Config $options OPTIONAL
+ */
+ public function __construct($options = array())
+ {
+ if ($options instanceof Postman_Zend_Config) {
+ $options = $options->toArray();
+ } else if (!is_array($options)) {
+ $options = func_get_args();
+ $temp['allow'] = array_shift($options);
+ if (!empty($options)) {
+ $temp['mx'] = array_shift($options);
+ }
+
+ if (!empty($options)) {
+ $temp['hostname'] = array_shift($options);
+ }
+
+ $options = $temp;
+ }
+
+ $options += $this->_options;
+ $this->setOptions($options);
+ }
+
+ /**
+ * Returns all set Options
+ *
+ * @return array
+ */
+ public function getOptions()
+ {
+ return $this->_options;
+ }
+
+ /**
+ * Set options for the email validator
+ *
+ * @param array $options
+ * @return Postman_Zend_Validate_EmailAddress Provides a fluent inteface
+ */
+ public function setOptions(array $options = array())
+ {
+ if (array_key_exists('messages', $options)) {
+ $this->setMessages($options['messages']);
+ }
+
+ if (array_key_exists('hostname', $options)) {
+ if (array_key_exists('allow', $options)) {
+ $this->setHostnameValidator($options['hostname'], $options['allow']);
+ } else {
+ $this->setHostnameValidator($options['hostname']);
+ }
+ } elseif ($this->_options['hostname'] == null) {
+ $this->setHostnameValidator();
+ }
+
+ if (array_key_exists('mx', $options)) {
+ $this->setValidateMx($options['mx']);
+ }
+
+ if (array_key_exists('deep', $options)) {
+ $this->setDeepMxCheck($options['deep']);
+ }
+
+ if (array_key_exists('domain', $options)) {
+ $this->setDomainCheck($options['domain']);
+ }
+
+ return $this;
+ }
+
+ /**
+ * Sets the validation failure message template for a particular key
+ * Adds the ability to set messages to the attached hostname validator
+ *
+ * @param string $messageString
+ * @param string $messageKey OPTIONAL
+ * @return Postman_Zend_Validate_Abstract Provides a fluent interface
+ * @throws Postman_Zend_Validate_Exception
+ */
+ public function setMessage($messageString, $messageKey = null)
+ {
+ if ($messageKey === null) {
+ $this->_options['hostname']->setMessage($messageString);
+ parent::setMessage($messageString);
+ return $this;
+ }
+
+ if (!isset($this->_messageTemplates[$messageKey])) {
+ $this->_options['hostname']->setMessage($messageString, $messageKey);
+ }
+
+ $this->_messageTemplates[$messageKey] = $messageString;
+ return $this;
+ }
+
+ /**
+ * Returns the set hostname validator
+ *
+ * @return Postman_Zend_Validate_Hostname
+ */
+ public function getHostnameValidator()
+ {
+ return $this->_options['hostname'];
+ }
+
+ /**
+ * @param Postman_Zend_Validate_Hostname $hostnameValidator OPTIONAL
+ * @param int $allow OPTIONAL
+ * @return $this
+ */
+ public function setHostnameValidator(Postman_Zend_Validate_Hostname $hostnameValidator = null, $allow = Postman_Zend_Validate_Hostname::ALLOW_DNS)
+ {
+ if (!$hostnameValidator) {
+ $hostnameValidator = new Postman_Zend_Validate_Hostname($allow);
+ }
+
+ $this->_options['hostname'] = $hostnameValidator;
+ $this->_options['allow'] = $allow;
+ return $this;
+ }
+
+ /**
+ * Whether MX checking via getmxrr is supported or not
+ *
+ * This currently only works on UNIX systems
+ *
+ * @return boolean
+ */
+ public function validateMxSupported()
+ {
+ return function_exists('getmxrr');
+ }
+
+ /**
+ * Returns the set validateMx option
+ *
+ * @return boolean
+ */
+ public function getValidateMx()
+ {
+ return $this->_options['mx'];
+ }
+
+ /**
+ * Set whether we check for a valid MX record via DNS
+ *
+ * This only applies when DNS hostnames are validated
+ *
+ * @param boolean $mx Set allowed to true to validate for MX records, and false to not validate them
+ * @throws Postman_Zend_Validate_Exception
+ * @return Postman_Zend_Validate_EmailAddress Provides a fluent inteface
+ */
+ public function setValidateMx($mx)
+ {
+ if ((bool) $mx && !$this->validateMxSupported()) {
+ // require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception('MX checking not available on this system');
+ }
+
+ $this->_options['mx'] = (bool) $mx;
+ return $this;
+ }
+
+ /**
+ * Returns the set deepMxCheck option
+ *
+ * @return boolean
+ */
+ public function getDeepMxCheck()
+ {
+ return $this->_options['deep'];
+ }
+
+ /**
+ * Set whether we check MX record should be a deep validation
+ *
+ * @param boolean $deep Set deep to true to perform a deep validation process for MX records
+ * @return Postman_Zend_Validate_EmailAddress Provides a fluent inteface
+ */
+ public function setDeepMxCheck($deep)
+ {
+ $this->_options['deep'] = (bool) $deep;
+ return $this;
+ }
+
+ /**
+ * Returns the set domainCheck option
+ *
+ * @return unknown
+ */
+ public function getDomainCheck()
+ {
+ return $this->_options['domain'];
+ }
+
+ /**
+ * Sets if the domain should also be checked
+ * or only the local part of the email address
+ *
+ * @param boolean $domain
+ * @return Postman_Zend_Validate_EmailAddress Provides a fluent inteface
+ */
+ public function setDomainCheck($domain = true)
+ {
+ $this->_options['domain'] = (boolean) $domain;
+ return $this;
+ }
+
+ /**
+ * Returns if the given host is reserved
+ *
+ * @param string $host
+ * @return boolean
+ */
+ private function _isReserved($host){
+ if (!preg_match('/^([0-9]{1,3}\.){3}[0-9]{1,3}$/', $host)) {
+ $host = gethostbyname($host);
+ }
+
+ $octet = explode('.',$host);
+ if ((int)$octet[0] >= 224) {
+ return true;
+ } else if (array_key_exists($octet[0], $this->_invalidIp)) {
+ foreach ((array)$this->_invalidIp[$octet[0]] as $subnetData) {
+ // we skip the first loop as we already know that octet matches
+ for ($i = 1; $i < 4; $i++) {
+ if (strpos($subnetData, $octet[$i]) !== $i * 4) {
+ break;
+ }
+ }
+
+ $host = explode("/", $subnetData);
+ $binaryHost = "";
+ $tmp = explode(".", $host[0]);
+ for ($i = 0; $i < 4 ; $i++) {
+ $binaryHost .= str_pad(decbin($tmp[$i]), 8, "0", STR_PAD_LEFT);
+ }
+
+ $segmentData = array(
+ 'network' => (int)$this->_toIp(str_pad(substr($binaryHost, 0, $host[1]), 32, 0)),
+ 'broadcast' => (int)$this->_toIp(str_pad(substr($binaryHost, 0, $host[1]), 32, 1))
+ );
+
+ for ($j = $i; $j < 4; $j++) {
+ if ((int)$octet[$j] < $segmentData['network'][$j] ||
+ (int)$octet[$j] > $segmentData['broadcast'][$j]) {
+ return false;
+ }
+ }
+ }
+
+ return true;
+ } else {
+ return false;
+ }
+ }
+
+ /**
+ * Converts a binary string to an IP address
+ *
+ * @param string $binary
+ * @return mixed
+ */
+ private function _toIp($binary)
+ {
+ $ip = array();
+ $tmp = explode(".", chunk_split($binary, 8, "."));
+ for ($i = 0; $i < 4 ; $i++) {
+ $ip[$i] = bindec($tmp[$i]);
+ }
+
+ return $ip;
+ }
+
+ /**
+ * Internal method to validate the local part of the email address
+ *
+ * @return boolean
+ */
+ private function _validateLocalPart()
+ {
+ // First try to match the local part on the common dot-atom format
+ $result = false;
+
+ // Dot-atom characters are: 1*atext *("." 1*atext)
+ // atext: ALPHA / DIGIT / and "!", "#", "$", "%", "&", "'", "*",
+ // "+", "-", "/", "=", "?", "^", "_", "`", "{", "|", "}", "~"
+ $atext = 'a-zA-Z0-9\x21\x23\x24\x25\x26\x27\x2a\x2b\x2d\x2f\x3d\x3f\x5e\x5f\x60\x7b\x7c\x7d\x7e';
+ if (preg_match('/^[' . $atext . ']+(\x2e+[' . $atext . ']+)*$/', $this->_localPart)) {
+ $result = true;
+ } else {
+ // Try quoted string format (RFC 5321 Chapter 4.1.2)
+
+ // Quoted-string characters are: DQUOTE *(qtext/quoted-pair) DQUOTE
+ $qtext = '\x20-\x21\x23-\x5b\x5d-\x7e'; // %d32-33 / %d35-91 / %d93-126
+ $quotedPair = '\x20-\x7e'; // %d92 %d32-126
+ if (preg_match('/^"(['. $qtext .']|\x5c[' . $quotedPair . '])*"$/', $this->localPart)) {
+ $result = true;
+ } else {
+ $this->_error(self::DOT_ATOM);
+ $this->_error(self::QUOTED_STRING);
+ $this->_error(self::INVALID_LOCAL_PART);
+ }
+ }
+
+ return $result;
+ }
+
+ /**
+ * Internal method to validate the servers MX records
+ *
+ * @return boolean
+ */
+ private function _validateMXRecords()
+ {
+ $mxHosts = array();
+ $hostname = $this->_hostname;
+
+ //decode IDN domain name if possible
+ if (function_exists('idn_to_ascii')) {
+ $hostname = idn_to_ascii($this->_hostname);
+ }
+
+ $result = getmxrr($hostname, $mxHosts);
+ if (!$result) {
+ $this->_error(self::INVALID_MX_RECORD);
+ } else if ($this->_options['deep'] && function_exists('checkdnsrr')) {
+ $validAddress = false;
+ $reserved = true;
+ foreach ($mxHosts as $hostname) {
+ $res = $this->_isReserved($hostname);
+ if (!$res) {
+ $reserved = false;
+ }
+
+ if (!$res
+ && (checkdnsrr($hostname, "A")
+ || checkdnsrr($hostname, "AAAA")
+ || checkdnsrr($hostname, "A6"))) {
+ $validAddress = true;
+ break;
+ }
+ }
+
+ if (!$validAddress) {
+ $result = false;
+ if ($reserved) {
+ $this->_error(self::INVALID_SEGMENT);
+ } else {
+ $this->_error(self::INVALID_MX_RECORD);
+ }
+ }
+ }
+
+ return $result;
+ }
+
+ /**
+ * Internal method to validate the hostname part of the email address
+ *
+ * @return boolean
+ */
+ private function _validateHostnamePart()
+ {
+ $hostname = $this->_options['hostname']->setTranslator($this->getTranslator())
+ ->isValid($this->_hostname);
+ if (!$hostname) {
+ $this->_error(self::INVALID_HOSTNAME);
+
+ // Get messages and errors from hostnameValidator
+ foreach ($this->_options['hostname']->getMessages() as $code => $message) {
+ $this->_messages[$code] = $message;
+ }
+
+ foreach ($this->_options['hostname']->getErrors() as $error) {
+ $this->_errors[] = $error;
+ }
+ } else if ($this->_options['mx']) {
+ // MX check on hostname
+ $hostname = $this->_validateMXRecords();
+ }
+
+ return $hostname;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if and only if $value is a valid email address
+ * according to RFC2822
+ *
+ * @link http://www.ietf.org/rfc/rfc2822.txt RFC2822
+ * @link http://www.columbia.edu/kermit/ascii.html US-ASCII characters
+ * @param string $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ if (!is_string($value)) {
+ $this->_error(self::INVALID);
+ return false;
+ }
+
+ $matches = array();
+ $length = true;
+ $this->_setValue($value);
+
+ // Split email address up and disallow '..'
+ if ((strpos($value, '..') !== false) or
+ (!preg_match('/^(.+)@([^@]+)$/', $value, $matches))) {
+ $this->_error(self::INVALID_FORMAT);
+ return false;
+ }
+
+ $this->_localPart = $matches[1];
+ $this->_hostname = $matches[2];
+
+ if ((strlen($this->_localPart) > 64) || (strlen($this->_hostname) > 255)) {
+ $length = false;
+ $this->_error(self::LENGTH_EXCEEDED);
+ }
+
+ // Match hostname part
+ if ($this->_options['domain']) {
+ $hostname = $this->_validateHostnamePart();
+ }
+
+ $local = $this->_validateLocalPart();
+
+ // If both parts valid, return true
+ if ($local && $length) {
+ if (($this->_options['domain'] && $hostname) || !$this->_options['domain']) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Exception.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Exception.php
new file mode 100644
index 0000000..a0abb61
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Exception.php
@@ -0,0 +1,34 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Exception
+ */
+// require_once 'Zend/Exception.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_Exception extends Postman_Zend_Exception
+{}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Float.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Float.php
new file mode 100644
index 0000000..543d923
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Float.php
@@ -0,0 +1,135 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @see Postman_Zend_Locale_Format
+ */
+require_once 'Zend/Locale/Format.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_Float extends Postman_Zend_Validate_Abstract
+{
+ const INVALID = 'floatInvalid';
+ const NOT_FLOAT = 'notFloat';
+
+ /**
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::INVALID => "Invalid type given. String, integer or float expected",
+ self::NOT_FLOAT => "'%value%' does not appear to be a float",
+ );
+
+ protected $_locale;
+
+ /**
+ * Constructor for the float validator
+ *
+ * @param string|Postman_Zend_Config|Postman_Zend_Locale $locale
+ */
+ public function __construct($locale = null)
+ {
+ if ($locale instanceof Postman_Zend_Config) {
+ $locale = $locale->toArray();
+ }
+
+ if (is_array($locale)) {
+ if (array_key_exists('locale', $locale)) {
+ $locale = $locale['locale'];
+ } else {
+ $locale = null;
+ }
+ }
+
+ if (empty($locale)) {
+ require_once 'Zend/Registry.php';
+ if (Postman_Zend_Registry::isRegistered('Postman_Zend_Locale')) {
+ $locale = Postman_Zend_Registry::get('Postman_Zend_Locale');
+ }
+ }
+
+ $this->setLocale($locale);
+ }
+
+ /**
+ * Returns the set locale
+ */
+ public function getLocale()
+ {
+ return $this->_locale;
+ }
+
+ /**
+ * Sets the locale to use
+ *
+ * @param string|Postman_Zend_Locale $locale
+ * @return $this
+ */
+ public function setLocale($locale = null)
+ {
+ require_once 'Zend/Locale.php';
+ $this->_locale = Postman_Zend_Locale::findLocale($locale);
+ return $this;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if and only if $value is a floating-point value
+ *
+ * @param string $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ if (!is_string($value) && !is_int($value) && !is_float($value)) {
+ $this->_error(self::INVALID);
+ return false;
+ }
+
+ if (is_float($value)) {
+ return true;
+ }
+
+ $this->_setValue($value);
+ try {
+ if (!Postman_Zend_Locale_Format::isFloat($value, array('locale' => $this->_locale))) {
+ $this->_error(self::NOT_FLOAT);
+ return false;
+ }
+ } catch (Postman_Zend_Locale_Exception $e) {
+ $this->_error(self::NOT_FLOAT);
+ return false;
+ }
+
+ return true;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/GreaterThan.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/GreaterThan.php
new file mode 100644
index 0000000..e5f5d1a
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/GreaterThan.php
@@ -0,0 +1,124 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_GreaterThan extends Postman_Zend_Validate_Abstract
+{
+
+ const NOT_GREATER = 'notGreaterThan';
+
+ /**
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::NOT_GREATER => "'%value%' is not greater than '%min%'",
+ );
+
+ /**
+ * @var array
+ */
+ protected $_messageVariables = array(
+ 'min' => '_min'
+ );
+
+ /**
+ * Minimum value
+ *
+ * @var mixed
+ */
+ protected $_min;
+
+ /**
+ * Sets validator options
+ *
+ * @param mixed|Postman_Zend_Config $min
+ * @throws Postman_Zend_Validate_Exception
+ */
+ public function __construct($min)
+ {
+ if ($min instanceof Postman_Zend_Config) {
+ $min = $min->toArray();
+ }
+
+ if (is_array($min)) {
+ if (array_key_exists('min', $min)) {
+ $min = $min['min'];
+ } else {
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception("Missing option 'min'");
+ }
+ }
+
+ $this->setMin($min);
+ }
+
+ /**
+ * Returns the min option
+ *
+ * @return mixed
+ */
+ public function getMin()
+ {
+ return $this->_min;
+ }
+
+ /**
+ * Sets the min option
+ *
+ * @param mixed $min
+ * @return Postman_Zend_Validate_GreaterThan Provides a fluent interface
+ */
+ public function setMin($min)
+ {
+ $this->_min = $min;
+ return $this;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if and only if $value is greater than min option
+ *
+ * @param mixed $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ $this->_setValue($value);
+
+ if ($this->_min >= $value) {
+ $this->_error(self::NOT_GREATER);
+ return false;
+ }
+ return true;
+ }
+
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Hex.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Hex.php
new file mode 100644
index 0000000..1917e98
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Hex.php
@@ -0,0 +1,72 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_Hex extends Postman_Zend_Validate_Abstract
+{
+ const INVALID = 'hexInvalid';
+ const NOT_HEX = 'notHex';
+
+ /**
+ * Validation failure message template definitions
+ *
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::INVALID => "Invalid type given. String expected",
+ self::NOT_HEX => "'%value%' has not only hexadecimal digit characters",
+ );
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if and only if $value contains only hexadecimal digit characters
+ *
+ * @param string $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ if (!is_string($value) && !is_int($value)) {
+ $this->_error(self::INVALID);
+ return false;
+ }
+
+ $this->_setValue($value);
+ if (!ctype_xdigit((string) $value)) {
+ $this->_error(self::NOT_HEX);
+ return false;
+ }
+
+ return true;
+ }
+
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname.php
new file mode 100644
index 0000000..3b1e8b3
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname.php
@@ -0,0 +1,1663 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+// require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @see Postman_Zend_Validate_Ip
+ */
+// require_once 'Zend/Validate/Ip.php';
+
+/**
+ * Please note there are two standalone test scripts for testing IDN characters due to problems
+ * with file encoding.
+ *
+ * The first is tests/Zend/Validate/HostnameTestStandalone.php which is designed to be run on
+ * the command line.
+ *
+ * The second is tests/Zend/Validate/HostnameTestForm.php which is designed to be run via HTML
+ * to allow users to test entering UTF-8 characters in a form.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_Hostname extends Postman_Zend_Validate_Abstract
+{
+ const CANNOT_DECODE_PUNYCODE = 'hostnameCannotDecodePunycode';
+ const INVALID = 'hostnameInvalid';
+ const INVALID_DASH = 'hostnameDashCharacter';
+ const INVALID_HOSTNAME = 'hostnameInvalidHostname';
+ const INVALID_HOSTNAME_SCHEMA = 'hostnameInvalidHostnameSchema';
+ const INVALID_LOCAL_NAME = 'hostnameInvalidLocalName';
+ const INVALID_URI = 'hostnameInvalidUri';
+ const IP_ADDRESS_NOT_ALLOWED = 'hostnameIpAddressNotAllowed';
+ const LOCAL_NAME_NOT_ALLOWED = 'hostnameLocalNameNotAllowed';
+ const UNDECIPHERABLE_TLD = 'hostnameUndecipherableTld';
+ const UNKNOWN_TLD = 'hostnameUnknownTld';
+
+ /**
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::CANNOT_DECODE_PUNYCODE => "'%value%' appears to be a DNS hostname but the given punycode notation cannot be decoded",
+ self::INVALID => "Invalid type given. String expected",
+ self::INVALID_DASH => "'%value%' appears to be a DNS hostname but contains a dash in an invalid position",
+ self::INVALID_HOSTNAME => "'%value%' does not match the expected structure for a DNS hostname",
+ self::INVALID_HOSTNAME_SCHEMA => "'%value%' appears to be a DNS hostname but cannot match against hostname schema for TLD '%tld%'",
+ self::INVALID_LOCAL_NAME => "'%value%' does not appear to be a valid local network name",
+ self::INVALID_URI => "'%value%' does not appear to be a valid URI hostname",
+ self::IP_ADDRESS_NOT_ALLOWED => "'%value%' appears to be an IP address, but IP addresses are not allowed",
+ self::LOCAL_NAME_NOT_ALLOWED => "'%value%' appears to be a local network name but local network names are not allowed",
+ self::UNDECIPHERABLE_TLD => "'%value%' appears to be a DNS hostname but cannot extract TLD part",
+ self::UNKNOWN_TLD => "'%value%' appears to be a DNS hostname but cannot match TLD against known list",
+ );
+
+ /**
+ * @var array
+ */
+ protected $_messageVariables = array(
+ 'tld' => '_tld'
+ );
+
+ /**
+ * Allows Internet domain names (e.g., example.com)
+ */
+ const ALLOW_DNS = 1;
+
+ /**
+ * Allows IP addresses
+ */
+ const ALLOW_IP = 2;
+
+ /**
+ * Allows local network names (e.g., localhost, www.localdomain)
+ */
+ const ALLOW_LOCAL = 4;
+
+ /**
+ * Allows all types of hostnames
+ */
+ const ALLOW_URI = 8;
+
+ /**
+ * Allows all types of hostnames
+ */
+ const ALLOW_ALL = 15;
+
+ /**
+ * Array of valid top-level-domains
+ *
+ * Version 2014112800, Last Updated Fri Nov 28 07:07:01 2014 UTC
+ *
+ * @see http://data.iana.org/TLD/tlds-alpha-by-domain.txt List of all TLDs by domain
+ * @see http://www.iana.org/domains/root/db/ Official list of supported TLDs
+ * @var array
+ */
+ protected $_validTlds = array(
+ 'abogado',
+ 'ac',
+ 'academy',
+ 'accountants',
+ 'active',
+ 'actor',
+ 'ad',
+ 'ae',
+ 'aero',
+ 'af',
+ 'ag',
+ 'agency',
+ 'ai',
+ 'airforce',
+ 'al',
+ 'allfinanz',
+ 'alsace',
+ 'am',
+ 'an',
+ 'android',
+ 'ao',
+ 'aq',
+ 'ar',
+ 'archi',
+ 'army',
+ 'arpa',
+ 'as',
+ 'asia',
+ 'associates',
+ 'at',
+ 'attorney',
+ 'au',
+ 'auction',
+ 'audio',
+ 'autos',
+ 'aw',
+ 'ax',
+ 'axa',
+ 'az',
+ 'ba',
+ 'band',
+ 'bar',
+ 'bargains',
+ 'bayern',
+ 'bb',
+ 'bd',
+ 'be',
+ 'beer',
+ 'berlin',
+ 'best',
+ 'bf',
+ 'bg',
+ 'bh',
+ 'bi',
+ 'bid',
+ 'bike',
+ 'bio',
+ 'biz',
+ 'bj',
+ 'black',
+ 'blackfriday',
+ 'bloomberg',
+ 'blue',
+ 'bm',
+ 'bmw',
+ 'bn',
+ 'bnpparibas',
+ 'bo',
+ 'boo',
+ 'boutique',
+ 'br',
+ 'brussels',
+ 'bs',
+ 'bt',
+ 'budapest',
+ 'build',
+ 'builders',
+ 'business',
+ 'buzz',
+ 'bv',
+ 'bw',
+ 'by',
+ 'bz',
+ 'bzh',
+ 'ca',
+ 'cab',
+ 'cal',
+ 'camera',
+ 'camp',
+ 'cancerresearch',
+ 'capetown',
+ 'capital',
+ 'caravan',
+ 'cards',
+ 'care',
+ 'career',
+ 'careers',
+ 'casa',
+ 'cash',
+ 'cat',
+ 'catering',
+ 'cc',
+ 'cd',
+ 'center',
+ 'ceo',
+ 'cern',
+ 'cf',
+ 'cg',
+ 'ch',
+ 'channel',
+ 'cheap',
+ 'christmas',
+ 'chrome',
+ 'church',
+ 'ci',
+ 'citic',
+ 'city',
+ 'ck',
+ 'cl',
+ 'claims',
+ 'cleaning',
+ 'click',
+ 'clinic',
+ 'clothing',
+ 'club',
+ 'cm',
+ 'cn',
+ 'co',
+ 'coach',
+ 'codes',
+ 'coffee',
+ 'college',
+ 'cologne',
+ 'com',
+ 'community',
+ 'company',
+ 'computer',
+ 'condos',
+ 'construction',
+ 'consulting',
+ 'contractors',
+ 'cooking',
+ 'cool',
+ 'coop',
+ 'country',
+ 'cr',
+ 'credit',
+ 'creditcard',
+ 'cricket',
+ 'crs',
+ 'cruises',
+ 'cu',
+ 'cuisinella',
+ 'cv',
+ 'cw',
+ 'cx',
+ 'cy',
+ 'cymru',
+ 'cz',
+ 'dad',
+ 'dance',
+ 'dating',
+ 'day',
+ 'de',
+ 'deals',
+ 'degree',
+ 'delivery',
+ 'democrat',
+ 'dental',
+ 'dentist',
+ 'desi',
+ 'diamonds',
+ 'diet',
+ 'digital',
+ 'direct',
+ 'directory',
+ 'discount',
+ 'dj',
+ 'dk',
+ 'dm',
+ 'dnp',
+ 'do',
+ 'domains',
+ 'durban',
+ 'dvag',
+ 'dz',
+ 'eat',
+ 'ec',
+ 'edu',
+ 'education',
+ 'ee',
+ 'eg',
+ 'email',
+ 'emerck',
+ 'energy',
+ 'engineer',
+ 'engineering',
+ 'enterprises',
+ 'equipment',
+ 'er',
+ 'es',
+ 'esq',
+ 'estate',
+ 'et',
+ 'eu',
+ 'eus',
+ 'events',
+ 'everbank',
+ 'exchange',
+ 'expert',
+ 'exposed',
+ 'fail',
+ 'farm',
+ 'feedback',
+ 'fi',
+ 'finance',
+ 'financial',
+ 'firmdale',
+ 'fish',
+ 'fishing',
+ 'fitness',
+ 'fj',
+ 'fk',
+ 'flights',
+ 'florist',
+ 'flsmidth',
+ 'fly',
+ 'fm',
+ 'fo',
+ 'foo',
+ 'forsale',
+ 'foundation',
+ 'fr',
+ 'frl',
+ 'frogans',
+ 'fund',
+ 'furniture',
+ 'futbol',
+ 'ga',
+ 'gal',
+ 'gallery',
+ 'gb',
+ 'gbiz',
+ 'gd',
+ 'ge',
+ 'gent',
+ 'gf',
+ 'gg',
+ 'gh',
+ 'gi',
+ 'gift',
+ 'gifts',
+ 'gives',
+ 'gl',
+ 'glass',
+ 'gle',
+ 'global',
+ 'globo',
+ 'gm',
+ 'gmail',
+ 'gmo',
+ 'gmx',
+ 'gn',
+ 'google',
+ 'gop',
+ 'gov',
+ 'gp',
+ 'gq',
+ 'gr',
+ 'graphics',
+ 'gratis',
+ 'green',
+ 'gripe',
+ 'gs',
+ 'gt',
+ 'gu',
+ 'guide',
+ 'guitars',
+ 'guru',
+ 'gw',
+ 'gy',
+ 'hamburg',
+ 'haus',
+ 'healthcare',
+ 'help',
+ 'here',
+ 'hiphop',
+ 'hiv',
+ 'hk',
+ 'hm',
+ 'hn',
+ 'holdings',
+ 'holiday',
+ 'homes',
+ 'horse',
+ 'host',
+ 'hosting',
+ 'house',
+ 'how',
+ 'hr',
+ 'ht',
+ 'hu',
+ 'ibm',
+ 'id',
+ 'ie',
+ 'il',
+ 'im',
+ 'immo',
+ 'immobilien',
+ 'in',
+ 'industries',
+ 'info',
+ 'ing',
+ 'ink',
+ 'institute',
+ 'insure',
+ 'int',
+ 'international',
+ 'investments',
+ 'io',
+ 'iq',
+ 'ir',
+ 'is',
+ 'it',
+ 'je',
+ 'jetzt',
+ 'jm',
+ 'jo',
+ 'jobs',
+ 'joburg',
+ 'jp',
+ 'juegos',
+ 'kaufen',
+ 'ke',
+ 'kg',
+ 'kh',
+ 'ki',
+ 'kim',
+ 'kitchen',
+ 'kiwi',
+ 'km',
+ 'kn',
+ 'koeln',
+ 'kp',
+ 'kr',
+ 'krd',
+ 'kred',
+ 'kw',
+ 'ky',
+ 'kz',
+ 'la',
+ 'lacaixa',
+ 'land',
+ 'lawyer',
+ 'lb',
+ 'lc',
+ 'lds',
+ 'lease',
+ 'legal',
+ 'lgbt',
+ 'li',
+ 'life',
+ 'lighting',
+ 'limited',
+ 'limo',
+ 'link',
+ 'lk',
+ 'loans',
+ 'london',
+ 'lotto',
+ 'lr',
+ 'ls',
+ 'lt',
+ 'ltda',
+ 'lu',
+ 'luxe',
+ 'luxury',
+ 'lv',
+ 'ly',
+ 'ma',
+ 'madrid',
+ 'maison',
+ 'management',
+ 'mango',
+ 'market',
+ 'marketing',
+ 'mc',
+ 'md',
+ 'me',
+ 'media',
+ 'meet',
+ 'melbourne',
+ 'meme',
+ 'memorial',
+ 'menu',
+ 'mg',
+ 'mh',
+ 'miami',
+ 'mil',
+ 'mini',
+ 'mk',
+ 'ml',
+ 'mm',
+ 'mn',
+ 'mo',
+ 'mobi',
+ 'moda',
+ 'moe',
+ 'monash',
+ 'money',
+ 'mormon',
+ 'mortgage',
+ 'moscow',
+ 'motorcycles',
+ 'mov',
+ 'mp',
+ 'mq',
+ 'mr',
+ 'ms',
+ 'mt',
+ 'mu',
+ 'museum',
+ 'mv',
+ 'mw',
+ 'mx',
+ 'my',
+ 'mz',
+ 'na',
+ 'nagoya',
+ 'name',
+ 'navy',
+ 'nc',
+ 'ne',
+ 'net',
+ 'network',
+ 'neustar',
+ 'new',
+ 'nexus',
+ 'nf',
+ 'ng',
+ 'ngo',
+ 'nhk',
+ 'ni',
+ 'ninja',
+ 'nl',
+ 'no',
+ 'np',
+ 'nr',
+ 'nra',
+ 'nrw',
+ 'nu',
+ 'nyc',
+ 'nz',
+ 'okinawa',
+ 'om',
+ 'ong',
+ 'onl',
+ 'ooo',
+ 'org',
+ 'organic',
+ 'otsuka',
+ 'ovh',
+ 'pa',
+ 'paris',
+ 'partners',
+ 'parts',
+ 'party',
+ 'pe',
+ 'pf',
+ 'pg',
+ 'ph',
+ 'pharmacy',
+ 'photo',
+ 'photography',
+ 'photos',
+ 'physio',
+ 'pics',
+ 'pictures',
+ 'pink',
+ 'pizza',
+ 'pk',
+ 'pl',
+ 'place',
+ 'plumbing',
+ 'pm',
+ 'pn',
+ 'pohl',
+ 'poker',
+ 'post',
+ 'pr',
+ 'praxi',
+ 'press',
+ 'pro',
+ 'prod',
+ 'productions',
+ 'prof',
+ 'properties',
+ 'property',
+ 'ps',
+ 'pt',
+ 'pub',
+ 'pw',
+ 'py',
+ 'qa',
+ 'qpon',
+ 'quebec',
+ 're',
+ 'realtor',
+ 'recipes',
+ 'red',
+ 'rehab',
+ 'reise',
+ 'reisen',
+ 'reit',
+ 'ren',
+ 'rentals',
+ 'repair',
+ 'report',
+ 'republican',
+ 'rest',
+ 'restaurant',
+ 'reviews',
+ 'rich',
+ 'rio',
+ 'rip',
+ 'ro',
+ 'rocks',
+ 'rodeo',
+ 'rs',
+ 'rsvp',
+ 'ru',
+ 'ruhr',
+ 'rw',
+ 'ryukyu',
+ 'sa',
+ 'saarland',
+ 'sarl',
+ 'sb',
+ 'sc',
+ 'sca',
+ 'scb',
+ 'schmidt',
+ 'schule',
+ 'science',
+ 'scot',
+ 'sd',
+ 'se',
+ 'services',
+ 'sexy',
+ 'sg',
+ 'sh',
+ 'shiksha',
+ 'shoes',
+ 'si',
+ 'singles',
+ 'sj',
+ 'sk',
+ 'sl',
+ 'sm',
+ 'sn',
+ 'so',
+ 'social',
+ 'software',
+ 'sohu',
+ 'solar',
+ 'solutions',
+ 'soy',
+ 'space',
+ 'spiegel',
+ 'sr',
+ 'st',
+ 'su',
+ 'supplies',
+ 'supply',
+ 'support',
+ 'surf',
+ 'surgery',
+ 'suzuki',
+ 'sv',
+ 'sx',
+ 'sy',
+ 'sydney',
+ 'systems',
+ 'sz',
+ 'taipei',
+ 'tatar',
+ 'tattoo',
+ 'tax',
+ 'tc',
+ 'td',
+ 'technology',
+ 'tel',
+ 'tf',
+ 'tg',
+ 'th',
+ 'tienda',
+ 'tips',
+ 'tirol',
+ 'tj',
+ 'tk',
+ 'tl',
+ 'tm',
+ 'tn',
+ 'to',
+ 'today',
+ 'tokyo',
+ 'tools',
+ 'top',
+ 'town',
+ 'toys',
+ 'tp',
+ 'tr',
+ 'trade',
+ 'training',
+ 'travel',
+ 'tt',
+ 'tui',
+ 'tv',
+ 'tw',
+ 'tz',
+ 'ua',
+ 'ug',
+ 'uk',
+ 'university',
+ 'uno',
+ 'uol',
+ 'us',
+ 'uy',
+ 'uz',
+ 'va',
+ 'vacations',
+ 'vc',
+ 've',
+ 'vegas',
+ 'ventures',
+ 'versicherung',
+ 'vet',
+ 'vg',
+ 'vi',
+ 'viajes',
+ 'villas',
+ 'vision',
+ 'vlaanderen',
+ 'vn',
+ 'vodka',
+ 'vote',
+ 'voting',
+ 'voto',
+ 'voyage',
+ 'vu',
+ 'wales',
+ 'wang',
+ 'watch',
+ 'webcam',
+ 'website',
+ 'wed',
+ 'wedding',
+ 'wf',
+ 'whoswho',
+ 'wien',
+ 'wiki',
+ 'williamhill',
+ 'wme',
+ 'work',
+ 'works',
+ 'world',
+ 'ws',
+ 'wtc',
+ 'wtf',
+ 'xn--1qqw23a',
+ 'xn--3bst00m',
+ 'xn--3ds443g',
+ 'xn--3e0b707e',
+ 'xn--45brj9c',
+ 'xn--45q11c',
+ 'xn--4gbrim',
+ 'xn--55qw42g',
+ 'xn--55qx5d',
+ 'xn--6frz82g',
+ 'xn--6qq986b3xl',
+ 'xn--80adxhks',
+ 'xn--80ao21a',
+ 'xn--80asehdb',
+ 'xn--80aswg',
+ 'xn--90a3ac',
+ 'xn--c1avg',
+ 'xn--cg4bki',
+ 'xn--clchc0ea0b2g2a9gcd',
+ 'xn--czr694b',
+ 'xn--czru2d',
+ 'xn--d1acj3b',
+ 'xn--d1alf',
+ 'xn--fiq228c5hs',
+ 'xn--fiq64b',
+ 'xn--fiqs8s',
+ 'xn--fiqz9s',
+ 'xn--flw351e',
+ 'xn--fpcrj9c3d',
+ 'xn--fzc2c9e2c',
+ 'xn--gecrj9c',
+ 'xn--h2brj9c',
+ 'xn--i1b6b1a6a2e',
+ 'xn--io0a7i',
+ 'xn--j1amh',
+ 'xn--j6w193g',
+ 'xn--kprw13d',
+ 'xn--kpry57d',
+ 'xn--kput3i',
+ 'xn--l1acc',
+ 'xn--lgbbat1ad8j',
+ 'xn--mgb9awbf',
+ 'xn--mgba3a4f16a',
+ 'xn--mgbaam7a8h',
+ 'xn--mgbab2bd',
+ 'xn--mgbayh7gpa',
+ 'xn--mgbbh1a71e',
+ 'xn--mgbc0a9azcg',
+ 'xn--mgberp4a5d4ar',
+ 'xn--mgbx4cd0ab',
+ 'xn--ngbc5azd',
+ 'xn--node',
+ 'xn--nqv7f',
+ 'xn--nqv7fs00ema',
+ 'xn--o3cw4h',
+ 'xn--ogbpf8fl',
+ 'xn--p1acf',
+ 'xn--p1ai',
+ 'xn--pgbs0dh',
+ 'xn--q9jyb4c',
+ 'xn--qcka1pmc',
+ 'xn--rhqv96g',
+ 'xn--s9brj9c',
+ 'xn--ses554g',
+ 'xn--unup4y',
+ 'xn--vermgensberater-ctb',
+ 'xn--vermgensberatung-pwb',
+ 'xn--vhquv',
+ 'xn--wgbh1c',
+ 'xn--wgbl6a',
+ 'xn--xhq521b',
+ 'xn--xkc2al3hye2a',
+ 'xn--xkc2dl3a5ee0h',
+ 'xn--yfro4i67o',
+ 'xn--ygbi2ammx',
+ 'xn--zfr164b',
+ 'xxx',
+ 'xyz',
+ 'yachts',
+ 'yandex',
+ 'ye',
+ 'yoga',
+ 'yokohama',
+ 'youtube',
+ 'yt',
+ 'za',
+ 'zip',
+ 'zm',
+ 'zone',
+ 'zw',
+ '测试',
+ 'परीक्षा',
+ '佛山',
+ '集团',
+ '在线',
+ '한국',
+ 'ভারত',
+ '八卦',
+ 'موقع',
+ 'বাংলা',
+ '公益',
+ '公司',
+ '移动',
+ '我爱你',
+ 'москва',
+ 'испытание',
+ 'қаз',
+ 'онлайн',
+ 'сайт',
+ 'срб',
+ 'бел',
+ '테스트',
+ 'орг',
+ '삼성',
+ 'சிங்கப்பூர்',
+ '商标',
+ '商城',
+ 'дети',
+ 'мкд',
+ 'טעסט',
+ '中文网',
+ '中信',
+ '中国',
+ '中國',
+ '谷歌',
+ 'భారత్',
+ 'ලංකා',
+ '測試',
+ 'ભારત',
+ 'भारत',
+ 'آزمایشی',
+ 'பரிட்சை',
+ 'संगठन',
+ '网络',
+ 'укр',
+ '香港',
+ 'δοκιμή',
+ 'إختبار',
+ '台湾',
+ '台灣',
+ '手机',
+ 'мон',
+ 'الجزائر',
+ 'عمان',
+ 'ایران',
+ 'امارات',
+ 'بازار',
+ 'پاکستان',
+ 'الاردن',
+ 'بھارت',
+ 'المغرب',
+ 'السعودية',
+ 'سودان',
+ 'عراق',
+ 'مليسيا',
+ 'شبكة',
+ 'გე',
+ '机构',
+ '组织机构',
+ 'ไทย',
+ 'سورية',
+ 'рус',
+ 'рф',
+ 'تونس',
+ 'みんな',
+ 'グーグル',
+ '世界',
+ 'ਭਾਰਤ',
+ '网址',
+ '游戏',
+ 'vermögensberater',
+ 'vermögensberatung',
+ '企业',
+ 'مصر',
+ 'قطر',
+ '广东',
+ 'இலங்கை',
+ 'இந்தியா',
+ 'հայ',
+ '新加坡',
+ 'فلسطين',
+ 'テスト',
+ '政务',
+ );
+
+ /**
+ * @var string
+ */
+ protected $_tld;
+
+ /**
+ * Array for valid Idns
+ * @see http://www.iana.org/domains/idn-tables/ Official list of supported IDN Chars
+ * (.AC) Ascension Island http://www.nic.ac/pdf/AC-IDN-Policy.pdf
+ * (.AR) Argentinia http://www.nic.ar/faqidn.html
+ * (.AS) American Samoa http://www.nic.as/idn/chars.cfm
+ * (.AT) Austria http://www.nic.at/en/service/technical_information/idn/charset_converter/
+ * (.BIZ) International http://www.iana.org/domains/idn-tables/
+ * (.BR) Brazil http://registro.br/faq/faq6.html
+ * (.BV) Bouvett Island http://www.norid.no/domeneregistrering/idn/idn_nyetegn.en.html
+ * (.CA) Canada http://www.iana.org/domains/idn-tables/tables/ca_fr_1.0.html
+ * (.CAT) Catalan http://www.iana.org/domains/idn-tables/tables/cat_ca_1.0.html
+ * (.CH) Switzerland https://nic.switch.ch/reg/ocView.action?res=EF6GW2JBPVTG67DLNIQXU234MN6SC33JNQQGI7L6#anhang1
+ * (.CL) Chile http://www.iana.org/domains/idn-tables/tables/cl_latn_1.0.html
+ * (.COM) International http://www.verisign.com/information-services/naming-services/internationalized-domain-names/index.html
+ * (.DE) Germany http://www.denic.de/en/domains/idns/liste.html
+ * (.DK) Danmark http://www.dk-hostmaster.dk/index.php?id=151
+ * (.ES) Spain https://www.nic.es/media/2008-05/1210147705287.pdf
+ * (.FI) Finland http://www.ficora.fi/en/index/palvelut/fiverkkotunnukset/aakkostenkaytto.html
+ * (.GR) Greece https://grweb.ics.forth.gr/CharacterTable1_en.jsp
+ * (.HU) Hungary http://www.domain.hu/domain/English/szabalyzat/szabalyzat.html
+ * (.INFO) International http://www.nic.info/info/idn
+ * (.IO) British Indian Ocean Territory http://www.nic.io/IO-IDN-Policy.pdf
+ * (.IR) Iran http://www.nic.ir/Allowable_Characters_dot-iran
+ * (.IS) Iceland http://www.isnic.is/domain/rules.php
+ * (.KR) Korea http://www.iana.org/domains/idn-tables/tables/kr_ko-kr_1.0.html
+ * (.LI) Liechtenstein https://nic.switch.ch/reg/ocView.action?res=EF6GW2JBPVTG67DLNIQXU234MN6SC33JNQQGI7L6#anhang1
+ * (.LT) Lithuania http://www.domreg.lt/static/doc/public/idn_symbols-en.pdf
+ * (.MD) Moldova http://www.register.md/
+ * (.MUSEUM) International http://www.iana.org/domains/idn-tables/tables/museum_latn_1.0.html
+ * (.NET) International http://www.verisign.com/information-services/naming-services/internationalized-domain-names/index.html
+ * (.NO) Norway http://www.norid.no/domeneregistrering/idn/idn_nyetegn.en.html
+ * (.NU) Niue http://www.worldnames.net/
+ * (.ORG) International http://www.pir.org/index.php?db=content/FAQs&tbl=FAQs_Registrant&id=2
+ * (.PE) Peru https://www.nic.pe/nuevas_politicas_faq_2.php
+ * (.PL) Poland http://www.dns.pl/IDN/allowed_character_sets.pdf
+ * (.PR) Puerto Rico http://www.nic.pr/idn_rules.asp
+ * (.PT) Portugal https://online.dns.pt/dns_2008/do?com=DS;8216320233;111;+PAGE(4000058)+K-CAT-CODIGO(C.125)+RCNT(100);
+ * (.RU) Russia http://www.iana.org/domains/idn-tables/tables/ru_ru-ru_1.0.html
+ * (.RS) Serbia http://www.iana.org/domains/idn-tables/tables/rs_sr-rs_1.0.pdf
+ * (.SA) Saudi Arabia http://www.iana.org/domains/idn-tables/tables/sa_ar_1.0.html
+ * (.SE) Sweden http://www.iis.se/english/IDN_campaignsite.shtml?lang=en
+ * (.SH) Saint Helena http://www.nic.sh/SH-IDN-Policy.pdf
+ * (.SJ) Svalbard and Jan Mayen http://www.norid.no/domeneregistrering/idn/idn_nyetegn.en.html
+ * (.TH) Thailand http://www.iana.org/domains/idn-tables/tables/th_th-th_1.0.html
+ * (.TM) Turkmenistan http://www.nic.tm/TM-IDN-Policy.pdf
+ * (.TR) Turkey https://www.nic.tr/index.php
+ * (.UA) Ukraine http://www.iana.org/domains/idn-tables/tables/ua_cyrl_1.2.html
+ * (.VE) Venice http://www.iana.org/domains/idn-tables/tables/ve_es_1.0.html
+ * (.VN) Vietnam http://www.vnnic.vn/english/5-6-300-2-2-04-20071115.htm#1.%20Introduction
+ *
+ * @var array
+ */
+ protected $_validIdns = array(
+ 'AC' => array(1 => '/^[\x{002d}0-9a-zà-öø-ÿāăąćĉċčďđēėęěĝġģĥħīįĵķĺļľŀłńņňŋőœŕŗřśŝşšţťŧūŭůűųŵŷźżž]{1,63}$/iu'),
+ 'AR' => array(1 => '/^[\x{002d}0-9a-zà-ãç-êìíñ-õü]{1,63}$/iu'),
+ 'AS' => array(1 => '/^[\x{002d}0-9a-zà-öø-ÿāăąćĉċčďđēĕėęěĝğġģĥħĩīĭįıĵķĸĺļľłńņňŋōŏőœŕŗřśŝşšţťŧũūŭůűųŵŷźż]{1,63}$/iu'),
+ 'AT' => array(1 => '/^[\x{002d}0-9a-zà-öø-ÿœšž]{1,63}$/iu'),
+ 'BIZ' => 'Hostname/Biz.php',
+ 'BR' => array(1 => '/^[\x{002d}0-9a-zà-ãçéíó-õúü]{1,63}$/iu'),
+ 'BV' => array(1 => '/^[\x{002d}0-9a-zàáä-éêñ-ôöøüčđńŋšŧž]{1,63}$/iu'),
+ 'CA' => array(1 => '/^[\x{002d}0-9a-zàâæçéèêëîïôœùûüÿ\x{00E0}\x{00E2}\x{00E7}\x{00E8}\x{00E9}\x{00EA}\x{00EB}\x{00EE}\x{00EF}\x{00F4}\x{00F9}\x{00FB}\x{00FC}\x{00E6}\x{0153}\x{00FF}]{1,63}$/iu'),
+ 'CAT' => array(1 => '/^[\x{002d}0-9a-z·àç-éíïòóúü]{1,63}$/iu'),
+ 'CH' => array(1 => '/^[\x{002d}0-9a-zà-öø-ÿœ]{1,63}$/iu'),
+ 'CL' => array(1 => '/^[\x{002d}0-9a-záéíñóúü]{1,63}$/iu'),
+ 'CN' => 'Hostname/Cn.php',
+ 'COM' => 'Hostname/Com.php',
+ 'DE' => array(1 => '/^[\x{002d}0-9a-zà-öø-ÿăąāćĉčċďđĕěėęēğĝġģĥħĭĩįīıĵķĺľļłńňņŋŏőōœĸŕřŗśŝšşťţŧŭůűũųūŵŷźžż]{1,63}$/iu'),
+ 'DK' => array(1 => '/^[\x{002d}0-9a-zäéöüæøå]{1,63}$/iu'),
+ 'ES' => array(1 => '/^[\x{002d}0-9a-zàáçèéíïñòóúü·]{1,63}$/iu'),
+ 'EU' => array(1 => '/^[\x{002d}0-9a-zà-öø-ÿ]{1,63}$/iu',
+ 2 => '/^[\x{002d}0-9a-zāăąćĉċčďđēĕėęěĝğġģĥħĩīĭįıĵķĺļľŀłńņňʼnŋōŏőœŕŗřśŝšťŧũūŭůűųŵŷźżž]{1,63}$/iu',
+ 3 => '/^[\x{002d}0-9a-zșț]{1,63}$/iu',
+ 4 => '/^[\x{002d}0-9a-zΐάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ]{1,63}$/iu',
+ 5 => '/^[\x{002d}0-9a-zабвгдежзийклмнопрстуфхцчшщъыьэюя]{1,63}$/iu',
+ 6 => '/^[\x{002d}0-9a-zἀ-ἇἐ-ἕἠ-ἧἰ-ἷὀ-ὅὐ-ὗὠ-ὧὰ-ὼώᾀ-ᾇᾐ-ᾗᾠ-ᾧᾰ-ᾴᾶᾷῂῃῄῆῇῐ-ῒΐῖῗῠ-ῧῲῳῴῶῷ]{1,63}$/iu'),
+ 'FI' => array(1 => '/^[\x{002d}0-9a-zäåö]{1,63}$/iu'),
+ 'GR' => array(1 => '/^[\x{002d}0-9a-zΆΈΉΊΌΎ-ΡΣ-ώἀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼῂῃῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲῳῴῶ-ῼ]{1,63}$/iu'),
+ 'HK' => 'Hostname/Cn.php',
+ 'HU' => array(1 => '/^[\x{002d}0-9a-záéíóöúüőű]{1,63}$/iu'),
+ 'IL' => array(1 => '/^[\x{002d}0-9\x{05D0}-\x{05EA}]{1,63}$/iu',
+ 2 => '/^[\x{002d}0-9a-z]{1,63}$/i'),
+ 'INFO'=> array(1 => '/^[\x{002d}0-9a-zäåæéöøü]{1,63}$/iu',
+ 2 => '/^[\x{002d}0-9a-záéíóöúüőű]{1,63}$/iu',
+ 3 => '/^[\x{002d}0-9a-záæéíðóöúýþ]{1,63}$/iu',
+ 4 => '/^[\x{AC00}-\x{D7A3}]{1,17}$/iu',
+ 5 => '/^[\x{002d}0-9a-zāčēģīķļņōŗšūž]{1,63}$/iu',
+ 6 => '/^[\x{002d}0-9a-ząčėęįšūųž]{1,63}$/iu',
+ 7 => '/^[\x{002d}0-9a-zóąćęłńśźż]{1,63}$/iu',
+ 8 => '/^[\x{002d}0-9a-záéíñóúü]{1,63}$/iu'),
+ 'IO' => array(1 => '/^[\x{002d}0-9a-zà-öø-ÿăąāćĉčċďđĕěėęēğĝġģĥħĭĩįīıĵķĺľļłńňņŋŏőōœĸŕřŗśŝšşťţŧŭůűũųūŵŷźžż]{1,63}$/iu'),
+ 'IS' => array(1 => '/^[\x{002d}0-9a-záéýúíóþæöð]{1,63}$/iu'),
+ 'IT' => array(1 => '/^[\x{002d}0-9a-zàâäèéêëìîïòôöùûüæœçÿß-]{1,63}$/iu'),
+ 'JP' => 'Hostname/Jp.php',
+ 'KR' => array(1 => '/^[\x{AC00}-\x{D7A3}]{1,17}$/iu'),
+ 'LI' => array(1 => '/^[\x{002d}0-9a-zà-öø-ÿœ]{1,63}$/iu'),
+ 'LT' => array(1 => '/^[\x{002d}0-9ąčęėįšųūž]{1,63}$/iu'),
+ 'MD' => array(1 => '/^[\x{002d}0-9ăâîşţ]{1,63}$/iu'),
+ 'MUSEUM' => array(1 => '/^[\x{002d}0-9a-zà-öø-ÿāăąćċčďđēėęěğġģħīįıķĺļľłńņňŋōőœŕŗřśşšţťŧūůűųŵŷźżžǎǐǒǔ\x{01E5}\x{01E7}\x{01E9}\x{01EF}ə\x{0292}ẁẃẅỳ]{1,63}$/iu'),
+ 'NET' => 'Hostname/Com.php',
+ 'NO' => array(1 => '/^[\x{002d}0-9a-zàáä-éêñ-ôöøüčđńŋšŧž]{1,63}$/iu'),
+ 'NU' => 'Hostname/Com.php',
+ 'ORG' => array(1 => '/^[\x{002d}0-9a-záéíñóúü]{1,63}$/iu',
+ 2 => '/^[\x{002d}0-9a-zóąćęłńśźż]{1,63}$/iu',
+ 3 => '/^[\x{002d}0-9a-záäåæéëíðóöøúüýþ]{1,63}$/iu',
+ 4 => '/^[\x{002d}0-9a-záéíóöúüőű]{1,63}$/iu',
+ 5 => '/^[\x{002d}0-9a-ząčėęįšūųž]{1,63}$/iu',
+ 6 => '/^[\x{AC00}-\x{D7A3}]{1,17}$/iu',
+ 7 => '/^[\x{002d}0-9a-zāčēģīķļņōŗšūž]{1,63}$/iu'),
+ 'PE' => array(1 => '/^[\x{002d}0-9a-zñáéíóúü]{1,63}$/iu'),
+ 'PL' => array(1 => '/^[\x{002d}0-9a-zāčēģīķļņōŗšūž]{1,63}$/iu',
+ 2 => '/^[\x{002d}а-ик-ш\x{0450}ѓѕјљњќџ]{1,63}$/iu',
+ 3 => '/^[\x{002d}0-9a-zâîăşţ]{1,63}$/iu',
+ 4 => '/^[\x{002d}0-9а-яё\x{04C2}]{1,63}$/iu',
+ 5 => '/^[\x{002d}0-9a-zàáâèéêìíîòóôùúûċġħż]{1,63}$/iu',
+ 6 => '/^[\x{002d}0-9a-zàäåæéêòóôöøü]{1,63}$/iu',
+ 7 => '/^[\x{002d}0-9a-zóąćęłńśźż]{1,63}$/iu',
+ 8 => '/^[\x{002d}0-9a-zàáâãçéêíòóôõúü]{1,63}$/iu',
+ 9 => '/^[\x{002d}0-9a-zâîăşţ]{1,63}$/iu',
+ 10=> '/^[\x{002d}0-9a-záäéíóôúýčďĺľňŕšťž]{1,63}$/iu',
+ 11=> '/^[\x{002d}0-9a-zçë]{1,63}$/iu',
+ 12=> '/^[\x{002d}0-9а-ик-шђјљњћџ]{1,63}$/iu',
+ 13=> '/^[\x{002d}0-9a-zćčđšž]{1,63}$/iu',
+ 14=> '/^[\x{002d}0-9a-zâçöûüğış]{1,63}$/iu',
+ 15=> '/^[\x{002d}0-9a-záéíñóúü]{1,63}$/iu',
+ 16=> '/^[\x{002d}0-9a-zäõöüšž]{1,63}$/iu',
+ 17=> '/^[\x{002d}0-9a-zĉĝĥĵŝŭ]{1,63}$/iu',
+ 18=> '/^[\x{002d}0-9a-zâäéëîô]{1,63}$/iu',
+ 19=> '/^[\x{002d}0-9a-zàáâäåæçèéêëìíîïðñòôöøùúûüýćčłńřśš]{1,63}$/iu',
+ 20=> '/^[\x{002d}0-9a-zäåæõöøüšž]{1,63}$/iu',
+ 21=> '/^[\x{002d}0-9a-zàáçèéìíòóùú]{1,63}$/iu',
+ 22=> '/^[\x{002d}0-9a-zàáéíóöúüőű]{1,63}$/iu',
+ 23=> '/^[\x{002d}0-9ΐά-ώ]{1,63}$/iu',
+ 24=> '/^[\x{002d}0-9a-zàáâåæçèéêëðóôöøüþœ]{1,63}$/iu',
+ 25=> '/^[\x{002d}0-9a-záäéíóöúüýčďěňřšťůž]{1,63}$/iu',
+ 26=> '/^[\x{002d}0-9a-z·àçèéíïòóúü]{1,63}$/iu',
+ 27=> '/^[\x{002d}0-9а-ъьюя\x{0450}\x{045D}]{1,63}$/iu',
+ 28=> '/^[\x{002d}0-9а-яёіў]{1,63}$/iu',
+ 29=> '/^[\x{002d}0-9a-ząčėęįšūųž]{1,63}$/iu',
+ 30=> '/^[\x{002d}0-9a-záäåæéëíðóöøúüýþ]{1,63}$/iu',
+ 31=> '/^[\x{002d}0-9a-zàâæçèéêëîïñôùûüÿœ]{1,63}$/iu',
+ 32=> '/^[\x{002d}0-9а-щъыьэюяёєіїґ]{1,63}$/iu',
+ 33=> '/^[\x{002d}0-9א-ת]{1,63}$/iu'),
+ 'PR' => array(1 => '/^[\x{002d}0-9a-záéíóúñäëïüöâêîôûàèùæçœãõ]{1,63}$/iu'),
+ 'PT' => array(1 => '/^[\x{002d}0-9a-záàâãçéêíóôõú]{1,63}$/iu'),
+ 'RS' => array(1 => '/^[\x{002D}\x{0030}-\x{0039}\x{0061}-\x{007A}\x{0107}\x{010D}\x{0111}\x{0161}\x{017E}]{1,63}$/iu)'),
+ 'RU' => array(1 => '/^[\x{002d}0-9а-яё]{1,63}$/iu'),
+ 'SA' => array(1 => '/^[\x{002d}.0-9\x{0621}-\x{063A}\x{0641}-\x{064A}\x{0660}-\x{0669}]{1,63}$/iu'),
+ 'SE' => array(1 => '/^[\x{002d}0-9a-zäåéöü]{1,63}$/iu'),
+ 'SH' => array(1 => '/^[\x{002d}0-9a-zà-öø-ÿăąāćĉčċďđĕěėęēğĝġģĥħĭĩįīıĵķĺľļłńňņŋŏőōœĸŕřŗśŝšşťţŧŭůűũųūŵŷźžż]{1,63}$/iu'),
+ 'SI' => array(
+ 1 => '/^[\x{002d}0-9a-zà-öø-ÿ]{1,63}$/iu',
+ 2 => '/^[\x{002d}0-9a-zāăąćĉċčďđēĕėęěĝğġģĥħĩīĭįıĵķĺļľŀłńņňʼnŋōŏőœŕŗřśŝšťŧũūŭůűųŵŷźżž]{1,63}$/iu',
+ 3 => '/^[\x{002d}0-9a-zșț]{1,63}$/iu'),
+ 'SJ' => array(1 => '/^[\x{002d}0-9a-zàáä-éêñ-ôöøüčđńŋšŧž]{1,63}$/iu'),
+ 'TH' => array(1 => '/^[\x{002d}0-9a-z\x{0E01}-\x{0E3A}\x{0E40}-\x{0E4D}\x{0E50}-\x{0E59}]{1,63}$/iu'),
+ 'TM' => array(1 => '/^[\x{002d}0-9a-zà-öø-ÿāăąćĉċčďđēėęěĝġģĥħīįĵķĺļľŀłńņňŋőœŕŗřśŝşšţťŧūŭůűųŵŷźżž]{1,63}$/iu'),
+ 'TW' => 'Hostname/Cn.php',
+ 'TR' => array(1 => '/^[\x{002d}0-9a-zğıüşöç]{1,63}$/iu'),
+ 'UA' => array(1 => '/^[\x{002d}0-9a-zабвгдежзийклмнопрстуфхцчшщъыьэюяѐёђѓєѕіїјљњћќѝўџґӂʼ]{1,63}$/iu'),
+ 'VE' => array(1 => '/^[\x{002d}0-9a-záéíóúüñ]{1,63}$/iu'),
+ 'VN' => array(1 => '/^[ÀÁÂÃÈÉÊÌÍÒÓÔÕÙÚÝàáâãèéêìíòóôõùúýĂăĐđĨĩŨũƠơƯư\x{1EA0}-\x{1EF9}]{1,63}$/iu'),
+ 'мон' => array(1 => '/^[\x{002d}0-9\x{0430}-\x{044F}]{1,63}$/iu'),
+ 'срб' => array(1 => '/^[\x{002d}0-9а-ик-шђјљњћџ]{1,63}$/iu'),
+ 'сайт' => array(1 => '/^[\x{002d}0-9а-яёіїѝйўґг]{1,63}$/iu'),
+ 'онлайн' => array(1 => '/^[\x{002d}0-9а-яёіїѝйўґг]{1,63}$/iu'),
+ '中国' => 'Hostname/Cn.php',
+ '中國' => 'Hostname/Cn.php',
+ 'ලංකා' => array(1 => '/^[\x{0d80}-\x{0dff}]{1,63}$/iu'),
+ '香港' => 'Hostname/Cn.php',
+ '台湾' => 'Hostname/Cn.php',
+ '台灣' => 'Hostname/Cn.php',
+ 'امارات' => array(1 => '/^[\x{0621}-\x{0624}\x{0626}-\x{063A}\x{0641}\x{0642}\x{0644}-\x{0648}\x{067E}\x{0686}\x{0698}\x{06A9}\x{06AF}\x{06CC}\x{06F0}-\x{06F9}]{1,30}$/iu'),
+ 'الاردن' => array(1 => '/^[\x{0621}-\x{0624}\x{0626}-\x{063A}\x{0641}\x{0642}\x{0644}-\x{0648}\x{067E}\x{0686}\x{0698}\x{06A9}\x{06AF}\x{06CC}\x{06F0}-\x{06F9}]{1,30}$/iu'),
+ 'السعودية' => array(1 => '/^[\x{0621}-\x{0624}\x{0626}-\x{063A}\x{0641}\x{0642}\x{0644}-\x{0648}\x{067E}\x{0686}\x{0698}\x{06A9}\x{06AF}\x{06CC}\x{06F0}-\x{06F9}]{1,30}$/iu'),
+ 'ไทย' => array(1 => '/^[\x{002d}0-9a-z\x{0E01}-\x{0E3A}\x{0E40}-\x{0E4D}\x{0E50}-\x{0E59}]{1,63}$/iu'),
+ 'рф' => array(1 => '/^[\x{002d}0-9а-яё]{1,63}$/iu'),
+ 'تونس' => array(1 => '/^[\x{0621}-\x{0624}\x{0626}-\x{063A}\x{0641}\x{0642}\x{0644}-\x{0648}\x{067E}\x{0686}\x{0698}\x{06A9}\x{06AF}\x{06CC}\x{06F0}-\x{06F9}]{1,30}$/iu'),
+ 'مصر' => array(1 => '/^[\x{0621}-\x{0624}\x{0626}-\x{063A}\x{0641}\x{0642}\x{0644}-\x{0648}\x{067E}\x{0686}\x{0698}\x{06A9}\x{06AF}\x{06CC}\x{06F0}-\x{06F9}]{1,30}$/iu'),
+ 'இலங்கை' => array(1 => '/^[\x{0b80}-\x{0bff}]{1,63}$/iu'),
+ 'فلسطين' => array(1 => '/^[\x{0621}-\x{0624}\x{0626}-\x{063A}\x{0641}\x{0642}\x{0644}-\x{0648}\x{067E}\x{0686}\x{0698}\x{06A9}\x{06AF}\x{06CC}\x{06F0}-\x{06F9}]{1,30}$/iu'),
+ 'شبكة' => array(1 => '/^[\x{0621}-\x{0624}\x{0626}-\x{063A}\x{0641}\x{0642}\x{0644}-\x{0648}\x{067E}\x{0686}\x{0698}\x{06A9}\x{06AF}\x{06CC}\x{06F0}-\x{06F9}]{1,30}$/iu'),
+ );
+
+ protected $_idnLength = array(
+ 'BIZ' => array(5 => 17, 11 => 15, 12 => 20),
+ 'CN' => array(1 => 20),
+ 'COM' => array(3 => 17, 5 => 20),
+ 'HK' => array(1 => 15),
+ 'INFO'=> array(4 => 17),
+ 'KR' => array(1 => 17),
+ 'NET' => array(3 => 17, 5 => 20),
+ 'ORG' => array(6 => 17),
+ 'TW' => array(1 => 20),
+ 'ایران' => array(1 => 30),
+ '中国' => array(1 => 20),
+ '公司' => array(1 => 20),
+ '网络' => array(1 => 20),
+ );
+
+ protected $_options = array(
+ 'allow' => self::ALLOW_DNS,
+ 'idn' => true,
+ 'tld' => true,
+ 'ip' => null
+ );
+
+ /**
+ * Sets validator options
+ *
+ * @see http://www.iana.org/cctld/specifications-policies-cctlds-01apr02.htm Technical Specifications for ccTLDs
+ * @param array $options Validator options
+ */
+ public function __construct($options = array())
+ {
+ if ($options instanceof Postman_Zend_Config) {
+ $options = $options->toArray();
+ } else if (!is_array($options)) {
+ $options = func_get_args();
+ $temp['allow'] = array_shift($options);
+ if (!empty($options)) {
+ $temp['idn'] = array_shift($options);
+ }
+
+ if (!empty($options)) {
+ $temp['tld'] = array_shift($options);
+ }
+
+ if (!empty($options)) {
+ $temp['ip'] = array_shift($options);
+ }
+
+ $options = $temp;
+ }
+
+ $options += $this->_options;
+ $this->setOptions($options);
+ }
+
+ /**
+ * Returns all set options
+ *
+ * @return array
+ */
+ public function getOptions()
+ {
+ return $this->_options;
+ }
+
+ /**
+ * Sets the options for this validator
+ *
+ * @param array $options
+ * @return Postman_Zend_Validate_Hostname
+ */
+ public function setOptions($options)
+ {
+ if (array_key_exists('allow', $options)) {
+ $this->setAllow($options['allow']);
+ }
+
+ if (array_key_exists('idn', $options)) {
+ $this->setValidateIdn($options['idn']);
+ }
+
+ if (array_key_exists('tld', $options)) {
+ $this->setValidateTld($options['tld']);
+ }
+
+ if (array_key_exists('ip', $options)) {
+ $this->setIpValidator($options['ip']);
+ }
+
+ return $this;
+ }
+
+ /**
+ * Returns the set ip validator
+ *
+ * @return Postman_Zend_Validate_Ip
+ */
+ public function getIpValidator()
+ {
+ return $this->_options['ip'];
+ }
+
+ /**
+ * @param Postman_Zend_Validate_Ip $ipValidator OPTIONAL
+ * @return Postman_Zend_Validate_Hostname
+ */
+ public function setIpValidator(Postman_Zend_Validate_Ip $ipValidator = null)
+ {
+ if ($ipValidator === null) {
+ $ipValidator = new Postman_Zend_Validate_Ip();
+ }
+
+ $this->_options['ip'] = $ipValidator;
+ return $this;
+ }
+
+ /**
+ * Returns the allow option
+ *
+ * @return integer
+ */
+ public function getAllow()
+ {
+ return $this->_options['allow'];
+ }
+
+ /**
+ * Sets the allow option
+ *
+ * @param integer $allow
+ * @return Postman_Zend_Validate_Hostname Provides a fluent interface
+ */
+ public function setAllow($allow)
+ {
+ $this->_options['allow'] = $allow;
+ return $this;
+ }
+
+ /**
+ * Returns the set idn option
+ *
+ * @return boolean
+ */
+ public function getValidateIdn()
+ {
+ return $this->_options['idn'];
+ }
+
+ /**
+ * Set whether IDN domains are validated
+ *
+ * This only applies when DNS hostnames are validated
+ *
+ * @param boolean $allowed Set allowed to true to validate IDNs, and false to not validate them
+ * @return $this
+ */
+ public function setValidateIdn ($allowed)
+ {
+ $this->_options['idn'] = (bool) $allowed;
+ return $this;
+ }
+
+ /**
+ * Returns the set tld option
+ *
+ * @return boolean
+ */
+ public function getValidateTld()
+ {
+ return $this->_options['tld'];
+ }
+
+ /**
+ * Set whether the TLD element of a hostname is validated
+ *
+ * This only applies when DNS hostnames are validated
+ *
+ * @param boolean $allowed Set allowed to true to validate TLDs, and false to not validate them
+ * @return $this
+ */
+ public function setValidateTld ($allowed)
+ {
+ $this->_options['tld'] = (bool) $allowed;
+ return $this;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if and only if the $value is a valid hostname with respect to the current allow option
+ *
+ * @param string $value
+ * @throws Postman_Zend_Validate_Exception if a fatal error occurs for validation process
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ if (!is_string($value)) {
+ $this->_error(self::INVALID);
+ return false;
+ }
+
+ $this->_setValue($value);
+ // Check input against IP address schema
+ if (preg_match('/^[0-9a-f:.]*$/i', $value) &&
+ $this->_options['ip']->setTranslator($this->getTranslator())->isValid($value)) {
+ if (!($this->_options['allow'] & self::ALLOW_IP)) {
+ $this->_error(self::IP_ADDRESS_NOT_ALLOWED);
+ return false;
+ } else {
+ return true;
+ }
+ }
+
+ // RFC3986 3.2.2 states:
+ //
+ // The rightmost domain label of a fully qualified domain name
+ // in DNS may be followed by a single "." and should be if it is
+ // necessary to distinguish between the complete domain name and
+ // some local domain.
+ //
+ // (see ZF-6363)
+
+ // Local hostnames are allowed to be partitial (ending '.')
+ if ($this->_options['allow'] & self::ALLOW_LOCAL) {
+ if (substr($value, -1) === '.') {
+ $value = substr($value, 0, -1);
+ if (substr($value, -1) === '.') {
+ // Empty hostnames (ending '..') are not allowed
+ $this->_error(self::INVALID_LOCAL_NAME);
+ return false;
+ }
+ }
+ }
+
+ $domainParts = explode('.', $value);
+
+ // Prevent partitial IP V4 adresses (ending '.')
+ if ((count($domainParts) == 4) && preg_match('/^[0-9.a-e:.]*$/i', $value) &&
+ $this->_options['ip']->setTranslator($this->getTranslator())->isValid($value)) {
+ $this->_error(self::INVALID_LOCAL_NAME);
+ }
+
+ // Check input against DNS hostname schema
+ if ((count($domainParts) > 1) && (strlen($value) >= 4) && (strlen($value) <= 254)) {
+ $status = false;
+
+ $origenc = PHP_VERSION_ID < 50600
+ ? iconv_get_encoding('internal_encoding')
+ : ini_get('default_charset');
+ if (PHP_VERSION_ID < 50600) {
+ iconv_set_encoding('internal_encoding', 'UTF-8');
+ } else {
+ // jason was here
+ @ini_set('default_charset', 'UTF-8');
+ }
+ do {
+ // First check TLD
+ $matches = array();
+ if (preg_match('/([^.]{2,63})$/iu', end($domainParts), $matches)
+ || (array_key_exists(end($domainParts), $this->_validIdns))) {
+ reset($domainParts);
+
+ // Hostname characters are: *(label dot)(label dot label); max 254 chars
+ // label: id-prefix [*ldh{61} id-prefix]; max 63 chars
+ // id-prefix: alpha / digit
+ // ldh: alpha / digit / dash
+
+ // Match TLD against known list
+ $this->_tld = $matches[1];
+ if ($this->_options['tld']) {
+ if (!in_array(strtolower($this->_tld), $this->_validTlds)
+ && !in_array($this->_tld, $this->_validTlds)) {
+ $this->_error(self::UNKNOWN_TLD);
+ $status = false;
+ break;
+ }
+ // We have already validated that the TLD is fine. We don't want it to go through the below
+ // checks as new UTF-8 TLDs will incorrectly fail if there is no IDN regex for it.
+ array_pop($domainParts);
+ }
+
+ /**
+ * Match against IDN hostnames
+ * Note: Keep label regex short to avoid issues with long patterns when matching IDN hostnames
+ * @see Postman_Zend_Validate_Hostname_Interface
+ */
+ $regexChars = array(0 => '/^[a-z0-9\x2d]{1,63}$/i');
+ if ($this->_options['idn'] && isset($this->_validIdns[strtoupper($this->_tld)])) {
+ if (is_string($this->_validIdns[strtoupper($this->_tld)])) {
+ $regexChars += include($this->_validIdns[strtoupper($this->_tld)]);
+ } else {
+ $regexChars += $this->_validIdns[strtoupper($this->_tld)];
+ }
+ }
+
+ // Check each hostname part
+ $check = 0;
+ foreach ($domainParts as $domainPart) {
+ // If some domain part is empty (i.e. zend..com), it's invalid
+ if (empty($domainPart)) {
+ $this->_error(self::INVALID_HOSTNAME);
+ return false;
+ }
+
+ // Decode Punycode domainnames to IDN
+ if (strpos($domainPart, 'xn--') === 0) {
+ $domainPart = $this->decodePunycode(substr($domainPart, 4));
+ if ($domainPart === false) {
+ return false;
+ }
+ }
+
+ // Check dash (-) does not start, end or appear in 3rd and 4th positions
+ if ((strpos($domainPart, '-') === 0)
+ || ((strlen($domainPart) > 2) && (strpos($domainPart, '-', 2) == 2) && (strpos($domainPart, '-', 3) == 3))
+ || (strpos($domainPart, '-') === (strlen($domainPart) - 1))) {
+ $this->_error(self::INVALID_DASH);
+ $status = false;
+ break 2;
+ }
+
+ // Check each domain part
+ $checked = false;
+ foreach($regexChars as $regexKey => $regexChar) {
+ $status = preg_match($regexChar, $domainPart);
+ if ($status > 0) {
+ $length = 63;
+ if (array_key_exists(strtoupper($this->_tld), $this->_idnLength)
+ && (array_key_exists($regexKey, $this->_idnLength[strtoupper($this->_tld)]))) {
+ $length = $this->_idnLength[strtoupper($this->_tld)];
+ }
+
+ if (iconv_strlen($domainPart, 'UTF-8') > $length) {
+ $this->_error(self::INVALID_HOSTNAME);
+ } else {
+ $checked = true;
+ break;
+ }
+ }
+ }
+
+ if ($checked) {
+ ++$check;
+ }
+ }
+
+ // If one of the labels doesn't match, the hostname is invalid
+ if ($check !== count($domainParts)) {
+ $this->_error(self::INVALID_HOSTNAME_SCHEMA);
+ $status = false;
+ }
+ } else {
+ // Hostname not long enough
+ $this->_error(self::UNDECIPHERABLE_TLD);
+ $status = false;
+ }
+ } while (false);
+
+ if (PHP_VERSION_ID < 50600) {
+ iconv_set_encoding('internal_encoding', $origenc);
+ } else {
+ // jason was here
+ @ini_set('default_charset', $origenc);
+ }
+ // If the input passes as an Internet domain name, and domain names are allowed, then the hostname
+ // passes validation
+ if ($status && ($this->_options['allow'] & self::ALLOW_DNS)) {
+ return true;
+ }
+ } else if ($this->_options['allow'] & self::ALLOW_DNS) {
+ $this->_error(self::INVALID_HOSTNAME);
+ }
+
+ // Check for URI Syntax (RFC3986)
+ if ($this->_options['allow'] & self::ALLOW_URI) {
+ if (preg_match("/^([a-zA-Z0-9-._~!$&\'()*+,;=]|%[[:xdigit:]]{2}){1,254}$/i", $value)) {
+ return true;
+ } else {
+ $this->_error(self::INVALID_URI);
+ }
+ }
+
+ // Check input against local network name schema; last chance to pass validation
+ $regexLocal = '/^(([a-zA-Z0-9\x2d]{1,63}\x2e)*[a-zA-Z0-9\x2d]{1,63}[\x2e]{0,1}){1,254}$/';
+ $status = @preg_match($regexLocal, $value);
+
+ // If the input passes as a local network name, and local network names are allowed, then the
+ // hostname passes validation
+ $allowLocal = $this->_options['allow'] & self::ALLOW_LOCAL;
+ if ($status && $allowLocal) {
+ return true;
+ }
+
+ // If the input does not pass as a local network name, add a message
+ if (!$status) {
+ $this->_error(self::INVALID_LOCAL_NAME);
+ }
+
+ // If local network names are not allowed, add a message
+ if ($status && !$allowLocal) {
+ $this->_error(self::LOCAL_NAME_NOT_ALLOWED);
+ }
+
+ return false;
+ }
+
+ /**
+ * Decodes a punycode encoded string to it's original utf8 string
+ * In case of a decoding failure the original string is returned
+ *
+ * @param string $encoded Punycode encoded string to decode
+ * @return string
+ */
+ protected function decodePunycode($encoded)
+ {
+ if (!preg_match('/^[a-z0-9-]+$/i', $encoded)) {
+ // no punycode encoded string
+ $this->_error(self::CANNOT_DECODE_PUNYCODE);
+ return false;
+ }
+
+ $decoded = array();
+ $separator = strrpos($encoded, '-');
+ if ($separator > 0) {
+ for ($x = 0; $x < $separator; ++$x) {
+ // prepare decoding matrix
+ $decoded[] = ord($encoded[$x]);
+ }
+ }
+
+ $lengthd = count($decoded);
+ $lengthe = strlen($encoded);
+
+ // decoding
+ $init = true;
+ $base = 72;
+ $index = 0;
+ $char = 0x80;
+
+ for ($indexe = ($separator) ? ($separator + 1) : 0; $indexe < $lengthe; ++$lengthd) {
+ for ($old_index = $index, $pos = 1, $key = 36; 1 ; $key += 36) {
+ $hex = ord($encoded[$indexe++]);
+ $digit = ($hex - 48 < 10) ? $hex - 22
+ : (($hex - 65 < 26) ? $hex - 65
+ : (($hex - 97 < 26) ? $hex - 97
+ : 36));
+
+ $index += $digit * $pos;
+ $tag = ($key <= $base) ? 1 : (($key >= $base + 26) ? 26 : ($key - $base));
+ if ($digit < $tag) {
+ break;
+ }
+
+ $pos = (int) ($pos * (36 - $tag));
+ }
+
+ $delta = intval($init ? (($index - $old_index) / 700) : (($index - $old_index) / 2));
+ $delta += intval($delta / ($lengthd + 1));
+ for ($key = 0; $delta > 910 / 2; $key += 36) {
+ $delta = intval($delta / 35);
+ }
+
+ $base = intval($key + 36 * $delta / ($delta + 38));
+ $init = false;
+ $char += (int) ($index / ($lengthd + 1));
+ $index %= ($lengthd + 1);
+ if ($lengthd > 0) {
+ for ($i = $lengthd; $i > $index; $i--) {
+ $decoded[$i] = $decoded[($i - 1)];
+ }
+ }
+
+ $decoded[$index++] = $char;
+ }
+
+ // convert decoded ucs4 to utf8 string
+ foreach ($decoded as $key => $value) {
+ if ($value < 128) {
+ $decoded[$key] = chr($value);
+ } elseif ($value < (1 << 11)) {
+ $decoded[$key] = chr(192 + ($value >> 6));
+ $decoded[$key] .= chr(128 + ($value & 63));
+ } elseif ($value < (1 << 16)) {
+ $decoded[$key] = chr(224 + ($value >> 12));
+ $decoded[$key] .= chr(128 + (($value >> 6) & 63));
+ $decoded[$key] .= chr(128 + ($value & 63));
+ } elseif ($value < (1 << 21)) {
+ $decoded[$key] = chr(240 + ($value >> 18));
+ $decoded[$key] .= chr(128 + (($value >> 12) & 63));
+ $decoded[$key] .= chr(128 + (($value >> 6) & 63));
+ $decoded[$key] .= chr(128 + ($value & 63));
+ } else {
+ $this->_error(self::CANNOT_DECODE_PUNYCODE);
+ return false;
+ }
+ }
+
+ return implode($decoded);
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname/Biz.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname/Biz.php
new file mode 100644
index 0000000..05fbe92
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname/Biz.php
@@ -0,0 +1,2917 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * Ressource file for biz idn validation
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+return array(
+ 1 => '/^[\x{002d}0-9a-zäåæéöøü]{1,63}$/iu',
+ 2 => '/^[\x{002d}0-9a-záéíñóúü]{1,63}$/iu',
+ 3 => '/^[\x{002d}0-9a-záéíóöúüőű]{1,63}$/iu',
+ 4 => '/^[\x{002d}0-9a-záæéíðóöúýþ]{1,63}$/iu',
+ 5 => '/^[\x{AC00}-\x{D7A3}]{1,17}$/iu',
+ 6 => '/^[\x{002d}0-9a-ząčėęįšūųž]{1,63}$/iu',
+ 7 => '/^[\x{002d}0-9a-zāčēģīķļņōŗšūž]{1,63}$/iu',
+ 8 => '/^[\x{002d}0-9a-zàáä-éêñ-ôöøüčđńŋšŧž]{1,63}$/iu',
+ 9 => '/^[\x{002d}0-9a-zóąćęłńśźż]{1,63}$/iu',
+ 10 => '/^[\x{002d}0-9a-záàâãçéêíóôõú]{1,63}$/iu',
+ 11 => '/^[\x{002d}0-9a-z\x{3005}-\x{3007}\x{3041}-\x{3093}\x{309D}\x{309E}\x{30A1}-\x{30F6}\x{30FC}' .
+'\x{30FD}\x{30FE}\x{4E00}\x{4E01}\x{4E03}\x{4E07}\x{4E08}\x{4E09}\x{4E0A}' .
+'\x{4E0B}\x{4E0D}\x{4E0E}\x{4E10}\x{4E11}\x{4E14}\x{4E15}\x{4E16}\x{4E17}' .
+'\x{4E18}\x{4E19}\x{4E1E}\x{4E21}\x{4E26}\x{4E2A}\x{4E2D}\x{4E31}\x{4E32}' .
+'\x{4E36}\x{4E38}\x{4E39}\x{4E3B}\x{4E3C}\x{4E3F}\x{4E42}\x{4E43}\x{4E45}' .
+'\x{4E4B}\x{4E4D}\x{4E4E}\x{4E4F}\x{4E55}\x{4E56}\x{4E57}\x{4E58}\x{4E59}' .
+'\x{4E5D}\x{4E5E}\x{4E5F}\x{4E62}\x{4E71}\x{4E73}\x{4E7E}\x{4E80}\x{4E82}' .
+'\x{4E85}\x{4E86}\x{4E88}\x{4E89}\x{4E8A}\x{4E8B}\x{4E8C}\x{4E8E}\x{4E91}' .
+'\x{4E92}\x{4E94}\x{4E95}\x{4E98}\x{4E99}\x{4E9B}\x{4E9C}\x{4E9E}\x{4E9F}' .
+'\x{4EA0}\x{4EA1}\x{4EA2}\x{4EA4}\x{4EA5}\x{4EA6}\x{4EA8}\x{4EAB}\x{4EAC}' .
+'\x{4EAD}\x{4EAE}\x{4EB0}\x{4EB3}\x{4EB6}\x{4EBA}\x{4EC0}\x{4EC1}\x{4EC2}' .
+'\x{4EC4}\x{4EC6}\x{4EC7}\x{4ECA}\x{4ECB}\x{4ECD}\x{4ECE}\x{4ECF}\x{4ED4}' .
+'\x{4ED5}\x{4ED6}\x{4ED7}\x{4ED8}\x{4ED9}\x{4EDD}\x{4EDE}\x{4EDF}\x{4EE3}' .
+'\x{4EE4}\x{4EE5}\x{4EED}\x{4EEE}\x{4EF0}\x{4EF2}\x{4EF6}\x{4EF7}\x{4EFB}' .
+'\x{4F01}\x{4F09}\x{4F0A}\x{4F0D}\x{4F0E}\x{4F0F}\x{4F10}\x{4F11}\x{4F1A}' .
+'\x{4F1C}\x{4F1D}\x{4F2F}\x{4F30}\x{4F34}\x{4F36}\x{4F38}\x{4F3A}\x{4F3C}' .
+'\x{4F3D}\x{4F43}\x{4F46}\x{4F47}\x{4F4D}\x{4F4E}\x{4F4F}\x{4F50}\x{4F51}' .
+'\x{4F53}\x{4F55}\x{4F57}\x{4F59}\x{4F5A}\x{4F5B}\x{4F5C}\x{4F5D}\x{4F5E}' .
+'\x{4F69}\x{4F6F}\x{4F70}\x{4F73}\x{4F75}\x{4F76}\x{4F7B}\x{4F7C}\x{4F7F}' .
+'\x{4F83}\x{4F86}\x{4F88}\x{4F8B}\x{4F8D}\x{4F8F}\x{4F91}\x{4F96}\x{4F98}' .
+'\x{4F9B}\x{4F9D}\x{4FA0}\x{4FA1}\x{4FAB}\x{4FAD}\x{4FAE}\x{4FAF}\x{4FB5}' .
+'\x{4FB6}\x{4FBF}\x{4FC2}\x{4FC3}\x{4FC4}\x{4FCA}\x{4FCE}\x{4FD0}\x{4FD1}' .
+'\x{4FD4}\x{4FD7}\x{4FD8}\x{4FDA}\x{4FDB}\x{4FDD}\x{4FDF}\x{4FE1}\x{4FE3}' .
+'\x{4FE4}\x{4FE5}\x{4FEE}\x{4FEF}\x{4FF3}\x{4FF5}\x{4FF6}\x{4FF8}\x{4FFA}' .
+'\x{4FFE}\x{5005}\x{5006}\x{5009}\x{500B}\x{500D}\x{500F}\x{5011}\x{5012}' .
+'\x{5014}\x{5016}\x{5019}\x{501A}\x{501F}\x{5021}\x{5023}\x{5024}\x{5025}' .
+'\x{5026}\x{5028}\x{5029}\x{502A}\x{502B}\x{502C}\x{502D}\x{5036}\x{5039}' .
+'\x{5043}\x{5047}\x{5048}\x{5049}\x{504F}\x{5050}\x{5055}\x{5056}\x{505A}' .
+'\x{505C}\x{5065}\x{506C}\x{5072}\x{5074}\x{5075}\x{5076}\x{5078}\x{507D}' .
+'\x{5080}\x{5085}\x{508D}\x{5091}\x{5098}\x{5099}\x{509A}\x{50AC}\x{50AD}' .
+'\x{50B2}\x{50B3}\x{50B4}\x{50B5}\x{50B7}\x{50BE}\x{50C2}\x{50C5}\x{50C9}' .
+'\x{50CA}\x{50CD}\x{50CF}\x{50D1}\x{50D5}\x{50D6}\x{50DA}\x{50DE}\x{50E3}' .
+'\x{50E5}\x{50E7}\x{50ED}\x{50EE}\x{50F5}\x{50F9}\x{50FB}\x{5100}\x{5101}' .
+'\x{5102}\x{5104}\x{5109}\x{5112}\x{5114}\x{5115}\x{5116}\x{5118}\x{511A}' .
+'\x{511F}\x{5121}\x{512A}\x{5132}\x{5137}\x{513A}\x{513B}\x{513C}\x{513F}' .
+'\x{5140}\x{5141}\x{5143}\x{5144}\x{5145}\x{5146}\x{5147}\x{5148}\x{5149}' .
+'\x{514B}\x{514C}\x{514D}\x{514E}\x{5150}\x{5152}\x{5154}\x{515A}\x{515C}' .
+'\x{5162}\x{5165}\x{5168}\x{5169}\x{516A}\x{516B}\x{516C}\x{516D}\x{516E}' .
+'\x{5171}\x{5175}\x{5176}\x{5177}\x{5178}\x{517C}\x{5180}\x{5182}\x{5185}' .
+'\x{5186}\x{5189}\x{518A}\x{518C}\x{518D}\x{518F}\x{5190}\x{5191}\x{5192}' .
+'\x{5193}\x{5195}\x{5196}\x{5197}\x{5199}\x{51A0}\x{51A2}\x{51A4}\x{51A5}' .
+'\x{51A6}\x{51A8}\x{51A9}\x{51AA}\x{51AB}\x{51AC}\x{51B0}\x{51B1}\x{51B2}' .
+'\x{51B3}\x{51B4}\x{51B5}\x{51B6}\x{51B7}\x{51BD}\x{51C4}\x{51C5}\x{51C6}' .
+'\x{51C9}\x{51CB}\x{51CC}\x{51CD}\x{51D6}\x{51DB}\x{51DC}\x{51DD}\x{51E0}' .
+'\x{51E1}\x{51E6}\x{51E7}\x{51E9}\x{51EA}\x{51ED}\x{51F0}\x{51F1}\x{51F5}' .
+'\x{51F6}\x{51F8}\x{51F9}\x{51FA}\x{51FD}\x{51FE}\x{5200}\x{5203}\x{5204}' .
+'\x{5206}\x{5207}\x{5208}\x{520A}\x{520B}\x{520E}\x{5211}\x{5214}\x{5217}' .
+'\x{521D}\x{5224}\x{5225}\x{5227}\x{5229}\x{522A}\x{522E}\x{5230}\x{5233}' .
+'\x{5236}\x{5237}\x{5238}\x{5239}\x{523A}\x{523B}\x{5243}\x{5244}\x{5247}' .
+'\x{524A}\x{524B}\x{524C}\x{524D}\x{524F}\x{5254}\x{5256}\x{525B}\x{525E}' .
+'\x{5263}\x{5264}\x{5265}\x{5269}\x{526A}\x{526F}\x{5270}\x{5271}\x{5272}' .
+'\x{5273}\x{5274}\x{5275}\x{527D}\x{527F}\x{5283}\x{5287}\x{5288}\x{5289}' .
+'\x{528D}\x{5291}\x{5292}\x{5294}\x{529B}\x{529F}\x{52A0}\x{52A3}\x{52A9}' .
+'\x{52AA}\x{52AB}\x{52AC}\x{52AD}\x{52B1}\x{52B4}\x{52B5}\x{52B9}\x{52BC}' .
+'\x{52BE}\x{52C1}\x{52C3}\x{52C5}\x{52C7}\x{52C9}\x{52CD}\x{52D2}\x{52D5}' .
+'\x{52D7}\x{52D8}\x{52D9}\x{52DD}\x{52DE}\x{52DF}\x{52E0}\x{52E2}\x{52E3}' .
+'\x{52E4}\x{52E6}\x{52E7}\x{52F2}\x{52F3}\x{52F5}\x{52F8}\x{52F9}\x{52FA}' .
+'\x{52FE}\x{52FF}\x{5301}\x{5302}\x{5305}\x{5306}\x{5308}\x{530D}\x{530F}' .
+'\x{5310}\x{5315}\x{5316}\x{5317}\x{5319}\x{531A}\x{531D}\x{5320}\x{5321}' .
+'\x{5323}\x{532A}\x{532F}\x{5331}\x{5333}\x{5338}\x{5339}\x{533A}\x{533B}' .
+'\x{533F}\x{5340}\x{5341}\x{5343}\x{5345}\x{5346}\x{5347}\x{5348}\x{5349}' .
+'\x{534A}\x{534D}\x{5351}\x{5352}\x{5353}\x{5354}\x{5357}\x{5358}\x{535A}' .
+'\x{535C}\x{535E}\x{5360}\x{5366}\x{5369}\x{536E}\x{536F}\x{5370}\x{5371}' .
+'\x{5373}\x{5374}\x{5375}\x{5377}\x{5378}\x{537B}\x{537F}\x{5382}\x{5384}' .
+'\x{5396}\x{5398}\x{539A}\x{539F}\x{53A0}\x{53A5}\x{53A6}\x{53A8}\x{53A9}' .
+'\x{53AD}\x{53AE}\x{53B0}\x{53B3}\x{53B6}\x{53BB}\x{53C2}\x{53C3}\x{53C8}' .
+'\x{53C9}\x{53CA}\x{53CB}\x{53CC}\x{53CD}\x{53CE}\x{53D4}\x{53D6}\x{53D7}' .
+'\x{53D9}\x{53DB}\x{53DF}\x{53E1}\x{53E2}\x{53E3}\x{53E4}\x{53E5}\x{53E8}' .
+'\x{53E9}\x{53EA}\x{53EB}\x{53EC}\x{53ED}\x{53EE}\x{53EF}\x{53F0}\x{53F1}' .
+'\x{53F2}\x{53F3}\x{53F6}\x{53F7}\x{53F8}\x{53FA}\x{5401}\x{5403}\x{5404}' .
+'\x{5408}\x{5409}\x{540A}\x{540B}\x{540C}\x{540D}\x{540E}\x{540F}\x{5410}' .
+'\x{5411}\x{541B}\x{541D}\x{541F}\x{5420}\x{5426}\x{5429}\x{542B}\x{542C}' .
+'\x{542D}\x{542E}\x{5436}\x{5438}\x{5439}\x{543B}\x{543C}\x{543D}\x{543E}' .
+'\x{5440}\x{5442}\x{5446}\x{5448}\x{5449}\x{544A}\x{544E}\x{5451}\x{545F}' .
+'\x{5468}\x{546A}\x{5470}\x{5471}\x{5473}\x{5475}\x{5476}\x{5477}\x{547B}' .
+'\x{547C}\x{547D}\x{5480}\x{5484}\x{5486}\x{548B}\x{548C}\x{548E}\x{548F}' .
+'\x{5490}\x{5492}\x{54A2}\x{54A4}\x{54A5}\x{54A8}\x{54AB}\x{54AC}\x{54AF}' .
+'\x{54B2}\x{54B3}\x{54B8}\x{54BC}\x{54BD}\x{54BE}\x{54C0}\x{54C1}\x{54C2}' .
+'\x{54C4}\x{54C7}\x{54C8}\x{54C9}\x{54D8}\x{54E1}\x{54E2}\x{54E5}\x{54E6}' .
+'\x{54E8}\x{54E9}\x{54ED}\x{54EE}\x{54F2}\x{54FA}\x{54FD}\x{5504}\x{5506}' .
+'\x{5507}\x{550F}\x{5510}\x{5514}\x{5516}\x{552E}\x{552F}\x{5531}\x{5533}' .
+'\x{5538}\x{5539}\x{553E}\x{5540}\x{5544}\x{5545}\x{5546}\x{554C}\x{554F}' .
+'\x{5553}\x{5556}\x{5557}\x{555C}\x{555D}\x{5563}\x{557B}\x{557C}\x{557E}' .
+'\x{5580}\x{5583}\x{5584}\x{5587}\x{5589}\x{558A}\x{558B}\x{5598}\x{5599}' .
+'\x{559A}\x{559C}\x{559D}\x{559E}\x{559F}\x{55A7}\x{55A8}\x{55A9}\x{55AA}' .
+'\x{55AB}\x{55AC}\x{55AE}\x{55B0}\x{55B6}\x{55C4}\x{55C5}\x{55C7}\x{55D4}' .
+'\x{55DA}\x{55DC}\x{55DF}\x{55E3}\x{55E4}\x{55F7}\x{55F9}\x{55FD}\x{55FE}' .
+'\x{5606}\x{5609}\x{5614}\x{5616}\x{5617}\x{5618}\x{561B}\x{5629}\x{562F}' .
+'\x{5631}\x{5632}\x{5634}\x{5636}\x{5638}\x{5642}\x{564C}\x{564E}\x{5650}' .
+'\x{565B}\x{5664}\x{5668}\x{566A}\x{566B}\x{566C}\x{5674}\x{5678}\x{567A}' .
+'\x{5680}\x{5686}\x{5687}\x{568A}\x{568F}\x{5694}\x{56A0}\x{56A2}\x{56A5}' .
+'\x{56AE}\x{56B4}\x{56B6}\x{56BC}\x{56C0}\x{56C1}\x{56C2}\x{56C3}\x{56C8}' .
+'\x{56CE}\x{56D1}\x{56D3}\x{56D7}\x{56D8}\x{56DA}\x{56DB}\x{56DE}\x{56E0}' .
+'\x{56E3}\x{56EE}\x{56F0}\x{56F2}\x{56F3}\x{56F9}\x{56FA}\x{56FD}\x{56FF}' .
+'\x{5700}\x{5703}\x{5704}\x{5708}\x{5709}\x{570B}\x{570D}\x{570F}\x{5712}' .
+'\x{5713}\x{5716}\x{5718}\x{571C}\x{571F}\x{5726}\x{5727}\x{5728}\x{572D}' .
+'\x{5730}\x{5737}\x{5738}\x{573B}\x{5740}\x{5742}\x{5747}\x{574A}\x{574E}' .
+'\x{574F}\x{5750}\x{5751}\x{5761}\x{5764}\x{5766}\x{5769}\x{576A}\x{577F}' .
+'\x{5782}\x{5788}\x{5789}\x{578B}\x{5793}\x{57A0}\x{57A2}\x{57A3}\x{57A4}' .
+'\x{57AA}\x{57B0}\x{57B3}\x{57C0}\x{57C3}\x{57C6}\x{57CB}\x{57CE}\x{57D2}' .
+'\x{57D3}\x{57D4}\x{57D6}\x{57DC}\x{57DF}\x{57E0}\x{57E3}\x{57F4}\x{57F7}' .
+'\x{57F9}\x{57FA}\x{57FC}\x{5800}\x{5802}\x{5805}\x{5806}\x{580A}\x{580B}' .
+'\x{5815}\x{5819}\x{581D}\x{5821}\x{5824}\x{582A}\x{582F}\x{5830}\x{5831}' .
+'\x{5834}\x{5835}\x{583A}\x{583D}\x{5840}\x{5841}\x{584A}\x{584B}\x{5851}' .
+'\x{5852}\x{5854}\x{5857}\x{5858}\x{5859}\x{585A}\x{585E}\x{5862}\x{5869}' .
+'\x{586B}\x{5870}\x{5872}\x{5875}\x{5879}\x{587E}\x{5883}\x{5885}\x{5893}' .
+'\x{5897}\x{589C}\x{589F}\x{58A8}\x{58AB}\x{58AE}\x{58B3}\x{58B8}\x{58B9}' .
+'\x{58BA}\x{58BB}\x{58BE}\x{58C1}\x{58C5}\x{58C7}\x{58CA}\x{58CC}\x{58D1}' .
+'\x{58D3}\x{58D5}\x{58D7}\x{58D8}\x{58D9}\x{58DC}\x{58DE}\x{58DF}\x{58E4}' .
+'\x{58E5}\x{58EB}\x{58EC}\x{58EE}\x{58EF}\x{58F0}\x{58F1}\x{58F2}\x{58F7}' .
+'\x{58F9}\x{58FA}\x{58FB}\x{58FC}\x{58FD}\x{5902}\x{5909}\x{590A}\x{590F}' .
+'\x{5910}\x{5915}\x{5916}\x{5918}\x{5919}\x{591A}\x{591B}\x{591C}\x{5922}' .
+'\x{5925}\x{5927}\x{5929}\x{592A}\x{592B}\x{592C}\x{592D}\x{592E}\x{5931}' .
+'\x{5932}\x{5937}\x{5938}\x{593E}\x{5944}\x{5947}\x{5948}\x{5949}\x{594E}' .
+'\x{594F}\x{5950}\x{5951}\x{5954}\x{5955}\x{5957}\x{5958}\x{595A}\x{5960}' .
+'\x{5962}\x{5965}\x{5967}\x{5968}\x{5969}\x{596A}\x{596C}\x{596E}\x{5973}' .
+'\x{5974}\x{5978}\x{597D}\x{5981}\x{5982}\x{5983}\x{5984}\x{598A}\x{598D}' .
+'\x{5993}\x{5996}\x{5999}\x{599B}\x{599D}\x{59A3}\x{59A5}\x{59A8}\x{59AC}' .
+'\x{59B2}\x{59B9}\x{59BB}\x{59BE}\x{59C6}\x{59C9}\x{59CB}\x{59D0}\x{59D1}' .
+'\x{59D3}\x{59D4}\x{59D9}\x{59DA}\x{59DC}\x{59E5}\x{59E6}\x{59E8}\x{59EA}' .
+'\x{59EB}\x{59F6}\x{59FB}\x{59FF}\x{5A01}\x{5A03}\x{5A09}\x{5A11}\x{5A18}' .
+'\x{5A1A}\x{5A1C}\x{5A1F}\x{5A20}\x{5A25}\x{5A29}\x{5A2F}\x{5A35}\x{5A36}' .
+'\x{5A3C}\x{5A40}\x{5A41}\x{5A46}\x{5A49}\x{5A5A}\x{5A62}\x{5A66}\x{5A6A}' .
+'\x{5A6C}\x{5A7F}\x{5A92}\x{5A9A}\x{5A9B}\x{5ABC}\x{5ABD}\x{5ABE}\x{5AC1}' .
+'\x{5AC2}\x{5AC9}\x{5ACB}\x{5ACC}\x{5AD0}\x{5AD6}\x{5AD7}\x{5AE1}\x{5AE3}' .
+'\x{5AE6}\x{5AE9}\x{5AFA}\x{5AFB}\x{5B09}\x{5B0B}\x{5B0C}\x{5B16}\x{5B22}' .
+'\x{5B2A}\x{5B2C}\x{5B30}\x{5B32}\x{5B36}\x{5B3E}\x{5B40}\x{5B43}\x{5B45}' .
+'\x{5B50}\x{5B51}\x{5B54}\x{5B55}\x{5B57}\x{5B58}\x{5B5A}\x{5B5B}\x{5B5C}' .
+'\x{5B5D}\x{5B5F}\x{5B63}\x{5B64}\x{5B65}\x{5B66}\x{5B69}\x{5B6B}\x{5B70}' .
+'\x{5B71}\x{5B73}\x{5B75}\x{5B78}\x{5B7A}\x{5B80}\x{5B83}\x{5B85}\x{5B87}' .
+'\x{5B88}\x{5B89}\x{5B8B}\x{5B8C}\x{5B8D}\x{5B8F}\x{5B95}\x{5B97}\x{5B98}' .
+'\x{5B99}\x{5B9A}\x{5B9B}\x{5B9C}\x{5B9D}\x{5B9F}\x{5BA2}\x{5BA3}\x{5BA4}' .
+'\x{5BA5}\x{5BA6}\x{5BAE}\x{5BB0}\x{5BB3}\x{5BB4}\x{5BB5}\x{5BB6}\x{5BB8}' .
+'\x{5BB9}\x{5BBF}\x{5BC2}\x{5BC3}\x{5BC4}\x{5BC5}\x{5BC6}\x{5BC7}\x{5BC9}' .
+'\x{5BCC}\x{5BD0}\x{5BD2}\x{5BD3}\x{5BD4}\x{5BDB}\x{5BDD}\x{5BDE}\x{5BDF}' .
+'\x{5BE1}\x{5BE2}\x{5BE4}\x{5BE5}\x{5BE6}\x{5BE7}\x{5BE8}\x{5BE9}\x{5BEB}' .
+'\x{5BEE}\x{5BF0}\x{5BF3}\x{5BF5}\x{5BF6}\x{5BF8}\x{5BFA}\x{5BFE}\x{5BFF}' .
+'\x{5C01}\x{5C02}\x{5C04}\x{5C05}\x{5C06}\x{5C07}\x{5C08}\x{5C09}\x{5C0A}' .
+'\x{5C0B}\x{5C0D}\x{5C0E}\x{5C0F}\x{5C11}\x{5C13}\x{5C16}\x{5C1A}\x{5C20}' .
+'\x{5C22}\x{5C24}\x{5C28}\x{5C2D}\x{5C31}\x{5C38}\x{5C39}\x{5C3A}\x{5C3B}' .
+'\x{5C3C}\x{5C3D}\x{5C3E}\x{5C3F}\x{5C40}\x{5C41}\x{5C45}\x{5C46}\x{5C48}' .
+'\x{5C4A}\x{5C4B}\x{5C4D}\x{5C4E}\x{5C4F}\x{5C50}\x{5C51}\x{5C53}\x{5C55}' .
+'\x{5C5E}\x{5C60}\x{5C61}\x{5C64}\x{5C65}\x{5C6C}\x{5C6E}\x{5C6F}\x{5C71}' .
+'\x{5C76}\x{5C79}\x{5C8C}\x{5C90}\x{5C91}\x{5C94}\x{5CA1}\x{5CA8}\x{5CA9}' .
+'\x{5CAB}\x{5CAC}\x{5CB1}\x{5CB3}\x{5CB6}\x{5CB7}\x{5CB8}\x{5CBB}\x{5CBC}' .
+'\x{5CBE}\x{5CC5}\x{5CC7}\x{5CD9}\x{5CE0}\x{5CE1}\x{5CE8}\x{5CE9}\x{5CEA}' .
+'\x{5CED}\x{5CEF}\x{5CF0}\x{5CF6}\x{5CFA}\x{5CFB}\x{5CFD}\x{5D07}\x{5D0B}' .
+'\x{5D0E}\x{5D11}\x{5D14}\x{5D15}\x{5D16}\x{5D17}\x{5D18}\x{5D19}\x{5D1A}' .
+'\x{5D1B}\x{5D1F}\x{5D22}\x{5D29}\x{5D4B}\x{5D4C}\x{5D4E}\x{5D50}\x{5D52}' .
+'\x{5D5C}\x{5D69}\x{5D6C}\x{5D6F}\x{5D73}\x{5D76}\x{5D82}\x{5D84}\x{5D87}' .
+'\x{5D8B}\x{5D8C}\x{5D90}\x{5D9D}\x{5DA2}\x{5DAC}\x{5DAE}\x{5DB7}\x{5DBA}' .
+'\x{5DBC}\x{5DBD}\x{5DC9}\x{5DCC}\x{5DCD}\x{5DD2}\x{5DD3}\x{5DD6}\x{5DDB}' .
+'\x{5DDD}\x{5DDE}\x{5DE1}\x{5DE3}\x{5DE5}\x{5DE6}\x{5DE7}\x{5DE8}\x{5DEB}' .
+'\x{5DEE}\x{5DF1}\x{5DF2}\x{5DF3}\x{5DF4}\x{5DF5}\x{5DF7}\x{5DFB}\x{5DFD}' .
+'\x{5DFE}\x{5E02}\x{5E03}\x{5E06}\x{5E0B}\x{5E0C}\x{5E11}\x{5E16}\x{5E19}' .
+'\x{5E1A}\x{5E1B}\x{5E1D}\x{5E25}\x{5E2B}\x{5E2D}\x{5E2F}\x{5E30}\x{5E33}' .
+'\x{5E36}\x{5E37}\x{5E38}\x{5E3D}\x{5E40}\x{5E43}\x{5E44}\x{5E45}\x{5E47}' .
+'\x{5E4C}\x{5E4E}\x{5E54}\x{5E55}\x{5E57}\x{5E5F}\x{5E61}\x{5E62}\x{5E63}' .
+'\x{5E64}\x{5E72}\x{5E73}\x{5E74}\x{5E75}\x{5E76}\x{5E78}\x{5E79}\x{5E7A}' .
+'\x{5E7B}\x{5E7C}\x{5E7D}\x{5E7E}\x{5E7F}\x{5E81}\x{5E83}\x{5E84}\x{5E87}' .
+'\x{5E8A}\x{5E8F}\x{5E95}\x{5E96}\x{5E97}\x{5E9A}\x{5E9C}\x{5EA0}\x{5EA6}' .
+'\x{5EA7}\x{5EAB}\x{5EAD}\x{5EB5}\x{5EB6}\x{5EB7}\x{5EB8}\x{5EC1}\x{5EC2}' .
+'\x{5EC3}\x{5EC8}\x{5EC9}\x{5ECA}\x{5ECF}\x{5ED0}\x{5ED3}\x{5ED6}\x{5EDA}' .
+'\x{5EDB}\x{5EDD}\x{5EDF}\x{5EE0}\x{5EE1}\x{5EE2}\x{5EE3}\x{5EE8}\x{5EE9}' .
+'\x{5EEC}\x{5EF0}\x{5EF1}\x{5EF3}\x{5EF4}\x{5EF6}\x{5EF7}\x{5EF8}\x{5EFA}' .
+'\x{5EFB}\x{5EFC}\x{5EFE}\x{5EFF}\x{5F01}\x{5F03}\x{5F04}\x{5F09}\x{5F0A}' .
+'\x{5F0B}\x{5F0C}\x{5F0D}\x{5F0F}\x{5F10}\x{5F11}\x{5F13}\x{5F14}\x{5F15}' .
+'\x{5F16}\x{5F17}\x{5F18}\x{5F1B}\x{5F1F}\x{5F25}\x{5F26}\x{5F27}\x{5F29}' .
+'\x{5F2D}\x{5F2F}\x{5F31}\x{5F35}\x{5F37}\x{5F38}\x{5F3C}\x{5F3E}\x{5F41}' .
+'\x{5F48}\x{5F4A}\x{5F4C}\x{5F4E}\x{5F51}\x{5F53}\x{5F56}\x{5F57}\x{5F59}' .
+'\x{5F5C}\x{5F5D}\x{5F61}\x{5F62}\x{5F66}\x{5F69}\x{5F6A}\x{5F6B}\x{5F6C}' .
+'\x{5F6D}\x{5F70}\x{5F71}\x{5F73}\x{5F77}\x{5F79}\x{5F7C}\x{5F7F}\x{5F80}' .
+'\x{5F81}\x{5F82}\x{5F83}\x{5F84}\x{5F85}\x{5F87}\x{5F88}\x{5F8A}\x{5F8B}' .
+'\x{5F8C}\x{5F90}\x{5F91}\x{5F92}\x{5F93}\x{5F97}\x{5F98}\x{5F99}\x{5F9E}' .
+'\x{5FA0}\x{5FA1}\x{5FA8}\x{5FA9}\x{5FAA}\x{5FAD}\x{5FAE}\x{5FB3}\x{5FB4}' .
+'\x{5FB9}\x{5FBC}\x{5FBD}\x{5FC3}\x{5FC5}\x{5FCC}\x{5FCD}\x{5FD6}\x{5FD7}' .
+'\x{5FD8}\x{5FD9}\x{5FDC}\x{5FDD}\x{5FE0}\x{5FE4}\x{5FEB}\x{5FF0}\x{5FF1}' .
+'\x{5FF5}\x{5FF8}\x{5FFB}\x{5FFD}\x{5FFF}\x{600E}\x{600F}\x{6010}\x{6012}' .
+'\x{6015}\x{6016}\x{6019}\x{601B}\x{601C}\x{601D}\x{6020}\x{6021}\x{6025}' .
+'\x{6026}\x{6027}\x{6028}\x{6029}\x{602A}\x{602B}\x{602F}\x{6031}\x{603A}' .
+'\x{6041}\x{6042}\x{6043}\x{6046}\x{604A}\x{604B}\x{604D}\x{6050}\x{6052}' .
+'\x{6055}\x{6059}\x{605A}\x{605F}\x{6060}\x{6062}\x{6063}\x{6064}\x{6065}' .
+'\x{6068}\x{6069}\x{606A}\x{606B}\x{606C}\x{606D}\x{606F}\x{6070}\x{6075}' .
+'\x{6077}\x{6081}\x{6083}\x{6084}\x{6089}\x{608B}\x{608C}\x{608D}\x{6092}' .
+'\x{6094}\x{6096}\x{6097}\x{609A}\x{609B}\x{609F}\x{60A0}\x{60A3}\x{60A6}' .
+'\x{60A7}\x{60A9}\x{60AA}\x{60B2}\x{60B3}\x{60B4}\x{60B5}\x{60B6}\x{60B8}' .
+'\x{60BC}\x{60BD}\x{60C5}\x{60C6}\x{60C7}\x{60D1}\x{60D3}\x{60D8}\x{60DA}' .
+'\x{60DC}\x{60DF}\x{60E0}\x{60E1}\x{60E3}\x{60E7}\x{60E8}\x{60F0}\x{60F1}' .
+'\x{60F3}\x{60F4}\x{60F6}\x{60F7}\x{60F9}\x{60FA}\x{60FB}\x{6100}\x{6101}' .
+'\x{6103}\x{6106}\x{6108}\x{6109}\x{610D}\x{610E}\x{610F}\x{6115}\x{611A}' .
+'\x{611B}\x{611F}\x{6121}\x{6127}\x{6128}\x{612C}\x{6134}\x{613C}\x{613D}' .
+'\x{613E}\x{613F}\x{6142}\x{6144}\x{6147}\x{6148}\x{614A}\x{614B}\x{614C}' .
+'\x{614D}\x{614E}\x{6153}\x{6155}\x{6158}\x{6159}\x{615A}\x{615D}\x{615F}' .
+'\x{6162}\x{6163}\x{6165}\x{6167}\x{6168}\x{616B}\x{616E}\x{616F}\x{6170}' .
+'\x{6171}\x{6173}\x{6174}\x{6175}\x{6176}\x{6177}\x{617E}\x{6182}\x{6187}' .
+'\x{618A}\x{618E}\x{6190}\x{6191}\x{6194}\x{6196}\x{6199}\x{619A}\x{61A4}' .
+'\x{61A7}\x{61A9}\x{61AB}\x{61AC}\x{61AE}\x{61B2}\x{61B6}\x{61BA}\x{61BE}' .
+'\x{61C3}\x{61C6}\x{61C7}\x{61C8}\x{61C9}\x{61CA}\x{61CB}\x{61CC}\x{61CD}' .
+'\x{61D0}\x{61E3}\x{61E6}\x{61F2}\x{61F4}\x{61F6}\x{61F7}\x{61F8}\x{61FA}' .
+'\x{61FC}\x{61FD}\x{61FE}\x{61FF}\x{6200}\x{6208}\x{6209}\x{620A}\x{620C}' .
+'\x{620D}\x{620E}\x{6210}\x{6211}\x{6212}\x{6214}\x{6216}\x{621A}\x{621B}' .
+'\x{621D}\x{621E}\x{621F}\x{6221}\x{6226}\x{622A}\x{622E}\x{622F}\x{6230}' .
+'\x{6232}\x{6233}\x{6234}\x{6238}\x{623B}\x{623F}\x{6240}\x{6241}\x{6247}' .
+'\x{6248}\x{6249}\x{624B}\x{624D}\x{624E}\x{6253}\x{6255}\x{6258}\x{625B}' .
+'\x{625E}\x{6260}\x{6263}\x{6268}\x{626E}\x{6271}\x{6276}\x{6279}\x{627C}' .
+'\x{627E}\x{627F}\x{6280}\x{6282}\x{6283}\x{6284}\x{6289}\x{628A}\x{6291}' .
+'\x{6292}\x{6293}\x{6294}\x{6295}\x{6296}\x{6297}\x{6298}\x{629B}\x{629C}' .
+'\x{629E}\x{62AB}\x{62AC}\x{62B1}\x{62B5}\x{62B9}\x{62BB}\x{62BC}\x{62BD}' .
+'\x{62C2}\x{62C5}\x{62C6}\x{62C7}\x{62C8}\x{62C9}\x{62CA}\x{62CC}\x{62CD}' .
+'\x{62CF}\x{62D0}\x{62D1}\x{62D2}\x{62D3}\x{62D4}\x{62D7}\x{62D8}\x{62D9}' .
+'\x{62DB}\x{62DC}\x{62DD}\x{62E0}\x{62E1}\x{62EC}\x{62ED}\x{62EE}\x{62EF}' .
+'\x{62F1}\x{62F3}\x{62F5}\x{62F6}\x{62F7}\x{62FE}\x{62FF}\x{6301}\x{6302}' .
+'\x{6307}\x{6308}\x{6309}\x{630C}\x{6311}\x{6319}\x{631F}\x{6327}\x{6328}' .
+'\x{632B}\x{632F}\x{633A}\x{633D}\x{633E}\x{633F}\x{6349}\x{634C}\x{634D}' .
+'\x{634F}\x{6350}\x{6355}\x{6357}\x{635C}\x{6367}\x{6368}\x{6369}\x{636B}' .
+'\x{636E}\x{6372}\x{6376}\x{6377}\x{637A}\x{637B}\x{6380}\x{6383}\x{6388}' .
+'\x{6389}\x{638C}\x{638E}\x{638F}\x{6392}\x{6396}\x{6398}\x{639B}\x{639F}' .
+'\x{63A0}\x{63A1}\x{63A2}\x{63A3}\x{63A5}\x{63A7}\x{63A8}\x{63A9}\x{63AA}' .
+'\x{63AB}\x{63AC}\x{63B2}\x{63B4}\x{63B5}\x{63BB}\x{63BE}\x{63C0}\x{63C3}' .
+'\x{63C4}\x{63C6}\x{63C9}\x{63CF}\x{63D0}\x{63D2}\x{63D6}\x{63DA}\x{63DB}' .
+'\x{63E1}\x{63E3}\x{63E9}\x{63EE}\x{63F4}\x{63F6}\x{63FA}\x{6406}\x{640D}' .
+'\x{640F}\x{6413}\x{6416}\x{6417}\x{641C}\x{6426}\x{6428}\x{642C}\x{642D}' .
+'\x{6434}\x{6436}\x{643A}\x{643E}\x{6442}\x{644E}\x{6458}\x{6467}\x{6469}' .
+'\x{646F}\x{6476}\x{6478}\x{647A}\x{6483}\x{6488}\x{6492}\x{6493}\x{6495}' .
+'\x{649A}\x{649E}\x{64A4}\x{64A5}\x{64A9}\x{64AB}\x{64AD}\x{64AE}\x{64B0}' .
+'\x{64B2}\x{64B9}\x{64BB}\x{64BC}\x{64C1}\x{64C2}\x{64C5}\x{64C7}\x{64CD}' .
+'\x{64D2}\x{64D4}\x{64D8}\x{64DA}\x{64E0}\x{64E1}\x{64E2}\x{64E3}\x{64E6}' .
+'\x{64E7}\x{64EC}\x{64EF}\x{64F1}\x{64F2}\x{64F4}\x{64F6}\x{64FA}\x{64FD}' .
+'\x{64FE}\x{6500}\x{6505}\x{6518}\x{651C}\x{651D}\x{6523}\x{6524}\x{652A}' .
+'\x{652B}\x{652C}\x{652F}\x{6534}\x{6535}\x{6536}\x{6537}\x{6538}\x{6539}' .
+'\x{653B}\x{653E}\x{653F}\x{6545}\x{6548}\x{654D}\x{654F}\x{6551}\x{6555}' .
+'\x{6556}\x{6557}\x{6558}\x{6559}\x{655D}\x{655E}\x{6562}\x{6563}\x{6566}' .
+'\x{656C}\x{6570}\x{6572}\x{6574}\x{6575}\x{6577}\x{6578}\x{6582}\x{6583}' .
+'\x{6587}\x{6588}\x{6589}\x{658C}\x{658E}\x{6590}\x{6591}\x{6597}\x{6599}' .
+'\x{659B}\x{659C}\x{659F}\x{65A1}\x{65A4}\x{65A5}\x{65A7}\x{65AB}\x{65AC}' .
+'\x{65AD}\x{65AF}\x{65B0}\x{65B7}\x{65B9}\x{65BC}\x{65BD}\x{65C1}\x{65C3}' .
+'\x{65C4}\x{65C5}\x{65C6}\x{65CB}\x{65CC}\x{65CF}\x{65D2}\x{65D7}\x{65D9}' .
+'\x{65DB}\x{65E0}\x{65E1}\x{65E2}\x{65E5}\x{65E6}\x{65E7}\x{65E8}\x{65E9}' .
+'\x{65EC}\x{65ED}\x{65F1}\x{65FA}\x{65FB}\x{6602}\x{6603}\x{6606}\x{6607}' .
+'\x{660A}\x{660C}\x{660E}\x{660F}\x{6613}\x{6614}\x{661C}\x{661F}\x{6620}' .
+'\x{6625}\x{6627}\x{6628}\x{662D}\x{662F}\x{6634}\x{6635}\x{6636}\x{663C}' .
+'\x{663F}\x{6641}\x{6642}\x{6643}\x{6644}\x{6649}\x{664B}\x{664F}\x{6652}' .
+'\x{665D}\x{665E}\x{665F}\x{6662}\x{6664}\x{6666}\x{6667}\x{6668}\x{6669}' .
+'\x{666E}\x{666F}\x{6670}\x{6674}\x{6676}\x{667A}\x{6681}\x{6683}\x{6684}' .
+'\x{6687}\x{6688}\x{6689}\x{668E}\x{6691}\x{6696}\x{6697}\x{6698}\x{669D}' .
+'\x{66A2}\x{66A6}\x{66AB}\x{66AE}\x{66B4}\x{66B8}\x{66B9}\x{66BC}\x{66BE}' .
+'\x{66C1}\x{66C4}\x{66C7}\x{66C9}\x{66D6}\x{66D9}\x{66DA}\x{66DC}\x{66DD}' .
+'\x{66E0}\x{66E6}\x{66E9}\x{66F0}\x{66F2}\x{66F3}\x{66F4}\x{66F5}\x{66F7}' .
+'\x{66F8}\x{66F9}\x{66FC}\x{66FD}\x{66FE}\x{66FF}\x{6700}\x{6703}\x{6708}' .
+'\x{6709}\x{670B}\x{670D}\x{670F}\x{6714}\x{6715}\x{6716}\x{6717}\x{671B}' .
+'\x{671D}\x{671E}\x{671F}\x{6726}\x{6727}\x{6728}\x{672A}\x{672B}\x{672C}' .
+'\x{672D}\x{672E}\x{6731}\x{6734}\x{6736}\x{6737}\x{6738}\x{673A}\x{673D}' .
+'\x{673F}\x{6741}\x{6746}\x{6749}\x{674E}\x{674F}\x{6750}\x{6751}\x{6753}' .
+'\x{6756}\x{6759}\x{675C}\x{675E}\x{675F}\x{6760}\x{6761}\x{6762}\x{6763}' .
+'\x{6764}\x{6765}\x{676A}\x{676D}\x{676F}\x{6770}\x{6771}\x{6772}\x{6773}' .
+'\x{6775}\x{6777}\x{677C}\x{677E}\x{677F}\x{6785}\x{6787}\x{6789}\x{678B}' .
+'\x{678C}\x{6790}\x{6795}\x{6797}\x{679A}\x{679C}\x{679D}\x{67A0}\x{67A1}' .
+'\x{67A2}\x{67A6}\x{67A9}\x{67AF}\x{67B3}\x{67B4}\x{67B6}\x{67B7}\x{67B8}' .
+'\x{67B9}\x{67C1}\x{67C4}\x{67C6}\x{67CA}\x{67CE}\x{67CF}\x{67D0}\x{67D1}' .
+'\x{67D3}\x{67D4}\x{67D8}\x{67DA}\x{67DD}\x{67DE}\x{67E2}\x{67E4}\x{67E7}' .
+'\x{67E9}\x{67EC}\x{67EE}\x{67EF}\x{67F1}\x{67F3}\x{67F4}\x{67F5}\x{67FB}' .
+'\x{67FE}\x{67FF}\x{6802}\x{6803}\x{6804}\x{6813}\x{6816}\x{6817}\x{681E}' .
+'\x{6821}\x{6822}\x{6829}\x{682A}\x{682B}\x{6832}\x{6834}\x{6838}\x{6839}' .
+'\x{683C}\x{683D}\x{6840}\x{6841}\x{6842}\x{6843}\x{6846}\x{6848}\x{684D}' .
+'\x{684E}\x{6850}\x{6851}\x{6853}\x{6854}\x{6859}\x{685C}\x{685D}\x{685F}' .
+'\x{6863}\x{6867}\x{6874}\x{6876}\x{6877}\x{687E}\x{687F}\x{6881}\x{6883}' .
+'\x{6885}\x{688D}\x{688F}\x{6893}\x{6894}\x{6897}\x{689B}\x{689D}\x{689F}' .
+'\x{68A0}\x{68A2}\x{68A6}\x{68A7}\x{68A8}\x{68AD}\x{68AF}\x{68B0}\x{68B1}' .
+'\x{68B3}\x{68B5}\x{68B6}\x{68B9}\x{68BA}\x{68BC}\x{68C4}\x{68C6}\x{68C9}' .
+'\x{68CA}\x{68CB}\x{68CD}\x{68D2}\x{68D4}\x{68D5}\x{68D7}\x{68D8}\x{68DA}' .
+'\x{68DF}\x{68E0}\x{68E1}\x{68E3}\x{68E7}\x{68EE}\x{68EF}\x{68F2}\x{68F9}' .
+'\x{68FA}\x{6900}\x{6901}\x{6904}\x{6905}\x{6908}\x{690B}\x{690C}\x{690D}' .
+'\x{690E}\x{690F}\x{6912}\x{6919}\x{691A}\x{691B}\x{691C}\x{6921}\x{6922}' .
+'\x{6923}\x{6925}\x{6926}\x{6928}\x{692A}\x{6930}\x{6934}\x{6936}\x{6939}' .
+'\x{693D}\x{693F}\x{694A}\x{6953}\x{6954}\x{6955}\x{6959}\x{695A}\x{695C}' .
+'\x{695D}\x{695E}\x{6960}\x{6961}\x{6962}\x{696A}\x{696B}\x{696D}\x{696E}' .
+'\x{696F}\x{6973}\x{6974}\x{6975}\x{6977}\x{6978}\x{6979}\x{697C}\x{697D}' .
+'\x{697E}\x{6981}\x{6982}\x{698A}\x{698E}\x{6991}\x{6994}\x{6995}\x{699B}' .
+'\x{699C}\x{69A0}\x{69A7}\x{69AE}\x{69B1}\x{69B2}\x{69B4}\x{69BB}\x{69BE}' .
+'\x{69BF}\x{69C1}\x{69C3}\x{69C7}\x{69CA}\x{69CB}\x{69CC}\x{69CD}\x{69CE}' .
+'\x{69D0}\x{69D3}\x{69D8}\x{69D9}\x{69DD}\x{69DE}\x{69E7}\x{69E8}\x{69EB}' .
+'\x{69ED}\x{69F2}\x{69F9}\x{69FB}\x{69FD}\x{69FF}\x{6A02}\x{6A05}\x{6A0A}' .
+'\x{6A0B}\x{6A0C}\x{6A12}\x{6A13}\x{6A14}\x{6A17}\x{6A19}\x{6A1B}\x{6A1E}' .
+'\x{6A1F}\x{6A21}\x{6A22}\x{6A23}\x{6A29}\x{6A2A}\x{6A2B}\x{6A2E}\x{6A35}' .
+'\x{6A36}\x{6A38}\x{6A39}\x{6A3A}\x{6A3D}\x{6A44}\x{6A47}\x{6A48}\x{6A4B}' .
+'\x{6A58}\x{6A59}\x{6A5F}\x{6A61}\x{6A62}\x{6A66}\x{6A72}\x{6A78}\x{6A7F}' .
+'\x{6A80}\x{6A84}\x{6A8D}\x{6A8E}\x{6A90}\x{6A97}\x{6A9C}\x{6AA0}\x{6AA2}' .
+'\x{6AA3}\x{6AAA}\x{6AAC}\x{6AAE}\x{6AB3}\x{6AB8}\x{6ABB}\x{6AC1}\x{6AC2}' .
+'\x{6AC3}\x{6AD1}\x{6AD3}\x{6ADA}\x{6ADB}\x{6ADE}\x{6ADF}\x{6AE8}\x{6AEA}' .
+'\x{6AFA}\x{6AFB}\x{6B04}\x{6B05}\x{6B0A}\x{6B12}\x{6B16}\x{6B1D}\x{6B1F}' .
+'\x{6B20}\x{6B21}\x{6B23}\x{6B27}\x{6B32}\x{6B37}\x{6B38}\x{6B39}\x{6B3A}' .
+'\x{6B3D}\x{6B3E}\x{6B43}\x{6B47}\x{6B49}\x{6B4C}\x{6B4E}\x{6B50}\x{6B53}' .
+'\x{6B54}\x{6B59}\x{6B5B}\x{6B5F}\x{6B61}\x{6B62}\x{6B63}\x{6B64}\x{6B66}' .
+'\x{6B69}\x{6B6A}\x{6B6F}\x{6B73}\x{6B74}\x{6B78}\x{6B79}\x{6B7B}\x{6B7F}' .
+'\x{6B80}\x{6B83}\x{6B84}\x{6B86}\x{6B89}\x{6B8A}\x{6B8B}\x{6B8D}\x{6B95}' .
+'\x{6B96}\x{6B98}\x{6B9E}\x{6BA4}\x{6BAA}\x{6BAB}\x{6BAF}\x{6BB1}\x{6BB2}' .
+'\x{6BB3}\x{6BB4}\x{6BB5}\x{6BB7}\x{6BBA}\x{6BBB}\x{6BBC}\x{6BBF}\x{6BC0}' .
+'\x{6BC5}\x{6BC6}\x{6BCB}\x{6BCD}\x{6BCE}\x{6BD2}\x{6BD3}\x{6BD4}\x{6BD8}' .
+'\x{6BDB}\x{6BDF}\x{6BEB}\x{6BEC}\x{6BEF}\x{6BF3}\x{6C08}\x{6C0F}\x{6C11}' .
+'\x{6C13}\x{6C14}\x{6C17}\x{6C1B}\x{6C23}\x{6C24}\x{6C34}\x{6C37}\x{6C38}' .
+'\x{6C3E}\x{6C40}\x{6C41}\x{6C42}\x{6C4E}\x{6C50}\x{6C55}\x{6C57}\x{6C5A}' .
+'\x{6C5D}\x{6C5E}\x{6C5F}\x{6C60}\x{6C62}\x{6C68}\x{6C6A}\x{6C70}\x{6C72}' .
+'\x{6C73}\x{6C7A}\x{6C7D}\x{6C7E}\x{6C81}\x{6C82}\x{6C83}\x{6C88}\x{6C8C}' .
+'\x{6C8D}\x{6C90}\x{6C92}\x{6C93}\x{6C96}\x{6C99}\x{6C9A}\x{6C9B}\x{6CA1}' .
+'\x{6CA2}\x{6CAB}\x{6CAE}\x{6CB1}\x{6CB3}\x{6CB8}\x{6CB9}\x{6CBA}\x{6CBB}' .
+'\x{6CBC}\x{6CBD}\x{6CBE}\x{6CBF}\x{6CC1}\x{6CC4}\x{6CC5}\x{6CC9}\x{6CCA}' .
+'\x{6CCC}\x{6CD3}\x{6CD5}\x{6CD7}\x{6CD9}\x{6CDB}\x{6CDD}\x{6CE1}\x{6CE2}' .
+'\x{6CE3}\x{6CE5}\x{6CE8}\x{6CEA}\x{6CEF}\x{6CF0}\x{6CF1}\x{6CF3}\x{6D0B}' .
+'\x{6D0C}\x{6D12}\x{6D17}\x{6D19}\x{6D1B}\x{6D1E}\x{6D1F}\x{6D25}\x{6D29}' .
+'\x{6D2A}\x{6D2B}\x{6D32}\x{6D33}\x{6D35}\x{6D36}\x{6D38}\x{6D3B}\x{6D3D}' .
+'\x{6D3E}\x{6D41}\x{6D44}\x{6D45}\x{6D59}\x{6D5A}\x{6D5C}\x{6D63}\x{6D64}' .
+'\x{6D66}\x{6D69}\x{6D6A}\x{6D6C}\x{6D6E}\x{6D74}\x{6D77}\x{6D78}\x{6D79}' .
+'\x{6D85}\x{6D88}\x{6D8C}\x{6D8E}\x{6D93}\x{6D95}\x{6D99}\x{6D9B}\x{6D9C}' .
+'\x{6DAF}\x{6DB2}\x{6DB5}\x{6DB8}\x{6DBC}\x{6DC0}\x{6DC5}\x{6DC6}\x{6DC7}' .
+'\x{6DCB}\x{6DCC}\x{6DD1}\x{6DD2}\x{6DD5}\x{6DD8}\x{6DD9}\x{6DDE}\x{6DE1}' .
+'\x{6DE4}\x{6DE6}\x{6DE8}\x{6DEA}\x{6DEB}\x{6DEC}\x{6DEE}\x{6DF1}\x{6DF3}' .
+'\x{6DF5}\x{6DF7}\x{6DF9}\x{6DFA}\x{6DFB}\x{6E05}\x{6E07}\x{6E08}\x{6E09}' .
+'\x{6E0A}\x{6E0B}\x{6E13}\x{6E15}\x{6E19}\x{6E1A}\x{6E1B}\x{6E1D}\x{6E1F}' .
+'\x{6E20}\x{6E21}\x{6E23}\x{6E24}\x{6E25}\x{6E26}\x{6E29}\x{6E2B}\x{6E2C}' .
+'\x{6E2D}\x{6E2E}\x{6E2F}\x{6E38}\x{6E3A}\x{6E3E}\x{6E43}\x{6E4A}\x{6E4D}' .
+'\x{6E4E}\x{6E56}\x{6E58}\x{6E5B}\x{6E5F}\x{6E67}\x{6E6B}\x{6E6E}\x{6E6F}' .
+'\x{6E72}\x{6E76}\x{6E7E}\x{6E7F}\x{6E80}\x{6E82}\x{6E8C}\x{6E8F}\x{6E90}' .
+'\x{6E96}\x{6E98}\x{6E9C}\x{6E9D}\x{6E9F}\x{6EA2}\x{6EA5}\x{6EAA}\x{6EAF}' .
+'\x{6EB2}\x{6EB6}\x{6EB7}\x{6EBA}\x{6EBD}\x{6EC2}\x{6EC4}\x{6EC5}\x{6EC9}' .
+'\x{6ECB}\x{6ECC}\x{6ED1}\x{6ED3}\x{6ED4}\x{6ED5}\x{6EDD}\x{6EDE}\x{6EEC}' .
+'\x{6EEF}\x{6EF2}\x{6EF4}\x{6EF7}\x{6EF8}\x{6EFE}\x{6EFF}\x{6F01}\x{6F02}' .
+'\x{6F06}\x{6F09}\x{6F0F}\x{6F11}\x{6F13}\x{6F14}\x{6F15}\x{6F20}\x{6F22}' .
+'\x{6F23}\x{6F2B}\x{6F2C}\x{6F31}\x{6F32}\x{6F38}\x{6F3E}\x{6F3F}\x{6F41}' .
+'\x{6F45}\x{6F54}\x{6F58}\x{6F5B}\x{6F5C}\x{6F5F}\x{6F64}\x{6F66}\x{6F6D}' .
+'\x{6F6E}\x{6F6F}\x{6F70}\x{6F74}\x{6F78}\x{6F7A}\x{6F7C}\x{6F80}\x{6F81}' .
+'\x{6F82}\x{6F84}\x{6F86}\x{6F8E}\x{6F91}\x{6F97}\x{6FA1}\x{6FA3}\x{6FA4}' .
+'\x{6FAA}\x{6FB1}\x{6FB3}\x{6FB9}\x{6FC0}\x{6FC1}\x{6FC2}\x{6FC3}\x{6FC6}' .
+'\x{6FD4}\x{6FD5}\x{6FD8}\x{6FDB}\x{6FDF}\x{6FE0}\x{6FE1}\x{6FE4}\x{6FEB}' .
+'\x{6FEC}\x{6FEE}\x{6FEF}\x{6FF1}\x{6FF3}\x{6FF6}\x{6FFA}\x{6FFE}\x{7001}' .
+'\x{7009}\x{700B}\x{700F}\x{7011}\x{7015}\x{7018}\x{701A}\x{701B}\x{701D}' .
+'\x{701E}\x{701F}\x{7026}\x{7027}\x{702C}\x{7030}\x{7032}\x{703E}\x{704C}' .
+'\x{7051}\x{7058}\x{7063}\x{706B}\x{706F}\x{7070}\x{7078}\x{707C}\x{707D}' .
+'\x{7089}\x{708A}\x{708E}\x{7092}\x{7099}\x{70AC}\x{70AD}\x{70AE}\x{70AF}' .
+'\x{70B3}\x{70B8}\x{70B9}\x{70BA}\x{70C8}\x{70CB}\x{70CF}\x{70D9}\x{70DD}' .
+'\x{70DF}\x{70F1}\x{70F9}\x{70FD}\x{7109}\x{7114}\x{7119}\x{711A}\x{711C}' .
+'\x{7121}\x{7126}\x{7136}\x{713C}\x{7149}\x{714C}\x{714E}\x{7155}\x{7156}' .
+'\x{7159}\x{7162}\x{7164}\x{7165}\x{7166}\x{7167}\x{7169}\x{716C}\x{716E}' .
+'\x{717D}\x{7184}\x{7188}\x{718A}\x{718F}\x{7194}\x{7195}\x{7199}\x{719F}' .
+'\x{71A8}\x{71AC}\x{71B1}\x{71B9}\x{71BE}\x{71C3}\x{71C8}\x{71C9}\x{71CE}' .
+'\x{71D0}\x{71D2}\x{71D4}\x{71D5}\x{71D7}\x{71DF}\x{71E0}\x{71E5}\x{71E6}' .
+'\x{71E7}\x{71EC}\x{71ED}\x{71EE}\x{71F5}\x{71F9}\x{71FB}\x{71FC}\x{71FF}' .
+'\x{7206}\x{720D}\x{7210}\x{721B}\x{7228}\x{722A}\x{722C}\x{722D}\x{7230}' .
+'\x{7232}\x{7235}\x{7236}\x{723A}\x{723B}\x{723C}\x{723D}\x{723E}\x{723F}' .
+'\x{7240}\x{7246}\x{7247}\x{7248}\x{724B}\x{724C}\x{7252}\x{7258}\x{7259}' .
+'\x{725B}\x{725D}\x{725F}\x{7261}\x{7262}\x{7267}\x{7269}\x{7272}\x{7274}' .
+'\x{7279}\x{727D}\x{727E}\x{7280}\x{7281}\x{7282}\x{7287}\x{7292}\x{7296}' .
+'\x{72A0}\x{72A2}\x{72A7}\x{72AC}\x{72AF}\x{72B2}\x{72B6}\x{72B9}\x{72C2}' .
+'\x{72C3}\x{72C4}\x{72C6}\x{72CE}\x{72D0}\x{72D2}\x{72D7}\x{72D9}\x{72DB}' .
+'\x{72E0}\x{72E1}\x{72E2}\x{72E9}\x{72EC}\x{72ED}\x{72F7}\x{72F8}\x{72F9}' .
+'\x{72FC}\x{72FD}\x{730A}\x{7316}\x{7317}\x{731B}\x{731C}\x{731D}\x{731F}' .
+'\x{7325}\x{7329}\x{732A}\x{732B}\x{732E}\x{732F}\x{7334}\x{7336}\x{7337}' .
+'\x{733E}\x{733F}\x{7344}\x{7345}\x{734E}\x{734F}\x{7357}\x{7363}\x{7368}' .
+'\x{736A}\x{7370}\x{7372}\x{7375}\x{7378}\x{737A}\x{737B}\x{7384}\x{7387}' .
+'\x{7389}\x{738B}\x{7396}\x{73A9}\x{73B2}\x{73B3}\x{73BB}\x{73C0}\x{73C2}' .
+'\x{73C8}\x{73CA}\x{73CD}\x{73CE}\x{73DE}\x{73E0}\x{73E5}\x{73EA}\x{73ED}' .
+'\x{73EE}\x{73F1}\x{73F8}\x{73FE}\x{7403}\x{7405}\x{7406}\x{7409}\x{7422}' .
+'\x{7425}\x{7432}\x{7433}\x{7434}\x{7435}\x{7436}\x{743A}\x{743F}\x{7441}' .
+'\x{7455}\x{7459}\x{745A}\x{745B}\x{745C}\x{745E}\x{745F}\x{7460}\x{7463}' .
+'\x{7464}\x{7469}\x{746A}\x{746F}\x{7470}\x{7473}\x{7476}\x{747E}\x{7483}' .
+'\x{748B}\x{749E}\x{74A2}\x{74A7}\x{74B0}\x{74BD}\x{74CA}\x{74CF}\x{74D4}' .
+'\x{74DC}\x{74E0}\x{74E2}\x{74E3}\x{74E6}\x{74E7}\x{74E9}\x{74EE}\x{74F0}' .
+'\x{74F1}\x{74F2}\x{74F6}\x{74F7}\x{74F8}\x{7503}\x{7504}\x{7505}\x{750C}' .
+'\x{750D}\x{750E}\x{7511}\x{7513}\x{7515}\x{7518}\x{751A}\x{751C}\x{751E}' .
+'\x{751F}\x{7523}\x{7525}\x{7526}\x{7528}\x{752B}\x{752C}\x{7530}\x{7531}' .
+'\x{7532}\x{7533}\x{7537}\x{7538}\x{753A}\x{753B}\x{753C}\x{7544}\x{7546}' .
+'\x{7549}\x{754A}\x{754B}\x{754C}\x{754D}\x{754F}\x{7551}\x{7554}\x{7559}' .
+'\x{755A}\x{755B}\x{755C}\x{755D}\x{7560}\x{7562}\x{7564}\x{7565}\x{7566}' .
+'\x{7567}\x{7569}\x{756A}\x{756B}\x{756D}\x{7570}\x{7573}\x{7574}\x{7576}' .
+'\x{7577}\x{7578}\x{757F}\x{7582}\x{7586}\x{7587}\x{7589}\x{758A}\x{758B}' .
+'\x{758E}\x{758F}\x{7591}\x{7594}\x{759A}\x{759D}\x{75A3}\x{75A5}\x{75AB}' .
+'\x{75B1}\x{75B2}\x{75B3}\x{75B5}\x{75B8}\x{75B9}\x{75BC}\x{75BD}\x{75BE}' .
+'\x{75C2}\x{75C3}\x{75C5}\x{75C7}\x{75CA}\x{75CD}\x{75D2}\x{75D4}\x{75D5}' .
+'\x{75D8}\x{75D9}\x{75DB}\x{75DE}\x{75E2}\x{75E3}\x{75E9}\x{75F0}\x{75F2}' .
+'\x{75F3}\x{75F4}\x{75FA}\x{75FC}\x{75FE}\x{75FF}\x{7601}\x{7609}\x{760B}' .
+'\x{760D}\x{761F}\x{7620}\x{7621}\x{7622}\x{7624}\x{7627}\x{7630}\x{7634}' .
+'\x{763B}\x{7642}\x{7646}\x{7647}\x{7648}\x{764C}\x{7652}\x{7656}\x{7658}' .
+'\x{765C}\x{7661}\x{7662}\x{7667}\x{7668}\x{7669}\x{766A}\x{766C}\x{7670}' .
+'\x{7672}\x{7676}\x{7678}\x{767A}\x{767B}\x{767C}\x{767D}\x{767E}\x{7680}' .
+'\x{7683}\x{7684}\x{7686}\x{7687}\x{7688}\x{768B}\x{768E}\x{7690}\x{7693}' .
+'\x{7696}\x{7699}\x{769A}\x{76AE}\x{76B0}\x{76B4}\x{76B7}\x{76B8}\x{76B9}' .
+'\x{76BA}\x{76BF}\x{76C2}\x{76C3}\x{76C6}\x{76C8}\x{76CA}\x{76CD}\x{76D2}' .
+'\x{76D6}\x{76D7}\x{76DB}\x{76DC}\x{76DE}\x{76DF}\x{76E1}\x{76E3}\x{76E4}' .
+'\x{76E5}\x{76E7}\x{76EA}\x{76EE}\x{76F2}\x{76F4}\x{76F8}\x{76FB}\x{76FE}' .
+'\x{7701}\x{7704}\x{7707}\x{7708}\x{7709}\x{770B}\x{770C}\x{771B}\x{771E}' .
+'\x{771F}\x{7720}\x{7724}\x{7725}\x{7726}\x{7729}\x{7737}\x{7738}\x{773A}' .
+'\x{773C}\x{7740}\x{7747}\x{775A}\x{775B}\x{7761}\x{7763}\x{7765}\x{7766}' .
+'\x{7768}\x{776B}\x{7779}\x{777E}\x{777F}\x{778B}\x{778E}\x{7791}\x{779E}' .
+'\x{77A0}\x{77A5}\x{77AC}\x{77AD}\x{77B0}\x{77B3}\x{77B6}\x{77B9}\x{77BB}' .
+'\x{77BC}\x{77BD}\x{77BF}\x{77C7}\x{77CD}\x{77D7}\x{77DA}\x{77DB}\x{77DC}' .
+'\x{77E2}\x{77E3}\x{77E5}\x{77E7}\x{77E9}\x{77ED}\x{77EE}\x{77EF}\x{77F3}' .
+'\x{77FC}\x{7802}\x{780C}\x{7812}\x{7814}\x{7815}\x{7820}\x{7825}\x{7826}' .
+'\x{7827}\x{7832}\x{7834}\x{783A}\x{783F}\x{7845}\x{785D}\x{786B}\x{786C}' .
+'\x{786F}\x{7872}\x{7874}\x{787C}\x{7881}\x{7886}\x{7887}\x{788C}\x{788D}' .
+'\x{788E}\x{7891}\x{7893}\x{7895}\x{7897}\x{789A}\x{78A3}\x{78A7}\x{78A9}' .
+'\x{78AA}\x{78AF}\x{78B5}\x{78BA}\x{78BC}\x{78BE}\x{78C1}\x{78C5}\x{78C6}' .
+'\x{78CA}\x{78CB}\x{78D0}\x{78D1}\x{78D4}\x{78DA}\x{78E7}\x{78E8}\x{78EC}' .
+'\x{78EF}\x{78F4}\x{78FD}\x{7901}\x{7907}\x{790E}\x{7911}\x{7912}\x{7919}' .
+'\x{7926}\x{792A}\x{792B}\x{792C}\x{793A}\x{793C}\x{793E}\x{7940}\x{7941}' .
+'\x{7947}\x{7948}\x{7949}\x{7950}\x{7953}\x{7955}\x{7956}\x{7957}\x{795A}' .
+'\x{795D}\x{795E}\x{795F}\x{7960}\x{7962}\x{7965}\x{7968}\x{796D}\x{7977}' .
+'\x{797A}\x{797F}\x{7980}\x{7981}\x{7984}\x{7985}\x{798A}\x{798D}\x{798E}' .
+'\x{798F}\x{799D}\x{79A6}\x{79A7}\x{79AA}\x{79AE}\x{79B0}\x{79B3}\x{79B9}' .
+'\x{79BA}\x{79BD}\x{79BE}\x{79BF}\x{79C0}\x{79C1}\x{79C9}\x{79CB}\x{79D1}' .
+'\x{79D2}\x{79D5}\x{79D8}\x{79DF}\x{79E1}\x{79E3}\x{79E4}\x{79E6}\x{79E7}' .
+'\x{79E9}\x{79EC}\x{79F0}\x{79FB}\x{7A00}\x{7A08}\x{7A0B}\x{7A0D}\x{7A0E}' .
+'\x{7A14}\x{7A17}\x{7A18}\x{7A19}\x{7A1A}\x{7A1C}\x{7A1F}\x{7A20}\x{7A2E}' .
+'\x{7A31}\x{7A32}\x{7A37}\x{7A3B}\x{7A3C}\x{7A3D}\x{7A3E}\x{7A3F}\x{7A40}' .
+'\x{7A42}\x{7A43}\x{7A46}\x{7A49}\x{7A4D}\x{7A4E}\x{7A4F}\x{7A50}\x{7A57}' .
+'\x{7A61}\x{7A62}\x{7A63}\x{7A69}\x{7A6B}\x{7A70}\x{7A74}\x{7A76}\x{7A79}' .
+'\x{7A7A}\x{7A7D}\x{7A7F}\x{7A81}\x{7A83}\x{7A84}\x{7A88}\x{7A92}\x{7A93}' .
+'\x{7A95}\x{7A96}\x{7A97}\x{7A98}\x{7A9F}\x{7AA9}\x{7AAA}\x{7AAE}\x{7AAF}' .
+'\x{7AB0}\x{7AB6}\x{7ABA}\x{7ABF}\x{7AC3}\x{7AC4}\x{7AC5}\x{7AC7}\x{7AC8}' .
+'\x{7ACA}\x{7ACB}\x{7ACD}\x{7ACF}\x{7AD2}\x{7AD3}\x{7AD5}\x{7AD9}\x{7ADA}' .
+'\x{7ADC}\x{7ADD}\x{7ADF}\x{7AE0}\x{7AE1}\x{7AE2}\x{7AE3}\x{7AE5}\x{7AE6}' .
+'\x{7AEA}\x{7AED}\x{7AEF}\x{7AF0}\x{7AF6}\x{7AF8}\x{7AF9}\x{7AFA}\x{7AFF}' .
+'\x{7B02}\x{7B04}\x{7B06}\x{7B08}\x{7B0A}\x{7B0B}\x{7B0F}\x{7B11}\x{7B18}' .
+'\x{7B19}\x{7B1B}\x{7B1E}\x{7B20}\x{7B25}\x{7B26}\x{7B28}\x{7B2C}\x{7B33}' .
+'\x{7B35}\x{7B36}\x{7B39}\x{7B45}\x{7B46}\x{7B48}\x{7B49}\x{7B4B}\x{7B4C}' .
+'\x{7B4D}\x{7B4F}\x{7B50}\x{7B51}\x{7B52}\x{7B54}\x{7B56}\x{7B5D}\x{7B65}' .
+'\x{7B67}\x{7B6C}\x{7B6E}\x{7B70}\x{7B71}\x{7B74}\x{7B75}\x{7B7A}\x{7B86}' .
+'\x{7B87}\x{7B8B}\x{7B8D}\x{7B8F}\x{7B92}\x{7B94}\x{7B95}\x{7B97}\x{7B98}' .
+'\x{7B99}\x{7B9A}\x{7B9C}\x{7B9D}\x{7B9F}\x{7BA1}\x{7BAA}\x{7BAD}\x{7BB1}' .
+'\x{7BB4}\x{7BB8}\x{7BC0}\x{7BC1}\x{7BC4}\x{7BC6}\x{7BC7}\x{7BC9}\x{7BCB}' .
+'\x{7BCC}\x{7BCF}\x{7BDD}\x{7BE0}\x{7BE4}\x{7BE5}\x{7BE6}\x{7BE9}\x{7BED}' .
+'\x{7BF3}\x{7BF6}\x{7BF7}\x{7C00}\x{7C07}\x{7C0D}\x{7C11}\x{7C12}\x{7C13}' .
+'\x{7C14}\x{7C17}\x{7C1F}\x{7C21}\x{7C23}\x{7C27}\x{7C2A}\x{7C2B}\x{7C37}' .
+'\x{7C38}\x{7C3D}\x{7C3E}\x{7C3F}\x{7C40}\x{7C43}\x{7C4C}\x{7C4D}\x{7C4F}' .
+'\x{7C50}\x{7C54}\x{7C56}\x{7C58}\x{7C5F}\x{7C60}\x{7C64}\x{7C65}\x{7C6C}' .
+'\x{7C73}\x{7C75}\x{7C7E}\x{7C81}\x{7C82}\x{7C83}\x{7C89}\x{7C8B}\x{7C8D}' .
+'\x{7C90}\x{7C92}\x{7C95}\x{7C97}\x{7C98}\x{7C9B}\x{7C9F}\x{7CA1}\x{7CA2}' .
+'\x{7CA4}\x{7CA5}\x{7CA7}\x{7CA8}\x{7CAB}\x{7CAD}\x{7CAE}\x{7CB1}\x{7CB2}' .
+'\x{7CB3}\x{7CB9}\x{7CBD}\x{7CBE}\x{7CC0}\x{7CC2}\x{7CC5}\x{7CCA}\x{7CCE}' .
+'\x{7CD2}\x{7CD6}\x{7CD8}\x{7CDC}\x{7CDE}\x{7CDF}\x{7CE0}\x{7CE2}\x{7CE7}' .
+'\x{7CEF}\x{7CF2}\x{7CF4}\x{7CF6}\x{7CF8}\x{7CFA}\x{7CFB}\x{7CFE}\x{7D00}' .
+'\x{7D02}\x{7D04}\x{7D05}\x{7D06}\x{7D0A}\x{7D0B}\x{7D0D}\x{7D10}\x{7D14}' .
+'\x{7D15}\x{7D17}\x{7D18}\x{7D19}\x{7D1A}\x{7D1B}\x{7D1C}\x{7D20}\x{7D21}' .
+'\x{7D22}\x{7D2B}\x{7D2C}\x{7D2E}\x{7D2F}\x{7D30}\x{7D32}\x{7D33}\x{7D35}' .
+'\x{7D39}\x{7D3A}\x{7D3F}\x{7D42}\x{7D43}\x{7D44}\x{7D45}\x{7D46}\x{7D4B}' .
+'\x{7D4C}\x{7D4E}\x{7D4F}\x{7D50}\x{7D56}\x{7D5B}\x{7D5E}\x{7D61}\x{7D62}' .
+'\x{7D63}\x{7D66}\x{7D68}\x{7D6E}\x{7D71}\x{7D72}\x{7D73}\x{7D75}\x{7D76}' .
+'\x{7D79}\x{7D7D}\x{7D89}\x{7D8F}\x{7D93}\x{7D99}\x{7D9A}\x{7D9B}\x{7D9C}' .
+'\x{7D9F}\x{7DA2}\x{7DA3}\x{7DAB}\x{7DAC}\x{7DAD}\x{7DAE}\x{7DAF}\x{7DB0}' .
+'\x{7DB1}\x{7DB2}\x{7DB4}\x{7DB5}\x{7DB8}\x{7DBA}\x{7DBB}\x{7DBD}\x{7DBE}' .
+'\x{7DBF}\x{7DC7}\x{7DCA}\x{7DCB}\x{7DCF}\x{7DD1}\x{7DD2}\x{7DD5}\x{7DD8}' .
+'\x{7DDA}\x{7DDC}\x{7DDD}\x{7DDE}\x{7DE0}\x{7DE1}\x{7DE4}\x{7DE8}\x{7DE9}' .
+'\x{7DEC}\x{7DEF}\x{7DF2}\x{7DF4}\x{7DFB}\x{7E01}\x{7E04}\x{7E05}\x{7E09}' .
+'\x{7E0A}\x{7E0B}\x{7E12}\x{7E1B}\x{7E1E}\x{7E1F}\x{7E21}\x{7E22}\x{7E23}' .
+'\x{7E26}\x{7E2B}\x{7E2E}\x{7E31}\x{7E32}\x{7E35}\x{7E37}\x{7E39}\x{7E3A}' .
+'\x{7E3B}\x{7E3D}\x{7E3E}\x{7E41}\x{7E43}\x{7E46}\x{7E4A}\x{7E4B}\x{7E4D}' .
+'\x{7E54}\x{7E55}\x{7E56}\x{7E59}\x{7E5A}\x{7E5D}\x{7E5E}\x{7E66}\x{7E67}' .
+'\x{7E69}\x{7E6A}\x{7E6D}\x{7E70}\x{7E79}\x{7E7B}\x{7E7C}\x{7E7D}\x{7E7F}' .
+'\x{7E82}\x{7E83}\x{7E88}\x{7E89}\x{7E8C}\x{7E8E}\x{7E8F}\x{7E90}\x{7E92}' .
+'\x{7E93}\x{7E94}\x{7E96}\x{7E9B}\x{7E9C}\x{7F36}\x{7F38}\x{7F3A}\x{7F45}' .
+'\x{7F4C}\x{7F4D}\x{7F4E}\x{7F50}\x{7F51}\x{7F54}\x{7F55}\x{7F58}\x{7F5F}' .
+'\x{7F60}\x{7F67}\x{7F68}\x{7F69}\x{7F6A}\x{7F6B}\x{7F6E}\x{7F70}\x{7F72}' .
+'\x{7F75}\x{7F77}\x{7F78}\x{7F79}\x{7F82}\x{7F83}\x{7F85}\x{7F86}\x{7F87}' .
+'\x{7F88}\x{7F8A}\x{7F8C}\x{7F8E}\x{7F94}\x{7F9A}\x{7F9D}\x{7F9E}\x{7FA3}' .
+'\x{7FA4}\x{7FA8}\x{7FA9}\x{7FAE}\x{7FAF}\x{7FB2}\x{7FB6}\x{7FB8}\x{7FB9}' .
+'\x{7FBD}\x{7FC1}\x{7FC5}\x{7FC6}\x{7FCA}\x{7FCC}\x{7FD2}\x{7FD4}\x{7FD5}' .
+'\x{7FE0}\x{7FE1}\x{7FE6}\x{7FE9}\x{7FEB}\x{7FF0}\x{7FF3}\x{7FF9}\x{7FFB}' .
+'\x{7FFC}\x{8000}\x{8001}\x{8003}\x{8004}\x{8005}\x{8006}\x{800B}\x{800C}' .
+'\x{8010}\x{8012}\x{8015}\x{8017}\x{8018}\x{8019}\x{801C}\x{8021}\x{8028}' .
+'\x{8033}\x{8036}\x{803B}\x{803D}\x{803F}\x{8046}\x{804A}\x{8052}\x{8056}' .
+'\x{8058}\x{805A}\x{805E}\x{805F}\x{8061}\x{8062}\x{8068}\x{806F}\x{8070}' .
+'\x{8072}\x{8073}\x{8074}\x{8076}\x{8077}\x{8079}\x{807D}\x{807E}\x{807F}' .
+'\x{8084}\x{8085}\x{8086}\x{8087}\x{8089}\x{808B}\x{808C}\x{8093}\x{8096}' .
+'\x{8098}\x{809A}\x{809B}\x{809D}\x{80A1}\x{80A2}\x{80A5}\x{80A9}\x{80AA}' .
+'\x{80AC}\x{80AD}\x{80AF}\x{80B1}\x{80B2}\x{80B4}\x{80BA}\x{80C3}\x{80C4}' .
+'\x{80C6}\x{80CC}\x{80CE}\x{80D6}\x{80D9}\x{80DA}\x{80DB}\x{80DD}\x{80DE}' .
+'\x{80E1}\x{80E4}\x{80E5}\x{80EF}\x{80F1}\x{80F4}\x{80F8}\x{80FC}\x{80FD}' .
+'\x{8102}\x{8105}\x{8106}\x{8107}\x{8108}\x{8109}\x{810A}\x{811A}\x{811B}' .
+'\x{8123}\x{8129}\x{812F}\x{8131}\x{8133}\x{8139}\x{813E}\x{8146}\x{814B}' .
+'\x{814E}\x{8150}\x{8151}\x{8153}\x{8154}\x{8155}\x{815F}\x{8165}\x{8166}' .
+'\x{816B}\x{816E}\x{8170}\x{8171}\x{8174}\x{8178}\x{8179}\x{817A}\x{817F}' .
+'\x{8180}\x{8182}\x{8183}\x{8188}\x{818A}\x{818F}\x{8193}\x{8195}\x{819A}' .
+'\x{819C}\x{819D}\x{81A0}\x{81A3}\x{81A4}\x{81A8}\x{81A9}\x{81B0}\x{81B3}' .
+'\x{81B5}\x{81B8}\x{81BA}\x{81BD}\x{81BE}\x{81BF}\x{81C0}\x{81C2}\x{81C6}' .
+'\x{81C8}\x{81C9}\x{81CD}\x{81D1}\x{81D3}\x{81D8}\x{81D9}\x{81DA}\x{81DF}' .
+'\x{81E0}\x{81E3}\x{81E5}\x{81E7}\x{81E8}\x{81EA}\x{81ED}\x{81F3}\x{81F4}' .
+'\x{81FA}\x{81FB}\x{81FC}\x{81FE}\x{8201}\x{8202}\x{8205}\x{8207}\x{8208}' .
+'\x{8209}\x{820A}\x{820C}\x{820D}\x{820E}\x{8210}\x{8212}\x{8216}\x{8217}' .
+'\x{8218}\x{821B}\x{821C}\x{821E}\x{821F}\x{8229}\x{822A}\x{822B}\x{822C}' .
+'\x{822E}\x{8233}\x{8235}\x{8236}\x{8237}\x{8238}\x{8239}\x{8240}\x{8247}' .
+'\x{8258}\x{8259}\x{825A}\x{825D}\x{825F}\x{8262}\x{8264}\x{8266}\x{8268}' .
+'\x{826A}\x{826B}\x{826E}\x{826F}\x{8271}\x{8272}\x{8276}\x{8277}\x{8278}' .
+'\x{827E}\x{828B}\x{828D}\x{8292}\x{8299}\x{829D}\x{829F}\x{82A5}\x{82A6}' .
+'\x{82AB}\x{82AC}\x{82AD}\x{82AF}\x{82B1}\x{82B3}\x{82B8}\x{82B9}\x{82BB}' .
+'\x{82BD}\x{82C5}\x{82D1}\x{82D2}\x{82D3}\x{82D4}\x{82D7}\x{82D9}\x{82DB}' .
+'\x{82DC}\x{82DE}\x{82DF}\x{82E1}\x{82E3}\x{82E5}\x{82E6}\x{82E7}\x{82EB}' .
+'\x{82F1}\x{82F3}\x{82F4}\x{82F9}\x{82FA}\x{82FB}\x{8302}\x{8303}\x{8304}' .
+'\x{8305}\x{8306}\x{8309}\x{830E}\x{8316}\x{8317}\x{8318}\x{831C}\x{8323}' .
+'\x{8328}\x{832B}\x{832F}\x{8331}\x{8332}\x{8334}\x{8335}\x{8336}\x{8338}' .
+'\x{8339}\x{8340}\x{8345}\x{8349}\x{834A}\x{834F}\x{8350}\x{8352}\x{8358}' .
+'\x{8373}\x{8375}\x{8377}\x{837B}\x{837C}\x{8385}\x{8387}\x{8389}\x{838A}' .
+'\x{838E}\x{8393}\x{8396}\x{839A}\x{839E}\x{839F}\x{83A0}\x{83A2}\x{83A8}' .
+'\x{83AA}\x{83AB}\x{83B1}\x{83B5}\x{83BD}\x{83C1}\x{83C5}\x{83CA}\x{83CC}' .
+'\x{83CE}\x{83D3}\x{83D6}\x{83D8}\x{83DC}\x{83DF}\x{83E0}\x{83E9}\x{83EB}' .
+'\x{83EF}\x{83F0}\x{83F1}\x{83F2}\x{83F4}\x{83F7}\x{83FB}\x{83FD}\x{8403}' .
+'\x{8404}\x{8407}\x{840B}\x{840C}\x{840D}\x{840E}\x{8413}\x{8420}\x{8422}' .
+'\x{8429}\x{842A}\x{842C}\x{8431}\x{8435}\x{8438}\x{843C}\x{843D}\x{8446}' .
+'\x{8449}\x{844E}\x{8457}\x{845B}\x{8461}\x{8462}\x{8463}\x{8466}\x{8469}' .
+'\x{846B}\x{846C}\x{846D}\x{846E}\x{846F}\x{8471}\x{8475}\x{8477}\x{8479}' .
+'\x{847A}\x{8482}\x{8484}\x{848B}\x{8490}\x{8494}\x{8499}\x{849C}\x{849F}' .
+'\x{84A1}\x{84AD}\x{84B2}\x{84B8}\x{84B9}\x{84BB}\x{84BC}\x{84BF}\x{84C1}' .
+'\x{84C4}\x{84C6}\x{84C9}\x{84CA}\x{84CB}\x{84CD}\x{84D0}\x{84D1}\x{84D6}' .
+'\x{84D9}\x{84DA}\x{84EC}\x{84EE}\x{84F4}\x{84FC}\x{84FF}\x{8500}\x{8506}' .
+'\x{8511}\x{8513}\x{8514}\x{8515}\x{8517}\x{8518}\x{851A}\x{851F}\x{8521}' .
+'\x{8526}\x{852C}\x{852D}\x{8535}\x{853D}\x{8540}\x{8541}\x{8543}\x{8548}' .
+'\x{8549}\x{854A}\x{854B}\x{854E}\x{8555}\x{8557}\x{8558}\x{855A}\x{8563}' .
+'\x{8568}\x{8569}\x{856A}\x{856D}\x{8577}\x{857E}\x{8580}\x{8584}\x{8587}' .
+'\x{8588}\x{858A}\x{8590}\x{8591}\x{8594}\x{8597}\x{8599}\x{859B}\x{859C}' .
+'\x{85A4}\x{85A6}\x{85A8}\x{85A9}\x{85AA}\x{85AB}\x{85AC}\x{85AE}\x{85AF}' .
+'\x{85B9}\x{85BA}\x{85C1}\x{85C9}\x{85CD}\x{85CF}\x{85D0}\x{85D5}\x{85DC}' .
+'\x{85DD}\x{85E4}\x{85E5}\x{85E9}\x{85EA}\x{85F7}\x{85F9}\x{85FA}\x{85FB}' .
+'\x{85FE}\x{8602}\x{8606}\x{8607}\x{860A}\x{860B}\x{8613}\x{8616}\x{8617}' .
+'\x{861A}\x{8622}\x{862D}\x{862F}\x{8630}\x{863F}\x{864D}\x{864E}\x{8650}' .
+'\x{8654}\x{8655}\x{865A}\x{865C}\x{865E}\x{865F}\x{8667}\x{866B}\x{8671}' .
+'\x{8679}\x{867B}\x{868A}\x{868B}\x{868C}\x{8693}\x{8695}\x{86A3}\x{86A4}' .
+'\x{86A9}\x{86AA}\x{86AB}\x{86AF}\x{86B0}\x{86B6}\x{86C4}\x{86C6}\x{86C7}' .
+'\x{86C9}\x{86CB}\x{86CD}\x{86CE}\x{86D4}\x{86D9}\x{86DB}\x{86DE}\x{86DF}' .
+'\x{86E4}\x{86E9}\x{86EC}\x{86ED}\x{86EE}\x{86EF}\x{86F8}\x{86F9}\x{86FB}' .
+'\x{86FE}\x{8700}\x{8702}\x{8703}\x{8706}\x{8708}\x{8709}\x{870A}\x{870D}' .
+'\x{8711}\x{8712}\x{8718}\x{871A}\x{871C}\x{8725}\x{8729}\x{8734}\x{8737}' .
+'\x{873B}\x{873F}\x{8749}\x{874B}\x{874C}\x{874E}\x{8753}\x{8755}\x{8757}' .
+'\x{8759}\x{875F}\x{8760}\x{8763}\x{8766}\x{8768}\x{876A}\x{876E}\x{8774}' .
+'\x{8776}\x{8778}\x{877F}\x{8782}\x{878D}\x{879F}\x{87A2}\x{87AB}\x{87AF}' .
+'\x{87B3}\x{87BA}\x{87BB}\x{87BD}\x{87C0}\x{87C4}\x{87C6}\x{87C7}\x{87CB}' .
+'\x{87D0}\x{87D2}\x{87E0}\x{87EF}\x{87F2}\x{87F6}\x{87F7}\x{87F9}\x{87FB}' .
+'\x{87FE}\x{8805}\x{880D}\x{880E}\x{880F}\x{8811}\x{8815}\x{8816}\x{8821}' .
+'\x{8822}\x{8823}\x{8827}\x{8831}\x{8836}\x{8839}\x{883B}\x{8840}\x{8842}' .
+'\x{8844}\x{8846}\x{884C}\x{884D}\x{8852}\x{8853}\x{8857}\x{8859}\x{885B}' .
+'\x{885D}\x{885E}\x{8861}\x{8862}\x{8863}\x{8868}\x{886B}\x{8870}\x{8872}' .
+'\x{8875}\x{8877}\x{887D}\x{887E}\x{887F}\x{8881}\x{8882}\x{8888}\x{888B}' .
+'\x{888D}\x{8892}\x{8896}\x{8897}\x{8899}\x{889E}\x{88A2}\x{88A4}\x{88AB}' .
+'\x{88AE}\x{88B0}\x{88B1}\x{88B4}\x{88B5}\x{88B7}\x{88BF}\x{88C1}\x{88C2}' .
+'\x{88C3}\x{88C4}\x{88C5}\x{88CF}\x{88D4}\x{88D5}\x{88D8}\x{88D9}\x{88DC}' .
+'\x{88DD}\x{88DF}\x{88E1}\x{88E8}\x{88F2}\x{88F3}\x{88F4}\x{88F8}\x{88F9}' .
+'\x{88FC}\x{88FD}\x{88FE}\x{8902}\x{8904}\x{8907}\x{890A}\x{890C}\x{8910}' .
+'\x{8912}\x{8913}\x{891D}\x{891E}\x{8925}\x{892A}\x{892B}\x{8936}\x{8938}' .
+'\x{893B}\x{8941}\x{8943}\x{8944}\x{894C}\x{894D}\x{8956}\x{895E}\x{895F}' .
+'\x{8960}\x{8964}\x{8966}\x{896A}\x{896D}\x{896F}\x{8972}\x{8974}\x{8977}' .
+'\x{897E}\x{897F}\x{8981}\x{8983}\x{8986}\x{8987}\x{8988}\x{898A}\x{898B}' .
+'\x{898F}\x{8993}\x{8996}\x{8997}\x{8998}\x{899A}\x{89A1}\x{89A6}\x{89A7}' .
+'\x{89A9}\x{89AA}\x{89AC}\x{89AF}\x{89B2}\x{89B3}\x{89BA}\x{89BD}\x{89BF}' .
+'\x{89C0}\x{89D2}\x{89DA}\x{89DC}\x{89DD}\x{89E3}\x{89E6}\x{89E7}\x{89F4}' .
+'\x{89F8}\x{8A00}\x{8A02}\x{8A03}\x{8A08}\x{8A0A}\x{8A0C}\x{8A0E}\x{8A10}' .
+'\x{8A13}\x{8A16}\x{8A17}\x{8A18}\x{8A1B}\x{8A1D}\x{8A1F}\x{8A23}\x{8A25}' .
+'\x{8A2A}\x{8A2D}\x{8A31}\x{8A33}\x{8A34}\x{8A36}\x{8A3A}\x{8A3B}\x{8A3C}' .
+'\x{8A41}\x{8A46}\x{8A48}\x{8A50}\x{8A51}\x{8A52}\x{8A54}\x{8A55}\x{8A5B}' .
+'\x{8A5E}\x{8A60}\x{8A62}\x{8A63}\x{8A66}\x{8A69}\x{8A6B}\x{8A6C}\x{8A6D}' .
+'\x{8A6E}\x{8A70}\x{8A71}\x{8A72}\x{8A73}\x{8A7C}\x{8A82}\x{8A84}\x{8A85}' .
+'\x{8A87}\x{8A89}\x{8A8C}\x{8A8D}\x{8A91}\x{8A93}\x{8A95}\x{8A98}\x{8A9A}' .
+'\x{8A9E}\x{8AA0}\x{8AA1}\x{8AA3}\x{8AA4}\x{8AA5}\x{8AA6}\x{8AA8}\x{8AAC}' .
+'\x{8AAD}\x{8AB0}\x{8AB2}\x{8AB9}\x{8ABC}\x{8ABF}\x{8AC2}\x{8AC4}\x{8AC7}' .
+'\x{8ACB}\x{8ACC}\x{8ACD}\x{8ACF}\x{8AD2}\x{8AD6}\x{8ADA}\x{8ADB}\x{8ADC}' .
+'\x{8ADE}\x{8AE0}\x{8AE1}\x{8AE2}\x{8AE4}\x{8AE6}\x{8AE7}\x{8AEB}\x{8AED}' .
+'\x{8AEE}\x{8AF1}\x{8AF3}\x{8AF7}\x{8AF8}\x{8AFA}\x{8AFE}\x{8B00}\x{8B01}' .
+'\x{8B02}\x{8B04}\x{8B07}\x{8B0C}\x{8B0E}\x{8B10}\x{8B14}\x{8B16}\x{8B17}' .
+'\x{8B19}\x{8B1A}\x{8B1B}\x{8B1D}\x{8B20}\x{8B21}\x{8B26}\x{8B28}\x{8B2B}' .
+'\x{8B2C}\x{8B33}\x{8B39}\x{8B3E}\x{8B41}\x{8B49}\x{8B4C}\x{8B4E}\x{8B4F}' .
+'\x{8B56}\x{8B58}\x{8B5A}\x{8B5B}\x{8B5C}\x{8B5F}\x{8B66}\x{8B6B}\x{8B6C}' .
+'\x{8B6F}\x{8B70}\x{8B71}\x{8B72}\x{8B74}\x{8B77}\x{8B7D}\x{8B80}\x{8B83}' .
+'\x{8B8A}\x{8B8C}\x{8B8E}\x{8B90}\x{8B92}\x{8B93}\x{8B96}\x{8B99}\x{8B9A}' .
+'\x{8C37}\x{8C3A}\x{8C3F}\x{8C41}\x{8C46}\x{8C48}\x{8C4A}\x{8C4C}\x{8C4E}' .
+'\x{8C50}\x{8C55}\x{8C5A}\x{8C61}\x{8C62}\x{8C6A}\x{8C6B}\x{8C6C}\x{8C78}' .
+'\x{8C79}\x{8C7A}\x{8C7C}\x{8C82}\x{8C85}\x{8C89}\x{8C8A}\x{8C8C}\x{8C8D}' .
+'\x{8C8E}\x{8C94}\x{8C98}\x{8C9D}\x{8C9E}\x{8CA0}\x{8CA1}\x{8CA2}\x{8CA7}' .
+'\x{8CA8}\x{8CA9}\x{8CAA}\x{8CAB}\x{8CAC}\x{8CAD}\x{8CAE}\x{8CAF}\x{8CB0}' .
+'\x{8CB2}\x{8CB3}\x{8CB4}\x{8CB6}\x{8CB7}\x{8CB8}\x{8CBB}\x{8CBC}\x{8CBD}' .
+'\x{8CBF}\x{8CC0}\x{8CC1}\x{8CC2}\x{8CC3}\x{8CC4}\x{8CC7}\x{8CC8}\x{8CCA}' .
+'\x{8CCD}\x{8CCE}\x{8CD1}\x{8CD3}\x{8CDA}\x{8CDB}\x{8CDC}\x{8CDE}\x{8CE0}' .
+'\x{8CE2}\x{8CE3}\x{8CE4}\x{8CE6}\x{8CEA}\x{8CED}\x{8CFA}\x{8CFB}\x{8CFC}' .
+'\x{8CFD}\x{8D04}\x{8D05}\x{8D07}\x{8D08}\x{8D0A}\x{8D0B}\x{8D0D}\x{8D0F}' .
+'\x{8D10}\x{8D13}\x{8D14}\x{8D16}\x{8D64}\x{8D66}\x{8D67}\x{8D6B}\x{8D6D}' .
+'\x{8D70}\x{8D71}\x{8D73}\x{8D74}\x{8D77}\x{8D81}\x{8D85}\x{8D8A}\x{8D99}' .
+'\x{8DA3}\x{8DA8}\x{8DB3}\x{8DBA}\x{8DBE}\x{8DC2}\x{8DCB}\x{8DCC}\x{8DCF}' .
+'\x{8DD6}\x{8DDA}\x{8DDB}\x{8DDD}\x{8DDF}\x{8DE1}\x{8DE3}\x{8DE8}\x{8DEA}' .
+'\x{8DEB}\x{8DEF}\x{8DF3}\x{8DF5}\x{8DFC}\x{8DFF}\x{8E08}\x{8E09}\x{8E0A}' .
+'\x{8E0F}\x{8E10}\x{8E1D}\x{8E1E}\x{8E1F}\x{8E2A}\x{8E30}\x{8E34}\x{8E35}' .
+'\x{8E42}\x{8E44}\x{8E47}\x{8E48}\x{8E49}\x{8E4A}\x{8E4C}\x{8E50}\x{8E55}' .
+'\x{8E59}\x{8E5F}\x{8E60}\x{8E63}\x{8E64}\x{8E72}\x{8E74}\x{8E76}\x{8E7C}' .
+'\x{8E81}\x{8E84}\x{8E85}\x{8E87}\x{8E8A}\x{8E8B}\x{8E8D}\x{8E91}\x{8E93}' .
+'\x{8E94}\x{8E99}\x{8EA1}\x{8EAA}\x{8EAB}\x{8EAC}\x{8EAF}\x{8EB0}\x{8EB1}' .
+'\x{8EBE}\x{8EC5}\x{8EC6}\x{8EC8}\x{8ECA}\x{8ECB}\x{8ECC}\x{8ECD}\x{8ED2}' .
+'\x{8EDB}\x{8EDF}\x{8EE2}\x{8EE3}\x{8EEB}\x{8EF8}\x{8EFB}\x{8EFC}\x{8EFD}' .
+'\x{8EFE}\x{8F03}\x{8F05}\x{8F09}\x{8F0A}\x{8F0C}\x{8F12}\x{8F13}\x{8F14}' .
+'\x{8F15}\x{8F19}\x{8F1B}\x{8F1C}\x{8F1D}\x{8F1F}\x{8F26}\x{8F29}\x{8F2A}' .
+'\x{8F2F}\x{8F33}\x{8F38}\x{8F39}\x{8F3B}\x{8F3E}\x{8F3F}\x{8F42}\x{8F44}' .
+'\x{8F45}\x{8F46}\x{8F49}\x{8F4C}\x{8F4D}\x{8F4E}\x{8F57}\x{8F5C}\x{8F5F}' .
+'\x{8F61}\x{8F62}\x{8F63}\x{8F64}\x{8F9B}\x{8F9C}\x{8F9E}\x{8F9F}\x{8FA3}' .
+'\x{8FA7}\x{8FA8}\x{8FAD}\x{8FAE}\x{8FAF}\x{8FB0}\x{8FB1}\x{8FB2}\x{8FB7}' .
+'\x{8FBA}\x{8FBB}\x{8FBC}\x{8FBF}\x{8FC2}\x{8FC4}\x{8FC5}\x{8FCE}\x{8FD1}' .
+'\x{8FD4}\x{8FDA}\x{8FE2}\x{8FE5}\x{8FE6}\x{8FE9}\x{8FEA}\x{8FEB}\x{8FED}' .
+'\x{8FEF}\x{8FF0}\x{8FF4}\x{8FF7}\x{8FF8}\x{8FF9}\x{8FFA}\x{8FFD}\x{9000}' .
+'\x{9001}\x{9003}\x{9005}\x{9006}\x{900B}\x{900D}\x{900E}\x{900F}\x{9010}' .
+'\x{9011}\x{9013}\x{9014}\x{9015}\x{9016}\x{9017}\x{9019}\x{901A}\x{901D}' .
+'\x{901E}\x{901F}\x{9020}\x{9021}\x{9022}\x{9023}\x{9027}\x{902E}\x{9031}' .
+'\x{9032}\x{9035}\x{9036}\x{9038}\x{9039}\x{903C}\x{903E}\x{9041}\x{9042}' .
+'\x{9045}\x{9047}\x{9049}\x{904A}\x{904B}\x{904D}\x{904E}\x{904F}\x{9050}' .
+'\x{9051}\x{9052}\x{9053}\x{9054}\x{9055}\x{9056}\x{9058}\x{9059}\x{905C}' .
+'\x{905E}\x{9060}\x{9061}\x{9063}\x{9065}\x{9068}\x{9069}\x{906D}\x{906E}' .
+'\x{906F}\x{9072}\x{9075}\x{9076}\x{9077}\x{9078}\x{907A}\x{907C}\x{907D}' .
+'\x{907F}\x{9080}\x{9081}\x{9082}\x{9083}\x{9084}\x{9087}\x{9089}\x{908A}' .
+'\x{908F}\x{9091}\x{90A3}\x{90A6}\x{90A8}\x{90AA}\x{90AF}\x{90B1}\x{90B5}' .
+'\x{90B8}\x{90C1}\x{90CA}\x{90CE}\x{90DB}\x{90E1}\x{90E2}\x{90E4}\x{90E8}' .
+'\x{90ED}\x{90F5}\x{90F7}\x{90FD}\x{9102}\x{9112}\x{9119}\x{912D}\x{9130}' .
+'\x{9132}\x{9149}\x{914A}\x{914B}\x{914C}\x{914D}\x{914E}\x{9152}\x{9154}' .
+'\x{9156}\x{9158}\x{9162}\x{9163}\x{9165}\x{9169}\x{916A}\x{916C}\x{9172}' .
+'\x{9173}\x{9175}\x{9177}\x{9178}\x{9182}\x{9187}\x{9189}\x{918B}\x{918D}' .
+'\x{9190}\x{9192}\x{9197}\x{919C}\x{91A2}\x{91A4}\x{91AA}\x{91AB}\x{91AF}' .
+'\x{91B4}\x{91B5}\x{91B8}\x{91BA}\x{91C0}\x{91C1}\x{91C6}\x{91C7}\x{91C8}' .
+'\x{91C9}\x{91CB}\x{91CC}\x{91CD}\x{91CE}\x{91CF}\x{91D0}\x{91D1}\x{91D6}' .
+'\x{91D8}\x{91DB}\x{91DC}\x{91DD}\x{91DF}\x{91E1}\x{91E3}\x{91E6}\x{91E7}' .
+'\x{91F5}\x{91F6}\x{91FC}\x{91FF}\x{920D}\x{920E}\x{9211}\x{9214}\x{9215}' .
+'\x{921E}\x{9229}\x{922C}\x{9234}\x{9237}\x{923F}\x{9244}\x{9245}\x{9248}' .
+'\x{9249}\x{924B}\x{9250}\x{9257}\x{925A}\x{925B}\x{925E}\x{9262}\x{9264}' .
+'\x{9266}\x{9271}\x{927E}\x{9280}\x{9283}\x{9285}\x{9291}\x{9293}\x{9295}' .
+'\x{9296}\x{9298}\x{929A}\x{929B}\x{929C}\x{92AD}\x{92B7}\x{92B9}\x{92CF}' .
+'\x{92D2}\x{92E4}\x{92E9}\x{92EA}\x{92ED}\x{92F2}\x{92F3}\x{92F8}\x{92FA}' .
+'\x{92FC}\x{9306}\x{930F}\x{9310}\x{9318}\x{9319}\x{931A}\x{9320}\x{9322}' .
+'\x{9323}\x{9326}\x{9328}\x{932B}\x{932C}\x{932E}\x{932F}\x{9332}\x{9335}' .
+'\x{933A}\x{933B}\x{9344}\x{934B}\x{934D}\x{9354}\x{9356}\x{935B}\x{935C}' .
+'\x{9360}\x{936C}\x{936E}\x{9375}\x{937C}\x{937E}\x{938C}\x{9394}\x{9396}' .
+'\x{9397}\x{939A}\x{93A7}\x{93AC}\x{93AD}\x{93AE}\x{93B0}\x{93B9}\x{93C3}' .
+'\x{93C8}\x{93D0}\x{93D1}\x{93D6}\x{93D7}\x{93D8}\x{93DD}\x{93E1}\x{93E4}' .
+'\x{93E5}\x{93E8}\x{9403}\x{9407}\x{9410}\x{9413}\x{9414}\x{9418}\x{9419}' .
+'\x{941A}\x{9421}\x{942B}\x{9435}\x{9436}\x{9438}\x{943A}\x{9441}\x{9444}' .
+'\x{9451}\x{9452}\x{9453}\x{945A}\x{945B}\x{945E}\x{9460}\x{9462}\x{946A}' .
+'\x{9470}\x{9475}\x{9477}\x{947C}\x{947D}\x{947E}\x{947F}\x{9481}\x{9577}' .
+'\x{9580}\x{9582}\x{9583}\x{9587}\x{9589}\x{958A}\x{958B}\x{958F}\x{9591}' .
+'\x{9593}\x{9594}\x{9596}\x{9598}\x{9599}\x{95A0}\x{95A2}\x{95A3}\x{95A4}' .
+'\x{95A5}\x{95A7}\x{95A8}\x{95AD}\x{95B2}\x{95B9}\x{95BB}\x{95BC}\x{95BE}' .
+'\x{95C3}\x{95C7}\x{95CA}\x{95CC}\x{95CD}\x{95D4}\x{95D5}\x{95D6}\x{95D8}' .
+'\x{95DC}\x{95E1}\x{95E2}\x{95E5}\x{961C}\x{9621}\x{9628}\x{962A}\x{962E}' .
+'\x{962F}\x{9632}\x{963B}\x{963F}\x{9640}\x{9642}\x{9644}\x{964B}\x{964C}' .
+'\x{964D}\x{964F}\x{9650}\x{965B}\x{965C}\x{965D}\x{965E}\x{965F}\x{9662}' .
+'\x{9663}\x{9664}\x{9665}\x{9666}\x{966A}\x{966C}\x{9670}\x{9672}\x{9673}' .
+'\x{9675}\x{9676}\x{9677}\x{9678}\x{967A}\x{967D}\x{9685}\x{9686}\x{9688}' .
+'\x{968A}\x{968B}\x{968D}\x{968E}\x{968F}\x{9694}\x{9695}\x{9697}\x{9698}' .
+'\x{9699}\x{969B}\x{969C}\x{96A0}\x{96A3}\x{96A7}\x{96A8}\x{96AA}\x{96B0}' .
+'\x{96B1}\x{96B2}\x{96B4}\x{96B6}\x{96B7}\x{96B8}\x{96B9}\x{96BB}\x{96BC}' .
+'\x{96C0}\x{96C1}\x{96C4}\x{96C5}\x{96C6}\x{96C7}\x{96C9}\x{96CB}\x{96CC}' .
+'\x{96CD}\x{96CE}\x{96D1}\x{96D5}\x{96D6}\x{96D9}\x{96DB}\x{96DC}\x{96E2}' .
+'\x{96E3}\x{96E8}\x{96EA}\x{96EB}\x{96F0}\x{96F2}\x{96F6}\x{96F7}\x{96F9}' .
+'\x{96FB}\x{9700}\x{9704}\x{9706}\x{9707}\x{9708}\x{970A}\x{970D}\x{970E}' .
+'\x{970F}\x{9711}\x{9713}\x{9716}\x{9719}\x{971C}\x{971E}\x{9724}\x{9727}' .
+'\x{972A}\x{9730}\x{9732}\x{9738}\x{9739}\x{973D}\x{973E}\x{9742}\x{9744}' .
+'\x{9746}\x{9748}\x{9749}\x{9752}\x{9756}\x{9759}\x{975C}\x{975E}\x{9760}' .
+'\x{9761}\x{9762}\x{9764}\x{9766}\x{9768}\x{9769}\x{976B}\x{976D}\x{9771}' .
+'\x{9774}\x{9779}\x{977A}\x{977C}\x{9781}\x{9784}\x{9785}\x{9786}\x{978B}' .
+'\x{978D}\x{978F}\x{9790}\x{9798}\x{979C}\x{97A0}\x{97A3}\x{97A6}\x{97A8}' .
+'\x{97AB}\x{97AD}\x{97B3}\x{97B4}\x{97C3}\x{97C6}\x{97C8}\x{97CB}\x{97D3}' .
+'\x{97DC}\x{97ED}\x{97EE}\x{97F2}\x{97F3}\x{97F5}\x{97F6}\x{97FB}\x{97FF}' .
+'\x{9801}\x{9802}\x{9803}\x{9805}\x{9806}\x{9808}\x{980C}\x{980F}\x{9810}' .
+'\x{9811}\x{9812}\x{9813}\x{9817}\x{9818}\x{981A}\x{9821}\x{9824}\x{982C}' .
+'\x{982D}\x{9834}\x{9837}\x{9838}\x{983B}\x{983C}\x{983D}\x{9846}\x{984B}' .
+'\x{984C}\x{984D}\x{984E}\x{984F}\x{9854}\x{9855}\x{9858}\x{985B}\x{985E}' .
+'\x{9867}\x{986B}\x{986F}\x{9870}\x{9871}\x{9873}\x{9874}\x{98A8}\x{98AA}' .
+'\x{98AF}\x{98B1}\x{98B6}\x{98C3}\x{98C4}\x{98C6}\x{98DB}\x{98DC}\x{98DF}' .
+'\x{98E2}\x{98E9}\x{98EB}\x{98ED}\x{98EE}\x{98EF}\x{98F2}\x{98F4}\x{98FC}' .
+'\x{98FD}\x{98FE}\x{9903}\x{9905}\x{9909}\x{990A}\x{990C}\x{9910}\x{9912}' .
+'\x{9913}\x{9914}\x{9918}\x{991D}\x{991E}\x{9920}\x{9921}\x{9924}\x{9928}' .
+'\x{992C}\x{992E}\x{993D}\x{993E}\x{9942}\x{9945}\x{9949}\x{994B}\x{994C}' .
+'\x{9950}\x{9951}\x{9952}\x{9955}\x{9957}\x{9996}\x{9997}\x{9998}\x{9999}' .
+'\x{99A5}\x{99A8}\x{99AC}\x{99AD}\x{99AE}\x{99B3}\x{99B4}\x{99BC}\x{99C1}' .
+'\x{99C4}\x{99C5}\x{99C6}\x{99C8}\x{99D0}\x{99D1}\x{99D2}\x{99D5}\x{99D8}' .
+'\x{99DB}\x{99DD}\x{99DF}\x{99E2}\x{99ED}\x{99EE}\x{99F1}\x{99F2}\x{99F8}' .
+'\x{99FB}\x{99FF}\x{9A01}\x{9A05}\x{9A0E}\x{9A0F}\x{9A12}\x{9A13}\x{9A19}' .
+'\x{9A28}\x{9A2B}\x{9A30}\x{9A37}\x{9A3E}\x{9A40}\x{9A42}\x{9A43}\x{9A45}' .
+'\x{9A4D}\x{9A55}\x{9A57}\x{9A5A}\x{9A5B}\x{9A5F}\x{9A62}\x{9A64}\x{9A65}' .
+'\x{9A69}\x{9A6A}\x{9A6B}\x{9AA8}\x{9AAD}\x{9AB0}\x{9AB8}\x{9ABC}\x{9AC0}' .
+'\x{9AC4}\x{9ACF}\x{9AD1}\x{9AD3}\x{9AD4}\x{9AD8}\x{9ADE}\x{9ADF}\x{9AE2}' .
+'\x{9AE3}\x{9AE6}\x{9AEA}\x{9AEB}\x{9AED}\x{9AEE}\x{9AEF}\x{9AF1}\x{9AF4}' .
+'\x{9AF7}\x{9AFB}\x{9B06}\x{9B18}\x{9B1A}\x{9B1F}\x{9B22}\x{9B23}\x{9B25}' .
+'\x{9B27}\x{9B28}\x{9B29}\x{9B2A}\x{9B2E}\x{9B2F}\x{9B31}\x{9B32}\x{9B3B}' .
+'\x{9B3C}\x{9B41}\x{9B42}\x{9B43}\x{9B44}\x{9B45}\x{9B4D}\x{9B4E}\x{9B4F}' .
+'\x{9B51}\x{9B54}\x{9B58}\x{9B5A}\x{9B6F}\x{9B74}\x{9B83}\x{9B8E}\x{9B91}' .
+'\x{9B92}\x{9B93}\x{9B96}\x{9B97}\x{9B9F}\x{9BA0}\x{9BA8}\x{9BAA}\x{9BAB}' .
+'\x{9BAD}\x{9BAE}\x{9BB4}\x{9BB9}\x{9BC0}\x{9BC6}\x{9BC9}\x{9BCA}\x{9BCF}' .
+'\x{9BD1}\x{9BD2}\x{9BD4}\x{9BD6}\x{9BDB}\x{9BE1}\x{9BE2}\x{9BE3}\x{9BE4}' .
+'\x{9BE8}\x{9BF0}\x{9BF1}\x{9BF2}\x{9BF5}\x{9C04}\x{9C06}\x{9C08}\x{9C09}' .
+'\x{9C0A}\x{9C0C}\x{9C0D}\x{9C10}\x{9C12}\x{9C13}\x{9C14}\x{9C15}\x{9C1B}' .
+'\x{9C21}\x{9C24}\x{9C25}\x{9C2D}\x{9C2E}\x{9C2F}\x{9C30}\x{9C32}\x{9C39}' .
+'\x{9C3A}\x{9C3B}\x{9C3E}\x{9C46}\x{9C47}\x{9C48}\x{9C52}\x{9C57}\x{9C5A}' .
+'\x{9C60}\x{9C67}\x{9C76}\x{9C78}\x{9CE5}\x{9CE7}\x{9CE9}\x{9CEB}\x{9CEC}' .
+'\x{9CF0}\x{9CF3}\x{9CF4}\x{9CF6}\x{9D03}\x{9D06}\x{9D07}\x{9D08}\x{9D09}' .
+'\x{9D0E}\x{9D12}\x{9D15}\x{9D1B}\x{9D1F}\x{9D23}\x{9D26}\x{9D28}\x{9D2A}' .
+'\x{9D2B}\x{9D2C}\x{9D3B}\x{9D3E}\x{9D3F}\x{9D41}\x{9D44}\x{9D46}\x{9D48}' .
+'\x{9D50}\x{9D51}\x{9D59}\x{9D5C}\x{9D5D}\x{9D5E}\x{9D60}\x{9D61}\x{9D64}' .
+'\x{9D6C}\x{9D6F}\x{9D72}\x{9D7A}\x{9D87}\x{9D89}\x{9D8F}\x{9D9A}\x{9DA4}' .
+'\x{9DA9}\x{9DAB}\x{9DAF}\x{9DB2}\x{9DB4}\x{9DB8}\x{9DBA}\x{9DBB}\x{9DC1}' .
+'\x{9DC2}\x{9DC4}\x{9DC6}\x{9DCF}\x{9DD3}\x{9DD9}\x{9DE6}\x{9DED}\x{9DEF}' .
+'\x{9DF2}\x{9DF8}\x{9DF9}\x{9DFA}\x{9DFD}\x{9E1A}\x{9E1B}\x{9E1E}\x{9E75}' .
+'\x{9E78}\x{9E79}\x{9E7D}\x{9E7F}\x{9E81}\x{9E88}\x{9E8B}\x{9E8C}\x{9E91}' .
+'\x{9E92}\x{9E93}\x{9E95}\x{9E97}\x{9E9D}\x{9E9F}\x{9EA5}\x{9EA6}\x{9EA9}' .
+'\x{9EAA}\x{9EAD}\x{9EB8}\x{9EB9}\x{9EBA}\x{9EBB}\x{9EBC}\x{9EBE}\x{9EBF}' .
+'\x{9EC4}\x{9ECC}\x{9ECD}\x{9ECE}\x{9ECF}\x{9ED0}\x{9ED2}\x{9ED4}\x{9ED8}' .
+'\x{9ED9}\x{9EDB}\x{9EDC}\x{9EDD}\x{9EDE}\x{9EE0}\x{9EE5}\x{9EE8}\x{9EEF}' .
+'\x{9EF4}\x{9EF6}\x{9EF7}\x{9EF9}\x{9EFB}\x{9EFC}\x{9EFD}\x{9F07}\x{9F08}' .
+'\x{9F0E}\x{9F13}\x{9F15}\x{9F20}\x{9F21}\x{9F2C}\x{9F3B}\x{9F3E}\x{9F4A}' .
+'\x{9F4B}\x{9F4E}\x{9F4F}\x{9F52}\x{9F54}\x{9F5F}\x{9F60}\x{9F61}\x{9F62}' .
+'\x{9F63}\x{9F66}\x{9F67}\x{9F6A}\x{9F6C}\x{9F72}\x{9F76}\x{9F77}\x{9F8D}' .
+'\x{9F95}\x{9F9C}\x{9F9D}\x{9FA0}]{1,15}$/iu',
+ 12 => '/^[\x{002d}0-9a-z\x{3447}\x{3473}\x{359E}\x{360E}\x{361A}\x{3918}\x{396E}\x{39CF}\x{39D0}' .
+'\x{39DF}\x{3A73}\x{3B4E}\x{3C6E}\x{3CE0}\x{4056}\x{415F}\x{4337}\x{43AC}' .
+'\x{43B1}\x{43DD}\x{44D6}\x{464C}\x{4661}\x{4723}\x{4729}\x{477C}\x{478D}' .
+'\x{4947}\x{497A}\x{497D}\x{4982}\x{4983}\x{4985}\x{4986}\x{499B}\x{499F}' .
+'\x{49B6}\x{49B7}\x{4C77}\x{4C9F}\x{4CA0}\x{4CA1}\x{4CA2}\x{4CA3}\x{4D13}' .
+'\x{4D14}\x{4D15}\x{4D16}\x{4D17}\x{4D18}\x{4D19}\x{4DAE}\x{4E00}\x{4E01}' .
+'\x{4E02}\x{4E03}\x{4E04}\x{4E05}\x{4E06}\x{4E07}\x{4E08}\x{4E09}\x{4E0A}' .
+'\x{4E0B}\x{4E0C}\x{4E0D}\x{4E0E}\x{4E0F}\x{4E10}\x{4E11}\x{4E13}\x{4E14}' .
+'\x{4E15}\x{4E16}\x{4E17}\x{4E18}\x{4E19}\x{4E1A}\x{4E1B}\x{4E1C}\x{4E1D}' .
+'\x{4E1E}\x{4E1F}\x{4E20}\x{4E21}\x{4E22}\x{4E23}\x{4E24}\x{4E25}\x{4E26}' .
+'\x{4E27}\x{4E28}\x{4E2A}\x{4E2B}\x{4E2C}\x{4E2D}\x{4E2E}\x{4E2F}\x{4E30}' .
+'\x{4E31}\x{4E32}\x{4E33}\x{4E34}\x{4E35}\x{4E36}\x{4E37}\x{4E38}\x{4E39}' .
+'\x{4E3A}\x{4E3B}\x{4E3C}\x{4E3D}\x{4E3E}\x{4E3F}\x{4E40}\x{4E41}\x{4E42}' .
+'\x{4E43}\x{4E44}\x{4E45}\x{4E46}\x{4E47}\x{4E48}\x{4E49}\x{4E4A}\x{4E4B}' .
+'\x{4E4C}\x{4E4D}\x{4E4E}\x{4E4F}\x{4E50}\x{4E51}\x{4E52}\x{4E53}\x{4E54}' .
+'\x{4E56}\x{4E57}\x{4E58}\x{4E59}\x{4E5A}\x{4E5B}\x{4E5C}\x{4E5D}\x{4E5E}' .
+'\x{4E5F}\x{4E60}\x{4E61}\x{4E62}\x{4E63}\x{4E64}\x{4E65}\x{4E66}\x{4E67}' .
+'\x{4E69}\x{4E6A}\x{4E6B}\x{4E6C}\x{4E6D}\x{4E6E}\x{4E6F}\x{4E70}\x{4E71}' .
+'\x{4E72}\x{4E73}\x{4E74}\x{4E75}\x{4E76}\x{4E77}\x{4E78}\x{4E7A}\x{4E7B}' .
+'\x{4E7C}\x{4E7D}\x{4E7E}\x{4E7F}\x{4E80}\x{4E81}\x{4E82}\x{4E83}\x{4E84}' .
+'\x{4E85}\x{4E86}\x{4E87}\x{4E88}\x{4E89}\x{4E8B}\x{4E8C}\x{4E8D}\x{4E8E}' .
+'\x{4E8F}\x{4E90}\x{4E91}\x{4E92}\x{4E93}\x{4E94}\x{4E95}\x{4E97}\x{4E98}' .
+'\x{4E99}\x{4E9A}\x{4E9B}\x{4E9C}\x{4E9D}\x{4E9E}\x{4E9F}\x{4EA0}\x{4EA1}' .
+'\x{4EA2}\x{4EA4}\x{4EA5}\x{4EA6}\x{4EA7}\x{4EA8}\x{4EA9}\x{4EAA}\x{4EAB}' .
+'\x{4EAC}\x{4EAD}\x{4EAE}\x{4EAF}\x{4EB0}\x{4EB1}\x{4EB2}\x{4EB3}\x{4EB4}' .
+'\x{4EB5}\x{4EB6}\x{4EB7}\x{4EB8}\x{4EB9}\x{4EBA}\x{4EBB}\x{4EBD}\x{4EBE}' .
+'\x{4EBF}\x{4EC0}\x{4EC1}\x{4EC2}\x{4EC3}\x{4EC4}\x{4EC5}\x{4EC6}\x{4EC7}' .
+'\x{4EC8}\x{4EC9}\x{4ECA}\x{4ECB}\x{4ECD}\x{4ECE}\x{4ECF}\x{4ED0}\x{4ED1}' .
+'\x{4ED2}\x{4ED3}\x{4ED4}\x{4ED5}\x{4ED6}\x{4ED7}\x{4ED8}\x{4ED9}\x{4EDA}' .
+'\x{4EDB}\x{4EDC}\x{4EDD}\x{4EDE}\x{4EDF}\x{4EE0}\x{4EE1}\x{4EE2}\x{4EE3}' .
+'\x{4EE4}\x{4EE5}\x{4EE6}\x{4EE8}\x{4EE9}\x{4EEA}\x{4EEB}\x{4EEC}\x{4EEF}' .
+'\x{4EF0}\x{4EF1}\x{4EF2}\x{4EF3}\x{4EF4}\x{4EF5}\x{4EF6}\x{4EF7}\x{4EFB}' .
+'\x{4EFD}\x{4EFF}\x{4F00}\x{4F01}\x{4F02}\x{4F03}\x{4F04}\x{4F05}\x{4F06}' .
+'\x{4F08}\x{4F09}\x{4F0A}\x{4F0B}\x{4F0C}\x{4F0D}\x{4F0E}\x{4F0F}\x{4F10}' .
+'\x{4F11}\x{4F12}\x{4F13}\x{4F14}\x{4F15}\x{4F17}\x{4F18}\x{4F19}\x{4F1A}' .
+'\x{4F1B}\x{4F1C}\x{4F1D}\x{4F1E}\x{4F1F}\x{4F20}\x{4F21}\x{4F22}\x{4F23}' .
+'\x{4F24}\x{4F25}\x{4F26}\x{4F27}\x{4F29}\x{4F2A}\x{4F2B}\x{4F2C}\x{4F2D}' .
+'\x{4F2E}\x{4F2F}\x{4F30}\x{4F32}\x{4F33}\x{4F34}\x{4F36}\x{4F38}\x{4F39}' .
+'\x{4F3A}\x{4F3B}\x{4F3C}\x{4F3D}\x{4F3E}\x{4F3F}\x{4F41}\x{4F42}\x{4F43}' .
+'\x{4F45}\x{4F46}\x{4F47}\x{4F48}\x{4F49}\x{4F4A}\x{4F4B}\x{4F4C}\x{4F4D}' .
+'\x{4F4E}\x{4F4F}\x{4F50}\x{4F51}\x{4F52}\x{4F53}\x{4F54}\x{4F55}\x{4F56}' .
+'\x{4F57}\x{4F58}\x{4F59}\x{4F5A}\x{4F5B}\x{4F5C}\x{4F5D}\x{4F5E}\x{4F5F}' .
+'\x{4F60}\x{4F61}\x{4F62}\x{4F63}\x{4F64}\x{4F65}\x{4F66}\x{4F67}\x{4F68}' .
+'\x{4F69}\x{4F6A}\x{4F6B}\x{4F6C}\x{4F6D}\x{4F6E}\x{4F6F}\x{4F70}\x{4F72}' .
+'\x{4F73}\x{4F74}\x{4F75}\x{4F76}\x{4F77}\x{4F78}\x{4F79}\x{4F7A}\x{4F7B}' .
+'\x{4F7C}\x{4F7D}\x{4F7E}\x{4F7F}\x{4F80}\x{4F81}\x{4F82}\x{4F83}\x{4F84}' .
+'\x{4F85}\x{4F86}\x{4F87}\x{4F88}\x{4F89}\x{4F8A}\x{4F8B}\x{4F8D}\x{4F8F}' .
+'\x{4F90}\x{4F91}\x{4F92}\x{4F93}\x{4F94}\x{4F95}\x{4F96}\x{4F97}\x{4F98}' .
+'\x{4F99}\x{4F9A}\x{4F9B}\x{4F9C}\x{4F9D}\x{4F9E}\x{4F9F}\x{4FA0}\x{4FA1}' .
+'\x{4FA3}\x{4FA4}\x{4FA5}\x{4FA6}\x{4FA7}\x{4FA8}\x{4FA9}\x{4FAA}\x{4FAB}' .
+'\x{4FAC}\x{4FAE}\x{4FAF}\x{4FB0}\x{4FB1}\x{4FB2}\x{4FB3}\x{4FB4}\x{4FB5}' .
+'\x{4FB6}\x{4FB7}\x{4FB8}\x{4FB9}\x{4FBA}\x{4FBB}\x{4FBC}\x{4FBE}\x{4FBF}' .
+'\x{4FC0}\x{4FC1}\x{4FC2}\x{4FC3}\x{4FC4}\x{4FC5}\x{4FC7}\x{4FC9}\x{4FCA}' .
+'\x{4FCB}\x{4FCD}\x{4FCE}\x{4FCF}\x{4FD0}\x{4FD1}\x{4FD2}\x{4FD3}\x{4FD4}' .
+'\x{4FD5}\x{4FD6}\x{4FD7}\x{4FD8}\x{4FD9}\x{4FDA}\x{4FDB}\x{4FDC}\x{4FDD}' .
+'\x{4FDE}\x{4FDF}\x{4FE0}\x{4FE1}\x{4FE3}\x{4FE4}\x{4FE5}\x{4FE6}\x{4FE7}' .
+'\x{4FE8}\x{4FE9}\x{4FEA}\x{4FEB}\x{4FEC}\x{4FED}\x{4FEE}\x{4FEF}\x{4FF0}' .
+'\x{4FF1}\x{4FF2}\x{4FF3}\x{4FF4}\x{4FF5}\x{4FF6}\x{4FF7}\x{4FF8}\x{4FF9}' .
+'\x{4FFA}\x{4FFB}\x{4FFE}\x{4FFF}\x{5000}\x{5001}\x{5002}\x{5003}\x{5004}' .
+'\x{5005}\x{5006}\x{5007}\x{5008}\x{5009}\x{500A}\x{500B}\x{500C}\x{500D}' .
+'\x{500E}\x{500F}\x{5011}\x{5012}\x{5013}\x{5014}\x{5015}\x{5016}\x{5017}' .
+'\x{5018}\x{5019}\x{501A}\x{501B}\x{501C}\x{501D}\x{501E}\x{501F}\x{5020}' .
+'\x{5021}\x{5022}\x{5023}\x{5024}\x{5025}\x{5026}\x{5027}\x{5028}\x{5029}' .
+'\x{502A}\x{502B}\x{502C}\x{502D}\x{502E}\x{502F}\x{5030}\x{5031}\x{5032}' .
+'\x{5033}\x{5035}\x{5036}\x{5037}\x{5039}\x{503A}\x{503B}\x{503C}\x{503E}' .
+'\x{503F}\x{5040}\x{5041}\x{5043}\x{5044}\x{5045}\x{5046}\x{5047}\x{5048}' .
+'\x{5049}\x{504A}\x{504B}\x{504C}\x{504D}\x{504E}\x{504F}\x{5051}\x{5053}' .
+'\x{5054}\x{5055}\x{5056}\x{5057}\x{5059}\x{505A}\x{505B}\x{505C}\x{505D}' .
+'\x{505E}\x{505F}\x{5060}\x{5061}\x{5062}\x{5063}\x{5064}\x{5065}\x{5066}' .
+'\x{5067}\x{5068}\x{5069}\x{506A}\x{506B}\x{506C}\x{506D}\x{506E}\x{506F}' .
+'\x{5070}\x{5071}\x{5072}\x{5073}\x{5074}\x{5075}\x{5076}\x{5077}\x{5078}' .
+'\x{5079}\x{507A}\x{507B}\x{507D}\x{507E}\x{507F}\x{5080}\x{5082}\x{5083}' .
+'\x{5084}\x{5085}\x{5086}\x{5087}\x{5088}\x{5089}\x{508A}\x{508B}\x{508C}' .
+'\x{508D}\x{508E}\x{508F}\x{5090}\x{5091}\x{5092}\x{5094}\x{5095}\x{5096}' .
+'\x{5098}\x{5099}\x{509A}\x{509B}\x{509C}\x{509D}\x{509E}\x{50A2}\x{50A3}' .
+'\x{50A4}\x{50A5}\x{50A6}\x{50A7}\x{50A8}\x{50A9}\x{50AA}\x{50AB}\x{50AC}' .
+'\x{50AD}\x{50AE}\x{50AF}\x{50B0}\x{50B1}\x{50B2}\x{50B3}\x{50B4}\x{50B5}' .
+'\x{50B6}\x{50B7}\x{50B8}\x{50BA}\x{50BB}\x{50BC}\x{50BD}\x{50BE}\x{50BF}' .
+'\x{50C0}\x{50C1}\x{50C2}\x{50C4}\x{50C5}\x{50C6}\x{50C7}\x{50C8}\x{50C9}' .
+'\x{50CA}\x{50CB}\x{50CC}\x{50CD}\x{50CE}\x{50CF}\x{50D0}\x{50D1}\x{50D2}' .
+'\x{50D3}\x{50D4}\x{50D5}\x{50D6}\x{50D7}\x{50D9}\x{50DA}\x{50DB}\x{50DC}' .
+'\x{50DD}\x{50DE}\x{50E0}\x{50E3}\x{50E4}\x{50E5}\x{50E6}\x{50E7}\x{50E8}' .
+'\x{50E9}\x{50EA}\x{50EC}\x{50ED}\x{50EE}\x{50EF}\x{50F0}\x{50F1}\x{50F2}' .
+'\x{50F3}\x{50F5}\x{50F6}\x{50F8}\x{50F9}\x{50FA}\x{50FB}\x{50FC}\x{50FD}' .
+'\x{50FE}\x{50FF}\x{5100}\x{5101}\x{5102}\x{5103}\x{5104}\x{5105}\x{5106}' .
+'\x{5107}\x{5108}\x{5109}\x{510A}\x{510B}\x{510C}\x{510D}\x{510E}\x{510F}' .
+'\x{5110}\x{5111}\x{5112}\x{5113}\x{5114}\x{5115}\x{5116}\x{5117}\x{5118}' .
+'\x{5119}\x{511A}\x{511C}\x{511D}\x{511E}\x{511F}\x{5120}\x{5121}\x{5122}' .
+'\x{5123}\x{5124}\x{5125}\x{5126}\x{5127}\x{5129}\x{512A}\x{512C}\x{512D}' .
+'\x{512E}\x{512F}\x{5130}\x{5131}\x{5132}\x{5133}\x{5134}\x{5135}\x{5136}' .
+'\x{5137}\x{5138}\x{5139}\x{513A}\x{513B}\x{513C}\x{513D}\x{513E}\x{513F}' .
+'\x{5140}\x{5141}\x{5143}\x{5144}\x{5145}\x{5146}\x{5147}\x{5148}\x{5149}' .
+'\x{514B}\x{514C}\x{514D}\x{514E}\x{5150}\x{5151}\x{5152}\x{5154}\x{5155}' .
+'\x{5156}\x{5157}\x{5159}\x{515A}\x{515B}\x{515C}\x{515D}\x{515E}\x{515F}' .
+'\x{5161}\x{5162}\x{5163}\x{5165}\x{5166}\x{5167}\x{5168}\x{5169}\x{516A}' .
+'\x{516B}\x{516C}\x{516D}\x{516E}\x{516F}\x{5170}\x{5171}\x{5173}\x{5174}' .
+'\x{5175}\x{5176}\x{5177}\x{5178}\x{5179}\x{517A}\x{517B}\x{517C}\x{517D}' .
+'\x{517F}\x{5180}\x{5181}\x{5182}\x{5185}\x{5186}\x{5187}\x{5188}\x{5189}' .
+'\x{518A}\x{518B}\x{518C}\x{518D}\x{518F}\x{5190}\x{5191}\x{5192}\x{5193}' .
+'\x{5194}\x{5195}\x{5196}\x{5197}\x{5198}\x{5199}\x{519A}\x{519B}\x{519C}' .
+'\x{519D}\x{519E}\x{519F}\x{51A0}\x{51A2}\x{51A4}\x{51A5}\x{51A6}\x{51A7}' .
+'\x{51A8}\x{51AA}\x{51AB}\x{51AC}\x{51AE}\x{51AF}\x{51B0}\x{51B1}\x{51B2}' .
+'\x{51B3}\x{51B5}\x{51B6}\x{51B7}\x{51B9}\x{51BB}\x{51BC}\x{51BD}\x{51BE}' .
+'\x{51BF}\x{51C0}\x{51C1}\x{51C3}\x{51C4}\x{51C5}\x{51C6}\x{51C7}\x{51C8}' .
+'\x{51C9}\x{51CA}\x{51CB}\x{51CC}\x{51CD}\x{51CE}\x{51CF}\x{51D0}\x{51D1}' .
+'\x{51D4}\x{51D5}\x{51D6}\x{51D7}\x{51D8}\x{51D9}\x{51DA}\x{51DB}\x{51DC}' .
+'\x{51DD}\x{51DE}\x{51E0}\x{51E1}\x{51E2}\x{51E3}\x{51E4}\x{51E5}\x{51E7}' .
+'\x{51E8}\x{51E9}\x{51EA}\x{51EB}\x{51ED}\x{51EF}\x{51F0}\x{51F1}\x{51F3}' .
+'\x{51F4}\x{51F5}\x{51F6}\x{51F7}\x{51F8}\x{51F9}\x{51FA}\x{51FB}\x{51FC}' .
+'\x{51FD}\x{51FE}\x{51FF}\x{5200}\x{5201}\x{5202}\x{5203}\x{5204}\x{5205}' .
+'\x{5206}\x{5207}\x{5208}\x{5209}\x{520A}\x{520B}\x{520C}\x{520D}\x{520E}' .
+'\x{520F}\x{5210}\x{5211}\x{5212}\x{5213}\x{5214}\x{5215}\x{5216}\x{5217}' .
+'\x{5218}\x{5219}\x{521A}\x{521B}\x{521C}\x{521D}\x{521E}\x{521F}\x{5220}' .
+'\x{5221}\x{5222}\x{5223}\x{5224}\x{5225}\x{5226}\x{5228}\x{5229}\x{522A}' .
+'\x{522B}\x{522C}\x{522D}\x{522E}\x{522F}\x{5230}\x{5231}\x{5232}\x{5233}' .
+'\x{5234}\x{5235}\x{5236}\x{5237}\x{5238}\x{5239}\x{523A}\x{523B}\x{523C}' .
+'\x{523D}\x{523E}\x{523F}\x{5240}\x{5241}\x{5242}\x{5243}\x{5244}\x{5245}' .
+'\x{5246}\x{5247}\x{5248}\x{5249}\x{524A}\x{524B}\x{524C}\x{524D}\x{524E}' .
+'\x{5250}\x{5251}\x{5252}\x{5254}\x{5255}\x{5256}\x{5257}\x{5258}\x{5259}' .
+'\x{525A}\x{525B}\x{525C}\x{525D}\x{525E}\x{525F}\x{5260}\x{5261}\x{5262}' .
+'\x{5263}\x{5264}\x{5265}\x{5267}\x{5268}\x{5269}\x{526A}\x{526B}\x{526C}' .
+'\x{526D}\x{526E}\x{526F}\x{5270}\x{5272}\x{5273}\x{5274}\x{5275}\x{5276}' .
+'\x{5277}\x{5278}\x{527A}\x{527B}\x{527C}\x{527D}\x{527E}\x{527F}\x{5280}' .
+'\x{5281}\x{5282}\x{5283}\x{5284}\x{5286}\x{5287}\x{5288}\x{5289}\x{528A}' .
+'\x{528B}\x{528C}\x{528D}\x{528F}\x{5290}\x{5291}\x{5292}\x{5293}\x{5294}' .
+'\x{5295}\x{5296}\x{5297}\x{5298}\x{5299}\x{529A}\x{529B}\x{529C}\x{529D}' .
+'\x{529E}\x{529F}\x{52A0}\x{52A1}\x{52A2}\x{52A3}\x{52A5}\x{52A6}\x{52A7}' .
+'\x{52A8}\x{52A9}\x{52AA}\x{52AB}\x{52AC}\x{52AD}\x{52AE}\x{52AF}\x{52B0}' .
+'\x{52B1}\x{52B2}\x{52B3}\x{52B4}\x{52B5}\x{52B6}\x{52B7}\x{52B8}\x{52B9}' .
+'\x{52BA}\x{52BB}\x{52BC}\x{52BD}\x{52BE}\x{52BF}\x{52C0}\x{52C1}\x{52C2}' .
+'\x{52C3}\x{52C6}\x{52C7}\x{52C9}\x{52CA}\x{52CB}\x{52CD}\x{52CF}\x{52D0}' .
+'\x{52D2}\x{52D3}\x{52D5}\x{52D6}\x{52D7}\x{52D8}\x{52D9}\x{52DA}\x{52DB}' .
+'\x{52DC}\x{52DD}\x{52DE}\x{52DF}\x{52E0}\x{52E2}\x{52E3}\x{52E4}\x{52E6}' .
+'\x{52E7}\x{52E8}\x{52E9}\x{52EA}\x{52EB}\x{52EC}\x{52ED}\x{52EF}\x{52F0}' .
+'\x{52F1}\x{52F2}\x{52F3}\x{52F4}\x{52F5}\x{52F6}\x{52F7}\x{52F8}\x{52F9}' .
+'\x{52FA}\x{52FB}\x{52FC}\x{52FD}\x{52FE}\x{52FF}\x{5300}\x{5301}\x{5302}' .
+'\x{5305}\x{5306}\x{5307}\x{5308}\x{5309}\x{530A}\x{530B}\x{530C}\x{530D}' .
+'\x{530E}\x{530F}\x{5310}\x{5311}\x{5312}\x{5313}\x{5314}\x{5315}\x{5316}' .
+'\x{5317}\x{5319}\x{531A}\x{531C}\x{531D}\x{531F}\x{5320}\x{5321}\x{5322}' .
+'\x{5323}\x{5324}\x{5325}\x{5326}\x{5328}\x{532A}\x{532B}\x{532C}\x{532D}' .
+'\x{532E}\x{532F}\x{5330}\x{5331}\x{5333}\x{5334}\x{5337}\x{5339}\x{533A}' .
+'\x{533B}\x{533C}\x{533D}\x{533E}\x{533F}\x{5340}\x{5341}\x{5343}\x{5344}' .
+'\x{5345}\x{5346}\x{5347}\x{5348}\x{5349}\x{534A}\x{534B}\x{534C}\x{534D}' .
+'\x{534E}\x{534F}\x{5350}\x{5351}\x{5352}\x{5353}\x{5354}\x{5355}\x{5356}' .
+'\x{5357}\x{5358}\x{5359}\x{535A}\x{535C}\x{535E}\x{535F}\x{5360}\x{5361}' .
+'\x{5362}\x{5363}\x{5364}\x{5365}\x{5366}\x{5367}\x{5369}\x{536B}\x{536C}' .
+'\x{536E}\x{536F}\x{5370}\x{5371}\x{5372}\x{5373}\x{5374}\x{5375}\x{5376}' .
+'\x{5377}\x{5378}\x{5379}\x{537A}\x{537B}\x{537C}\x{537D}\x{537E}\x{537F}' .
+'\x{5381}\x{5382}\x{5383}\x{5384}\x{5385}\x{5386}\x{5387}\x{5388}\x{5389}' .
+'\x{538A}\x{538B}\x{538C}\x{538D}\x{538E}\x{538F}\x{5390}\x{5391}\x{5392}' .
+'\x{5393}\x{5394}\x{5395}\x{5396}\x{5397}\x{5398}\x{5399}\x{539A}\x{539B}' .
+'\x{539C}\x{539D}\x{539E}\x{539F}\x{53A0}\x{53A2}\x{53A3}\x{53A4}\x{53A5}' .
+'\x{53A6}\x{53A7}\x{53A8}\x{53A9}\x{53AC}\x{53AD}\x{53AE}\x{53B0}\x{53B1}' .
+'\x{53B2}\x{53B3}\x{53B4}\x{53B5}\x{53B6}\x{53B7}\x{53B8}\x{53B9}\x{53BB}' .
+'\x{53BC}\x{53BD}\x{53BE}\x{53BF}\x{53C0}\x{53C1}\x{53C2}\x{53C3}\x{53C4}' .
+'\x{53C6}\x{53C7}\x{53C8}\x{53C9}\x{53CA}\x{53CB}\x{53CC}\x{53CD}\x{53CE}' .
+'\x{53D0}\x{53D1}\x{53D2}\x{53D3}\x{53D4}\x{53D5}\x{53D6}\x{53D7}\x{53D8}' .
+'\x{53D9}\x{53DB}\x{53DC}\x{53DF}\x{53E0}\x{53E1}\x{53E2}\x{53E3}\x{53E4}' .
+'\x{53E5}\x{53E6}\x{53E8}\x{53E9}\x{53EA}\x{53EB}\x{53EC}\x{53ED}\x{53EE}' .
+'\x{53EF}\x{53F0}\x{53F1}\x{53F2}\x{53F3}\x{53F4}\x{53F5}\x{53F6}\x{53F7}' .
+'\x{53F8}\x{53F9}\x{53FA}\x{53FB}\x{53FC}\x{53FD}\x{53FE}\x{5401}\x{5402}' .
+'\x{5403}\x{5404}\x{5405}\x{5406}\x{5407}\x{5408}\x{5409}\x{540A}\x{540B}' .
+'\x{540C}\x{540D}\x{540E}\x{540F}\x{5410}\x{5411}\x{5412}\x{5413}\x{5414}' .
+'\x{5415}\x{5416}\x{5417}\x{5418}\x{5419}\x{541B}\x{541C}\x{541D}\x{541E}' .
+'\x{541F}\x{5420}\x{5421}\x{5423}\x{5424}\x{5425}\x{5426}\x{5427}\x{5428}' .
+'\x{5429}\x{542A}\x{542B}\x{542C}\x{542D}\x{542E}\x{542F}\x{5430}\x{5431}' .
+'\x{5432}\x{5433}\x{5434}\x{5435}\x{5436}\x{5437}\x{5438}\x{5439}\x{543A}' .
+'\x{543B}\x{543C}\x{543D}\x{543E}\x{543F}\x{5440}\x{5441}\x{5442}\x{5443}' .
+'\x{5444}\x{5445}\x{5446}\x{5447}\x{5448}\x{5449}\x{544A}\x{544B}\x{544D}' .
+'\x{544E}\x{544F}\x{5450}\x{5451}\x{5452}\x{5453}\x{5454}\x{5455}\x{5456}' .
+'\x{5457}\x{5458}\x{5459}\x{545A}\x{545B}\x{545C}\x{545E}\x{545F}\x{5460}' .
+'\x{5461}\x{5462}\x{5463}\x{5464}\x{5465}\x{5466}\x{5467}\x{5468}\x{546A}' .
+'\x{546B}\x{546C}\x{546D}\x{546E}\x{546F}\x{5470}\x{5471}\x{5472}\x{5473}' .
+'\x{5474}\x{5475}\x{5476}\x{5477}\x{5478}\x{5479}\x{547A}\x{547B}\x{547C}' .
+'\x{547D}\x{547E}\x{547F}\x{5480}\x{5481}\x{5482}\x{5483}\x{5484}\x{5485}' .
+'\x{5486}\x{5487}\x{5488}\x{5489}\x{548B}\x{548C}\x{548D}\x{548E}\x{548F}' .
+'\x{5490}\x{5491}\x{5492}\x{5493}\x{5494}\x{5495}\x{5496}\x{5497}\x{5498}' .
+'\x{5499}\x{549A}\x{549B}\x{549C}\x{549D}\x{549E}\x{549F}\x{54A0}\x{54A1}' .
+'\x{54A2}\x{54A3}\x{54A4}\x{54A5}\x{54A6}\x{54A7}\x{54A8}\x{54A9}\x{54AA}' .
+'\x{54AB}\x{54AC}\x{54AD}\x{54AE}\x{54AF}\x{54B0}\x{54B1}\x{54B2}\x{54B3}' .
+'\x{54B4}\x{54B6}\x{54B7}\x{54B8}\x{54B9}\x{54BA}\x{54BB}\x{54BC}\x{54BD}' .
+'\x{54BE}\x{54BF}\x{54C0}\x{54C1}\x{54C2}\x{54C3}\x{54C4}\x{54C5}\x{54C6}' .
+'\x{54C7}\x{54C8}\x{54C9}\x{54CA}\x{54CB}\x{54CC}\x{54CD}\x{54CE}\x{54CF}' .
+'\x{54D0}\x{54D1}\x{54D2}\x{54D3}\x{54D4}\x{54D5}\x{54D6}\x{54D7}\x{54D8}' .
+'\x{54D9}\x{54DA}\x{54DB}\x{54DC}\x{54DD}\x{54DE}\x{54DF}\x{54E0}\x{54E1}' .
+'\x{54E2}\x{54E3}\x{54E4}\x{54E5}\x{54E6}\x{54E7}\x{54E8}\x{54E9}\x{54EA}' .
+'\x{54EB}\x{54EC}\x{54ED}\x{54EE}\x{54EF}\x{54F0}\x{54F1}\x{54F2}\x{54F3}' .
+'\x{54F4}\x{54F5}\x{54F7}\x{54F8}\x{54F9}\x{54FA}\x{54FB}\x{54FC}\x{54FD}' .
+'\x{54FE}\x{54FF}\x{5500}\x{5501}\x{5502}\x{5503}\x{5504}\x{5505}\x{5506}' .
+'\x{5507}\x{5508}\x{5509}\x{550A}\x{550B}\x{550C}\x{550D}\x{550E}\x{550F}' .
+'\x{5510}\x{5511}\x{5512}\x{5513}\x{5514}\x{5516}\x{5517}\x{551A}\x{551B}' .
+'\x{551C}\x{551D}\x{551E}\x{551F}\x{5520}\x{5521}\x{5522}\x{5523}\x{5524}' .
+'\x{5525}\x{5526}\x{5527}\x{5528}\x{5529}\x{552A}\x{552B}\x{552C}\x{552D}' .
+'\x{552E}\x{552F}\x{5530}\x{5531}\x{5532}\x{5533}\x{5534}\x{5535}\x{5536}' .
+'\x{5537}\x{5538}\x{5539}\x{553A}\x{553B}\x{553C}\x{553D}\x{553E}\x{553F}' .
+'\x{5540}\x{5541}\x{5542}\x{5543}\x{5544}\x{5545}\x{5546}\x{5548}\x{5549}' .
+'\x{554A}\x{554B}\x{554C}\x{554D}\x{554E}\x{554F}\x{5550}\x{5551}\x{5552}' .
+'\x{5553}\x{5554}\x{5555}\x{5556}\x{5557}\x{5558}\x{5559}\x{555A}\x{555B}' .
+'\x{555C}\x{555D}\x{555E}\x{555F}\x{5561}\x{5562}\x{5563}\x{5564}\x{5565}' .
+'\x{5566}\x{5567}\x{5568}\x{5569}\x{556A}\x{556B}\x{556C}\x{556D}\x{556E}' .
+'\x{556F}\x{5570}\x{5571}\x{5572}\x{5573}\x{5574}\x{5575}\x{5576}\x{5577}' .
+'\x{5578}\x{5579}\x{557B}\x{557C}\x{557D}\x{557E}\x{557F}\x{5580}\x{5581}' .
+'\x{5582}\x{5583}\x{5584}\x{5585}\x{5586}\x{5587}\x{5588}\x{5589}\x{558A}' .
+'\x{558B}\x{558C}\x{558D}\x{558E}\x{558F}\x{5590}\x{5591}\x{5592}\x{5593}' .
+'\x{5594}\x{5595}\x{5596}\x{5597}\x{5598}\x{5599}\x{559A}\x{559B}\x{559C}' .
+'\x{559D}\x{559E}\x{559F}\x{55A0}\x{55A1}\x{55A2}\x{55A3}\x{55A4}\x{55A5}' .
+'\x{55A6}\x{55A7}\x{55A8}\x{55A9}\x{55AA}\x{55AB}\x{55AC}\x{55AD}\x{55AE}' .
+'\x{55AF}\x{55B0}\x{55B1}\x{55B2}\x{55B3}\x{55B4}\x{55B5}\x{55B6}\x{55B7}' .
+'\x{55B8}\x{55B9}\x{55BA}\x{55BB}\x{55BC}\x{55BD}\x{55BE}\x{55BF}\x{55C0}' .
+'\x{55C1}\x{55C2}\x{55C3}\x{55C4}\x{55C5}\x{55C6}\x{55C7}\x{55C8}\x{55C9}' .
+'\x{55CA}\x{55CB}\x{55CC}\x{55CD}\x{55CE}\x{55CF}\x{55D0}\x{55D1}\x{55D2}' .
+'\x{55D3}\x{55D4}\x{55D5}\x{55D6}\x{55D7}\x{55D8}\x{55D9}\x{55DA}\x{55DB}' .
+'\x{55DC}\x{55DD}\x{55DE}\x{55DF}\x{55E1}\x{55E2}\x{55E3}\x{55E4}\x{55E5}' .
+'\x{55E6}\x{55E7}\x{55E8}\x{55E9}\x{55EA}\x{55EB}\x{55EC}\x{55ED}\x{55EE}' .
+'\x{55EF}\x{55F0}\x{55F1}\x{55F2}\x{55F3}\x{55F4}\x{55F5}\x{55F6}\x{55F7}' .
+'\x{55F9}\x{55FA}\x{55FB}\x{55FC}\x{55FD}\x{55FE}\x{55FF}\x{5600}\x{5601}' .
+'\x{5602}\x{5603}\x{5604}\x{5606}\x{5607}\x{5608}\x{5609}\x{560C}\x{560D}' .
+'\x{560E}\x{560F}\x{5610}\x{5611}\x{5612}\x{5613}\x{5614}\x{5615}\x{5616}' .
+'\x{5617}\x{5618}\x{5619}\x{561A}\x{561B}\x{561C}\x{561D}\x{561E}\x{561F}' .
+'\x{5621}\x{5622}\x{5623}\x{5624}\x{5625}\x{5626}\x{5627}\x{5628}\x{5629}' .
+'\x{562A}\x{562C}\x{562D}\x{562E}\x{562F}\x{5630}\x{5631}\x{5632}\x{5633}' .
+'\x{5634}\x{5635}\x{5636}\x{5638}\x{5639}\x{563A}\x{563B}\x{563D}\x{563E}' .
+'\x{563F}\x{5640}\x{5641}\x{5642}\x{5643}\x{5645}\x{5646}\x{5647}\x{5648}' .
+'\x{5649}\x{564A}\x{564C}\x{564D}\x{564E}\x{564F}\x{5650}\x{5652}\x{5653}' .
+'\x{5654}\x{5655}\x{5657}\x{5658}\x{5659}\x{565A}\x{565B}\x{565C}\x{565D}' .
+'\x{565E}\x{5660}\x{5662}\x{5663}\x{5664}\x{5665}\x{5666}\x{5667}\x{5668}' .
+'\x{5669}\x{566A}\x{566B}\x{566C}\x{566D}\x{566E}\x{566F}\x{5670}\x{5671}' .
+'\x{5672}\x{5673}\x{5674}\x{5676}\x{5677}\x{5678}\x{5679}\x{567A}\x{567B}' .
+'\x{567C}\x{567E}\x{567F}\x{5680}\x{5681}\x{5682}\x{5683}\x{5684}\x{5685}' .
+'\x{5686}\x{5687}\x{568A}\x{568C}\x{568D}\x{568E}\x{568F}\x{5690}\x{5691}' .
+'\x{5692}\x{5693}\x{5694}\x{5695}\x{5697}\x{5698}\x{5699}\x{569A}\x{569B}' .
+'\x{569C}\x{569D}\x{569F}\x{56A0}\x{56A1}\x{56A3}\x{56A4}\x{56A5}\x{56A6}' .
+'\x{56A7}\x{56A8}\x{56A9}\x{56AA}\x{56AB}\x{56AC}\x{56AD}\x{56AE}\x{56AF}' .
+'\x{56B0}\x{56B1}\x{56B2}\x{56B3}\x{56B4}\x{56B5}\x{56B6}\x{56B7}\x{56B8}' .
+'\x{56B9}\x{56BB}\x{56BC}\x{56BD}\x{56BE}\x{56BF}\x{56C0}\x{56C1}\x{56C2}' .
+'\x{56C3}\x{56C4}\x{56C5}\x{56C6}\x{56C7}\x{56C8}\x{56C9}\x{56CA}\x{56CB}' .
+'\x{56CC}\x{56CD}\x{56CE}\x{56D0}\x{56D1}\x{56D2}\x{56D3}\x{56D4}\x{56D5}' .
+'\x{56D6}\x{56D7}\x{56D8}\x{56DA}\x{56DB}\x{56DC}\x{56DD}\x{56DE}\x{56DF}' .
+'\x{56E0}\x{56E1}\x{56E2}\x{56E3}\x{56E4}\x{56E5}\x{56E7}\x{56E8}\x{56E9}' .
+'\x{56EA}\x{56EB}\x{56EC}\x{56ED}\x{56EE}\x{56EF}\x{56F0}\x{56F1}\x{56F2}' .
+'\x{56F3}\x{56F4}\x{56F5}\x{56F7}\x{56F9}\x{56FA}\x{56FD}\x{56FE}\x{56FF}' .
+'\x{5700}\x{5701}\x{5702}\x{5703}\x{5704}\x{5706}\x{5707}\x{5708}\x{5709}' .
+'\x{570A}\x{570B}\x{570C}\x{570D}\x{570E}\x{570F}\x{5710}\x{5712}\x{5713}' .
+'\x{5714}\x{5715}\x{5716}\x{5718}\x{5719}\x{571A}\x{571B}\x{571C}\x{571D}' .
+'\x{571E}\x{571F}\x{5720}\x{5722}\x{5723}\x{5725}\x{5726}\x{5727}\x{5728}' .
+'\x{5729}\x{572A}\x{572B}\x{572C}\x{572D}\x{572E}\x{572F}\x{5730}\x{5731}' .
+'\x{5732}\x{5733}\x{5734}\x{5735}\x{5736}\x{5737}\x{5738}\x{5739}\x{573A}' .
+'\x{573B}\x{573C}\x{573E}\x{573F}\x{5740}\x{5741}\x{5742}\x{5744}\x{5745}' .
+'\x{5746}\x{5747}\x{5749}\x{574A}\x{574B}\x{574C}\x{574D}\x{574E}\x{574F}' .
+'\x{5750}\x{5751}\x{5752}\x{5753}\x{5754}\x{5757}\x{5759}\x{575A}\x{575B}' .
+'\x{575C}\x{575D}\x{575E}\x{575F}\x{5760}\x{5761}\x{5762}\x{5764}\x{5765}' .
+'\x{5766}\x{5767}\x{5768}\x{5769}\x{576A}\x{576B}\x{576C}\x{576D}\x{576F}' .
+'\x{5770}\x{5771}\x{5772}\x{5773}\x{5774}\x{5775}\x{5776}\x{5777}\x{5779}' .
+'\x{577A}\x{577B}\x{577C}\x{577D}\x{577E}\x{577F}\x{5780}\x{5782}\x{5783}' .
+'\x{5784}\x{5785}\x{5786}\x{5788}\x{5789}\x{578A}\x{578B}\x{578C}\x{578D}' .
+'\x{578E}\x{578F}\x{5790}\x{5791}\x{5792}\x{5793}\x{5794}\x{5795}\x{5797}' .
+'\x{5798}\x{5799}\x{579A}\x{579B}\x{579C}\x{579D}\x{579E}\x{579F}\x{57A0}' .
+'\x{57A1}\x{57A2}\x{57A3}\x{57A4}\x{57A5}\x{57A6}\x{57A7}\x{57A9}\x{57AA}' .
+'\x{57AB}\x{57AC}\x{57AD}\x{57AE}\x{57AF}\x{57B0}\x{57B1}\x{57B2}\x{57B3}' .
+'\x{57B4}\x{57B5}\x{57B6}\x{57B7}\x{57B8}\x{57B9}\x{57BA}\x{57BB}\x{57BC}' .
+'\x{57BD}\x{57BE}\x{57BF}\x{57C0}\x{57C1}\x{57C2}\x{57C3}\x{57C4}\x{57C5}' .
+'\x{57C6}\x{57C7}\x{57C8}\x{57C9}\x{57CB}\x{57CC}\x{57CD}\x{57CE}\x{57CF}' .
+'\x{57D0}\x{57D2}\x{57D3}\x{57D4}\x{57D5}\x{57D6}\x{57D8}\x{57D9}\x{57DA}' .
+'\x{57DC}\x{57DD}\x{57DF}\x{57E0}\x{57E1}\x{57E2}\x{57E3}\x{57E4}\x{57E5}' .
+'\x{57E6}\x{57E7}\x{57E8}\x{57E9}\x{57EA}\x{57EB}\x{57EC}\x{57ED}\x{57EE}' .
+'\x{57EF}\x{57F0}\x{57F1}\x{57F2}\x{57F3}\x{57F4}\x{57F5}\x{57F6}\x{57F7}' .
+'\x{57F8}\x{57F9}\x{57FA}\x{57FB}\x{57FC}\x{57FD}\x{57FE}\x{57FF}\x{5800}' .
+'\x{5801}\x{5802}\x{5803}\x{5804}\x{5805}\x{5806}\x{5807}\x{5808}\x{5809}' .
+'\x{580A}\x{580B}\x{580C}\x{580D}\x{580E}\x{580F}\x{5810}\x{5811}\x{5812}' .
+'\x{5813}\x{5814}\x{5815}\x{5816}\x{5819}\x{581A}\x{581B}\x{581C}\x{581D}' .
+'\x{581E}\x{581F}\x{5820}\x{5821}\x{5822}\x{5823}\x{5824}\x{5825}\x{5826}' .
+'\x{5827}\x{5828}\x{5829}\x{582A}\x{582B}\x{582C}\x{582D}\x{582E}\x{582F}' .
+'\x{5830}\x{5831}\x{5832}\x{5833}\x{5834}\x{5835}\x{5836}\x{5837}\x{5838}' .
+'\x{5839}\x{583A}\x{583B}\x{583C}\x{583D}\x{583E}\x{583F}\x{5840}\x{5842}' .
+'\x{5843}\x{5844}\x{5845}\x{5846}\x{5847}\x{5848}\x{5849}\x{584A}\x{584B}' .
+'\x{584C}\x{584D}\x{584E}\x{584F}\x{5851}\x{5852}\x{5853}\x{5854}\x{5855}' .
+'\x{5857}\x{5858}\x{5859}\x{585A}\x{585B}\x{585C}\x{585D}\x{585E}\x{585F}' .
+'\x{5861}\x{5862}\x{5863}\x{5864}\x{5865}\x{5868}\x{5869}\x{586A}\x{586B}' .
+'\x{586C}\x{586D}\x{586E}\x{586F}\x{5870}\x{5871}\x{5872}\x{5873}\x{5874}' .
+'\x{5875}\x{5876}\x{5878}\x{5879}\x{587A}\x{587B}\x{587C}\x{587D}\x{587E}' .
+'\x{587F}\x{5880}\x{5881}\x{5882}\x{5883}\x{5884}\x{5885}\x{5886}\x{5887}' .
+'\x{5888}\x{5889}\x{588A}\x{588B}\x{588C}\x{588D}\x{588E}\x{588F}\x{5890}' .
+'\x{5891}\x{5892}\x{5893}\x{5894}\x{5896}\x{5897}\x{5898}\x{5899}\x{589A}' .
+'\x{589B}\x{589C}\x{589D}\x{589E}\x{589F}\x{58A0}\x{58A1}\x{58A2}\x{58A3}' .
+'\x{58A4}\x{58A5}\x{58A6}\x{58A7}\x{58A8}\x{58A9}\x{58AB}\x{58AC}\x{58AD}' .
+'\x{58AE}\x{58AF}\x{58B0}\x{58B1}\x{58B2}\x{58B3}\x{58B4}\x{58B7}\x{58B8}' .
+'\x{58B9}\x{58BA}\x{58BB}\x{58BC}\x{58BD}\x{58BE}\x{58BF}\x{58C1}\x{58C2}' .
+'\x{58C5}\x{58C6}\x{58C7}\x{58C8}\x{58C9}\x{58CA}\x{58CB}\x{58CE}\x{58CF}' .
+'\x{58D1}\x{58D2}\x{58D3}\x{58D4}\x{58D5}\x{58D6}\x{58D7}\x{58D8}\x{58D9}' .
+'\x{58DA}\x{58DB}\x{58DD}\x{58DE}\x{58DF}\x{58E0}\x{58E2}\x{58E3}\x{58E4}' .
+'\x{58E5}\x{58E7}\x{58E8}\x{58E9}\x{58EA}\x{58EB}\x{58EC}\x{58ED}\x{58EE}' .
+'\x{58EF}\x{58F0}\x{58F1}\x{58F2}\x{58F3}\x{58F4}\x{58F6}\x{58F7}\x{58F8}' .
+'\x{58F9}\x{58FA}\x{58FB}\x{58FC}\x{58FD}\x{58FE}\x{58FF}\x{5900}\x{5902}' .
+'\x{5903}\x{5904}\x{5906}\x{5907}\x{5909}\x{590A}\x{590B}\x{590C}\x{590D}' .
+'\x{590E}\x{590F}\x{5910}\x{5912}\x{5914}\x{5915}\x{5916}\x{5917}\x{5918}' .
+'\x{5919}\x{591A}\x{591B}\x{591C}\x{591D}\x{591E}\x{591F}\x{5920}\x{5921}' .
+'\x{5922}\x{5924}\x{5925}\x{5926}\x{5927}\x{5928}\x{5929}\x{592A}\x{592B}' .
+'\x{592C}\x{592D}\x{592E}\x{592F}\x{5930}\x{5931}\x{5932}\x{5934}\x{5935}' .
+'\x{5937}\x{5938}\x{5939}\x{593A}\x{593B}\x{593C}\x{593D}\x{593E}\x{593F}' .
+'\x{5940}\x{5941}\x{5942}\x{5943}\x{5944}\x{5945}\x{5946}\x{5947}\x{5948}' .
+'\x{5949}\x{594A}\x{594B}\x{594C}\x{594D}\x{594E}\x{594F}\x{5950}\x{5951}' .
+'\x{5952}\x{5953}\x{5954}\x{5955}\x{5956}\x{5957}\x{5958}\x{595A}\x{595C}' .
+'\x{595D}\x{595E}\x{595F}\x{5960}\x{5961}\x{5962}\x{5963}\x{5964}\x{5965}' .
+'\x{5966}\x{5967}\x{5968}\x{5969}\x{596A}\x{596B}\x{596C}\x{596D}\x{596E}' .
+'\x{596F}\x{5970}\x{5971}\x{5972}\x{5973}\x{5974}\x{5975}\x{5976}\x{5977}' .
+'\x{5978}\x{5979}\x{597A}\x{597B}\x{597C}\x{597D}\x{597E}\x{597F}\x{5980}' .
+'\x{5981}\x{5982}\x{5983}\x{5984}\x{5985}\x{5986}\x{5987}\x{5988}\x{5989}' .
+'\x{598A}\x{598B}\x{598C}\x{598D}\x{598E}\x{598F}\x{5990}\x{5991}\x{5992}' .
+'\x{5993}\x{5994}\x{5995}\x{5996}\x{5997}\x{5998}\x{5999}\x{599A}\x{599C}' .
+'\x{599D}\x{599E}\x{599F}\x{59A0}\x{59A1}\x{59A2}\x{59A3}\x{59A4}\x{59A5}' .
+'\x{59A6}\x{59A7}\x{59A8}\x{59A9}\x{59AA}\x{59AB}\x{59AC}\x{59AD}\x{59AE}' .
+'\x{59AF}\x{59B0}\x{59B1}\x{59B2}\x{59B3}\x{59B4}\x{59B5}\x{59B6}\x{59B8}' .
+'\x{59B9}\x{59BA}\x{59BB}\x{59BC}\x{59BD}\x{59BE}\x{59BF}\x{59C0}\x{59C1}' .
+'\x{59C2}\x{59C3}\x{59C4}\x{59C5}\x{59C6}\x{59C7}\x{59C8}\x{59C9}\x{59CA}' .
+'\x{59CB}\x{59CC}\x{59CD}\x{59CE}\x{59CF}\x{59D0}\x{59D1}\x{59D2}\x{59D3}' .
+'\x{59D4}\x{59D5}\x{59D6}\x{59D7}\x{59D8}\x{59D9}\x{59DA}\x{59DB}\x{59DC}' .
+'\x{59DD}\x{59DE}\x{59DF}\x{59E0}\x{59E1}\x{59E2}\x{59E3}\x{59E4}\x{59E5}' .
+'\x{59E6}\x{59E8}\x{59E9}\x{59EA}\x{59EB}\x{59EC}\x{59ED}\x{59EE}\x{59EF}' .
+'\x{59F0}\x{59F1}\x{59F2}\x{59F3}\x{59F4}\x{59F5}\x{59F6}\x{59F7}\x{59F8}' .
+'\x{59F9}\x{59FA}\x{59FB}\x{59FC}\x{59FD}\x{59FE}\x{59FF}\x{5A00}\x{5A01}' .
+'\x{5A02}\x{5A03}\x{5A04}\x{5A05}\x{5A06}\x{5A07}\x{5A08}\x{5A09}\x{5A0A}' .
+'\x{5A0B}\x{5A0C}\x{5A0D}\x{5A0E}\x{5A0F}\x{5A10}\x{5A11}\x{5A12}\x{5A13}' .
+'\x{5A14}\x{5A15}\x{5A16}\x{5A17}\x{5A18}\x{5A19}\x{5A1A}\x{5A1B}\x{5A1C}' .
+'\x{5A1D}\x{5A1E}\x{5A1F}\x{5A20}\x{5A21}\x{5A22}\x{5A23}\x{5A25}\x{5A27}' .
+'\x{5A28}\x{5A29}\x{5A2A}\x{5A2B}\x{5A2D}\x{5A2E}\x{5A2F}\x{5A31}\x{5A32}' .
+'\x{5A33}\x{5A34}\x{5A35}\x{5A36}\x{5A37}\x{5A38}\x{5A39}\x{5A3A}\x{5A3B}' .
+'\x{5A3C}\x{5A3D}\x{5A3E}\x{5A3F}\x{5A40}\x{5A41}\x{5A42}\x{5A43}\x{5A44}' .
+'\x{5A45}\x{5A46}\x{5A47}\x{5A48}\x{5A49}\x{5A4A}\x{5A4B}\x{5A4C}\x{5A4D}' .
+'\x{5A4E}\x{5A4F}\x{5A50}\x{5A51}\x{5A52}\x{5A53}\x{5A55}\x{5A56}\x{5A57}' .
+'\x{5A58}\x{5A5A}\x{5A5B}\x{5A5C}\x{5A5D}\x{5A5E}\x{5A5F}\x{5A60}\x{5A61}' .
+'\x{5A62}\x{5A63}\x{5A64}\x{5A65}\x{5A66}\x{5A67}\x{5A68}\x{5A69}\x{5A6A}' .
+'\x{5A6B}\x{5A6C}\x{5A6D}\x{5A6E}\x{5A70}\x{5A72}\x{5A73}\x{5A74}\x{5A75}' .
+'\x{5A76}\x{5A77}\x{5A78}\x{5A79}\x{5A7A}\x{5A7B}\x{5A7C}\x{5A7D}\x{5A7E}' .
+'\x{5A7F}\x{5A80}\x{5A81}\x{5A82}\x{5A83}\x{5A84}\x{5A85}\x{5A86}\x{5A88}' .
+'\x{5A89}\x{5A8A}\x{5A8B}\x{5A8C}\x{5A8E}\x{5A8F}\x{5A90}\x{5A91}\x{5A92}' .
+'\x{5A93}\x{5A94}\x{5A95}\x{5A96}\x{5A97}\x{5A98}\x{5A99}\x{5A9A}\x{5A9B}' .
+'\x{5A9C}\x{5A9D}\x{5A9E}\x{5A9F}\x{5AA0}\x{5AA1}\x{5AA2}\x{5AA3}\x{5AA4}' .
+'\x{5AA5}\x{5AA6}\x{5AA7}\x{5AA8}\x{5AA9}\x{5AAA}\x{5AAC}\x{5AAD}\x{5AAE}' .
+'\x{5AAF}\x{5AB0}\x{5AB1}\x{5AB2}\x{5AB3}\x{5AB4}\x{5AB5}\x{5AB6}\x{5AB7}' .
+'\x{5AB8}\x{5AB9}\x{5ABA}\x{5ABB}\x{5ABC}\x{5ABD}\x{5ABE}\x{5ABF}\x{5AC0}' .
+'\x{5AC1}\x{5AC2}\x{5AC3}\x{5AC4}\x{5AC5}\x{5AC6}\x{5AC7}\x{5AC8}\x{5AC9}' .
+'\x{5ACA}\x{5ACB}\x{5ACC}\x{5ACD}\x{5ACE}\x{5ACF}\x{5AD1}\x{5AD2}\x{5AD4}' .
+'\x{5AD5}\x{5AD6}\x{5AD7}\x{5AD8}\x{5AD9}\x{5ADA}\x{5ADB}\x{5ADC}\x{5ADD}' .
+'\x{5ADE}\x{5ADF}\x{5AE0}\x{5AE1}\x{5AE2}\x{5AE3}\x{5AE4}\x{5AE5}\x{5AE6}' .
+'\x{5AE7}\x{5AE8}\x{5AE9}\x{5AEA}\x{5AEB}\x{5AEC}\x{5AED}\x{5AEE}\x{5AF1}' .
+'\x{5AF2}\x{5AF3}\x{5AF4}\x{5AF5}\x{5AF6}\x{5AF7}\x{5AF8}\x{5AF9}\x{5AFA}' .
+'\x{5AFB}\x{5AFC}\x{5AFD}\x{5AFE}\x{5AFF}\x{5B00}\x{5B01}\x{5B02}\x{5B03}' .
+'\x{5B04}\x{5B05}\x{5B06}\x{5B07}\x{5B08}\x{5B09}\x{5B0B}\x{5B0C}\x{5B0E}' .
+'\x{5B0F}\x{5B10}\x{5B11}\x{5B12}\x{5B13}\x{5B14}\x{5B15}\x{5B16}\x{5B17}' .
+'\x{5B18}\x{5B19}\x{5B1A}\x{5B1B}\x{5B1C}\x{5B1D}\x{5B1E}\x{5B1F}\x{5B20}' .
+'\x{5B21}\x{5B22}\x{5B23}\x{5B24}\x{5B25}\x{5B26}\x{5B27}\x{5B28}\x{5B29}' .
+'\x{5B2A}\x{5B2B}\x{5B2C}\x{5B2D}\x{5B2E}\x{5B2F}\x{5B30}\x{5B31}\x{5B32}' .
+'\x{5B33}\x{5B34}\x{5B35}\x{5B36}\x{5B37}\x{5B38}\x{5B3A}\x{5B3B}\x{5B3C}' .
+'\x{5B3D}\x{5B3E}\x{5B3F}\x{5B40}\x{5B41}\x{5B42}\x{5B43}\x{5B44}\x{5B45}' .
+'\x{5B47}\x{5B48}\x{5B49}\x{5B4A}\x{5B4B}\x{5B4C}\x{5B4D}\x{5B4E}\x{5B50}' .
+'\x{5B51}\x{5B53}\x{5B54}\x{5B55}\x{5B56}\x{5B57}\x{5B58}\x{5B59}\x{5B5A}' .
+'\x{5B5B}\x{5B5C}\x{5B5D}\x{5B5E}\x{5B5F}\x{5B62}\x{5B63}\x{5B64}\x{5B65}' .
+'\x{5B66}\x{5B67}\x{5B68}\x{5B69}\x{5B6A}\x{5B6B}\x{5B6C}\x{5B6D}\x{5B6E}' .
+'\x{5B70}\x{5B71}\x{5B72}\x{5B73}\x{5B74}\x{5B75}\x{5B76}\x{5B77}\x{5B78}' .
+'\x{5B7A}\x{5B7B}\x{5B7C}\x{5B7D}\x{5B7F}\x{5B80}\x{5B81}\x{5B82}\x{5B83}' .
+'\x{5B84}\x{5B85}\x{5B87}\x{5B88}\x{5B89}\x{5B8A}\x{5B8B}\x{5B8C}\x{5B8D}' .
+'\x{5B8E}\x{5B8F}\x{5B91}\x{5B92}\x{5B93}\x{5B94}\x{5B95}\x{5B96}\x{5B97}' .
+'\x{5B98}\x{5B99}\x{5B9A}\x{5B9B}\x{5B9C}\x{5B9D}\x{5B9E}\x{5B9F}\x{5BA0}' .
+'\x{5BA1}\x{5BA2}\x{5BA3}\x{5BA4}\x{5BA5}\x{5BA6}\x{5BA7}\x{5BA8}\x{5BAA}' .
+'\x{5BAB}\x{5BAC}\x{5BAD}\x{5BAE}\x{5BAF}\x{5BB0}\x{5BB1}\x{5BB3}\x{5BB4}' .
+'\x{5BB5}\x{5BB6}\x{5BB8}\x{5BB9}\x{5BBA}\x{5BBB}\x{5BBD}\x{5BBE}\x{5BBF}' .
+'\x{5BC0}\x{5BC1}\x{5BC2}\x{5BC3}\x{5BC4}\x{5BC5}\x{5BC6}\x{5BC7}\x{5BCA}' .
+'\x{5BCB}\x{5BCC}\x{5BCD}\x{5BCE}\x{5BCF}\x{5BD0}\x{5BD1}\x{5BD2}\x{5BD3}' .
+'\x{5BD4}\x{5BD5}\x{5BD6}\x{5BD8}\x{5BD9}\x{5BDB}\x{5BDC}\x{5BDD}\x{5BDE}' .
+'\x{5BDF}\x{5BE0}\x{5BE1}\x{5BE2}\x{5BE3}\x{5BE4}\x{5BE5}\x{5BE6}\x{5BE7}' .
+'\x{5BE8}\x{5BE9}\x{5BEA}\x{5BEB}\x{5BEC}\x{5BED}\x{5BEE}\x{5BEF}\x{5BF0}' .
+'\x{5BF1}\x{5BF2}\x{5BF3}\x{5BF4}\x{5BF5}\x{5BF6}\x{5BF7}\x{5BF8}\x{5BF9}' .
+'\x{5BFA}\x{5BFB}\x{5BFC}\x{5BFD}\x{5BFF}\x{5C01}\x{5C03}\x{5C04}\x{5C05}' .
+'\x{5C06}\x{5C07}\x{5C08}\x{5C09}\x{5C0A}\x{5C0B}\x{5C0C}\x{5C0D}\x{5C0E}' .
+'\x{5C0F}\x{5C10}\x{5C11}\x{5C12}\x{5C13}\x{5C14}\x{5C15}\x{5C16}\x{5C17}' .
+'\x{5C18}\x{5C19}\x{5C1A}\x{5C1C}\x{5C1D}\x{5C1E}\x{5C1F}\x{5C20}\x{5C21}' .
+'\x{5C22}\x{5C24}\x{5C25}\x{5C27}\x{5C28}\x{5C2A}\x{5C2B}\x{5C2C}\x{5C2D}' .
+'\x{5C2E}\x{5C2F}\x{5C30}\x{5C31}\x{5C32}\x{5C33}\x{5C34}\x{5C35}\x{5C37}' .
+'\x{5C38}\x{5C39}\x{5C3A}\x{5C3B}\x{5C3C}\x{5C3D}\x{5C3E}\x{5C3F}\x{5C40}' .
+'\x{5C41}\x{5C42}\x{5C43}\x{5C44}\x{5C45}\x{5C46}\x{5C47}\x{5C48}\x{5C49}' .
+'\x{5C4A}\x{5C4B}\x{5C4C}\x{5C4D}\x{5C4E}\x{5C4F}\x{5C50}\x{5C51}\x{5C52}' .
+'\x{5C53}\x{5C54}\x{5C55}\x{5C56}\x{5C57}\x{5C58}\x{5C59}\x{5C5B}\x{5C5C}' .
+'\x{5C5D}\x{5C5E}\x{5C5F}\x{5C60}\x{5C61}\x{5C62}\x{5C63}\x{5C64}\x{5C65}' .
+'\x{5C66}\x{5C67}\x{5C68}\x{5C69}\x{5C6A}\x{5C6B}\x{5C6C}\x{5C6D}\x{5C6E}' .
+'\x{5C6F}\x{5C70}\x{5C71}\x{5C72}\x{5C73}\x{5C74}\x{5C75}\x{5C76}\x{5C77}' .
+'\x{5C78}\x{5C79}\x{5C7A}\x{5C7B}\x{5C7C}\x{5C7D}\x{5C7E}\x{5C7F}\x{5C80}' .
+'\x{5C81}\x{5C82}\x{5C83}\x{5C84}\x{5C86}\x{5C87}\x{5C88}\x{5C89}\x{5C8A}' .
+'\x{5C8B}\x{5C8C}\x{5C8D}\x{5C8E}\x{5C8F}\x{5C90}\x{5C91}\x{5C92}\x{5C93}' .
+'\x{5C94}\x{5C95}\x{5C96}\x{5C97}\x{5C98}\x{5C99}\x{5C9A}\x{5C9B}\x{5C9C}' .
+'\x{5C9D}\x{5C9E}\x{5C9F}\x{5CA0}\x{5CA1}\x{5CA2}\x{5CA3}\x{5CA4}\x{5CA5}' .
+'\x{5CA6}\x{5CA7}\x{5CA8}\x{5CA9}\x{5CAA}\x{5CAB}\x{5CAC}\x{5CAD}\x{5CAE}' .
+'\x{5CAF}\x{5CB0}\x{5CB1}\x{5CB2}\x{5CB3}\x{5CB5}\x{5CB6}\x{5CB7}\x{5CB8}' .
+'\x{5CBA}\x{5CBB}\x{5CBC}\x{5CBD}\x{5CBE}\x{5CBF}\x{5CC1}\x{5CC2}\x{5CC3}' .
+'\x{5CC4}\x{5CC5}\x{5CC6}\x{5CC7}\x{5CC8}\x{5CC9}\x{5CCA}\x{5CCB}\x{5CCC}' .
+'\x{5CCD}\x{5CCE}\x{5CCF}\x{5CD0}\x{5CD1}\x{5CD2}\x{5CD3}\x{5CD4}\x{5CD6}' .
+'\x{5CD7}\x{5CD8}\x{5CD9}\x{5CDA}\x{5CDB}\x{5CDC}\x{5CDE}\x{5CDF}\x{5CE0}' .
+'\x{5CE1}\x{5CE2}\x{5CE3}\x{5CE4}\x{5CE5}\x{5CE6}\x{5CE7}\x{5CE8}\x{5CE9}' .
+'\x{5CEA}\x{5CEB}\x{5CEC}\x{5CED}\x{5CEE}\x{5CEF}\x{5CF0}\x{5CF1}\x{5CF2}' .
+'\x{5CF3}\x{5CF4}\x{5CF6}\x{5CF7}\x{5CF8}\x{5CF9}\x{5CFA}\x{5CFB}\x{5CFC}' .
+'\x{5CFD}\x{5CFE}\x{5CFF}\x{5D00}\x{5D01}\x{5D02}\x{5D03}\x{5D04}\x{5D05}' .
+'\x{5D06}\x{5D07}\x{5D08}\x{5D09}\x{5D0A}\x{5D0B}\x{5D0C}\x{5D0D}\x{5D0E}' .
+'\x{5D0F}\x{5D10}\x{5D11}\x{5D12}\x{5D13}\x{5D14}\x{5D15}\x{5D16}\x{5D17}' .
+'\x{5D18}\x{5D19}\x{5D1A}\x{5D1B}\x{5D1C}\x{5D1D}\x{5D1E}\x{5D1F}\x{5D20}' .
+'\x{5D21}\x{5D22}\x{5D23}\x{5D24}\x{5D25}\x{5D26}\x{5D27}\x{5D28}\x{5D29}' .
+'\x{5D2A}\x{5D2C}\x{5D2D}\x{5D2E}\x{5D30}\x{5D31}\x{5D32}\x{5D33}\x{5D34}' .
+'\x{5D35}\x{5D36}\x{5D37}\x{5D38}\x{5D39}\x{5D3A}\x{5D3C}\x{5D3D}\x{5D3E}' .
+'\x{5D3F}\x{5D40}\x{5D41}\x{5D42}\x{5D43}\x{5D44}\x{5D45}\x{5D46}\x{5D47}' .
+'\x{5D48}\x{5D49}\x{5D4A}\x{5D4B}\x{5D4C}\x{5D4D}\x{5D4E}\x{5D4F}\x{5D50}' .
+'\x{5D51}\x{5D52}\x{5D54}\x{5D55}\x{5D56}\x{5D58}\x{5D59}\x{5D5A}\x{5D5B}' .
+'\x{5D5D}\x{5D5E}\x{5D5F}\x{5D61}\x{5D62}\x{5D63}\x{5D64}\x{5D65}\x{5D66}' .
+'\x{5D67}\x{5D68}\x{5D69}\x{5D6A}\x{5D6B}\x{5D6C}\x{5D6D}\x{5D6E}\x{5D6F}' .
+'\x{5D70}\x{5D71}\x{5D72}\x{5D73}\x{5D74}\x{5D75}\x{5D76}\x{5D77}\x{5D78}' .
+'\x{5D79}\x{5D7A}\x{5D7B}\x{5D7C}\x{5D7D}\x{5D7E}\x{5D7F}\x{5D80}\x{5D81}' .
+'\x{5D82}\x{5D84}\x{5D85}\x{5D86}\x{5D87}\x{5D88}\x{5D89}\x{5D8A}\x{5D8B}' .
+'\x{5D8C}\x{5D8D}\x{5D8E}\x{5D8F}\x{5D90}\x{5D91}\x{5D92}\x{5D93}\x{5D94}' .
+'\x{5D95}\x{5D97}\x{5D98}\x{5D99}\x{5D9A}\x{5D9B}\x{5D9C}\x{5D9D}\x{5D9E}' .
+'\x{5D9F}\x{5DA0}\x{5DA1}\x{5DA2}\x{5DA5}\x{5DA6}\x{5DA7}\x{5DA8}\x{5DA9}' .
+'\x{5DAA}\x{5DAC}\x{5DAD}\x{5DAE}\x{5DAF}\x{5DB0}\x{5DB1}\x{5DB2}\x{5DB4}' .
+'\x{5DB5}\x{5DB6}\x{5DB7}\x{5DB8}\x{5DBA}\x{5DBB}\x{5DBC}\x{5DBD}\x{5DBE}' .
+'\x{5DBF}\x{5DC0}\x{5DC1}\x{5DC2}\x{5DC3}\x{5DC5}\x{5DC6}\x{5DC7}\x{5DC8}' .
+'\x{5DC9}\x{5DCA}\x{5DCB}\x{5DCC}\x{5DCD}\x{5DCE}\x{5DCF}\x{5DD0}\x{5DD1}' .
+'\x{5DD2}\x{5DD3}\x{5DD4}\x{5DD5}\x{5DD6}\x{5DD8}\x{5DD9}\x{5DDB}\x{5DDD}' .
+'\x{5DDE}\x{5DDF}\x{5DE0}\x{5DE1}\x{5DE2}\x{5DE3}\x{5DE4}\x{5DE5}\x{5DE6}' .
+'\x{5DE7}\x{5DE8}\x{5DE9}\x{5DEA}\x{5DEB}\x{5DEC}\x{5DED}\x{5DEE}\x{5DEF}' .
+'\x{5DF0}\x{5DF1}\x{5DF2}\x{5DF3}\x{5DF4}\x{5DF5}\x{5DF7}\x{5DF8}\x{5DF9}' .
+'\x{5DFA}\x{5DFB}\x{5DFC}\x{5DFD}\x{5DFE}\x{5DFF}\x{5E00}\x{5E01}\x{5E02}' .
+'\x{5E03}\x{5E04}\x{5E05}\x{5E06}\x{5E07}\x{5E08}\x{5E09}\x{5E0A}\x{5E0B}' .
+'\x{5E0C}\x{5E0D}\x{5E0E}\x{5E0F}\x{5E10}\x{5E11}\x{5E13}\x{5E14}\x{5E15}' .
+'\x{5E16}\x{5E17}\x{5E18}\x{5E19}\x{5E1A}\x{5E1B}\x{5E1C}\x{5E1D}\x{5E1E}' .
+'\x{5E1F}\x{5E20}\x{5E21}\x{5E22}\x{5E23}\x{5E24}\x{5E25}\x{5E26}\x{5E27}' .
+'\x{5E28}\x{5E29}\x{5E2A}\x{5E2B}\x{5E2C}\x{5E2D}\x{5E2E}\x{5E2F}\x{5E30}' .
+'\x{5E31}\x{5E32}\x{5E33}\x{5E34}\x{5E35}\x{5E36}\x{5E37}\x{5E38}\x{5E39}' .
+'\x{5E3A}\x{5E3B}\x{5E3C}\x{5E3D}\x{5E3E}\x{5E40}\x{5E41}\x{5E42}\x{5E43}' .
+'\x{5E44}\x{5E45}\x{5E46}\x{5E47}\x{5E49}\x{5E4A}\x{5E4B}\x{5E4C}\x{5E4D}' .
+'\x{5E4E}\x{5E4F}\x{5E50}\x{5E52}\x{5E53}\x{5E54}\x{5E55}\x{5E56}\x{5E57}' .
+'\x{5E58}\x{5E59}\x{5E5A}\x{5E5B}\x{5E5C}\x{5E5D}\x{5E5E}\x{5E5F}\x{5E60}' .
+'\x{5E61}\x{5E62}\x{5E63}\x{5E64}\x{5E65}\x{5E66}\x{5E67}\x{5E68}\x{5E69}' .
+'\x{5E6A}\x{5E6B}\x{5E6C}\x{5E6D}\x{5E6E}\x{5E6F}\x{5E70}\x{5E71}\x{5E72}' .
+'\x{5E73}\x{5E74}\x{5E75}\x{5E76}\x{5E77}\x{5E78}\x{5E79}\x{5E7A}\x{5E7B}' .
+'\x{5E7C}\x{5E7D}\x{5E7E}\x{5E7F}\x{5E80}\x{5E81}\x{5E82}\x{5E83}\x{5E84}' .
+'\x{5E85}\x{5E86}\x{5E87}\x{5E88}\x{5E89}\x{5E8A}\x{5E8B}\x{5E8C}\x{5E8D}' .
+'\x{5E8E}\x{5E8F}\x{5E90}\x{5E91}\x{5E93}\x{5E94}\x{5E95}\x{5E96}\x{5E97}' .
+'\x{5E98}\x{5E99}\x{5E9A}\x{5E9B}\x{5E9C}\x{5E9D}\x{5E9E}\x{5E9F}\x{5EA0}' .
+'\x{5EA1}\x{5EA2}\x{5EA3}\x{5EA4}\x{5EA5}\x{5EA6}\x{5EA7}\x{5EA8}\x{5EA9}' .
+'\x{5EAA}\x{5EAB}\x{5EAC}\x{5EAD}\x{5EAE}\x{5EAF}\x{5EB0}\x{5EB1}\x{5EB2}' .
+'\x{5EB3}\x{5EB4}\x{5EB5}\x{5EB6}\x{5EB7}\x{5EB8}\x{5EB9}\x{5EBB}\x{5EBC}' .
+'\x{5EBD}\x{5EBE}\x{5EBF}\x{5EC1}\x{5EC2}\x{5EC3}\x{5EC4}\x{5EC5}\x{5EC6}' .
+'\x{5EC7}\x{5EC8}\x{5EC9}\x{5ECA}\x{5ECB}\x{5ECC}\x{5ECD}\x{5ECE}\x{5ECF}' .
+'\x{5ED0}\x{5ED1}\x{5ED2}\x{5ED3}\x{5ED4}\x{5ED5}\x{5ED6}\x{5ED7}\x{5ED8}' .
+'\x{5ED9}\x{5EDA}\x{5EDB}\x{5EDC}\x{5EDD}\x{5EDE}\x{5EDF}\x{5EE0}\x{5EE1}' .
+'\x{5EE2}\x{5EE3}\x{5EE4}\x{5EE5}\x{5EE6}\x{5EE7}\x{5EE8}\x{5EE9}\x{5EEA}' .
+'\x{5EEC}\x{5EED}\x{5EEE}\x{5EEF}\x{5EF0}\x{5EF1}\x{5EF2}\x{5EF3}\x{5EF4}' .
+'\x{5EF5}\x{5EF6}\x{5EF7}\x{5EF8}\x{5EFA}\x{5EFB}\x{5EFC}\x{5EFD}\x{5EFE}' .
+'\x{5EFF}\x{5F00}\x{5F01}\x{5F02}\x{5F03}\x{5F04}\x{5F05}\x{5F06}\x{5F07}' .
+'\x{5F08}\x{5F0A}\x{5F0B}\x{5F0C}\x{5F0D}\x{5F0F}\x{5F11}\x{5F12}\x{5F13}' .
+'\x{5F14}\x{5F15}\x{5F16}\x{5F17}\x{5F18}\x{5F19}\x{5F1A}\x{5F1B}\x{5F1C}' .
+'\x{5F1D}\x{5F1E}\x{5F1F}\x{5F20}\x{5F21}\x{5F22}\x{5F23}\x{5F24}\x{5F25}' .
+'\x{5F26}\x{5F27}\x{5F28}\x{5F29}\x{5F2A}\x{5F2B}\x{5F2C}\x{5F2D}\x{5F2E}' .
+'\x{5F2F}\x{5F30}\x{5F31}\x{5F32}\x{5F33}\x{5F34}\x{5F35}\x{5F36}\x{5F37}' .
+'\x{5F38}\x{5F39}\x{5F3A}\x{5F3C}\x{5F3E}\x{5F3F}\x{5F40}\x{5F41}\x{5F42}' .
+'\x{5F43}\x{5F44}\x{5F45}\x{5F46}\x{5F47}\x{5F48}\x{5F49}\x{5F4A}\x{5F4B}' .
+'\x{5F4C}\x{5F4D}\x{5F4E}\x{5F4F}\x{5F50}\x{5F51}\x{5F52}\x{5F53}\x{5F54}' .
+'\x{5F55}\x{5F56}\x{5F57}\x{5F58}\x{5F59}\x{5F5A}\x{5F5B}\x{5F5C}\x{5F5D}' .
+'\x{5F5E}\x{5F5F}\x{5F60}\x{5F61}\x{5F62}\x{5F63}\x{5F64}\x{5F65}\x{5F66}' .
+'\x{5F67}\x{5F68}\x{5F69}\x{5F6A}\x{5F6B}\x{5F6C}\x{5F6D}\x{5F6E}\x{5F6F}' .
+'\x{5F70}\x{5F71}\x{5F72}\x{5F73}\x{5F74}\x{5F75}\x{5F76}\x{5F77}\x{5F78}' .
+'\x{5F79}\x{5F7A}\x{5F7B}\x{5F7C}\x{5F7D}\x{5F7E}\x{5F7F}\x{5F80}\x{5F81}' .
+'\x{5F82}\x{5F83}\x{5F84}\x{5F85}\x{5F86}\x{5F87}\x{5F88}\x{5F89}\x{5F8A}' .
+'\x{5F8B}\x{5F8C}\x{5F8D}\x{5F8E}\x{5F90}\x{5F91}\x{5F92}\x{5F93}\x{5F94}' .
+'\x{5F95}\x{5F96}\x{5F97}\x{5F98}\x{5F99}\x{5F9B}\x{5F9C}\x{5F9D}\x{5F9E}' .
+'\x{5F9F}\x{5FA0}\x{5FA1}\x{5FA2}\x{5FA5}\x{5FA6}\x{5FA7}\x{5FA8}\x{5FA9}' .
+'\x{5FAA}\x{5FAB}\x{5FAC}\x{5FAD}\x{5FAE}\x{5FAF}\x{5FB1}\x{5FB2}\x{5FB3}' .
+'\x{5FB4}\x{5FB5}\x{5FB6}\x{5FB7}\x{5FB8}\x{5FB9}\x{5FBA}\x{5FBB}\x{5FBC}' .
+'\x{5FBD}\x{5FBE}\x{5FBF}\x{5FC0}\x{5FC1}\x{5FC3}\x{5FC4}\x{5FC5}\x{5FC6}' .
+'\x{5FC7}\x{5FC8}\x{5FC9}\x{5FCA}\x{5FCB}\x{5FCC}\x{5FCD}\x{5FCF}\x{5FD0}' .
+'\x{5FD1}\x{5FD2}\x{5FD3}\x{5FD4}\x{5FD5}\x{5FD6}\x{5FD7}\x{5FD8}\x{5FD9}' .
+'\x{5FDA}\x{5FDC}\x{5FDD}\x{5FDE}\x{5FE0}\x{5FE1}\x{5FE3}\x{5FE4}\x{5FE5}' .
+'\x{5FE6}\x{5FE7}\x{5FE8}\x{5FE9}\x{5FEA}\x{5FEB}\x{5FED}\x{5FEE}\x{5FEF}' .
+'\x{5FF0}\x{5FF1}\x{5FF2}\x{5FF3}\x{5FF4}\x{5FF5}\x{5FF6}\x{5FF7}\x{5FF8}' .
+'\x{5FF9}\x{5FFA}\x{5FFB}\x{5FFD}\x{5FFE}\x{5FFF}\x{6000}\x{6001}\x{6002}' .
+'\x{6003}\x{6004}\x{6005}\x{6006}\x{6007}\x{6008}\x{6009}\x{600A}\x{600B}' .
+'\x{600C}\x{600D}\x{600E}\x{600F}\x{6010}\x{6011}\x{6012}\x{6013}\x{6014}' .
+'\x{6015}\x{6016}\x{6017}\x{6018}\x{6019}\x{601A}\x{601B}\x{601C}\x{601D}' .
+'\x{601E}\x{601F}\x{6020}\x{6021}\x{6022}\x{6024}\x{6025}\x{6026}\x{6027}' .
+'\x{6028}\x{6029}\x{602A}\x{602B}\x{602C}\x{602D}\x{602E}\x{602F}\x{6030}' .
+'\x{6031}\x{6032}\x{6033}\x{6034}\x{6035}\x{6036}\x{6037}\x{6038}\x{6039}' .
+'\x{603A}\x{603B}\x{603C}\x{603D}\x{603E}\x{603F}\x{6040}\x{6041}\x{6042}' .
+'\x{6043}\x{6044}\x{6045}\x{6046}\x{6047}\x{6048}\x{6049}\x{604A}\x{604B}' .
+'\x{604C}\x{604D}\x{604E}\x{604F}\x{6050}\x{6051}\x{6052}\x{6053}\x{6054}' .
+'\x{6055}\x{6057}\x{6058}\x{6059}\x{605A}\x{605B}\x{605C}\x{605D}\x{605E}' .
+'\x{605F}\x{6062}\x{6063}\x{6064}\x{6065}\x{6066}\x{6067}\x{6068}\x{6069}' .
+'\x{606A}\x{606B}\x{606C}\x{606D}\x{606E}\x{606F}\x{6070}\x{6072}\x{6073}' .
+'\x{6075}\x{6076}\x{6077}\x{6078}\x{6079}\x{607A}\x{607B}\x{607C}\x{607D}' .
+'\x{607E}\x{607F}\x{6080}\x{6081}\x{6082}\x{6083}\x{6084}\x{6085}\x{6086}' .
+'\x{6087}\x{6088}\x{6089}\x{608A}\x{608B}\x{608C}\x{608D}\x{608E}\x{608F}' .
+'\x{6090}\x{6092}\x{6094}\x{6095}\x{6096}\x{6097}\x{6098}\x{6099}\x{609A}' .
+'\x{609B}\x{609C}\x{609D}\x{609E}\x{609F}\x{60A0}\x{60A1}\x{60A2}\x{60A3}' .
+'\x{60A4}\x{60A6}\x{60A7}\x{60A8}\x{60AA}\x{60AB}\x{60AC}\x{60AD}\x{60AE}' .
+'\x{60AF}\x{60B0}\x{60B1}\x{60B2}\x{60B3}\x{60B4}\x{60B5}\x{60B6}\x{60B7}' .
+'\x{60B8}\x{60B9}\x{60BA}\x{60BB}\x{60BC}\x{60BD}\x{60BE}\x{60BF}\x{60C0}' .
+'\x{60C1}\x{60C2}\x{60C3}\x{60C4}\x{60C5}\x{60C6}\x{60C7}\x{60C8}\x{60C9}' .
+'\x{60CA}\x{60CB}\x{60CC}\x{60CD}\x{60CE}\x{60CF}\x{60D0}\x{60D1}\x{60D3}' .
+'\x{60D4}\x{60D5}\x{60D7}\x{60D8}\x{60D9}\x{60DA}\x{60DB}\x{60DC}\x{60DD}' .
+'\x{60DF}\x{60E0}\x{60E1}\x{60E2}\x{60E4}\x{60E6}\x{60E7}\x{60E8}\x{60E9}' .
+'\x{60EA}\x{60EB}\x{60EC}\x{60ED}\x{60EE}\x{60EF}\x{60F0}\x{60F1}\x{60F2}' .
+'\x{60F3}\x{60F4}\x{60F5}\x{60F6}\x{60F7}\x{60F8}\x{60F9}\x{60FA}\x{60FB}' .
+'\x{60FC}\x{60FE}\x{60FF}\x{6100}\x{6101}\x{6103}\x{6104}\x{6105}\x{6106}' .
+'\x{6108}\x{6109}\x{610A}\x{610B}\x{610C}\x{610D}\x{610E}\x{610F}\x{6110}' .
+'\x{6112}\x{6113}\x{6114}\x{6115}\x{6116}\x{6117}\x{6118}\x{6119}\x{611A}' .
+'\x{611B}\x{611C}\x{611D}\x{611F}\x{6120}\x{6122}\x{6123}\x{6124}\x{6125}' .
+'\x{6126}\x{6127}\x{6128}\x{6129}\x{612A}\x{612B}\x{612C}\x{612D}\x{612E}' .
+'\x{612F}\x{6130}\x{6132}\x{6134}\x{6136}\x{6137}\x{613A}\x{613B}\x{613C}' .
+'\x{613D}\x{613E}\x{613F}\x{6140}\x{6141}\x{6142}\x{6143}\x{6144}\x{6145}' .
+'\x{6146}\x{6147}\x{6148}\x{6149}\x{614A}\x{614B}\x{614C}\x{614D}\x{614E}' .
+'\x{614F}\x{6150}\x{6151}\x{6152}\x{6153}\x{6154}\x{6155}\x{6156}\x{6157}' .
+'\x{6158}\x{6159}\x{615A}\x{615B}\x{615C}\x{615D}\x{615E}\x{615F}\x{6161}' .
+'\x{6162}\x{6163}\x{6164}\x{6165}\x{6166}\x{6167}\x{6168}\x{6169}\x{616A}' .
+'\x{616B}\x{616C}\x{616D}\x{616E}\x{6170}\x{6171}\x{6172}\x{6173}\x{6174}' .
+'\x{6175}\x{6176}\x{6177}\x{6178}\x{6179}\x{617A}\x{617C}\x{617E}\x{6180}' .
+'\x{6181}\x{6182}\x{6183}\x{6184}\x{6185}\x{6187}\x{6188}\x{6189}\x{618A}' .
+'\x{618B}\x{618C}\x{618D}\x{618E}\x{618F}\x{6190}\x{6191}\x{6192}\x{6193}' .
+'\x{6194}\x{6195}\x{6196}\x{6198}\x{6199}\x{619A}\x{619B}\x{619D}\x{619E}' .
+'\x{619F}\x{61A0}\x{61A1}\x{61A2}\x{61A3}\x{61A4}\x{61A5}\x{61A6}\x{61A7}' .
+'\x{61A8}\x{61A9}\x{61AA}\x{61AB}\x{61AC}\x{61AD}\x{61AE}\x{61AF}\x{61B0}' .
+'\x{61B1}\x{61B2}\x{61B3}\x{61B4}\x{61B5}\x{61B6}\x{61B7}\x{61B8}\x{61BA}' .
+'\x{61BC}\x{61BD}\x{61BE}\x{61BF}\x{61C0}\x{61C1}\x{61C2}\x{61C3}\x{61C4}' .
+'\x{61C5}\x{61C6}\x{61C7}\x{61C8}\x{61C9}\x{61CA}\x{61CB}\x{61CC}\x{61CD}' .
+'\x{61CE}\x{61CF}\x{61D0}\x{61D1}\x{61D2}\x{61D4}\x{61D6}\x{61D7}\x{61D8}' .
+'\x{61D9}\x{61DA}\x{61DB}\x{61DC}\x{61DD}\x{61DE}\x{61DF}\x{61E0}\x{61E1}' .
+'\x{61E2}\x{61E3}\x{61E4}\x{61E5}\x{61E6}\x{61E7}\x{61E8}\x{61E9}\x{61EA}' .
+'\x{61EB}\x{61ED}\x{61EE}\x{61F0}\x{61F1}\x{61F2}\x{61F3}\x{61F5}\x{61F6}' .
+'\x{61F7}\x{61F8}\x{61F9}\x{61FA}\x{61FB}\x{61FC}\x{61FD}\x{61FE}\x{61FF}' .
+'\x{6200}\x{6201}\x{6202}\x{6203}\x{6204}\x{6206}\x{6207}\x{6208}\x{6209}' .
+'\x{620A}\x{620B}\x{620C}\x{620D}\x{620E}\x{620F}\x{6210}\x{6211}\x{6212}' .
+'\x{6213}\x{6214}\x{6215}\x{6216}\x{6217}\x{6218}\x{6219}\x{621A}\x{621B}' .
+'\x{621C}\x{621D}\x{621E}\x{621F}\x{6220}\x{6221}\x{6222}\x{6223}\x{6224}' .
+'\x{6225}\x{6226}\x{6227}\x{6228}\x{6229}\x{622A}\x{622B}\x{622C}\x{622D}' .
+'\x{622E}\x{622F}\x{6230}\x{6231}\x{6232}\x{6233}\x{6234}\x{6236}\x{6237}' .
+'\x{6238}\x{623A}\x{623B}\x{623C}\x{623D}\x{623E}\x{623F}\x{6240}\x{6241}' .
+'\x{6242}\x{6243}\x{6244}\x{6245}\x{6246}\x{6247}\x{6248}\x{6249}\x{624A}' .
+'\x{624B}\x{624C}\x{624D}\x{624E}\x{624F}\x{6250}\x{6251}\x{6252}\x{6253}' .
+'\x{6254}\x{6255}\x{6256}\x{6258}\x{6259}\x{625A}\x{625B}\x{625C}\x{625D}' .
+'\x{625E}\x{625F}\x{6260}\x{6261}\x{6262}\x{6263}\x{6264}\x{6265}\x{6266}' .
+'\x{6267}\x{6268}\x{6269}\x{626A}\x{626B}\x{626C}\x{626D}\x{626E}\x{626F}' .
+'\x{6270}\x{6271}\x{6272}\x{6273}\x{6274}\x{6275}\x{6276}\x{6277}\x{6278}' .
+'\x{6279}\x{627A}\x{627B}\x{627C}\x{627D}\x{627E}\x{627F}\x{6280}\x{6281}' .
+'\x{6283}\x{6284}\x{6285}\x{6286}\x{6287}\x{6288}\x{6289}\x{628A}\x{628B}' .
+'\x{628C}\x{628E}\x{628F}\x{6290}\x{6291}\x{6292}\x{6293}\x{6294}\x{6295}' .
+'\x{6296}\x{6297}\x{6298}\x{6299}\x{629A}\x{629B}\x{629C}\x{629E}\x{629F}' .
+'\x{62A0}\x{62A1}\x{62A2}\x{62A3}\x{62A4}\x{62A5}\x{62A7}\x{62A8}\x{62A9}' .
+'\x{62AA}\x{62AB}\x{62AC}\x{62AD}\x{62AE}\x{62AF}\x{62B0}\x{62B1}\x{62B2}' .
+'\x{62B3}\x{62B4}\x{62B5}\x{62B6}\x{62B7}\x{62B8}\x{62B9}\x{62BA}\x{62BB}' .
+'\x{62BC}\x{62BD}\x{62BE}\x{62BF}\x{62C0}\x{62C1}\x{62C2}\x{62C3}\x{62C4}' .
+'\x{62C5}\x{62C6}\x{62C7}\x{62C8}\x{62C9}\x{62CA}\x{62CB}\x{62CC}\x{62CD}' .
+'\x{62CE}\x{62CF}\x{62D0}\x{62D1}\x{62D2}\x{62D3}\x{62D4}\x{62D5}\x{62D6}' .
+'\x{62D7}\x{62D8}\x{62D9}\x{62DA}\x{62DB}\x{62DC}\x{62DD}\x{62DF}\x{62E0}' .
+'\x{62E1}\x{62E2}\x{62E3}\x{62E4}\x{62E5}\x{62E6}\x{62E7}\x{62E8}\x{62E9}' .
+'\x{62EB}\x{62EC}\x{62ED}\x{62EE}\x{62EF}\x{62F0}\x{62F1}\x{62F2}\x{62F3}' .
+'\x{62F4}\x{62F5}\x{62F6}\x{62F7}\x{62F8}\x{62F9}\x{62FA}\x{62FB}\x{62FC}' .
+'\x{62FD}\x{62FE}\x{62FF}\x{6300}\x{6301}\x{6302}\x{6303}\x{6304}\x{6305}' .
+'\x{6306}\x{6307}\x{6308}\x{6309}\x{630B}\x{630C}\x{630D}\x{630E}\x{630F}' .
+'\x{6310}\x{6311}\x{6312}\x{6313}\x{6314}\x{6315}\x{6316}\x{6318}\x{6319}' .
+'\x{631A}\x{631B}\x{631C}\x{631D}\x{631E}\x{631F}\x{6320}\x{6321}\x{6322}' .
+'\x{6323}\x{6324}\x{6325}\x{6326}\x{6327}\x{6328}\x{6329}\x{632A}\x{632B}' .
+'\x{632C}\x{632D}\x{632E}\x{632F}\x{6330}\x{6332}\x{6333}\x{6334}\x{6336}' .
+'\x{6338}\x{6339}\x{633A}\x{633B}\x{633C}\x{633D}\x{633E}\x{6340}\x{6341}' .
+'\x{6342}\x{6343}\x{6344}\x{6345}\x{6346}\x{6347}\x{6348}\x{6349}\x{634A}' .
+'\x{634B}\x{634C}\x{634D}\x{634E}\x{634F}\x{6350}\x{6351}\x{6352}\x{6353}' .
+'\x{6354}\x{6355}\x{6356}\x{6357}\x{6358}\x{6359}\x{635A}\x{635C}\x{635D}' .
+'\x{635E}\x{635F}\x{6360}\x{6361}\x{6362}\x{6363}\x{6364}\x{6365}\x{6366}' .
+'\x{6367}\x{6368}\x{6369}\x{636A}\x{636B}\x{636C}\x{636D}\x{636E}\x{636F}' .
+'\x{6370}\x{6371}\x{6372}\x{6373}\x{6374}\x{6375}\x{6376}\x{6377}\x{6378}' .
+'\x{6379}\x{637A}\x{637B}\x{637C}\x{637D}\x{637E}\x{6380}\x{6381}\x{6382}' .
+'\x{6383}\x{6384}\x{6385}\x{6386}\x{6387}\x{6388}\x{6389}\x{638A}\x{638C}' .
+'\x{638D}\x{638E}\x{638F}\x{6390}\x{6391}\x{6392}\x{6394}\x{6395}\x{6396}' .
+'\x{6397}\x{6398}\x{6399}\x{639A}\x{639B}\x{639C}\x{639D}\x{639E}\x{639F}' .
+'\x{63A0}\x{63A1}\x{63A2}\x{63A3}\x{63A4}\x{63A5}\x{63A6}\x{63A7}\x{63A8}' .
+'\x{63A9}\x{63AA}\x{63AB}\x{63AC}\x{63AD}\x{63AE}\x{63AF}\x{63B0}\x{63B1}' .
+'\x{63B2}\x{63B3}\x{63B4}\x{63B5}\x{63B6}\x{63B7}\x{63B8}\x{63B9}\x{63BA}' .
+'\x{63BC}\x{63BD}\x{63BE}\x{63BF}\x{63C0}\x{63C1}\x{63C2}\x{63C3}\x{63C4}' .
+'\x{63C5}\x{63C6}\x{63C7}\x{63C8}\x{63C9}\x{63CA}\x{63CB}\x{63CC}\x{63CD}' .
+'\x{63CE}\x{63CF}\x{63D0}\x{63D2}\x{63D3}\x{63D4}\x{63D5}\x{63D6}\x{63D7}' .
+'\x{63D8}\x{63D9}\x{63DA}\x{63DB}\x{63DC}\x{63DD}\x{63DE}\x{63DF}\x{63E0}' .
+'\x{63E1}\x{63E2}\x{63E3}\x{63E4}\x{63E5}\x{63E6}\x{63E7}\x{63E8}\x{63E9}' .
+'\x{63EA}\x{63EB}\x{63EC}\x{63ED}\x{63EE}\x{63EF}\x{63F0}\x{63F1}\x{63F2}' .
+'\x{63F3}\x{63F4}\x{63F5}\x{63F6}\x{63F7}\x{63F8}\x{63F9}\x{63FA}\x{63FB}' .
+'\x{63FC}\x{63FD}\x{63FE}\x{63FF}\x{6400}\x{6401}\x{6402}\x{6403}\x{6404}' .
+'\x{6405}\x{6406}\x{6408}\x{6409}\x{640A}\x{640B}\x{640C}\x{640D}\x{640E}' .
+'\x{640F}\x{6410}\x{6411}\x{6412}\x{6413}\x{6414}\x{6415}\x{6416}\x{6417}' .
+'\x{6418}\x{6419}\x{641A}\x{641B}\x{641C}\x{641D}\x{641E}\x{641F}\x{6420}' .
+'\x{6421}\x{6422}\x{6423}\x{6424}\x{6425}\x{6426}\x{6427}\x{6428}\x{6429}' .
+'\x{642A}\x{642B}\x{642C}\x{642D}\x{642E}\x{642F}\x{6430}\x{6431}\x{6432}' .
+'\x{6433}\x{6434}\x{6435}\x{6436}\x{6437}\x{6438}\x{6439}\x{643A}\x{643D}' .
+'\x{643E}\x{643F}\x{6440}\x{6441}\x{6443}\x{6444}\x{6445}\x{6446}\x{6447}' .
+'\x{6448}\x{644A}\x{644B}\x{644C}\x{644D}\x{644E}\x{644F}\x{6450}\x{6451}' .
+'\x{6452}\x{6453}\x{6454}\x{6455}\x{6456}\x{6457}\x{6458}\x{6459}\x{645B}' .
+'\x{645C}\x{645D}\x{645E}\x{645F}\x{6460}\x{6461}\x{6462}\x{6463}\x{6464}' .
+'\x{6465}\x{6466}\x{6467}\x{6468}\x{6469}\x{646A}\x{646B}\x{646C}\x{646D}' .
+'\x{646E}\x{646F}\x{6470}\x{6471}\x{6472}\x{6473}\x{6474}\x{6475}\x{6476}' .
+'\x{6477}\x{6478}\x{6479}\x{647A}\x{647B}\x{647C}\x{647D}\x{647F}\x{6480}' .
+'\x{6481}\x{6482}\x{6483}\x{6484}\x{6485}\x{6487}\x{6488}\x{6489}\x{648A}' .
+'\x{648B}\x{648C}\x{648D}\x{648E}\x{648F}\x{6490}\x{6491}\x{6492}\x{6493}' .
+'\x{6494}\x{6495}\x{6496}\x{6497}\x{6498}\x{6499}\x{649A}\x{649B}\x{649C}' .
+'\x{649D}\x{649E}\x{649F}\x{64A0}\x{64A2}\x{64A3}\x{64A4}\x{64A5}\x{64A6}' .
+'\x{64A7}\x{64A8}\x{64A9}\x{64AA}\x{64AB}\x{64AC}\x{64AD}\x{64AE}\x{64B0}' .
+'\x{64B1}\x{64B2}\x{64B3}\x{64B4}\x{64B5}\x{64B7}\x{64B8}\x{64B9}\x{64BA}' .
+'\x{64BB}\x{64BC}\x{64BD}\x{64BE}\x{64BF}\x{64C0}\x{64C1}\x{64C2}\x{64C3}' .
+'\x{64C4}\x{64C5}\x{64C6}\x{64C7}\x{64C9}\x{64CA}\x{64CB}\x{64CC}\x{64CD}' .
+'\x{64CE}\x{64CF}\x{64D0}\x{64D1}\x{64D2}\x{64D3}\x{64D4}\x{64D6}\x{64D7}' .
+'\x{64D8}\x{64D9}\x{64DA}\x{64DB}\x{64DC}\x{64DD}\x{64DE}\x{64DF}\x{64E0}' .
+'\x{64E2}\x{64E3}\x{64E4}\x{64E6}\x{64E7}\x{64E8}\x{64E9}\x{64EA}\x{64EB}' .
+'\x{64EC}\x{64ED}\x{64EF}\x{64F0}\x{64F1}\x{64F2}\x{64F3}\x{64F4}\x{64F6}' .
+'\x{64F7}\x{64F8}\x{64FA}\x{64FB}\x{64FC}\x{64FD}\x{64FE}\x{64FF}\x{6500}' .
+'\x{6501}\x{6503}\x{6504}\x{6505}\x{6506}\x{6507}\x{6508}\x{6509}\x{650B}' .
+'\x{650C}\x{650D}\x{650E}\x{650F}\x{6510}\x{6511}\x{6512}\x{6513}\x{6514}' .
+'\x{6515}\x{6516}\x{6517}\x{6518}\x{6519}\x{651A}\x{651B}\x{651C}\x{651D}' .
+'\x{651E}\x{6520}\x{6521}\x{6522}\x{6523}\x{6524}\x{6525}\x{6526}\x{6527}' .
+'\x{6529}\x{652A}\x{652B}\x{652C}\x{652D}\x{652E}\x{652F}\x{6530}\x{6531}' .
+'\x{6532}\x{6533}\x{6534}\x{6535}\x{6536}\x{6537}\x{6538}\x{6539}\x{653A}' .
+'\x{653B}\x{653C}\x{653D}\x{653E}\x{653F}\x{6541}\x{6543}\x{6544}\x{6545}' .
+'\x{6546}\x{6547}\x{6548}\x{6549}\x{654A}\x{654B}\x{654C}\x{654D}\x{654E}' .
+'\x{654F}\x{6550}\x{6551}\x{6552}\x{6553}\x{6554}\x{6555}\x{6556}\x{6557}' .
+'\x{6558}\x{6559}\x{655B}\x{655C}\x{655D}\x{655E}\x{6560}\x{6561}\x{6562}' .
+'\x{6563}\x{6564}\x{6565}\x{6566}\x{6567}\x{6568}\x{6569}\x{656A}\x{656B}' .
+'\x{656C}\x{656E}\x{656F}\x{6570}\x{6571}\x{6572}\x{6573}\x{6574}\x{6575}' .
+'\x{6576}\x{6577}\x{6578}\x{6579}\x{657A}\x{657B}\x{657C}\x{657E}\x{657F}' .
+'\x{6580}\x{6581}\x{6582}\x{6583}\x{6584}\x{6585}\x{6586}\x{6587}\x{6588}' .
+'\x{6589}\x{658B}\x{658C}\x{658D}\x{658E}\x{658F}\x{6590}\x{6591}\x{6592}' .
+'\x{6593}\x{6594}\x{6595}\x{6596}\x{6597}\x{6598}\x{6599}\x{659B}\x{659C}' .
+'\x{659D}\x{659E}\x{659F}\x{65A0}\x{65A1}\x{65A2}\x{65A3}\x{65A4}\x{65A5}' .
+'\x{65A6}\x{65A7}\x{65A8}\x{65A9}\x{65AA}\x{65AB}\x{65AC}\x{65AD}\x{65AE}' .
+'\x{65AF}\x{65B0}\x{65B1}\x{65B2}\x{65B3}\x{65B4}\x{65B6}\x{65B7}\x{65B8}' .
+'\x{65B9}\x{65BA}\x{65BB}\x{65BC}\x{65BD}\x{65BF}\x{65C0}\x{65C1}\x{65C2}' .
+'\x{65C3}\x{65C4}\x{65C5}\x{65C6}\x{65C7}\x{65CA}\x{65CB}\x{65CC}\x{65CD}' .
+'\x{65CE}\x{65CF}\x{65D0}\x{65D2}\x{65D3}\x{65D4}\x{65D5}\x{65D6}\x{65D7}' .
+'\x{65DA}\x{65DB}\x{65DD}\x{65DE}\x{65DF}\x{65E0}\x{65E1}\x{65E2}\x{65E3}' .
+'\x{65E5}\x{65E6}\x{65E7}\x{65E8}\x{65E9}\x{65EB}\x{65EC}\x{65ED}\x{65EE}' .
+'\x{65EF}\x{65F0}\x{65F1}\x{65F2}\x{65F3}\x{65F4}\x{65F5}\x{65F6}\x{65F7}' .
+'\x{65F8}\x{65FA}\x{65FB}\x{65FC}\x{65FD}\x{6600}\x{6601}\x{6602}\x{6603}' .
+'\x{6604}\x{6605}\x{6606}\x{6607}\x{6608}\x{6609}\x{660A}\x{660B}\x{660C}' .
+'\x{660D}\x{660E}\x{660F}\x{6610}\x{6611}\x{6612}\x{6613}\x{6614}\x{6615}' .
+'\x{6616}\x{6618}\x{6619}\x{661A}\x{661B}\x{661C}\x{661D}\x{661F}\x{6620}' .
+'\x{6621}\x{6622}\x{6623}\x{6624}\x{6625}\x{6626}\x{6627}\x{6628}\x{6629}' .
+'\x{662A}\x{662B}\x{662D}\x{662E}\x{662F}\x{6630}\x{6631}\x{6632}\x{6633}' .
+'\x{6634}\x{6635}\x{6636}\x{6639}\x{663A}\x{663C}\x{663D}\x{663E}\x{6640}' .
+'\x{6641}\x{6642}\x{6643}\x{6644}\x{6645}\x{6646}\x{6647}\x{6649}\x{664A}' .
+'\x{664B}\x{664C}\x{664E}\x{664F}\x{6650}\x{6651}\x{6652}\x{6653}\x{6654}' .
+'\x{6655}\x{6656}\x{6657}\x{6658}\x{6659}\x{665A}\x{665B}\x{665C}\x{665D}' .
+'\x{665E}\x{665F}\x{6661}\x{6662}\x{6664}\x{6665}\x{6666}\x{6668}\x{6669}' .
+'\x{666A}\x{666B}\x{666C}\x{666D}\x{666E}\x{666F}\x{6670}\x{6671}\x{6672}' .
+'\x{6673}\x{6674}\x{6675}\x{6676}\x{6677}\x{6678}\x{6679}\x{667A}\x{667B}' .
+'\x{667C}\x{667D}\x{667E}\x{667F}\x{6680}\x{6681}\x{6682}\x{6683}\x{6684}' .
+'\x{6685}\x{6686}\x{6687}\x{6688}\x{6689}\x{668A}\x{668B}\x{668C}\x{668D}' .
+'\x{668E}\x{668F}\x{6690}\x{6691}\x{6693}\x{6694}\x{6695}\x{6696}\x{6697}' .
+'\x{6698}\x{6699}\x{669A}\x{669B}\x{669D}\x{669F}\x{66A0}\x{66A1}\x{66A2}' .
+'\x{66A3}\x{66A4}\x{66A5}\x{66A6}\x{66A7}\x{66A8}\x{66A9}\x{66AA}\x{66AB}' .
+'\x{66AE}\x{66AF}\x{66B0}\x{66B1}\x{66B2}\x{66B3}\x{66B4}\x{66B5}\x{66B6}' .
+'\x{66B7}\x{66B8}\x{66B9}\x{66BA}\x{66BB}\x{66BC}\x{66BD}\x{66BE}\x{66BF}' .
+'\x{66C0}\x{66C1}\x{66C2}\x{66C3}\x{66C4}\x{66C5}\x{66C6}\x{66C7}\x{66C8}' .
+'\x{66C9}\x{66CA}\x{66CB}\x{66CC}\x{66CD}\x{66CE}\x{66CF}\x{66D1}\x{66D2}' .
+'\x{66D4}\x{66D5}\x{66D6}\x{66D8}\x{66D9}\x{66DA}\x{66DB}\x{66DC}\x{66DD}' .
+'\x{66DE}\x{66E0}\x{66E1}\x{66E2}\x{66E3}\x{66E4}\x{66E5}\x{66E6}\x{66E7}' .
+'\x{66E8}\x{66E9}\x{66EA}\x{66EB}\x{66EC}\x{66ED}\x{66EE}\x{66F0}\x{66F1}' .
+'\x{66F2}\x{66F3}\x{66F4}\x{66F5}\x{66F6}\x{66F7}\x{66F8}\x{66F9}\x{66FA}' .
+'\x{66FB}\x{66FC}\x{66FE}\x{66FF}\x{6700}\x{6701}\x{6703}\x{6704}\x{6705}' .
+'\x{6706}\x{6708}\x{6709}\x{670A}\x{670B}\x{670C}\x{670D}\x{670E}\x{670F}' .
+'\x{6710}\x{6711}\x{6712}\x{6713}\x{6714}\x{6715}\x{6716}\x{6717}\x{6718}' .
+'\x{671A}\x{671B}\x{671C}\x{671D}\x{671E}\x{671F}\x{6720}\x{6721}\x{6722}' .
+'\x{6723}\x{6725}\x{6726}\x{6727}\x{6728}\x{672A}\x{672B}\x{672C}\x{672D}' .
+'\x{672E}\x{672F}\x{6730}\x{6731}\x{6732}\x{6733}\x{6734}\x{6735}\x{6736}' .
+'\x{6737}\x{6738}\x{6739}\x{673A}\x{673B}\x{673C}\x{673D}\x{673E}\x{673F}' .
+'\x{6740}\x{6741}\x{6742}\x{6743}\x{6744}\x{6745}\x{6746}\x{6747}\x{6748}' .
+'\x{6749}\x{674A}\x{674B}\x{674C}\x{674D}\x{674E}\x{674F}\x{6750}\x{6751}' .
+'\x{6752}\x{6753}\x{6754}\x{6755}\x{6756}\x{6757}\x{6758}\x{6759}\x{675A}' .
+'\x{675B}\x{675C}\x{675D}\x{675E}\x{675F}\x{6760}\x{6761}\x{6762}\x{6763}' .
+'\x{6764}\x{6765}\x{6766}\x{6768}\x{6769}\x{676A}\x{676B}\x{676C}\x{676D}' .
+'\x{676E}\x{676F}\x{6770}\x{6771}\x{6772}\x{6773}\x{6774}\x{6775}\x{6776}' .
+'\x{6777}\x{6778}\x{6779}\x{677A}\x{677B}\x{677C}\x{677D}\x{677E}\x{677F}' .
+'\x{6780}\x{6781}\x{6782}\x{6783}\x{6784}\x{6785}\x{6786}\x{6787}\x{6789}' .
+'\x{678A}\x{678B}\x{678C}\x{678D}\x{678E}\x{678F}\x{6790}\x{6791}\x{6792}' .
+'\x{6793}\x{6794}\x{6795}\x{6797}\x{6798}\x{6799}\x{679A}\x{679B}\x{679C}' .
+'\x{679D}\x{679E}\x{679F}\x{67A0}\x{67A1}\x{67A2}\x{67A3}\x{67A4}\x{67A5}' .
+'\x{67A6}\x{67A7}\x{67A8}\x{67AA}\x{67AB}\x{67AC}\x{67AD}\x{67AE}\x{67AF}' .
+'\x{67B0}\x{67B1}\x{67B2}\x{67B3}\x{67B4}\x{67B5}\x{67B6}\x{67B7}\x{67B8}' .
+'\x{67B9}\x{67BA}\x{67BB}\x{67BC}\x{67BE}\x{67C0}\x{67C1}\x{67C2}\x{67C3}' .
+'\x{67C4}\x{67C5}\x{67C6}\x{67C7}\x{67C8}\x{67C9}\x{67CA}\x{67CB}\x{67CC}' .
+'\x{67CD}\x{67CE}\x{67CF}\x{67D0}\x{67D1}\x{67D2}\x{67D3}\x{67D4}\x{67D6}' .
+'\x{67D8}\x{67D9}\x{67DA}\x{67DB}\x{67DC}\x{67DD}\x{67DE}\x{67DF}\x{67E0}' .
+'\x{67E1}\x{67E2}\x{67E3}\x{67E4}\x{67E5}\x{67E6}\x{67E7}\x{67E8}\x{67E9}' .
+'\x{67EA}\x{67EB}\x{67EC}\x{67ED}\x{67EE}\x{67EF}\x{67F0}\x{67F1}\x{67F2}' .
+'\x{67F3}\x{67F4}\x{67F5}\x{67F6}\x{67F7}\x{67F8}\x{67FA}\x{67FB}\x{67FC}' .
+'\x{67FD}\x{67FE}\x{67FF}\x{6800}\x{6802}\x{6803}\x{6804}\x{6805}\x{6806}' .
+'\x{6807}\x{6808}\x{6809}\x{680A}\x{680B}\x{680C}\x{680D}\x{680E}\x{680F}' .
+'\x{6810}\x{6811}\x{6812}\x{6813}\x{6814}\x{6816}\x{6817}\x{6818}\x{6819}' .
+'\x{681A}\x{681B}\x{681C}\x{681D}\x{681F}\x{6820}\x{6821}\x{6822}\x{6823}' .
+'\x{6824}\x{6825}\x{6826}\x{6828}\x{6829}\x{682A}\x{682B}\x{682C}\x{682D}' .
+'\x{682E}\x{682F}\x{6831}\x{6832}\x{6833}\x{6834}\x{6835}\x{6836}\x{6837}' .
+'\x{6838}\x{6839}\x{683A}\x{683B}\x{683C}\x{683D}\x{683E}\x{683F}\x{6840}' .
+'\x{6841}\x{6842}\x{6843}\x{6844}\x{6845}\x{6846}\x{6847}\x{6848}\x{6849}' .
+'\x{684A}\x{684B}\x{684C}\x{684D}\x{684E}\x{684F}\x{6850}\x{6851}\x{6852}' .
+'\x{6853}\x{6854}\x{6855}\x{6856}\x{6857}\x{685B}\x{685D}\x{6860}\x{6861}' .
+'\x{6862}\x{6863}\x{6864}\x{6865}\x{6866}\x{6867}\x{6868}\x{6869}\x{686A}' .
+'\x{686B}\x{686C}\x{686D}\x{686E}\x{686F}\x{6870}\x{6871}\x{6872}\x{6873}' .
+'\x{6874}\x{6875}\x{6876}\x{6877}\x{6878}\x{6879}\x{687B}\x{687C}\x{687D}' .
+'\x{687E}\x{687F}\x{6880}\x{6881}\x{6882}\x{6883}\x{6884}\x{6885}\x{6886}' .
+'\x{6887}\x{6888}\x{6889}\x{688A}\x{688B}\x{688C}\x{688D}\x{688E}\x{688F}' .
+'\x{6890}\x{6891}\x{6892}\x{6893}\x{6894}\x{6896}\x{6897}\x{6898}\x{689A}' .
+'\x{689B}\x{689C}\x{689D}\x{689E}\x{689F}\x{68A0}\x{68A1}\x{68A2}\x{68A3}' .
+'\x{68A4}\x{68A6}\x{68A7}\x{68A8}\x{68A9}\x{68AA}\x{68AB}\x{68AC}\x{68AD}' .
+'\x{68AE}\x{68AF}\x{68B0}\x{68B1}\x{68B2}\x{68B3}\x{68B4}\x{68B5}\x{68B6}' .
+'\x{68B7}\x{68B9}\x{68BB}\x{68BC}\x{68BD}\x{68BE}\x{68BF}\x{68C0}\x{68C1}' .
+'\x{68C2}\x{68C4}\x{68C6}\x{68C7}\x{68C8}\x{68C9}\x{68CA}\x{68CB}\x{68CC}' .
+'\x{68CD}\x{68CE}\x{68CF}\x{68D0}\x{68D1}\x{68D2}\x{68D3}\x{68D4}\x{68D5}' .
+'\x{68D6}\x{68D7}\x{68D8}\x{68DA}\x{68DB}\x{68DC}\x{68DD}\x{68DE}\x{68DF}' .
+'\x{68E0}\x{68E1}\x{68E3}\x{68E4}\x{68E6}\x{68E7}\x{68E8}\x{68E9}\x{68EA}' .
+'\x{68EB}\x{68EC}\x{68ED}\x{68EE}\x{68EF}\x{68F0}\x{68F1}\x{68F2}\x{68F3}' .
+'\x{68F4}\x{68F5}\x{68F6}\x{68F7}\x{68F8}\x{68F9}\x{68FA}\x{68FB}\x{68FC}' .
+'\x{68FD}\x{68FE}\x{68FF}\x{6901}\x{6902}\x{6903}\x{6904}\x{6905}\x{6906}' .
+'\x{6907}\x{6908}\x{690A}\x{690B}\x{690C}\x{690D}\x{690E}\x{690F}\x{6910}' .
+'\x{6911}\x{6912}\x{6913}\x{6914}\x{6915}\x{6916}\x{6917}\x{6918}\x{6919}' .
+'\x{691A}\x{691B}\x{691C}\x{691D}\x{691E}\x{691F}\x{6920}\x{6921}\x{6922}' .
+'\x{6923}\x{6924}\x{6925}\x{6926}\x{6927}\x{6928}\x{6929}\x{692A}\x{692B}' .
+'\x{692C}\x{692D}\x{692E}\x{692F}\x{6930}\x{6931}\x{6932}\x{6933}\x{6934}' .
+'\x{6935}\x{6936}\x{6937}\x{6938}\x{6939}\x{693A}\x{693B}\x{693C}\x{693D}' .
+'\x{693F}\x{6940}\x{6941}\x{6942}\x{6943}\x{6944}\x{6945}\x{6946}\x{6947}' .
+'\x{6948}\x{6949}\x{694A}\x{694B}\x{694C}\x{694E}\x{694F}\x{6950}\x{6951}' .
+'\x{6952}\x{6953}\x{6954}\x{6955}\x{6956}\x{6957}\x{6958}\x{6959}\x{695A}' .
+'\x{695B}\x{695C}\x{695D}\x{695E}\x{695F}\x{6960}\x{6961}\x{6962}\x{6963}' .
+'\x{6964}\x{6965}\x{6966}\x{6967}\x{6968}\x{6969}\x{696A}\x{696B}\x{696C}' .
+'\x{696D}\x{696E}\x{696F}\x{6970}\x{6971}\x{6972}\x{6973}\x{6974}\x{6975}' .
+'\x{6976}\x{6977}\x{6978}\x{6979}\x{697A}\x{697B}\x{697C}\x{697D}\x{697E}' .
+'\x{697F}\x{6980}\x{6981}\x{6982}\x{6983}\x{6984}\x{6985}\x{6986}\x{6987}' .
+'\x{6988}\x{6989}\x{698A}\x{698B}\x{698C}\x{698D}\x{698E}\x{698F}\x{6990}' .
+'\x{6991}\x{6992}\x{6993}\x{6994}\x{6995}\x{6996}\x{6997}\x{6998}\x{6999}' .
+'\x{699A}\x{699B}\x{699C}\x{699D}\x{699E}\x{69A0}\x{69A1}\x{69A3}\x{69A4}' .
+'\x{69A5}\x{69A6}\x{69A7}\x{69A8}\x{69A9}\x{69AA}\x{69AB}\x{69AC}\x{69AD}' .
+'\x{69AE}\x{69AF}\x{69B0}\x{69B1}\x{69B2}\x{69B3}\x{69B4}\x{69B5}\x{69B6}' .
+'\x{69B7}\x{69B8}\x{69B9}\x{69BA}\x{69BB}\x{69BC}\x{69BD}\x{69BE}\x{69BF}' .
+'\x{69C1}\x{69C2}\x{69C3}\x{69C4}\x{69C5}\x{69C6}\x{69C7}\x{69C8}\x{69C9}' .
+'\x{69CA}\x{69CB}\x{69CC}\x{69CD}\x{69CE}\x{69CF}\x{69D0}\x{69D3}\x{69D4}' .
+'\x{69D8}\x{69D9}\x{69DA}\x{69DB}\x{69DC}\x{69DD}\x{69DE}\x{69DF}\x{69E0}' .
+'\x{69E1}\x{69E2}\x{69E3}\x{69E4}\x{69E5}\x{69E6}\x{69E7}\x{69E8}\x{69E9}' .
+'\x{69EA}\x{69EB}\x{69EC}\x{69ED}\x{69EE}\x{69EF}\x{69F0}\x{69F1}\x{69F2}' .
+'\x{69F3}\x{69F4}\x{69F5}\x{69F6}\x{69F7}\x{69F8}\x{69FA}\x{69FB}\x{69FC}' .
+'\x{69FD}\x{69FE}\x{69FF}\x{6A00}\x{6A01}\x{6A02}\x{6A04}\x{6A05}\x{6A06}' .
+'\x{6A07}\x{6A08}\x{6A09}\x{6A0A}\x{6A0B}\x{6A0D}\x{6A0E}\x{6A0F}\x{6A10}' .
+'\x{6A11}\x{6A12}\x{6A13}\x{6A14}\x{6A15}\x{6A16}\x{6A17}\x{6A18}\x{6A19}' .
+'\x{6A1A}\x{6A1B}\x{6A1D}\x{6A1E}\x{6A1F}\x{6A20}\x{6A21}\x{6A22}\x{6A23}' .
+'\x{6A25}\x{6A26}\x{6A27}\x{6A28}\x{6A29}\x{6A2A}\x{6A2B}\x{6A2C}\x{6A2D}' .
+'\x{6A2E}\x{6A2F}\x{6A30}\x{6A31}\x{6A32}\x{6A33}\x{6A34}\x{6A35}\x{6A36}' .
+'\x{6A38}\x{6A39}\x{6A3A}\x{6A3B}\x{6A3C}\x{6A3D}\x{6A3E}\x{6A3F}\x{6A40}' .
+'\x{6A41}\x{6A42}\x{6A43}\x{6A44}\x{6A45}\x{6A46}\x{6A47}\x{6A48}\x{6A49}' .
+'\x{6A4B}\x{6A4C}\x{6A4D}\x{6A4E}\x{6A4F}\x{6A50}\x{6A51}\x{6A52}\x{6A54}' .
+'\x{6A55}\x{6A56}\x{6A57}\x{6A58}\x{6A59}\x{6A5A}\x{6A5B}\x{6A5D}\x{6A5E}' .
+'\x{6A5F}\x{6A60}\x{6A61}\x{6A62}\x{6A63}\x{6A64}\x{6A65}\x{6A66}\x{6A67}' .
+'\x{6A68}\x{6A69}\x{6A6A}\x{6A6B}\x{6A6C}\x{6A6D}\x{6A6F}\x{6A71}\x{6A72}' .
+'\x{6A73}\x{6A74}\x{6A75}\x{6A76}\x{6A77}\x{6A78}\x{6A79}\x{6A7A}\x{6A7B}' .
+'\x{6A7C}\x{6A7D}\x{6A7E}\x{6A7F}\x{6A80}\x{6A81}\x{6A82}\x{6A83}\x{6A84}' .
+'\x{6A85}\x{6A87}\x{6A88}\x{6A89}\x{6A8B}\x{6A8C}\x{6A8D}\x{6A8E}\x{6A90}' .
+'\x{6A91}\x{6A92}\x{6A93}\x{6A94}\x{6A95}\x{6A96}\x{6A97}\x{6A98}\x{6A9A}' .
+'\x{6A9B}\x{6A9C}\x{6A9E}\x{6A9F}\x{6AA0}\x{6AA1}\x{6AA2}\x{6AA3}\x{6AA4}' .
+'\x{6AA5}\x{6AA6}\x{6AA7}\x{6AA8}\x{6AA9}\x{6AAB}\x{6AAC}\x{6AAD}\x{6AAE}' .
+'\x{6AAF}\x{6AB0}\x{6AB2}\x{6AB3}\x{6AB4}\x{6AB5}\x{6AB6}\x{6AB7}\x{6AB8}' .
+'\x{6AB9}\x{6ABA}\x{6ABB}\x{6ABC}\x{6ABD}\x{6ABF}\x{6AC1}\x{6AC2}\x{6AC3}' .
+'\x{6AC5}\x{6AC6}\x{6AC7}\x{6ACA}\x{6ACB}\x{6ACC}\x{6ACD}\x{6ACE}\x{6ACF}' .
+'\x{6AD0}\x{6AD1}\x{6AD2}\x{6AD3}\x{6AD4}\x{6AD5}\x{6AD6}\x{6AD7}\x{6AD9}' .
+'\x{6ADA}\x{6ADB}\x{6ADC}\x{6ADD}\x{6ADE}\x{6ADF}\x{6AE0}\x{6AE1}\x{6AE2}' .
+'\x{6AE3}\x{6AE4}\x{6AE5}\x{6AE6}\x{6AE7}\x{6AE8}\x{6AEA}\x{6AEB}\x{6AEC}' .
+'\x{6AED}\x{6AEE}\x{6AEF}\x{6AF0}\x{6AF1}\x{6AF2}\x{6AF3}\x{6AF4}\x{6AF5}' .
+'\x{6AF6}\x{6AF7}\x{6AF8}\x{6AF9}\x{6AFA}\x{6AFB}\x{6AFC}\x{6AFD}\x{6AFE}' .
+'\x{6AFF}\x{6B00}\x{6B01}\x{6B02}\x{6B03}\x{6B04}\x{6B05}\x{6B06}\x{6B07}' .
+'\x{6B08}\x{6B09}\x{6B0A}\x{6B0B}\x{6B0C}\x{6B0D}\x{6B0F}\x{6B10}\x{6B11}' .
+'\x{6B12}\x{6B13}\x{6B14}\x{6B15}\x{6B16}\x{6B17}\x{6B18}\x{6B19}\x{6B1A}' .
+'\x{6B1C}\x{6B1D}\x{6B1E}\x{6B1F}\x{6B20}\x{6B21}\x{6B22}\x{6B23}\x{6B24}' .
+'\x{6B25}\x{6B26}\x{6B27}\x{6B28}\x{6B29}\x{6B2A}\x{6B2B}\x{6B2C}\x{6B2D}' .
+'\x{6B2F}\x{6B30}\x{6B31}\x{6B32}\x{6B33}\x{6B34}\x{6B36}\x{6B37}\x{6B38}' .
+'\x{6B39}\x{6B3A}\x{6B3B}\x{6B3C}\x{6B3D}\x{6B3E}\x{6B3F}\x{6B41}\x{6B42}' .
+'\x{6B43}\x{6B44}\x{6B45}\x{6B46}\x{6B47}\x{6B48}\x{6B49}\x{6B4A}\x{6B4B}' .
+'\x{6B4C}\x{6B4D}\x{6B4E}\x{6B4F}\x{6B50}\x{6B51}\x{6B52}\x{6B53}\x{6B54}' .
+'\x{6B55}\x{6B56}\x{6B59}\x{6B5A}\x{6B5B}\x{6B5C}\x{6B5E}\x{6B5F}\x{6B60}' .
+'\x{6B61}\x{6B62}\x{6B63}\x{6B64}\x{6B65}\x{6B66}\x{6B67}\x{6B69}\x{6B6A}' .
+'\x{6B6B}\x{6B6D}\x{6B6F}\x{6B70}\x{6B72}\x{6B73}\x{6B74}\x{6B76}\x{6B77}' .
+'\x{6B78}\x{6B79}\x{6B7A}\x{6B7B}\x{6B7C}\x{6B7E}\x{6B7F}\x{6B80}\x{6B81}' .
+'\x{6B82}\x{6B83}\x{6B84}\x{6B85}\x{6B86}\x{6B87}\x{6B88}\x{6B89}\x{6B8A}' .
+'\x{6B8B}\x{6B8C}\x{6B8D}\x{6B8E}\x{6B8F}\x{6B90}\x{6B91}\x{6B92}\x{6B93}' .
+'\x{6B94}\x{6B95}\x{6B96}\x{6B97}\x{6B98}\x{6B99}\x{6B9A}\x{6B9B}\x{6B9C}' .
+'\x{6B9D}\x{6B9E}\x{6B9F}\x{6BA0}\x{6BA1}\x{6BA2}\x{6BA3}\x{6BA4}\x{6BA5}' .
+'\x{6BA6}\x{6BA7}\x{6BA8}\x{6BA9}\x{6BAA}\x{6BAB}\x{6BAC}\x{6BAD}\x{6BAE}' .
+'\x{6BAF}\x{6BB0}\x{6BB2}\x{6BB3}\x{6BB4}\x{6BB5}\x{6BB6}\x{6BB7}\x{6BB9}' .
+'\x{6BBA}\x{6BBB}\x{6BBC}\x{6BBD}\x{6BBE}\x{6BBF}\x{6BC0}\x{6BC1}\x{6BC2}' .
+'\x{6BC3}\x{6BC4}\x{6BC5}\x{6BC6}\x{6BC7}\x{6BC8}\x{6BC9}\x{6BCA}\x{6BCB}' .
+'\x{6BCC}\x{6BCD}\x{6BCE}\x{6BCF}\x{6BD0}\x{6BD1}\x{6BD2}\x{6BD3}\x{6BD4}' .
+'\x{6BD5}\x{6BD6}\x{6BD7}\x{6BD8}\x{6BD9}\x{6BDA}\x{6BDB}\x{6BDC}\x{6BDD}' .
+'\x{6BDE}\x{6BDF}\x{6BE0}\x{6BE1}\x{6BE2}\x{6BE3}\x{6BE4}\x{6BE5}\x{6BE6}' .
+'\x{6BE7}\x{6BE8}\x{6BEA}\x{6BEB}\x{6BEC}\x{6BED}\x{6BEE}\x{6BEF}\x{6BF0}' .
+'\x{6BF2}\x{6BF3}\x{6BF5}\x{6BF6}\x{6BF7}\x{6BF8}\x{6BF9}\x{6BFB}\x{6BFC}' .
+'\x{6BFD}\x{6BFE}\x{6BFF}\x{6C00}\x{6C01}\x{6C02}\x{6C03}\x{6C04}\x{6C05}' .
+'\x{6C06}\x{6C07}\x{6C08}\x{6C09}\x{6C0B}\x{6C0C}\x{6C0D}\x{6C0E}\x{6C0F}' .
+'\x{6C10}\x{6C11}\x{6C12}\x{6C13}\x{6C14}\x{6C15}\x{6C16}\x{6C18}\x{6C19}' .
+'\x{6C1A}\x{6C1B}\x{6C1D}\x{6C1E}\x{6C1F}\x{6C20}\x{6C21}\x{6C22}\x{6C23}' .
+'\x{6C24}\x{6C25}\x{6C26}\x{6C27}\x{6C28}\x{6C29}\x{6C2A}\x{6C2B}\x{6C2C}' .
+'\x{6C2E}\x{6C2F}\x{6C30}\x{6C31}\x{6C32}\x{6C33}\x{6C34}\x{6C35}\x{6C36}' .
+'\x{6C37}\x{6C38}\x{6C3A}\x{6C3B}\x{6C3D}\x{6C3E}\x{6C3F}\x{6C40}\x{6C41}' .
+'\x{6C42}\x{6C43}\x{6C44}\x{6C46}\x{6C47}\x{6C48}\x{6C49}\x{6C4A}\x{6C4B}' .
+'\x{6C4C}\x{6C4D}\x{6C4E}\x{6C4F}\x{6C50}\x{6C51}\x{6C52}\x{6C53}\x{6C54}' .
+'\x{6C55}\x{6C56}\x{6C57}\x{6C58}\x{6C59}\x{6C5A}\x{6C5B}\x{6C5C}\x{6C5D}' .
+'\x{6C5E}\x{6C5F}\x{6C60}\x{6C61}\x{6C62}\x{6C63}\x{6C64}\x{6C65}\x{6C66}' .
+'\x{6C67}\x{6C68}\x{6C69}\x{6C6A}\x{6C6B}\x{6C6D}\x{6C6F}\x{6C70}\x{6C71}' .
+'\x{6C72}\x{6C73}\x{6C74}\x{6C75}\x{6C76}\x{6C77}\x{6C78}\x{6C79}\x{6C7A}' .
+'\x{6C7B}\x{6C7C}\x{6C7D}\x{6C7E}\x{6C7F}\x{6C80}\x{6C81}\x{6C82}\x{6C83}' .
+'\x{6C84}\x{6C85}\x{6C86}\x{6C87}\x{6C88}\x{6C89}\x{6C8A}\x{6C8B}\x{6C8C}' .
+'\x{6C8D}\x{6C8E}\x{6C8F}\x{6C90}\x{6C91}\x{6C92}\x{6C93}\x{6C94}\x{6C95}' .
+'\x{6C96}\x{6C97}\x{6C98}\x{6C99}\x{6C9A}\x{6C9B}\x{6C9C}\x{6C9D}\x{6C9E}' .
+'\x{6C9F}\x{6CA1}\x{6CA2}\x{6CA3}\x{6CA4}\x{6CA5}\x{6CA6}\x{6CA7}\x{6CA8}' .
+'\x{6CA9}\x{6CAA}\x{6CAB}\x{6CAC}\x{6CAD}\x{6CAE}\x{6CAF}\x{6CB0}\x{6CB1}' .
+'\x{6CB2}\x{6CB3}\x{6CB4}\x{6CB5}\x{6CB6}\x{6CB7}\x{6CB8}\x{6CB9}\x{6CBA}' .
+'\x{6CBB}\x{6CBC}\x{6CBD}\x{6CBE}\x{6CBF}\x{6CC0}\x{6CC1}\x{6CC2}\x{6CC3}' .
+'\x{6CC4}\x{6CC5}\x{6CC6}\x{6CC7}\x{6CC8}\x{6CC9}\x{6CCA}\x{6CCB}\x{6CCC}' .
+'\x{6CCD}\x{6CCE}\x{6CCF}\x{6CD0}\x{6CD1}\x{6CD2}\x{6CD3}\x{6CD4}\x{6CD5}' .
+'\x{6CD6}\x{6CD7}\x{6CD9}\x{6CDA}\x{6CDB}\x{6CDC}\x{6CDD}\x{6CDE}\x{6CDF}' .
+'\x{6CE0}\x{6CE1}\x{6CE2}\x{6CE3}\x{6CE4}\x{6CE5}\x{6CE6}\x{6CE7}\x{6CE8}' .
+'\x{6CE9}\x{6CEA}\x{6CEB}\x{6CEC}\x{6CED}\x{6CEE}\x{6CEF}\x{6CF0}\x{6CF1}' .
+'\x{6CF2}\x{6CF3}\x{6CF5}\x{6CF6}\x{6CF7}\x{6CF8}\x{6CF9}\x{6CFA}\x{6CFB}' .
+'\x{6CFC}\x{6CFD}\x{6CFE}\x{6CFF}\x{6D00}\x{6D01}\x{6D03}\x{6D04}\x{6D05}' .
+'\x{6D06}\x{6D07}\x{6D08}\x{6D09}\x{6D0A}\x{6D0B}\x{6D0C}\x{6D0D}\x{6D0E}' .
+'\x{6D0F}\x{6D10}\x{6D11}\x{6D12}\x{6D13}\x{6D14}\x{6D15}\x{6D16}\x{6D17}' .
+'\x{6D18}\x{6D19}\x{6D1A}\x{6D1B}\x{6D1D}\x{6D1E}\x{6D1F}\x{6D20}\x{6D21}' .
+'\x{6D22}\x{6D23}\x{6D25}\x{6D26}\x{6D27}\x{6D28}\x{6D29}\x{6D2A}\x{6D2B}' .
+'\x{6D2C}\x{6D2D}\x{6D2E}\x{6D2F}\x{6D30}\x{6D31}\x{6D32}\x{6D33}\x{6D34}' .
+'\x{6D35}\x{6D36}\x{6D37}\x{6D38}\x{6D39}\x{6D3A}\x{6D3B}\x{6D3C}\x{6D3D}' .
+'\x{6D3E}\x{6D3F}\x{6D40}\x{6D41}\x{6D42}\x{6D43}\x{6D44}\x{6D45}\x{6D46}' .
+'\x{6D47}\x{6D48}\x{6D49}\x{6D4A}\x{6D4B}\x{6D4C}\x{6D4D}\x{6D4E}\x{6D4F}' .
+'\x{6D50}\x{6D51}\x{6D52}\x{6D53}\x{6D54}\x{6D55}\x{6D56}\x{6D57}\x{6D58}' .
+'\x{6D59}\x{6D5A}\x{6D5B}\x{6D5C}\x{6D5D}\x{6D5E}\x{6D5F}\x{6D60}\x{6D61}' .
+'\x{6D62}\x{6D63}\x{6D64}\x{6D65}\x{6D66}\x{6D67}\x{6D68}\x{6D69}\x{6D6A}' .
+'\x{6D6B}\x{6D6C}\x{6D6D}\x{6D6E}\x{6D6F}\x{6D70}\x{6D72}\x{6D73}\x{6D74}' .
+'\x{6D75}\x{6D76}\x{6D77}\x{6D78}\x{6D79}\x{6D7A}\x{6D7B}\x{6D7C}\x{6D7D}' .
+'\x{6D7E}\x{6D7F}\x{6D80}\x{6D82}\x{6D83}\x{6D84}\x{6D85}\x{6D86}\x{6D87}' .
+'\x{6D88}\x{6D89}\x{6D8A}\x{6D8B}\x{6D8C}\x{6D8D}\x{6D8E}\x{6D8F}\x{6D90}' .
+'\x{6D91}\x{6D92}\x{6D93}\x{6D94}\x{6D95}\x{6D97}\x{6D98}\x{6D99}\x{6D9A}' .
+'\x{6D9B}\x{6D9D}\x{6D9E}\x{6D9F}\x{6DA0}\x{6DA1}\x{6DA2}\x{6DA3}\x{6DA4}' .
+'\x{6DA5}\x{6DA6}\x{6DA7}\x{6DA8}\x{6DA9}\x{6DAA}\x{6DAB}\x{6DAC}\x{6DAD}' .
+'\x{6DAE}\x{6DAF}\x{6DB2}\x{6DB3}\x{6DB4}\x{6DB5}\x{6DB7}\x{6DB8}\x{6DB9}' .
+'\x{6DBA}\x{6DBB}\x{6DBC}\x{6DBD}\x{6DBE}\x{6DBF}\x{6DC0}\x{6DC1}\x{6DC2}' .
+'\x{6DC3}\x{6DC4}\x{6DC5}\x{6DC6}\x{6DC7}\x{6DC8}\x{6DC9}\x{6DCA}\x{6DCB}' .
+'\x{6DCC}\x{6DCD}\x{6DCE}\x{6DCF}\x{6DD0}\x{6DD1}\x{6DD2}\x{6DD3}\x{6DD4}' .
+'\x{6DD5}\x{6DD6}\x{6DD7}\x{6DD8}\x{6DD9}\x{6DDA}\x{6DDB}\x{6DDC}\x{6DDD}' .
+'\x{6DDE}\x{6DDF}\x{6DE0}\x{6DE1}\x{6DE2}\x{6DE3}\x{6DE4}\x{6DE5}\x{6DE6}' .
+'\x{6DE7}\x{6DE8}\x{6DE9}\x{6DEA}\x{6DEB}\x{6DEC}\x{6DED}\x{6DEE}\x{6DEF}' .
+'\x{6DF0}\x{6DF1}\x{6DF2}\x{6DF3}\x{6DF4}\x{6DF5}\x{6DF6}\x{6DF7}\x{6DF8}' .
+'\x{6DF9}\x{6DFA}\x{6DFB}\x{6DFC}\x{6DFD}\x{6E00}\x{6E03}\x{6E04}\x{6E05}' .
+'\x{6E07}\x{6E08}\x{6E09}\x{6E0A}\x{6E0B}\x{6E0C}\x{6E0D}\x{6E0E}\x{6E0F}' .
+'\x{6E10}\x{6E11}\x{6E14}\x{6E15}\x{6E16}\x{6E17}\x{6E19}\x{6E1A}\x{6E1B}' .
+'\x{6E1C}\x{6E1D}\x{6E1E}\x{6E1F}\x{6E20}\x{6E21}\x{6E22}\x{6E23}\x{6E24}' .
+'\x{6E25}\x{6E26}\x{6E27}\x{6E28}\x{6E29}\x{6E2B}\x{6E2C}\x{6E2D}\x{6E2E}' .
+'\x{6E2F}\x{6E30}\x{6E31}\x{6E32}\x{6E33}\x{6E34}\x{6E35}\x{6E36}\x{6E37}' .
+'\x{6E38}\x{6E39}\x{6E3A}\x{6E3B}\x{6E3C}\x{6E3D}\x{6E3E}\x{6E3F}\x{6E40}' .
+'\x{6E41}\x{6E42}\x{6E43}\x{6E44}\x{6E45}\x{6E46}\x{6E47}\x{6E48}\x{6E49}' .
+'\x{6E4A}\x{6E4B}\x{6E4D}\x{6E4E}\x{6E4F}\x{6E50}\x{6E51}\x{6E52}\x{6E53}' .
+'\x{6E54}\x{6E55}\x{6E56}\x{6E57}\x{6E58}\x{6E59}\x{6E5A}\x{6E5B}\x{6E5C}' .
+'\x{6E5D}\x{6E5E}\x{6E5F}\x{6E60}\x{6E61}\x{6E62}\x{6E63}\x{6E64}\x{6E65}' .
+'\x{6E66}\x{6E67}\x{6E68}\x{6E69}\x{6E6A}\x{6E6B}\x{6E6D}\x{6E6E}\x{6E6F}' .
+'\x{6E70}\x{6E71}\x{6E72}\x{6E73}\x{6E74}\x{6E75}\x{6E77}\x{6E78}\x{6E79}' .
+'\x{6E7E}\x{6E7F}\x{6E80}\x{6E81}\x{6E82}\x{6E83}\x{6E84}\x{6E85}\x{6E86}' .
+'\x{6E87}\x{6E88}\x{6E89}\x{6E8A}\x{6E8D}\x{6E8E}\x{6E8F}\x{6E90}\x{6E91}' .
+'\x{6E92}\x{6E93}\x{6E94}\x{6E96}\x{6E97}\x{6E98}\x{6E99}\x{6E9A}\x{6E9B}' .
+'\x{6E9C}\x{6E9D}\x{6E9E}\x{6E9F}\x{6EA0}\x{6EA1}\x{6EA2}\x{6EA3}\x{6EA4}' .
+'\x{6EA5}\x{6EA6}\x{6EA7}\x{6EA8}\x{6EA9}\x{6EAA}\x{6EAB}\x{6EAC}\x{6EAD}' .
+'\x{6EAE}\x{6EAF}\x{6EB0}\x{6EB1}\x{6EB2}\x{6EB3}\x{6EB4}\x{6EB5}\x{6EB6}' .
+'\x{6EB7}\x{6EB8}\x{6EB9}\x{6EBA}\x{6EBB}\x{6EBC}\x{6EBD}\x{6EBE}\x{6EBF}' .
+'\x{6EC0}\x{6EC1}\x{6EC2}\x{6EC3}\x{6EC4}\x{6EC5}\x{6EC6}\x{6EC7}\x{6EC8}' .
+'\x{6EC9}\x{6ECA}\x{6ECB}\x{6ECC}\x{6ECD}\x{6ECE}\x{6ECF}\x{6ED0}\x{6ED1}' .
+'\x{6ED2}\x{6ED3}\x{6ED4}\x{6ED5}\x{6ED6}\x{6ED7}\x{6ED8}\x{6ED9}\x{6EDA}' .
+'\x{6EDC}\x{6EDE}\x{6EDF}\x{6EE0}\x{6EE1}\x{6EE2}\x{6EE4}\x{6EE5}\x{6EE6}' .
+'\x{6EE7}\x{6EE8}\x{6EE9}\x{6EEA}\x{6EEB}\x{6EEC}\x{6EED}\x{6EEE}\x{6EEF}' .
+'\x{6EF0}\x{6EF1}\x{6EF2}\x{6EF3}\x{6EF4}\x{6EF5}\x{6EF6}\x{6EF7}\x{6EF8}' .
+'\x{6EF9}\x{6EFA}\x{6EFB}\x{6EFC}\x{6EFD}\x{6EFE}\x{6EFF}\x{6F00}\x{6F01}' .
+'\x{6F02}\x{6F03}\x{6F05}\x{6F06}\x{6F07}\x{6F08}\x{6F09}\x{6F0A}\x{6F0C}' .
+'\x{6F0D}\x{6F0E}\x{6F0F}\x{6F10}\x{6F11}\x{6F12}\x{6F13}\x{6F14}\x{6F15}' .
+'\x{6F16}\x{6F17}\x{6F18}\x{6F19}\x{6F1A}\x{6F1B}\x{6F1C}\x{6F1D}\x{6F1E}' .
+'\x{6F1F}\x{6F20}\x{6F21}\x{6F22}\x{6F23}\x{6F24}\x{6F25}\x{6F26}\x{6F27}' .
+'\x{6F28}\x{6F29}\x{6F2A}\x{6F2B}\x{6F2C}\x{6F2D}\x{6F2E}\x{6F2F}\x{6F30}' .
+'\x{6F31}\x{6F32}\x{6F33}\x{6F34}\x{6F35}\x{6F36}\x{6F37}\x{6F38}\x{6F39}' .
+'\x{6F3A}\x{6F3B}\x{6F3C}\x{6F3D}\x{6F3E}\x{6F3F}\x{6F40}\x{6F41}\x{6F43}' .
+'\x{6F44}\x{6F45}\x{6F46}\x{6F47}\x{6F49}\x{6F4B}\x{6F4C}\x{6F4D}\x{6F4E}' .
+'\x{6F4F}\x{6F50}\x{6F51}\x{6F52}\x{6F53}\x{6F54}\x{6F55}\x{6F56}\x{6F57}' .
+'\x{6F58}\x{6F59}\x{6F5A}\x{6F5B}\x{6F5C}\x{6F5D}\x{6F5E}\x{6F5F}\x{6F60}' .
+'\x{6F61}\x{6F62}\x{6F63}\x{6F64}\x{6F65}\x{6F66}\x{6F67}\x{6F68}\x{6F69}' .
+'\x{6F6A}\x{6F6B}\x{6F6C}\x{6F6D}\x{6F6E}\x{6F6F}\x{6F70}\x{6F71}\x{6F72}' .
+'\x{6F73}\x{6F74}\x{6F75}\x{6F76}\x{6F77}\x{6F78}\x{6F7A}\x{6F7B}\x{6F7C}' .
+'\x{6F7D}\x{6F7E}\x{6F7F}\x{6F80}\x{6F81}\x{6F82}\x{6F83}\x{6F84}\x{6F85}' .
+'\x{6F86}\x{6F87}\x{6F88}\x{6F89}\x{6F8A}\x{6F8B}\x{6F8C}\x{6F8D}\x{6F8E}' .
+'\x{6F8F}\x{6F90}\x{6F91}\x{6F92}\x{6F93}\x{6F94}\x{6F95}\x{6F96}\x{6F97}' .
+'\x{6F99}\x{6F9B}\x{6F9C}\x{6F9D}\x{6F9E}\x{6FA0}\x{6FA1}\x{6FA2}\x{6FA3}' .
+'\x{6FA4}\x{6FA5}\x{6FA6}\x{6FA7}\x{6FA8}\x{6FA9}\x{6FAA}\x{6FAB}\x{6FAC}' .
+'\x{6FAD}\x{6FAE}\x{6FAF}\x{6FB0}\x{6FB1}\x{6FB2}\x{6FB3}\x{6FB4}\x{6FB5}' .
+'\x{6FB6}\x{6FB8}\x{6FB9}\x{6FBA}\x{6FBB}\x{6FBC}\x{6FBD}\x{6FBE}\x{6FBF}' .
+'\x{6FC0}\x{6FC1}\x{6FC2}\x{6FC3}\x{6FC4}\x{6FC6}\x{6FC7}\x{6FC8}\x{6FC9}' .
+'\x{6FCA}\x{6FCB}\x{6FCC}\x{6FCD}\x{6FCE}\x{6FCF}\x{6FD1}\x{6FD2}\x{6FD4}' .
+'\x{6FD5}\x{6FD6}\x{6FD7}\x{6FD8}\x{6FD9}\x{6FDA}\x{6FDB}\x{6FDC}\x{6FDD}' .
+'\x{6FDE}\x{6FDF}\x{6FE0}\x{6FE1}\x{6FE2}\x{6FE3}\x{6FE4}\x{6FE5}\x{6FE6}' .
+'\x{6FE7}\x{6FE8}\x{6FE9}\x{6FEA}\x{6FEB}\x{6FEC}\x{6FED}\x{6FEE}\x{6FEF}' .
+'\x{6FF0}\x{6FF1}\x{6FF2}\x{6FF3}\x{6FF4}\x{6FF6}\x{6FF7}\x{6FF8}\x{6FF9}' .
+'\x{6FFA}\x{6FFB}\x{6FFC}\x{6FFE}\x{6FFF}\x{7000}\x{7001}\x{7002}\x{7003}' .
+'\x{7004}\x{7005}\x{7006}\x{7007}\x{7008}\x{7009}\x{700A}\x{700B}\x{700C}' .
+'\x{700D}\x{700E}\x{700F}\x{7011}\x{7012}\x{7014}\x{7015}\x{7016}\x{7017}' .
+'\x{7018}\x{7019}\x{701A}\x{701B}\x{701C}\x{701D}\x{701F}\x{7020}\x{7021}' .
+'\x{7022}\x{7023}\x{7024}\x{7025}\x{7026}\x{7027}\x{7028}\x{7029}\x{702A}' .
+'\x{702B}\x{702C}\x{702D}\x{702E}\x{702F}\x{7030}\x{7031}\x{7032}\x{7033}' .
+'\x{7034}\x{7035}\x{7036}\x{7037}\x{7038}\x{7039}\x{703A}\x{703B}\x{703C}' .
+'\x{703D}\x{703E}\x{703F}\x{7040}\x{7041}\x{7042}\x{7043}\x{7044}\x{7045}' .
+'\x{7046}\x{7048}\x{7049}\x{704A}\x{704C}\x{704D}\x{704F}\x{7050}\x{7051}' .
+'\x{7052}\x{7053}\x{7054}\x{7055}\x{7056}\x{7057}\x{7058}\x{7059}\x{705A}' .
+'\x{705B}\x{705C}\x{705D}\x{705E}\x{705F}\x{7060}\x{7061}\x{7062}\x{7063}' .
+'\x{7064}\x{7065}\x{7066}\x{7067}\x{7068}\x{7069}\x{706A}\x{706B}\x{706C}' .
+'\x{706D}\x{706E}\x{706F}\x{7070}\x{7071}\x{7074}\x{7075}\x{7076}\x{7077}' .
+'\x{7078}\x{7079}\x{707A}\x{707C}\x{707D}\x{707E}\x{707F}\x{7080}\x{7082}' .
+'\x{7083}\x{7084}\x{7085}\x{7086}\x{7087}\x{7088}\x{7089}\x{708A}\x{708B}' .
+'\x{708C}\x{708E}\x{708F}\x{7090}\x{7091}\x{7092}\x{7093}\x{7094}\x{7095}' .
+'\x{7096}\x{7098}\x{7099}\x{709A}\x{709C}\x{709D}\x{709E}\x{709F}\x{70A0}' .
+'\x{70A1}\x{70A2}\x{70A3}\x{70A4}\x{70A5}\x{70A6}\x{70A7}\x{70A8}\x{70A9}' .
+'\x{70AB}\x{70AC}\x{70AD}\x{70AE}\x{70AF}\x{70B0}\x{70B1}\x{70B3}\x{70B4}' .
+'\x{70B5}\x{70B7}\x{70B8}\x{70B9}\x{70BA}\x{70BB}\x{70BC}\x{70BD}\x{70BE}' .
+'\x{70BF}\x{70C0}\x{70C1}\x{70C2}\x{70C3}\x{70C4}\x{70C5}\x{70C6}\x{70C7}' .
+'\x{70C8}\x{70C9}\x{70CA}\x{70CB}\x{70CC}\x{70CD}\x{70CE}\x{70CF}\x{70D0}' .
+'\x{70D1}\x{70D2}\x{70D3}\x{70D4}\x{70D6}\x{70D7}\x{70D8}\x{70D9}\x{70DA}' .
+'\x{70DB}\x{70DC}\x{70DD}\x{70DE}\x{70DF}\x{70E0}\x{70E1}\x{70E2}\x{70E3}' .
+'\x{70E4}\x{70E5}\x{70E6}\x{70E7}\x{70E8}\x{70E9}\x{70EA}\x{70EB}\x{70EC}' .
+'\x{70ED}\x{70EE}\x{70EF}\x{70F0}\x{70F1}\x{70F2}\x{70F3}\x{70F4}\x{70F5}' .
+'\x{70F6}\x{70F7}\x{70F8}\x{70F9}\x{70FA}\x{70FB}\x{70FC}\x{70FD}\x{70FF}' .
+'\x{7100}\x{7101}\x{7102}\x{7103}\x{7104}\x{7105}\x{7106}\x{7107}\x{7109}' .
+'\x{710A}\x{710B}\x{710C}\x{710D}\x{710E}\x{710F}\x{7110}\x{7111}\x{7112}' .
+'\x{7113}\x{7115}\x{7116}\x{7117}\x{7118}\x{7119}\x{711A}\x{711B}\x{711C}' .
+'\x{711D}\x{711E}\x{711F}\x{7120}\x{7121}\x{7122}\x{7123}\x{7125}\x{7126}' .
+'\x{7127}\x{7128}\x{7129}\x{712A}\x{712B}\x{712C}\x{712D}\x{712E}\x{712F}' .
+'\x{7130}\x{7131}\x{7132}\x{7135}\x{7136}\x{7137}\x{7138}\x{7139}\x{713A}' .
+'\x{713B}\x{713D}\x{713E}\x{713F}\x{7140}\x{7141}\x{7142}\x{7143}\x{7144}' .
+'\x{7145}\x{7146}\x{7147}\x{7148}\x{7149}\x{714A}\x{714B}\x{714C}\x{714D}' .
+'\x{714E}\x{714F}\x{7150}\x{7151}\x{7152}\x{7153}\x{7154}\x{7156}\x{7158}' .
+'\x{7159}\x{715A}\x{715B}\x{715C}\x{715D}\x{715E}\x{715F}\x{7160}\x{7161}' .
+'\x{7162}\x{7163}\x{7164}\x{7165}\x{7166}\x{7167}\x{7168}\x{7169}\x{716A}' .
+'\x{716C}\x{716E}\x{716F}\x{7170}\x{7171}\x{7172}\x{7173}\x{7174}\x{7175}' .
+'\x{7176}\x{7177}\x{7178}\x{7179}\x{717A}\x{717B}\x{717C}\x{717D}\x{717E}' .
+'\x{717F}\x{7180}\x{7181}\x{7182}\x{7183}\x{7184}\x{7185}\x{7186}\x{7187}' .
+'\x{7188}\x{7189}\x{718A}\x{718B}\x{718C}\x{718E}\x{718F}\x{7190}\x{7191}' .
+'\x{7192}\x{7193}\x{7194}\x{7195}\x{7197}\x{7198}\x{7199}\x{719A}\x{719B}' .
+'\x{719C}\x{719D}\x{719E}\x{719F}\x{71A0}\x{71A1}\x{71A2}\x{71A3}\x{71A4}' .
+'\x{71A5}\x{71A7}\x{71A8}\x{71A9}\x{71AA}\x{71AC}\x{71AD}\x{71AE}\x{71AF}' .
+'\x{71B0}\x{71B1}\x{71B2}\x{71B3}\x{71B4}\x{71B5}\x{71B7}\x{71B8}\x{71B9}' .
+'\x{71BA}\x{71BB}\x{71BC}\x{71BD}\x{71BE}\x{71BF}\x{71C0}\x{71C1}\x{71C2}' .
+'\x{71C3}\x{71C4}\x{71C5}\x{71C6}\x{71C7}\x{71C8}\x{71C9}\x{71CA}\x{71CB}' .
+'\x{71CD}\x{71CE}\x{71CF}\x{71D0}\x{71D1}\x{71D2}\x{71D4}\x{71D5}\x{71D6}' .
+'\x{71D7}\x{71D8}\x{71D9}\x{71DA}\x{71DB}\x{71DC}\x{71DD}\x{71DE}\x{71DF}' .
+'\x{71E0}\x{71E1}\x{71E2}\x{71E3}\x{71E4}\x{71E5}\x{71E6}\x{71E7}\x{71E8}' .
+'\x{71E9}\x{71EA}\x{71EB}\x{71EC}\x{71ED}\x{71EE}\x{71EF}\x{71F0}\x{71F1}' .
+'\x{71F2}\x{71F4}\x{71F5}\x{71F6}\x{71F7}\x{71F8}\x{71F9}\x{71FB}\x{71FC}' .
+'\x{71FD}\x{71FE}\x{71FF}\x{7201}\x{7202}\x{7203}\x{7204}\x{7205}\x{7206}' .
+'\x{7207}\x{7208}\x{7209}\x{720A}\x{720C}\x{720D}\x{720E}\x{720F}\x{7210}' .
+'\x{7212}\x{7213}\x{7214}\x{7216}\x{7218}\x{7219}\x{721A}\x{721B}\x{721C}' .
+'\x{721D}\x{721E}\x{721F}\x{7221}\x{7222}\x{7223}\x{7226}\x{7227}\x{7228}' .
+'\x{7229}\x{722A}\x{722B}\x{722C}\x{722D}\x{722E}\x{7230}\x{7231}\x{7232}' .
+'\x{7233}\x{7235}\x{7236}\x{7237}\x{7238}\x{7239}\x{723A}\x{723B}\x{723C}' .
+'\x{723D}\x{723E}\x{723F}\x{7240}\x{7241}\x{7242}\x{7243}\x{7244}\x{7246}' .
+'\x{7247}\x{7248}\x{7249}\x{724A}\x{724B}\x{724C}\x{724D}\x{724F}\x{7251}' .
+'\x{7252}\x{7253}\x{7254}\x{7256}\x{7257}\x{7258}\x{7259}\x{725A}\x{725B}' .
+'\x{725C}\x{725D}\x{725E}\x{725F}\x{7260}\x{7261}\x{7262}\x{7263}\x{7264}' .
+'\x{7265}\x{7266}\x{7267}\x{7268}\x{7269}\x{726A}\x{726B}\x{726C}\x{726D}' .
+'\x{726E}\x{726F}\x{7270}\x{7271}\x{7272}\x{7273}\x{7274}\x{7275}\x{7276}' .
+'\x{7277}\x{7278}\x{7279}\x{727A}\x{727B}\x{727C}\x{727D}\x{727E}\x{727F}' .
+'\x{7280}\x{7281}\x{7282}\x{7283}\x{7284}\x{7285}\x{7286}\x{7287}\x{7288}' .
+'\x{7289}\x{728A}\x{728B}\x{728C}\x{728D}\x{728E}\x{728F}\x{7290}\x{7291}' .
+'\x{7292}\x{7293}\x{7294}\x{7295}\x{7296}\x{7297}\x{7298}\x{7299}\x{729A}' .
+'\x{729B}\x{729C}\x{729D}\x{729E}\x{729F}\x{72A1}\x{72A2}\x{72A3}\x{72A4}' .
+'\x{72A5}\x{72A6}\x{72A7}\x{72A8}\x{72A9}\x{72AA}\x{72AC}\x{72AD}\x{72AE}' .
+'\x{72AF}\x{72B0}\x{72B1}\x{72B2}\x{72B3}\x{72B4}\x{72B5}\x{72B6}\x{72B7}' .
+'\x{72B8}\x{72B9}\x{72BA}\x{72BB}\x{72BC}\x{72BD}\x{72BF}\x{72C0}\x{72C1}' .
+'\x{72C2}\x{72C3}\x{72C4}\x{72C5}\x{72C6}\x{72C7}\x{72C8}\x{72C9}\x{72CA}' .
+'\x{72CB}\x{72CC}\x{72CD}\x{72CE}\x{72CF}\x{72D0}\x{72D1}\x{72D2}\x{72D3}' .
+'\x{72D4}\x{72D5}\x{72D6}\x{72D7}\x{72D8}\x{72D9}\x{72DA}\x{72DB}\x{72DC}' .
+'\x{72DD}\x{72DE}\x{72DF}\x{72E0}\x{72E1}\x{72E2}\x{72E3}\x{72E4}\x{72E5}' .
+'\x{72E6}\x{72E7}\x{72E8}\x{72E9}\x{72EA}\x{72EB}\x{72EC}\x{72ED}\x{72EE}' .
+'\x{72EF}\x{72F0}\x{72F1}\x{72F2}\x{72F3}\x{72F4}\x{72F5}\x{72F6}\x{72F7}' .
+'\x{72F8}\x{72F9}\x{72FA}\x{72FB}\x{72FC}\x{72FD}\x{72FE}\x{72FF}\x{7300}' .
+'\x{7301}\x{7303}\x{7304}\x{7305}\x{7306}\x{7307}\x{7308}\x{7309}\x{730A}' .
+'\x{730B}\x{730C}\x{730D}\x{730E}\x{730F}\x{7311}\x{7312}\x{7313}\x{7314}' .
+'\x{7315}\x{7316}\x{7317}\x{7318}\x{7319}\x{731A}\x{731B}\x{731C}\x{731D}' .
+'\x{731E}\x{7320}\x{7321}\x{7322}\x{7323}\x{7324}\x{7325}\x{7326}\x{7327}' .
+'\x{7329}\x{732A}\x{732B}\x{732C}\x{732D}\x{732E}\x{7330}\x{7331}\x{7332}' .
+'\x{7333}\x{7334}\x{7335}\x{7336}\x{7337}\x{7338}\x{7339}\x{733A}\x{733B}' .
+'\x{733C}\x{733D}\x{733E}\x{733F}\x{7340}\x{7341}\x{7342}\x{7343}\x{7344}' .
+'\x{7345}\x{7346}\x{7347}\x{7348}\x{7349}\x{734A}\x{734B}\x{734C}\x{734D}' .
+'\x{734E}\x{7350}\x{7351}\x{7352}\x{7354}\x{7355}\x{7356}\x{7357}\x{7358}' .
+'\x{7359}\x{735A}\x{735B}\x{735C}\x{735D}\x{735E}\x{735F}\x{7360}\x{7361}' .
+'\x{7362}\x{7364}\x{7365}\x{7366}\x{7367}\x{7368}\x{7369}\x{736A}\x{736B}' .
+'\x{736C}\x{736D}\x{736E}\x{736F}\x{7370}\x{7371}\x{7372}\x{7373}\x{7374}' .
+'\x{7375}\x{7376}\x{7377}\x{7378}\x{7379}\x{737A}\x{737B}\x{737C}\x{737D}' .
+'\x{737E}\x{737F}\x{7380}\x{7381}\x{7382}\x{7383}\x{7384}\x{7385}\x{7386}' .
+'\x{7387}\x{7388}\x{7389}\x{738A}\x{738B}\x{738C}\x{738D}\x{738E}\x{738F}' .
+'\x{7390}\x{7391}\x{7392}\x{7393}\x{7394}\x{7395}\x{7396}\x{7397}\x{7398}' .
+'\x{7399}\x{739A}\x{739B}\x{739D}\x{739E}\x{739F}\x{73A0}\x{73A1}\x{73A2}' .
+'\x{73A3}\x{73A4}\x{73A5}\x{73A6}\x{73A7}\x{73A8}\x{73A9}\x{73AA}\x{73AB}' .
+'\x{73AC}\x{73AD}\x{73AE}\x{73AF}\x{73B0}\x{73B1}\x{73B2}\x{73B3}\x{73B4}' .
+'\x{73B5}\x{73B6}\x{73B7}\x{73B8}\x{73B9}\x{73BA}\x{73BB}\x{73BC}\x{73BD}' .
+'\x{73BE}\x{73BF}\x{73C0}\x{73C2}\x{73C3}\x{73C4}\x{73C5}\x{73C6}\x{73C7}' .
+'\x{73C8}\x{73C9}\x{73CA}\x{73CB}\x{73CC}\x{73CD}\x{73CE}\x{73CF}\x{73D0}' .
+'\x{73D1}\x{73D2}\x{73D3}\x{73D4}\x{73D5}\x{73D6}\x{73D7}\x{73D8}\x{73D9}' .
+'\x{73DA}\x{73DB}\x{73DC}\x{73DD}\x{73DE}\x{73DF}\x{73E0}\x{73E2}\x{73E3}' .
+'\x{73E5}\x{73E6}\x{73E7}\x{73E8}\x{73E9}\x{73EA}\x{73EB}\x{73EC}\x{73ED}' .
+'\x{73EE}\x{73EF}\x{73F0}\x{73F1}\x{73F2}\x{73F4}\x{73F5}\x{73F6}\x{73F7}' .
+'\x{73F8}\x{73F9}\x{73FA}\x{73FC}\x{73FD}\x{73FE}\x{73FF}\x{7400}\x{7401}' .
+'\x{7402}\x{7403}\x{7404}\x{7405}\x{7406}\x{7407}\x{7408}\x{7409}\x{740A}' .
+'\x{740B}\x{740C}\x{740D}\x{740E}\x{740F}\x{7410}\x{7411}\x{7412}\x{7413}' .
+'\x{7414}\x{7415}\x{7416}\x{7417}\x{7419}\x{741A}\x{741B}\x{741C}\x{741D}' .
+'\x{741E}\x{741F}\x{7420}\x{7421}\x{7422}\x{7423}\x{7424}\x{7425}\x{7426}' .
+'\x{7427}\x{7428}\x{7429}\x{742A}\x{742B}\x{742C}\x{742D}\x{742E}\x{742F}' .
+'\x{7430}\x{7431}\x{7432}\x{7433}\x{7434}\x{7435}\x{7436}\x{7437}\x{7438}' .
+'\x{743A}\x{743B}\x{743C}\x{743D}\x{743F}\x{7440}\x{7441}\x{7442}\x{7443}' .
+'\x{7444}\x{7445}\x{7446}\x{7448}\x{744A}\x{744B}\x{744C}\x{744D}\x{744E}' .
+'\x{744F}\x{7450}\x{7451}\x{7452}\x{7453}\x{7454}\x{7455}\x{7456}\x{7457}' .
+'\x{7459}\x{745A}\x{745B}\x{745C}\x{745D}\x{745E}\x{745F}\x{7461}\x{7462}' .
+'\x{7463}\x{7464}\x{7465}\x{7466}\x{7467}\x{7468}\x{7469}\x{746A}\x{746B}' .
+'\x{746C}\x{746D}\x{746E}\x{746F}\x{7470}\x{7471}\x{7472}\x{7473}\x{7474}' .
+'\x{7475}\x{7476}\x{7477}\x{7478}\x{7479}\x{747A}\x{747C}\x{747D}\x{747E}' .
+'\x{747F}\x{7480}\x{7481}\x{7482}\x{7483}\x{7485}\x{7486}\x{7487}\x{7488}' .
+'\x{7489}\x{748A}\x{748B}\x{748C}\x{748D}\x{748E}\x{748F}\x{7490}\x{7491}' .
+'\x{7492}\x{7493}\x{7494}\x{7495}\x{7497}\x{7498}\x{7499}\x{749A}\x{749B}' .
+'\x{749C}\x{749E}\x{749F}\x{74A0}\x{74A1}\x{74A3}\x{74A4}\x{74A5}\x{74A6}' .
+'\x{74A7}\x{74A8}\x{74A9}\x{74AA}\x{74AB}\x{74AC}\x{74AD}\x{74AE}\x{74AF}' .
+'\x{74B0}\x{74B1}\x{74B2}\x{74B3}\x{74B4}\x{74B5}\x{74B6}\x{74B7}\x{74B8}' .
+'\x{74B9}\x{74BA}\x{74BB}\x{74BC}\x{74BD}\x{74BE}\x{74BF}\x{74C0}\x{74C1}' .
+'\x{74C2}\x{74C3}\x{74C4}\x{74C5}\x{74C6}\x{74CA}\x{74CB}\x{74CD}\x{74CE}' .
+'\x{74CF}\x{74D0}\x{74D1}\x{74D2}\x{74D3}\x{74D4}\x{74D5}\x{74D6}\x{74D7}' .
+'\x{74D8}\x{74D9}\x{74DA}\x{74DB}\x{74DC}\x{74DD}\x{74DE}\x{74DF}\x{74E0}' .
+'\x{74E1}\x{74E2}\x{74E3}\x{74E4}\x{74E5}\x{74E6}\x{74E7}\x{74E8}\x{74E9}' .
+'\x{74EA}\x{74EC}\x{74ED}\x{74EE}\x{74EF}\x{74F0}\x{74F1}\x{74F2}\x{74F3}' .
+'\x{74F4}\x{74F5}\x{74F6}\x{74F7}\x{74F8}\x{74F9}\x{74FA}\x{74FB}\x{74FC}' .
+'\x{74FD}\x{74FE}\x{74FF}\x{7500}\x{7501}\x{7502}\x{7503}\x{7504}\x{7505}' .
+'\x{7506}\x{7507}\x{7508}\x{7509}\x{750A}\x{750B}\x{750C}\x{750D}\x{750F}' .
+'\x{7510}\x{7511}\x{7512}\x{7513}\x{7514}\x{7515}\x{7516}\x{7517}\x{7518}' .
+'\x{7519}\x{751A}\x{751B}\x{751C}\x{751D}\x{751E}\x{751F}\x{7521}\x{7522}' .
+'\x{7523}\x{7524}\x{7525}\x{7526}\x{7527}\x{7528}\x{7529}\x{752A}\x{752B}' .
+'\x{752C}\x{752D}\x{752E}\x{752F}\x{7530}\x{7531}\x{7532}\x{7533}\x{7535}' .
+'\x{7536}\x{7537}\x{7538}\x{7539}\x{753A}\x{753B}\x{753C}\x{753D}\x{753E}' .
+'\x{753F}\x{7540}\x{7542}\x{7543}\x{7544}\x{7545}\x{7546}\x{7547}\x{7548}' .
+'\x{7549}\x{754B}\x{754C}\x{754D}\x{754E}\x{754F}\x{7550}\x{7551}\x{7553}' .
+'\x{7554}\x{7556}\x{7557}\x{7558}\x{7559}\x{755A}\x{755B}\x{755C}\x{755D}' .
+'\x{755F}\x{7560}\x{7562}\x{7563}\x{7564}\x{7565}\x{7566}\x{7567}\x{7568}' .
+'\x{7569}\x{756A}\x{756B}\x{756C}\x{756D}\x{756E}\x{756F}\x{7570}\x{7572}' .
+'\x{7574}\x{7575}\x{7576}\x{7577}\x{7578}\x{7579}\x{757C}\x{757D}\x{757E}' .
+'\x{757F}\x{7580}\x{7581}\x{7582}\x{7583}\x{7584}\x{7586}\x{7587}\x{7588}' .
+'\x{7589}\x{758A}\x{758B}\x{758C}\x{758D}\x{758F}\x{7590}\x{7591}\x{7592}' .
+'\x{7593}\x{7594}\x{7595}\x{7596}\x{7597}\x{7598}\x{7599}\x{759A}\x{759B}' .
+'\x{759C}\x{759D}\x{759E}\x{759F}\x{75A0}\x{75A1}\x{75A2}\x{75A3}\x{75A4}' .
+'\x{75A5}\x{75A6}\x{75A7}\x{75A8}\x{75AA}\x{75AB}\x{75AC}\x{75AD}\x{75AE}' .
+'\x{75AF}\x{75B0}\x{75B1}\x{75B2}\x{75B3}\x{75B4}\x{75B5}\x{75B6}\x{75B8}' .
+'\x{75B9}\x{75BA}\x{75BB}\x{75BC}\x{75BD}\x{75BE}\x{75BF}\x{75C0}\x{75C1}' .
+'\x{75C2}\x{75C3}\x{75C4}\x{75C5}\x{75C6}\x{75C7}\x{75C8}\x{75C9}\x{75CA}' .
+'\x{75CB}\x{75CC}\x{75CD}\x{75CE}\x{75CF}\x{75D0}\x{75D1}\x{75D2}\x{75D3}' .
+'\x{75D4}\x{75D5}\x{75D6}\x{75D7}\x{75D8}\x{75D9}\x{75DA}\x{75DB}\x{75DD}' .
+'\x{75DE}\x{75DF}\x{75E0}\x{75E1}\x{75E2}\x{75E3}\x{75E4}\x{75E5}\x{75E6}' .
+'\x{75E7}\x{75E8}\x{75EA}\x{75EB}\x{75EC}\x{75ED}\x{75EF}\x{75F0}\x{75F1}' .
+'\x{75F2}\x{75F3}\x{75F4}\x{75F5}\x{75F6}\x{75F7}\x{75F8}\x{75F9}\x{75FA}' .
+'\x{75FB}\x{75FC}\x{75FD}\x{75FE}\x{75FF}\x{7600}\x{7601}\x{7602}\x{7603}' .
+'\x{7604}\x{7605}\x{7606}\x{7607}\x{7608}\x{7609}\x{760A}\x{760B}\x{760C}' .
+'\x{760D}\x{760E}\x{760F}\x{7610}\x{7611}\x{7612}\x{7613}\x{7614}\x{7615}' .
+'\x{7616}\x{7617}\x{7618}\x{7619}\x{761A}\x{761B}\x{761C}\x{761D}\x{761E}' .
+'\x{761F}\x{7620}\x{7621}\x{7622}\x{7623}\x{7624}\x{7625}\x{7626}\x{7627}' .
+'\x{7628}\x{7629}\x{762A}\x{762B}\x{762D}\x{762E}\x{762F}\x{7630}\x{7631}' .
+'\x{7632}\x{7633}\x{7634}\x{7635}\x{7636}\x{7637}\x{7638}\x{7639}\x{763A}' .
+'\x{763B}\x{763C}\x{763D}\x{763E}\x{763F}\x{7640}\x{7641}\x{7642}\x{7643}' .
+'\x{7646}\x{7647}\x{7648}\x{7649}\x{764A}\x{764B}\x{764C}\x{764D}\x{764F}' .
+'\x{7650}\x{7652}\x{7653}\x{7654}\x{7656}\x{7657}\x{7658}\x{7659}\x{765A}' .
+'\x{765B}\x{765C}\x{765D}\x{765E}\x{765F}\x{7660}\x{7661}\x{7662}\x{7663}' .
+'\x{7664}\x{7665}\x{7666}\x{7667}\x{7668}\x{7669}\x{766A}\x{766B}\x{766C}' .
+'\x{766D}\x{766E}\x{766F}\x{7670}\x{7671}\x{7672}\x{7674}\x{7675}\x{7676}' .
+'\x{7677}\x{7678}\x{7679}\x{767B}\x{767C}\x{767D}\x{767E}\x{767F}\x{7680}' .
+'\x{7681}\x{7682}\x{7683}\x{7684}\x{7685}\x{7686}\x{7687}\x{7688}\x{7689}' .
+'\x{768A}\x{768B}\x{768C}\x{768E}\x{768F}\x{7690}\x{7691}\x{7692}\x{7693}' .
+'\x{7694}\x{7695}\x{7696}\x{7697}\x{7698}\x{7699}\x{769A}\x{769B}\x{769C}' .
+'\x{769D}\x{769E}\x{769F}\x{76A0}\x{76A3}\x{76A4}\x{76A6}\x{76A7}\x{76A9}' .
+'\x{76AA}\x{76AB}\x{76AC}\x{76AD}\x{76AE}\x{76AF}\x{76B0}\x{76B1}\x{76B2}' .
+'\x{76B4}\x{76B5}\x{76B7}\x{76B8}\x{76BA}\x{76BB}\x{76BC}\x{76BD}\x{76BE}' .
+'\x{76BF}\x{76C0}\x{76C2}\x{76C3}\x{76C4}\x{76C5}\x{76C6}\x{76C7}\x{76C8}' .
+'\x{76C9}\x{76CA}\x{76CD}\x{76CE}\x{76CF}\x{76D0}\x{76D1}\x{76D2}\x{76D3}' .
+'\x{76D4}\x{76D5}\x{76D6}\x{76D7}\x{76D8}\x{76DA}\x{76DB}\x{76DC}\x{76DD}' .
+'\x{76DE}\x{76DF}\x{76E0}\x{76E1}\x{76E2}\x{76E3}\x{76E4}\x{76E5}\x{76E6}' .
+'\x{76E7}\x{76E8}\x{76E9}\x{76EA}\x{76EC}\x{76ED}\x{76EE}\x{76EF}\x{76F0}' .
+'\x{76F1}\x{76F2}\x{76F3}\x{76F4}\x{76F5}\x{76F6}\x{76F7}\x{76F8}\x{76F9}' .
+'\x{76FA}\x{76FB}\x{76FC}\x{76FD}\x{76FE}\x{76FF}\x{7701}\x{7703}\x{7704}' .
+'\x{7705}\x{7706}\x{7707}\x{7708}\x{7709}\x{770A}\x{770B}\x{770C}\x{770D}' .
+'\x{770F}\x{7710}\x{7711}\x{7712}\x{7713}\x{7714}\x{7715}\x{7716}\x{7717}' .
+'\x{7718}\x{7719}\x{771A}\x{771B}\x{771C}\x{771D}\x{771E}\x{771F}\x{7720}' .
+'\x{7722}\x{7723}\x{7725}\x{7726}\x{7727}\x{7728}\x{7729}\x{772A}\x{772C}' .
+'\x{772D}\x{772E}\x{772F}\x{7730}\x{7731}\x{7732}\x{7733}\x{7734}\x{7735}' .
+'\x{7736}\x{7737}\x{7738}\x{7739}\x{773A}\x{773B}\x{773C}\x{773D}\x{773E}' .
+'\x{7740}\x{7741}\x{7743}\x{7744}\x{7745}\x{7746}\x{7747}\x{7748}\x{7749}' .
+'\x{774A}\x{774B}\x{774C}\x{774D}\x{774E}\x{774F}\x{7750}\x{7751}\x{7752}' .
+'\x{7753}\x{7754}\x{7755}\x{7756}\x{7757}\x{7758}\x{7759}\x{775A}\x{775B}' .
+'\x{775C}\x{775D}\x{775E}\x{775F}\x{7760}\x{7761}\x{7762}\x{7763}\x{7765}' .
+'\x{7766}\x{7767}\x{7768}\x{7769}\x{776A}\x{776B}\x{776C}\x{776D}\x{776E}' .
+'\x{776F}\x{7770}\x{7771}\x{7772}\x{7773}\x{7774}\x{7775}\x{7776}\x{7777}' .
+'\x{7778}\x{7779}\x{777A}\x{777B}\x{777C}\x{777D}\x{777E}\x{777F}\x{7780}' .
+'\x{7781}\x{7782}\x{7783}\x{7784}\x{7785}\x{7786}\x{7787}\x{7788}\x{7789}' .
+'\x{778A}\x{778B}\x{778C}\x{778D}\x{778E}\x{778F}\x{7790}\x{7791}\x{7792}' .
+'\x{7793}\x{7794}\x{7795}\x{7797}\x{7798}\x{7799}\x{779A}\x{779B}\x{779C}' .
+'\x{779D}\x{779E}\x{779F}\x{77A0}\x{77A1}\x{77A2}\x{77A3}\x{77A5}\x{77A6}' .
+'\x{77A7}\x{77A8}\x{77A9}\x{77AA}\x{77AB}\x{77AC}\x{77AD}\x{77AE}\x{77AF}' .
+'\x{77B0}\x{77B1}\x{77B2}\x{77B3}\x{77B4}\x{77B5}\x{77B6}\x{77B7}\x{77B8}' .
+'\x{77B9}\x{77BA}\x{77BB}\x{77BC}\x{77BD}\x{77BF}\x{77C0}\x{77C2}\x{77C3}' .
+'\x{77C4}\x{77C5}\x{77C6}\x{77C7}\x{77C8}\x{77C9}\x{77CA}\x{77CB}\x{77CC}' .
+'\x{77CD}\x{77CE}\x{77CF}\x{77D0}\x{77D1}\x{77D3}\x{77D4}\x{77D5}\x{77D6}' .
+'\x{77D7}\x{77D8}\x{77D9}\x{77DA}\x{77DB}\x{77DC}\x{77DE}\x{77DF}\x{77E0}' .
+'\x{77E1}\x{77E2}\x{77E3}\x{77E5}\x{77E7}\x{77E8}\x{77E9}\x{77EA}\x{77EB}' .
+'\x{77EC}\x{77ED}\x{77EE}\x{77EF}\x{77F0}\x{77F1}\x{77F2}\x{77F3}\x{77F6}' .
+'\x{77F7}\x{77F8}\x{77F9}\x{77FA}\x{77FB}\x{77FC}\x{77FD}\x{77FE}\x{77FF}' .
+'\x{7800}\x{7801}\x{7802}\x{7803}\x{7804}\x{7805}\x{7806}\x{7808}\x{7809}' .
+'\x{780A}\x{780B}\x{780C}\x{780D}\x{780E}\x{780F}\x{7810}\x{7811}\x{7812}' .
+'\x{7813}\x{7814}\x{7815}\x{7816}\x{7817}\x{7818}\x{7819}\x{781A}\x{781B}' .
+'\x{781C}\x{781D}\x{781E}\x{781F}\x{7820}\x{7821}\x{7822}\x{7823}\x{7825}' .
+'\x{7826}\x{7827}\x{7828}\x{7829}\x{782A}\x{782B}\x{782C}\x{782D}\x{782E}' .
+'\x{782F}\x{7830}\x{7831}\x{7832}\x{7833}\x{7834}\x{7835}\x{7837}\x{7838}' .
+'\x{7839}\x{783A}\x{783B}\x{783C}\x{783D}\x{783E}\x{7840}\x{7841}\x{7843}' .
+'\x{7844}\x{7845}\x{7847}\x{7848}\x{7849}\x{784A}\x{784C}\x{784D}\x{784E}' .
+'\x{7850}\x{7851}\x{7852}\x{7853}\x{7854}\x{7855}\x{7856}\x{7857}\x{7858}' .
+'\x{7859}\x{785A}\x{785B}\x{785C}\x{785D}\x{785E}\x{785F}\x{7860}\x{7861}' .
+'\x{7862}\x{7863}\x{7864}\x{7865}\x{7866}\x{7867}\x{7868}\x{7869}\x{786A}' .
+'\x{786B}\x{786C}\x{786D}\x{786E}\x{786F}\x{7870}\x{7871}\x{7872}\x{7873}' .
+'\x{7874}\x{7875}\x{7877}\x{7878}\x{7879}\x{787A}\x{787B}\x{787C}\x{787D}' .
+'\x{787E}\x{787F}\x{7880}\x{7881}\x{7882}\x{7883}\x{7884}\x{7885}\x{7886}' .
+'\x{7887}\x{7889}\x{788A}\x{788B}\x{788C}\x{788D}\x{788E}\x{788F}\x{7890}' .
+'\x{7891}\x{7892}\x{7893}\x{7894}\x{7895}\x{7896}\x{7897}\x{7898}\x{7899}' .
+'\x{789A}\x{789B}\x{789C}\x{789D}\x{789E}\x{789F}\x{78A0}\x{78A1}\x{78A2}' .
+'\x{78A3}\x{78A4}\x{78A5}\x{78A6}\x{78A7}\x{78A8}\x{78A9}\x{78AA}\x{78AB}' .
+'\x{78AC}\x{78AD}\x{78AE}\x{78AF}\x{78B0}\x{78B1}\x{78B2}\x{78B3}\x{78B4}' .
+'\x{78B5}\x{78B6}\x{78B7}\x{78B8}\x{78B9}\x{78BA}\x{78BB}\x{78BC}\x{78BD}' .
+'\x{78BE}\x{78BF}\x{78C0}\x{78C1}\x{78C3}\x{78C4}\x{78C5}\x{78C6}\x{78C8}' .
+'\x{78C9}\x{78CA}\x{78CB}\x{78CC}\x{78CD}\x{78CE}\x{78CF}\x{78D0}\x{78D1}' .
+'\x{78D3}\x{78D4}\x{78D5}\x{78D6}\x{78D7}\x{78D8}\x{78D9}\x{78DA}\x{78DB}' .
+'\x{78DC}\x{78DD}\x{78DE}\x{78DF}\x{78E0}\x{78E1}\x{78E2}\x{78E3}\x{78E4}' .
+'\x{78E5}\x{78E6}\x{78E7}\x{78E8}\x{78E9}\x{78EA}\x{78EB}\x{78EC}\x{78ED}' .
+'\x{78EE}\x{78EF}\x{78F1}\x{78F2}\x{78F3}\x{78F4}\x{78F5}\x{78F6}\x{78F7}' .
+'\x{78F9}\x{78FA}\x{78FB}\x{78FC}\x{78FD}\x{78FE}\x{78FF}\x{7901}\x{7902}' .
+'\x{7903}\x{7904}\x{7905}\x{7906}\x{7907}\x{7909}\x{790A}\x{790B}\x{790C}' .
+'\x{790E}\x{790F}\x{7910}\x{7911}\x{7912}\x{7913}\x{7914}\x{7916}\x{7917}' .
+'\x{7918}\x{7919}\x{791A}\x{791B}\x{791C}\x{791D}\x{791E}\x{7921}\x{7922}' .
+'\x{7923}\x{7924}\x{7925}\x{7926}\x{7927}\x{7928}\x{7929}\x{792A}\x{792B}' .
+'\x{792C}\x{792D}\x{792E}\x{792F}\x{7930}\x{7931}\x{7933}\x{7934}\x{7935}' .
+'\x{7937}\x{7938}\x{7939}\x{793A}\x{793B}\x{793C}\x{793D}\x{793E}\x{793F}' .
+'\x{7940}\x{7941}\x{7942}\x{7943}\x{7944}\x{7945}\x{7946}\x{7947}\x{7948}' .
+'\x{7949}\x{794A}\x{794B}\x{794C}\x{794D}\x{794E}\x{794F}\x{7950}\x{7951}' .
+'\x{7952}\x{7953}\x{7954}\x{7955}\x{7956}\x{7957}\x{7958}\x{795A}\x{795B}' .
+'\x{795C}\x{795D}\x{795E}\x{795F}\x{7960}\x{7961}\x{7962}\x{7963}\x{7964}' .
+'\x{7965}\x{7966}\x{7967}\x{7968}\x{7969}\x{796A}\x{796B}\x{796D}\x{796F}' .
+'\x{7970}\x{7971}\x{7972}\x{7973}\x{7974}\x{7977}\x{7978}\x{7979}\x{797A}' .
+'\x{797B}\x{797C}\x{797D}\x{797E}\x{797F}\x{7980}\x{7981}\x{7982}\x{7983}' .
+'\x{7984}\x{7985}\x{7988}\x{7989}\x{798A}\x{798B}\x{798C}\x{798D}\x{798E}' .
+'\x{798F}\x{7990}\x{7991}\x{7992}\x{7993}\x{7994}\x{7995}\x{7996}\x{7997}' .
+'\x{7998}\x{7999}\x{799A}\x{799B}\x{799C}\x{799F}\x{79A0}\x{79A1}\x{79A2}' .
+'\x{79A3}\x{79A4}\x{79A5}\x{79A6}\x{79A7}\x{79A8}\x{79AA}\x{79AB}\x{79AC}' .
+'\x{79AD}\x{79AE}\x{79AF}\x{79B0}\x{79B1}\x{79B2}\x{79B3}\x{79B4}\x{79B5}' .
+'\x{79B6}\x{79B7}\x{79B8}\x{79B9}\x{79BA}\x{79BB}\x{79BD}\x{79BE}\x{79BF}' .
+'\x{79C0}\x{79C1}\x{79C2}\x{79C3}\x{79C5}\x{79C6}\x{79C8}\x{79C9}\x{79CA}' .
+'\x{79CB}\x{79CD}\x{79CE}\x{79CF}\x{79D0}\x{79D1}\x{79D2}\x{79D3}\x{79D5}' .
+'\x{79D6}\x{79D8}\x{79D9}\x{79DA}\x{79DB}\x{79DC}\x{79DD}\x{79DE}\x{79DF}' .
+'\x{79E0}\x{79E1}\x{79E2}\x{79E3}\x{79E4}\x{79E5}\x{79E6}\x{79E7}\x{79E8}' .
+'\x{79E9}\x{79EA}\x{79EB}\x{79EC}\x{79ED}\x{79EE}\x{79EF}\x{79F0}\x{79F1}' .
+'\x{79F2}\x{79F3}\x{79F4}\x{79F5}\x{79F6}\x{79F7}\x{79F8}\x{79F9}\x{79FA}' .
+'\x{79FB}\x{79FC}\x{79FD}\x{79FE}\x{79FF}\x{7A00}\x{7A02}\x{7A03}\x{7A04}' .
+'\x{7A05}\x{7A06}\x{7A08}\x{7A0A}\x{7A0B}\x{7A0C}\x{7A0D}\x{7A0E}\x{7A0F}' .
+'\x{7A10}\x{7A11}\x{7A12}\x{7A13}\x{7A14}\x{7A15}\x{7A16}\x{7A17}\x{7A18}' .
+'\x{7A19}\x{7A1A}\x{7A1B}\x{7A1C}\x{7A1D}\x{7A1E}\x{7A1F}\x{7A20}\x{7A21}' .
+'\x{7A22}\x{7A23}\x{7A24}\x{7A25}\x{7A26}\x{7A27}\x{7A28}\x{7A29}\x{7A2A}' .
+'\x{7A2B}\x{7A2D}\x{7A2E}\x{7A2F}\x{7A30}\x{7A31}\x{7A32}\x{7A33}\x{7A34}' .
+'\x{7A35}\x{7A37}\x{7A39}\x{7A3B}\x{7A3C}\x{7A3D}\x{7A3E}\x{7A3F}\x{7A40}' .
+'\x{7A41}\x{7A42}\x{7A43}\x{7A44}\x{7A45}\x{7A46}\x{7A47}\x{7A48}\x{7A49}' .
+'\x{7A4A}\x{7A4B}\x{7A4C}\x{7A4D}\x{7A4E}\x{7A50}\x{7A51}\x{7A52}\x{7A53}' .
+'\x{7A54}\x{7A55}\x{7A56}\x{7A57}\x{7A58}\x{7A59}\x{7A5A}\x{7A5B}\x{7A5C}' .
+'\x{7A5D}\x{7A5E}\x{7A5F}\x{7A60}\x{7A61}\x{7A62}\x{7A65}\x{7A66}\x{7A67}' .
+'\x{7A68}\x{7A69}\x{7A6B}\x{7A6C}\x{7A6D}\x{7A6E}\x{7A70}\x{7A71}\x{7A72}' .
+'\x{7A73}\x{7A74}\x{7A75}\x{7A76}\x{7A77}\x{7A78}\x{7A79}\x{7A7A}\x{7A7B}' .
+'\x{7A7C}\x{7A7D}\x{7A7E}\x{7A7F}\x{7A80}\x{7A81}\x{7A83}\x{7A84}\x{7A85}' .
+'\x{7A86}\x{7A87}\x{7A88}\x{7A89}\x{7A8A}\x{7A8B}\x{7A8C}\x{7A8D}\x{7A8E}' .
+'\x{7A8F}\x{7A90}\x{7A91}\x{7A92}\x{7A93}\x{7A94}\x{7A95}\x{7A96}\x{7A97}' .
+'\x{7A98}\x{7A99}\x{7A9C}\x{7A9D}\x{7A9E}\x{7A9F}\x{7AA0}\x{7AA1}\x{7AA2}' .
+'\x{7AA3}\x{7AA4}\x{7AA5}\x{7AA6}\x{7AA7}\x{7AA8}\x{7AA9}\x{7AAA}\x{7AAB}' .
+'\x{7AAC}\x{7AAD}\x{7AAE}\x{7AAF}\x{7AB0}\x{7AB1}\x{7AB2}\x{7AB3}\x{7AB4}' .
+'\x{7AB5}\x{7AB6}\x{7AB7}\x{7AB8}\x{7ABA}\x{7ABE}\x{7ABF}\x{7AC0}\x{7AC1}' .
+'\x{7AC4}\x{7AC5}\x{7AC7}\x{7AC8}\x{7AC9}\x{7ACA}\x{7ACB}\x{7ACC}\x{7ACD}' .
+'\x{7ACE}\x{7ACF}\x{7AD0}\x{7AD1}\x{7AD2}\x{7AD3}\x{7AD4}\x{7AD5}\x{7AD6}' .
+'\x{7AD8}\x{7AD9}\x{7ADB}\x{7ADC}\x{7ADD}\x{7ADE}\x{7ADF}\x{7AE0}\x{7AE1}' .
+'\x{7AE2}\x{7AE3}\x{7AE4}\x{7AE5}\x{7AE6}\x{7AE7}\x{7AE8}\x{7AEA}\x{7AEB}' .
+'\x{7AEC}\x{7AED}\x{7AEE}\x{7AEF}\x{7AF0}\x{7AF1}\x{7AF2}\x{7AF3}\x{7AF4}' .
+'\x{7AF6}\x{7AF7}\x{7AF8}\x{7AF9}\x{7AFA}\x{7AFB}\x{7AFD}\x{7AFE}\x{7AFF}' .
+'\x{7B00}\x{7B01}\x{7B02}\x{7B03}\x{7B04}\x{7B05}\x{7B06}\x{7B08}\x{7B09}' .
+'\x{7B0A}\x{7B0B}\x{7B0C}\x{7B0D}\x{7B0E}\x{7B0F}\x{7B10}\x{7B11}\x{7B12}' .
+'\x{7B13}\x{7B14}\x{7B15}\x{7B16}\x{7B17}\x{7B18}\x{7B19}\x{7B1A}\x{7B1B}' .
+'\x{7B1C}\x{7B1D}\x{7B1E}\x{7B20}\x{7B21}\x{7B22}\x{7B23}\x{7B24}\x{7B25}' .
+'\x{7B26}\x{7B28}\x{7B2A}\x{7B2B}\x{7B2C}\x{7B2D}\x{7B2E}\x{7B2F}\x{7B30}' .
+'\x{7B31}\x{7B32}\x{7B33}\x{7B34}\x{7B35}\x{7B36}\x{7B37}\x{7B38}\x{7B39}' .
+'\x{7B3A}\x{7B3B}\x{7B3C}\x{7B3D}\x{7B3E}\x{7B3F}\x{7B40}\x{7B41}\x{7B43}' .
+'\x{7B44}\x{7B45}\x{7B46}\x{7B47}\x{7B48}\x{7B49}\x{7B4A}\x{7B4B}\x{7B4C}' .
+'\x{7B4D}\x{7B4E}\x{7B4F}\x{7B50}\x{7B51}\x{7B52}\x{7B54}\x{7B55}\x{7B56}' .
+'\x{7B57}\x{7B58}\x{7B59}\x{7B5A}\x{7B5B}\x{7B5C}\x{7B5D}\x{7B5E}\x{7B5F}' .
+'\x{7B60}\x{7B61}\x{7B62}\x{7B63}\x{7B64}\x{7B65}\x{7B66}\x{7B67}\x{7B68}' .
+'\x{7B69}\x{7B6A}\x{7B6B}\x{7B6C}\x{7B6D}\x{7B6E}\x{7B70}\x{7B71}\x{7B72}' .
+'\x{7B73}\x{7B74}\x{7B75}\x{7B76}\x{7B77}\x{7B78}\x{7B79}\x{7B7B}\x{7B7C}' .
+'\x{7B7D}\x{7B7E}\x{7B7F}\x{7B80}\x{7B81}\x{7B82}\x{7B83}\x{7B84}\x{7B85}' .
+'\x{7B87}\x{7B88}\x{7B89}\x{7B8A}\x{7B8B}\x{7B8C}\x{7B8D}\x{7B8E}\x{7B8F}' .
+'\x{7B90}\x{7B91}\x{7B93}\x{7B94}\x{7B95}\x{7B96}\x{7B97}\x{7B98}\x{7B99}' .
+'\x{7B9A}\x{7B9B}\x{7B9C}\x{7B9D}\x{7B9E}\x{7B9F}\x{7BA0}\x{7BA1}\x{7BA2}' .
+'\x{7BA4}\x{7BA6}\x{7BA7}\x{7BA8}\x{7BA9}\x{7BAA}\x{7BAB}\x{7BAC}\x{7BAD}' .
+'\x{7BAE}\x{7BAF}\x{7BB1}\x{7BB3}\x{7BB4}\x{7BB5}\x{7BB6}\x{7BB7}\x{7BB8}' .
+'\x{7BB9}\x{7BBA}\x{7BBB}\x{7BBC}\x{7BBD}\x{7BBE}\x{7BBF}\x{7BC0}\x{7BC1}' .
+'\x{7BC2}\x{7BC3}\x{7BC4}\x{7BC5}\x{7BC6}\x{7BC7}\x{7BC8}\x{7BC9}\x{7BCA}' .
+'\x{7BCB}\x{7BCC}\x{7BCD}\x{7BCE}\x{7BD0}\x{7BD1}\x{7BD2}\x{7BD3}\x{7BD4}' .
+'\x{7BD5}\x{7BD6}\x{7BD7}\x{7BD8}\x{7BD9}\x{7BDA}\x{7BDB}\x{7BDC}\x{7BDD}' .
+'\x{7BDE}\x{7BDF}\x{7BE0}\x{7BE1}\x{7BE2}\x{7BE3}\x{7BE4}\x{7BE5}\x{7BE6}' .
+'\x{7BE7}\x{7BE8}\x{7BE9}\x{7BEA}\x{7BEB}\x{7BEC}\x{7BED}\x{7BEE}\x{7BEF}' .
+'\x{7BF0}\x{7BF1}\x{7BF2}\x{7BF3}\x{7BF4}\x{7BF5}\x{7BF6}\x{7BF7}\x{7BF8}' .
+'\x{7BF9}\x{7BFB}\x{7BFC}\x{7BFD}\x{7BFE}\x{7BFF}\x{7C00}\x{7C01}\x{7C02}' .
+'\x{7C03}\x{7C04}\x{7C05}\x{7C06}\x{7C07}\x{7C08}\x{7C09}\x{7C0A}\x{7C0B}' .
+'\x{7C0C}\x{7C0D}\x{7C0E}\x{7C0F}\x{7C10}\x{7C11}\x{7C12}\x{7C13}\x{7C15}' .
+'\x{7C16}\x{7C17}\x{7C18}\x{7C19}\x{7C1A}\x{7C1C}\x{7C1D}\x{7C1E}\x{7C1F}' .
+'\x{7C20}\x{7C21}\x{7C22}\x{7C23}\x{7C24}\x{7C25}\x{7C26}\x{7C27}\x{7C28}' .
+'\x{7C29}\x{7C2A}\x{7C2B}\x{7C2C}\x{7C2D}\x{7C30}\x{7C31}\x{7C32}\x{7C33}' .
+'\x{7C34}\x{7C35}\x{7C36}\x{7C37}\x{7C38}\x{7C39}\x{7C3A}\x{7C3B}\x{7C3C}' .
+'\x{7C3D}\x{7C3E}\x{7C3F}\x{7C40}\x{7C41}\x{7C42}\x{7C43}\x{7C44}\x{7C45}' .
+'\x{7C46}\x{7C47}\x{7C48}\x{7C49}\x{7C4A}\x{7C4B}\x{7C4C}\x{7C4D}\x{7C4E}' .
+'\x{7C50}\x{7C51}\x{7C53}\x{7C54}\x{7C56}\x{7C57}\x{7C58}\x{7C59}\x{7C5A}' .
+'\x{7C5B}\x{7C5C}\x{7C5E}\x{7C5F}\x{7C60}\x{7C61}\x{7C62}\x{7C63}\x{7C64}' .
+'\x{7C65}\x{7C66}\x{7C67}\x{7C68}\x{7C69}\x{7C6A}\x{7C6B}\x{7C6C}\x{7C6D}' .
+'\x{7C6E}\x{7C6F}\x{7C70}\x{7C71}\x{7C72}\x{7C73}\x{7C74}\x{7C75}\x{7C77}' .
+'\x{7C78}\x{7C79}\x{7C7A}\x{7C7B}\x{7C7C}\x{7C7D}\x{7C7E}\x{7C7F}\x{7C80}' .
+'\x{7C81}\x{7C82}\x{7C84}\x{7C85}\x{7C86}\x{7C88}\x{7C89}\x{7C8A}\x{7C8B}' .
+'\x{7C8C}\x{7C8D}\x{7C8E}\x{7C8F}\x{7C90}\x{7C91}\x{7C92}\x{7C94}\x{7C95}' .
+'\x{7C96}\x{7C97}\x{7C98}\x{7C99}\x{7C9B}\x{7C9C}\x{7C9D}\x{7C9E}\x{7C9F}' .
+'\x{7CA0}\x{7CA1}\x{7CA2}\x{7CA3}\x{7CA4}\x{7CA5}\x{7CA6}\x{7CA7}\x{7CA8}' .
+'\x{7CA9}\x{7CAA}\x{7CAD}\x{7CAE}\x{7CAF}\x{7CB0}\x{7CB1}\x{7CB2}\x{7CB3}' .
+'\x{7CB4}\x{7CB5}\x{7CB6}\x{7CB7}\x{7CB8}\x{7CB9}\x{7CBA}\x{7CBB}\x{7CBC}' .
+'\x{7CBD}\x{7CBE}\x{7CBF}\x{7CC0}\x{7CC1}\x{7CC2}\x{7CC3}\x{7CC4}\x{7CC5}' .
+'\x{7CC6}\x{7CC7}\x{7CC8}\x{7CC9}\x{7CCA}\x{7CCB}\x{7CCC}\x{7CCD}\x{7CCE}' .
+'\x{7CCF}\x{7CD0}\x{7CD1}\x{7CD2}\x{7CD4}\x{7CD5}\x{7CD6}\x{7CD7}\x{7CD8}' .
+'\x{7CD9}\x{7CDC}\x{7CDD}\x{7CDE}\x{7CDF}\x{7CE0}\x{7CE2}\x{7CE4}\x{7CE7}' .
+'\x{7CE8}\x{7CE9}\x{7CEA}\x{7CEB}\x{7CEC}\x{7CED}\x{7CEE}\x{7CEF}\x{7CF0}' .
+'\x{7CF1}\x{7CF2}\x{7CF3}\x{7CF4}\x{7CF5}\x{7CF6}\x{7CF7}\x{7CF8}\x{7CF9}' .
+'\x{7CFA}\x{7CFB}\x{7CFD}\x{7CFE}\x{7D00}\x{7D01}\x{7D02}\x{7D03}\x{7D04}' .
+'\x{7D05}\x{7D06}\x{7D07}\x{7D08}\x{7D09}\x{7D0A}\x{7D0B}\x{7D0C}\x{7D0D}' .
+'\x{7D0E}\x{7D0F}\x{7D10}\x{7D11}\x{7D12}\x{7D13}\x{7D14}\x{7D15}\x{7D16}' .
+'\x{7D17}\x{7D18}\x{7D19}\x{7D1A}\x{7D1B}\x{7D1C}\x{7D1D}\x{7D1E}\x{7D1F}' .
+'\x{7D20}\x{7D21}\x{7D22}\x{7D24}\x{7D25}\x{7D26}\x{7D27}\x{7D28}\x{7D29}' .
+'\x{7D2B}\x{7D2C}\x{7D2E}\x{7D2F}\x{7D30}\x{7D31}\x{7D32}\x{7D33}\x{7D34}' .
+'\x{7D35}\x{7D36}\x{7D37}\x{7D38}\x{7D39}\x{7D3A}\x{7D3B}\x{7D3C}\x{7D3D}' .
+'\x{7D3E}\x{7D3F}\x{7D40}\x{7D41}\x{7D42}\x{7D43}\x{7D44}\x{7D45}\x{7D46}' .
+'\x{7D47}\x{7D49}\x{7D4A}\x{7D4B}\x{7D4C}\x{7D4E}\x{7D4F}\x{7D50}\x{7D51}' .
+'\x{7D52}\x{7D53}\x{7D54}\x{7D55}\x{7D56}\x{7D57}\x{7D58}\x{7D59}\x{7D5B}' .
+'\x{7D5C}\x{7D5D}\x{7D5E}\x{7D5F}\x{7D60}\x{7D61}\x{7D62}\x{7D63}\x{7D65}' .
+'\x{7D66}\x{7D67}\x{7D68}\x{7D69}\x{7D6A}\x{7D6B}\x{7D6C}\x{7D6D}\x{7D6E}' .
+'\x{7D6F}\x{7D70}\x{7D71}\x{7D72}\x{7D73}\x{7D74}\x{7D75}\x{7D76}\x{7D77}' .
+'\x{7D79}\x{7D7A}\x{7D7B}\x{7D7C}\x{7D7D}\x{7D7E}\x{7D7F}\x{7D80}\x{7D81}' .
+'\x{7D83}\x{7D84}\x{7D85}\x{7D86}\x{7D87}\x{7D88}\x{7D89}\x{7D8A}\x{7D8B}' .
+'\x{7D8C}\x{7D8D}\x{7D8E}\x{7D8F}\x{7D90}\x{7D91}\x{7D92}\x{7D93}\x{7D94}' .
+'\x{7D96}\x{7D97}\x{7D99}\x{7D9B}\x{7D9C}\x{7D9D}\x{7D9E}\x{7D9F}\x{7DA0}' .
+'\x{7DA1}\x{7DA2}\x{7DA3}\x{7DA5}\x{7DA6}\x{7DA7}\x{7DA9}\x{7DAA}\x{7DAB}' .
+'\x{7DAC}\x{7DAD}\x{7DAE}\x{7DAF}\x{7DB0}\x{7DB1}\x{7DB2}\x{7DB3}\x{7DB4}' .
+'\x{7DB5}\x{7DB6}\x{7DB7}\x{7DB8}\x{7DB9}\x{7DBA}\x{7DBB}\x{7DBC}\x{7DBD}' .
+'\x{7DBE}\x{7DBF}\x{7DC0}\x{7DC1}\x{7DC2}\x{7DC3}\x{7DC4}\x{7DC5}\x{7DC6}' .
+'\x{7DC7}\x{7DC8}\x{7DC9}\x{7DCA}\x{7DCB}\x{7DCC}\x{7DCE}\x{7DCF}\x{7DD0}' .
+'\x{7DD1}\x{7DD2}\x{7DD4}\x{7DD5}\x{7DD6}\x{7DD7}\x{7DD8}\x{7DD9}\x{7DDA}' .
+'\x{7DDB}\x{7DDD}\x{7DDE}\x{7DDF}\x{7DE0}\x{7DE1}\x{7DE2}\x{7DE3}\x{7DE6}' .
+'\x{7DE7}\x{7DE8}\x{7DE9}\x{7DEA}\x{7DEC}\x{7DED}\x{7DEE}\x{7DEF}\x{7DF0}' .
+'\x{7DF1}\x{7DF2}\x{7DF3}\x{7DF4}\x{7DF5}\x{7DF6}\x{7DF7}\x{7DF8}\x{7DF9}' .
+'\x{7DFA}\x{7DFB}\x{7DFC}\x{7E00}\x{7E01}\x{7E02}\x{7E03}\x{7E04}\x{7E05}' .
+'\x{7E06}\x{7E07}\x{7E08}\x{7E09}\x{7E0A}\x{7E0B}\x{7E0C}\x{7E0D}\x{7E0E}' .
+'\x{7E0F}\x{7E10}\x{7E11}\x{7E12}\x{7E13}\x{7E14}\x{7E15}\x{7E16}\x{7E17}' .
+'\x{7E19}\x{7E1A}\x{7E1B}\x{7E1C}\x{7E1D}\x{7E1E}\x{7E1F}\x{7E20}\x{7E21}' .
+'\x{7E22}\x{7E23}\x{7E24}\x{7E25}\x{7E26}\x{7E27}\x{7E28}\x{7E29}\x{7E2A}' .
+'\x{7E2B}\x{7E2C}\x{7E2D}\x{7E2E}\x{7E2F}\x{7E30}\x{7E31}\x{7E32}\x{7E33}' .
+'\x{7E34}\x{7E35}\x{7E36}\x{7E37}\x{7E38}\x{7E39}\x{7E3A}\x{7E3B}\x{7E3C}' .
+'\x{7E3D}\x{7E3E}\x{7E3F}\x{7E40}\x{7E41}\x{7E42}\x{7E43}\x{7E44}\x{7E45}' .
+'\x{7E46}\x{7E47}\x{7E48}\x{7E49}\x{7E4C}\x{7E4D}\x{7E4E}\x{7E4F}\x{7E50}' .
+'\x{7E51}\x{7E52}\x{7E53}\x{7E54}\x{7E55}\x{7E56}\x{7E57}\x{7E58}\x{7E59}' .
+'\x{7E5A}\x{7E5C}\x{7E5D}\x{7E5E}\x{7E5F}\x{7E60}\x{7E61}\x{7E62}\x{7E63}' .
+'\x{7E65}\x{7E66}\x{7E67}\x{7E68}\x{7E69}\x{7E6A}\x{7E6B}\x{7E6C}\x{7E6D}' .
+'\x{7E6E}\x{7E6F}\x{7E70}\x{7E71}\x{7E72}\x{7E73}\x{7E74}\x{7E75}\x{7E76}' .
+'\x{7E77}\x{7E78}\x{7E79}\x{7E7A}\x{7E7B}\x{7E7C}\x{7E7D}\x{7E7E}\x{7E7F}' .
+'\x{7E80}\x{7E81}\x{7E82}\x{7E83}\x{7E84}\x{7E85}\x{7E86}\x{7E87}\x{7E88}' .
+'\x{7E89}\x{7E8A}\x{7E8B}\x{7E8C}\x{7E8D}\x{7E8E}\x{7E8F}\x{7E90}\x{7E91}' .
+'\x{7E92}\x{7E93}\x{7E94}\x{7E95}\x{7E96}\x{7E97}\x{7E98}\x{7E99}\x{7E9A}' .
+'\x{7E9B}\x{7E9C}\x{7E9E}\x{7E9F}\x{7EA0}\x{7EA1}\x{7EA2}\x{7EA3}\x{7EA4}' .
+'\x{7EA5}\x{7EA6}\x{7EA7}\x{7EA8}\x{7EA9}\x{7EAA}\x{7EAB}\x{7EAC}\x{7EAD}' .
+'\x{7EAE}\x{7EAF}\x{7EB0}\x{7EB1}\x{7EB2}\x{7EB3}\x{7EB4}\x{7EB5}\x{7EB6}' .
+'\x{7EB7}\x{7EB8}\x{7EB9}\x{7EBA}\x{7EBB}\x{7EBC}\x{7EBD}\x{7EBE}\x{7EBF}' .
+'\x{7EC0}\x{7EC1}\x{7EC2}\x{7EC3}\x{7EC4}\x{7EC5}\x{7EC6}\x{7EC7}\x{7EC8}' .
+'\x{7EC9}\x{7ECA}\x{7ECB}\x{7ECC}\x{7ECD}\x{7ECE}\x{7ECF}\x{7ED0}\x{7ED1}' .
+'\x{7ED2}\x{7ED3}\x{7ED4}\x{7ED5}\x{7ED6}\x{7ED7}\x{7ED8}\x{7ED9}\x{7EDA}' .
+'\x{7EDB}\x{7EDC}\x{7EDD}\x{7EDE}\x{7EDF}\x{7EE0}\x{7EE1}\x{7EE2}\x{7EE3}' .
+'\x{7EE4}\x{7EE5}\x{7EE6}\x{7EE7}\x{7EE8}\x{7EE9}\x{7EEA}\x{7EEB}\x{7EEC}' .
+'\x{7EED}\x{7EEE}\x{7EEF}\x{7EF0}\x{7EF1}\x{7EF2}\x{7EF3}\x{7EF4}\x{7EF5}' .
+'\x{7EF6}\x{7EF7}\x{7EF8}\x{7EF9}\x{7EFA}\x{7EFB}\x{7EFC}\x{7EFD}\x{7EFE}' .
+'\x{7EFF}\x{7F00}\x{7F01}\x{7F02}\x{7F03}\x{7F04}\x{7F05}\x{7F06}\x{7F07}' .
+'\x{7F08}\x{7F09}\x{7F0A}\x{7F0B}\x{7F0C}\x{7F0D}\x{7F0E}\x{7F0F}\x{7F10}' .
+'\x{7F11}\x{7F12}\x{7F13}\x{7F14}\x{7F15}\x{7F16}\x{7F17}\x{7F18}\x{7F19}' .
+'\x{7F1A}\x{7F1B}\x{7F1C}\x{7F1D}\x{7F1E}\x{7F1F}\x{7F20}\x{7F21}\x{7F22}' .
+'\x{7F23}\x{7F24}\x{7F25}\x{7F26}\x{7F27}\x{7F28}\x{7F29}\x{7F2A}\x{7F2B}' .
+'\x{7F2C}\x{7F2D}\x{7F2E}\x{7F2F}\x{7F30}\x{7F31}\x{7F32}\x{7F33}\x{7F34}' .
+'\x{7F35}\x{7F36}\x{7F37}\x{7F38}\x{7F39}\x{7F3A}\x{7F3D}\x{7F3E}\x{7F3F}' .
+'\x{7F40}\x{7F42}\x{7F43}\x{7F44}\x{7F45}\x{7F47}\x{7F48}\x{7F49}\x{7F4A}' .
+'\x{7F4B}\x{7F4C}\x{7F4D}\x{7F4E}\x{7F4F}\x{7F50}\x{7F51}\x{7F52}\x{7F53}' .
+'\x{7F54}\x{7F55}\x{7F56}\x{7F57}\x{7F58}\x{7F5A}\x{7F5B}\x{7F5C}\x{7F5D}' .
+'\x{7F5E}\x{7F5F}\x{7F60}\x{7F61}\x{7F62}\x{7F63}\x{7F64}\x{7F65}\x{7F66}' .
+'\x{7F67}\x{7F68}\x{7F69}\x{7F6A}\x{7F6B}\x{7F6C}\x{7F6D}\x{7F6E}\x{7F6F}' .
+'\x{7F70}\x{7F71}\x{7F72}\x{7F73}\x{7F74}\x{7F75}\x{7F76}\x{7F77}\x{7F78}' .
+'\x{7F79}\x{7F7A}\x{7F7B}\x{7F7C}\x{7F7D}\x{7F7E}\x{7F7F}\x{7F80}\x{7F81}' .
+'\x{7F82}\x{7F83}\x{7F85}\x{7F86}\x{7F87}\x{7F88}\x{7F89}\x{7F8A}\x{7F8B}' .
+'\x{7F8C}\x{7F8D}\x{7F8E}\x{7F8F}\x{7F91}\x{7F92}\x{7F93}\x{7F94}\x{7F95}' .
+'\x{7F96}\x{7F98}\x{7F9A}\x{7F9B}\x{7F9C}\x{7F9D}\x{7F9E}\x{7F9F}\x{7FA0}' .
+'\x{7FA1}\x{7FA2}\x{7FA3}\x{7FA4}\x{7FA5}\x{7FA6}\x{7FA7}\x{7FA8}\x{7FA9}' .
+'\x{7FAA}\x{7FAB}\x{7FAC}\x{7FAD}\x{7FAE}\x{7FAF}\x{7FB0}\x{7FB1}\x{7FB2}' .
+'\x{7FB3}\x{7FB5}\x{7FB6}\x{7FB7}\x{7FB8}\x{7FB9}\x{7FBA}\x{7FBB}\x{7FBC}' .
+'\x{7FBD}\x{7FBE}\x{7FBF}\x{7FC0}\x{7FC1}\x{7FC2}\x{7FC3}\x{7FC4}\x{7FC5}' .
+'\x{7FC6}\x{7FC7}\x{7FC8}\x{7FC9}\x{7FCA}\x{7FCB}\x{7FCC}\x{7FCD}\x{7FCE}' .
+'\x{7FCF}\x{7FD0}\x{7FD1}\x{7FD2}\x{7FD3}\x{7FD4}\x{7FD5}\x{7FD7}\x{7FD8}' .
+'\x{7FD9}\x{7FDA}\x{7FDB}\x{7FDC}\x{7FDE}\x{7FDF}\x{7FE0}\x{7FE1}\x{7FE2}' .
+'\x{7FE3}\x{7FE5}\x{7FE6}\x{7FE7}\x{7FE8}\x{7FE9}\x{7FEA}\x{7FEB}\x{7FEC}' .
+'\x{7FED}\x{7FEE}\x{7FEF}\x{7FF0}\x{7FF1}\x{7FF2}\x{7FF3}\x{7FF4}\x{7FF5}' .
+'\x{7FF6}\x{7FF7}\x{7FF8}\x{7FF9}\x{7FFA}\x{7FFB}\x{7FFC}\x{7FFD}\x{7FFE}' .
+'\x{7FFF}\x{8000}\x{8001}\x{8002}\x{8003}\x{8004}\x{8005}\x{8006}\x{8007}' .
+'\x{8008}\x{8009}\x{800B}\x{800C}\x{800D}\x{800E}\x{800F}\x{8010}\x{8011}' .
+'\x{8012}\x{8013}\x{8014}\x{8015}\x{8016}\x{8017}\x{8018}\x{8019}\x{801A}' .
+'\x{801B}\x{801C}\x{801D}\x{801E}\x{801F}\x{8020}\x{8021}\x{8022}\x{8023}' .
+'\x{8024}\x{8025}\x{8026}\x{8027}\x{8028}\x{8029}\x{802A}\x{802B}\x{802C}' .
+'\x{802D}\x{802E}\x{8030}\x{8031}\x{8032}\x{8033}\x{8034}\x{8035}\x{8036}' .
+'\x{8037}\x{8038}\x{8039}\x{803A}\x{803B}\x{803D}\x{803E}\x{803F}\x{8041}' .
+'\x{8042}\x{8043}\x{8044}\x{8045}\x{8046}\x{8047}\x{8048}\x{8049}\x{804A}' .
+'\x{804B}\x{804C}\x{804D}\x{804E}\x{804F}\x{8050}\x{8051}\x{8052}\x{8053}' .
+'\x{8054}\x{8055}\x{8056}\x{8057}\x{8058}\x{8059}\x{805A}\x{805B}\x{805C}' .
+'\x{805D}\x{805E}\x{805F}\x{8060}\x{8061}\x{8062}\x{8063}\x{8064}\x{8065}' .
+'\x{8067}\x{8068}\x{8069}\x{806A}\x{806B}\x{806C}\x{806D}\x{806E}\x{806F}' .
+'\x{8070}\x{8071}\x{8072}\x{8073}\x{8074}\x{8075}\x{8076}\x{8077}\x{8078}' .
+'\x{8079}\x{807A}\x{807B}\x{807C}\x{807D}\x{807E}\x{807F}\x{8080}\x{8081}' .
+'\x{8082}\x{8083}\x{8084}\x{8085}\x{8086}\x{8087}\x{8089}\x{808A}\x{808B}' .
+'\x{808C}\x{808D}\x{808F}\x{8090}\x{8091}\x{8092}\x{8093}\x{8095}\x{8096}' .
+'\x{8097}\x{8098}\x{8099}\x{809A}\x{809B}\x{809C}\x{809D}\x{809E}\x{809F}' .
+'\x{80A0}\x{80A1}\x{80A2}\x{80A3}\x{80A4}\x{80A5}\x{80A9}\x{80AA}\x{80AB}' .
+'\x{80AD}\x{80AE}\x{80AF}\x{80B0}\x{80B1}\x{80B2}\x{80B4}\x{80B5}\x{80B6}' .
+'\x{80B7}\x{80B8}\x{80BA}\x{80BB}\x{80BC}\x{80BD}\x{80BE}\x{80BF}\x{80C0}' .
+'\x{80C1}\x{80C2}\x{80C3}\x{80C4}\x{80C5}\x{80C6}\x{80C7}\x{80C8}\x{80C9}' .
+'\x{80CA}\x{80CB}\x{80CC}\x{80CD}\x{80CE}\x{80CF}\x{80D0}\x{80D1}\x{80D2}' .
+'\x{80D3}\x{80D4}\x{80D5}\x{80D6}\x{80D7}\x{80D8}\x{80D9}\x{80DA}\x{80DB}' .
+'\x{80DC}\x{80DD}\x{80DE}\x{80E0}\x{80E1}\x{80E2}\x{80E3}\x{80E4}\x{80E5}' .
+'\x{80E6}\x{80E7}\x{80E8}\x{80E9}\x{80EA}\x{80EB}\x{80EC}\x{80ED}\x{80EE}' .
+'\x{80EF}\x{80F0}\x{80F1}\x{80F2}\x{80F3}\x{80F4}\x{80F5}\x{80F6}\x{80F7}' .
+'\x{80F8}\x{80F9}\x{80FA}\x{80FB}\x{80FC}\x{80FD}\x{80FE}\x{80FF}\x{8100}' .
+'\x{8101}\x{8102}\x{8105}\x{8106}\x{8107}\x{8108}\x{8109}\x{810A}\x{810B}' .
+'\x{810C}\x{810D}\x{810E}\x{810F}\x{8110}\x{8111}\x{8112}\x{8113}\x{8114}' .
+'\x{8115}\x{8116}\x{8118}\x{8119}\x{811A}\x{811B}\x{811C}\x{811D}\x{811E}' .
+'\x{811F}\x{8120}\x{8121}\x{8122}\x{8123}\x{8124}\x{8125}\x{8126}\x{8127}' .
+'\x{8128}\x{8129}\x{812A}\x{812B}\x{812C}\x{812D}\x{812E}\x{812F}\x{8130}' .
+'\x{8131}\x{8132}\x{8136}\x{8137}\x{8138}\x{8139}\x{813A}\x{813B}\x{813C}' .
+'\x{813D}\x{813E}\x{813F}\x{8140}\x{8141}\x{8142}\x{8143}\x{8144}\x{8145}' .
+'\x{8146}\x{8147}\x{8148}\x{8149}\x{814A}\x{814B}\x{814C}\x{814D}\x{814E}' .
+'\x{814F}\x{8150}\x{8151}\x{8152}\x{8153}\x{8154}\x{8155}\x{8156}\x{8157}' .
+'\x{8158}\x{8159}\x{815A}\x{815B}\x{815C}\x{815D}\x{815E}\x{8160}\x{8161}' .
+'\x{8162}\x{8163}\x{8164}\x{8165}\x{8166}\x{8167}\x{8168}\x{8169}\x{816A}' .
+'\x{816B}\x{816C}\x{816D}\x{816E}\x{816F}\x{8170}\x{8171}\x{8172}\x{8173}' .
+'\x{8174}\x{8175}\x{8176}\x{8177}\x{8178}\x{8179}\x{817A}\x{817B}\x{817C}' .
+'\x{817D}\x{817E}\x{817F}\x{8180}\x{8181}\x{8182}\x{8183}\x{8185}\x{8186}' .
+'\x{8187}\x{8188}\x{8189}\x{818A}\x{818B}\x{818C}\x{818D}\x{818E}\x{818F}' .
+'\x{8191}\x{8192}\x{8193}\x{8194}\x{8195}\x{8197}\x{8198}\x{8199}\x{819A}' .
+'\x{819B}\x{819C}\x{819D}\x{819E}\x{819F}\x{81A0}\x{81A1}\x{81A2}\x{81A3}' .
+'\x{81A4}\x{81A5}\x{81A6}\x{81A7}\x{81A8}\x{81A9}\x{81AA}\x{81AB}\x{81AC}' .
+'\x{81AD}\x{81AE}\x{81AF}\x{81B0}\x{81B1}\x{81B2}\x{81B3}\x{81B4}\x{81B5}' .
+'\x{81B6}\x{81B7}\x{81B8}\x{81B9}\x{81BA}\x{81BB}\x{81BC}\x{81BD}\x{81BE}' .
+'\x{81BF}\x{81C0}\x{81C1}\x{81C2}\x{81C3}\x{81C4}\x{81C5}\x{81C6}\x{81C7}' .
+'\x{81C8}\x{81C9}\x{81CA}\x{81CC}\x{81CD}\x{81CE}\x{81CF}\x{81D0}\x{81D1}' .
+'\x{81D2}\x{81D4}\x{81D5}\x{81D6}\x{81D7}\x{81D8}\x{81D9}\x{81DA}\x{81DB}' .
+'\x{81DC}\x{81DD}\x{81DE}\x{81DF}\x{81E0}\x{81E1}\x{81E2}\x{81E3}\x{81E5}' .
+'\x{81E6}\x{81E7}\x{81E8}\x{81E9}\x{81EA}\x{81EB}\x{81EC}\x{81ED}\x{81EE}' .
+'\x{81F1}\x{81F2}\x{81F3}\x{81F4}\x{81F5}\x{81F6}\x{81F7}\x{81F8}\x{81F9}' .
+'\x{81FA}\x{81FB}\x{81FC}\x{81FD}\x{81FE}\x{81FF}\x{8200}\x{8201}\x{8202}' .
+'\x{8203}\x{8204}\x{8205}\x{8206}\x{8207}\x{8208}\x{8209}\x{820A}\x{820B}' .
+'\x{820C}\x{820D}\x{820E}\x{820F}\x{8210}\x{8211}\x{8212}\x{8214}\x{8215}' .
+'\x{8216}\x{8218}\x{8219}\x{821A}\x{821B}\x{821C}\x{821D}\x{821E}\x{821F}' .
+'\x{8220}\x{8221}\x{8222}\x{8223}\x{8225}\x{8226}\x{8227}\x{8228}\x{8229}' .
+'\x{822A}\x{822B}\x{822C}\x{822D}\x{822F}\x{8230}\x{8231}\x{8232}\x{8233}' .
+'\x{8234}\x{8235}\x{8236}\x{8237}\x{8238}\x{8239}\x{823A}\x{823B}\x{823C}' .
+'\x{823D}\x{823E}\x{823F}\x{8240}\x{8242}\x{8243}\x{8244}\x{8245}\x{8246}' .
+'\x{8247}\x{8248}\x{8249}\x{824A}\x{824B}\x{824C}\x{824D}\x{824E}\x{824F}' .
+'\x{8250}\x{8251}\x{8252}\x{8253}\x{8254}\x{8255}\x{8256}\x{8257}\x{8258}' .
+'\x{8259}\x{825A}\x{825B}\x{825C}\x{825D}\x{825E}\x{825F}\x{8260}\x{8261}' .
+'\x{8263}\x{8264}\x{8266}\x{8267}\x{8268}\x{8269}\x{826A}\x{826B}\x{826C}' .
+'\x{826D}\x{826E}\x{826F}\x{8270}\x{8271}\x{8272}\x{8273}\x{8274}\x{8275}' .
+'\x{8276}\x{8277}\x{8278}\x{8279}\x{827A}\x{827B}\x{827C}\x{827D}\x{827E}' .
+'\x{827F}\x{8280}\x{8281}\x{8282}\x{8283}\x{8284}\x{8285}\x{8286}\x{8287}' .
+'\x{8288}\x{8289}\x{828A}\x{828B}\x{828D}\x{828E}\x{828F}\x{8290}\x{8291}' .
+'\x{8292}\x{8293}\x{8294}\x{8295}\x{8296}\x{8297}\x{8298}\x{8299}\x{829A}' .
+'\x{829B}\x{829C}\x{829D}\x{829E}\x{829F}\x{82A0}\x{82A1}\x{82A2}\x{82A3}' .
+'\x{82A4}\x{82A5}\x{82A6}\x{82A7}\x{82A8}\x{82A9}\x{82AA}\x{82AB}\x{82AC}' .
+'\x{82AD}\x{82AE}\x{82AF}\x{82B0}\x{82B1}\x{82B3}\x{82B4}\x{82B5}\x{82B6}' .
+'\x{82B7}\x{82B8}\x{82B9}\x{82BA}\x{82BB}\x{82BC}\x{82BD}\x{82BE}\x{82BF}' .
+'\x{82C0}\x{82C1}\x{82C2}\x{82C3}\x{82C4}\x{82C5}\x{82C6}\x{82C7}\x{82C8}' .
+'\x{82C9}\x{82CA}\x{82CB}\x{82CC}\x{82CD}\x{82CE}\x{82CF}\x{82D0}\x{82D1}' .
+'\x{82D2}\x{82D3}\x{82D4}\x{82D5}\x{82D6}\x{82D7}\x{82D8}\x{82D9}\x{82DA}' .
+'\x{82DB}\x{82DC}\x{82DD}\x{82DE}\x{82DF}\x{82E0}\x{82E1}\x{82E3}\x{82E4}' .
+'\x{82E5}\x{82E6}\x{82E7}\x{82E8}\x{82E9}\x{82EA}\x{82EB}\x{82EC}\x{82ED}' .
+'\x{82EE}\x{82EF}\x{82F0}\x{82F1}\x{82F2}\x{82F3}\x{82F4}\x{82F5}\x{82F6}' .
+'\x{82F7}\x{82F8}\x{82F9}\x{82FA}\x{82FB}\x{82FD}\x{82FE}\x{82FF}\x{8300}' .
+'\x{8301}\x{8302}\x{8303}\x{8304}\x{8305}\x{8306}\x{8307}\x{8308}\x{8309}' .
+'\x{830B}\x{830C}\x{830D}\x{830E}\x{830F}\x{8311}\x{8312}\x{8313}\x{8314}' .
+'\x{8315}\x{8316}\x{8317}\x{8318}\x{8319}\x{831A}\x{831B}\x{831C}\x{831D}' .
+'\x{831E}\x{831F}\x{8320}\x{8321}\x{8322}\x{8323}\x{8324}\x{8325}\x{8326}' .
+'\x{8327}\x{8328}\x{8329}\x{832A}\x{832B}\x{832C}\x{832D}\x{832E}\x{832F}' .
+'\x{8331}\x{8332}\x{8333}\x{8334}\x{8335}\x{8336}\x{8337}\x{8338}\x{8339}' .
+'\x{833A}\x{833B}\x{833C}\x{833D}\x{833E}\x{833F}\x{8340}\x{8341}\x{8342}' .
+'\x{8343}\x{8344}\x{8345}\x{8346}\x{8347}\x{8348}\x{8349}\x{834A}\x{834B}' .
+'\x{834C}\x{834D}\x{834E}\x{834F}\x{8350}\x{8351}\x{8352}\x{8353}\x{8354}' .
+'\x{8356}\x{8357}\x{8358}\x{8359}\x{835A}\x{835B}\x{835C}\x{835D}\x{835E}' .
+'\x{835F}\x{8360}\x{8361}\x{8362}\x{8363}\x{8364}\x{8365}\x{8366}\x{8367}' .
+'\x{8368}\x{8369}\x{836A}\x{836B}\x{836C}\x{836D}\x{836E}\x{836F}\x{8370}' .
+'\x{8371}\x{8372}\x{8373}\x{8374}\x{8375}\x{8376}\x{8377}\x{8378}\x{8379}' .
+'\x{837A}\x{837B}\x{837C}\x{837D}\x{837E}\x{837F}\x{8380}\x{8381}\x{8382}' .
+'\x{8383}\x{8384}\x{8385}\x{8386}\x{8387}\x{8388}\x{8389}\x{838A}\x{838B}' .
+'\x{838C}\x{838D}\x{838E}\x{838F}\x{8390}\x{8391}\x{8392}\x{8393}\x{8394}' .
+'\x{8395}\x{8396}\x{8397}\x{8398}\x{8399}\x{839A}\x{839B}\x{839C}\x{839D}' .
+'\x{839E}\x{83A0}\x{83A1}\x{83A2}\x{83A3}\x{83A4}\x{83A5}\x{83A6}\x{83A7}' .
+'\x{83A8}\x{83A9}\x{83AA}\x{83AB}\x{83AC}\x{83AD}\x{83AE}\x{83AF}\x{83B0}' .
+'\x{83B1}\x{83B2}\x{83B3}\x{83B4}\x{83B6}\x{83B7}\x{83B8}\x{83B9}\x{83BA}' .
+'\x{83BB}\x{83BC}\x{83BD}\x{83BF}\x{83C0}\x{83C1}\x{83C2}\x{83C3}\x{83C4}' .
+'\x{83C5}\x{83C6}\x{83C7}\x{83C8}\x{83C9}\x{83CA}\x{83CB}\x{83CC}\x{83CD}' .
+'\x{83CE}\x{83CF}\x{83D0}\x{83D1}\x{83D2}\x{83D3}\x{83D4}\x{83D5}\x{83D6}' .
+'\x{83D7}\x{83D8}\x{83D9}\x{83DA}\x{83DB}\x{83DC}\x{83DD}\x{83DE}\x{83DF}' .
+'\x{83E0}\x{83E1}\x{83E2}\x{83E3}\x{83E4}\x{83E5}\x{83E7}\x{83E8}\x{83E9}' .
+'\x{83EA}\x{83EB}\x{83EC}\x{83EE}\x{83EF}\x{83F0}\x{83F1}\x{83F2}\x{83F3}' .
+'\x{83F4}\x{83F5}\x{83F6}\x{83F7}\x{83F8}\x{83F9}\x{83FA}\x{83FB}\x{83FC}' .
+'\x{83FD}\x{83FE}\x{83FF}\x{8400}\x{8401}\x{8402}\x{8403}\x{8404}\x{8405}' .
+'\x{8406}\x{8407}\x{8408}\x{8409}\x{840A}\x{840B}\x{840C}\x{840D}\x{840E}' .
+'\x{840F}\x{8410}\x{8411}\x{8412}\x{8413}\x{8415}\x{8418}\x{8419}\x{841A}' .
+'\x{841B}\x{841C}\x{841D}\x{841E}\x{8421}\x{8422}\x{8423}\x{8424}\x{8425}' .
+'\x{8426}\x{8427}\x{8428}\x{8429}\x{842A}\x{842B}\x{842C}\x{842D}\x{842E}' .
+'\x{842F}\x{8430}\x{8431}\x{8432}\x{8433}\x{8434}\x{8435}\x{8436}\x{8437}' .
+'\x{8438}\x{8439}\x{843A}\x{843B}\x{843C}\x{843D}\x{843E}\x{843F}\x{8440}' .
+'\x{8441}\x{8442}\x{8443}\x{8444}\x{8445}\x{8446}\x{8447}\x{8448}\x{8449}' .
+'\x{844A}\x{844B}\x{844C}\x{844D}\x{844E}\x{844F}\x{8450}\x{8451}\x{8452}' .
+'\x{8453}\x{8454}\x{8455}\x{8456}\x{8457}\x{8459}\x{845A}\x{845B}\x{845C}' .
+'\x{845D}\x{845E}\x{845F}\x{8460}\x{8461}\x{8462}\x{8463}\x{8464}\x{8465}' .
+'\x{8466}\x{8467}\x{8468}\x{8469}\x{846A}\x{846B}\x{846C}\x{846D}\x{846E}' .
+'\x{846F}\x{8470}\x{8471}\x{8472}\x{8473}\x{8474}\x{8475}\x{8476}\x{8477}' .
+'\x{8478}\x{8479}\x{847A}\x{847B}\x{847C}\x{847D}\x{847E}\x{847F}\x{8480}' .
+'\x{8481}\x{8482}\x{8484}\x{8485}\x{8486}\x{8487}\x{8488}\x{8489}\x{848A}' .
+'\x{848B}\x{848C}\x{848D}\x{848E}\x{848F}\x{8490}\x{8491}\x{8492}\x{8493}' .
+'\x{8494}\x{8496}\x{8497}\x{8498}\x{8499}\x{849A}\x{849B}\x{849C}\x{849D}' .
+'\x{849E}\x{849F}\x{84A0}\x{84A1}\x{84A2}\x{84A3}\x{84A4}\x{84A5}\x{84A6}' .
+'\x{84A7}\x{84A8}\x{84A9}\x{84AA}\x{84AB}\x{84AC}\x{84AE}\x{84AF}\x{84B0}' .
+'\x{84B1}\x{84B2}\x{84B3}\x{84B4}\x{84B5}\x{84B6}\x{84B8}\x{84B9}\x{84BA}' .
+'\x{84BB}\x{84BC}\x{84BD}\x{84BE}\x{84BF}\x{84C0}\x{84C1}\x{84C2}\x{84C4}' .
+'\x{84C5}\x{84C6}\x{84C7}\x{84C8}\x{84C9}\x{84CA}\x{84CB}\x{84CC}\x{84CD}' .
+'\x{84CE}\x{84CF}\x{84D0}\x{84D1}\x{84D2}\x{84D3}\x{84D4}\x{84D5}\x{84D6}' .
+'\x{84D7}\x{84D8}\x{84D9}\x{84DB}\x{84DC}\x{84DD}\x{84DE}\x{84DF}\x{84E0}' .
+'\x{84E1}\x{84E2}\x{84E3}\x{84E4}\x{84E5}\x{84E6}\x{84E7}\x{84E8}\x{84E9}' .
+'\x{84EA}\x{84EB}\x{84EC}\x{84EE}\x{84EF}\x{84F0}\x{84F1}\x{84F2}\x{84F3}' .
+'\x{84F4}\x{84F5}\x{84F6}\x{84F7}\x{84F8}\x{84F9}\x{84FA}\x{84FB}\x{84FC}' .
+'\x{84FD}\x{84FE}\x{84FF}\x{8500}\x{8501}\x{8502}\x{8503}\x{8504}\x{8506}' .
+'\x{8507}\x{8508}\x{8509}\x{850A}\x{850B}\x{850C}\x{850D}\x{850E}\x{850F}' .
+'\x{8511}\x{8512}\x{8513}\x{8514}\x{8515}\x{8516}\x{8517}\x{8518}\x{8519}' .
+'\x{851A}\x{851B}\x{851C}\x{851D}\x{851E}\x{851F}\x{8520}\x{8521}\x{8522}' .
+'\x{8523}\x{8524}\x{8525}\x{8526}\x{8527}\x{8528}\x{8529}\x{852A}\x{852B}' .
+'\x{852C}\x{852D}\x{852E}\x{852F}\x{8530}\x{8531}\x{8534}\x{8535}\x{8536}' .
+'\x{8537}\x{8538}\x{8539}\x{853A}\x{853B}\x{853C}\x{853D}\x{853E}\x{853F}' .
+'\x{8540}\x{8541}\x{8542}\x{8543}\x{8544}\x{8545}\x{8546}\x{8547}\x{8548}' .
+'\x{8549}\x{854A}\x{854B}\x{854D}\x{854E}\x{854F}\x{8551}\x{8552}\x{8553}' .
+'\x{8554}\x{8555}\x{8556}\x{8557}\x{8558}\x{8559}\x{855A}\x{855B}\x{855C}' .
+'\x{855D}\x{855E}\x{855F}\x{8560}\x{8561}\x{8562}\x{8563}\x{8564}\x{8565}' .
+'\x{8566}\x{8567}\x{8568}\x{8569}\x{856A}\x{856B}\x{856C}\x{856D}\x{856E}' .
+'\x{856F}\x{8570}\x{8571}\x{8572}\x{8573}\x{8574}\x{8575}\x{8576}\x{8577}' .
+'\x{8578}\x{8579}\x{857A}\x{857B}\x{857C}\x{857D}\x{857E}\x{8580}\x{8581}' .
+'\x{8582}\x{8583}\x{8584}\x{8585}\x{8586}\x{8587}\x{8588}\x{8589}\x{858A}' .
+'\x{858B}\x{858C}\x{858D}\x{858E}\x{858F}\x{8590}\x{8591}\x{8592}\x{8594}' .
+'\x{8595}\x{8596}\x{8598}\x{8599}\x{859A}\x{859B}\x{859C}\x{859D}\x{859E}' .
+'\x{859F}\x{85A0}\x{85A1}\x{85A2}\x{85A3}\x{85A4}\x{85A5}\x{85A6}\x{85A7}' .
+'\x{85A8}\x{85A9}\x{85AA}\x{85AB}\x{85AC}\x{85AD}\x{85AE}\x{85AF}\x{85B0}' .
+'\x{85B1}\x{85B3}\x{85B4}\x{85B5}\x{85B6}\x{85B7}\x{85B8}\x{85B9}\x{85BA}' .
+'\x{85BC}\x{85BD}\x{85BE}\x{85BF}\x{85C0}\x{85C1}\x{85C2}\x{85C3}\x{85C4}' .
+'\x{85C5}\x{85C6}\x{85C7}\x{85C8}\x{85C9}\x{85CA}\x{85CB}\x{85CD}\x{85CE}' .
+'\x{85CF}\x{85D0}\x{85D1}\x{85D2}\x{85D3}\x{85D4}\x{85D5}\x{85D6}\x{85D7}' .
+'\x{85D8}\x{85D9}\x{85DA}\x{85DB}\x{85DC}\x{85DD}\x{85DE}\x{85DF}\x{85E0}' .
+'\x{85E1}\x{85E2}\x{85E3}\x{85E4}\x{85E5}\x{85E6}\x{85E7}\x{85E8}\x{85E9}' .
+'\x{85EA}\x{85EB}\x{85EC}\x{85ED}\x{85EF}\x{85F0}\x{85F1}\x{85F2}\x{85F4}' .
+'\x{85F5}\x{85F6}\x{85F7}\x{85F8}\x{85F9}\x{85FA}\x{85FB}\x{85FD}\x{85FE}' .
+'\x{85FF}\x{8600}\x{8601}\x{8602}\x{8604}\x{8605}\x{8606}\x{8607}\x{8608}' .
+'\x{8609}\x{860A}\x{860B}\x{860C}\x{860F}\x{8611}\x{8612}\x{8613}\x{8614}' .
+'\x{8616}\x{8617}\x{8618}\x{8619}\x{861A}\x{861B}\x{861C}\x{861E}\x{861F}' .
+'\x{8620}\x{8621}\x{8622}\x{8623}\x{8624}\x{8625}\x{8626}\x{8627}\x{8628}' .
+'\x{8629}\x{862A}\x{862B}\x{862C}\x{862D}\x{862E}\x{862F}\x{8630}\x{8631}' .
+'\x{8632}\x{8633}\x{8634}\x{8635}\x{8636}\x{8638}\x{8639}\x{863A}\x{863B}' .
+'\x{863C}\x{863D}\x{863E}\x{863F}\x{8640}\x{8641}\x{8642}\x{8643}\x{8644}' .
+'\x{8645}\x{8646}\x{8647}\x{8648}\x{8649}\x{864A}\x{864B}\x{864C}\x{864D}' .
+'\x{864E}\x{864F}\x{8650}\x{8651}\x{8652}\x{8653}\x{8654}\x{8655}\x{8656}' .
+'\x{8658}\x{8659}\x{865A}\x{865B}\x{865C}\x{865D}\x{865E}\x{865F}\x{8660}' .
+'\x{8661}\x{8662}\x{8663}\x{8664}\x{8665}\x{8666}\x{8667}\x{8668}\x{8669}' .
+'\x{866A}\x{866B}\x{866C}\x{866D}\x{866E}\x{866F}\x{8670}\x{8671}\x{8672}' .
+'\x{8673}\x{8674}\x{8676}\x{8677}\x{8678}\x{8679}\x{867A}\x{867B}\x{867C}' .
+'\x{867D}\x{867E}\x{867F}\x{8680}\x{8681}\x{8682}\x{8683}\x{8684}\x{8685}' .
+'\x{8686}\x{8687}\x{8688}\x{868A}\x{868B}\x{868C}\x{868D}\x{868E}\x{868F}' .
+'\x{8690}\x{8691}\x{8693}\x{8694}\x{8695}\x{8696}\x{8697}\x{8698}\x{8699}' .
+'\x{869A}\x{869B}\x{869C}\x{869D}\x{869E}\x{869F}\x{86A1}\x{86A2}\x{86A3}' .
+'\x{86A4}\x{86A5}\x{86A7}\x{86A8}\x{86A9}\x{86AA}\x{86AB}\x{86AC}\x{86AD}' .
+'\x{86AE}\x{86AF}\x{86B0}\x{86B1}\x{86B2}\x{86B3}\x{86B4}\x{86B5}\x{86B6}' .
+'\x{86B7}\x{86B8}\x{86B9}\x{86BA}\x{86BB}\x{86BC}\x{86BD}\x{86BE}\x{86BF}' .
+'\x{86C0}\x{86C1}\x{86C2}\x{86C3}\x{86C4}\x{86C5}\x{86C6}\x{86C7}\x{86C8}' .
+'\x{86C9}\x{86CA}\x{86CB}\x{86CC}\x{86CE}\x{86CF}\x{86D0}\x{86D1}\x{86D2}' .
+'\x{86D3}\x{86D4}\x{86D6}\x{86D7}\x{86D8}\x{86D9}\x{86DA}\x{86DB}\x{86DC}' .
+'\x{86DD}\x{86DE}\x{86DF}\x{86E1}\x{86E2}\x{86E3}\x{86E4}\x{86E5}\x{86E6}' .
+'\x{86E8}\x{86E9}\x{86EA}\x{86EB}\x{86EC}\x{86ED}\x{86EE}\x{86EF}\x{86F0}' .
+'\x{86F1}\x{86F2}\x{86F3}\x{86F4}\x{86F5}\x{86F6}\x{86F7}\x{86F8}\x{86F9}' .
+'\x{86FA}\x{86FB}\x{86FC}\x{86FE}\x{86FF}\x{8700}\x{8701}\x{8702}\x{8703}' .
+'\x{8704}\x{8705}\x{8706}\x{8707}\x{8708}\x{8709}\x{870A}\x{870B}\x{870C}' .
+'\x{870D}\x{870E}\x{870F}\x{8710}\x{8711}\x{8712}\x{8713}\x{8714}\x{8715}' .
+'\x{8716}\x{8717}\x{8718}\x{8719}\x{871A}\x{871B}\x{871C}\x{871E}\x{871F}' .
+'\x{8720}\x{8721}\x{8722}\x{8723}\x{8724}\x{8725}\x{8726}\x{8727}\x{8728}' .
+'\x{8729}\x{872A}\x{872B}\x{872C}\x{872D}\x{872E}\x{8730}\x{8731}\x{8732}' .
+'\x{8733}\x{8734}\x{8735}\x{8736}\x{8737}\x{8738}\x{8739}\x{873A}\x{873B}' .
+'\x{873C}\x{873E}\x{873F}\x{8740}\x{8741}\x{8742}\x{8743}\x{8744}\x{8746}' .
+'\x{8747}\x{8748}\x{8749}\x{874A}\x{874C}\x{874D}\x{874E}\x{874F}\x{8750}' .
+'\x{8751}\x{8752}\x{8753}\x{8754}\x{8755}\x{8756}\x{8757}\x{8758}\x{8759}' .
+'\x{875A}\x{875B}\x{875C}\x{875D}\x{875E}\x{875F}\x{8760}\x{8761}\x{8762}' .
+'\x{8763}\x{8764}\x{8765}\x{8766}\x{8767}\x{8768}\x{8769}\x{876A}\x{876B}' .
+'\x{876C}\x{876D}\x{876E}\x{876F}\x{8770}\x{8772}\x{8773}\x{8774}\x{8775}' .
+'\x{8776}\x{8777}\x{8778}\x{8779}\x{877A}\x{877B}\x{877C}\x{877D}\x{877E}' .
+'\x{8780}\x{8781}\x{8782}\x{8783}\x{8784}\x{8785}\x{8786}\x{8787}\x{8788}' .
+'\x{8789}\x{878A}\x{878B}\x{878C}\x{878D}\x{878F}\x{8790}\x{8791}\x{8792}' .
+'\x{8793}\x{8794}\x{8795}\x{8796}\x{8797}\x{8798}\x{879A}\x{879B}\x{879C}' .
+'\x{879D}\x{879E}\x{879F}\x{87A0}\x{87A1}\x{87A2}\x{87A3}\x{87A4}\x{87A5}' .
+'\x{87A6}\x{87A7}\x{87A8}\x{87A9}\x{87AA}\x{87AB}\x{87AC}\x{87AD}\x{87AE}' .
+'\x{87AF}\x{87B0}\x{87B1}\x{87B2}\x{87B3}\x{87B4}\x{87B5}\x{87B6}\x{87B7}' .
+'\x{87B8}\x{87B9}\x{87BA}\x{87BB}\x{87BC}\x{87BD}\x{87BE}\x{87BF}\x{87C0}' .
+'\x{87C1}\x{87C2}\x{87C3}\x{87C4}\x{87C5}\x{87C6}\x{87C7}\x{87C8}\x{87C9}' .
+'\x{87CA}\x{87CB}\x{87CC}\x{87CD}\x{87CE}\x{87CF}\x{87D0}\x{87D1}\x{87D2}' .
+'\x{87D3}\x{87D4}\x{87D5}\x{87D6}\x{87D7}\x{87D8}\x{87D9}\x{87DB}\x{87DC}' .
+'\x{87DD}\x{87DE}\x{87DF}\x{87E0}\x{87E1}\x{87E2}\x{87E3}\x{87E4}\x{87E5}' .
+'\x{87E6}\x{87E7}\x{87E8}\x{87E9}\x{87EA}\x{87EB}\x{87EC}\x{87ED}\x{87EE}' .
+'\x{87EF}\x{87F1}\x{87F2}\x{87F3}\x{87F4}\x{87F5}\x{87F6}\x{87F7}\x{87F8}' .
+'\x{87F9}\x{87FA}\x{87FB}\x{87FC}\x{87FD}\x{87FE}\x{87FF}\x{8800}\x{8801}' .
+'\x{8802}\x{8803}\x{8804}\x{8805}\x{8806}\x{8808}\x{8809}\x{880A}\x{880B}' .
+'\x{880C}\x{880D}\x{880E}\x{880F}\x{8810}\x{8811}\x{8813}\x{8814}\x{8815}' .
+'\x{8816}\x{8817}\x{8818}\x{8819}\x{881A}\x{881B}\x{881C}\x{881D}\x{881E}' .
+'\x{881F}\x{8820}\x{8821}\x{8822}\x{8823}\x{8824}\x{8825}\x{8826}\x{8827}' .
+'\x{8828}\x{8829}\x{882A}\x{882B}\x{882C}\x{882E}\x{882F}\x{8830}\x{8831}' .
+'\x{8832}\x{8833}\x{8834}\x{8835}\x{8836}\x{8837}\x{8838}\x{8839}\x{883B}' .
+'\x{883C}\x{883D}\x{883E}\x{883F}\x{8840}\x{8841}\x{8842}\x{8843}\x{8844}' .
+'\x{8845}\x{8846}\x{8848}\x{8849}\x{884A}\x{884B}\x{884C}\x{884D}\x{884E}' .
+'\x{884F}\x{8850}\x{8851}\x{8852}\x{8853}\x{8854}\x{8855}\x{8856}\x{8857}' .
+'\x{8859}\x{885A}\x{885B}\x{885D}\x{885E}\x{8860}\x{8861}\x{8862}\x{8863}' .
+'\x{8864}\x{8865}\x{8866}\x{8867}\x{8868}\x{8869}\x{886A}\x{886B}\x{886C}' .
+'\x{886D}\x{886E}\x{886F}\x{8870}\x{8871}\x{8872}\x{8873}\x{8874}\x{8875}' .
+'\x{8876}\x{8877}\x{8878}\x{8879}\x{887B}\x{887C}\x{887D}\x{887E}\x{887F}' .
+'\x{8880}\x{8881}\x{8882}\x{8883}\x{8884}\x{8885}\x{8886}\x{8887}\x{8888}' .
+'\x{8889}\x{888A}\x{888B}\x{888C}\x{888D}\x{888E}\x{888F}\x{8890}\x{8891}' .
+'\x{8892}\x{8893}\x{8894}\x{8895}\x{8896}\x{8897}\x{8898}\x{8899}\x{889A}' .
+'\x{889B}\x{889C}\x{889D}\x{889E}\x{889F}\x{88A0}\x{88A1}\x{88A2}\x{88A3}' .
+'\x{88A4}\x{88A5}\x{88A6}\x{88A7}\x{88A8}\x{88A9}\x{88AA}\x{88AB}\x{88AC}' .
+'\x{88AD}\x{88AE}\x{88AF}\x{88B0}\x{88B1}\x{88B2}\x{88B3}\x{88B4}\x{88B6}' .
+'\x{88B7}\x{88B8}\x{88B9}\x{88BA}\x{88BB}\x{88BC}\x{88BD}\x{88BE}\x{88BF}' .
+'\x{88C0}\x{88C1}\x{88C2}\x{88C3}\x{88C4}\x{88C5}\x{88C6}\x{88C7}\x{88C8}' .
+'\x{88C9}\x{88CA}\x{88CB}\x{88CC}\x{88CD}\x{88CE}\x{88CF}\x{88D0}\x{88D1}' .
+'\x{88D2}\x{88D3}\x{88D4}\x{88D5}\x{88D6}\x{88D7}\x{88D8}\x{88D9}\x{88DA}' .
+'\x{88DB}\x{88DC}\x{88DD}\x{88DE}\x{88DF}\x{88E0}\x{88E1}\x{88E2}\x{88E3}' .
+'\x{88E4}\x{88E5}\x{88E7}\x{88E8}\x{88EA}\x{88EB}\x{88EC}\x{88EE}\x{88EF}' .
+'\x{88F0}\x{88F1}\x{88F2}\x{88F3}\x{88F4}\x{88F5}\x{88F6}\x{88F7}\x{88F8}' .
+'\x{88F9}\x{88FA}\x{88FB}\x{88FC}\x{88FD}\x{88FE}\x{88FF}\x{8900}\x{8901}' .
+'\x{8902}\x{8904}\x{8905}\x{8906}\x{8907}\x{8908}\x{8909}\x{890A}\x{890B}' .
+'\x{890C}\x{890D}\x{890E}\x{8910}\x{8911}\x{8912}\x{8913}\x{8914}\x{8915}' .
+'\x{8916}\x{8917}\x{8918}\x{8919}\x{891A}\x{891B}\x{891C}\x{891D}\x{891E}' .
+'\x{891F}\x{8920}\x{8921}\x{8922}\x{8923}\x{8925}\x{8926}\x{8927}\x{8928}' .
+'\x{8929}\x{892A}\x{892B}\x{892C}\x{892D}\x{892E}\x{892F}\x{8930}\x{8931}' .
+'\x{8932}\x{8933}\x{8934}\x{8935}\x{8936}\x{8937}\x{8938}\x{8939}\x{893A}' .
+'\x{893B}\x{893C}\x{893D}\x{893E}\x{893F}\x{8940}\x{8941}\x{8942}\x{8943}' .
+'\x{8944}\x{8945}\x{8946}\x{8947}\x{8948}\x{8949}\x{894A}\x{894B}\x{894C}' .
+'\x{894E}\x{894F}\x{8950}\x{8951}\x{8952}\x{8953}\x{8954}\x{8955}\x{8956}' .
+'\x{8957}\x{8958}\x{8959}\x{895A}\x{895B}\x{895C}\x{895D}\x{895E}\x{895F}' .
+'\x{8960}\x{8961}\x{8962}\x{8963}\x{8964}\x{8966}\x{8967}\x{8968}\x{8969}' .
+'\x{896A}\x{896B}\x{896C}\x{896D}\x{896E}\x{896F}\x{8970}\x{8971}\x{8972}' .
+'\x{8973}\x{8974}\x{8976}\x{8977}\x{8978}\x{8979}\x{897A}\x{897B}\x{897C}' .
+'\x{897E}\x{897F}\x{8980}\x{8981}\x{8982}\x{8983}\x{8984}\x{8985}\x{8986}' .
+'\x{8987}\x{8988}\x{8989}\x{898A}\x{898B}\x{898C}\x{898E}\x{898F}\x{8991}' .
+'\x{8992}\x{8993}\x{8995}\x{8996}\x{8997}\x{8998}\x{899A}\x{899B}\x{899C}' .
+'\x{899D}\x{899E}\x{899F}\x{89A0}\x{89A1}\x{89A2}\x{89A3}\x{89A4}\x{89A5}' .
+'\x{89A6}\x{89A7}\x{89A8}\x{89AA}\x{89AB}\x{89AC}\x{89AD}\x{89AE}\x{89AF}' .
+'\x{89B1}\x{89B2}\x{89B3}\x{89B5}\x{89B6}\x{89B7}\x{89B8}\x{89B9}\x{89BA}' .
+'\x{89BD}\x{89BE}\x{89BF}\x{89C0}\x{89C1}\x{89C2}\x{89C3}\x{89C4}\x{89C5}' .
+'\x{89C6}\x{89C7}\x{89C8}\x{89C9}\x{89CA}\x{89CB}\x{89CC}\x{89CD}\x{89CE}' .
+'\x{89CF}\x{89D0}\x{89D1}\x{89D2}\x{89D3}\x{89D4}\x{89D5}\x{89D6}\x{89D7}' .
+'\x{89D8}\x{89D9}\x{89DA}\x{89DB}\x{89DC}\x{89DD}\x{89DE}\x{89DF}\x{89E0}' .
+'\x{89E1}\x{89E2}\x{89E3}\x{89E4}\x{89E5}\x{89E6}\x{89E7}\x{89E8}\x{89E9}' .
+'\x{89EA}\x{89EB}\x{89EC}\x{89ED}\x{89EF}\x{89F0}\x{89F1}\x{89F2}\x{89F3}' .
+'\x{89F4}\x{89F6}\x{89F7}\x{89F8}\x{89FA}\x{89FB}\x{89FC}\x{89FE}\x{89FF}' .
+'\x{8A00}\x{8A01}\x{8A02}\x{8A03}\x{8A04}\x{8A07}\x{8A08}\x{8A09}\x{8A0A}' .
+'\x{8A0B}\x{8A0C}\x{8A0D}\x{8A0E}\x{8A0F}\x{8A10}\x{8A11}\x{8A12}\x{8A13}' .
+'\x{8A15}\x{8A16}\x{8A17}\x{8A18}\x{8A1A}\x{8A1B}\x{8A1C}\x{8A1D}\x{8A1E}' .
+'\x{8A1F}\x{8A22}\x{8A23}\x{8A24}\x{8A25}\x{8A26}\x{8A27}\x{8A28}\x{8A29}' .
+'\x{8A2A}\x{8A2C}\x{8A2D}\x{8A2E}\x{8A2F}\x{8A30}\x{8A31}\x{8A32}\x{8A34}' .
+'\x{8A35}\x{8A36}\x{8A37}\x{8A38}\x{8A39}\x{8A3A}\x{8A3B}\x{8A3C}\x{8A3E}' .
+'\x{8A3F}\x{8A40}\x{8A41}\x{8A42}\x{8A43}\x{8A44}\x{8A45}\x{8A46}\x{8A47}' .
+'\x{8A48}\x{8A49}\x{8A4A}\x{8A4C}\x{8A4D}\x{8A4E}\x{8A4F}\x{8A50}\x{8A51}' .
+'\x{8A52}\x{8A53}\x{8A54}\x{8A55}\x{8A56}\x{8A57}\x{8A58}\x{8A59}\x{8A5A}' .
+'\x{8A5B}\x{8A5C}\x{8A5D}\x{8A5E}\x{8A5F}\x{8A60}\x{8A61}\x{8A62}\x{8A63}' .
+'\x{8A65}\x{8A66}\x{8A67}\x{8A68}\x{8A69}\x{8A6A}\x{8A6B}\x{8A6C}\x{8A6D}' .
+'\x{8A6E}\x{8A6F}\x{8A70}\x{8A71}\x{8A72}\x{8A73}\x{8A74}\x{8A75}\x{8A76}' .
+'\x{8A77}\x{8A79}\x{8A7A}\x{8A7B}\x{8A7C}\x{8A7E}\x{8A7F}\x{8A80}\x{8A81}' .
+'\x{8A82}\x{8A83}\x{8A84}\x{8A85}\x{8A86}\x{8A87}\x{8A89}\x{8A8A}\x{8A8B}' .
+'\x{8A8C}\x{8A8D}\x{8A8E}\x{8A8F}\x{8A90}\x{8A91}\x{8A92}\x{8A93}\x{8A94}' .
+'\x{8A95}\x{8A96}\x{8A97}\x{8A98}\x{8A99}\x{8A9A}\x{8A9B}\x{8A9C}\x{8A9D}' .
+'\x{8A9E}\x{8AA0}\x{8AA1}\x{8AA2}\x{8AA3}\x{8AA4}\x{8AA5}\x{8AA6}\x{8AA7}' .
+'\x{8AA8}\x{8AA9}\x{8AAA}\x{8AAB}\x{8AAC}\x{8AAE}\x{8AB0}\x{8AB1}\x{8AB2}' .
+'\x{8AB3}\x{8AB4}\x{8AB5}\x{8AB6}\x{8AB8}\x{8AB9}\x{8ABA}\x{8ABB}\x{8ABC}' .
+'\x{8ABD}\x{8ABE}\x{8ABF}\x{8AC0}\x{8AC1}\x{8AC2}\x{8AC3}\x{8AC4}\x{8AC5}' .
+'\x{8AC6}\x{8AC7}\x{8AC8}\x{8AC9}\x{8ACA}\x{8ACB}\x{8ACC}\x{8ACD}\x{8ACE}' .
+'\x{8ACF}\x{8AD1}\x{8AD2}\x{8AD3}\x{8AD4}\x{8AD5}\x{8AD6}\x{8AD7}\x{8AD8}' .
+'\x{8AD9}\x{8ADA}\x{8ADB}\x{8ADC}\x{8ADD}\x{8ADE}\x{8ADF}\x{8AE0}\x{8AE1}' .
+'\x{8AE2}\x{8AE3}\x{8AE4}\x{8AE5}\x{8AE6}\x{8AE7}\x{8AE8}\x{8AE9}\x{8AEA}' .
+'\x{8AEB}\x{8AED}\x{8AEE}\x{8AEF}\x{8AF0}\x{8AF1}\x{8AF2}\x{8AF3}\x{8AF4}' .
+'\x{8AF5}\x{8AF6}\x{8AF7}\x{8AF8}\x{8AF9}\x{8AFA}\x{8AFB}\x{8AFC}\x{8AFD}' .
+'\x{8AFE}\x{8AFF}\x{8B00}\x{8B01}\x{8B02}\x{8B03}\x{8B04}\x{8B05}\x{8B06}' .
+'\x{8B07}\x{8B08}\x{8B09}\x{8B0A}\x{8B0B}\x{8B0D}\x{8B0E}\x{8B0F}\x{8B10}' .
+'\x{8B11}\x{8B12}\x{8B13}\x{8B14}\x{8B15}\x{8B16}\x{8B17}\x{8B18}\x{8B19}' .
+'\x{8B1A}\x{8B1B}\x{8B1C}\x{8B1D}\x{8B1E}\x{8B1F}\x{8B20}\x{8B21}\x{8B22}' .
+'\x{8B23}\x{8B24}\x{8B25}\x{8B26}\x{8B27}\x{8B28}\x{8B2A}\x{8B2B}\x{8B2C}' .
+'\x{8B2D}\x{8B2E}\x{8B2F}\x{8B30}\x{8B31}\x{8B33}\x{8B34}\x{8B35}\x{8B36}' .
+'\x{8B37}\x{8B39}\x{8B3A}\x{8B3B}\x{8B3C}\x{8B3D}\x{8B3E}\x{8B40}\x{8B41}' .
+'\x{8B42}\x{8B43}\x{8B44}\x{8B45}\x{8B46}\x{8B47}\x{8B48}\x{8B49}\x{8B4A}' .
+'\x{8B4B}\x{8B4C}\x{8B4D}\x{8B4E}\x{8B4F}\x{8B50}\x{8B51}\x{8B52}\x{8B53}' .
+'\x{8B54}\x{8B55}\x{8B56}\x{8B57}\x{8B58}\x{8B59}\x{8B5A}\x{8B5B}\x{8B5C}' .
+'\x{8B5D}\x{8B5E}\x{8B5F}\x{8B60}\x{8B63}\x{8B64}\x{8B65}\x{8B66}\x{8B67}' .
+'\x{8B68}\x{8B6A}\x{8B6B}\x{8B6C}\x{8B6D}\x{8B6E}\x{8B6F}\x{8B70}\x{8B71}' .
+'\x{8B73}\x{8B74}\x{8B76}\x{8B77}\x{8B78}\x{8B79}\x{8B7A}\x{8B7B}\x{8B7D}' .
+'\x{8B7E}\x{8B7F}\x{8B80}\x{8B82}\x{8B83}\x{8B84}\x{8B85}\x{8B86}\x{8B88}' .
+'\x{8B89}\x{8B8A}\x{8B8B}\x{8B8C}\x{8B8E}\x{8B90}\x{8B91}\x{8B92}\x{8B93}' .
+'\x{8B94}\x{8B95}\x{8B96}\x{8B97}\x{8B98}\x{8B99}\x{8B9A}\x{8B9C}\x{8B9D}' .
+'\x{8B9E}\x{8B9F}\x{8BA0}\x{8BA1}\x{8BA2}\x{8BA3}\x{8BA4}\x{8BA5}\x{8BA6}' .
+'\x{8BA7}\x{8BA8}\x{8BA9}\x{8BAA}\x{8BAB}\x{8BAC}\x{8BAD}\x{8BAE}\x{8BAF}' .
+'\x{8BB0}\x{8BB1}\x{8BB2}\x{8BB3}\x{8BB4}\x{8BB5}\x{8BB6}\x{8BB7}\x{8BB8}' .
+'\x{8BB9}\x{8BBA}\x{8BBB}\x{8BBC}\x{8BBD}\x{8BBE}\x{8BBF}\x{8BC0}\x{8BC1}' .
+'\x{8BC2}\x{8BC3}\x{8BC4}\x{8BC5}\x{8BC6}\x{8BC7}\x{8BC8}\x{8BC9}\x{8BCA}' .
+'\x{8BCB}\x{8BCC}\x{8BCD}\x{8BCE}\x{8BCF}\x{8BD0}\x{8BD1}\x{8BD2}\x{8BD3}' .
+'\x{8BD4}\x{8BD5}\x{8BD6}\x{8BD7}\x{8BD8}\x{8BD9}\x{8BDA}\x{8BDB}\x{8BDC}' .
+'\x{8BDD}\x{8BDE}\x{8BDF}\x{8BE0}\x{8BE1}\x{8BE2}\x{8BE3}\x{8BE4}\x{8BE5}' .
+'\x{8BE6}\x{8BE7}\x{8BE8}\x{8BE9}\x{8BEA}\x{8BEB}\x{8BEC}\x{8BED}\x{8BEE}' .
+'\x{8BEF}\x{8BF0}\x{8BF1}\x{8BF2}\x{8BF3}\x{8BF4}\x{8BF5}\x{8BF6}\x{8BF7}' .
+'\x{8BF8}\x{8BF9}\x{8BFA}\x{8BFB}\x{8BFC}\x{8BFD}\x{8BFE}\x{8BFF}\x{8C00}' .
+'\x{8C01}\x{8C02}\x{8C03}\x{8C04}\x{8C05}\x{8C06}\x{8C07}\x{8C08}\x{8C09}' .
+'\x{8C0A}\x{8C0B}\x{8C0C}\x{8C0D}\x{8C0E}\x{8C0F}\x{8C10}\x{8C11}\x{8C12}' .
+'\x{8C13}\x{8C14}\x{8C15}\x{8C16}\x{8C17}\x{8C18}\x{8C19}\x{8C1A}\x{8C1B}' .
+'\x{8C1C}\x{8C1D}\x{8C1E}\x{8C1F}\x{8C20}\x{8C21}\x{8C22}\x{8C23}\x{8C24}' .
+'\x{8C25}\x{8C26}\x{8C27}\x{8C28}\x{8C29}\x{8C2A}\x{8C2B}\x{8C2C}\x{8C2D}' .
+'\x{8C2E}\x{8C2F}\x{8C30}\x{8C31}\x{8C32}\x{8C33}\x{8C34}\x{8C35}\x{8C36}' .
+'\x{8C37}\x{8C39}\x{8C3A}\x{8C3B}\x{8C3C}\x{8C3D}\x{8C3E}\x{8C3F}\x{8C41}' .
+'\x{8C42}\x{8C43}\x{8C45}\x{8C46}\x{8C47}\x{8C48}\x{8C49}\x{8C4A}\x{8C4B}' .
+'\x{8C4C}\x{8C4D}\x{8C4E}\x{8C4F}\x{8C50}\x{8C54}\x{8C55}\x{8C56}\x{8C57}' .
+'\x{8C59}\x{8C5A}\x{8C5B}\x{8C5C}\x{8C5D}\x{8C5E}\x{8C5F}\x{8C60}\x{8C61}' .
+'\x{8C62}\x{8C63}\x{8C64}\x{8C65}\x{8C66}\x{8C67}\x{8C68}\x{8C69}\x{8C6A}' .
+'\x{8C6B}\x{8C6C}\x{8C6D}\x{8C6E}\x{8C6F}\x{8C70}\x{8C71}\x{8C72}\x{8C73}' .
+'\x{8C75}\x{8C76}\x{8C77}\x{8C78}\x{8C79}\x{8C7A}\x{8C7B}\x{8C7D}\x{8C7E}' .
+'\x{8C80}\x{8C81}\x{8C82}\x{8C84}\x{8C85}\x{8C86}\x{8C88}\x{8C89}\x{8C8A}' .
+'\x{8C8C}\x{8C8D}\x{8C8F}\x{8C90}\x{8C91}\x{8C92}\x{8C93}\x{8C94}\x{8C95}' .
+'\x{8C96}\x{8C97}\x{8C98}\x{8C99}\x{8C9A}\x{8C9C}\x{8C9D}\x{8C9E}\x{8C9F}' .
+'\x{8CA0}\x{8CA1}\x{8CA2}\x{8CA3}\x{8CA4}\x{8CA5}\x{8CA7}\x{8CA8}\x{8CA9}' .
+'\x{8CAA}\x{8CAB}\x{8CAC}\x{8CAD}\x{8CAE}\x{8CAF}\x{8CB0}\x{8CB1}\x{8CB2}' .
+'\x{8CB3}\x{8CB4}\x{8CB5}\x{8CB6}\x{8CB7}\x{8CB8}\x{8CB9}\x{8CBA}\x{8CBB}' .
+'\x{8CBC}\x{8CBD}\x{8CBE}\x{8CBF}\x{8CC0}\x{8CC1}\x{8CC2}\x{8CC3}\x{8CC4}' .
+'\x{8CC5}\x{8CC6}\x{8CC7}\x{8CC8}\x{8CC9}\x{8CCA}\x{8CCC}\x{8CCE}\x{8CCF}' .
+'\x{8CD0}\x{8CD1}\x{8CD2}\x{8CD3}\x{8CD4}\x{8CD5}\x{8CD7}\x{8CD9}\x{8CDA}' .
+'\x{8CDB}\x{8CDC}\x{8CDD}\x{8CDE}\x{8CDF}\x{8CE0}\x{8CE1}\x{8CE2}\x{8CE3}' .
+'\x{8CE4}\x{8CE5}\x{8CE6}\x{8CE7}\x{8CE8}\x{8CEA}\x{8CEB}\x{8CEC}\x{8CED}' .
+'\x{8CEE}\x{8CEF}\x{8CF0}\x{8CF1}\x{8CF2}\x{8CF3}\x{8CF4}\x{8CF5}\x{8CF6}' .
+'\x{8CF8}\x{8CF9}\x{8CFA}\x{8CFB}\x{8CFC}\x{8CFD}\x{8CFE}\x{8CFF}\x{8D00}' .
+'\x{8D02}\x{8D03}\x{8D04}\x{8D05}\x{8D06}\x{8D07}\x{8D08}\x{8D09}\x{8D0A}' .
+'\x{8D0B}\x{8D0C}\x{8D0D}\x{8D0E}\x{8D0F}\x{8D10}\x{8D13}\x{8D14}\x{8D15}' .
+'\x{8D16}\x{8D17}\x{8D18}\x{8D19}\x{8D1A}\x{8D1B}\x{8D1C}\x{8D1D}\x{8D1E}' .
+'\x{8D1F}\x{8D20}\x{8D21}\x{8D22}\x{8D23}\x{8D24}\x{8D25}\x{8D26}\x{8D27}' .
+'\x{8D28}\x{8D29}\x{8D2A}\x{8D2B}\x{8D2C}\x{8D2D}\x{8D2E}\x{8D2F}\x{8D30}' .
+'\x{8D31}\x{8D32}\x{8D33}\x{8D34}\x{8D35}\x{8D36}\x{8D37}\x{8D38}\x{8D39}' .
+'\x{8D3A}\x{8D3B}\x{8D3C}\x{8D3D}\x{8D3E}\x{8D3F}\x{8D40}\x{8D41}\x{8D42}' .
+'\x{8D43}\x{8D44}\x{8D45}\x{8D46}\x{8D47}\x{8D48}\x{8D49}\x{8D4A}\x{8D4B}' .
+'\x{8D4C}\x{8D4D}\x{8D4E}\x{8D4F}\x{8D50}\x{8D51}\x{8D52}\x{8D53}\x{8D54}' .
+'\x{8D55}\x{8D56}\x{8D57}\x{8D58}\x{8D59}\x{8D5A}\x{8D5B}\x{8D5C}\x{8D5D}' .
+'\x{8D5E}\x{8D5F}\x{8D60}\x{8D61}\x{8D62}\x{8D63}\x{8D64}\x{8D65}\x{8D66}' .
+'\x{8D67}\x{8D68}\x{8D69}\x{8D6A}\x{8D6B}\x{8D6C}\x{8D6D}\x{8D6E}\x{8D6F}' .
+'\x{8D70}\x{8D71}\x{8D72}\x{8D73}\x{8D74}\x{8D75}\x{8D76}\x{8D77}\x{8D78}' .
+'\x{8D79}\x{8D7A}\x{8D7B}\x{8D7D}\x{8D7E}\x{8D7F}\x{8D80}\x{8D81}\x{8D82}' .
+'\x{8D83}\x{8D84}\x{8D85}\x{8D86}\x{8D87}\x{8D88}\x{8D89}\x{8D8A}\x{8D8B}' .
+'\x{8D8C}\x{8D8D}\x{8D8E}\x{8D8F}\x{8D90}\x{8D91}\x{8D92}\x{8D93}\x{8D94}' .
+'\x{8D95}\x{8D96}\x{8D97}\x{8D98}\x{8D99}\x{8D9A}\x{8D9B}\x{8D9C}\x{8D9D}' .
+'\x{8D9E}\x{8D9F}\x{8DA0}\x{8DA1}\x{8DA2}\x{8DA3}\x{8DA4}\x{8DA5}\x{8DA7}' .
+'\x{8DA8}\x{8DA9}\x{8DAA}\x{8DAB}\x{8DAC}\x{8DAD}\x{8DAE}\x{8DAF}\x{8DB0}' .
+'\x{8DB1}\x{8DB2}\x{8DB3}\x{8DB4}\x{8DB5}\x{8DB6}\x{8DB7}\x{8DB8}\x{8DB9}' .
+'\x{8DBA}\x{8DBB}\x{8DBC}\x{8DBD}\x{8DBE}\x{8DBF}\x{8DC1}\x{8DC2}\x{8DC3}' .
+'\x{8DC4}\x{8DC5}\x{8DC6}\x{8DC7}\x{8DC8}\x{8DC9}\x{8DCA}\x{8DCB}\x{8DCC}' .
+'\x{8DCD}\x{8DCE}\x{8DCF}\x{8DD0}\x{8DD1}\x{8DD2}\x{8DD3}\x{8DD4}\x{8DD5}' .
+'\x{8DD6}\x{8DD7}\x{8DD8}\x{8DD9}\x{8DDA}\x{8DDB}\x{8DDC}\x{8DDD}\x{8DDE}' .
+'\x{8DDF}\x{8DE0}\x{8DE1}\x{8DE2}\x{8DE3}\x{8DE4}\x{8DE6}\x{8DE7}\x{8DE8}' .
+'\x{8DE9}\x{8DEA}\x{8DEB}\x{8DEC}\x{8DED}\x{8DEE}\x{8DEF}\x{8DF0}\x{8DF1}' .
+'\x{8DF2}\x{8DF3}\x{8DF4}\x{8DF5}\x{8DF6}\x{8DF7}\x{8DF8}\x{8DF9}\x{8DFA}' .
+'\x{8DFB}\x{8DFC}\x{8DFD}\x{8DFE}\x{8DFF}\x{8E00}\x{8E02}\x{8E03}\x{8E04}' .
+'\x{8E05}\x{8E06}\x{8E07}\x{8E08}\x{8E09}\x{8E0A}\x{8E0C}\x{8E0D}\x{8E0E}' .
+'\x{8E0F}\x{8E10}\x{8E11}\x{8E12}\x{8E13}\x{8E14}\x{8E15}\x{8E16}\x{8E17}' .
+'\x{8E18}\x{8E19}\x{8E1A}\x{8E1B}\x{8E1C}\x{8E1D}\x{8E1E}\x{8E1F}\x{8E20}' .
+'\x{8E21}\x{8E22}\x{8E23}\x{8E24}\x{8E25}\x{8E26}\x{8E27}\x{8E28}\x{8E29}' .
+'\x{8E2A}\x{8E2B}\x{8E2C}\x{8E2D}\x{8E2E}\x{8E2F}\x{8E30}\x{8E31}\x{8E33}' .
+'\x{8E34}\x{8E35}\x{8E36}\x{8E37}\x{8E38}\x{8E39}\x{8E3A}\x{8E3B}\x{8E3C}' .
+'\x{8E3D}\x{8E3E}\x{8E3F}\x{8E40}\x{8E41}\x{8E42}\x{8E43}\x{8E44}\x{8E45}' .
+'\x{8E47}\x{8E48}\x{8E49}\x{8E4A}\x{8E4B}\x{8E4C}\x{8E4D}\x{8E4E}\x{8E50}' .
+'\x{8E51}\x{8E52}\x{8E53}\x{8E54}\x{8E55}\x{8E56}\x{8E57}\x{8E58}\x{8E59}' .
+'\x{8E5A}\x{8E5B}\x{8E5C}\x{8E5D}\x{8E5E}\x{8E5F}\x{8E60}\x{8E61}\x{8E62}' .
+'\x{8E63}\x{8E64}\x{8E65}\x{8E66}\x{8E67}\x{8E68}\x{8E69}\x{8E6A}\x{8E6B}' .
+'\x{8E6C}\x{8E6D}\x{8E6F}\x{8E70}\x{8E71}\x{8E72}\x{8E73}\x{8E74}\x{8E76}' .
+'\x{8E78}\x{8E7A}\x{8E7B}\x{8E7C}\x{8E7D}\x{8E7E}\x{8E7F}\x{8E80}\x{8E81}' .
+'\x{8E82}\x{8E83}\x{8E84}\x{8E85}\x{8E86}\x{8E87}\x{8E88}\x{8E89}\x{8E8A}' .
+'\x{8E8B}\x{8E8C}\x{8E8D}\x{8E8E}\x{8E8F}\x{8E90}\x{8E91}\x{8E92}\x{8E93}' .
+'\x{8E94}\x{8E95}\x{8E96}\x{8E97}\x{8E98}\x{8E9A}\x{8E9C}\x{8E9D}\x{8E9E}' .
+'\x{8E9F}\x{8EA0}\x{8EA1}\x{8EA3}\x{8EA4}\x{8EA5}\x{8EA6}\x{8EA7}\x{8EA8}' .
+'\x{8EA9}\x{8EAA}\x{8EAB}\x{8EAC}\x{8EAD}\x{8EAE}\x{8EAF}\x{8EB0}\x{8EB1}' .
+'\x{8EB2}\x{8EB4}\x{8EB5}\x{8EB8}\x{8EB9}\x{8EBA}\x{8EBB}\x{8EBC}\x{8EBD}' .
+'\x{8EBE}\x{8EBF}\x{8EC0}\x{8EC2}\x{8EC3}\x{8EC5}\x{8EC6}\x{8EC7}\x{8EC8}' .
+'\x{8EC9}\x{8ECA}\x{8ECB}\x{8ECC}\x{8ECD}\x{8ECE}\x{8ECF}\x{8ED0}\x{8ED1}' .
+'\x{8ED2}\x{8ED3}\x{8ED4}\x{8ED5}\x{8ED6}\x{8ED7}\x{8ED8}\x{8EDA}\x{8EDB}' .
+'\x{8EDC}\x{8EDD}\x{8EDE}\x{8EDF}\x{8EE0}\x{8EE1}\x{8EE4}\x{8EE5}\x{8EE6}' .
+'\x{8EE7}\x{8EE8}\x{8EE9}\x{8EEA}\x{8EEB}\x{8EEC}\x{8EED}\x{8EEE}\x{8EEF}' .
+'\x{8EF1}\x{8EF2}\x{8EF3}\x{8EF4}\x{8EF5}\x{8EF6}\x{8EF7}\x{8EF8}\x{8EF9}' .
+'\x{8EFA}\x{8EFB}\x{8EFC}\x{8EFD}\x{8EFE}\x{8EFF}\x{8F00}\x{8F01}\x{8F02}' .
+'\x{8F03}\x{8F04}\x{8F05}\x{8F06}\x{8F07}\x{8F08}\x{8F09}\x{8F0A}\x{8F0B}' .
+'\x{8F0D}\x{8F0E}\x{8F10}\x{8F11}\x{8F12}\x{8F13}\x{8F14}\x{8F15}\x{8F16}' .
+'\x{8F17}\x{8F18}\x{8F1A}\x{8F1B}\x{8F1C}\x{8F1D}\x{8F1E}\x{8F1F}\x{8F20}' .
+'\x{8F21}\x{8F22}\x{8F23}\x{8F24}\x{8F25}\x{8F26}\x{8F27}\x{8F28}\x{8F29}' .
+'\x{8F2A}\x{8F2B}\x{8F2C}\x{8F2E}\x{8F2F}\x{8F30}\x{8F31}\x{8F32}\x{8F33}' .
+'\x{8F34}\x{8F35}\x{8F36}\x{8F37}\x{8F38}\x{8F39}\x{8F3B}\x{8F3C}\x{8F3D}' .
+'\x{8F3E}\x{8F3F}\x{8F40}\x{8F42}\x{8F43}\x{8F44}\x{8F45}\x{8F46}\x{8F47}' .
+'\x{8F48}\x{8F49}\x{8F4A}\x{8F4B}\x{8F4C}\x{8F4D}\x{8F4E}\x{8F4F}\x{8F50}' .
+'\x{8F51}\x{8F52}\x{8F53}\x{8F54}\x{8F55}\x{8F56}\x{8F57}\x{8F58}\x{8F59}' .
+'\x{8F5A}\x{8F5B}\x{8F5D}\x{8F5E}\x{8F5F}\x{8F60}\x{8F61}\x{8F62}\x{8F63}' .
+'\x{8F64}\x{8F65}\x{8F66}\x{8F67}\x{8F68}\x{8F69}\x{8F6A}\x{8F6B}\x{8F6C}' .
+'\x{8F6D}\x{8F6E}\x{8F6F}\x{8F70}\x{8F71}\x{8F72}\x{8F73}\x{8F74}\x{8F75}' .
+'\x{8F76}\x{8F77}\x{8F78}\x{8F79}\x{8F7A}\x{8F7B}\x{8F7C}\x{8F7D}\x{8F7E}' .
+'\x{8F7F}\x{8F80}\x{8F81}\x{8F82}\x{8F83}\x{8F84}\x{8F85}\x{8F86}\x{8F87}' .
+'\x{8F88}\x{8F89}\x{8F8A}\x{8F8B}\x{8F8C}\x{8F8D}\x{8F8E}\x{8F8F}\x{8F90}' .
+'\x{8F91}\x{8F92}\x{8F93}\x{8F94}\x{8F95}\x{8F96}\x{8F97}\x{8F98}\x{8F99}' .
+'\x{8F9A}\x{8F9B}\x{8F9C}\x{8F9E}\x{8F9F}\x{8FA0}\x{8FA1}\x{8FA2}\x{8FA3}' .
+'\x{8FA5}\x{8FA6}\x{8FA7}\x{8FA8}\x{8FA9}\x{8FAA}\x{8FAB}\x{8FAC}\x{8FAD}' .
+'\x{8FAE}\x{8FAF}\x{8FB0}\x{8FB1}\x{8FB2}\x{8FB4}\x{8FB5}\x{8FB6}\x{8FB7}' .
+'\x{8FB8}\x{8FB9}\x{8FBB}\x{8FBC}\x{8FBD}\x{8FBE}\x{8FBF}\x{8FC0}\x{8FC1}' .
+'\x{8FC2}\x{8FC4}\x{8FC5}\x{8FC6}\x{8FC7}\x{8FC8}\x{8FC9}\x{8FCB}\x{8FCC}' .
+'\x{8FCD}\x{8FCE}\x{8FCF}\x{8FD0}\x{8FD1}\x{8FD2}\x{8FD3}\x{8FD4}\x{8FD5}' .
+'\x{8FD6}\x{8FD7}\x{8FD8}\x{8FD9}\x{8FDA}\x{8FDB}\x{8FDC}\x{8FDD}\x{8FDE}' .
+'\x{8FDF}\x{8FE0}\x{8FE1}\x{8FE2}\x{8FE3}\x{8FE4}\x{8FE5}\x{8FE6}\x{8FE8}' .
+'\x{8FE9}\x{8FEA}\x{8FEB}\x{8FEC}\x{8FED}\x{8FEE}\x{8FEF}\x{8FF0}\x{8FF1}' .
+'\x{8FF2}\x{8FF3}\x{8FF4}\x{8FF5}\x{8FF6}\x{8FF7}\x{8FF8}\x{8FF9}\x{8FFA}' .
+'\x{8FFB}\x{8FFC}\x{8FFD}\x{8FFE}\x{8FFF}\x{9000}\x{9001}\x{9002}\x{9003}' .
+'\x{9004}\x{9005}\x{9006}\x{9007}\x{9008}\x{9009}\x{900A}\x{900B}\x{900C}' .
+'\x{900D}\x{900F}\x{9010}\x{9011}\x{9012}\x{9013}\x{9014}\x{9015}\x{9016}' .
+'\x{9017}\x{9018}\x{9019}\x{901A}\x{901B}\x{901C}\x{901D}\x{901E}\x{901F}' .
+'\x{9020}\x{9021}\x{9022}\x{9023}\x{9024}\x{9025}\x{9026}\x{9027}\x{9028}' .
+'\x{9029}\x{902B}\x{902D}\x{902E}\x{902F}\x{9030}\x{9031}\x{9032}\x{9033}' .
+'\x{9034}\x{9035}\x{9036}\x{9038}\x{903A}\x{903B}\x{903C}\x{903D}\x{903E}' .
+'\x{903F}\x{9041}\x{9042}\x{9043}\x{9044}\x{9045}\x{9047}\x{9048}\x{9049}' .
+'\x{904A}\x{904B}\x{904C}\x{904D}\x{904E}\x{904F}\x{9050}\x{9051}\x{9052}' .
+'\x{9053}\x{9054}\x{9055}\x{9056}\x{9057}\x{9058}\x{9059}\x{905A}\x{905B}' .
+'\x{905C}\x{905D}\x{905E}\x{905F}\x{9060}\x{9061}\x{9062}\x{9063}\x{9064}' .
+'\x{9065}\x{9066}\x{9067}\x{9068}\x{9069}\x{906A}\x{906B}\x{906C}\x{906D}' .
+'\x{906E}\x{906F}\x{9070}\x{9071}\x{9072}\x{9073}\x{9074}\x{9075}\x{9076}' .
+'\x{9077}\x{9078}\x{9079}\x{907A}\x{907B}\x{907C}\x{907D}\x{907E}\x{907F}' .
+'\x{9080}\x{9081}\x{9082}\x{9083}\x{9084}\x{9085}\x{9086}\x{9087}\x{9088}' .
+'\x{9089}\x{908A}\x{908B}\x{908C}\x{908D}\x{908E}\x{908F}\x{9090}\x{9091}' .
+'\x{9092}\x{9093}\x{9094}\x{9095}\x{9096}\x{9097}\x{9098}\x{9099}\x{909A}' .
+'\x{909B}\x{909C}\x{909D}\x{909E}\x{909F}\x{90A0}\x{90A1}\x{90A2}\x{90A3}' .
+'\x{90A4}\x{90A5}\x{90A6}\x{90A7}\x{90A8}\x{90A9}\x{90AA}\x{90AC}\x{90AD}' .
+'\x{90AE}\x{90AF}\x{90B0}\x{90B1}\x{90B2}\x{90B3}\x{90B4}\x{90B5}\x{90B6}' .
+'\x{90B7}\x{90B8}\x{90B9}\x{90BA}\x{90BB}\x{90BC}\x{90BD}\x{90BE}\x{90BF}' .
+'\x{90C0}\x{90C1}\x{90C2}\x{90C3}\x{90C4}\x{90C5}\x{90C6}\x{90C7}\x{90C8}' .
+'\x{90C9}\x{90CA}\x{90CB}\x{90CE}\x{90CF}\x{90D0}\x{90D1}\x{90D3}\x{90D4}' .
+'\x{90D5}\x{90D6}\x{90D7}\x{90D8}\x{90D9}\x{90DA}\x{90DB}\x{90DC}\x{90DD}' .
+'\x{90DE}\x{90DF}\x{90E0}\x{90E1}\x{90E2}\x{90E3}\x{90E4}\x{90E5}\x{90E6}' .
+'\x{90E7}\x{90E8}\x{90E9}\x{90EA}\x{90EB}\x{90EC}\x{90ED}\x{90EE}\x{90EF}' .
+'\x{90F0}\x{90F1}\x{90F2}\x{90F3}\x{90F4}\x{90F5}\x{90F7}\x{90F8}\x{90F9}' .
+'\x{90FA}\x{90FB}\x{90FC}\x{90FD}\x{90FE}\x{90FF}\x{9100}\x{9101}\x{9102}' .
+'\x{9103}\x{9104}\x{9105}\x{9106}\x{9107}\x{9108}\x{9109}\x{910B}\x{910C}' .
+'\x{910D}\x{910E}\x{910F}\x{9110}\x{9111}\x{9112}\x{9113}\x{9114}\x{9115}' .
+'\x{9116}\x{9117}\x{9118}\x{9119}\x{911A}\x{911B}\x{911C}\x{911D}\x{911E}' .
+'\x{911F}\x{9120}\x{9121}\x{9122}\x{9123}\x{9124}\x{9125}\x{9126}\x{9127}' .
+'\x{9128}\x{9129}\x{912A}\x{912B}\x{912C}\x{912D}\x{912E}\x{912F}\x{9130}' .
+'\x{9131}\x{9132}\x{9133}\x{9134}\x{9135}\x{9136}\x{9137}\x{9138}\x{9139}' .
+'\x{913A}\x{913B}\x{913E}\x{913F}\x{9140}\x{9141}\x{9142}\x{9143}\x{9144}' .
+'\x{9145}\x{9146}\x{9147}\x{9148}\x{9149}\x{914A}\x{914B}\x{914C}\x{914D}' .
+'\x{914E}\x{914F}\x{9150}\x{9151}\x{9152}\x{9153}\x{9154}\x{9155}\x{9156}' .
+'\x{9157}\x{9158}\x{915A}\x{915B}\x{915C}\x{915D}\x{915E}\x{915F}\x{9160}' .
+'\x{9161}\x{9162}\x{9163}\x{9164}\x{9165}\x{9166}\x{9167}\x{9168}\x{9169}' .
+'\x{916A}\x{916B}\x{916C}\x{916D}\x{916E}\x{916F}\x{9170}\x{9171}\x{9172}' .
+'\x{9173}\x{9174}\x{9175}\x{9176}\x{9177}\x{9178}\x{9179}\x{917A}\x{917C}' .
+'\x{917D}\x{917E}\x{917F}\x{9180}\x{9181}\x{9182}\x{9183}\x{9184}\x{9185}' .
+'\x{9186}\x{9187}\x{9188}\x{9189}\x{918A}\x{918B}\x{918C}\x{918D}\x{918E}' .
+'\x{918F}\x{9190}\x{9191}\x{9192}\x{9193}\x{9194}\x{9196}\x{9199}\x{919A}' .
+'\x{919B}\x{919C}\x{919D}\x{919E}\x{919F}\x{91A0}\x{91A1}\x{91A2}\x{91A3}' .
+'\x{91A5}\x{91A6}\x{91A7}\x{91A8}\x{91AA}\x{91AB}\x{91AC}\x{91AD}\x{91AE}' .
+'\x{91AF}\x{91B0}\x{91B1}\x{91B2}\x{91B3}\x{91B4}\x{91B5}\x{91B6}\x{91B7}' .
+'\x{91B9}\x{91BA}\x{91BB}\x{91BC}\x{91BD}\x{91BE}\x{91C0}\x{91C1}\x{91C2}' .
+'\x{91C3}\x{91C5}\x{91C6}\x{91C7}\x{91C9}\x{91CA}\x{91CB}\x{91CC}\x{91CD}' .
+'\x{91CE}\x{91CF}\x{91D0}\x{91D1}\x{91D2}\x{91D3}\x{91D4}\x{91D5}\x{91D7}' .
+'\x{91D8}\x{91D9}\x{91DA}\x{91DB}\x{91DC}\x{91DD}\x{91DE}\x{91DF}\x{91E2}' .
+'\x{91E3}\x{91E4}\x{91E5}\x{91E6}\x{91E7}\x{91E8}\x{91E9}\x{91EA}\x{91EB}' .
+'\x{91EC}\x{91ED}\x{91EE}\x{91F0}\x{91F1}\x{91F2}\x{91F3}\x{91F4}\x{91F5}' .
+'\x{91F7}\x{91F8}\x{91F9}\x{91FA}\x{91FB}\x{91FD}\x{91FE}\x{91FF}\x{9200}' .
+'\x{9201}\x{9202}\x{9203}\x{9204}\x{9205}\x{9206}\x{9207}\x{9208}\x{9209}' .
+'\x{920A}\x{920B}\x{920C}\x{920D}\x{920E}\x{920F}\x{9210}\x{9211}\x{9212}' .
+'\x{9214}\x{9215}\x{9216}\x{9217}\x{9218}\x{9219}\x{921A}\x{921B}\x{921C}' .
+'\x{921D}\x{921E}\x{9220}\x{9221}\x{9223}\x{9224}\x{9225}\x{9226}\x{9227}' .
+'\x{9228}\x{9229}\x{922A}\x{922B}\x{922D}\x{922E}\x{922F}\x{9230}\x{9231}' .
+'\x{9232}\x{9233}\x{9234}\x{9235}\x{9236}\x{9237}\x{9238}\x{9239}\x{923A}' .
+'\x{923B}\x{923C}\x{923D}\x{923E}\x{923F}\x{9240}\x{9241}\x{9242}\x{9245}' .
+'\x{9246}\x{9247}\x{9248}\x{9249}\x{924A}\x{924B}\x{924C}\x{924D}\x{924E}' .
+'\x{924F}\x{9250}\x{9251}\x{9252}\x{9253}\x{9254}\x{9255}\x{9256}\x{9257}' .
+'\x{9258}\x{9259}\x{925A}\x{925B}\x{925C}\x{925D}\x{925E}\x{925F}\x{9260}' .
+'\x{9261}\x{9262}\x{9263}\x{9264}\x{9265}\x{9266}\x{9267}\x{9268}\x{926B}' .
+'\x{926C}\x{926D}\x{926E}\x{926F}\x{9270}\x{9272}\x{9273}\x{9274}\x{9275}' .
+'\x{9276}\x{9277}\x{9278}\x{9279}\x{927A}\x{927B}\x{927C}\x{927D}\x{927E}' .
+'\x{927F}\x{9280}\x{9282}\x{9283}\x{9285}\x{9286}\x{9287}\x{9288}\x{9289}' .
+'\x{928A}\x{928B}\x{928C}\x{928D}\x{928E}\x{928F}\x{9290}\x{9291}\x{9292}' .
+'\x{9293}\x{9294}\x{9295}\x{9296}\x{9297}\x{9298}\x{9299}\x{929A}\x{929B}' .
+'\x{929C}\x{929D}\x{929F}\x{92A0}\x{92A1}\x{92A2}\x{92A3}\x{92A4}\x{92A5}' .
+'\x{92A6}\x{92A7}\x{92A8}\x{92A9}\x{92AA}\x{92AB}\x{92AC}\x{92AD}\x{92AE}' .
+'\x{92AF}\x{92B0}\x{92B1}\x{92B2}\x{92B3}\x{92B4}\x{92B5}\x{92B6}\x{92B7}' .
+'\x{92B8}\x{92B9}\x{92BA}\x{92BB}\x{92BC}\x{92BE}\x{92BF}\x{92C0}\x{92C1}' .
+'\x{92C2}\x{92C3}\x{92C4}\x{92C5}\x{92C6}\x{92C7}\x{92C8}\x{92C9}\x{92CA}' .
+'\x{92CB}\x{92CC}\x{92CD}\x{92CE}\x{92CF}\x{92D0}\x{92D1}\x{92D2}\x{92D3}' .
+'\x{92D5}\x{92D6}\x{92D7}\x{92D8}\x{92D9}\x{92DA}\x{92DC}\x{92DD}\x{92DE}' .
+'\x{92DF}\x{92E0}\x{92E1}\x{92E3}\x{92E4}\x{92E5}\x{92E6}\x{92E7}\x{92E8}' .
+'\x{92E9}\x{92EA}\x{92EB}\x{92EC}\x{92ED}\x{92EE}\x{92EF}\x{92F0}\x{92F1}' .
+'\x{92F2}\x{92F3}\x{92F4}\x{92F5}\x{92F6}\x{92F7}\x{92F8}\x{92F9}\x{92FA}' .
+'\x{92FB}\x{92FC}\x{92FD}\x{92FE}\x{92FF}\x{9300}\x{9301}\x{9302}\x{9303}' .
+'\x{9304}\x{9305}\x{9306}\x{9307}\x{9308}\x{9309}\x{930A}\x{930B}\x{930C}' .
+'\x{930D}\x{930E}\x{930F}\x{9310}\x{9311}\x{9312}\x{9313}\x{9314}\x{9315}' .
+'\x{9316}\x{9317}\x{9318}\x{9319}\x{931A}\x{931B}\x{931D}\x{931E}\x{931F}' .
+'\x{9320}\x{9321}\x{9322}\x{9323}\x{9324}\x{9325}\x{9326}\x{9327}\x{9328}' .
+'\x{9329}\x{932A}\x{932B}\x{932D}\x{932E}\x{932F}\x{9332}\x{9333}\x{9334}' .
+'\x{9335}\x{9336}\x{9337}\x{9338}\x{9339}\x{933A}\x{933B}\x{933C}\x{933D}' .
+'\x{933E}\x{933F}\x{9340}\x{9341}\x{9342}\x{9343}\x{9344}\x{9345}\x{9346}' .
+'\x{9347}\x{9348}\x{9349}\x{934A}\x{934B}\x{934C}\x{934D}\x{934E}\x{934F}' .
+'\x{9350}\x{9351}\x{9352}\x{9353}\x{9354}\x{9355}\x{9356}\x{9357}\x{9358}' .
+'\x{9359}\x{935A}\x{935B}\x{935C}\x{935D}\x{935E}\x{935F}\x{9360}\x{9361}' .
+'\x{9363}\x{9364}\x{9365}\x{9366}\x{9367}\x{9369}\x{936A}\x{936C}\x{936D}' .
+'\x{936E}\x{9370}\x{9371}\x{9372}\x{9374}\x{9375}\x{9376}\x{9377}\x{9379}' .
+'\x{937A}\x{937B}\x{937C}\x{937D}\x{937E}\x{9380}\x{9382}\x{9383}\x{9384}' .
+'\x{9385}\x{9386}\x{9387}\x{9388}\x{9389}\x{938A}\x{938C}\x{938D}\x{938E}' .
+'\x{938F}\x{9390}\x{9391}\x{9392}\x{9393}\x{9394}\x{9395}\x{9396}\x{9397}' .
+'\x{9398}\x{9399}\x{939A}\x{939B}\x{939D}\x{939E}\x{939F}\x{93A1}\x{93A2}' .
+'\x{93A3}\x{93A4}\x{93A5}\x{93A6}\x{93A7}\x{93A8}\x{93A9}\x{93AA}\x{93AC}' .
+'\x{93AD}\x{93AE}\x{93AF}\x{93B0}\x{93B1}\x{93B2}\x{93B3}\x{93B4}\x{93B5}' .
+'\x{93B6}\x{93B7}\x{93B8}\x{93B9}\x{93BA}\x{93BC}\x{93BD}\x{93BE}\x{93BF}' .
+'\x{93C0}\x{93C1}\x{93C2}\x{93C3}\x{93C4}\x{93C5}\x{93C6}\x{93C7}\x{93C8}' .
+'\x{93C9}\x{93CA}\x{93CB}\x{93CC}\x{93CD}\x{93CE}\x{93CF}\x{93D0}\x{93D1}' .
+'\x{93D2}\x{93D3}\x{93D4}\x{93D5}\x{93D6}\x{93D7}\x{93D8}\x{93D9}\x{93DA}' .
+'\x{93DB}\x{93DC}\x{93DD}\x{93DE}\x{93DF}\x{93E1}\x{93E2}\x{93E3}\x{93E4}' .
+'\x{93E6}\x{93E7}\x{93E8}\x{93E9}\x{93EA}\x{93EB}\x{93EC}\x{93ED}\x{93EE}' .
+'\x{93EF}\x{93F0}\x{93F1}\x{93F2}\x{93F4}\x{93F5}\x{93F6}\x{93F7}\x{93F8}' .
+'\x{93F9}\x{93FA}\x{93FB}\x{93FC}\x{93FD}\x{93FE}\x{93FF}\x{9400}\x{9401}' .
+'\x{9403}\x{9404}\x{9405}\x{9406}\x{9407}\x{9408}\x{9409}\x{940A}\x{940B}' .
+'\x{940C}\x{940D}\x{940E}\x{940F}\x{9410}\x{9411}\x{9412}\x{9413}\x{9414}' .
+'\x{9415}\x{9416}\x{9418}\x{9419}\x{941B}\x{941D}\x{9420}\x{9422}\x{9423}' .
+'\x{9425}\x{9426}\x{9427}\x{9428}\x{9429}\x{942A}\x{942B}\x{942C}\x{942D}' .
+'\x{942E}\x{942F}\x{9430}\x{9431}\x{9432}\x{9433}\x{9434}\x{9435}\x{9436}' .
+'\x{9437}\x{9438}\x{9439}\x{943A}\x{943B}\x{943C}\x{943D}\x{943E}\x{943F}' .
+'\x{9440}\x{9441}\x{9442}\x{9444}\x{9445}\x{9446}\x{9447}\x{9448}\x{9449}' .
+'\x{944A}\x{944B}\x{944C}\x{944D}\x{944F}\x{9450}\x{9451}\x{9452}\x{9453}' .
+'\x{9454}\x{9455}\x{9456}\x{9457}\x{9458}\x{9459}\x{945B}\x{945C}\x{945D}' .
+'\x{945E}\x{945F}\x{9460}\x{9461}\x{9462}\x{9463}\x{9464}\x{9465}\x{9466}' .
+'\x{9467}\x{9468}\x{9469}\x{946A}\x{946B}\x{946D}\x{946E}\x{946F}\x{9470}' .
+'\x{9471}\x{9472}\x{9473}\x{9474}\x{9475}\x{9476}\x{9477}\x{9478}\x{9479}' .
+'\x{947A}\x{947C}\x{947D}\x{947E}\x{947F}\x{9480}\x{9481}\x{9482}\x{9483}' .
+'\x{9484}\x{9485}\x{9486}\x{9487}\x{9488}\x{9489}\x{948A}\x{948B}\x{948C}' .
+'\x{948D}\x{948E}\x{948F}\x{9490}\x{9491}\x{9492}\x{9493}\x{9494}\x{9495}' .
+'\x{9496}\x{9497}\x{9498}\x{9499}\x{949A}\x{949B}\x{949C}\x{949D}\x{949E}' .
+'\x{949F}\x{94A0}\x{94A1}\x{94A2}\x{94A3}\x{94A4}\x{94A5}\x{94A6}\x{94A7}' .
+'\x{94A8}\x{94A9}\x{94AA}\x{94AB}\x{94AC}\x{94AD}\x{94AE}\x{94AF}\x{94B0}' .
+'\x{94B1}\x{94B2}\x{94B3}\x{94B4}\x{94B5}\x{94B6}\x{94B7}\x{94B8}\x{94B9}' .
+'\x{94BA}\x{94BB}\x{94BC}\x{94BD}\x{94BE}\x{94BF}\x{94C0}\x{94C1}\x{94C2}' .
+'\x{94C3}\x{94C4}\x{94C5}\x{94C6}\x{94C7}\x{94C8}\x{94C9}\x{94CA}\x{94CB}' .
+'\x{94CC}\x{94CD}\x{94CE}\x{94CF}\x{94D0}\x{94D1}\x{94D2}\x{94D3}\x{94D4}' .
+'\x{94D5}\x{94D6}\x{94D7}\x{94D8}\x{94D9}\x{94DA}\x{94DB}\x{94DC}\x{94DD}' .
+'\x{94DE}\x{94DF}\x{94E0}\x{94E1}\x{94E2}\x{94E3}\x{94E4}\x{94E5}\x{94E6}' .
+'\x{94E7}\x{94E8}\x{94E9}\x{94EA}\x{94EB}\x{94EC}\x{94ED}\x{94EE}\x{94EF}' .
+'\x{94F0}\x{94F1}\x{94F2}\x{94F3}\x{94F4}\x{94F5}\x{94F6}\x{94F7}\x{94F8}' .
+'\x{94F9}\x{94FA}\x{94FB}\x{94FC}\x{94FD}\x{94FE}\x{94FF}\x{9500}\x{9501}' .
+'\x{9502}\x{9503}\x{9504}\x{9505}\x{9506}\x{9507}\x{9508}\x{9509}\x{950A}' .
+'\x{950B}\x{950C}\x{950D}\x{950E}\x{950F}\x{9510}\x{9511}\x{9512}\x{9513}' .
+'\x{9514}\x{9515}\x{9516}\x{9517}\x{9518}\x{9519}\x{951A}\x{951B}\x{951C}' .
+'\x{951D}\x{951E}\x{951F}\x{9520}\x{9521}\x{9522}\x{9523}\x{9524}\x{9525}' .
+'\x{9526}\x{9527}\x{9528}\x{9529}\x{952A}\x{952B}\x{952C}\x{952D}\x{952E}' .
+'\x{952F}\x{9530}\x{9531}\x{9532}\x{9533}\x{9534}\x{9535}\x{9536}\x{9537}' .
+'\x{9538}\x{9539}\x{953A}\x{953B}\x{953C}\x{953D}\x{953E}\x{953F}\x{9540}' .
+'\x{9541}\x{9542}\x{9543}\x{9544}\x{9545}\x{9546}\x{9547}\x{9548}\x{9549}' .
+'\x{954A}\x{954B}\x{954C}\x{954D}\x{954E}\x{954F}\x{9550}\x{9551}\x{9552}' .
+'\x{9553}\x{9554}\x{9555}\x{9556}\x{9557}\x{9558}\x{9559}\x{955A}\x{955B}' .
+'\x{955C}\x{955D}\x{955E}\x{955F}\x{9560}\x{9561}\x{9562}\x{9563}\x{9564}' .
+'\x{9565}\x{9566}\x{9567}\x{9568}\x{9569}\x{956A}\x{956B}\x{956C}\x{956D}' .
+'\x{956E}\x{956F}\x{9570}\x{9571}\x{9572}\x{9573}\x{9574}\x{9575}\x{9576}' .
+'\x{9577}\x{957A}\x{957B}\x{957C}\x{957D}\x{957F}\x{9580}\x{9581}\x{9582}' .
+'\x{9583}\x{9584}\x{9586}\x{9587}\x{9588}\x{9589}\x{958A}\x{958B}\x{958C}' .
+'\x{958D}\x{958E}\x{958F}\x{9590}\x{9591}\x{9592}\x{9593}\x{9594}\x{9595}' .
+'\x{9596}\x{9598}\x{9599}\x{959A}\x{959B}\x{959C}\x{959D}\x{959E}\x{959F}' .
+'\x{95A1}\x{95A2}\x{95A3}\x{95A4}\x{95A5}\x{95A6}\x{95A7}\x{95A8}\x{95A9}' .
+'\x{95AA}\x{95AB}\x{95AC}\x{95AD}\x{95AE}\x{95AF}\x{95B0}\x{95B1}\x{95B2}' .
+'\x{95B5}\x{95B6}\x{95B7}\x{95B9}\x{95BA}\x{95BB}\x{95BC}\x{95BD}\x{95BE}' .
+'\x{95BF}\x{95C0}\x{95C2}\x{95C3}\x{95C4}\x{95C5}\x{95C6}\x{95C7}\x{95C8}' .
+'\x{95C9}\x{95CA}\x{95CB}\x{95CC}\x{95CD}\x{95CE}\x{95CF}\x{95D0}\x{95D1}' .
+'\x{95D2}\x{95D3}\x{95D4}\x{95D5}\x{95D6}\x{95D7}\x{95D8}\x{95DA}\x{95DB}' .
+'\x{95DC}\x{95DE}\x{95DF}\x{95E0}\x{95E1}\x{95E2}\x{95E3}\x{95E4}\x{95E5}' .
+'\x{95E6}\x{95E7}\x{95E8}\x{95E9}\x{95EA}\x{95EB}\x{95EC}\x{95ED}\x{95EE}' .
+'\x{95EF}\x{95F0}\x{95F1}\x{95F2}\x{95F3}\x{95F4}\x{95F5}\x{95F6}\x{95F7}' .
+'\x{95F8}\x{95F9}\x{95FA}\x{95FB}\x{95FC}\x{95FD}\x{95FE}\x{95FF}\x{9600}' .
+'\x{9601}\x{9602}\x{9603}\x{9604}\x{9605}\x{9606}\x{9607}\x{9608}\x{9609}' .
+'\x{960A}\x{960B}\x{960C}\x{960D}\x{960E}\x{960F}\x{9610}\x{9611}\x{9612}' .
+'\x{9613}\x{9614}\x{9615}\x{9616}\x{9617}\x{9618}\x{9619}\x{961A}\x{961B}' .
+'\x{961C}\x{961D}\x{961E}\x{961F}\x{9620}\x{9621}\x{9622}\x{9623}\x{9624}' .
+'\x{9627}\x{9628}\x{962A}\x{962B}\x{962C}\x{962D}\x{962E}\x{962F}\x{9630}' .
+'\x{9631}\x{9632}\x{9633}\x{9634}\x{9635}\x{9636}\x{9637}\x{9638}\x{9639}' .
+'\x{963A}\x{963B}\x{963C}\x{963D}\x{963F}\x{9640}\x{9641}\x{9642}\x{9643}' .
+'\x{9644}\x{9645}\x{9646}\x{9647}\x{9648}\x{9649}\x{964A}\x{964B}\x{964C}' .
+'\x{964D}\x{964E}\x{964F}\x{9650}\x{9651}\x{9652}\x{9653}\x{9654}\x{9655}' .
+'\x{9658}\x{9659}\x{965A}\x{965B}\x{965C}\x{965D}\x{965E}\x{965F}\x{9660}' .
+'\x{9661}\x{9662}\x{9663}\x{9664}\x{9666}\x{9667}\x{9668}\x{9669}\x{966A}' .
+'\x{966B}\x{966C}\x{966D}\x{966E}\x{966F}\x{9670}\x{9671}\x{9672}\x{9673}' .
+'\x{9674}\x{9675}\x{9676}\x{9677}\x{9678}\x{967C}\x{967D}\x{967E}\x{9680}' .
+'\x{9683}\x{9684}\x{9685}\x{9686}\x{9687}\x{9688}\x{9689}\x{968A}\x{968B}' .
+'\x{968D}\x{968E}\x{968F}\x{9690}\x{9691}\x{9692}\x{9693}\x{9694}\x{9695}' .
+'\x{9697}\x{9698}\x{9699}\x{969B}\x{969C}\x{969E}\x{96A0}\x{96A1}\x{96A2}' .
+'\x{96A3}\x{96A4}\x{96A5}\x{96A6}\x{96A7}\x{96A8}\x{96A9}\x{96AA}\x{96AC}' .
+'\x{96AD}\x{96AE}\x{96B0}\x{96B1}\x{96B3}\x{96B4}\x{96B6}\x{96B7}\x{96B8}' .
+'\x{96B9}\x{96BA}\x{96BB}\x{96BC}\x{96BD}\x{96BE}\x{96BF}\x{96C0}\x{96C1}' .
+'\x{96C2}\x{96C3}\x{96C4}\x{96C5}\x{96C6}\x{96C7}\x{96C8}\x{96C9}\x{96CA}' .
+'\x{96CB}\x{96CC}\x{96CD}\x{96CE}\x{96CF}\x{96D0}\x{96D1}\x{96D2}\x{96D3}' .
+'\x{96D4}\x{96D5}\x{96D6}\x{96D7}\x{96D8}\x{96D9}\x{96DA}\x{96DB}\x{96DC}' .
+'\x{96DD}\x{96DE}\x{96DF}\x{96E0}\x{96E1}\x{96E2}\x{96E3}\x{96E5}\x{96E8}' .
+'\x{96E9}\x{96EA}\x{96EB}\x{96EC}\x{96ED}\x{96EE}\x{96EF}\x{96F0}\x{96F1}' .
+'\x{96F2}\x{96F3}\x{96F4}\x{96F5}\x{96F6}\x{96F7}\x{96F8}\x{96F9}\x{96FA}' .
+'\x{96FB}\x{96FD}\x{96FE}\x{96FF}\x{9700}\x{9701}\x{9702}\x{9703}\x{9704}' .
+'\x{9705}\x{9706}\x{9707}\x{9708}\x{9709}\x{970A}\x{970B}\x{970C}\x{970D}' .
+'\x{970E}\x{970F}\x{9710}\x{9711}\x{9712}\x{9713}\x{9715}\x{9716}\x{9718}' .
+'\x{9719}\x{971C}\x{971D}\x{971E}\x{971F}\x{9720}\x{9721}\x{9722}\x{9723}' .
+'\x{9724}\x{9725}\x{9726}\x{9727}\x{9728}\x{9729}\x{972A}\x{972B}\x{972C}' .
+'\x{972D}\x{972E}\x{972F}\x{9730}\x{9731}\x{9732}\x{9735}\x{9736}\x{9738}' .
+'\x{9739}\x{973A}\x{973B}\x{973C}\x{973D}\x{973E}\x{973F}\x{9742}\x{9743}' .
+'\x{9744}\x{9745}\x{9746}\x{9747}\x{9748}\x{9749}\x{974A}\x{974B}\x{974C}' .
+'\x{974E}\x{974F}\x{9750}\x{9751}\x{9752}\x{9753}\x{9754}\x{9755}\x{9756}' .
+'\x{9758}\x{9759}\x{975A}\x{975B}\x{975C}\x{975D}\x{975E}\x{975F}\x{9760}' .
+'\x{9761}\x{9762}\x{9765}\x{9766}\x{9767}\x{9768}\x{9769}\x{976A}\x{976B}' .
+'\x{976C}\x{976D}\x{976E}\x{976F}\x{9770}\x{9772}\x{9773}\x{9774}\x{9776}' .
+'\x{9777}\x{9778}\x{9779}\x{977A}\x{977B}\x{977C}\x{977D}\x{977E}\x{977F}' .
+'\x{9780}\x{9781}\x{9782}\x{9783}\x{9784}\x{9785}\x{9786}\x{9788}\x{978A}' .
+'\x{978B}\x{978C}\x{978D}\x{978E}\x{978F}\x{9790}\x{9791}\x{9792}\x{9793}' .
+'\x{9794}\x{9795}\x{9796}\x{9797}\x{9798}\x{9799}\x{979A}\x{979C}\x{979D}' .
+'\x{979E}\x{979F}\x{97A0}\x{97A1}\x{97A2}\x{97A3}\x{97A4}\x{97A5}\x{97A6}' .
+'\x{97A7}\x{97A8}\x{97AA}\x{97AB}\x{97AC}\x{97AD}\x{97AE}\x{97AF}\x{97B2}' .
+'\x{97B3}\x{97B4}\x{97B6}\x{97B7}\x{97B8}\x{97B9}\x{97BA}\x{97BB}\x{97BC}' .
+'\x{97BD}\x{97BF}\x{97C1}\x{97C2}\x{97C3}\x{97C4}\x{97C5}\x{97C6}\x{97C7}' .
+'\x{97C8}\x{97C9}\x{97CA}\x{97CB}\x{97CC}\x{97CD}\x{97CE}\x{97CF}\x{97D0}' .
+'\x{97D1}\x{97D3}\x{97D4}\x{97D5}\x{97D6}\x{97D7}\x{97D8}\x{97D9}\x{97DA}' .
+'\x{97DB}\x{97DC}\x{97DD}\x{97DE}\x{97DF}\x{97E0}\x{97E1}\x{97E2}\x{97E3}' .
+'\x{97E4}\x{97E5}\x{97E6}\x{97E7}\x{97E8}\x{97E9}\x{97EA}\x{97EB}\x{97EC}' .
+'\x{97ED}\x{97EE}\x{97EF}\x{97F0}\x{97F1}\x{97F2}\x{97F3}\x{97F4}\x{97F5}' .
+'\x{97F6}\x{97F7}\x{97F8}\x{97F9}\x{97FA}\x{97FB}\x{97FD}\x{97FE}\x{97FF}' .
+'\x{9800}\x{9801}\x{9802}\x{9803}\x{9804}\x{9805}\x{9806}\x{9807}\x{9808}' .
+'\x{9809}\x{980A}\x{980B}\x{980C}\x{980D}\x{980E}\x{980F}\x{9810}\x{9811}' .
+'\x{9812}\x{9813}\x{9814}\x{9815}\x{9816}\x{9817}\x{9818}\x{9819}\x{981A}' .
+'\x{981B}\x{981C}\x{981D}\x{981E}\x{9820}\x{9821}\x{9822}\x{9823}\x{9824}' .
+'\x{9826}\x{9827}\x{9828}\x{9829}\x{982B}\x{982D}\x{982E}\x{982F}\x{9830}' .
+'\x{9831}\x{9832}\x{9834}\x{9835}\x{9836}\x{9837}\x{9838}\x{9839}\x{983B}' .
+'\x{983C}\x{983D}\x{983F}\x{9840}\x{9841}\x{9843}\x{9844}\x{9845}\x{9846}' .
+'\x{9848}\x{9849}\x{984A}\x{984C}\x{984D}\x{984E}\x{984F}\x{9850}\x{9851}' .
+'\x{9852}\x{9853}\x{9854}\x{9855}\x{9857}\x{9858}\x{9859}\x{985A}\x{985B}' .
+'\x{985C}\x{985D}\x{985E}\x{985F}\x{9860}\x{9861}\x{9862}\x{9863}\x{9864}' .
+'\x{9865}\x{9867}\x{9869}\x{986A}\x{986B}\x{986C}\x{986D}\x{986E}\x{986F}' .
+'\x{9870}\x{9871}\x{9872}\x{9873}\x{9874}\x{9875}\x{9876}\x{9877}\x{9878}' .
+'\x{9879}\x{987A}\x{987B}\x{987C}\x{987D}\x{987E}\x{987F}\x{9880}\x{9881}' .
+'\x{9882}\x{9883}\x{9884}\x{9885}\x{9886}\x{9887}\x{9888}\x{9889}\x{988A}' .
+'\x{988B}\x{988C}\x{988D}\x{988E}\x{988F}\x{9890}\x{9891}\x{9892}\x{9893}' .
+'\x{9894}\x{9895}\x{9896}\x{9897}\x{9898}\x{9899}\x{989A}\x{989B}\x{989C}' .
+'\x{989D}\x{989E}\x{989F}\x{98A0}\x{98A1}\x{98A2}\x{98A3}\x{98A4}\x{98A5}' .
+'\x{98A6}\x{98A7}\x{98A8}\x{98A9}\x{98AA}\x{98AB}\x{98AC}\x{98AD}\x{98AE}' .
+'\x{98AF}\x{98B0}\x{98B1}\x{98B2}\x{98B3}\x{98B4}\x{98B5}\x{98B6}\x{98B8}' .
+'\x{98B9}\x{98BA}\x{98BB}\x{98BC}\x{98BD}\x{98BE}\x{98BF}\x{98C0}\x{98C1}' .
+'\x{98C2}\x{98C3}\x{98C4}\x{98C5}\x{98C6}\x{98C8}\x{98C9}\x{98CB}\x{98CC}' .
+'\x{98CD}\x{98CE}\x{98CF}\x{98D0}\x{98D1}\x{98D2}\x{98D3}\x{98D4}\x{98D5}' .
+'\x{98D6}\x{98D7}\x{98D8}\x{98D9}\x{98DA}\x{98DB}\x{98DC}\x{98DD}\x{98DE}' .
+'\x{98DF}\x{98E0}\x{98E2}\x{98E3}\x{98E5}\x{98E6}\x{98E7}\x{98E8}\x{98E9}' .
+'\x{98EA}\x{98EB}\x{98ED}\x{98EF}\x{98F0}\x{98F2}\x{98F3}\x{98F4}\x{98F5}' .
+'\x{98F6}\x{98F7}\x{98F9}\x{98FA}\x{98FC}\x{98FD}\x{98FE}\x{98FF}\x{9900}' .
+'\x{9901}\x{9902}\x{9903}\x{9904}\x{9905}\x{9906}\x{9907}\x{9908}\x{9909}' .
+'\x{990A}\x{990B}\x{990C}\x{990D}\x{990E}\x{990F}\x{9910}\x{9911}\x{9912}' .
+'\x{9913}\x{9914}\x{9915}\x{9916}\x{9917}\x{9918}\x{991A}\x{991B}\x{991C}' .
+'\x{991D}\x{991E}\x{991F}\x{9920}\x{9921}\x{9922}\x{9923}\x{9924}\x{9925}' .
+'\x{9926}\x{9927}\x{9928}\x{9929}\x{992A}\x{992B}\x{992C}\x{992D}\x{992E}' .
+'\x{992F}\x{9930}\x{9931}\x{9932}\x{9933}\x{9934}\x{9935}\x{9936}\x{9937}' .
+'\x{9938}\x{9939}\x{993A}\x{993C}\x{993D}\x{993E}\x{993F}\x{9940}\x{9941}' .
+'\x{9942}\x{9943}\x{9945}\x{9946}\x{9947}\x{9948}\x{9949}\x{994A}\x{994B}' .
+'\x{994C}\x{994E}\x{994F}\x{9950}\x{9951}\x{9952}\x{9953}\x{9954}\x{9955}' .
+'\x{9956}\x{9957}\x{9958}\x{9959}\x{995B}\x{995C}\x{995E}\x{995F}\x{9960}' .
+'\x{9961}\x{9962}\x{9963}\x{9964}\x{9965}\x{9966}\x{9967}\x{9968}\x{9969}' .
+'\x{996A}\x{996B}\x{996C}\x{996D}\x{996E}\x{996F}\x{9970}\x{9971}\x{9972}' .
+'\x{9973}\x{9974}\x{9975}\x{9976}\x{9977}\x{9978}\x{9979}\x{997A}\x{997B}' .
+'\x{997C}\x{997D}\x{997E}\x{997F}\x{9980}\x{9981}\x{9982}\x{9983}\x{9984}' .
+'\x{9985}\x{9986}\x{9987}\x{9988}\x{9989}\x{998A}\x{998B}\x{998C}\x{998D}' .
+'\x{998E}\x{998F}\x{9990}\x{9991}\x{9992}\x{9993}\x{9994}\x{9995}\x{9996}' .
+'\x{9997}\x{9998}\x{9999}\x{999A}\x{999B}\x{999C}\x{999D}\x{999E}\x{999F}' .
+'\x{99A0}\x{99A1}\x{99A2}\x{99A3}\x{99A4}\x{99A5}\x{99A6}\x{99A7}\x{99A8}' .
+'\x{99A9}\x{99AA}\x{99AB}\x{99AC}\x{99AD}\x{99AE}\x{99AF}\x{99B0}\x{99B1}' .
+'\x{99B2}\x{99B3}\x{99B4}\x{99B5}\x{99B6}\x{99B7}\x{99B8}\x{99B9}\x{99BA}' .
+'\x{99BB}\x{99BC}\x{99BD}\x{99BE}\x{99C0}\x{99C1}\x{99C2}\x{99C3}\x{99C4}' .
+'\x{99C6}\x{99C7}\x{99C8}\x{99C9}\x{99CA}\x{99CB}\x{99CC}\x{99CD}\x{99CE}' .
+'\x{99CF}\x{99D0}\x{99D1}\x{99D2}\x{99D3}\x{99D4}\x{99D5}\x{99D6}\x{99D7}' .
+'\x{99D8}\x{99D9}\x{99DA}\x{99DB}\x{99DC}\x{99DD}\x{99DE}\x{99DF}\x{99E1}' .
+'\x{99E2}\x{99E3}\x{99E4}\x{99E5}\x{99E7}\x{99E8}\x{99E9}\x{99EA}\x{99EC}' .
+'\x{99ED}\x{99EE}\x{99EF}\x{99F0}\x{99F1}\x{99F2}\x{99F3}\x{99F4}\x{99F6}' .
+'\x{99F7}\x{99F8}\x{99F9}\x{99FA}\x{99FB}\x{99FC}\x{99FD}\x{99FE}\x{99FF}' .
+'\x{9A00}\x{9A01}\x{9A02}\x{9A03}\x{9A04}\x{9A05}\x{9A06}\x{9A07}\x{9A08}' .
+'\x{9A09}\x{9A0A}\x{9A0B}\x{9A0C}\x{9A0D}\x{9A0E}\x{9A0F}\x{9A11}\x{9A14}' .
+'\x{9A15}\x{9A16}\x{9A19}\x{9A1A}\x{9A1B}\x{9A1C}\x{9A1D}\x{9A1E}\x{9A1F}' .
+'\x{9A20}\x{9A21}\x{9A22}\x{9A23}\x{9A24}\x{9A25}\x{9A26}\x{9A27}\x{9A29}' .
+'\x{9A2A}\x{9A2B}\x{9A2C}\x{9A2D}\x{9A2E}\x{9A2F}\x{9A30}\x{9A31}\x{9A32}' .
+'\x{9A33}\x{9A34}\x{9A35}\x{9A36}\x{9A37}\x{9A38}\x{9A39}\x{9A3A}\x{9A3C}' .
+'\x{9A3D}\x{9A3E}\x{9A3F}\x{9A40}\x{9A41}\x{9A42}\x{9A43}\x{9A44}\x{9A45}' .
+'\x{9A46}\x{9A47}\x{9A48}\x{9A49}\x{9A4A}\x{9A4B}\x{9A4C}\x{9A4D}\x{9A4E}' .
+'\x{9A4F}\x{9A50}\x{9A52}\x{9A53}\x{9A54}\x{9A55}\x{9A56}\x{9A57}\x{9A59}' .
+'\x{9A5A}\x{9A5B}\x{9A5C}\x{9A5E}\x{9A5F}\x{9A60}\x{9A61}\x{9A62}\x{9A64}' .
+'\x{9A65}\x{9A66}\x{9A67}\x{9A68}\x{9A69}\x{9A6A}\x{9A6B}\x{9A6C}\x{9A6D}' .
+'\x{9A6E}\x{9A6F}\x{9A70}\x{9A71}\x{9A72}\x{9A73}\x{9A74}\x{9A75}\x{9A76}' .
+'\x{9A77}\x{9A78}\x{9A79}\x{9A7A}\x{9A7B}\x{9A7C}\x{9A7D}\x{9A7E}\x{9A7F}' .
+'\x{9A80}\x{9A81}\x{9A82}\x{9A83}\x{9A84}\x{9A85}\x{9A86}\x{9A87}\x{9A88}' .
+'\x{9A89}\x{9A8A}\x{9A8B}\x{9A8C}\x{9A8D}\x{9A8E}\x{9A8F}\x{9A90}\x{9A91}' .
+'\x{9A92}\x{9A93}\x{9A94}\x{9A95}\x{9A96}\x{9A97}\x{9A98}\x{9A99}\x{9A9A}' .
+'\x{9A9B}\x{9A9C}\x{9A9D}\x{9A9E}\x{9A9F}\x{9AA0}\x{9AA1}\x{9AA2}\x{9AA3}' .
+'\x{9AA4}\x{9AA5}\x{9AA6}\x{9AA7}\x{9AA8}\x{9AAA}\x{9AAB}\x{9AAC}\x{9AAD}' .
+'\x{9AAE}\x{9AAF}\x{9AB0}\x{9AB1}\x{9AB2}\x{9AB3}\x{9AB4}\x{9AB5}\x{9AB6}' .
+'\x{9AB7}\x{9AB8}\x{9AB9}\x{9ABA}\x{9ABB}\x{9ABC}\x{9ABE}\x{9ABF}\x{9AC0}' .
+'\x{9AC1}\x{9AC2}\x{9AC3}\x{9AC4}\x{9AC5}\x{9AC6}\x{9AC7}\x{9AC9}\x{9ACA}' .
+'\x{9ACB}\x{9ACC}\x{9ACD}\x{9ACE}\x{9ACF}\x{9AD0}\x{9AD1}\x{9AD2}\x{9AD3}' .
+'\x{9AD4}\x{9AD5}\x{9AD6}\x{9AD8}\x{9AD9}\x{9ADA}\x{9ADB}\x{9ADC}\x{9ADD}' .
+'\x{9ADE}\x{9ADF}\x{9AE1}\x{9AE2}\x{9AE3}\x{9AE5}\x{9AE6}\x{9AE7}\x{9AEA}' .
+'\x{9AEB}\x{9AEC}\x{9AED}\x{9AEE}\x{9AEF}\x{9AF1}\x{9AF2}\x{9AF3}\x{9AF4}' .
+'\x{9AF5}\x{9AF6}\x{9AF7}\x{9AF8}\x{9AF9}\x{9AFA}\x{9AFB}\x{9AFC}\x{9AFD}' .
+'\x{9AFE}\x{9AFF}\x{9B01}\x{9B03}\x{9B04}\x{9B05}\x{9B06}\x{9B07}\x{9B08}' .
+'\x{9B0A}\x{9B0B}\x{9B0C}\x{9B0D}\x{9B0E}\x{9B0F}\x{9B10}\x{9B11}\x{9B12}' .
+'\x{9B13}\x{9B15}\x{9B16}\x{9B17}\x{9B18}\x{9B19}\x{9B1A}\x{9B1C}\x{9B1D}' .
+'\x{9B1E}\x{9B1F}\x{9B20}\x{9B21}\x{9B22}\x{9B23}\x{9B24}\x{9B25}\x{9B26}' .
+'\x{9B27}\x{9B28}\x{9B29}\x{9B2A}\x{9B2B}\x{9B2C}\x{9B2D}\x{9B2E}\x{9B2F}' .
+'\x{9B30}\x{9B31}\x{9B32}\x{9B33}\x{9B35}\x{9B36}\x{9B37}\x{9B38}\x{9B39}' .
+'\x{9B3A}\x{9B3B}\x{9B3C}\x{9B3E}\x{9B3F}\x{9B41}\x{9B42}\x{9B43}\x{9B44}' .
+'\x{9B45}\x{9B46}\x{9B47}\x{9B48}\x{9B49}\x{9B4A}\x{9B4B}\x{9B4C}\x{9B4D}' .
+'\x{9B4E}\x{9B4F}\x{9B51}\x{9B52}\x{9B53}\x{9B54}\x{9B55}\x{9B56}\x{9B58}' .
+'\x{9B59}\x{9B5A}\x{9B5B}\x{9B5C}\x{9B5D}\x{9B5E}\x{9B5F}\x{9B60}\x{9B61}' .
+'\x{9B63}\x{9B64}\x{9B65}\x{9B66}\x{9B67}\x{9B68}\x{9B69}\x{9B6A}\x{9B6B}' .
+'\x{9B6C}\x{9B6D}\x{9B6E}\x{9B6F}\x{9B70}\x{9B71}\x{9B73}\x{9B74}\x{9B75}' .
+'\x{9B76}\x{9B77}\x{9B78}\x{9B79}\x{9B7A}\x{9B7B}\x{9B7C}\x{9B7D}\x{9B7E}' .
+'\x{9B7F}\x{9B80}\x{9B81}\x{9B82}\x{9B83}\x{9B84}\x{9B85}\x{9B86}\x{9B87}' .
+'\x{9B88}\x{9B8A}\x{9B8B}\x{9B8D}\x{9B8E}\x{9B8F}\x{9B90}\x{9B91}\x{9B92}' .
+'\x{9B93}\x{9B94}\x{9B95}\x{9B96}\x{9B97}\x{9B98}\x{9B9A}\x{9B9B}\x{9B9C}' .
+'\x{9B9D}\x{9B9E}\x{9B9F}\x{9BA0}\x{9BA1}\x{9BA2}\x{9BA3}\x{9BA4}\x{9BA5}' .
+'\x{9BA6}\x{9BA7}\x{9BA8}\x{9BA9}\x{9BAA}\x{9BAB}\x{9BAC}\x{9BAD}\x{9BAE}' .
+'\x{9BAF}\x{9BB0}\x{9BB1}\x{9BB2}\x{9BB3}\x{9BB4}\x{9BB5}\x{9BB6}\x{9BB7}' .
+'\x{9BB8}\x{9BB9}\x{9BBA}\x{9BBB}\x{9BBC}\x{9BBD}\x{9BBE}\x{9BBF}\x{9BC0}' .
+'\x{9BC1}\x{9BC3}\x{9BC4}\x{9BC5}\x{9BC6}\x{9BC7}\x{9BC8}\x{9BC9}\x{9BCA}' .
+'\x{9BCB}\x{9BCC}\x{9BCD}\x{9BCE}\x{9BCF}\x{9BD0}\x{9BD1}\x{9BD2}\x{9BD3}' .
+'\x{9BD4}\x{9BD5}\x{9BD6}\x{9BD7}\x{9BD8}\x{9BD9}\x{9BDA}\x{9BDB}\x{9BDC}' .
+'\x{9BDD}\x{9BDE}\x{9BDF}\x{9BE0}\x{9BE1}\x{9BE2}\x{9BE3}\x{9BE4}\x{9BE5}' .
+'\x{9BE6}\x{9BE7}\x{9BE8}\x{9BE9}\x{9BEA}\x{9BEB}\x{9BEC}\x{9BED}\x{9BEE}' .
+'\x{9BEF}\x{9BF0}\x{9BF1}\x{9BF2}\x{9BF3}\x{9BF4}\x{9BF5}\x{9BF7}\x{9BF8}' .
+'\x{9BF9}\x{9BFA}\x{9BFB}\x{9BFC}\x{9BFD}\x{9BFE}\x{9BFF}\x{9C02}\x{9C05}' .
+'\x{9C06}\x{9C07}\x{9C08}\x{9C09}\x{9C0A}\x{9C0B}\x{9C0C}\x{9C0D}\x{9C0E}' .
+'\x{9C0F}\x{9C10}\x{9C11}\x{9C12}\x{9C13}\x{9C14}\x{9C15}\x{9C16}\x{9C17}' .
+'\x{9C18}\x{9C19}\x{9C1A}\x{9C1B}\x{9C1C}\x{9C1D}\x{9C1E}\x{9C1F}\x{9C20}' .
+'\x{9C21}\x{9C22}\x{9C23}\x{9C24}\x{9C25}\x{9C26}\x{9C27}\x{9C28}\x{9C29}' .
+'\x{9C2A}\x{9C2B}\x{9C2C}\x{9C2D}\x{9C2F}\x{9C30}\x{9C31}\x{9C32}\x{9C33}' .
+'\x{9C34}\x{9C35}\x{9C36}\x{9C37}\x{9C38}\x{9C39}\x{9C3A}\x{9C3B}\x{9C3C}' .
+'\x{9C3D}\x{9C3E}\x{9C3F}\x{9C40}\x{9C41}\x{9C43}\x{9C44}\x{9C45}\x{9C46}' .
+'\x{9C47}\x{9C48}\x{9C49}\x{9C4A}\x{9C4B}\x{9C4C}\x{9C4D}\x{9C4E}\x{9C50}' .
+'\x{9C52}\x{9C53}\x{9C54}\x{9C55}\x{9C56}\x{9C57}\x{9C58}\x{9C59}\x{9C5A}' .
+'\x{9C5B}\x{9C5C}\x{9C5D}\x{9C5E}\x{9C5F}\x{9C60}\x{9C62}\x{9C63}\x{9C65}' .
+'\x{9C66}\x{9C67}\x{9C68}\x{9C69}\x{9C6A}\x{9C6B}\x{9C6C}\x{9C6D}\x{9C6E}' .
+'\x{9C6F}\x{9C70}\x{9C71}\x{9C72}\x{9C73}\x{9C74}\x{9C75}\x{9C77}\x{9C78}' .
+'\x{9C79}\x{9C7A}\x{9C7C}\x{9C7D}\x{9C7E}\x{9C7F}\x{9C80}\x{9C81}\x{9C82}' .
+'\x{9C83}\x{9C84}\x{9C85}\x{9C86}\x{9C87}\x{9C88}\x{9C89}\x{9C8A}\x{9C8B}' .
+'\x{9C8C}\x{9C8D}\x{9C8E}\x{9C8F}\x{9C90}\x{9C91}\x{9C92}\x{9C93}\x{9C94}' .
+'\x{9C95}\x{9C96}\x{9C97}\x{9C98}\x{9C99}\x{9C9A}\x{9C9B}\x{9C9C}\x{9C9D}' .
+'\x{9C9E}\x{9C9F}\x{9CA0}\x{9CA1}\x{9CA2}\x{9CA3}\x{9CA4}\x{9CA5}\x{9CA6}' .
+'\x{9CA7}\x{9CA8}\x{9CA9}\x{9CAA}\x{9CAB}\x{9CAC}\x{9CAD}\x{9CAE}\x{9CAF}' .
+'\x{9CB0}\x{9CB1}\x{9CB2}\x{9CB3}\x{9CB4}\x{9CB5}\x{9CB6}\x{9CB7}\x{9CB8}' .
+'\x{9CB9}\x{9CBA}\x{9CBB}\x{9CBC}\x{9CBD}\x{9CBE}\x{9CBF}\x{9CC0}\x{9CC1}' .
+'\x{9CC2}\x{9CC3}\x{9CC4}\x{9CC5}\x{9CC6}\x{9CC7}\x{9CC8}\x{9CC9}\x{9CCA}' .
+'\x{9CCB}\x{9CCC}\x{9CCD}\x{9CCE}\x{9CCF}\x{9CD0}\x{9CD1}\x{9CD2}\x{9CD3}' .
+'\x{9CD4}\x{9CD5}\x{9CD6}\x{9CD7}\x{9CD8}\x{9CD9}\x{9CDA}\x{9CDB}\x{9CDC}' .
+'\x{9CDD}\x{9CDE}\x{9CDF}\x{9CE0}\x{9CE1}\x{9CE2}\x{9CE3}\x{9CE4}\x{9CE5}' .
+'\x{9CE6}\x{9CE7}\x{9CE8}\x{9CE9}\x{9CEA}\x{9CEB}\x{9CEC}\x{9CED}\x{9CEE}' .
+'\x{9CEF}\x{9CF0}\x{9CF1}\x{9CF2}\x{9CF3}\x{9CF4}\x{9CF5}\x{9CF6}\x{9CF7}' .
+'\x{9CF8}\x{9CF9}\x{9CFA}\x{9CFB}\x{9CFC}\x{9CFD}\x{9CFE}\x{9CFF}\x{9D00}' .
+'\x{9D01}\x{9D02}\x{9D03}\x{9D04}\x{9D05}\x{9D06}\x{9D07}\x{9D08}\x{9D09}' .
+'\x{9D0A}\x{9D0B}\x{9D0F}\x{9D10}\x{9D12}\x{9D13}\x{9D14}\x{9D15}\x{9D16}' .
+'\x{9D17}\x{9D18}\x{9D19}\x{9D1A}\x{9D1B}\x{9D1C}\x{9D1D}\x{9D1E}\x{9D1F}' .
+'\x{9D20}\x{9D21}\x{9D22}\x{9D23}\x{9D24}\x{9D25}\x{9D26}\x{9D28}\x{9D29}' .
+'\x{9D2B}\x{9D2D}\x{9D2E}\x{9D2F}\x{9D30}\x{9D31}\x{9D32}\x{9D33}\x{9D34}' .
+'\x{9D36}\x{9D37}\x{9D38}\x{9D39}\x{9D3A}\x{9D3B}\x{9D3D}\x{9D3E}\x{9D3F}' .
+'\x{9D40}\x{9D41}\x{9D42}\x{9D43}\x{9D45}\x{9D46}\x{9D47}\x{9D48}\x{9D49}' .
+'\x{9D4A}\x{9D4B}\x{9D4C}\x{9D4D}\x{9D4E}\x{9D4F}\x{9D50}\x{9D51}\x{9D52}' .
+'\x{9D53}\x{9D54}\x{9D55}\x{9D56}\x{9D57}\x{9D58}\x{9D59}\x{9D5A}\x{9D5B}' .
+'\x{9D5C}\x{9D5D}\x{9D5E}\x{9D5F}\x{9D60}\x{9D61}\x{9D62}\x{9D63}\x{9D64}' .
+'\x{9D65}\x{9D66}\x{9D67}\x{9D68}\x{9D69}\x{9D6A}\x{9D6B}\x{9D6C}\x{9D6E}' .
+'\x{9D6F}\x{9D70}\x{9D71}\x{9D72}\x{9D73}\x{9D74}\x{9D75}\x{9D76}\x{9D77}' .
+'\x{9D78}\x{9D79}\x{9D7A}\x{9D7B}\x{9D7C}\x{9D7D}\x{9D7E}\x{9D7F}\x{9D80}' .
+'\x{9D81}\x{9D82}\x{9D83}\x{9D84}\x{9D85}\x{9D86}\x{9D87}\x{9D88}\x{9D89}' .
+'\x{9D8A}\x{9D8B}\x{9D8C}\x{9D8D}\x{9D8E}\x{9D90}\x{9D91}\x{9D92}\x{9D93}' .
+'\x{9D94}\x{9D96}\x{9D97}\x{9D98}\x{9D99}\x{9D9A}\x{9D9B}\x{9D9C}\x{9D9D}' .
+'\x{9D9E}\x{9D9F}\x{9DA0}\x{9DA1}\x{9DA2}\x{9DA3}\x{9DA4}\x{9DA5}\x{9DA6}' .
+'\x{9DA7}\x{9DA8}\x{9DA9}\x{9DAA}\x{9DAB}\x{9DAC}\x{9DAD}\x{9DAF}\x{9DB0}' .
+'\x{9DB1}\x{9DB2}\x{9DB3}\x{9DB4}\x{9DB5}\x{9DB6}\x{9DB7}\x{9DB8}\x{9DB9}' .
+'\x{9DBA}\x{9DBB}\x{9DBC}\x{9DBE}\x{9DBF}\x{9DC1}\x{9DC2}\x{9DC3}\x{9DC4}' .
+'\x{9DC5}\x{9DC7}\x{9DC8}\x{9DC9}\x{9DCA}\x{9DCB}\x{9DCC}\x{9DCD}\x{9DCE}' .
+'\x{9DCF}\x{9DD0}\x{9DD1}\x{9DD2}\x{9DD3}\x{9DD4}\x{9DD5}\x{9DD6}\x{9DD7}' .
+'\x{9DD8}\x{9DD9}\x{9DDA}\x{9DDB}\x{9DDC}\x{9DDD}\x{9DDE}\x{9DDF}\x{9DE0}' .
+'\x{9DE1}\x{9DE2}\x{9DE3}\x{9DE4}\x{9DE5}\x{9DE6}\x{9DE7}\x{9DE8}\x{9DE9}' .
+'\x{9DEB}\x{9DEC}\x{9DED}\x{9DEE}\x{9DEF}\x{9DF0}\x{9DF1}\x{9DF2}\x{9DF3}' .
+'\x{9DF4}\x{9DF5}\x{9DF6}\x{9DF7}\x{9DF8}\x{9DF9}\x{9DFA}\x{9DFB}\x{9DFD}' .
+'\x{9DFE}\x{9DFF}\x{9E00}\x{9E01}\x{9E02}\x{9E03}\x{9E04}\x{9E05}\x{9E06}' .
+'\x{9E07}\x{9E08}\x{9E09}\x{9E0A}\x{9E0B}\x{9E0C}\x{9E0D}\x{9E0F}\x{9E10}' .
+'\x{9E11}\x{9E12}\x{9E13}\x{9E14}\x{9E15}\x{9E17}\x{9E18}\x{9E19}\x{9E1A}' .
+'\x{9E1B}\x{9E1D}\x{9E1E}\x{9E1F}\x{9E20}\x{9E21}\x{9E22}\x{9E23}\x{9E24}' .
+'\x{9E25}\x{9E26}\x{9E27}\x{9E28}\x{9E29}\x{9E2A}\x{9E2B}\x{9E2C}\x{9E2D}' .
+'\x{9E2E}\x{9E2F}\x{9E30}\x{9E31}\x{9E32}\x{9E33}\x{9E34}\x{9E35}\x{9E36}' .
+'\x{9E37}\x{9E38}\x{9E39}\x{9E3A}\x{9E3B}\x{9E3C}\x{9E3D}\x{9E3E}\x{9E3F}' .
+'\x{9E40}\x{9E41}\x{9E42}\x{9E43}\x{9E44}\x{9E45}\x{9E46}\x{9E47}\x{9E48}' .
+'\x{9E49}\x{9E4A}\x{9E4B}\x{9E4C}\x{9E4D}\x{9E4E}\x{9E4F}\x{9E50}\x{9E51}' .
+'\x{9E52}\x{9E53}\x{9E54}\x{9E55}\x{9E56}\x{9E57}\x{9E58}\x{9E59}\x{9E5A}' .
+'\x{9E5B}\x{9E5C}\x{9E5D}\x{9E5E}\x{9E5F}\x{9E60}\x{9E61}\x{9E62}\x{9E63}' .
+'\x{9E64}\x{9E65}\x{9E66}\x{9E67}\x{9E68}\x{9E69}\x{9E6A}\x{9E6B}\x{9E6C}' .
+'\x{9E6D}\x{9E6E}\x{9E6F}\x{9E70}\x{9E71}\x{9E72}\x{9E73}\x{9E74}\x{9E75}' .
+'\x{9E76}\x{9E77}\x{9E79}\x{9E7A}\x{9E7C}\x{9E7D}\x{9E7E}\x{9E7F}\x{9E80}' .
+'\x{9E81}\x{9E82}\x{9E83}\x{9E84}\x{9E85}\x{9E86}\x{9E87}\x{9E88}\x{9E89}' .
+'\x{9E8A}\x{9E8B}\x{9E8C}\x{9E8D}\x{9E8E}\x{9E91}\x{9E92}\x{9E93}\x{9E94}' .
+'\x{9E96}\x{9E97}\x{9E99}\x{9E9A}\x{9E9B}\x{9E9C}\x{9E9D}\x{9E9F}\x{9EA0}' .
+'\x{9EA1}\x{9EA3}\x{9EA4}\x{9EA5}\x{9EA6}\x{9EA7}\x{9EA8}\x{9EA9}\x{9EAA}' .
+'\x{9EAD}\x{9EAE}\x{9EAF}\x{9EB0}\x{9EB2}\x{9EB3}\x{9EB4}\x{9EB5}\x{9EB6}' .
+'\x{9EB7}\x{9EB8}\x{9EBB}\x{9EBC}\x{9EBD}\x{9EBE}\x{9EBF}\x{9EC0}\x{9EC1}' .
+'\x{9EC2}\x{9EC3}\x{9EC4}\x{9EC5}\x{9EC6}\x{9EC7}\x{9EC8}\x{9EC9}\x{9ECA}' .
+'\x{9ECB}\x{9ECC}\x{9ECD}\x{9ECE}\x{9ECF}\x{9ED0}\x{9ED1}\x{9ED2}\x{9ED3}' .
+'\x{9ED4}\x{9ED5}\x{9ED6}\x{9ED7}\x{9ED8}\x{9ED9}\x{9EDA}\x{9EDB}\x{9EDC}' .
+'\x{9EDD}\x{9EDE}\x{9EDF}\x{9EE0}\x{9EE1}\x{9EE2}\x{9EE3}\x{9EE4}\x{9EE5}' .
+'\x{9EE6}\x{9EE7}\x{9EE8}\x{9EE9}\x{9EEA}\x{9EEB}\x{9EED}\x{9EEE}\x{9EEF}' .
+'\x{9EF0}\x{9EF2}\x{9EF3}\x{9EF4}\x{9EF5}\x{9EF6}\x{9EF7}\x{9EF8}\x{9EF9}' .
+'\x{9EFA}\x{9EFB}\x{9EFC}\x{9EFD}\x{9EFE}\x{9EFF}\x{9F00}\x{9F01}\x{9F02}' .
+'\x{9F04}\x{9F05}\x{9F06}\x{9F07}\x{9F08}\x{9F09}\x{9F0A}\x{9F0B}\x{9F0C}' .
+'\x{9F0D}\x{9F0E}\x{9F0F}\x{9F10}\x{9F12}\x{9F13}\x{9F15}\x{9F16}\x{9F17}' .
+'\x{9F18}\x{9F19}\x{9F1A}\x{9F1B}\x{9F1C}\x{9F1D}\x{9F1E}\x{9F1F}\x{9F20}' .
+'\x{9F22}\x{9F23}\x{9F24}\x{9F25}\x{9F27}\x{9F28}\x{9F29}\x{9F2A}\x{9F2B}' .
+'\x{9F2C}\x{9F2D}\x{9F2E}\x{9F2F}\x{9F30}\x{9F31}\x{9F32}\x{9F33}\x{9F34}' .
+'\x{9F35}\x{9F36}\x{9F37}\x{9F38}\x{9F39}\x{9F3A}\x{9F3B}\x{9F3C}\x{9F3D}' .
+'\x{9F3E}\x{9F3F}\x{9F40}\x{9F41}\x{9F42}\x{9F43}\x{9F44}\x{9F46}\x{9F47}' .
+'\x{9F48}\x{9F49}\x{9F4A}\x{9F4B}\x{9F4C}\x{9F4D}\x{9F4E}\x{9F4F}\x{9F50}' .
+'\x{9F51}\x{9F52}\x{9F54}\x{9F55}\x{9F56}\x{9F57}\x{9F58}\x{9F59}\x{9F5A}' .
+'\x{9F5B}\x{9F5C}\x{9F5D}\x{9F5E}\x{9F5F}\x{9F60}\x{9F61}\x{9F63}\x{9F64}' .
+'\x{9F65}\x{9F66}\x{9F67}\x{9F68}\x{9F69}\x{9F6A}\x{9F6B}\x{9F6C}\x{9F6E}' .
+'\x{9F6F}\x{9F70}\x{9F71}\x{9F72}\x{9F73}\x{9F74}\x{9F75}\x{9F76}\x{9F77}' .
+'\x{9F78}\x{9F79}\x{9F7A}\x{9F7B}\x{9F7C}\x{9F7D}\x{9F7E}\x{9F7F}\x{9F80}' .
+'\x{9F81}\x{9F82}\x{9F83}\x{9F84}\x{9F85}\x{9F86}\x{9F87}\x{9F88}\x{9F89}' .
+'\x{9F8A}\x{9F8B}\x{9F8C}\x{9F8D}\x{9F8E}\x{9F8F}\x{9F90}\x{9F91}\x{9F92}' .
+'\x{9F93}\x{9F94}\x{9F95}\x{9F96}\x{9F97}\x{9F98}\x{9F99}\x{9F9A}\x{9F9B}' .
+'\x{9F9C}\x{9F9D}\x{9F9E}\x{9F9F}\x{9FA0}\x{9FA2}\x{9FA4}\x{9FA5}]{1,20}$/iu');
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname/Cn.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname/Cn.php
new file mode 100644
index 0000000..84c0bf2
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname/Cn.php
@@ -0,0 +1,2199 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * Ressource file for chinese idn validation
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+return array(
+ 1 => '/^[\x{002d}0-9a-z\x{3447}\x{3473}\x{359E}\x{360E}\x{361A}\x{3918}\x{396E}\x{39CF}\x{39D0}' .
+'\x{39DF}\x{3A73}\x{3B4E}\x{3C6E}\x{3CE0}\x{4056}\x{415F}\x{4337}\x{43AC}' .
+'\x{43B1}\x{43DD}\x{44D6}\x{464C}\x{4661}\x{4723}\x{4729}\x{477C}\x{478D}' .
+'\x{4947}\x{497A}\x{497D}\x{4982}\x{4983}\x{4985}\x{4986}\x{499B}\x{499F}' .
+'\x{49B6}\x{49B7}\x{4C77}\x{4C9F}\x{4CA0}\x{4CA1}\x{4CA2}\x{4CA3}\x{4D13}' .
+'\x{4D14}\x{4D15}\x{4D16}\x{4D17}\x{4D18}\x{4D19}\x{4DAE}\x{4E00}\x{4E01}' .
+'\x{4E02}\x{4E03}\x{4E04}\x{4E05}\x{4E06}\x{4E07}\x{4E08}\x{4E09}\x{4E0A}' .
+'\x{4E0B}\x{4E0C}\x{4E0D}\x{4E0E}\x{4E0F}\x{4E10}\x{4E11}\x{4E13}\x{4E14}' .
+'\x{4E15}\x{4E16}\x{4E17}\x{4E18}\x{4E19}\x{4E1A}\x{4E1B}\x{4E1C}\x{4E1D}' .
+'\x{4E1E}\x{4E1F}\x{4E20}\x{4E21}\x{4E22}\x{4E23}\x{4E24}\x{4E25}\x{4E26}' .
+'\x{4E27}\x{4E28}\x{4E2A}\x{4E2B}\x{4E2C}\x{4E2D}\x{4E2E}\x{4E2F}\x{4E30}' .
+'\x{4E31}\x{4E32}\x{4E33}\x{4E34}\x{4E35}\x{4E36}\x{4E37}\x{4E38}\x{4E39}' .
+'\x{4E3A}\x{4E3B}\x{4E3C}\x{4E3D}\x{4E3E}\x{4E3F}\x{4E40}\x{4E41}\x{4E42}' .
+'\x{4E43}\x{4E44}\x{4E45}\x{4E46}\x{4E47}\x{4E48}\x{4E49}\x{4E4A}\x{4E4B}' .
+'\x{4E4C}\x{4E4D}\x{4E4E}\x{4E4F}\x{4E50}\x{4E51}\x{4E52}\x{4E53}\x{4E54}' .
+'\x{4E56}\x{4E57}\x{4E58}\x{4E59}\x{4E5A}\x{4E5B}\x{4E5C}\x{4E5D}\x{4E5E}' .
+'\x{4E5F}\x{4E60}\x{4E61}\x{4E62}\x{4E63}\x{4E64}\x{4E65}\x{4E66}\x{4E67}' .
+'\x{4E69}\x{4E6A}\x{4E6B}\x{4E6C}\x{4E6D}\x{4E6E}\x{4E6F}\x{4E70}\x{4E71}' .
+'\x{4E72}\x{4E73}\x{4E74}\x{4E75}\x{4E76}\x{4E77}\x{4E78}\x{4E7A}\x{4E7B}' .
+'\x{4E7C}\x{4E7D}\x{4E7E}\x{4E7F}\x{4E80}\x{4E81}\x{4E82}\x{4E83}\x{4E84}' .
+'\x{4E85}\x{4E86}\x{4E87}\x{4E88}\x{4E89}\x{4E8B}\x{4E8C}\x{4E8D}\x{4E8E}' .
+'\x{4E8F}\x{4E90}\x{4E91}\x{4E92}\x{4E93}\x{4E94}\x{4E95}\x{4E97}\x{4E98}' .
+'\x{4E99}\x{4E9A}\x{4E9B}\x{4E9C}\x{4E9D}\x{4E9E}\x{4E9F}\x{4EA0}\x{4EA1}' .
+'\x{4EA2}\x{4EA4}\x{4EA5}\x{4EA6}\x{4EA7}\x{4EA8}\x{4EA9}\x{4EAA}\x{4EAB}' .
+'\x{4EAC}\x{4EAD}\x{4EAE}\x{4EAF}\x{4EB0}\x{4EB1}\x{4EB2}\x{4EB3}\x{4EB4}' .
+'\x{4EB5}\x{4EB6}\x{4EB7}\x{4EB8}\x{4EB9}\x{4EBA}\x{4EBB}\x{4EBD}\x{4EBE}' .
+'\x{4EBF}\x{4EC0}\x{4EC1}\x{4EC2}\x{4EC3}\x{4EC4}\x{4EC5}\x{4EC6}\x{4EC7}' .
+'\x{4EC8}\x{4EC9}\x{4ECA}\x{4ECB}\x{4ECD}\x{4ECE}\x{4ECF}\x{4ED0}\x{4ED1}' .
+'\x{4ED2}\x{4ED3}\x{4ED4}\x{4ED5}\x{4ED6}\x{4ED7}\x{4ED8}\x{4ED9}\x{4EDA}' .
+'\x{4EDB}\x{4EDC}\x{4EDD}\x{4EDE}\x{4EDF}\x{4EE0}\x{4EE1}\x{4EE2}\x{4EE3}' .
+'\x{4EE4}\x{4EE5}\x{4EE6}\x{4EE8}\x{4EE9}\x{4EEA}\x{4EEB}\x{4EEC}\x{4EEF}' .
+'\x{4EF0}\x{4EF1}\x{4EF2}\x{4EF3}\x{4EF4}\x{4EF5}\x{4EF6}\x{4EF7}\x{4EFB}' .
+'\x{4EFD}\x{4EFF}\x{4F00}\x{4F01}\x{4F02}\x{4F03}\x{4F04}\x{4F05}\x{4F06}' .
+'\x{4F08}\x{4F09}\x{4F0A}\x{4F0B}\x{4F0C}\x{4F0D}\x{4F0E}\x{4F0F}\x{4F10}' .
+'\x{4F11}\x{4F12}\x{4F13}\x{4F14}\x{4F15}\x{4F17}\x{4F18}\x{4F19}\x{4F1A}' .
+'\x{4F1B}\x{4F1C}\x{4F1D}\x{4F1E}\x{4F1F}\x{4F20}\x{4F21}\x{4F22}\x{4F23}' .
+'\x{4F24}\x{4F25}\x{4F26}\x{4F27}\x{4F29}\x{4F2A}\x{4F2B}\x{4F2C}\x{4F2D}' .
+'\x{4F2E}\x{4F2F}\x{4F30}\x{4F32}\x{4F33}\x{4F34}\x{4F36}\x{4F38}\x{4F39}' .
+'\x{4F3A}\x{4F3B}\x{4F3C}\x{4F3D}\x{4F3E}\x{4F3F}\x{4F41}\x{4F42}\x{4F43}' .
+'\x{4F45}\x{4F46}\x{4F47}\x{4F48}\x{4F49}\x{4F4A}\x{4F4B}\x{4F4C}\x{4F4D}' .
+'\x{4F4E}\x{4F4F}\x{4F50}\x{4F51}\x{4F52}\x{4F53}\x{4F54}\x{4F55}\x{4F56}' .
+'\x{4F57}\x{4F58}\x{4F59}\x{4F5A}\x{4F5B}\x{4F5C}\x{4F5D}\x{4F5E}\x{4F5F}' .
+'\x{4F60}\x{4F61}\x{4F62}\x{4F63}\x{4F64}\x{4F65}\x{4F66}\x{4F67}\x{4F68}' .
+'\x{4F69}\x{4F6A}\x{4F6B}\x{4F6C}\x{4F6D}\x{4F6E}\x{4F6F}\x{4F70}\x{4F72}' .
+'\x{4F73}\x{4F74}\x{4F75}\x{4F76}\x{4F77}\x{4F78}\x{4F79}\x{4F7A}\x{4F7B}' .
+'\x{4F7C}\x{4F7D}\x{4F7E}\x{4F7F}\x{4F80}\x{4F81}\x{4F82}\x{4F83}\x{4F84}' .
+'\x{4F85}\x{4F86}\x{4F87}\x{4F88}\x{4F89}\x{4F8A}\x{4F8B}\x{4F8D}\x{4F8F}' .
+'\x{4F90}\x{4F91}\x{4F92}\x{4F93}\x{4F94}\x{4F95}\x{4F96}\x{4F97}\x{4F98}' .
+'\x{4F99}\x{4F9A}\x{4F9B}\x{4F9C}\x{4F9D}\x{4F9E}\x{4F9F}\x{4FA0}\x{4FA1}' .
+'\x{4FA3}\x{4FA4}\x{4FA5}\x{4FA6}\x{4FA7}\x{4FA8}\x{4FA9}\x{4FAA}\x{4FAB}' .
+'\x{4FAC}\x{4FAE}\x{4FAF}\x{4FB0}\x{4FB1}\x{4FB2}\x{4FB3}\x{4FB4}\x{4FB5}' .
+'\x{4FB6}\x{4FB7}\x{4FB8}\x{4FB9}\x{4FBA}\x{4FBB}\x{4FBC}\x{4FBE}\x{4FBF}' .
+'\x{4FC0}\x{4FC1}\x{4FC2}\x{4FC3}\x{4FC4}\x{4FC5}\x{4FC7}\x{4FC9}\x{4FCA}' .
+'\x{4FCB}\x{4FCD}\x{4FCE}\x{4FCF}\x{4FD0}\x{4FD1}\x{4FD2}\x{4FD3}\x{4FD4}' .
+'\x{4FD5}\x{4FD6}\x{4FD7}\x{4FD8}\x{4FD9}\x{4FDA}\x{4FDB}\x{4FDC}\x{4FDD}' .
+'\x{4FDE}\x{4FDF}\x{4FE0}\x{4FE1}\x{4FE3}\x{4FE4}\x{4FE5}\x{4FE6}\x{4FE7}' .
+'\x{4FE8}\x{4FE9}\x{4FEA}\x{4FEB}\x{4FEC}\x{4FED}\x{4FEE}\x{4FEF}\x{4FF0}' .
+'\x{4FF1}\x{4FF2}\x{4FF3}\x{4FF4}\x{4FF5}\x{4FF6}\x{4FF7}\x{4FF8}\x{4FF9}' .
+'\x{4FFA}\x{4FFB}\x{4FFE}\x{4FFF}\x{5000}\x{5001}\x{5002}\x{5003}\x{5004}' .
+'\x{5005}\x{5006}\x{5007}\x{5008}\x{5009}\x{500A}\x{500B}\x{500C}\x{500D}' .
+'\x{500E}\x{500F}\x{5011}\x{5012}\x{5013}\x{5014}\x{5015}\x{5016}\x{5017}' .
+'\x{5018}\x{5019}\x{501A}\x{501B}\x{501C}\x{501D}\x{501E}\x{501F}\x{5020}' .
+'\x{5021}\x{5022}\x{5023}\x{5024}\x{5025}\x{5026}\x{5027}\x{5028}\x{5029}' .
+'\x{502A}\x{502B}\x{502C}\x{502D}\x{502E}\x{502F}\x{5030}\x{5031}\x{5032}' .
+'\x{5033}\x{5035}\x{5036}\x{5037}\x{5039}\x{503A}\x{503B}\x{503C}\x{503E}' .
+'\x{503F}\x{5040}\x{5041}\x{5043}\x{5044}\x{5045}\x{5046}\x{5047}\x{5048}' .
+'\x{5049}\x{504A}\x{504B}\x{504C}\x{504D}\x{504E}\x{504F}\x{5051}\x{5053}' .
+'\x{5054}\x{5055}\x{5056}\x{5057}\x{5059}\x{505A}\x{505B}\x{505C}\x{505D}' .
+'\x{505E}\x{505F}\x{5060}\x{5061}\x{5062}\x{5063}\x{5064}\x{5065}\x{5066}' .
+'\x{5067}\x{5068}\x{5069}\x{506A}\x{506B}\x{506C}\x{506D}\x{506E}\x{506F}' .
+'\x{5070}\x{5071}\x{5072}\x{5073}\x{5074}\x{5075}\x{5076}\x{5077}\x{5078}' .
+'\x{5079}\x{507A}\x{507B}\x{507D}\x{507E}\x{507F}\x{5080}\x{5082}\x{5083}' .
+'\x{5084}\x{5085}\x{5086}\x{5087}\x{5088}\x{5089}\x{508A}\x{508B}\x{508C}' .
+'\x{508D}\x{508E}\x{508F}\x{5090}\x{5091}\x{5092}\x{5094}\x{5095}\x{5096}' .
+'\x{5098}\x{5099}\x{509A}\x{509B}\x{509C}\x{509D}\x{509E}\x{50A2}\x{50A3}' .
+'\x{50A4}\x{50A5}\x{50A6}\x{50A7}\x{50A8}\x{50A9}\x{50AA}\x{50AB}\x{50AC}' .
+'\x{50AD}\x{50AE}\x{50AF}\x{50B0}\x{50B1}\x{50B2}\x{50B3}\x{50B4}\x{50B5}' .
+'\x{50B6}\x{50B7}\x{50B8}\x{50BA}\x{50BB}\x{50BC}\x{50BD}\x{50BE}\x{50BF}' .
+'\x{50C0}\x{50C1}\x{50C2}\x{50C4}\x{50C5}\x{50C6}\x{50C7}\x{50C8}\x{50C9}' .
+'\x{50CA}\x{50CB}\x{50CC}\x{50CD}\x{50CE}\x{50CF}\x{50D0}\x{50D1}\x{50D2}' .
+'\x{50D3}\x{50D4}\x{50D5}\x{50D6}\x{50D7}\x{50D9}\x{50DA}\x{50DB}\x{50DC}' .
+'\x{50DD}\x{50DE}\x{50E0}\x{50E3}\x{50E4}\x{50E5}\x{50E6}\x{50E7}\x{50E8}' .
+'\x{50E9}\x{50EA}\x{50EC}\x{50ED}\x{50EE}\x{50EF}\x{50F0}\x{50F1}\x{50F2}' .
+'\x{50F3}\x{50F5}\x{50F6}\x{50F8}\x{50F9}\x{50FA}\x{50FB}\x{50FC}\x{50FD}' .
+'\x{50FE}\x{50FF}\x{5100}\x{5101}\x{5102}\x{5103}\x{5104}\x{5105}\x{5106}' .
+'\x{5107}\x{5108}\x{5109}\x{510A}\x{510B}\x{510C}\x{510D}\x{510E}\x{510F}' .
+'\x{5110}\x{5111}\x{5112}\x{5113}\x{5114}\x{5115}\x{5116}\x{5117}\x{5118}' .
+'\x{5119}\x{511A}\x{511C}\x{511D}\x{511E}\x{511F}\x{5120}\x{5121}\x{5122}' .
+'\x{5123}\x{5124}\x{5125}\x{5126}\x{5127}\x{5129}\x{512A}\x{512C}\x{512D}' .
+'\x{512E}\x{512F}\x{5130}\x{5131}\x{5132}\x{5133}\x{5134}\x{5135}\x{5136}' .
+'\x{5137}\x{5138}\x{5139}\x{513A}\x{513B}\x{513C}\x{513D}\x{513E}\x{513F}' .
+'\x{5140}\x{5141}\x{5143}\x{5144}\x{5145}\x{5146}\x{5147}\x{5148}\x{5149}' .
+'\x{514B}\x{514C}\x{514D}\x{514E}\x{5150}\x{5151}\x{5152}\x{5154}\x{5155}' .
+'\x{5156}\x{5157}\x{5159}\x{515A}\x{515B}\x{515C}\x{515D}\x{515E}\x{515F}' .
+'\x{5161}\x{5162}\x{5163}\x{5165}\x{5166}\x{5167}\x{5168}\x{5169}\x{516A}' .
+'\x{516B}\x{516C}\x{516D}\x{516E}\x{516F}\x{5170}\x{5171}\x{5173}\x{5174}' .
+'\x{5175}\x{5176}\x{5177}\x{5178}\x{5179}\x{517A}\x{517B}\x{517C}\x{517D}' .
+'\x{517F}\x{5180}\x{5181}\x{5182}\x{5185}\x{5186}\x{5187}\x{5188}\x{5189}' .
+'\x{518A}\x{518B}\x{518C}\x{518D}\x{518F}\x{5190}\x{5191}\x{5192}\x{5193}' .
+'\x{5194}\x{5195}\x{5196}\x{5197}\x{5198}\x{5199}\x{519A}\x{519B}\x{519C}' .
+'\x{519D}\x{519E}\x{519F}\x{51A0}\x{51A2}\x{51A4}\x{51A5}\x{51A6}\x{51A7}' .
+'\x{51A8}\x{51AA}\x{51AB}\x{51AC}\x{51AE}\x{51AF}\x{51B0}\x{51B1}\x{51B2}' .
+'\x{51B3}\x{51B5}\x{51B6}\x{51B7}\x{51B9}\x{51BB}\x{51BC}\x{51BD}\x{51BE}' .
+'\x{51BF}\x{51C0}\x{51C1}\x{51C3}\x{51C4}\x{51C5}\x{51C6}\x{51C7}\x{51C8}' .
+'\x{51C9}\x{51CA}\x{51CB}\x{51CC}\x{51CD}\x{51CE}\x{51CF}\x{51D0}\x{51D1}' .
+'\x{51D4}\x{51D5}\x{51D6}\x{51D7}\x{51D8}\x{51D9}\x{51DA}\x{51DB}\x{51DC}' .
+'\x{51DD}\x{51DE}\x{51E0}\x{51E1}\x{51E2}\x{51E3}\x{51E4}\x{51E5}\x{51E7}' .
+'\x{51E8}\x{51E9}\x{51EA}\x{51EB}\x{51ED}\x{51EF}\x{51F0}\x{51F1}\x{51F3}' .
+'\x{51F4}\x{51F5}\x{51F6}\x{51F7}\x{51F8}\x{51F9}\x{51FA}\x{51FB}\x{51FC}' .
+'\x{51FD}\x{51FE}\x{51FF}\x{5200}\x{5201}\x{5202}\x{5203}\x{5204}\x{5205}' .
+'\x{5206}\x{5207}\x{5208}\x{5209}\x{520A}\x{520B}\x{520C}\x{520D}\x{520E}' .
+'\x{520F}\x{5210}\x{5211}\x{5212}\x{5213}\x{5214}\x{5215}\x{5216}\x{5217}' .
+'\x{5218}\x{5219}\x{521A}\x{521B}\x{521C}\x{521D}\x{521E}\x{521F}\x{5220}' .
+'\x{5221}\x{5222}\x{5223}\x{5224}\x{5225}\x{5226}\x{5228}\x{5229}\x{522A}' .
+'\x{522B}\x{522C}\x{522D}\x{522E}\x{522F}\x{5230}\x{5231}\x{5232}\x{5233}' .
+'\x{5234}\x{5235}\x{5236}\x{5237}\x{5238}\x{5239}\x{523A}\x{523B}\x{523C}' .
+'\x{523D}\x{523E}\x{523F}\x{5240}\x{5241}\x{5242}\x{5243}\x{5244}\x{5245}' .
+'\x{5246}\x{5247}\x{5248}\x{5249}\x{524A}\x{524B}\x{524C}\x{524D}\x{524E}' .
+'\x{5250}\x{5251}\x{5252}\x{5254}\x{5255}\x{5256}\x{5257}\x{5258}\x{5259}' .
+'\x{525A}\x{525B}\x{525C}\x{525D}\x{525E}\x{525F}\x{5260}\x{5261}\x{5262}' .
+'\x{5263}\x{5264}\x{5265}\x{5267}\x{5268}\x{5269}\x{526A}\x{526B}\x{526C}' .
+'\x{526D}\x{526E}\x{526F}\x{5270}\x{5272}\x{5273}\x{5274}\x{5275}\x{5276}' .
+'\x{5277}\x{5278}\x{527A}\x{527B}\x{527C}\x{527D}\x{527E}\x{527F}\x{5280}' .
+'\x{5281}\x{5282}\x{5283}\x{5284}\x{5286}\x{5287}\x{5288}\x{5289}\x{528A}' .
+'\x{528B}\x{528C}\x{528D}\x{528F}\x{5290}\x{5291}\x{5292}\x{5293}\x{5294}' .
+'\x{5295}\x{5296}\x{5297}\x{5298}\x{5299}\x{529A}\x{529B}\x{529C}\x{529D}' .
+'\x{529E}\x{529F}\x{52A0}\x{52A1}\x{52A2}\x{52A3}\x{52A5}\x{52A6}\x{52A7}' .
+'\x{52A8}\x{52A9}\x{52AA}\x{52AB}\x{52AC}\x{52AD}\x{52AE}\x{52AF}\x{52B0}' .
+'\x{52B1}\x{52B2}\x{52B3}\x{52B4}\x{52B5}\x{52B6}\x{52B7}\x{52B8}\x{52B9}' .
+'\x{52BA}\x{52BB}\x{52BC}\x{52BD}\x{52BE}\x{52BF}\x{52C0}\x{52C1}\x{52C2}' .
+'\x{52C3}\x{52C6}\x{52C7}\x{52C9}\x{52CA}\x{52CB}\x{52CD}\x{52CF}\x{52D0}' .
+'\x{52D2}\x{52D3}\x{52D5}\x{52D6}\x{52D7}\x{52D8}\x{52D9}\x{52DA}\x{52DB}' .
+'\x{52DC}\x{52DD}\x{52DE}\x{52DF}\x{52E0}\x{52E2}\x{52E3}\x{52E4}\x{52E6}' .
+'\x{52E7}\x{52E8}\x{52E9}\x{52EA}\x{52EB}\x{52EC}\x{52ED}\x{52EF}\x{52F0}' .
+'\x{52F1}\x{52F2}\x{52F3}\x{52F4}\x{52F5}\x{52F6}\x{52F7}\x{52F8}\x{52F9}' .
+'\x{52FA}\x{52FB}\x{52FC}\x{52FD}\x{52FE}\x{52FF}\x{5300}\x{5301}\x{5302}' .
+'\x{5305}\x{5306}\x{5307}\x{5308}\x{5309}\x{530A}\x{530B}\x{530C}\x{530D}' .
+'\x{530E}\x{530F}\x{5310}\x{5311}\x{5312}\x{5313}\x{5314}\x{5315}\x{5316}' .
+'\x{5317}\x{5319}\x{531A}\x{531C}\x{531D}\x{531F}\x{5320}\x{5321}\x{5322}' .
+'\x{5323}\x{5324}\x{5325}\x{5326}\x{5328}\x{532A}\x{532B}\x{532C}\x{532D}' .
+'\x{532E}\x{532F}\x{5330}\x{5331}\x{5333}\x{5334}\x{5337}\x{5339}\x{533A}' .
+'\x{533B}\x{533C}\x{533D}\x{533E}\x{533F}\x{5340}\x{5341}\x{5343}\x{5344}' .
+'\x{5345}\x{5346}\x{5347}\x{5348}\x{5349}\x{534A}\x{534B}\x{534C}\x{534D}' .
+'\x{534E}\x{534F}\x{5350}\x{5351}\x{5352}\x{5353}\x{5354}\x{5355}\x{5356}' .
+'\x{5357}\x{5358}\x{5359}\x{535A}\x{535C}\x{535E}\x{535F}\x{5360}\x{5361}' .
+'\x{5362}\x{5363}\x{5364}\x{5365}\x{5366}\x{5367}\x{5369}\x{536B}\x{536C}' .
+'\x{536E}\x{536F}\x{5370}\x{5371}\x{5372}\x{5373}\x{5374}\x{5375}\x{5376}' .
+'\x{5377}\x{5378}\x{5379}\x{537A}\x{537B}\x{537C}\x{537D}\x{537E}\x{537F}' .
+'\x{5381}\x{5382}\x{5383}\x{5384}\x{5385}\x{5386}\x{5387}\x{5388}\x{5389}' .
+'\x{538A}\x{538B}\x{538C}\x{538D}\x{538E}\x{538F}\x{5390}\x{5391}\x{5392}' .
+'\x{5393}\x{5394}\x{5395}\x{5396}\x{5397}\x{5398}\x{5399}\x{539A}\x{539B}' .
+'\x{539C}\x{539D}\x{539E}\x{539F}\x{53A0}\x{53A2}\x{53A3}\x{53A4}\x{53A5}' .
+'\x{53A6}\x{53A7}\x{53A8}\x{53A9}\x{53AC}\x{53AD}\x{53AE}\x{53B0}\x{53B1}' .
+'\x{53B2}\x{53B3}\x{53B4}\x{53B5}\x{53B6}\x{53B7}\x{53B8}\x{53B9}\x{53BB}' .
+'\x{53BC}\x{53BD}\x{53BE}\x{53BF}\x{53C0}\x{53C1}\x{53C2}\x{53C3}\x{53C4}' .
+'\x{53C6}\x{53C7}\x{53C8}\x{53C9}\x{53CA}\x{53CB}\x{53CC}\x{53CD}\x{53CE}' .
+'\x{53D0}\x{53D1}\x{53D2}\x{53D3}\x{53D4}\x{53D5}\x{53D6}\x{53D7}\x{53D8}' .
+'\x{53D9}\x{53DB}\x{53DC}\x{53DF}\x{53E0}\x{53E1}\x{53E2}\x{53E3}\x{53E4}' .
+'\x{53E5}\x{53E6}\x{53E8}\x{53E9}\x{53EA}\x{53EB}\x{53EC}\x{53ED}\x{53EE}' .
+'\x{53EF}\x{53F0}\x{53F1}\x{53F2}\x{53F3}\x{53F4}\x{53F5}\x{53F6}\x{53F7}' .
+'\x{53F8}\x{53F9}\x{53FA}\x{53FB}\x{53FC}\x{53FD}\x{53FE}\x{5401}\x{5402}' .
+'\x{5403}\x{5404}\x{5405}\x{5406}\x{5407}\x{5408}\x{5409}\x{540A}\x{540B}' .
+'\x{540C}\x{540D}\x{540E}\x{540F}\x{5410}\x{5411}\x{5412}\x{5413}\x{5414}' .
+'\x{5415}\x{5416}\x{5417}\x{5418}\x{5419}\x{541B}\x{541C}\x{541D}\x{541E}' .
+'\x{541F}\x{5420}\x{5421}\x{5423}\x{5424}\x{5425}\x{5426}\x{5427}\x{5428}' .
+'\x{5429}\x{542A}\x{542B}\x{542C}\x{542D}\x{542E}\x{542F}\x{5430}\x{5431}' .
+'\x{5432}\x{5433}\x{5434}\x{5435}\x{5436}\x{5437}\x{5438}\x{5439}\x{543A}' .
+'\x{543B}\x{543C}\x{543D}\x{543E}\x{543F}\x{5440}\x{5441}\x{5442}\x{5443}' .
+'\x{5444}\x{5445}\x{5446}\x{5447}\x{5448}\x{5449}\x{544A}\x{544B}\x{544D}' .
+'\x{544E}\x{544F}\x{5450}\x{5451}\x{5452}\x{5453}\x{5454}\x{5455}\x{5456}' .
+'\x{5457}\x{5458}\x{5459}\x{545A}\x{545B}\x{545C}\x{545E}\x{545F}\x{5460}' .
+'\x{5461}\x{5462}\x{5463}\x{5464}\x{5465}\x{5466}\x{5467}\x{5468}\x{546A}' .
+'\x{546B}\x{546C}\x{546D}\x{546E}\x{546F}\x{5470}\x{5471}\x{5472}\x{5473}' .
+'\x{5474}\x{5475}\x{5476}\x{5477}\x{5478}\x{5479}\x{547A}\x{547B}\x{547C}' .
+'\x{547D}\x{547E}\x{547F}\x{5480}\x{5481}\x{5482}\x{5483}\x{5484}\x{5485}' .
+'\x{5486}\x{5487}\x{5488}\x{5489}\x{548B}\x{548C}\x{548D}\x{548E}\x{548F}' .
+'\x{5490}\x{5491}\x{5492}\x{5493}\x{5494}\x{5495}\x{5496}\x{5497}\x{5498}' .
+'\x{5499}\x{549A}\x{549B}\x{549C}\x{549D}\x{549E}\x{549F}\x{54A0}\x{54A1}' .
+'\x{54A2}\x{54A3}\x{54A4}\x{54A5}\x{54A6}\x{54A7}\x{54A8}\x{54A9}\x{54AA}' .
+'\x{54AB}\x{54AC}\x{54AD}\x{54AE}\x{54AF}\x{54B0}\x{54B1}\x{54B2}\x{54B3}' .
+'\x{54B4}\x{54B6}\x{54B7}\x{54B8}\x{54B9}\x{54BA}\x{54BB}\x{54BC}\x{54BD}' .
+'\x{54BE}\x{54BF}\x{54C0}\x{54C1}\x{54C2}\x{54C3}\x{54C4}\x{54C5}\x{54C6}' .
+'\x{54C7}\x{54C8}\x{54C9}\x{54CA}\x{54CB}\x{54CC}\x{54CD}\x{54CE}\x{54CF}' .
+'\x{54D0}\x{54D1}\x{54D2}\x{54D3}\x{54D4}\x{54D5}\x{54D6}\x{54D7}\x{54D8}' .
+'\x{54D9}\x{54DA}\x{54DB}\x{54DC}\x{54DD}\x{54DE}\x{54DF}\x{54E0}\x{54E1}' .
+'\x{54E2}\x{54E3}\x{54E4}\x{54E5}\x{54E6}\x{54E7}\x{54E8}\x{54E9}\x{54EA}' .
+'\x{54EB}\x{54EC}\x{54ED}\x{54EE}\x{54EF}\x{54F0}\x{54F1}\x{54F2}\x{54F3}' .
+'\x{54F4}\x{54F5}\x{54F7}\x{54F8}\x{54F9}\x{54FA}\x{54FB}\x{54FC}\x{54FD}' .
+'\x{54FE}\x{54FF}\x{5500}\x{5501}\x{5502}\x{5503}\x{5504}\x{5505}\x{5506}' .
+'\x{5507}\x{5508}\x{5509}\x{550A}\x{550B}\x{550C}\x{550D}\x{550E}\x{550F}' .
+'\x{5510}\x{5511}\x{5512}\x{5513}\x{5514}\x{5516}\x{5517}\x{551A}\x{551B}' .
+'\x{551C}\x{551D}\x{551E}\x{551F}\x{5520}\x{5521}\x{5522}\x{5523}\x{5524}' .
+'\x{5525}\x{5526}\x{5527}\x{5528}\x{5529}\x{552A}\x{552B}\x{552C}\x{552D}' .
+'\x{552E}\x{552F}\x{5530}\x{5531}\x{5532}\x{5533}\x{5534}\x{5535}\x{5536}' .
+'\x{5537}\x{5538}\x{5539}\x{553A}\x{553B}\x{553C}\x{553D}\x{553E}\x{553F}' .
+'\x{5540}\x{5541}\x{5542}\x{5543}\x{5544}\x{5545}\x{5546}\x{5548}\x{5549}' .
+'\x{554A}\x{554B}\x{554C}\x{554D}\x{554E}\x{554F}\x{5550}\x{5551}\x{5552}' .
+'\x{5553}\x{5554}\x{5555}\x{5556}\x{5557}\x{5558}\x{5559}\x{555A}\x{555B}' .
+'\x{555C}\x{555D}\x{555E}\x{555F}\x{5561}\x{5562}\x{5563}\x{5564}\x{5565}' .
+'\x{5566}\x{5567}\x{5568}\x{5569}\x{556A}\x{556B}\x{556C}\x{556D}\x{556E}' .
+'\x{556F}\x{5570}\x{5571}\x{5572}\x{5573}\x{5574}\x{5575}\x{5576}\x{5577}' .
+'\x{5578}\x{5579}\x{557B}\x{557C}\x{557D}\x{557E}\x{557F}\x{5580}\x{5581}' .
+'\x{5582}\x{5583}\x{5584}\x{5585}\x{5586}\x{5587}\x{5588}\x{5589}\x{558A}' .
+'\x{558B}\x{558C}\x{558D}\x{558E}\x{558F}\x{5590}\x{5591}\x{5592}\x{5593}' .
+'\x{5594}\x{5595}\x{5596}\x{5597}\x{5598}\x{5599}\x{559A}\x{559B}\x{559C}' .
+'\x{559D}\x{559E}\x{559F}\x{55A0}\x{55A1}\x{55A2}\x{55A3}\x{55A4}\x{55A5}' .
+'\x{55A6}\x{55A7}\x{55A8}\x{55A9}\x{55AA}\x{55AB}\x{55AC}\x{55AD}\x{55AE}' .
+'\x{55AF}\x{55B0}\x{55B1}\x{55B2}\x{55B3}\x{55B4}\x{55B5}\x{55B6}\x{55B7}' .
+'\x{55B8}\x{55B9}\x{55BA}\x{55BB}\x{55BC}\x{55BD}\x{55BE}\x{55BF}\x{55C0}' .
+'\x{55C1}\x{55C2}\x{55C3}\x{55C4}\x{55C5}\x{55C6}\x{55C7}\x{55C8}\x{55C9}' .
+'\x{55CA}\x{55CB}\x{55CC}\x{55CD}\x{55CE}\x{55CF}\x{55D0}\x{55D1}\x{55D2}' .
+'\x{55D3}\x{55D4}\x{55D5}\x{55D6}\x{55D7}\x{55D8}\x{55D9}\x{55DA}\x{55DB}' .
+'\x{55DC}\x{55DD}\x{55DE}\x{55DF}\x{55E1}\x{55E2}\x{55E3}\x{55E4}\x{55E5}' .
+'\x{55E6}\x{55E7}\x{55E8}\x{55E9}\x{55EA}\x{55EB}\x{55EC}\x{55ED}\x{55EE}' .
+'\x{55EF}\x{55F0}\x{55F1}\x{55F2}\x{55F3}\x{55F4}\x{55F5}\x{55F6}\x{55F7}' .
+'\x{55F9}\x{55FA}\x{55FB}\x{55FC}\x{55FD}\x{55FE}\x{55FF}\x{5600}\x{5601}' .
+'\x{5602}\x{5603}\x{5604}\x{5606}\x{5607}\x{5608}\x{5609}\x{560C}\x{560D}' .
+'\x{560E}\x{560F}\x{5610}\x{5611}\x{5612}\x{5613}\x{5614}\x{5615}\x{5616}' .
+'\x{5617}\x{5618}\x{5619}\x{561A}\x{561B}\x{561C}\x{561D}\x{561E}\x{561F}' .
+'\x{5621}\x{5622}\x{5623}\x{5624}\x{5625}\x{5626}\x{5627}\x{5628}\x{5629}' .
+'\x{562A}\x{562C}\x{562D}\x{562E}\x{562F}\x{5630}\x{5631}\x{5632}\x{5633}' .
+'\x{5634}\x{5635}\x{5636}\x{5638}\x{5639}\x{563A}\x{563B}\x{563D}\x{563E}' .
+'\x{563F}\x{5640}\x{5641}\x{5642}\x{5643}\x{5645}\x{5646}\x{5647}\x{5648}' .
+'\x{5649}\x{564A}\x{564C}\x{564D}\x{564E}\x{564F}\x{5650}\x{5652}\x{5653}' .
+'\x{5654}\x{5655}\x{5657}\x{5658}\x{5659}\x{565A}\x{565B}\x{565C}\x{565D}' .
+'\x{565E}\x{5660}\x{5662}\x{5663}\x{5664}\x{5665}\x{5666}\x{5667}\x{5668}' .
+'\x{5669}\x{566A}\x{566B}\x{566C}\x{566D}\x{566E}\x{566F}\x{5670}\x{5671}' .
+'\x{5672}\x{5673}\x{5674}\x{5676}\x{5677}\x{5678}\x{5679}\x{567A}\x{567B}' .
+'\x{567C}\x{567E}\x{567F}\x{5680}\x{5681}\x{5682}\x{5683}\x{5684}\x{5685}' .
+'\x{5686}\x{5687}\x{568A}\x{568C}\x{568D}\x{568E}\x{568F}\x{5690}\x{5691}' .
+'\x{5692}\x{5693}\x{5694}\x{5695}\x{5697}\x{5698}\x{5699}\x{569A}\x{569B}' .
+'\x{569C}\x{569D}\x{569F}\x{56A0}\x{56A1}\x{56A3}\x{56A4}\x{56A5}\x{56A6}' .
+'\x{56A7}\x{56A8}\x{56A9}\x{56AA}\x{56AB}\x{56AC}\x{56AD}\x{56AE}\x{56AF}' .
+'\x{56B0}\x{56B1}\x{56B2}\x{56B3}\x{56B4}\x{56B5}\x{56B6}\x{56B7}\x{56B8}' .
+'\x{56B9}\x{56BB}\x{56BC}\x{56BD}\x{56BE}\x{56BF}\x{56C0}\x{56C1}\x{56C2}' .
+'\x{56C3}\x{56C4}\x{56C5}\x{56C6}\x{56C7}\x{56C8}\x{56C9}\x{56CA}\x{56CB}' .
+'\x{56CC}\x{56CD}\x{56CE}\x{56D0}\x{56D1}\x{56D2}\x{56D3}\x{56D4}\x{56D5}' .
+'\x{56D6}\x{56D7}\x{56D8}\x{56DA}\x{56DB}\x{56DC}\x{56DD}\x{56DE}\x{56DF}' .
+'\x{56E0}\x{56E1}\x{56E2}\x{56E3}\x{56E4}\x{56E5}\x{56E7}\x{56E8}\x{56E9}' .
+'\x{56EA}\x{56EB}\x{56EC}\x{56ED}\x{56EE}\x{56EF}\x{56F0}\x{56F1}\x{56F2}' .
+'\x{56F3}\x{56F4}\x{56F5}\x{56F7}\x{56F9}\x{56FA}\x{56FD}\x{56FE}\x{56FF}' .
+'\x{5700}\x{5701}\x{5702}\x{5703}\x{5704}\x{5706}\x{5707}\x{5708}\x{5709}' .
+'\x{570A}\x{570B}\x{570C}\x{570D}\x{570E}\x{570F}\x{5710}\x{5712}\x{5713}' .
+'\x{5714}\x{5715}\x{5716}\x{5718}\x{5719}\x{571A}\x{571B}\x{571C}\x{571D}' .
+'\x{571E}\x{571F}\x{5720}\x{5722}\x{5723}\x{5725}\x{5726}\x{5727}\x{5728}' .
+'\x{5729}\x{572A}\x{572B}\x{572C}\x{572D}\x{572E}\x{572F}\x{5730}\x{5731}' .
+'\x{5732}\x{5733}\x{5734}\x{5735}\x{5736}\x{5737}\x{5738}\x{5739}\x{573A}' .
+'\x{573B}\x{573C}\x{573E}\x{573F}\x{5740}\x{5741}\x{5742}\x{5744}\x{5745}' .
+'\x{5746}\x{5747}\x{5749}\x{574A}\x{574B}\x{574C}\x{574D}\x{574E}\x{574F}' .
+'\x{5750}\x{5751}\x{5752}\x{5753}\x{5754}\x{5757}\x{5759}\x{575A}\x{575B}' .
+'\x{575C}\x{575D}\x{575E}\x{575F}\x{5760}\x{5761}\x{5762}\x{5764}\x{5765}' .
+'\x{5766}\x{5767}\x{5768}\x{5769}\x{576A}\x{576B}\x{576C}\x{576D}\x{576F}' .
+'\x{5770}\x{5771}\x{5772}\x{5773}\x{5774}\x{5775}\x{5776}\x{5777}\x{5779}' .
+'\x{577A}\x{577B}\x{577C}\x{577D}\x{577E}\x{577F}\x{5780}\x{5782}\x{5783}' .
+'\x{5784}\x{5785}\x{5786}\x{5788}\x{5789}\x{578A}\x{578B}\x{578C}\x{578D}' .
+'\x{578E}\x{578F}\x{5790}\x{5791}\x{5792}\x{5793}\x{5794}\x{5795}\x{5797}' .
+'\x{5798}\x{5799}\x{579A}\x{579B}\x{579C}\x{579D}\x{579E}\x{579F}\x{57A0}' .
+'\x{57A1}\x{57A2}\x{57A3}\x{57A4}\x{57A5}\x{57A6}\x{57A7}\x{57A9}\x{57AA}' .
+'\x{57AB}\x{57AC}\x{57AD}\x{57AE}\x{57AF}\x{57B0}\x{57B1}\x{57B2}\x{57B3}' .
+'\x{57B4}\x{57B5}\x{57B6}\x{57B7}\x{57B8}\x{57B9}\x{57BA}\x{57BB}\x{57BC}' .
+'\x{57BD}\x{57BE}\x{57BF}\x{57C0}\x{57C1}\x{57C2}\x{57C3}\x{57C4}\x{57C5}' .
+'\x{57C6}\x{57C7}\x{57C8}\x{57C9}\x{57CB}\x{57CC}\x{57CD}\x{57CE}\x{57CF}' .
+'\x{57D0}\x{57D2}\x{57D3}\x{57D4}\x{57D5}\x{57D6}\x{57D8}\x{57D9}\x{57DA}' .
+'\x{57DC}\x{57DD}\x{57DF}\x{57E0}\x{57E1}\x{57E2}\x{57E3}\x{57E4}\x{57E5}' .
+'\x{57E6}\x{57E7}\x{57E8}\x{57E9}\x{57EA}\x{57EB}\x{57EC}\x{57ED}\x{57EE}' .
+'\x{57EF}\x{57F0}\x{57F1}\x{57F2}\x{57F3}\x{57F4}\x{57F5}\x{57F6}\x{57F7}' .
+'\x{57F8}\x{57F9}\x{57FA}\x{57FB}\x{57FC}\x{57FD}\x{57FE}\x{57FF}\x{5800}' .
+'\x{5801}\x{5802}\x{5803}\x{5804}\x{5805}\x{5806}\x{5807}\x{5808}\x{5809}' .
+'\x{580A}\x{580B}\x{580C}\x{580D}\x{580E}\x{580F}\x{5810}\x{5811}\x{5812}' .
+'\x{5813}\x{5814}\x{5815}\x{5816}\x{5819}\x{581A}\x{581B}\x{581C}\x{581D}' .
+'\x{581E}\x{581F}\x{5820}\x{5821}\x{5822}\x{5823}\x{5824}\x{5825}\x{5826}' .
+'\x{5827}\x{5828}\x{5829}\x{582A}\x{582B}\x{582C}\x{582D}\x{582E}\x{582F}' .
+'\x{5830}\x{5831}\x{5832}\x{5833}\x{5834}\x{5835}\x{5836}\x{5837}\x{5838}' .
+'\x{5839}\x{583A}\x{583B}\x{583C}\x{583D}\x{583E}\x{583F}\x{5840}\x{5842}' .
+'\x{5843}\x{5844}\x{5845}\x{5846}\x{5847}\x{5848}\x{5849}\x{584A}\x{584B}' .
+'\x{584C}\x{584D}\x{584E}\x{584F}\x{5851}\x{5852}\x{5853}\x{5854}\x{5855}' .
+'\x{5857}\x{5858}\x{5859}\x{585A}\x{585B}\x{585C}\x{585D}\x{585E}\x{585F}' .
+'\x{5861}\x{5862}\x{5863}\x{5864}\x{5865}\x{5868}\x{5869}\x{586A}\x{586B}' .
+'\x{586C}\x{586D}\x{586E}\x{586F}\x{5870}\x{5871}\x{5872}\x{5873}\x{5874}' .
+'\x{5875}\x{5876}\x{5878}\x{5879}\x{587A}\x{587B}\x{587C}\x{587D}\x{587E}' .
+'\x{587F}\x{5880}\x{5881}\x{5882}\x{5883}\x{5884}\x{5885}\x{5886}\x{5887}' .
+'\x{5888}\x{5889}\x{588A}\x{588B}\x{588C}\x{588D}\x{588E}\x{588F}\x{5890}' .
+'\x{5891}\x{5892}\x{5893}\x{5894}\x{5896}\x{5897}\x{5898}\x{5899}\x{589A}' .
+'\x{589B}\x{589C}\x{589D}\x{589E}\x{589F}\x{58A0}\x{58A1}\x{58A2}\x{58A3}' .
+'\x{58A4}\x{58A5}\x{58A6}\x{58A7}\x{58A8}\x{58A9}\x{58AB}\x{58AC}\x{58AD}' .
+'\x{58AE}\x{58AF}\x{58B0}\x{58B1}\x{58B2}\x{58B3}\x{58B4}\x{58B7}\x{58B8}' .
+'\x{58B9}\x{58BA}\x{58BB}\x{58BC}\x{58BD}\x{58BE}\x{58BF}\x{58C1}\x{58C2}' .
+'\x{58C5}\x{58C6}\x{58C7}\x{58C8}\x{58C9}\x{58CA}\x{58CB}\x{58CE}\x{58CF}' .
+'\x{58D1}\x{58D2}\x{58D3}\x{58D4}\x{58D5}\x{58D6}\x{58D7}\x{58D8}\x{58D9}' .
+'\x{58DA}\x{58DB}\x{58DD}\x{58DE}\x{58DF}\x{58E0}\x{58E2}\x{58E3}\x{58E4}' .
+'\x{58E5}\x{58E7}\x{58E8}\x{58E9}\x{58EA}\x{58EB}\x{58EC}\x{58ED}\x{58EE}' .
+'\x{58EF}\x{58F0}\x{58F1}\x{58F2}\x{58F3}\x{58F4}\x{58F6}\x{58F7}\x{58F8}' .
+'\x{58F9}\x{58FA}\x{58FB}\x{58FC}\x{58FD}\x{58FE}\x{58FF}\x{5900}\x{5902}' .
+'\x{5903}\x{5904}\x{5906}\x{5907}\x{5909}\x{590A}\x{590B}\x{590C}\x{590D}' .
+'\x{590E}\x{590F}\x{5910}\x{5912}\x{5914}\x{5915}\x{5916}\x{5917}\x{5918}' .
+'\x{5919}\x{591A}\x{591B}\x{591C}\x{591D}\x{591E}\x{591F}\x{5920}\x{5921}' .
+'\x{5922}\x{5924}\x{5925}\x{5926}\x{5927}\x{5928}\x{5929}\x{592A}\x{592B}' .
+'\x{592C}\x{592D}\x{592E}\x{592F}\x{5930}\x{5931}\x{5932}\x{5934}\x{5935}' .
+'\x{5937}\x{5938}\x{5939}\x{593A}\x{593B}\x{593C}\x{593D}\x{593E}\x{593F}' .
+'\x{5940}\x{5941}\x{5942}\x{5943}\x{5944}\x{5945}\x{5946}\x{5947}\x{5948}' .
+'\x{5949}\x{594A}\x{594B}\x{594C}\x{594D}\x{594E}\x{594F}\x{5950}\x{5951}' .
+'\x{5952}\x{5953}\x{5954}\x{5955}\x{5956}\x{5957}\x{5958}\x{595A}\x{595C}' .
+'\x{595D}\x{595E}\x{595F}\x{5960}\x{5961}\x{5962}\x{5963}\x{5964}\x{5965}' .
+'\x{5966}\x{5967}\x{5968}\x{5969}\x{596A}\x{596B}\x{596C}\x{596D}\x{596E}' .
+'\x{596F}\x{5970}\x{5971}\x{5972}\x{5973}\x{5974}\x{5975}\x{5976}\x{5977}' .
+'\x{5978}\x{5979}\x{597A}\x{597B}\x{597C}\x{597D}\x{597E}\x{597F}\x{5980}' .
+'\x{5981}\x{5982}\x{5983}\x{5984}\x{5985}\x{5986}\x{5987}\x{5988}\x{5989}' .
+'\x{598A}\x{598B}\x{598C}\x{598D}\x{598E}\x{598F}\x{5990}\x{5991}\x{5992}' .
+'\x{5993}\x{5994}\x{5995}\x{5996}\x{5997}\x{5998}\x{5999}\x{599A}\x{599C}' .
+'\x{599D}\x{599E}\x{599F}\x{59A0}\x{59A1}\x{59A2}\x{59A3}\x{59A4}\x{59A5}' .
+'\x{59A6}\x{59A7}\x{59A8}\x{59A9}\x{59AA}\x{59AB}\x{59AC}\x{59AD}\x{59AE}' .
+'\x{59AF}\x{59B0}\x{59B1}\x{59B2}\x{59B3}\x{59B4}\x{59B5}\x{59B6}\x{59B8}' .
+'\x{59B9}\x{59BA}\x{59BB}\x{59BC}\x{59BD}\x{59BE}\x{59BF}\x{59C0}\x{59C1}' .
+'\x{59C2}\x{59C3}\x{59C4}\x{59C5}\x{59C6}\x{59C7}\x{59C8}\x{59C9}\x{59CA}' .
+'\x{59CB}\x{59CC}\x{59CD}\x{59CE}\x{59CF}\x{59D0}\x{59D1}\x{59D2}\x{59D3}' .
+'\x{59D4}\x{59D5}\x{59D6}\x{59D7}\x{59D8}\x{59D9}\x{59DA}\x{59DB}\x{59DC}' .
+'\x{59DD}\x{59DE}\x{59DF}\x{59E0}\x{59E1}\x{59E2}\x{59E3}\x{59E4}\x{59E5}' .
+'\x{59E6}\x{59E8}\x{59E9}\x{59EA}\x{59EB}\x{59EC}\x{59ED}\x{59EE}\x{59EF}' .
+'\x{59F0}\x{59F1}\x{59F2}\x{59F3}\x{59F4}\x{59F5}\x{59F6}\x{59F7}\x{59F8}' .
+'\x{59F9}\x{59FA}\x{59FB}\x{59FC}\x{59FD}\x{59FE}\x{59FF}\x{5A00}\x{5A01}' .
+'\x{5A02}\x{5A03}\x{5A04}\x{5A05}\x{5A06}\x{5A07}\x{5A08}\x{5A09}\x{5A0A}' .
+'\x{5A0B}\x{5A0C}\x{5A0D}\x{5A0E}\x{5A0F}\x{5A10}\x{5A11}\x{5A12}\x{5A13}' .
+'\x{5A14}\x{5A15}\x{5A16}\x{5A17}\x{5A18}\x{5A19}\x{5A1A}\x{5A1B}\x{5A1C}' .
+'\x{5A1D}\x{5A1E}\x{5A1F}\x{5A20}\x{5A21}\x{5A22}\x{5A23}\x{5A25}\x{5A27}' .
+'\x{5A28}\x{5A29}\x{5A2A}\x{5A2B}\x{5A2D}\x{5A2E}\x{5A2F}\x{5A31}\x{5A32}' .
+'\x{5A33}\x{5A34}\x{5A35}\x{5A36}\x{5A37}\x{5A38}\x{5A39}\x{5A3A}\x{5A3B}' .
+'\x{5A3C}\x{5A3D}\x{5A3E}\x{5A3F}\x{5A40}\x{5A41}\x{5A42}\x{5A43}\x{5A44}' .
+'\x{5A45}\x{5A46}\x{5A47}\x{5A48}\x{5A49}\x{5A4A}\x{5A4B}\x{5A4C}\x{5A4D}' .
+'\x{5A4E}\x{5A4F}\x{5A50}\x{5A51}\x{5A52}\x{5A53}\x{5A55}\x{5A56}\x{5A57}' .
+'\x{5A58}\x{5A5A}\x{5A5B}\x{5A5C}\x{5A5D}\x{5A5E}\x{5A5F}\x{5A60}\x{5A61}' .
+'\x{5A62}\x{5A63}\x{5A64}\x{5A65}\x{5A66}\x{5A67}\x{5A68}\x{5A69}\x{5A6A}' .
+'\x{5A6B}\x{5A6C}\x{5A6D}\x{5A6E}\x{5A70}\x{5A72}\x{5A73}\x{5A74}\x{5A75}' .
+'\x{5A76}\x{5A77}\x{5A78}\x{5A79}\x{5A7A}\x{5A7B}\x{5A7C}\x{5A7D}\x{5A7E}' .
+'\x{5A7F}\x{5A80}\x{5A81}\x{5A82}\x{5A83}\x{5A84}\x{5A85}\x{5A86}\x{5A88}' .
+'\x{5A89}\x{5A8A}\x{5A8B}\x{5A8C}\x{5A8E}\x{5A8F}\x{5A90}\x{5A91}\x{5A92}' .
+'\x{5A93}\x{5A94}\x{5A95}\x{5A96}\x{5A97}\x{5A98}\x{5A99}\x{5A9A}\x{5A9B}' .
+'\x{5A9C}\x{5A9D}\x{5A9E}\x{5A9F}\x{5AA0}\x{5AA1}\x{5AA2}\x{5AA3}\x{5AA4}' .
+'\x{5AA5}\x{5AA6}\x{5AA7}\x{5AA8}\x{5AA9}\x{5AAA}\x{5AAC}\x{5AAD}\x{5AAE}' .
+'\x{5AAF}\x{5AB0}\x{5AB1}\x{5AB2}\x{5AB3}\x{5AB4}\x{5AB5}\x{5AB6}\x{5AB7}' .
+'\x{5AB8}\x{5AB9}\x{5ABA}\x{5ABB}\x{5ABC}\x{5ABD}\x{5ABE}\x{5ABF}\x{5AC0}' .
+'\x{5AC1}\x{5AC2}\x{5AC3}\x{5AC4}\x{5AC5}\x{5AC6}\x{5AC7}\x{5AC8}\x{5AC9}' .
+'\x{5ACA}\x{5ACB}\x{5ACC}\x{5ACD}\x{5ACE}\x{5ACF}\x{5AD1}\x{5AD2}\x{5AD4}' .
+'\x{5AD5}\x{5AD6}\x{5AD7}\x{5AD8}\x{5AD9}\x{5ADA}\x{5ADB}\x{5ADC}\x{5ADD}' .
+'\x{5ADE}\x{5ADF}\x{5AE0}\x{5AE1}\x{5AE2}\x{5AE3}\x{5AE4}\x{5AE5}\x{5AE6}' .
+'\x{5AE7}\x{5AE8}\x{5AE9}\x{5AEA}\x{5AEB}\x{5AEC}\x{5AED}\x{5AEE}\x{5AF1}' .
+'\x{5AF2}\x{5AF3}\x{5AF4}\x{5AF5}\x{5AF6}\x{5AF7}\x{5AF8}\x{5AF9}\x{5AFA}' .
+'\x{5AFB}\x{5AFC}\x{5AFD}\x{5AFE}\x{5AFF}\x{5B00}\x{5B01}\x{5B02}\x{5B03}' .
+'\x{5B04}\x{5B05}\x{5B06}\x{5B07}\x{5B08}\x{5B09}\x{5B0B}\x{5B0C}\x{5B0E}' .
+'\x{5B0F}\x{5B10}\x{5B11}\x{5B12}\x{5B13}\x{5B14}\x{5B15}\x{5B16}\x{5B17}' .
+'\x{5B18}\x{5B19}\x{5B1A}\x{5B1B}\x{5B1C}\x{5B1D}\x{5B1E}\x{5B1F}\x{5B20}' .
+'\x{5B21}\x{5B22}\x{5B23}\x{5B24}\x{5B25}\x{5B26}\x{5B27}\x{5B28}\x{5B29}' .
+'\x{5B2A}\x{5B2B}\x{5B2C}\x{5B2D}\x{5B2E}\x{5B2F}\x{5B30}\x{5B31}\x{5B32}' .
+'\x{5B33}\x{5B34}\x{5B35}\x{5B36}\x{5B37}\x{5B38}\x{5B3A}\x{5B3B}\x{5B3C}' .
+'\x{5B3D}\x{5B3E}\x{5B3F}\x{5B40}\x{5B41}\x{5B42}\x{5B43}\x{5B44}\x{5B45}' .
+'\x{5B47}\x{5B48}\x{5B49}\x{5B4A}\x{5B4B}\x{5B4C}\x{5B4D}\x{5B4E}\x{5B50}' .
+'\x{5B51}\x{5B53}\x{5B54}\x{5B55}\x{5B56}\x{5B57}\x{5B58}\x{5B59}\x{5B5A}' .
+'\x{5B5B}\x{5B5C}\x{5B5D}\x{5B5E}\x{5B5F}\x{5B62}\x{5B63}\x{5B64}\x{5B65}' .
+'\x{5B66}\x{5B67}\x{5B68}\x{5B69}\x{5B6A}\x{5B6B}\x{5B6C}\x{5B6D}\x{5B6E}' .
+'\x{5B70}\x{5B71}\x{5B72}\x{5B73}\x{5B74}\x{5B75}\x{5B76}\x{5B77}\x{5B78}' .
+'\x{5B7A}\x{5B7B}\x{5B7C}\x{5B7D}\x{5B7F}\x{5B80}\x{5B81}\x{5B82}\x{5B83}' .
+'\x{5B84}\x{5B85}\x{5B87}\x{5B88}\x{5B89}\x{5B8A}\x{5B8B}\x{5B8C}\x{5B8D}' .
+'\x{5B8E}\x{5B8F}\x{5B91}\x{5B92}\x{5B93}\x{5B94}\x{5B95}\x{5B96}\x{5B97}' .
+'\x{5B98}\x{5B99}\x{5B9A}\x{5B9B}\x{5B9C}\x{5B9D}\x{5B9E}\x{5B9F}\x{5BA0}' .
+'\x{5BA1}\x{5BA2}\x{5BA3}\x{5BA4}\x{5BA5}\x{5BA6}\x{5BA7}\x{5BA8}\x{5BAA}' .
+'\x{5BAB}\x{5BAC}\x{5BAD}\x{5BAE}\x{5BAF}\x{5BB0}\x{5BB1}\x{5BB3}\x{5BB4}' .
+'\x{5BB5}\x{5BB6}\x{5BB8}\x{5BB9}\x{5BBA}\x{5BBB}\x{5BBD}\x{5BBE}\x{5BBF}' .
+'\x{5BC0}\x{5BC1}\x{5BC2}\x{5BC3}\x{5BC4}\x{5BC5}\x{5BC6}\x{5BC7}\x{5BCA}' .
+'\x{5BCB}\x{5BCC}\x{5BCD}\x{5BCE}\x{5BCF}\x{5BD0}\x{5BD1}\x{5BD2}\x{5BD3}' .
+'\x{5BD4}\x{5BD5}\x{5BD6}\x{5BD8}\x{5BD9}\x{5BDB}\x{5BDC}\x{5BDD}\x{5BDE}' .
+'\x{5BDF}\x{5BE0}\x{5BE1}\x{5BE2}\x{5BE3}\x{5BE4}\x{5BE5}\x{5BE6}\x{5BE7}' .
+'\x{5BE8}\x{5BE9}\x{5BEA}\x{5BEB}\x{5BEC}\x{5BED}\x{5BEE}\x{5BEF}\x{5BF0}' .
+'\x{5BF1}\x{5BF2}\x{5BF3}\x{5BF4}\x{5BF5}\x{5BF6}\x{5BF7}\x{5BF8}\x{5BF9}' .
+'\x{5BFA}\x{5BFB}\x{5BFC}\x{5BFD}\x{5BFF}\x{5C01}\x{5C03}\x{5C04}\x{5C05}' .
+'\x{5C06}\x{5C07}\x{5C08}\x{5C09}\x{5C0A}\x{5C0B}\x{5C0C}\x{5C0D}\x{5C0E}' .
+'\x{5C0F}\x{5C10}\x{5C11}\x{5C12}\x{5C13}\x{5C14}\x{5C15}\x{5C16}\x{5C17}' .
+'\x{5C18}\x{5C19}\x{5C1A}\x{5C1C}\x{5C1D}\x{5C1E}\x{5C1F}\x{5C20}\x{5C21}' .
+'\x{5C22}\x{5C24}\x{5C25}\x{5C27}\x{5C28}\x{5C2A}\x{5C2B}\x{5C2C}\x{5C2D}' .
+'\x{5C2E}\x{5C2F}\x{5C30}\x{5C31}\x{5C32}\x{5C33}\x{5C34}\x{5C35}\x{5C37}' .
+'\x{5C38}\x{5C39}\x{5C3A}\x{5C3B}\x{5C3C}\x{5C3D}\x{5C3E}\x{5C3F}\x{5C40}' .
+'\x{5C41}\x{5C42}\x{5C43}\x{5C44}\x{5C45}\x{5C46}\x{5C47}\x{5C48}\x{5C49}' .
+'\x{5C4A}\x{5C4B}\x{5C4C}\x{5C4D}\x{5C4E}\x{5C4F}\x{5C50}\x{5C51}\x{5C52}' .
+'\x{5C53}\x{5C54}\x{5C55}\x{5C56}\x{5C57}\x{5C58}\x{5C59}\x{5C5B}\x{5C5C}' .
+'\x{5C5D}\x{5C5E}\x{5C5F}\x{5C60}\x{5C61}\x{5C62}\x{5C63}\x{5C64}\x{5C65}' .
+'\x{5C66}\x{5C67}\x{5C68}\x{5C69}\x{5C6A}\x{5C6B}\x{5C6C}\x{5C6D}\x{5C6E}' .
+'\x{5C6F}\x{5C70}\x{5C71}\x{5C72}\x{5C73}\x{5C74}\x{5C75}\x{5C76}\x{5C77}' .
+'\x{5C78}\x{5C79}\x{5C7A}\x{5C7B}\x{5C7C}\x{5C7D}\x{5C7E}\x{5C7F}\x{5C80}' .
+'\x{5C81}\x{5C82}\x{5C83}\x{5C84}\x{5C86}\x{5C87}\x{5C88}\x{5C89}\x{5C8A}' .
+'\x{5C8B}\x{5C8C}\x{5C8D}\x{5C8E}\x{5C8F}\x{5C90}\x{5C91}\x{5C92}\x{5C93}' .
+'\x{5C94}\x{5C95}\x{5C96}\x{5C97}\x{5C98}\x{5C99}\x{5C9A}\x{5C9B}\x{5C9C}' .
+'\x{5C9D}\x{5C9E}\x{5C9F}\x{5CA0}\x{5CA1}\x{5CA2}\x{5CA3}\x{5CA4}\x{5CA5}' .
+'\x{5CA6}\x{5CA7}\x{5CA8}\x{5CA9}\x{5CAA}\x{5CAB}\x{5CAC}\x{5CAD}\x{5CAE}' .
+'\x{5CAF}\x{5CB0}\x{5CB1}\x{5CB2}\x{5CB3}\x{5CB5}\x{5CB6}\x{5CB7}\x{5CB8}' .
+'\x{5CBA}\x{5CBB}\x{5CBC}\x{5CBD}\x{5CBE}\x{5CBF}\x{5CC1}\x{5CC2}\x{5CC3}' .
+'\x{5CC4}\x{5CC5}\x{5CC6}\x{5CC7}\x{5CC8}\x{5CC9}\x{5CCA}\x{5CCB}\x{5CCC}' .
+'\x{5CCD}\x{5CCE}\x{5CCF}\x{5CD0}\x{5CD1}\x{5CD2}\x{5CD3}\x{5CD4}\x{5CD6}' .
+'\x{5CD7}\x{5CD8}\x{5CD9}\x{5CDA}\x{5CDB}\x{5CDC}\x{5CDE}\x{5CDF}\x{5CE0}' .
+'\x{5CE1}\x{5CE2}\x{5CE3}\x{5CE4}\x{5CE5}\x{5CE6}\x{5CE7}\x{5CE8}\x{5CE9}' .
+'\x{5CEA}\x{5CEB}\x{5CEC}\x{5CED}\x{5CEE}\x{5CEF}\x{5CF0}\x{5CF1}\x{5CF2}' .
+'\x{5CF3}\x{5CF4}\x{5CF6}\x{5CF7}\x{5CF8}\x{5CF9}\x{5CFA}\x{5CFB}\x{5CFC}' .
+'\x{5CFD}\x{5CFE}\x{5CFF}\x{5D00}\x{5D01}\x{5D02}\x{5D03}\x{5D04}\x{5D05}' .
+'\x{5D06}\x{5D07}\x{5D08}\x{5D09}\x{5D0A}\x{5D0B}\x{5D0C}\x{5D0D}\x{5D0E}' .
+'\x{5D0F}\x{5D10}\x{5D11}\x{5D12}\x{5D13}\x{5D14}\x{5D15}\x{5D16}\x{5D17}' .
+'\x{5D18}\x{5D19}\x{5D1A}\x{5D1B}\x{5D1C}\x{5D1D}\x{5D1E}\x{5D1F}\x{5D20}' .
+'\x{5D21}\x{5D22}\x{5D23}\x{5D24}\x{5D25}\x{5D26}\x{5D27}\x{5D28}\x{5D29}' .
+'\x{5D2A}\x{5D2C}\x{5D2D}\x{5D2E}\x{5D30}\x{5D31}\x{5D32}\x{5D33}\x{5D34}' .
+'\x{5D35}\x{5D36}\x{5D37}\x{5D38}\x{5D39}\x{5D3A}\x{5D3C}\x{5D3D}\x{5D3E}' .
+'\x{5D3F}\x{5D40}\x{5D41}\x{5D42}\x{5D43}\x{5D44}\x{5D45}\x{5D46}\x{5D47}' .
+'\x{5D48}\x{5D49}\x{5D4A}\x{5D4B}\x{5D4C}\x{5D4D}\x{5D4E}\x{5D4F}\x{5D50}' .
+'\x{5D51}\x{5D52}\x{5D54}\x{5D55}\x{5D56}\x{5D58}\x{5D59}\x{5D5A}\x{5D5B}' .
+'\x{5D5D}\x{5D5E}\x{5D5F}\x{5D61}\x{5D62}\x{5D63}\x{5D64}\x{5D65}\x{5D66}' .
+'\x{5D67}\x{5D68}\x{5D69}\x{5D6A}\x{5D6B}\x{5D6C}\x{5D6D}\x{5D6E}\x{5D6F}' .
+'\x{5D70}\x{5D71}\x{5D72}\x{5D73}\x{5D74}\x{5D75}\x{5D76}\x{5D77}\x{5D78}' .
+'\x{5D79}\x{5D7A}\x{5D7B}\x{5D7C}\x{5D7D}\x{5D7E}\x{5D7F}\x{5D80}\x{5D81}' .
+'\x{5D82}\x{5D84}\x{5D85}\x{5D86}\x{5D87}\x{5D88}\x{5D89}\x{5D8A}\x{5D8B}' .
+'\x{5D8C}\x{5D8D}\x{5D8E}\x{5D8F}\x{5D90}\x{5D91}\x{5D92}\x{5D93}\x{5D94}' .
+'\x{5D95}\x{5D97}\x{5D98}\x{5D99}\x{5D9A}\x{5D9B}\x{5D9C}\x{5D9D}\x{5D9E}' .
+'\x{5D9F}\x{5DA0}\x{5DA1}\x{5DA2}\x{5DA5}\x{5DA6}\x{5DA7}\x{5DA8}\x{5DA9}' .
+'\x{5DAA}\x{5DAC}\x{5DAD}\x{5DAE}\x{5DAF}\x{5DB0}\x{5DB1}\x{5DB2}\x{5DB4}' .
+'\x{5DB5}\x{5DB6}\x{5DB7}\x{5DB8}\x{5DBA}\x{5DBB}\x{5DBC}\x{5DBD}\x{5DBE}' .
+'\x{5DBF}\x{5DC0}\x{5DC1}\x{5DC2}\x{5DC3}\x{5DC5}\x{5DC6}\x{5DC7}\x{5DC8}' .
+'\x{5DC9}\x{5DCA}\x{5DCB}\x{5DCC}\x{5DCD}\x{5DCE}\x{5DCF}\x{5DD0}\x{5DD1}' .
+'\x{5DD2}\x{5DD3}\x{5DD4}\x{5DD5}\x{5DD6}\x{5DD8}\x{5DD9}\x{5DDB}\x{5DDD}' .
+'\x{5DDE}\x{5DDF}\x{5DE0}\x{5DE1}\x{5DE2}\x{5DE3}\x{5DE4}\x{5DE5}\x{5DE6}' .
+'\x{5DE7}\x{5DE8}\x{5DE9}\x{5DEA}\x{5DEB}\x{5DEC}\x{5DED}\x{5DEE}\x{5DEF}' .
+'\x{5DF0}\x{5DF1}\x{5DF2}\x{5DF3}\x{5DF4}\x{5DF5}\x{5DF7}\x{5DF8}\x{5DF9}' .
+'\x{5DFA}\x{5DFB}\x{5DFC}\x{5DFD}\x{5DFE}\x{5DFF}\x{5E00}\x{5E01}\x{5E02}' .
+'\x{5E03}\x{5E04}\x{5E05}\x{5E06}\x{5E07}\x{5E08}\x{5E09}\x{5E0A}\x{5E0B}' .
+'\x{5E0C}\x{5E0D}\x{5E0E}\x{5E0F}\x{5E10}\x{5E11}\x{5E13}\x{5E14}\x{5E15}' .
+'\x{5E16}\x{5E17}\x{5E18}\x{5E19}\x{5E1A}\x{5E1B}\x{5E1C}\x{5E1D}\x{5E1E}' .
+'\x{5E1F}\x{5E20}\x{5E21}\x{5E22}\x{5E23}\x{5E24}\x{5E25}\x{5E26}\x{5E27}' .
+'\x{5E28}\x{5E29}\x{5E2A}\x{5E2B}\x{5E2C}\x{5E2D}\x{5E2E}\x{5E2F}\x{5E30}' .
+'\x{5E31}\x{5E32}\x{5E33}\x{5E34}\x{5E35}\x{5E36}\x{5E37}\x{5E38}\x{5E39}' .
+'\x{5E3A}\x{5E3B}\x{5E3C}\x{5E3D}\x{5E3E}\x{5E40}\x{5E41}\x{5E42}\x{5E43}' .
+'\x{5E44}\x{5E45}\x{5E46}\x{5E47}\x{5E49}\x{5E4A}\x{5E4B}\x{5E4C}\x{5E4D}' .
+'\x{5E4E}\x{5E4F}\x{5E50}\x{5E52}\x{5E53}\x{5E54}\x{5E55}\x{5E56}\x{5E57}' .
+'\x{5E58}\x{5E59}\x{5E5A}\x{5E5B}\x{5E5C}\x{5E5D}\x{5E5E}\x{5E5F}\x{5E60}' .
+'\x{5E61}\x{5E62}\x{5E63}\x{5E64}\x{5E65}\x{5E66}\x{5E67}\x{5E68}\x{5E69}' .
+'\x{5E6A}\x{5E6B}\x{5E6C}\x{5E6D}\x{5E6E}\x{5E6F}\x{5E70}\x{5E71}\x{5E72}' .
+'\x{5E73}\x{5E74}\x{5E75}\x{5E76}\x{5E77}\x{5E78}\x{5E79}\x{5E7A}\x{5E7B}' .
+'\x{5E7C}\x{5E7D}\x{5E7E}\x{5E7F}\x{5E80}\x{5E81}\x{5E82}\x{5E83}\x{5E84}' .
+'\x{5E85}\x{5E86}\x{5E87}\x{5E88}\x{5E89}\x{5E8A}\x{5E8B}\x{5E8C}\x{5E8D}' .
+'\x{5E8E}\x{5E8F}\x{5E90}\x{5E91}\x{5E93}\x{5E94}\x{5E95}\x{5E96}\x{5E97}' .
+'\x{5E98}\x{5E99}\x{5E9A}\x{5E9B}\x{5E9C}\x{5E9D}\x{5E9E}\x{5E9F}\x{5EA0}' .
+'\x{5EA1}\x{5EA2}\x{5EA3}\x{5EA4}\x{5EA5}\x{5EA6}\x{5EA7}\x{5EA8}\x{5EA9}' .
+'\x{5EAA}\x{5EAB}\x{5EAC}\x{5EAD}\x{5EAE}\x{5EAF}\x{5EB0}\x{5EB1}\x{5EB2}' .
+'\x{5EB3}\x{5EB4}\x{5EB5}\x{5EB6}\x{5EB7}\x{5EB8}\x{5EB9}\x{5EBB}\x{5EBC}' .
+'\x{5EBD}\x{5EBE}\x{5EBF}\x{5EC1}\x{5EC2}\x{5EC3}\x{5EC4}\x{5EC5}\x{5EC6}' .
+'\x{5EC7}\x{5EC8}\x{5EC9}\x{5ECA}\x{5ECB}\x{5ECC}\x{5ECD}\x{5ECE}\x{5ECF}' .
+'\x{5ED0}\x{5ED1}\x{5ED2}\x{5ED3}\x{5ED4}\x{5ED5}\x{5ED6}\x{5ED7}\x{5ED8}' .
+'\x{5ED9}\x{5EDA}\x{5EDB}\x{5EDC}\x{5EDD}\x{5EDE}\x{5EDF}\x{5EE0}\x{5EE1}' .
+'\x{5EE2}\x{5EE3}\x{5EE4}\x{5EE5}\x{5EE6}\x{5EE7}\x{5EE8}\x{5EE9}\x{5EEA}' .
+'\x{5EEC}\x{5EED}\x{5EEE}\x{5EEF}\x{5EF0}\x{5EF1}\x{5EF2}\x{5EF3}\x{5EF4}' .
+'\x{5EF5}\x{5EF6}\x{5EF7}\x{5EF8}\x{5EFA}\x{5EFB}\x{5EFC}\x{5EFD}\x{5EFE}' .
+'\x{5EFF}\x{5F00}\x{5F01}\x{5F02}\x{5F03}\x{5F04}\x{5F05}\x{5F06}\x{5F07}' .
+'\x{5F08}\x{5F0A}\x{5F0B}\x{5F0C}\x{5F0D}\x{5F0F}\x{5F11}\x{5F12}\x{5F13}' .
+'\x{5F14}\x{5F15}\x{5F16}\x{5F17}\x{5F18}\x{5F19}\x{5F1A}\x{5F1B}\x{5F1C}' .
+'\x{5F1D}\x{5F1E}\x{5F1F}\x{5F20}\x{5F21}\x{5F22}\x{5F23}\x{5F24}\x{5F25}' .
+'\x{5F26}\x{5F27}\x{5F28}\x{5F29}\x{5F2A}\x{5F2B}\x{5F2C}\x{5F2D}\x{5F2E}' .
+'\x{5F2F}\x{5F30}\x{5F31}\x{5F32}\x{5F33}\x{5F34}\x{5F35}\x{5F36}\x{5F37}' .
+'\x{5F38}\x{5F39}\x{5F3A}\x{5F3C}\x{5F3E}\x{5F3F}\x{5F40}\x{5F41}\x{5F42}' .
+'\x{5F43}\x{5F44}\x{5F45}\x{5F46}\x{5F47}\x{5F48}\x{5F49}\x{5F4A}\x{5F4B}' .
+'\x{5F4C}\x{5F4D}\x{5F4E}\x{5F4F}\x{5F50}\x{5F51}\x{5F52}\x{5F53}\x{5F54}' .
+'\x{5F55}\x{5F56}\x{5F57}\x{5F58}\x{5F59}\x{5F5A}\x{5F5B}\x{5F5C}\x{5F5D}' .
+'\x{5F5E}\x{5F5F}\x{5F60}\x{5F61}\x{5F62}\x{5F63}\x{5F64}\x{5F65}\x{5F66}' .
+'\x{5F67}\x{5F68}\x{5F69}\x{5F6A}\x{5F6B}\x{5F6C}\x{5F6D}\x{5F6E}\x{5F6F}' .
+'\x{5F70}\x{5F71}\x{5F72}\x{5F73}\x{5F74}\x{5F75}\x{5F76}\x{5F77}\x{5F78}' .
+'\x{5F79}\x{5F7A}\x{5F7B}\x{5F7C}\x{5F7D}\x{5F7E}\x{5F7F}\x{5F80}\x{5F81}' .
+'\x{5F82}\x{5F83}\x{5F84}\x{5F85}\x{5F86}\x{5F87}\x{5F88}\x{5F89}\x{5F8A}' .
+'\x{5F8B}\x{5F8C}\x{5F8D}\x{5F8E}\x{5F90}\x{5F91}\x{5F92}\x{5F93}\x{5F94}' .
+'\x{5F95}\x{5F96}\x{5F97}\x{5F98}\x{5F99}\x{5F9B}\x{5F9C}\x{5F9D}\x{5F9E}' .
+'\x{5F9F}\x{5FA0}\x{5FA1}\x{5FA2}\x{5FA5}\x{5FA6}\x{5FA7}\x{5FA8}\x{5FA9}' .
+'\x{5FAA}\x{5FAB}\x{5FAC}\x{5FAD}\x{5FAE}\x{5FAF}\x{5FB1}\x{5FB2}\x{5FB3}' .
+'\x{5FB4}\x{5FB5}\x{5FB6}\x{5FB7}\x{5FB8}\x{5FB9}\x{5FBA}\x{5FBB}\x{5FBC}' .
+'\x{5FBD}\x{5FBE}\x{5FBF}\x{5FC0}\x{5FC1}\x{5FC3}\x{5FC4}\x{5FC5}\x{5FC6}' .
+'\x{5FC7}\x{5FC8}\x{5FC9}\x{5FCA}\x{5FCB}\x{5FCC}\x{5FCD}\x{5FCF}\x{5FD0}' .
+'\x{5FD1}\x{5FD2}\x{5FD3}\x{5FD4}\x{5FD5}\x{5FD6}\x{5FD7}\x{5FD8}\x{5FD9}' .
+'\x{5FDA}\x{5FDC}\x{5FDD}\x{5FDE}\x{5FE0}\x{5FE1}\x{5FE3}\x{5FE4}\x{5FE5}' .
+'\x{5FE6}\x{5FE7}\x{5FE8}\x{5FE9}\x{5FEA}\x{5FEB}\x{5FED}\x{5FEE}\x{5FEF}' .
+'\x{5FF0}\x{5FF1}\x{5FF2}\x{5FF3}\x{5FF4}\x{5FF5}\x{5FF6}\x{5FF7}\x{5FF8}' .
+'\x{5FF9}\x{5FFA}\x{5FFB}\x{5FFD}\x{5FFE}\x{5FFF}\x{6000}\x{6001}\x{6002}' .
+'\x{6003}\x{6004}\x{6005}\x{6006}\x{6007}\x{6008}\x{6009}\x{600A}\x{600B}' .
+'\x{600C}\x{600D}\x{600E}\x{600F}\x{6010}\x{6011}\x{6012}\x{6013}\x{6014}' .
+'\x{6015}\x{6016}\x{6017}\x{6018}\x{6019}\x{601A}\x{601B}\x{601C}\x{601D}' .
+'\x{601E}\x{601F}\x{6020}\x{6021}\x{6022}\x{6024}\x{6025}\x{6026}\x{6027}' .
+'\x{6028}\x{6029}\x{602A}\x{602B}\x{602C}\x{602D}\x{602E}\x{602F}\x{6030}' .
+'\x{6031}\x{6032}\x{6033}\x{6034}\x{6035}\x{6036}\x{6037}\x{6038}\x{6039}' .
+'\x{603A}\x{603B}\x{603C}\x{603D}\x{603E}\x{603F}\x{6040}\x{6041}\x{6042}' .
+'\x{6043}\x{6044}\x{6045}\x{6046}\x{6047}\x{6048}\x{6049}\x{604A}\x{604B}' .
+'\x{604C}\x{604D}\x{604E}\x{604F}\x{6050}\x{6051}\x{6052}\x{6053}\x{6054}' .
+'\x{6055}\x{6057}\x{6058}\x{6059}\x{605A}\x{605B}\x{605C}\x{605D}\x{605E}' .
+'\x{605F}\x{6062}\x{6063}\x{6064}\x{6065}\x{6066}\x{6067}\x{6068}\x{6069}' .
+'\x{606A}\x{606B}\x{606C}\x{606D}\x{606E}\x{606F}\x{6070}\x{6072}\x{6073}' .
+'\x{6075}\x{6076}\x{6077}\x{6078}\x{6079}\x{607A}\x{607B}\x{607C}\x{607D}' .
+'\x{607E}\x{607F}\x{6080}\x{6081}\x{6082}\x{6083}\x{6084}\x{6085}\x{6086}' .
+'\x{6087}\x{6088}\x{6089}\x{608A}\x{608B}\x{608C}\x{608D}\x{608E}\x{608F}' .
+'\x{6090}\x{6092}\x{6094}\x{6095}\x{6096}\x{6097}\x{6098}\x{6099}\x{609A}' .
+'\x{609B}\x{609C}\x{609D}\x{609E}\x{609F}\x{60A0}\x{60A1}\x{60A2}\x{60A3}' .
+'\x{60A4}\x{60A6}\x{60A7}\x{60A8}\x{60AA}\x{60AB}\x{60AC}\x{60AD}\x{60AE}' .
+'\x{60AF}\x{60B0}\x{60B1}\x{60B2}\x{60B3}\x{60B4}\x{60B5}\x{60B6}\x{60B7}' .
+'\x{60B8}\x{60B9}\x{60BA}\x{60BB}\x{60BC}\x{60BD}\x{60BE}\x{60BF}\x{60C0}' .
+'\x{60C1}\x{60C2}\x{60C3}\x{60C4}\x{60C5}\x{60C6}\x{60C7}\x{60C8}\x{60C9}' .
+'\x{60CA}\x{60CB}\x{60CC}\x{60CD}\x{60CE}\x{60CF}\x{60D0}\x{60D1}\x{60D3}' .
+'\x{60D4}\x{60D5}\x{60D7}\x{60D8}\x{60D9}\x{60DA}\x{60DB}\x{60DC}\x{60DD}' .
+'\x{60DF}\x{60E0}\x{60E1}\x{60E2}\x{60E4}\x{60E6}\x{60E7}\x{60E8}\x{60E9}' .
+'\x{60EA}\x{60EB}\x{60EC}\x{60ED}\x{60EE}\x{60EF}\x{60F0}\x{60F1}\x{60F2}' .
+'\x{60F3}\x{60F4}\x{60F5}\x{60F6}\x{60F7}\x{60F8}\x{60F9}\x{60FA}\x{60FB}' .
+'\x{60FC}\x{60FE}\x{60FF}\x{6100}\x{6101}\x{6103}\x{6104}\x{6105}\x{6106}' .
+'\x{6108}\x{6109}\x{610A}\x{610B}\x{610C}\x{610D}\x{610E}\x{610F}\x{6110}' .
+'\x{6112}\x{6113}\x{6114}\x{6115}\x{6116}\x{6117}\x{6118}\x{6119}\x{611A}' .
+'\x{611B}\x{611C}\x{611D}\x{611F}\x{6120}\x{6122}\x{6123}\x{6124}\x{6125}' .
+'\x{6126}\x{6127}\x{6128}\x{6129}\x{612A}\x{612B}\x{612C}\x{612D}\x{612E}' .
+'\x{612F}\x{6130}\x{6132}\x{6134}\x{6136}\x{6137}\x{613A}\x{613B}\x{613C}' .
+'\x{613D}\x{613E}\x{613F}\x{6140}\x{6141}\x{6142}\x{6143}\x{6144}\x{6145}' .
+'\x{6146}\x{6147}\x{6148}\x{6149}\x{614A}\x{614B}\x{614C}\x{614D}\x{614E}' .
+'\x{614F}\x{6150}\x{6151}\x{6152}\x{6153}\x{6154}\x{6155}\x{6156}\x{6157}' .
+'\x{6158}\x{6159}\x{615A}\x{615B}\x{615C}\x{615D}\x{615E}\x{615F}\x{6161}' .
+'\x{6162}\x{6163}\x{6164}\x{6165}\x{6166}\x{6167}\x{6168}\x{6169}\x{616A}' .
+'\x{616B}\x{616C}\x{616D}\x{616E}\x{6170}\x{6171}\x{6172}\x{6173}\x{6174}' .
+'\x{6175}\x{6176}\x{6177}\x{6178}\x{6179}\x{617A}\x{617C}\x{617E}\x{6180}' .
+'\x{6181}\x{6182}\x{6183}\x{6184}\x{6185}\x{6187}\x{6188}\x{6189}\x{618A}' .
+'\x{618B}\x{618C}\x{618D}\x{618E}\x{618F}\x{6190}\x{6191}\x{6192}\x{6193}' .
+'\x{6194}\x{6195}\x{6196}\x{6198}\x{6199}\x{619A}\x{619B}\x{619D}\x{619E}' .
+'\x{619F}\x{61A0}\x{61A1}\x{61A2}\x{61A3}\x{61A4}\x{61A5}\x{61A6}\x{61A7}' .
+'\x{61A8}\x{61A9}\x{61AA}\x{61AB}\x{61AC}\x{61AD}\x{61AE}\x{61AF}\x{61B0}' .
+'\x{61B1}\x{61B2}\x{61B3}\x{61B4}\x{61B5}\x{61B6}\x{61B7}\x{61B8}\x{61BA}' .
+'\x{61BC}\x{61BD}\x{61BE}\x{61BF}\x{61C0}\x{61C1}\x{61C2}\x{61C3}\x{61C4}' .
+'\x{61C5}\x{61C6}\x{61C7}\x{61C8}\x{61C9}\x{61CA}\x{61CB}\x{61CC}\x{61CD}' .
+'\x{61CE}\x{61CF}\x{61D0}\x{61D1}\x{61D2}\x{61D4}\x{61D6}\x{61D7}\x{61D8}' .
+'\x{61D9}\x{61DA}\x{61DB}\x{61DC}\x{61DD}\x{61DE}\x{61DF}\x{61E0}\x{61E1}' .
+'\x{61E2}\x{61E3}\x{61E4}\x{61E5}\x{61E6}\x{61E7}\x{61E8}\x{61E9}\x{61EA}' .
+'\x{61EB}\x{61ED}\x{61EE}\x{61F0}\x{61F1}\x{61F2}\x{61F3}\x{61F5}\x{61F6}' .
+'\x{61F7}\x{61F8}\x{61F9}\x{61FA}\x{61FB}\x{61FC}\x{61FD}\x{61FE}\x{61FF}' .
+'\x{6200}\x{6201}\x{6202}\x{6203}\x{6204}\x{6206}\x{6207}\x{6208}\x{6209}' .
+'\x{620A}\x{620B}\x{620C}\x{620D}\x{620E}\x{620F}\x{6210}\x{6211}\x{6212}' .
+'\x{6213}\x{6214}\x{6215}\x{6216}\x{6217}\x{6218}\x{6219}\x{621A}\x{621B}' .
+'\x{621C}\x{621D}\x{621E}\x{621F}\x{6220}\x{6221}\x{6222}\x{6223}\x{6224}' .
+'\x{6225}\x{6226}\x{6227}\x{6228}\x{6229}\x{622A}\x{622B}\x{622C}\x{622D}' .
+'\x{622E}\x{622F}\x{6230}\x{6231}\x{6232}\x{6233}\x{6234}\x{6236}\x{6237}' .
+'\x{6238}\x{623A}\x{623B}\x{623C}\x{623D}\x{623E}\x{623F}\x{6240}\x{6241}' .
+'\x{6242}\x{6243}\x{6244}\x{6245}\x{6246}\x{6247}\x{6248}\x{6249}\x{624A}' .
+'\x{624B}\x{624C}\x{624D}\x{624E}\x{624F}\x{6250}\x{6251}\x{6252}\x{6253}' .
+'\x{6254}\x{6255}\x{6256}\x{6258}\x{6259}\x{625A}\x{625B}\x{625C}\x{625D}' .
+'\x{625E}\x{625F}\x{6260}\x{6261}\x{6262}\x{6263}\x{6264}\x{6265}\x{6266}' .
+'\x{6267}\x{6268}\x{6269}\x{626A}\x{626B}\x{626C}\x{626D}\x{626E}\x{626F}' .
+'\x{6270}\x{6271}\x{6272}\x{6273}\x{6274}\x{6275}\x{6276}\x{6277}\x{6278}' .
+'\x{6279}\x{627A}\x{627B}\x{627C}\x{627D}\x{627E}\x{627F}\x{6280}\x{6281}' .
+'\x{6283}\x{6284}\x{6285}\x{6286}\x{6287}\x{6288}\x{6289}\x{628A}\x{628B}' .
+'\x{628C}\x{628E}\x{628F}\x{6290}\x{6291}\x{6292}\x{6293}\x{6294}\x{6295}' .
+'\x{6296}\x{6297}\x{6298}\x{6299}\x{629A}\x{629B}\x{629C}\x{629E}\x{629F}' .
+'\x{62A0}\x{62A1}\x{62A2}\x{62A3}\x{62A4}\x{62A5}\x{62A7}\x{62A8}\x{62A9}' .
+'\x{62AA}\x{62AB}\x{62AC}\x{62AD}\x{62AE}\x{62AF}\x{62B0}\x{62B1}\x{62B2}' .
+'\x{62B3}\x{62B4}\x{62B5}\x{62B6}\x{62B7}\x{62B8}\x{62B9}\x{62BA}\x{62BB}' .
+'\x{62BC}\x{62BD}\x{62BE}\x{62BF}\x{62C0}\x{62C1}\x{62C2}\x{62C3}\x{62C4}' .
+'\x{62C5}\x{62C6}\x{62C7}\x{62C8}\x{62C9}\x{62CA}\x{62CB}\x{62CC}\x{62CD}' .
+'\x{62CE}\x{62CF}\x{62D0}\x{62D1}\x{62D2}\x{62D3}\x{62D4}\x{62D5}\x{62D6}' .
+'\x{62D7}\x{62D8}\x{62D9}\x{62DA}\x{62DB}\x{62DC}\x{62DD}\x{62DF}\x{62E0}' .
+'\x{62E1}\x{62E2}\x{62E3}\x{62E4}\x{62E5}\x{62E6}\x{62E7}\x{62E8}\x{62E9}' .
+'\x{62EB}\x{62EC}\x{62ED}\x{62EE}\x{62EF}\x{62F0}\x{62F1}\x{62F2}\x{62F3}' .
+'\x{62F4}\x{62F5}\x{62F6}\x{62F7}\x{62F8}\x{62F9}\x{62FA}\x{62FB}\x{62FC}' .
+'\x{62FD}\x{62FE}\x{62FF}\x{6300}\x{6301}\x{6302}\x{6303}\x{6304}\x{6305}' .
+'\x{6306}\x{6307}\x{6308}\x{6309}\x{630B}\x{630C}\x{630D}\x{630E}\x{630F}' .
+'\x{6310}\x{6311}\x{6312}\x{6313}\x{6314}\x{6315}\x{6316}\x{6318}\x{6319}' .
+'\x{631A}\x{631B}\x{631C}\x{631D}\x{631E}\x{631F}\x{6320}\x{6321}\x{6322}' .
+'\x{6323}\x{6324}\x{6325}\x{6326}\x{6327}\x{6328}\x{6329}\x{632A}\x{632B}' .
+'\x{632C}\x{632D}\x{632E}\x{632F}\x{6330}\x{6332}\x{6333}\x{6334}\x{6336}' .
+'\x{6338}\x{6339}\x{633A}\x{633B}\x{633C}\x{633D}\x{633E}\x{6340}\x{6341}' .
+'\x{6342}\x{6343}\x{6344}\x{6345}\x{6346}\x{6347}\x{6348}\x{6349}\x{634A}' .
+'\x{634B}\x{634C}\x{634D}\x{634E}\x{634F}\x{6350}\x{6351}\x{6352}\x{6353}' .
+'\x{6354}\x{6355}\x{6356}\x{6357}\x{6358}\x{6359}\x{635A}\x{635C}\x{635D}' .
+'\x{635E}\x{635F}\x{6360}\x{6361}\x{6362}\x{6363}\x{6364}\x{6365}\x{6366}' .
+'\x{6367}\x{6368}\x{6369}\x{636A}\x{636B}\x{636C}\x{636D}\x{636E}\x{636F}' .
+'\x{6370}\x{6371}\x{6372}\x{6373}\x{6374}\x{6375}\x{6376}\x{6377}\x{6378}' .
+'\x{6379}\x{637A}\x{637B}\x{637C}\x{637D}\x{637E}\x{6380}\x{6381}\x{6382}' .
+'\x{6383}\x{6384}\x{6385}\x{6386}\x{6387}\x{6388}\x{6389}\x{638A}\x{638C}' .
+'\x{638D}\x{638E}\x{638F}\x{6390}\x{6391}\x{6392}\x{6394}\x{6395}\x{6396}' .
+'\x{6397}\x{6398}\x{6399}\x{639A}\x{639B}\x{639C}\x{639D}\x{639E}\x{639F}' .
+'\x{63A0}\x{63A1}\x{63A2}\x{63A3}\x{63A4}\x{63A5}\x{63A6}\x{63A7}\x{63A8}' .
+'\x{63A9}\x{63AA}\x{63AB}\x{63AC}\x{63AD}\x{63AE}\x{63AF}\x{63B0}\x{63B1}' .
+'\x{63B2}\x{63B3}\x{63B4}\x{63B5}\x{63B6}\x{63B7}\x{63B8}\x{63B9}\x{63BA}' .
+'\x{63BC}\x{63BD}\x{63BE}\x{63BF}\x{63C0}\x{63C1}\x{63C2}\x{63C3}\x{63C4}' .
+'\x{63C5}\x{63C6}\x{63C7}\x{63C8}\x{63C9}\x{63CA}\x{63CB}\x{63CC}\x{63CD}' .
+'\x{63CE}\x{63CF}\x{63D0}\x{63D2}\x{63D3}\x{63D4}\x{63D5}\x{63D6}\x{63D7}' .
+'\x{63D8}\x{63D9}\x{63DA}\x{63DB}\x{63DC}\x{63DD}\x{63DE}\x{63DF}\x{63E0}' .
+'\x{63E1}\x{63E2}\x{63E3}\x{63E4}\x{63E5}\x{63E6}\x{63E7}\x{63E8}\x{63E9}' .
+'\x{63EA}\x{63EB}\x{63EC}\x{63ED}\x{63EE}\x{63EF}\x{63F0}\x{63F1}\x{63F2}' .
+'\x{63F3}\x{63F4}\x{63F5}\x{63F6}\x{63F7}\x{63F8}\x{63F9}\x{63FA}\x{63FB}' .
+'\x{63FC}\x{63FD}\x{63FE}\x{63FF}\x{6400}\x{6401}\x{6402}\x{6403}\x{6404}' .
+'\x{6405}\x{6406}\x{6408}\x{6409}\x{640A}\x{640B}\x{640C}\x{640D}\x{640E}' .
+'\x{640F}\x{6410}\x{6411}\x{6412}\x{6413}\x{6414}\x{6415}\x{6416}\x{6417}' .
+'\x{6418}\x{6419}\x{641A}\x{641B}\x{641C}\x{641D}\x{641E}\x{641F}\x{6420}' .
+'\x{6421}\x{6422}\x{6423}\x{6424}\x{6425}\x{6426}\x{6427}\x{6428}\x{6429}' .
+'\x{642A}\x{642B}\x{642C}\x{642D}\x{642E}\x{642F}\x{6430}\x{6431}\x{6432}' .
+'\x{6433}\x{6434}\x{6435}\x{6436}\x{6437}\x{6438}\x{6439}\x{643A}\x{643D}' .
+'\x{643E}\x{643F}\x{6440}\x{6441}\x{6443}\x{6444}\x{6445}\x{6446}\x{6447}' .
+'\x{6448}\x{644A}\x{644B}\x{644C}\x{644D}\x{644E}\x{644F}\x{6450}\x{6451}' .
+'\x{6452}\x{6453}\x{6454}\x{6455}\x{6456}\x{6457}\x{6458}\x{6459}\x{645B}' .
+'\x{645C}\x{645D}\x{645E}\x{645F}\x{6460}\x{6461}\x{6462}\x{6463}\x{6464}' .
+'\x{6465}\x{6466}\x{6467}\x{6468}\x{6469}\x{646A}\x{646B}\x{646C}\x{646D}' .
+'\x{646E}\x{646F}\x{6470}\x{6471}\x{6472}\x{6473}\x{6474}\x{6475}\x{6476}' .
+'\x{6477}\x{6478}\x{6479}\x{647A}\x{647B}\x{647C}\x{647D}\x{647F}\x{6480}' .
+'\x{6481}\x{6482}\x{6483}\x{6484}\x{6485}\x{6487}\x{6488}\x{6489}\x{648A}' .
+'\x{648B}\x{648C}\x{648D}\x{648E}\x{648F}\x{6490}\x{6491}\x{6492}\x{6493}' .
+'\x{6494}\x{6495}\x{6496}\x{6497}\x{6498}\x{6499}\x{649A}\x{649B}\x{649C}' .
+'\x{649D}\x{649E}\x{649F}\x{64A0}\x{64A2}\x{64A3}\x{64A4}\x{64A5}\x{64A6}' .
+'\x{64A7}\x{64A8}\x{64A9}\x{64AA}\x{64AB}\x{64AC}\x{64AD}\x{64AE}\x{64B0}' .
+'\x{64B1}\x{64B2}\x{64B3}\x{64B4}\x{64B5}\x{64B7}\x{64B8}\x{64B9}\x{64BA}' .
+'\x{64BB}\x{64BC}\x{64BD}\x{64BE}\x{64BF}\x{64C0}\x{64C1}\x{64C2}\x{64C3}' .
+'\x{64C4}\x{64C5}\x{64C6}\x{64C7}\x{64C9}\x{64CA}\x{64CB}\x{64CC}\x{64CD}' .
+'\x{64CE}\x{64CF}\x{64D0}\x{64D1}\x{64D2}\x{64D3}\x{64D4}\x{64D6}\x{64D7}' .
+'\x{64D8}\x{64D9}\x{64DA}\x{64DB}\x{64DC}\x{64DD}\x{64DE}\x{64DF}\x{64E0}' .
+'\x{64E2}\x{64E3}\x{64E4}\x{64E6}\x{64E7}\x{64E8}\x{64E9}\x{64EA}\x{64EB}' .
+'\x{64EC}\x{64ED}\x{64EF}\x{64F0}\x{64F1}\x{64F2}\x{64F3}\x{64F4}\x{64F6}' .
+'\x{64F7}\x{64F8}\x{64FA}\x{64FB}\x{64FC}\x{64FD}\x{64FE}\x{64FF}\x{6500}' .
+'\x{6501}\x{6503}\x{6504}\x{6505}\x{6506}\x{6507}\x{6508}\x{6509}\x{650B}' .
+'\x{650C}\x{650D}\x{650E}\x{650F}\x{6510}\x{6511}\x{6512}\x{6513}\x{6514}' .
+'\x{6515}\x{6516}\x{6517}\x{6518}\x{6519}\x{651A}\x{651B}\x{651C}\x{651D}' .
+'\x{651E}\x{6520}\x{6521}\x{6522}\x{6523}\x{6524}\x{6525}\x{6526}\x{6527}' .
+'\x{6529}\x{652A}\x{652B}\x{652C}\x{652D}\x{652E}\x{652F}\x{6530}\x{6531}' .
+'\x{6532}\x{6533}\x{6534}\x{6535}\x{6536}\x{6537}\x{6538}\x{6539}\x{653A}' .
+'\x{653B}\x{653C}\x{653D}\x{653E}\x{653F}\x{6541}\x{6543}\x{6544}\x{6545}' .
+'\x{6546}\x{6547}\x{6548}\x{6549}\x{654A}\x{654B}\x{654C}\x{654D}\x{654E}' .
+'\x{654F}\x{6550}\x{6551}\x{6552}\x{6553}\x{6554}\x{6555}\x{6556}\x{6557}' .
+'\x{6558}\x{6559}\x{655B}\x{655C}\x{655D}\x{655E}\x{6560}\x{6561}\x{6562}' .
+'\x{6563}\x{6564}\x{6565}\x{6566}\x{6567}\x{6568}\x{6569}\x{656A}\x{656B}' .
+'\x{656C}\x{656E}\x{656F}\x{6570}\x{6571}\x{6572}\x{6573}\x{6574}\x{6575}' .
+'\x{6576}\x{6577}\x{6578}\x{6579}\x{657A}\x{657B}\x{657C}\x{657E}\x{657F}' .
+'\x{6580}\x{6581}\x{6582}\x{6583}\x{6584}\x{6585}\x{6586}\x{6587}\x{6588}' .
+'\x{6589}\x{658B}\x{658C}\x{658D}\x{658E}\x{658F}\x{6590}\x{6591}\x{6592}' .
+'\x{6593}\x{6594}\x{6595}\x{6596}\x{6597}\x{6598}\x{6599}\x{659B}\x{659C}' .
+'\x{659D}\x{659E}\x{659F}\x{65A0}\x{65A1}\x{65A2}\x{65A3}\x{65A4}\x{65A5}' .
+'\x{65A6}\x{65A7}\x{65A8}\x{65A9}\x{65AA}\x{65AB}\x{65AC}\x{65AD}\x{65AE}' .
+'\x{65AF}\x{65B0}\x{65B1}\x{65B2}\x{65B3}\x{65B4}\x{65B6}\x{65B7}\x{65B8}' .
+'\x{65B9}\x{65BA}\x{65BB}\x{65BC}\x{65BD}\x{65BF}\x{65C0}\x{65C1}\x{65C2}' .
+'\x{65C3}\x{65C4}\x{65C5}\x{65C6}\x{65C7}\x{65CA}\x{65CB}\x{65CC}\x{65CD}' .
+'\x{65CE}\x{65CF}\x{65D0}\x{65D2}\x{65D3}\x{65D4}\x{65D5}\x{65D6}\x{65D7}' .
+'\x{65DA}\x{65DB}\x{65DD}\x{65DE}\x{65DF}\x{65E0}\x{65E1}\x{65E2}\x{65E3}' .
+'\x{65E5}\x{65E6}\x{65E7}\x{65E8}\x{65E9}\x{65EB}\x{65EC}\x{65ED}\x{65EE}' .
+'\x{65EF}\x{65F0}\x{65F1}\x{65F2}\x{65F3}\x{65F4}\x{65F5}\x{65F6}\x{65F7}' .
+'\x{65F8}\x{65FA}\x{65FB}\x{65FC}\x{65FD}\x{6600}\x{6601}\x{6602}\x{6603}' .
+'\x{6604}\x{6605}\x{6606}\x{6607}\x{6608}\x{6609}\x{660A}\x{660B}\x{660C}' .
+'\x{660D}\x{660E}\x{660F}\x{6610}\x{6611}\x{6612}\x{6613}\x{6614}\x{6615}' .
+'\x{6616}\x{6618}\x{6619}\x{661A}\x{661B}\x{661C}\x{661D}\x{661F}\x{6620}' .
+'\x{6621}\x{6622}\x{6623}\x{6624}\x{6625}\x{6626}\x{6627}\x{6628}\x{6629}' .
+'\x{662A}\x{662B}\x{662D}\x{662E}\x{662F}\x{6630}\x{6631}\x{6632}\x{6633}' .
+'\x{6634}\x{6635}\x{6636}\x{6639}\x{663A}\x{663C}\x{663D}\x{663E}\x{6640}' .
+'\x{6641}\x{6642}\x{6643}\x{6644}\x{6645}\x{6646}\x{6647}\x{6649}\x{664A}' .
+'\x{664B}\x{664C}\x{664E}\x{664F}\x{6650}\x{6651}\x{6652}\x{6653}\x{6654}' .
+'\x{6655}\x{6656}\x{6657}\x{6658}\x{6659}\x{665A}\x{665B}\x{665C}\x{665D}' .
+'\x{665E}\x{665F}\x{6661}\x{6662}\x{6664}\x{6665}\x{6666}\x{6668}\x{6669}' .
+'\x{666A}\x{666B}\x{666C}\x{666D}\x{666E}\x{666F}\x{6670}\x{6671}\x{6672}' .
+'\x{6673}\x{6674}\x{6675}\x{6676}\x{6677}\x{6678}\x{6679}\x{667A}\x{667B}' .
+'\x{667C}\x{667D}\x{667E}\x{667F}\x{6680}\x{6681}\x{6682}\x{6683}\x{6684}' .
+'\x{6685}\x{6686}\x{6687}\x{6688}\x{6689}\x{668A}\x{668B}\x{668C}\x{668D}' .
+'\x{668E}\x{668F}\x{6690}\x{6691}\x{6693}\x{6694}\x{6695}\x{6696}\x{6697}' .
+'\x{6698}\x{6699}\x{669A}\x{669B}\x{669D}\x{669F}\x{66A0}\x{66A1}\x{66A2}' .
+'\x{66A3}\x{66A4}\x{66A5}\x{66A6}\x{66A7}\x{66A8}\x{66A9}\x{66AA}\x{66AB}' .
+'\x{66AE}\x{66AF}\x{66B0}\x{66B1}\x{66B2}\x{66B3}\x{66B4}\x{66B5}\x{66B6}' .
+'\x{66B7}\x{66B8}\x{66B9}\x{66BA}\x{66BB}\x{66BC}\x{66BD}\x{66BE}\x{66BF}' .
+'\x{66C0}\x{66C1}\x{66C2}\x{66C3}\x{66C4}\x{66C5}\x{66C6}\x{66C7}\x{66C8}' .
+'\x{66C9}\x{66CA}\x{66CB}\x{66CC}\x{66CD}\x{66CE}\x{66CF}\x{66D1}\x{66D2}' .
+'\x{66D4}\x{66D5}\x{66D6}\x{66D8}\x{66D9}\x{66DA}\x{66DB}\x{66DC}\x{66DD}' .
+'\x{66DE}\x{66E0}\x{66E1}\x{66E2}\x{66E3}\x{66E4}\x{66E5}\x{66E6}\x{66E7}' .
+'\x{66E8}\x{66E9}\x{66EA}\x{66EB}\x{66EC}\x{66ED}\x{66EE}\x{66F0}\x{66F1}' .
+'\x{66F2}\x{66F3}\x{66F4}\x{66F5}\x{66F6}\x{66F7}\x{66F8}\x{66F9}\x{66FA}' .
+'\x{66FB}\x{66FC}\x{66FE}\x{66FF}\x{6700}\x{6701}\x{6703}\x{6704}\x{6705}' .
+'\x{6706}\x{6708}\x{6709}\x{670A}\x{670B}\x{670C}\x{670D}\x{670E}\x{670F}' .
+'\x{6710}\x{6711}\x{6712}\x{6713}\x{6714}\x{6715}\x{6716}\x{6717}\x{6718}' .
+'\x{671A}\x{671B}\x{671C}\x{671D}\x{671E}\x{671F}\x{6720}\x{6721}\x{6722}' .
+'\x{6723}\x{6725}\x{6726}\x{6727}\x{6728}\x{672A}\x{672B}\x{672C}\x{672D}' .
+'\x{672E}\x{672F}\x{6730}\x{6731}\x{6732}\x{6733}\x{6734}\x{6735}\x{6736}' .
+'\x{6737}\x{6738}\x{6739}\x{673A}\x{673B}\x{673C}\x{673D}\x{673E}\x{673F}' .
+'\x{6740}\x{6741}\x{6742}\x{6743}\x{6744}\x{6745}\x{6746}\x{6747}\x{6748}' .
+'\x{6749}\x{674A}\x{674B}\x{674C}\x{674D}\x{674E}\x{674F}\x{6750}\x{6751}' .
+'\x{6752}\x{6753}\x{6754}\x{6755}\x{6756}\x{6757}\x{6758}\x{6759}\x{675A}' .
+'\x{675B}\x{675C}\x{675D}\x{675E}\x{675F}\x{6760}\x{6761}\x{6762}\x{6763}' .
+'\x{6764}\x{6765}\x{6766}\x{6768}\x{6769}\x{676A}\x{676B}\x{676C}\x{676D}' .
+'\x{676E}\x{676F}\x{6770}\x{6771}\x{6772}\x{6773}\x{6774}\x{6775}\x{6776}' .
+'\x{6777}\x{6778}\x{6779}\x{677A}\x{677B}\x{677C}\x{677D}\x{677E}\x{677F}' .
+'\x{6780}\x{6781}\x{6782}\x{6783}\x{6784}\x{6785}\x{6786}\x{6787}\x{6789}' .
+'\x{678A}\x{678B}\x{678C}\x{678D}\x{678E}\x{678F}\x{6790}\x{6791}\x{6792}' .
+'\x{6793}\x{6794}\x{6795}\x{6797}\x{6798}\x{6799}\x{679A}\x{679B}\x{679C}' .
+'\x{679D}\x{679E}\x{679F}\x{67A0}\x{67A1}\x{67A2}\x{67A3}\x{67A4}\x{67A5}' .
+'\x{67A6}\x{67A7}\x{67A8}\x{67AA}\x{67AB}\x{67AC}\x{67AD}\x{67AE}\x{67AF}' .
+'\x{67B0}\x{67B1}\x{67B2}\x{67B3}\x{67B4}\x{67B5}\x{67B6}\x{67B7}\x{67B8}' .
+'\x{67B9}\x{67BA}\x{67BB}\x{67BC}\x{67BE}\x{67C0}\x{67C1}\x{67C2}\x{67C3}' .
+'\x{67C4}\x{67C5}\x{67C6}\x{67C7}\x{67C8}\x{67C9}\x{67CA}\x{67CB}\x{67CC}' .
+'\x{67CD}\x{67CE}\x{67CF}\x{67D0}\x{67D1}\x{67D2}\x{67D3}\x{67D4}\x{67D6}' .
+'\x{67D8}\x{67D9}\x{67DA}\x{67DB}\x{67DC}\x{67DD}\x{67DE}\x{67DF}\x{67E0}' .
+'\x{67E1}\x{67E2}\x{67E3}\x{67E4}\x{67E5}\x{67E6}\x{67E7}\x{67E8}\x{67E9}' .
+'\x{67EA}\x{67EB}\x{67EC}\x{67ED}\x{67EE}\x{67EF}\x{67F0}\x{67F1}\x{67F2}' .
+'\x{67F3}\x{67F4}\x{67F5}\x{67F6}\x{67F7}\x{67F8}\x{67FA}\x{67FB}\x{67FC}' .
+'\x{67FD}\x{67FE}\x{67FF}\x{6800}\x{6802}\x{6803}\x{6804}\x{6805}\x{6806}' .
+'\x{6807}\x{6808}\x{6809}\x{680A}\x{680B}\x{680C}\x{680D}\x{680E}\x{680F}' .
+'\x{6810}\x{6811}\x{6812}\x{6813}\x{6814}\x{6816}\x{6817}\x{6818}\x{6819}' .
+'\x{681A}\x{681B}\x{681C}\x{681D}\x{681F}\x{6820}\x{6821}\x{6822}\x{6823}' .
+'\x{6824}\x{6825}\x{6826}\x{6828}\x{6829}\x{682A}\x{682B}\x{682C}\x{682D}' .
+'\x{682E}\x{682F}\x{6831}\x{6832}\x{6833}\x{6834}\x{6835}\x{6836}\x{6837}' .
+'\x{6838}\x{6839}\x{683A}\x{683B}\x{683C}\x{683D}\x{683E}\x{683F}\x{6840}' .
+'\x{6841}\x{6842}\x{6843}\x{6844}\x{6845}\x{6846}\x{6847}\x{6848}\x{6849}' .
+'\x{684A}\x{684B}\x{684C}\x{684D}\x{684E}\x{684F}\x{6850}\x{6851}\x{6852}' .
+'\x{6853}\x{6854}\x{6855}\x{6856}\x{6857}\x{685B}\x{685D}\x{6860}\x{6861}' .
+'\x{6862}\x{6863}\x{6864}\x{6865}\x{6866}\x{6867}\x{6868}\x{6869}\x{686A}' .
+'\x{686B}\x{686C}\x{686D}\x{686E}\x{686F}\x{6870}\x{6871}\x{6872}\x{6873}' .
+'\x{6874}\x{6875}\x{6876}\x{6877}\x{6878}\x{6879}\x{687B}\x{687C}\x{687D}' .
+'\x{687E}\x{687F}\x{6880}\x{6881}\x{6882}\x{6883}\x{6884}\x{6885}\x{6886}' .
+'\x{6887}\x{6888}\x{6889}\x{688A}\x{688B}\x{688C}\x{688D}\x{688E}\x{688F}' .
+'\x{6890}\x{6891}\x{6892}\x{6893}\x{6894}\x{6896}\x{6897}\x{6898}\x{689A}' .
+'\x{689B}\x{689C}\x{689D}\x{689E}\x{689F}\x{68A0}\x{68A1}\x{68A2}\x{68A3}' .
+'\x{68A4}\x{68A6}\x{68A7}\x{68A8}\x{68A9}\x{68AA}\x{68AB}\x{68AC}\x{68AD}' .
+'\x{68AE}\x{68AF}\x{68B0}\x{68B1}\x{68B2}\x{68B3}\x{68B4}\x{68B5}\x{68B6}' .
+'\x{68B7}\x{68B9}\x{68BB}\x{68BC}\x{68BD}\x{68BE}\x{68BF}\x{68C0}\x{68C1}' .
+'\x{68C2}\x{68C4}\x{68C6}\x{68C7}\x{68C8}\x{68C9}\x{68CA}\x{68CB}\x{68CC}' .
+'\x{68CD}\x{68CE}\x{68CF}\x{68D0}\x{68D1}\x{68D2}\x{68D3}\x{68D4}\x{68D5}' .
+'\x{68D6}\x{68D7}\x{68D8}\x{68DA}\x{68DB}\x{68DC}\x{68DD}\x{68DE}\x{68DF}' .
+'\x{68E0}\x{68E1}\x{68E3}\x{68E4}\x{68E6}\x{68E7}\x{68E8}\x{68E9}\x{68EA}' .
+'\x{68EB}\x{68EC}\x{68ED}\x{68EE}\x{68EF}\x{68F0}\x{68F1}\x{68F2}\x{68F3}' .
+'\x{68F4}\x{68F5}\x{68F6}\x{68F7}\x{68F8}\x{68F9}\x{68FA}\x{68FB}\x{68FC}' .
+'\x{68FD}\x{68FE}\x{68FF}\x{6901}\x{6902}\x{6903}\x{6904}\x{6905}\x{6906}' .
+'\x{6907}\x{6908}\x{690A}\x{690B}\x{690C}\x{690D}\x{690E}\x{690F}\x{6910}' .
+'\x{6911}\x{6912}\x{6913}\x{6914}\x{6915}\x{6916}\x{6917}\x{6918}\x{6919}' .
+'\x{691A}\x{691B}\x{691C}\x{691D}\x{691E}\x{691F}\x{6920}\x{6921}\x{6922}' .
+'\x{6923}\x{6924}\x{6925}\x{6926}\x{6927}\x{6928}\x{6929}\x{692A}\x{692B}' .
+'\x{692C}\x{692D}\x{692E}\x{692F}\x{6930}\x{6931}\x{6932}\x{6933}\x{6934}' .
+'\x{6935}\x{6936}\x{6937}\x{6938}\x{6939}\x{693A}\x{693B}\x{693C}\x{693D}' .
+'\x{693F}\x{6940}\x{6941}\x{6942}\x{6943}\x{6944}\x{6945}\x{6946}\x{6947}' .
+'\x{6948}\x{6949}\x{694A}\x{694B}\x{694C}\x{694E}\x{694F}\x{6950}\x{6951}' .
+'\x{6952}\x{6953}\x{6954}\x{6955}\x{6956}\x{6957}\x{6958}\x{6959}\x{695A}' .
+'\x{695B}\x{695C}\x{695D}\x{695E}\x{695F}\x{6960}\x{6961}\x{6962}\x{6963}' .
+'\x{6964}\x{6965}\x{6966}\x{6967}\x{6968}\x{6969}\x{696A}\x{696B}\x{696C}' .
+'\x{696D}\x{696E}\x{696F}\x{6970}\x{6971}\x{6972}\x{6973}\x{6974}\x{6975}' .
+'\x{6976}\x{6977}\x{6978}\x{6979}\x{697A}\x{697B}\x{697C}\x{697D}\x{697E}' .
+'\x{697F}\x{6980}\x{6981}\x{6982}\x{6983}\x{6984}\x{6985}\x{6986}\x{6987}' .
+'\x{6988}\x{6989}\x{698A}\x{698B}\x{698C}\x{698D}\x{698E}\x{698F}\x{6990}' .
+'\x{6991}\x{6992}\x{6993}\x{6994}\x{6995}\x{6996}\x{6997}\x{6998}\x{6999}' .
+'\x{699A}\x{699B}\x{699C}\x{699D}\x{699E}\x{69A0}\x{69A1}\x{69A3}\x{69A4}' .
+'\x{69A5}\x{69A6}\x{69A7}\x{69A8}\x{69A9}\x{69AA}\x{69AB}\x{69AC}\x{69AD}' .
+'\x{69AE}\x{69AF}\x{69B0}\x{69B1}\x{69B2}\x{69B3}\x{69B4}\x{69B5}\x{69B6}' .
+'\x{69B7}\x{69B8}\x{69B9}\x{69BA}\x{69BB}\x{69BC}\x{69BD}\x{69BE}\x{69BF}' .
+'\x{69C1}\x{69C2}\x{69C3}\x{69C4}\x{69C5}\x{69C6}\x{69C7}\x{69C8}\x{69C9}' .
+'\x{69CA}\x{69CB}\x{69CC}\x{69CD}\x{69CE}\x{69CF}\x{69D0}\x{69D3}\x{69D4}' .
+'\x{69D8}\x{69D9}\x{69DA}\x{69DB}\x{69DC}\x{69DD}\x{69DE}\x{69DF}\x{69E0}' .
+'\x{69E1}\x{69E2}\x{69E3}\x{69E4}\x{69E5}\x{69E6}\x{69E7}\x{69E8}\x{69E9}' .
+'\x{69EA}\x{69EB}\x{69EC}\x{69ED}\x{69EE}\x{69EF}\x{69F0}\x{69F1}\x{69F2}' .
+'\x{69F3}\x{69F4}\x{69F5}\x{69F6}\x{69F7}\x{69F8}\x{69FA}\x{69FB}\x{69FC}' .
+'\x{69FD}\x{69FE}\x{69FF}\x{6A00}\x{6A01}\x{6A02}\x{6A04}\x{6A05}\x{6A06}' .
+'\x{6A07}\x{6A08}\x{6A09}\x{6A0A}\x{6A0B}\x{6A0D}\x{6A0E}\x{6A0F}\x{6A10}' .
+'\x{6A11}\x{6A12}\x{6A13}\x{6A14}\x{6A15}\x{6A16}\x{6A17}\x{6A18}\x{6A19}' .
+'\x{6A1A}\x{6A1B}\x{6A1D}\x{6A1E}\x{6A1F}\x{6A20}\x{6A21}\x{6A22}\x{6A23}' .
+'\x{6A25}\x{6A26}\x{6A27}\x{6A28}\x{6A29}\x{6A2A}\x{6A2B}\x{6A2C}\x{6A2D}' .
+'\x{6A2E}\x{6A2F}\x{6A30}\x{6A31}\x{6A32}\x{6A33}\x{6A34}\x{6A35}\x{6A36}' .
+'\x{6A38}\x{6A39}\x{6A3A}\x{6A3B}\x{6A3C}\x{6A3D}\x{6A3E}\x{6A3F}\x{6A40}' .
+'\x{6A41}\x{6A42}\x{6A43}\x{6A44}\x{6A45}\x{6A46}\x{6A47}\x{6A48}\x{6A49}' .
+'\x{6A4B}\x{6A4C}\x{6A4D}\x{6A4E}\x{6A4F}\x{6A50}\x{6A51}\x{6A52}\x{6A54}' .
+'\x{6A55}\x{6A56}\x{6A57}\x{6A58}\x{6A59}\x{6A5A}\x{6A5B}\x{6A5D}\x{6A5E}' .
+'\x{6A5F}\x{6A60}\x{6A61}\x{6A62}\x{6A63}\x{6A64}\x{6A65}\x{6A66}\x{6A67}' .
+'\x{6A68}\x{6A69}\x{6A6A}\x{6A6B}\x{6A6C}\x{6A6D}\x{6A6F}\x{6A71}\x{6A72}' .
+'\x{6A73}\x{6A74}\x{6A75}\x{6A76}\x{6A77}\x{6A78}\x{6A79}\x{6A7A}\x{6A7B}' .
+'\x{6A7C}\x{6A7D}\x{6A7E}\x{6A7F}\x{6A80}\x{6A81}\x{6A82}\x{6A83}\x{6A84}' .
+'\x{6A85}\x{6A87}\x{6A88}\x{6A89}\x{6A8B}\x{6A8C}\x{6A8D}\x{6A8E}\x{6A90}' .
+'\x{6A91}\x{6A92}\x{6A93}\x{6A94}\x{6A95}\x{6A96}\x{6A97}\x{6A98}\x{6A9A}' .
+'\x{6A9B}\x{6A9C}\x{6A9E}\x{6A9F}\x{6AA0}\x{6AA1}\x{6AA2}\x{6AA3}\x{6AA4}' .
+'\x{6AA5}\x{6AA6}\x{6AA7}\x{6AA8}\x{6AA9}\x{6AAB}\x{6AAC}\x{6AAD}\x{6AAE}' .
+'\x{6AAF}\x{6AB0}\x{6AB2}\x{6AB3}\x{6AB4}\x{6AB5}\x{6AB6}\x{6AB7}\x{6AB8}' .
+'\x{6AB9}\x{6ABA}\x{6ABB}\x{6ABC}\x{6ABD}\x{6ABF}\x{6AC1}\x{6AC2}\x{6AC3}' .
+'\x{6AC5}\x{6AC6}\x{6AC7}\x{6ACA}\x{6ACB}\x{6ACC}\x{6ACD}\x{6ACE}\x{6ACF}' .
+'\x{6AD0}\x{6AD1}\x{6AD2}\x{6AD3}\x{6AD4}\x{6AD5}\x{6AD6}\x{6AD7}\x{6AD9}' .
+'\x{6ADA}\x{6ADB}\x{6ADC}\x{6ADD}\x{6ADE}\x{6ADF}\x{6AE0}\x{6AE1}\x{6AE2}' .
+'\x{6AE3}\x{6AE4}\x{6AE5}\x{6AE6}\x{6AE7}\x{6AE8}\x{6AEA}\x{6AEB}\x{6AEC}' .
+'\x{6AED}\x{6AEE}\x{6AEF}\x{6AF0}\x{6AF1}\x{6AF2}\x{6AF3}\x{6AF4}\x{6AF5}' .
+'\x{6AF6}\x{6AF7}\x{6AF8}\x{6AF9}\x{6AFA}\x{6AFB}\x{6AFC}\x{6AFD}\x{6AFE}' .
+'\x{6AFF}\x{6B00}\x{6B01}\x{6B02}\x{6B03}\x{6B04}\x{6B05}\x{6B06}\x{6B07}' .
+'\x{6B08}\x{6B09}\x{6B0A}\x{6B0B}\x{6B0C}\x{6B0D}\x{6B0F}\x{6B10}\x{6B11}' .
+'\x{6B12}\x{6B13}\x{6B14}\x{6B15}\x{6B16}\x{6B17}\x{6B18}\x{6B19}\x{6B1A}' .
+'\x{6B1C}\x{6B1D}\x{6B1E}\x{6B1F}\x{6B20}\x{6B21}\x{6B22}\x{6B23}\x{6B24}' .
+'\x{6B25}\x{6B26}\x{6B27}\x{6B28}\x{6B29}\x{6B2A}\x{6B2B}\x{6B2C}\x{6B2D}' .
+'\x{6B2F}\x{6B30}\x{6B31}\x{6B32}\x{6B33}\x{6B34}\x{6B36}\x{6B37}\x{6B38}' .
+'\x{6B39}\x{6B3A}\x{6B3B}\x{6B3C}\x{6B3D}\x{6B3E}\x{6B3F}\x{6B41}\x{6B42}' .
+'\x{6B43}\x{6B44}\x{6B45}\x{6B46}\x{6B47}\x{6B48}\x{6B49}\x{6B4A}\x{6B4B}' .
+'\x{6B4C}\x{6B4D}\x{6B4E}\x{6B4F}\x{6B50}\x{6B51}\x{6B52}\x{6B53}\x{6B54}' .
+'\x{6B55}\x{6B56}\x{6B59}\x{6B5A}\x{6B5B}\x{6B5C}\x{6B5E}\x{6B5F}\x{6B60}' .
+'\x{6B61}\x{6B62}\x{6B63}\x{6B64}\x{6B65}\x{6B66}\x{6B67}\x{6B69}\x{6B6A}' .
+'\x{6B6B}\x{6B6D}\x{6B6F}\x{6B70}\x{6B72}\x{6B73}\x{6B74}\x{6B76}\x{6B77}' .
+'\x{6B78}\x{6B79}\x{6B7A}\x{6B7B}\x{6B7C}\x{6B7E}\x{6B7F}\x{6B80}\x{6B81}' .
+'\x{6B82}\x{6B83}\x{6B84}\x{6B85}\x{6B86}\x{6B87}\x{6B88}\x{6B89}\x{6B8A}' .
+'\x{6B8B}\x{6B8C}\x{6B8D}\x{6B8E}\x{6B8F}\x{6B90}\x{6B91}\x{6B92}\x{6B93}' .
+'\x{6B94}\x{6B95}\x{6B96}\x{6B97}\x{6B98}\x{6B99}\x{6B9A}\x{6B9B}\x{6B9C}' .
+'\x{6B9D}\x{6B9E}\x{6B9F}\x{6BA0}\x{6BA1}\x{6BA2}\x{6BA3}\x{6BA4}\x{6BA5}' .
+'\x{6BA6}\x{6BA7}\x{6BA8}\x{6BA9}\x{6BAA}\x{6BAB}\x{6BAC}\x{6BAD}\x{6BAE}' .
+'\x{6BAF}\x{6BB0}\x{6BB2}\x{6BB3}\x{6BB4}\x{6BB5}\x{6BB6}\x{6BB7}\x{6BB9}' .
+'\x{6BBA}\x{6BBB}\x{6BBC}\x{6BBD}\x{6BBE}\x{6BBF}\x{6BC0}\x{6BC1}\x{6BC2}' .
+'\x{6BC3}\x{6BC4}\x{6BC5}\x{6BC6}\x{6BC7}\x{6BC8}\x{6BC9}\x{6BCA}\x{6BCB}' .
+'\x{6BCC}\x{6BCD}\x{6BCE}\x{6BCF}\x{6BD0}\x{6BD1}\x{6BD2}\x{6BD3}\x{6BD4}' .
+'\x{6BD5}\x{6BD6}\x{6BD7}\x{6BD8}\x{6BD9}\x{6BDA}\x{6BDB}\x{6BDC}\x{6BDD}' .
+'\x{6BDE}\x{6BDF}\x{6BE0}\x{6BE1}\x{6BE2}\x{6BE3}\x{6BE4}\x{6BE5}\x{6BE6}' .
+'\x{6BE7}\x{6BE8}\x{6BEA}\x{6BEB}\x{6BEC}\x{6BED}\x{6BEE}\x{6BEF}\x{6BF0}' .
+'\x{6BF2}\x{6BF3}\x{6BF5}\x{6BF6}\x{6BF7}\x{6BF8}\x{6BF9}\x{6BFB}\x{6BFC}' .
+'\x{6BFD}\x{6BFE}\x{6BFF}\x{6C00}\x{6C01}\x{6C02}\x{6C03}\x{6C04}\x{6C05}' .
+'\x{6C06}\x{6C07}\x{6C08}\x{6C09}\x{6C0B}\x{6C0C}\x{6C0D}\x{6C0E}\x{6C0F}' .
+'\x{6C10}\x{6C11}\x{6C12}\x{6C13}\x{6C14}\x{6C15}\x{6C16}\x{6C18}\x{6C19}' .
+'\x{6C1A}\x{6C1B}\x{6C1D}\x{6C1E}\x{6C1F}\x{6C20}\x{6C21}\x{6C22}\x{6C23}' .
+'\x{6C24}\x{6C25}\x{6C26}\x{6C27}\x{6C28}\x{6C29}\x{6C2A}\x{6C2B}\x{6C2C}' .
+'\x{6C2E}\x{6C2F}\x{6C30}\x{6C31}\x{6C32}\x{6C33}\x{6C34}\x{6C35}\x{6C36}' .
+'\x{6C37}\x{6C38}\x{6C3A}\x{6C3B}\x{6C3D}\x{6C3E}\x{6C3F}\x{6C40}\x{6C41}' .
+'\x{6C42}\x{6C43}\x{6C44}\x{6C46}\x{6C47}\x{6C48}\x{6C49}\x{6C4A}\x{6C4B}' .
+'\x{6C4C}\x{6C4D}\x{6C4E}\x{6C4F}\x{6C50}\x{6C51}\x{6C52}\x{6C53}\x{6C54}' .
+'\x{6C55}\x{6C56}\x{6C57}\x{6C58}\x{6C59}\x{6C5A}\x{6C5B}\x{6C5C}\x{6C5D}' .
+'\x{6C5E}\x{6C5F}\x{6C60}\x{6C61}\x{6C62}\x{6C63}\x{6C64}\x{6C65}\x{6C66}' .
+'\x{6C67}\x{6C68}\x{6C69}\x{6C6A}\x{6C6B}\x{6C6D}\x{6C6F}\x{6C70}\x{6C71}' .
+'\x{6C72}\x{6C73}\x{6C74}\x{6C75}\x{6C76}\x{6C77}\x{6C78}\x{6C79}\x{6C7A}' .
+'\x{6C7B}\x{6C7C}\x{6C7D}\x{6C7E}\x{6C7F}\x{6C80}\x{6C81}\x{6C82}\x{6C83}' .
+'\x{6C84}\x{6C85}\x{6C86}\x{6C87}\x{6C88}\x{6C89}\x{6C8A}\x{6C8B}\x{6C8C}' .
+'\x{6C8D}\x{6C8E}\x{6C8F}\x{6C90}\x{6C91}\x{6C92}\x{6C93}\x{6C94}\x{6C95}' .
+'\x{6C96}\x{6C97}\x{6C98}\x{6C99}\x{6C9A}\x{6C9B}\x{6C9C}\x{6C9D}\x{6C9E}' .
+'\x{6C9F}\x{6CA1}\x{6CA2}\x{6CA3}\x{6CA4}\x{6CA5}\x{6CA6}\x{6CA7}\x{6CA8}' .
+'\x{6CA9}\x{6CAA}\x{6CAB}\x{6CAC}\x{6CAD}\x{6CAE}\x{6CAF}\x{6CB0}\x{6CB1}' .
+'\x{6CB2}\x{6CB3}\x{6CB4}\x{6CB5}\x{6CB6}\x{6CB7}\x{6CB8}\x{6CB9}\x{6CBA}' .
+'\x{6CBB}\x{6CBC}\x{6CBD}\x{6CBE}\x{6CBF}\x{6CC0}\x{6CC1}\x{6CC2}\x{6CC3}' .
+'\x{6CC4}\x{6CC5}\x{6CC6}\x{6CC7}\x{6CC8}\x{6CC9}\x{6CCA}\x{6CCB}\x{6CCC}' .
+'\x{6CCD}\x{6CCE}\x{6CCF}\x{6CD0}\x{6CD1}\x{6CD2}\x{6CD3}\x{6CD4}\x{6CD5}' .
+'\x{6CD6}\x{6CD7}\x{6CD9}\x{6CDA}\x{6CDB}\x{6CDC}\x{6CDD}\x{6CDE}\x{6CDF}' .
+'\x{6CE0}\x{6CE1}\x{6CE2}\x{6CE3}\x{6CE4}\x{6CE5}\x{6CE6}\x{6CE7}\x{6CE8}' .
+'\x{6CE9}\x{6CEA}\x{6CEB}\x{6CEC}\x{6CED}\x{6CEE}\x{6CEF}\x{6CF0}\x{6CF1}' .
+'\x{6CF2}\x{6CF3}\x{6CF5}\x{6CF6}\x{6CF7}\x{6CF8}\x{6CF9}\x{6CFA}\x{6CFB}' .
+'\x{6CFC}\x{6CFD}\x{6CFE}\x{6CFF}\x{6D00}\x{6D01}\x{6D03}\x{6D04}\x{6D05}' .
+'\x{6D06}\x{6D07}\x{6D08}\x{6D09}\x{6D0A}\x{6D0B}\x{6D0C}\x{6D0D}\x{6D0E}' .
+'\x{6D0F}\x{6D10}\x{6D11}\x{6D12}\x{6D13}\x{6D14}\x{6D15}\x{6D16}\x{6D17}' .
+'\x{6D18}\x{6D19}\x{6D1A}\x{6D1B}\x{6D1D}\x{6D1E}\x{6D1F}\x{6D20}\x{6D21}' .
+'\x{6D22}\x{6D23}\x{6D25}\x{6D26}\x{6D27}\x{6D28}\x{6D29}\x{6D2A}\x{6D2B}' .
+'\x{6D2C}\x{6D2D}\x{6D2E}\x{6D2F}\x{6D30}\x{6D31}\x{6D32}\x{6D33}\x{6D34}' .
+'\x{6D35}\x{6D36}\x{6D37}\x{6D38}\x{6D39}\x{6D3A}\x{6D3B}\x{6D3C}\x{6D3D}' .
+'\x{6D3E}\x{6D3F}\x{6D40}\x{6D41}\x{6D42}\x{6D43}\x{6D44}\x{6D45}\x{6D46}' .
+'\x{6D47}\x{6D48}\x{6D49}\x{6D4A}\x{6D4B}\x{6D4C}\x{6D4D}\x{6D4E}\x{6D4F}' .
+'\x{6D50}\x{6D51}\x{6D52}\x{6D53}\x{6D54}\x{6D55}\x{6D56}\x{6D57}\x{6D58}' .
+'\x{6D59}\x{6D5A}\x{6D5B}\x{6D5C}\x{6D5D}\x{6D5E}\x{6D5F}\x{6D60}\x{6D61}' .
+'\x{6D62}\x{6D63}\x{6D64}\x{6D65}\x{6D66}\x{6D67}\x{6D68}\x{6D69}\x{6D6A}' .
+'\x{6D6B}\x{6D6C}\x{6D6D}\x{6D6E}\x{6D6F}\x{6D70}\x{6D72}\x{6D73}\x{6D74}' .
+'\x{6D75}\x{6D76}\x{6D77}\x{6D78}\x{6D79}\x{6D7A}\x{6D7B}\x{6D7C}\x{6D7D}' .
+'\x{6D7E}\x{6D7F}\x{6D80}\x{6D82}\x{6D83}\x{6D84}\x{6D85}\x{6D86}\x{6D87}' .
+'\x{6D88}\x{6D89}\x{6D8A}\x{6D8B}\x{6D8C}\x{6D8D}\x{6D8E}\x{6D8F}\x{6D90}' .
+'\x{6D91}\x{6D92}\x{6D93}\x{6D94}\x{6D95}\x{6D97}\x{6D98}\x{6D99}\x{6D9A}' .
+'\x{6D9B}\x{6D9D}\x{6D9E}\x{6D9F}\x{6DA0}\x{6DA1}\x{6DA2}\x{6DA3}\x{6DA4}' .
+'\x{6DA5}\x{6DA6}\x{6DA7}\x{6DA8}\x{6DA9}\x{6DAA}\x{6DAB}\x{6DAC}\x{6DAD}' .
+'\x{6DAE}\x{6DAF}\x{6DB2}\x{6DB3}\x{6DB4}\x{6DB5}\x{6DB7}\x{6DB8}\x{6DB9}' .
+'\x{6DBA}\x{6DBB}\x{6DBC}\x{6DBD}\x{6DBE}\x{6DBF}\x{6DC0}\x{6DC1}\x{6DC2}' .
+'\x{6DC3}\x{6DC4}\x{6DC5}\x{6DC6}\x{6DC7}\x{6DC8}\x{6DC9}\x{6DCA}\x{6DCB}' .
+'\x{6DCC}\x{6DCD}\x{6DCE}\x{6DCF}\x{6DD0}\x{6DD1}\x{6DD2}\x{6DD3}\x{6DD4}' .
+'\x{6DD5}\x{6DD6}\x{6DD7}\x{6DD8}\x{6DD9}\x{6DDA}\x{6DDB}\x{6DDC}\x{6DDD}' .
+'\x{6DDE}\x{6DDF}\x{6DE0}\x{6DE1}\x{6DE2}\x{6DE3}\x{6DE4}\x{6DE5}\x{6DE6}' .
+'\x{6DE7}\x{6DE8}\x{6DE9}\x{6DEA}\x{6DEB}\x{6DEC}\x{6DED}\x{6DEE}\x{6DEF}' .
+'\x{6DF0}\x{6DF1}\x{6DF2}\x{6DF3}\x{6DF4}\x{6DF5}\x{6DF6}\x{6DF7}\x{6DF8}' .
+'\x{6DF9}\x{6DFA}\x{6DFB}\x{6DFC}\x{6DFD}\x{6E00}\x{6E03}\x{6E04}\x{6E05}' .
+'\x{6E07}\x{6E08}\x{6E09}\x{6E0A}\x{6E0B}\x{6E0C}\x{6E0D}\x{6E0E}\x{6E0F}' .
+'\x{6E10}\x{6E11}\x{6E14}\x{6E15}\x{6E16}\x{6E17}\x{6E19}\x{6E1A}\x{6E1B}' .
+'\x{6E1C}\x{6E1D}\x{6E1E}\x{6E1F}\x{6E20}\x{6E21}\x{6E22}\x{6E23}\x{6E24}' .
+'\x{6E25}\x{6E26}\x{6E27}\x{6E28}\x{6E29}\x{6E2B}\x{6E2C}\x{6E2D}\x{6E2E}' .
+'\x{6E2F}\x{6E30}\x{6E31}\x{6E32}\x{6E33}\x{6E34}\x{6E35}\x{6E36}\x{6E37}' .
+'\x{6E38}\x{6E39}\x{6E3A}\x{6E3B}\x{6E3C}\x{6E3D}\x{6E3E}\x{6E3F}\x{6E40}' .
+'\x{6E41}\x{6E42}\x{6E43}\x{6E44}\x{6E45}\x{6E46}\x{6E47}\x{6E48}\x{6E49}' .
+'\x{6E4A}\x{6E4B}\x{6E4D}\x{6E4E}\x{6E4F}\x{6E50}\x{6E51}\x{6E52}\x{6E53}' .
+'\x{6E54}\x{6E55}\x{6E56}\x{6E57}\x{6E58}\x{6E59}\x{6E5A}\x{6E5B}\x{6E5C}' .
+'\x{6E5D}\x{6E5E}\x{6E5F}\x{6E60}\x{6E61}\x{6E62}\x{6E63}\x{6E64}\x{6E65}' .
+'\x{6E66}\x{6E67}\x{6E68}\x{6E69}\x{6E6A}\x{6E6B}\x{6E6D}\x{6E6E}\x{6E6F}' .
+'\x{6E70}\x{6E71}\x{6E72}\x{6E73}\x{6E74}\x{6E75}\x{6E77}\x{6E78}\x{6E79}' .
+'\x{6E7E}\x{6E7F}\x{6E80}\x{6E81}\x{6E82}\x{6E83}\x{6E84}\x{6E85}\x{6E86}' .
+'\x{6E87}\x{6E88}\x{6E89}\x{6E8A}\x{6E8D}\x{6E8E}\x{6E8F}\x{6E90}\x{6E91}' .
+'\x{6E92}\x{6E93}\x{6E94}\x{6E96}\x{6E97}\x{6E98}\x{6E99}\x{6E9A}\x{6E9B}' .
+'\x{6E9C}\x{6E9D}\x{6E9E}\x{6E9F}\x{6EA0}\x{6EA1}\x{6EA2}\x{6EA3}\x{6EA4}' .
+'\x{6EA5}\x{6EA6}\x{6EA7}\x{6EA8}\x{6EA9}\x{6EAA}\x{6EAB}\x{6EAC}\x{6EAD}' .
+'\x{6EAE}\x{6EAF}\x{6EB0}\x{6EB1}\x{6EB2}\x{6EB3}\x{6EB4}\x{6EB5}\x{6EB6}' .
+'\x{6EB7}\x{6EB8}\x{6EB9}\x{6EBA}\x{6EBB}\x{6EBC}\x{6EBD}\x{6EBE}\x{6EBF}' .
+'\x{6EC0}\x{6EC1}\x{6EC2}\x{6EC3}\x{6EC4}\x{6EC5}\x{6EC6}\x{6EC7}\x{6EC8}' .
+'\x{6EC9}\x{6ECA}\x{6ECB}\x{6ECC}\x{6ECD}\x{6ECE}\x{6ECF}\x{6ED0}\x{6ED1}' .
+'\x{6ED2}\x{6ED3}\x{6ED4}\x{6ED5}\x{6ED6}\x{6ED7}\x{6ED8}\x{6ED9}\x{6EDA}' .
+'\x{6EDC}\x{6EDE}\x{6EDF}\x{6EE0}\x{6EE1}\x{6EE2}\x{6EE4}\x{6EE5}\x{6EE6}' .
+'\x{6EE7}\x{6EE8}\x{6EE9}\x{6EEA}\x{6EEB}\x{6EEC}\x{6EED}\x{6EEE}\x{6EEF}' .
+'\x{6EF0}\x{6EF1}\x{6EF2}\x{6EF3}\x{6EF4}\x{6EF5}\x{6EF6}\x{6EF7}\x{6EF8}' .
+'\x{6EF9}\x{6EFA}\x{6EFB}\x{6EFC}\x{6EFD}\x{6EFE}\x{6EFF}\x{6F00}\x{6F01}' .
+'\x{6F02}\x{6F03}\x{6F05}\x{6F06}\x{6F07}\x{6F08}\x{6F09}\x{6F0A}\x{6F0C}' .
+'\x{6F0D}\x{6F0E}\x{6F0F}\x{6F10}\x{6F11}\x{6F12}\x{6F13}\x{6F14}\x{6F15}' .
+'\x{6F16}\x{6F17}\x{6F18}\x{6F19}\x{6F1A}\x{6F1B}\x{6F1C}\x{6F1D}\x{6F1E}' .
+'\x{6F1F}\x{6F20}\x{6F21}\x{6F22}\x{6F23}\x{6F24}\x{6F25}\x{6F26}\x{6F27}' .
+'\x{6F28}\x{6F29}\x{6F2A}\x{6F2B}\x{6F2C}\x{6F2D}\x{6F2E}\x{6F2F}\x{6F30}' .
+'\x{6F31}\x{6F32}\x{6F33}\x{6F34}\x{6F35}\x{6F36}\x{6F37}\x{6F38}\x{6F39}' .
+'\x{6F3A}\x{6F3B}\x{6F3C}\x{6F3D}\x{6F3E}\x{6F3F}\x{6F40}\x{6F41}\x{6F43}' .
+'\x{6F44}\x{6F45}\x{6F46}\x{6F47}\x{6F49}\x{6F4B}\x{6F4C}\x{6F4D}\x{6F4E}' .
+'\x{6F4F}\x{6F50}\x{6F51}\x{6F52}\x{6F53}\x{6F54}\x{6F55}\x{6F56}\x{6F57}' .
+'\x{6F58}\x{6F59}\x{6F5A}\x{6F5B}\x{6F5C}\x{6F5D}\x{6F5E}\x{6F5F}\x{6F60}' .
+'\x{6F61}\x{6F62}\x{6F63}\x{6F64}\x{6F65}\x{6F66}\x{6F67}\x{6F68}\x{6F69}' .
+'\x{6F6A}\x{6F6B}\x{6F6C}\x{6F6D}\x{6F6E}\x{6F6F}\x{6F70}\x{6F71}\x{6F72}' .
+'\x{6F73}\x{6F74}\x{6F75}\x{6F76}\x{6F77}\x{6F78}\x{6F7A}\x{6F7B}\x{6F7C}' .
+'\x{6F7D}\x{6F7E}\x{6F7F}\x{6F80}\x{6F81}\x{6F82}\x{6F83}\x{6F84}\x{6F85}' .
+'\x{6F86}\x{6F87}\x{6F88}\x{6F89}\x{6F8A}\x{6F8B}\x{6F8C}\x{6F8D}\x{6F8E}' .
+'\x{6F8F}\x{6F90}\x{6F91}\x{6F92}\x{6F93}\x{6F94}\x{6F95}\x{6F96}\x{6F97}' .
+'\x{6F99}\x{6F9B}\x{6F9C}\x{6F9D}\x{6F9E}\x{6FA0}\x{6FA1}\x{6FA2}\x{6FA3}' .
+'\x{6FA4}\x{6FA5}\x{6FA6}\x{6FA7}\x{6FA8}\x{6FA9}\x{6FAA}\x{6FAB}\x{6FAC}' .
+'\x{6FAD}\x{6FAE}\x{6FAF}\x{6FB0}\x{6FB1}\x{6FB2}\x{6FB3}\x{6FB4}\x{6FB5}' .
+'\x{6FB6}\x{6FB8}\x{6FB9}\x{6FBA}\x{6FBB}\x{6FBC}\x{6FBD}\x{6FBE}\x{6FBF}' .
+'\x{6FC0}\x{6FC1}\x{6FC2}\x{6FC3}\x{6FC4}\x{6FC6}\x{6FC7}\x{6FC8}\x{6FC9}' .
+'\x{6FCA}\x{6FCB}\x{6FCC}\x{6FCD}\x{6FCE}\x{6FCF}\x{6FD1}\x{6FD2}\x{6FD4}' .
+'\x{6FD5}\x{6FD6}\x{6FD7}\x{6FD8}\x{6FD9}\x{6FDA}\x{6FDB}\x{6FDC}\x{6FDD}' .
+'\x{6FDE}\x{6FDF}\x{6FE0}\x{6FE1}\x{6FE2}\x{6FE3}\x{6FE4}\x{6FE5}\x{6FE6}' .
+'\x{6FE7}\x{6FE8}\x{6FE9}\x{6FEA}\x{6FEB}\x{6FEC}\x{6FED}\x{6FEE}\x{6FEF}' .
+'\x{6FF0}\x{6FF1}\x{6FF2}\x{6FF3}\x{6FF4}\x{6FF6}\x{6FF7}\x{6FF8}\x{6FF9}' .
+'\x{6FFA}\x{6FFB}\x{6FFC}\x{6FFE}\x{6FFF}\x{7000}\x{7001}\x{7002}\x{7003}' .
+'\x{7004}\x{7005}\x{7006}\x{7007}\x{7008}\x{7009}\x{700A}\x{700B}\x{700C}' .
+'\x{700D}\x{700E}\x{700F}\x{7011}\x{7012}\x{7014}\x{7015}\x{7016}\x{7017}' .
+'\x{7018}\x{7019}\x{701A}\x{701B}\x{701C}\x{701D}\x{701F}\x{7020}\x{7021}' .
+'\x{7022}\x{7023}\x{7024}\x{7025}\x{7026}\x{7027}\x{7028}\x{7029}\x{702A}' .
+'\x{702B}\x{702C}\x{702D}\x{702E}\x{702F}\x{7030}\x{7031}\x{7032}\x{7033}' .
+'\x{7034}\x{7035}\x{7036}\x{7037}\x{7038}\x{7039}\x{703A}\x{703B}\x{703C}' .
+'\x{703D}\x{703E}\x{703F}\x{7040}\x{7041}\x{7042}\x{7043}\x{7044}\x{7045}' .
+'\x{7046}\x{7048}\x{7049}\x{704A}\x{704C}\x{704D}\x{704F}\x{7050}\x{7051}' .
+'\x{7052}\x{7053}\x{7054}\x{7055}\x{7056}\x{7057}\x{7058}\x{7059}\x{705A}' .
+'\x{705B}\x{705C}\x{705D}\x{705E}\x{705F}\x{7060}\x{7061}\x{7062}\x{7063}' .
+'\x{7064}\x{7065}\x{7066}\x{7067}\x{7068}\x{7069}\x{706A}\x{706B}\x{706C}' .
+'\x{706D}\x{706E}\x{706F}\x{7070}\x{7071}\x{7074}\x{7075}\x{7076}\x{7077}' .
+'\x{7078}\x{7079}\x{707A}\x{707C}\x{707D}\x{707E}\x{707F}\x{7080}\x{7082}' .
+'\x{7083}\x{7084}\x{7085}\x{7086}\x{7087}\x{7088}\x{7089}\x{708A}\x{708B}' .
+'\x{708C}\x{708E}\x{708F}\x{7090}\x{7091}\x{7092}\x{7093}\x{7094}\x{7095}' .
+'\x{7096}\x{7098}\x{7099}\x{709A}\x{709C}\x{709D}\x{709E}\x{709F}\x{70A0}' .
+'\x{70A1}\x{70A2}\x{70A3}\x{70A4}\x{70A5}\x{70A6}\x{70A7}\x{70A8}\x{70A9}' .
+'\x{70AB}\x{70AC}\x{70AD}\x{70AE}\x{70AF}\x{70B0}\x{70B1}\x{70B3}\x{70B4}' .
+'\x{70B5}\x{70B7}\x{70B8}\x{70B9}\x{70BA}\x{70BB}\x{70BC}\x{70BD}\x{70BE}' .
+'\x{70BF}\x{70C0}\x{70C1}\x{70C2}\x{70C3}\x{70C4}\x{70C5}\x{70C6}\x{70C7}' .
+'\x{70C8}\x{70C9}\x{70CA}\x{70CB}\x{70CC}\x{70CD}\x{70CE}\x{70CF}\x{70D0}' .
+'\x{70D1}\x{70D2}\x{70D3}\x{70D4}\x{70D6}\x{70D7}\x{70D8}\x{70D9}\x{70DA}' .
+'\x{70DB}\x{70DC}\x{70DD}\x{70DE}\x{70DF}\x{70E0}\x{70E1}\x{70E2}\x{70E3}' .
+'\x{70E4}\x{70E5}\x{70E6}\x{70E7}\x{70E8}\x{70E9}\x{70EA}\x{70EB}\x{70EC}' .
+'\x{70ED}\x{70EE}\x{70EF}\x{70F0}\x{70F1}\x{70F2}\x{70F3}\x{70F4}\x{70F5}' .
+'\x{70F6}\x{70F7}\x{70F8}\x{70F9}\x{70FA}\x{70FB}\x{70FC}\x{70FD}\x{70FF}' .
+'\x{7100}\x{7101}\x{7102}\x{7103}\x{7104}\x{7105}\x{7106}\x{7107}\x{7109}' .
+'\x{710A}\x{710B}\x{710C}\x{710D}\x{710E}\x{710F}\x{7110}\x{7111}\x{7112}' .
+'\x{7113}\x{7115}\x{7116}\x{7117}\x{7118}\x{7119}\x{711A}\x{711B}\x{711C}' .
+'\x{711D}\x{711E}\x{711F}\x{7120}\x{7121}\x{7122}\x{7123}\x{7125}\x{7126}' .
+'\x{7127}\x{7128}\x{7129}\x{712A}\x{712B}\x{712C}\x{712D}\x{712E}\x{712F}' .
+'\x{7130}\x{7131}\x{7132}\x{7135}\x{7136}\x{7137}\x{7138}\x{7139}\x{713A}' .
+'\x{713B}\x{713D}\x{713E}\x{713F}\x{7140}\x{7141}\x{7142}\x{7143}\x{7144}' .
+'\x{7145}\x{7146}\x{7147}\x{7148}\x{7149}\x{714A}\x{714B}\x{714C}\x{714D}' .
+'\x{714E}\x{714F}\x{7150}\x{7151}\x{7152}\x{7153}\x{7154}\x{7156}\x{7158}' .
+'\x{7159}\x{715A}\x{715B}\x{715C}\x{715D}\x{715E}\x{715F}\x{7160}\x{7161}' .
+'\x{7162}\x{7163}\x{7164}\x{7165}\x{7166}\x{7167}\x{7168}\x{7169}\x{716A}' .
+'\x{716C}\x{716E}\x{716F}\x{7170}\x{7171}\x{7172}\x{7173}\x{7174}\x{7175}' .
+'\x{7176}\x{7177}\x{7178}\x{7179}\x{717A}\x{717B}\x{717C}\x{717D}\x{717E}' .
+'\x{717F}\x{7180}\x{7181}\x{7182}\x{7183}\x{7184}\x{7185}\x{7186}\x{7187}' .
+'\x{7188}\x{7189}\x{718A}\x{718B}\x{718C}\x{718E}\x{718F}\x{7190}\x{7191}' .
+'\x{7192}\x{7193}\x{7194}\x{7195}\x{7197}\x{7198}\x{7199}\x{719A}\x{719B}' .
+'\x{719C}\x{719D}\x{719E}\x{719F}\x{71A0}\x{71A1}\x{71A2}\x{71A3}\x{71A4}' .
+'\x{71A5}\x{71A7}\x{71A8}\x{71A9}\x{71AA}\x{71AC}\x{71AD}\x{71AE}\x{71AF}' .
+'\x{71B0}\x{71B1}\x{71B2}\x{71B3}\x{71B4}\x{71B5}\x{71B7}\x{71B8}\x{71B9}' .
+'\x{71BA}\x{71BB}\x{71BC}\x{71BD}\x{71BE}\x{71BF}\x{71C0}\x{71C1}\x{71C2}' .
+'\x{71C3}\x{71C4}\x{71C5}\x{71C6}\x{71C7}\x{71C8}\x{71C9}\x{71CA}\x{71CB}' .
+'\x{71CD}\x{71CE}\x{71CF}\x{71D0}\x{71D1}\x{71D2}\x{71D4}\x{71D5}\x{71D6}' .
+'\x{71D7}\x{71D8}\x{71D9}\x{71DA}\x{71DB}\x{71DC}\x{71DD}\x{71DE}\x{71DF}' .
+'\x{71E0}\x{71E1}\x{71E2}\x{71E3}\x{71E4}\x{71E5}\x{71E6}\x{71E7}\x{71E8}' .
+'\x{71E9}\x{71EA}\x{71EB}\x{71EC}\x{71ED}\x{71EE}\x{71EF}\x{71F0}\x{71F1}' .
+'\x{71F2}\x{71F4}\x{71F5}\x{71F6}\x{71F7}\x{71F8}\x{71F9}\x{71FB}\x{71FC}' .
+'\x{71FD}\x{71FE}\x{71FF}\x{7201}\x{7202}\x{7203}\x{7204}\x{7205}\x{7206}' .
+'\x{7207}\x{7208}\x{7209}\x{720A}\x{720C}\x{720D}\x{720E}\x{720F}\x{7210}' .
+'\x{7212}\x{7213}\x{7214}\x{7216}\x{7218}\x{7219}\x{721A}\x{721B}\x{721C}' .
+'\x{721D}\x{721E}\x{721F}\x{7221}\x{7222}\x{7223}\x{7226}\x{7227}\x{7228}' .
+'\x{7229}\x{722A}\x{722B}\x{722C}\x{722D}\x{722E}\x{7230}\x{7231}\x{7232}' .
+'\x{7233}\x{7235}\x{7236}\x{7237}\x{7238}\x{7239}\x{723A}\x{723B}\x{723C}' .
+'\x{723D}\x{723E}\x{723F}\x{7240}\x{7241}\x{7242}\x{7243}\x{7244}\x{7246}' .
+'\x{7247}\x{7248}\x{7249}\x{724A}\x{724B}\x{724C}\x{724D}\x{724F}\x{7251}' .
+'\x{7252}\x{7253}\x{7254}\x{7256}\x{7257}\x{7258}\x{7259}\x{725A}\x{725B}' .
+'\x{725C}\x{725D}\x{725E}\x{725F}\x{7260}\x{7261}\x{7262}\x{7263}\x{7264}' .
+'\x{7265}\x{7266}\x{7267}\x{7268}\x{7269}\x{726A}\x{726B}\x{726C}\x{726D}' .
+'\x{726E}\x{726F}\x{7270}\x{7271}\x{7272}\x{7273}\x{7274}\x{7275}\x{7276}' .
+'\x{7277}\x{7278}\x{7279}\x{727A}\x{727B}\x{727C}\x{727D}\x{727E}\x{727F}' .
+'\x{7280}\x{7281}\x{7282}\x{7283}\x{7284}\x{7285}\x{7286}\x{7287}\x{7288}' .
+'\x{7289}\x{728A}\x{728B}\x{728C}\x{728D}\x{728E}\x{728F}\x{7290}\x{7291}' .
+'\x{7292}\x{7293}\x{7294}\x{7295}\x{7296}\x{7297}\x{7298}\x{7299}\x{729A}' .
+'\x{729B}\x{729C}\x{729D}\x{729E}\x{729F}\x{72A1}\x{72A2}\x{72A3}\x{72A4}' .
+'\x{72A5}\x{72A6}\x{72A7}\x{72A8}\x{72A9}\x{72AA}\x{72AC}\x{72AD}\x{72AE}' .
+'\x{72AF}\x{72B0}\x{72B1}\x{72B2}\x{72B3}\x{72B4}\x{72B5}\x{72B6}\x{72B7}' .
+'\x{72B8}\x{72B9}\x{72BA}\x{72BB}\x{72BC}\x{72BD}\x{72BF}\x{72C0}\x{72C1}' .
+'\x{72C2}\x{72C3}\x{72C4}\x{72C5}\x{72C6}\x{72C7}\x{72C8}\x{72C9}\x{72CA}' .
+'\x{72CB}\x{72CC}\x{72CD}\x{72CE}\x{72CF}\x{72D0}\x{72D1}\x{72D2}\x{72D3}' .
+'\x{72D4}\x{72D5}\x{72D6}\x{72D7}\x{72D8}\x{72D9}\x{72DA}\x{72DB}\x{72DC}' .
+'\x{72DD}\x{72DE}\x{72DF}\x{72E0}\x{72E1}\x{72E2}\x{72E3}\x{72E4}\x{72E5}' .
+'\x{72E6}\x{72E7}\x{72E8}\x{72E9}\x{72EA}\x{72EB}\x{72EC}\x{72ED}\x{72EE}' .
+'\x{72EF}\x{72F0}\x{72F1}\x{72F2}\x{72F3}\x{72F4}\x{72F5}\x{72F6}\x{72F7}' .
+'\x{72F8}\x{72F9}\x{72FA}\x{72FB}\x{72FC}\x{72FD}\x{72FE}\x{72FF}\x{7300}' .
+'\x{7301}\x{7303}\x{7304}\x{7305}\x{7306}\x{7307}\x{7308}\x{7309}\x{730A}' .
+'\x{730B}\x{730C}\x{730D}\x{730E}\x{730F}\x{7311}\x{7312}\x{7313}\x{7314}' .
+'\x{7315}\x{7316}\x{7317}\x{7318}\x{7319}\x{731A}\x{731B}\x{731C}\x{731D}' .
+'\x{731E}\x{7320}\x{7321}\x{7322}\x{7323}\x{7324}\x{7325}\x{7326}\x{7327}' .
+'\x{7329}\x{732A}\x{732B}\x{732C}\x{732D}\x{732E}\x{7330}\x{7331}\x{7332}' .
+'\x{7333}\x{7334}\x{7335}\x{7336}\x{7337}\x{7338}\x{7339}\x{733A}\x{733B}' .
+'\x{733C}\x{733D}\x{733E}\x{733F}\x{7340}\x{7341}\x{7342}\x{7343}\x{7344}' .
+'\x{7345}\x{7346}\x{7347}\x{7348}\x{7349}\x{734A}\x{734B}\x{734C}\x{734D}' .
+'\x{734E}\x{7350}\x{7351}\x{7352}\x{7354}\x{7355}\x{7356}\x{7357}\x{7358}' .
+'\x{7359}\x{735A}\x{735B}\x{735C}\x{735D}\x{735E}\x{735F}\x{7360}\x{7361}' .
+'\x{7362}\x{7364}\x{7365}\x{7366}\x{7367}\x{7368}\x{7369}\x{736A}\x{736B}' .
+'\x{736C}\x{736D}\x{736E}\x{736F}\x{7370}\x{7371}\x{7372}\x{7373}\x{7374}' .
+'\x{7375}\x{7376}\x{7377}\x{7378}\x{7379}\x{737A}\x{737B}\x{737C}\x{737D}' .
+'\x{737E}\x{737F}\x{7380}\x{7381}\x{7382}\x{7383}\x{7384}\x{7385}\x{7386}' .
+'\x{7387}\x{7388}\x{7389}\x{738A}\x{738B}\x{738C}\x{738D}\x{738E}\x{738F}' .
+'\x{7390}\x{7391}\x{7392}\x{7393}\x{7394}\x{7395}\x{7396}\x{7397}\x{7398}' .
+'\x{7399}\x{739A}\x{739B}\x{739D}\x{739E}\x{739F}\x{73A0}\x{73A1}\x{73A2}' .
+'\x{73A3}\x{73A4}\x{73A5}\x{73A6}\x{73A7}\x{73A8}\x{73A9}\x{73AA}\x{73AB}' .
+'\x{73AC}\x{73AD}\x{73AE}\x{73AF}\x{73B0}\x{73B1}\x{73B2}\x{73B3}\x{73B4}' .
+'\x{73B5}\x{73B6}\x{73B7}\x{73B8}\x{73B9}\x{73BA}\x{73BB}\x{73BC}\x{73BD}' .
+'\x{73BE}\x{73BF}\x{73C0}\x{73C2}\x{73C3}\x{73C4}\x{73C5}\x{73C6}\x{73C7}' .
+'\x{73C8}\x{73C9}\x{73CA}\x{73CB}\x{73CC}\x{73CD}\x{73CE}\x{73CF}\x{73D0}' .
+'\x{73D1}\x{73D2}\x{73D3}\x{73D4}\x{73D5}\x{73D6}\x{73D7}\x{73D8}\x{73D9}' .
+'\x{73DA}\x{73DB}\x{73DC}\x{73DD}\x{73DE}\x{73DF}\x{73E0}\x{73E2}\x{73E3}' .
+'\x{73E5}\x{73E6}\x{73E7}\x{73E8}\x{73E9}\x{73EA}\x{73EB}\x{73EC}\x{73ED}' .
+'\x{73EE}\x{73EF}\x{73F0}\x{73F1}\x{73F2}\x{73F4}\x{73F5}\x{73F6}\x{73F7}' .
+'\x{73F8}\x{73F9}\x{73FA}\x{73FC}\x{73FD}\x{73FE}\x{73FF}\x{7400}\x{7401}' .
+'\x{7402}\x{7403}\x{7404}\x{7405}\x{7406}\x{7407}\x{7408}\x{7409}\x{740A}' .
+'\x{740B}\x{740C}\x{740D}\x{740E}\x{740F}\x{7410}\x{7411}\x{7412}\x{7413}' .
+'\x{7414}\x{7415}\x{7416}\x{7417}\x{7419}\x{741A}\x{741B}\x{741C}\x{741D}' .
+'\x{741E}\x{741F}\x{7420}\x{7421}\x{7422}\x{7423}\x{7424}\x{7425}\x{7426}' .
+'\x{7427}\x{7428}\x{7429}\x{742A}\x{742B}\x{742C}\x{742D}\x{742E}\x{742F}' .
+'\x{7430}\x{7431}\x{7432}\x{7433}\x{7434}\x{7435}\x{7436}\x{7437}\x{7438}' .
+'\x{743A}\x{743B}\x{743C}\x{743D}\x{743F}\x{7440}\x{7441}\x{7442}\x{7443}' .
+'\x{7444}\x{7445}\x{7446}\x{7448}\x{744A}\x{744B}\x{744C}\x{744D}\x{744E}' .
+'\x{744F}\x{7450}\x{7451}\x{7452}\x{7453}\x{7454}\x{7455}\x{7456}\x{7457}' .
+'\x{7459}\x{745A}\x{745B}\x{745C}\x{745D}\x{745E}\x{745F}\x{7461}\x{7462}' .
+'\x{7463}\x{7464}\x{7465}\x{7466}\x{7467}\x{7468}\x{7469}\x{746A}\x{746B}' .
+'\x{746C}\x{746D}\x{746E}\x{746F}\x{7470}\x{7471}\x{7472}\x{7473}\x{7474}' .
+'\x{7475}\x{7476}\x{7477}\x{7478}\x{7479}\x{747A}\x{747C}\x{747D}\x{747E}' .
+'\x{747F}\x{7480}\x{7481}\x{7482}\x{7483}\x{7485}\x{7486}\x{7487}\x{7488}' .
+'\x{7489}\x{748A}\x{748B}\x{748C}\x{748D}\x{748E}\x{748F}\x{7490}\x{7491}' .
+'\x{7492}\x{7493}\x{7494}\x{7495}\x{7497}\x{7498}\x{7499}\x{749A}\x{749B}' .
+'\x{749C}\x{749E}\x{749F}\x{74A0}\x{74A1}\x{74A3}\x{74A4}\x{74A5}\x{74A6}' .
+'\x{74A7}\x{74A8}\x{74A9}\x{74AA}\x{74AB}\x{74AC}\x{74AD}\x{74AE}\x{74AF}' .
+'\x{74B0}\x{74B1}\x{74B2}\x{74B3}\x{74B4}\x{74B5}\x{74B6}\x{74B7}\x{74B8}' .
+'\x{74B9}\x{74BA}\x{74BB}\x{74BC}\x{74BD}\x{74BE}\x{74BF}\x{74C0}\x{74C1}' .
+'\x{74C2}\x{74C3}\x{74C4}\x{74C5}\x{74C6}\x{74CA}\x{74CB}\x{74CD}\x{74CE}' .
+'\x{74CF}\x{74D0}\x{74D1}\x{74D2}\x{74D3}\x{74D4}\x{74D5}\x{74D6}\x{74D7}' .
+'\x{74D8}\x{74D9}\x{74DA}\x{74DB}\x{74DC}\x{74DD}\x{74DE}\x{74DF}\x{74E0}' .
+'\x{74E1}\x{74E2}\x{74E3}\x{74E4}\x{74E5}\x{74E6}\x{74E7}\x{74E8}\x{74E9}' .
+'\x{74EA}\x{74EC}\x{74ED}\x{74EE}\x{74EF}\x{74F0}\x{74F1}\x{74F2}\x{74F3}' .
+'\x{74F4}\x{74F5}\x{74F6}\x{74F7}\x{74F8}\x{74F9}\x{74FA}\x{74FB}\x{74FC}' .
+'\x{74FD}\x{74FE}\x{74FF}\x{7500}\x{7501}\x{7502}\x{7503}\x{7504}\x{7505}' .
+'\x{7506}\x{7507}\x{7508}\x{7509}\x{750A}\x{750B}\x{750C}\x{750D}\x{750F}' .
+'\x{7510}\x{7511}\x{7512}\x{7513}\x{7514}\x{7515}\x{7516}\x{7517}\x{7518}' .
+'\x{7519}\x{751A}\x{751B}\x{751C}\x{751D}\x{751E}\x{751F}\x{7521}\x{7522}' .
+'\x{7523}\x{7524}\x{7525}\x{7526}\x{7527}\x{7528}\x{7529}\x{752A}\x{752B}' .
+'\x{752C}\x{752D}\x{752E}\x{752F}\x{7530}\x{7531}\x{7532}\x{7533}\x{7535}' .
+'\x{7536}\x{7537}\x{7538}\x{7539}\x{753A}\x{753B}\x{753C}\x{753D}\x{753E}' .
+'\x{753F}\x{7540}\x{7542}\x{7543}\x{7544}\x{7545}\x{7546}\x{7547}\x{7548}' .
+'\x{7549}\x{754B}\x{754C}\x{754D}\x{754E}\x{754F}\x{7550}\x{7551}\x{7553}' .
+'\x{7554}\x{7556}\x{7557}\x{7558}\x{7559}\x{755A}\x{755B}\x{755C}\x{755D}' .
+'\x{755F}\x{7560}\x{7562}\x{7563}\x{7564}\x{7565}\x{7566}\x{7567}\x{7568}' .
+'\x{7569}\x{756A}\x{756B}\x{756C}\x{756D}\x{756E}\x{756F}\x{7570}\x{7572}' .
+'\x{7574}\x{7575}\x{7576}\x{7577}\x{7578}\x{7579}\x{757C}\x{757D}\x{757E}' .
+'\x{757F}\x{7580}\x{7581}\x{7582}\x{7583}\x{7584}\x{7586}\x{7587}\x{7588}' .
+'\x{7589}\x{758A}\x{758B}\x{758C}\x{758D}\x{758F}\x{7590}\x{7591}\x{7592}' .
+'\x{7593}\x{7594}\x{7595}\x{7596}\x{7597}\x{7598}\x{7599}\x{759A}\x{759B}' .
+'\x{759C}\x{759D}\x{759E}\x{759F}\x{75A0}\x{75A1}\x{75A2}\x{75A3}\x{75A4}' .
+'\x{75A5}\x{75A6}\x{75A7}\x{75A8}\x{75AA}\x{75AB}\x{75AC}\x{75AD}\x{75AE}' .
+'\x{75AF}\x{75B0}\x{75B1}\x{75B2}\x{75B3}\x{75B4}\x{75B5}\x{75B6}\x{75B8}' .
+'\x{75B9}\x{75BA}\x{75BB}\x{75BC}\x{75BD}\x{75BE}\x{75BF}\x{75C0}\x{75C1}' .
+'\x{75C2}\x{75C3}\x{75C4}\x{75C5}\x{75C6}\x{75C7}\x{75C8}\x{75C9}\x{75CA}' .
+'\x{75CB}\x{75CC}\x{75CD}\x{75CE}\x{75CF}\x{75D0}\x{75D1}\x{75D2}\x{75D3}' .
+'\x{75D4}\x{75D5}\x{75D6}\x{75D7}\x{75D8}\x{75D9}\x{75DA}\x{75DB}\x{75DD}' .
+'\x{75DE}\x{75DF}\x{75E0}\x{75E1}\x{75E2}\x{75E3}\x{75E4}\x{75E5}\x{75E6}' .
+'\x{75E7}\x{75E8}\x{75EA}\x{75EB}\x{75EC}\x{75ED}\x{75EF}\x{75F0}\x{75F1}' .
+'\x{75F2}\x{75F3}\x{75F4}\x{75F5}\x{75F6}\x{75F7}\x{75F8}\x{75F9}\x{75FA}' .
+'\x{75FB}\x{75FC}\x{75FD}\x{75FE}\x{75FF}\x{7600}\x{7601}\x{7602}\x{7603}' .
+'\x{7604}\x{7605}\x{7606}\x{7607}\x{7608}\x{7609}\x{760A}\x{760B}\x{760C}' .
+'\x{760D}\x{760E}\x{760F}\x{7610}\x{7611}\x{7612}\x{7613}\x{7614}\x{7615}' .
+'\x{7616}\x{7617}\x{7618}\x{7619}\x{761A}\x{761B}\x{761C}\x{761D}\x{761E}' .
+'\x{761F}\x{7620}\x{7621}\x{7622}\x{7623}\x{7624}\x{7625}\x{7626}\x{7627}' .
+'\x{7628}\x{7629}\x{762A}\x{762B}\x{762D}\x{762E}\x{762F}\x{7630}\x{7631}' .
+'\x{7632}\x{7633}\x{7634}\x{7635}\x{7636}\x{7637}\x{7638}\x{7639}\x{763A}' .
+'\x{763B}\x{763C}\x{763D}\x{763E}\x{763F}\x{7640}\x{7641}\x{7642}\x{7643}' .
+'\x{7646}\x{7647}\x{7648}\x{7649}\x{764A}\x{764B}\x{764C}\x{764D}\x{764F}' .
+'\x{7650}\x{7652}\x{7653}\x{7654}\x{7656}\x{7657}\x{7658}\x{7659}\x{765A}' .
+'\x{765B}\x{765C}\x{765D}\x{765E}\x{765F}\x{7660}\x{7661}\x{7662}\x{7663}' .
+'\x{7664}\x{7665}\x{7666}\x{7667}\x{7668}\x{7669}\x{766A}\x{766B}\x{766C}' .
+'\x{766D}\x{766E}\x{766F}\x{7670}\x{7671}\x{7672}\x{7674}\x{7675}\x{7676}' .
+'\x{7677}\x{7678}\x{7679}\x{767B}\x{767C}\x{767D}\x{767E}\x{767F}\x{7680}' .
+'\x{7681}\x{7682}\x{7683}\x{7684}\x{7685}\x{7686}\x{7687}\x{7688}\x{7689}' .
+'\x{768A}\x{768B}\x{768C}\x{768E}\x{768F}\x{7690}\x{7691}\x{7692}\x{7693}' .
+'\x{7694}\x{7695}\x{7696}\x{7697}\x{7698}\x{7699}\x{769A}\x{769B}\x{769C}' .
+'\x{769D}\x{769E}\x{769F}\x{76A0}\x{76A3}\x{76A4}\x{76A6}\x{76A7}\x{76A9}' .
+'\x{76AA}\x{76AB}\x{76AC}\x{76AD}\x{76AE}\x{76AF}\x{76B0}\x{76B1}\x{76B2}' .
+'\x{76B4}\x{76B5}\x{76B7}\x{76B8}\x{76BA}\x{76BB}\x{76BC}\x{76BD}\x{76BE}' .
+'\x{76BF}\x{76C0}\x{76C2}\x{76C3}\x{76C4}\x{76C5}\x{76C6}\x{76C7}\x{76C8}' .
+'\x{76C9}\x{76CA}\x{76CD}\x{76CE}\x{76CF}\x{76D0}\x{76D1}\x{76D2}\x{76D3}' .
+'\x{76D4}\x{76D5}\x{76D6}\x{76D7}\x{76D8}\x{76DA}\x{76DB}\x{76DC}\x{76DD}' .
+'\x{76DE}\x{76DF}\x{76E0}\x{76E1}\x{76E2}\x{76E3}\x{76E4}\x{76E5}\x{76E6}' .
+'\x{76E7}\x{76E8}\x{76E9}\x{76EA}\x{76EC}\x{76ED}\x{76EE}\x{76EF}\x{76F0}' .
+'\x{76F1}\x{76F2}\x{76F3}\x{76F4}\x{76F5}\x{76F6}\x{76F7}\x{76F8}\x{76F9}' .
+'\x{76FA}\x{76FB}\x{76FC}\x{76FD}\x{76FE}\x{76FF}\x{7701}\x{7703}\x{7704}' .
+'\x{7705}\x{7706}\x{7707}\x{7708}\x{7709}\x{770A}\x{770B}\x{770C}\x{770D}' .
+'\x{770F}\x{7710}\x{7711}\x{7712}\x{7713}\x{7714}\x{7715}\x{7716}\x{7717}' .
+'\x{7718}\x{7719}\x{771A}\x{771B}\x{771C}\x{771D}\x{771E}\x{771F}\x{7720}' .
+'\x{7722}\x{7723}\x{7725}\x{7726}\x{7727}\x{7728}\x{7729}\x{772A}\x{772C}' .
+'\x{772D}\x{772E}\x{772F}\x{7730}\x{7731}\x{7732}\x{7733}\x{7734}\x{7735}' .
+'\x{7736}\x{7737}\x{7738}\x{7739}\x{773A}\x{773B}\x{773C}\x{773D}\x{773E}' .
+'\x{7740}\x{7741}\x{7743}\x{7744}\x{7745}\x{7746}\x{7747}\x{7748}\x{7749}' .
+'\x{774A}\x{774B}\x{774C}\x{774D}\x{774E}\x{774F}\x{7750}\x{7751}\x{7752}' .
+'\x{7753}\x{7754}\x{7755}\x{7756}\x{7757}\x{7758}\x{7759}\x{775A}\x{775B}' .
+'\x{775C}\x{775D}\x{775E}\x{775F}\x{7760}\x{7761}\x{7762}\x{7763}\x{7765}' .
+'\x{7766}\x{7767}\x{7768}\x{7769}\x{776A}\x{776B}\x{776C}\x{776D}\x{776E}' .
+'\x{776F}\x{7770}\x{7771}\x{7772}\x{7773}\x{7774}\x{7775}\x{7776}\x{7777}' .
+'\x{7778}\x{7779}\x{777A}\x{777B}\x{777C}\x{777D}\x{777E}\x{777F}\x{7780}' .
+'\x{7781}\x{7782}\x{7783}\x{7784}\x{7785}\x{7786}\x{7787}\x{7788}\x{7789}' .
+'\x{778A}\x{778B}\x{778C}\x{778D}\x{778E}\x{778F}\x{7790}\x{7791}\x{7792}' .
+'\x{7793}\x{7794}\x{7795}\x{7797}\x{7798}\x{7799}\x{779A}\x{779B}\x{779C}' .
+'\x{779D}\x{779E}\x{779F}\x{77A0}\x{77A1}\x{77A2}\x{77A3}\x{77A5}\x{77A6}' .
+'\x{77A7}\x{77A8}\x{77A9}\x{77AA}\x{77AB}\x{77AC}\x{77AD}\x{77AE}\x{77AF}' .
+'\x{77B0}\x{77B1}\x{77B2}\x{77B3}\x{77B4}\x{77B5}\x{77B6}\x{77B7}\x{77B8}' .
+'\x{77B9}\x{77BA}\x{77BB}\x{77BC}\x{77BD}\x{77BF}\x{77C0}\x{77C2}\x{77C3}' .
+'\x{77C4}\x{77C5}\x{77C6}\x{77C7}\x{77C8}\x{77C9}\x{77CA}\x{77CB}\x{77CC}' .
+'\x{77CD}\x{77CE}\x{77CF}\x{77D0}\x{77D1}\x{77D3}\x{77D4}\x{77D5}\x{77D6}' .
+'\x{77D7}\x{77D8}\x{77D9}\x{77DA}\x{77DB}\x{77DC}\x{77DE}\x{77DF}\x{77E0}' .
+'\x{77E1}\x{77E2}\x{77E3}\x{77E5}\x{77E7}\x{77E8}\x{77E9}\x{77EA}\x{77EB}' .
+'\x{77EC}\x{77ED}\x{77EE}\x{77EF}\x{77F0}\x{77F1}\x{77F2}\x{77F3}\x{77F6}' .
+'\x{77F7}\x{77F8}\x{77F9}\x{77FA}\x{77FB}\x{77FC}\x{77FD}\x{77FE}\x{77FF}' .
+'\x{7800}\x{7801}\x{7802}\x{7803}\x{7804}\x{7805}\x{7806}\x{7808}\x{7809}' .
+'\x{780A}\x{780B}\x{780C}\x{780D}\x{780E}\x{780F}\x{7810}\x{7811}\x{7812}' .
+'\x{7813}\x{7814}\x{7815}\x{7816}\x{7817}\x{7818}\x{7819}\x{781A}\x{781B}' .
+'\x{781C}\x{781D}\x{781E}\x{781F}\x{7820}\x{7821}\x{7822}\x{7823}\x{7825}' .
+'\x{7826}\x{7827}\x{7828}\x{7829}\x{782A}\x{782B}\x{782C}\x{782D}\x{782E}' .
+'\x{782F}\x{7830}\x{7831}\x{7832}\x{7833}\x{7834}\x{7835}\x{7837}\x{7838}' .
+'\x{7839}\x{783A}\x{783B}\x{783C}\x{783D}\x{783E}\x{7840}\x{7841}\x{7843}' .
+'\x{7844}\x{7845}\x{7847}\x{7848}\x{7849}\x{784A}\x{784C}\x{784D}\x{784E}' .
+'\x{7850}\x{7851}\x{7852}\x{7853}\x{7854}\x{7855}\x{7856}\x{7857}\x{7858}' .
+'\x{7859}\x{785A}\x{785B}\x{785C}\x{785D}\x{785E}\x{785F}\x{7860}\x{7861}' .
+'\x{7862}\x{7863}\x{7864}\x{7865}\x{7866}\x{7867}\x{7868}\x{7869}\x{786A}' .
+'\x{786B}\x{786C}\x{786D}\x{786E}\x{786F}\x{7870}\x{7871}\x{7872}\x{7873}' .
+'\x{7874}\x{7875}\x{7877}\x{7878}\x{7879}\x{787A}\x{787B}\x{787C}\x{787D}' .
+'\x{787E}\x{787F}\x{7880}\x{7881}\x{7882}\x{7883}\x{7884}\x{7885}\x{7886}' .
+'\x{7887}\x{7889}\x{788A}\x{788B}\x{788C}\x{788D}\x{788E}\x{788F}\x{7890}' .
+'\x{7891}\x{7892}\x{7893}\x{7894}\x{7895}\x{7896}\x{7897}\x{7898}\x{7899}' .
+'\x{789A}\x{789B}\x{789C}\x{789D}\x{789E}\x{789F}\x{78A0}\x{78A1}\x{78A2}' .
+'\x{78A3}\x{78A4}\x{78A5}\x{78A6}\x{78A7}\x{78A8}\x{78A9}\x{78AA}\x{78AB}' .
+'\x{78AC}\x{78AD}\x{78AE}\x{78AF}\x{78B0}\x{78B1}\x{78B2}\x{78B3}\x{78B4}' .
+'\x{78B5}\x{78B6}\x{78B7}\x{78B8}\x{78B9}\x{78BA}\x{78BB}\x{78BC}\x{78BD}' .
+'\x{78BE}\x{78BF}\x{78C0}\x{78C1}\x{78C3}\x{78C4}\x{78C5}\x{78C6}\x{78C8}' .
+'\x{78C9}\x{78CA}\x{78CB}\x{78CC}\x{78CD}\x{78CE}\x{78CF}\x{78D0}\x{78D1}' .
+'\x{78D3}\x{78D4}\x{78D5}\x{78D6}\x{78D7}\x{78D8}\x{78D9}\x{78DA}\x{78DB}' .
+'\x{78DC}\x{78DD}\x{78DE}\x{78DF}\x{78E0}\x{78E1}\x{78E2}\x{78E3}\x{78E4}' .
+'\x{78E5}\x{78E6}\x{78E7}\x{78E8}\x{78E9}\x{78EA}\x{78EB}\x{78EC}\x{78ED}' .
+'\x{78EE}\x{78EF}\x{78F1}\x{78F2}\x{78F3}\x{78F4}\x{78F5}\x{78F6}\x{78F7}' .
+'\x{78F9}\x{78FA}\x{78FB}\x{78FC}\x{78FD}\x{78FE}\x{78FF}\x{7901}\x{7902}' .
+'\x{7903}\x{7904}\x{7905}\x{7906}\x{7907}\x{7909}\x{790A}\x{790B}\x{790C}' .
+'\x{790E}\x{790F}\x{7910}\x{7911}\x{7912}\x{7913}\x{7914}\x{7916}\x{7917}' .
+'\x{7918}\x{7919}\x{791A}\x{791B}\x{791C}\x{791D}\x{791E}\x{7921}\x{7922}' .
+'\x{7923}\x{7924}\x{7925}\x{7926}\x{7927}\x{7928}\x{7929}\x{792A}\x{792B}' .
+'\x{792C}\x{792D}\x{792E}\x{792F}\x{7930}\x{7931}\x{7933}\x{7934}\x{7935}' .
+'\x{7937}\x{7938}\x{7939}\x{793A}\x{793B}\x{793C}\x{793D}\x{793E}\x{793F}' .
+'\x{7940}\x{7941}\x{7942}\x{7943}\x{7944}\x{7945}\x{7946}\x{7947}\x{7948}' .
+'\x{7949}\x{794A}\x{794B}\x{794C}\x{794D}\x{794E}\x{794F}\x{7950}\x{7951}' .
+'\x{7952}\x{7953}\x{7954}\x{7955}\x{7956}\x{7957}\x{7958}\x{795A}\x{795B}' .
+'\x{795C}\x{795D}\x{795E}\x{795F}\x{7960}\x{7961}\x{7962}\x{7963}\x{7964}' .
+'\x{7965}\x{7966}\x{7967}\x{7968}\x{7969}\x{796A}\x{796B}\x{796D}\x{796F}' .
+'\x{7970}\x{7971}\x{7972}\x{7973}\x{7974}\x{7977}\x{7978}\x{7979}\x{797A}' .
+'\x{797B}\x{797C}\x{797D}\x{797E}\x{797F}\x{7980}\x{7981}\x{7982}\x{7983}' .
+'\x{7984}\x{7985}\x{7988}\x{7989}\x{798A}\x{798B}\x{798C}\x{798D}\x{798E}' .
+'\x{798F}\x{7990}\x{7991}\x{7992}\x{7993}\x{7994}\x{7995}\x{7996}\x{7997}' .
+'\x{7998}\x{7999}\x{799A}\x{799B}\x{799C}\x{799F}\x{79A0}\x{79A1}\x{79A2}' .
+'\x{79A3}\x{79A4}\x{79A5}\x{79A6}\x{79A7}\x{79A8}\x{79AA}\x{79AB}\x{79AC}' .
+'\x{79AD}\x{79AE}\x{79AF}\x{79B0}\x{79B1}\x{79B2}\x{79B3}\x{79B4}\x{79B5}' .
+'\x{79B6}\x{79B7}\x{79B8}\x{79B9}\x{79BA}\x{79BB}\x{79BD}\x{79BE}\x{79BF}' .
+'\x{79C0}\x{79C1}\x{79C2}\x{79C3}\x{79C5}\x{79C6}\x{79C8}\x{79C9}\x{79CA}' .
+'\x{79CB}\x{79CD}\x{79CE}\x{79CF}\x{79D0}\x{79D1}\x{79D2}\x{79D3}\x{79D5}' .
+'\x{79D6}\x{79D8}\x{79D9}\x{79DA}\x{79DB}\x{79DC}\x{79DD}\x{79DE}\x{79DF}' .
+'\x{79E0}\x{79E1}\x{79E2}\x{79E3}\x{79E4}\x{79E5}\x{79E6}\x{79E7}\x{79E8}' .
+'\x{79E9}\x{79EA}\x{79EB}\x{79EC}\x{79ED}\x{79EE}\x{79EF}\x{79F0}\x{79F1}' .
+'\x{79F2}\x{79F3}\x{79F4}\x{79F5}\x{79F6}\x{79F7}\x{79F8}\x{79F9}\x{79FA}' .
+'\x{79FB}\x{79FC}\x{79FD}\x{79FE}\x{79FF}\x{7A00}\x{7A02}\x{7A03}\x{7A04}' .
+'\x{7A05}\x{7A06}\x{7A08}\x{7A0A}\x{7A0B}\x{7A0C}\x{7A0D}\x{7A0E}\x{7A0F}' .
+'\x{7A10}\x{7A11}\x{7A12}\x{7A13}\x{7A14}\x{7A15}\x{7A16}\x{7A17}\x{7A18}' .
+'\x{7A19}\x{7A1A}\x{7A1B}\x{7A1C}\x{7A1D}\x{7A1E}\x{7A1F}\x{7A20}\x{7A21}' .
+'\x{7A22}\x{7A23}\x{7A24}\x{7A25}\x{7A26}\x{7A27}\x{7A28}\x{7A29}\x{7A2A}' .
+'\x{7A2B}\x{7A2D}\x{7A2E}\x{7A2F}\x{7A30}\x{7A31}\x{7A32}\x{7A33}\x{7A34}' .
+'\x{7A35}\x{7A37}\x{7A39}\x{7A3B}\x{7A3C}\x{7A3D}\x{7A3E}\x{7A3F}\x{7A40}' .
+'\x{7A41}\x{7A42}\x{7A43}\x{7A44}\x{7A45}\x{7A46}\x{7A47}\x{7A48}\x{7A49}' .
+'\x{7A4A}\x{7A4B}\x{7A4C}\x{7A4D}\x{7A4E}\x{7A50}\x{7A51}\x{7A52}\x{7A53}' .
+'\x{7A54}\x{7A55}\x{7A56}\x{7A57}\x{7A58}\x{7A59}\x{7A5A}\x{7A5B}\x{7A5C}' .
+'\x{7A5D}\x{7A5E}\x{7A5F}\x{7A60}\x{7A61}\x{7A62}\x{7A65}\x{7A66}\x{7A67}' .
+'\x{7A68}\x{7A69}\x{7A6B}\x{7A6C}\x{7A6D}\x{7A6E}\x{7A70}\x{7A71}\x{7A72}' .
+'\x{7A73}\x{7A74}\x{7A75}\x{7A76}\x{7A77}\x{7A78}\x{7A79}\x{7A7A}\x{7A7B}' .
+'\x{7A7C}\x{7A7D}\x{7A7E}\x{7A7F}\x{7A80}\x{7A81}\x{7A83}\x{7A84}\x{7A85}' .
+'\x{7A86}\x{7A87}\x{7A88}\x{7A89}\x{7A8A}\x{7A8B}\x{7A8C}\x{7A8D}\x{7A8E}' .
+'\x{7A8F}\x{7A90}\x{7A91}\x{7A92}\x{7A93}\x{7A94}\x{7A95}\x{7A96}\x{7A97}' .
+'\x{7A98}\x{7A99}\x{7A9C}\x{7A9D}\x{7A9E}\x{7A9F}\x{7AA0}\x{7AA1}\x{7AA2}' .
+'\x{7AA3}\x{7AA4}\x{7AA5}\x{7AA6}\x{7AA7}\x{7AA8}\x{7AA9}\x{7AAA}\x{7AAB}' .
+'\x{7AAC}\x{7AAD}\x{7AAE}\x{7AAF}\x{7AB0}\x{7AB1}\x{7AB2}\x{7AB3}\x{7AB4}' .
+'\x{7AB5}\x{7AB6}\x{7AB7}\x{7AB8}\x{7ABA}\x{7ABE}\x{7ABF}\x{7AC0}\x{7AC1}' .
+'\x{7AC4}\x{7AC5}\x{7AC7}\x{7AC8}\x{7AC9}\x{7ACA}\x{7ACB}\x{7ACC}\x{7ACD}' .
+'\x{7ACE}\x{7ACF}\x{7AD0}\x{7AD1}\x{7AD2}\x{7AD3}\x{7AD4}\x{7AD5}\x{7AD6}' .
+'\x{7AD8}\x{7AD9}\x{7ADB}\x{7ADC}\x{7ADD}\x{7ADE}\x{7ADF}\x{7AE0}\x{7AE1}' .
+'\x{7AE2}\x{7AE3}\x{7AE4}\x{7AE5}\x{7AE6}\x{7AE7}\x{7AE8}\x{7AEA}\x{7AEB}' .
+'\x{7AEC}\x{7AED}\x{7AEE}\x{7AEF}\x{7AF0}\x{7AF1}\x{7AF2}\x{7AF3}\x{7AF4}' .
+'\x{7AF6}\x{7AF7}\x{7AF8}\x{7AF9}\x{7AFA}\x{7AFB}\x{7AFD}\x{7AFE}\x{7AFF}' .
+'\x{7B00}\x{7B01}\x{7B02}\x{7B03}\x{7B04}\x{7B05}\x{7B06}\x{7B08}\x{7B09}' .
+'\x{7B0A}\x{7B0B}\x{7B0C}\x{7B0D}\x{7B0E}\x{7B0F}\x{7B10}\x{7B11}\x{7B12}' .
+'\x{7B13}\x{7B14}\x{7B15}\x{7B16}\x{7B17}\x{7B18}\x{7B19}\x{7B1A}\x{7B1B}' .
+'\x{7B1C}\x{7B1D}\x{7B1E}\x{7B20}\x{7B21}\x{7B22}\x{7B23}\x{7B24}\x{7B25}' .
+'\x{7B26}\x{7B28}\x{7B2A}\x{7B2B}\x{7B2C}\x{7B2D}\x{7B2E}\x{7B2F}\x{7B30}' .
+'\x{7B31}\x{7B32}\x{7B33}\x{7B34}\x{7B35}\x{7B36}\x{7B37}\x{7B38}\x{7B39}' .
+'\x{7B3A}\x{7B3B}\x{7B3C}\x{7B3D}\x{7B3E}\x{7B3F}\x{7B40}\x{7B41}\x{7B43}' .
+'\x{7B44}\x{7B45}\x{7B46}\x{7B47}\x{7B48}\x{7B49}\x{7B4A}\x{7B4B}\x{7B4C}' .
+'\x{7B4D}\x{7B4E}\x{7B4F}\x{7B50}\x{7B51}\x{7B52}\x{7B54}\x{7B55}\x{7B56}' .
+'\x{7B57}\x{7B58}\x{7B59}\x{7B5A}\x{7B5B}\x{7B5C}\x{7B5D}\x{7B5E}\x{7B5F}' .
+'\x{7B60}\x{7B61}\x{7B62}\x{7B63}\x{7B64}\x{7B65}\x{7B66}\x{7B67}\x{7B68}' .
+'\x{7B69}\x{7B6A}\x{7B6B}\x{7B6C}\x{7B6D}\x{7B6E}\x{7B70}\x{7B71}\x{7B72}' .
+'\x{7B73}\x{7B74}\x{7B75}\x{7B76}\x{7B77}\x{7B78}\x{7B79}\x{7B7B}\x{7B7C}' .
+'\x{7B7D}\x{7B7E}\x{7B7F}\x{7B80}\x{7B81}\x{7B82}\x{7B83}\x{7B84}\x{7B85}' .
+'\x{7B87}\x{7B88}\x{7B89}\x{7B8A}\x{7B8B}\x{7B8C}\x{7B8D}\x{7B8E}\x{7B8F}' .
+'\x{7B90}\x{7B91}\x{7B93}\x{7B94}\x{7B95}\x{7B96}\x{7B97}\x{7B98}\x{7B99}' .
+'\x{7B9A}\x{7B9B}\x{7B9C}\x{7B9D}\x{7B9E}\x{7B9F}\x{7BA0}\x{7BA1}\x{7BA2}' .
+'\x{7BA4}\x{7BA6}\x{7BA7}\x{7BA8}\x{7BA9}\x{7BAA}\x{7BAB}\x{7BAC}\x{7BAD}' .
+'\x{7BAE}\x{7BAF}\x{7BB1}\x{7BB3}\x{7BB4}\x{7BB5}\x{7BB6}\x{7BB7}\x{7BB8}' .
+'\x{7BB9}\x{7BBA}\x{7BBB}\x{7BBC}\x{7BBD}\x{7BBE}\x{7BBF}\x{7BC0}\x{7BC1}' .
+'\x{7BC2}\x{7BC3}\x{7BC4}\x{7BC5}\x{7BC6}\x{7BC7}\x{7BC8}\x{7BC9}\x{7BCA}' .
+'\x{7BCB}\x{7BCC}\x{7BCD}\x{7BCE}\x{7BD0}\x{7BD1}\x{7BD2}\x{7BD3}\x{7BD4}' .
+'\x{7BD5}\x{7BD6}\x{7BD7}\x{7BD8}\x{7BD9}\x{7BDA}\x{7BDB}\x{7BDC}\x{7BDD}' .
+'\x{7BDE}\x{7BDF}\x{7BE0}\x{7BE1}\x{7BE2}\x{7BE3}\x{7BE4}\x{7BE5}\x{7BE6}' .
+'\x{7BE7}\x{7BE8}\x{7BE9}\x{7BEA}\x{7BEB}\x{7BEC}\x{7BED}\x{7BEE}\x{7BEF}' .
+'\x{7BF0}\x{7BF1}\x{7BF2}\x{7BF3}\x{7BF4}\x{7BF5}\x{7BF6}\x{7BF7}\x{7BF8}' .
+'\x{7BF9}\x{7BFB}\x{7BFC}\x{7BFD}\x{7BFE}\x{7BFF}\x{7C00}\x{7C01}\x{7C02}' .
+'\x{7C03}\x{7C04}\x{7C05}\x{7C06}\x{7C07}\x{7C08}\x{7C09}\x{7C0A}\x{7C0B}' .
+'\x{7C0C}\x{7C0D}\x{7C0E}\x{7C0F}\x{7C10}\x{7C11}\x{7C12}\x{7C13}\x{7C15}' .
+'\x{7C16}\x{7C17}\x{7C18}\x{7C19}\x{7C1A}\x{7C1C}\x{7C1D}\x{7C1E}\x{7C1F}' .
+'\x{7C20}\x{7C21}\x{7C22}\x{7C23}\x{7C24}\x{7C25}\x{7C26}\x{7C27}\x{7C28}' .
+'\x{7C29}\x{7C2A}\x{7C2B}\x{7C2C}\x{7C2D}\x{7C30}\x{7C31}\x{7C32}\x{7C33}' .
+'\x{7C34}\x{7C35}\x{7C36}\x{7C37}\x{7C38}\x{7C39}\x{7C3A}\x{7C3B}\x{7C3C}' .
+'\x{7C3D}\x{7C3E}\x{7C3F}\x{7C40}\x{7C41}\x{7C42}\x{7C43}\x{7C44}\x{7C45}' .
+'\x{7C46}\x{7C47}\x{7C48}\x{7C49}\x{7C4A}\x{7C4B}\x{7C4C}\x{7C4D}\x{7C4E}' .
+'\x{7C50}\x{7C51}\x{7C53}\x{7C54}\x{7C56}\x{7C57}\x{7C58}\x{7C59}\x{7C5A}' .
+'\x{7C5B}\x{7C5C}\x{7C5E}\x{7C5F}\x{7C60}\x{7C61}\x{7C62}\x{7C63}\x{7C64}' .
+'\x{7C65}\x{7C66}\x{7C67}\x{7C68}\x{7C69}\x{7C6A}\x{7C6B}\x{7C6C}\x{7C6D}' .
+'\x{7C6E}\x{7C6F}\x{7C70}\x{7C71}\x{7C72}\x{7C73}\x{7C74}\x{7C75}\x{7C77}' .
+'\x{7C78}\x{7C79}\x{7C7A}\x{7C7B}\x{7C7C}\x{7C7D}\x{7C7E}\x{7C7F}\x{7C80}' .
+'\x{7C81}\x{7C82}\x{7C84}\x{7C85}\x{7C86}\x{7C88}\x{7C89}\x{7C8A}\x{7C8B}' .
+'\x{7C8C}\x{7C8D}\x{7C8E}\x{7C8F}\x{7C90}\x{7C91}\x{7C92}\x{7C94}\x{7C95}' .
+'\x{7C96}\x{7C97}\x{7C98}\x{7C99}\x{7C9B}\x{7C9C}\x{7C9D}\x{7C9E}\x{7C9F}' .
+'\x{7CA0}\x{7CA1}\x{7CA2}\x{7CA3}\x{7CA4}\x{7CA5}\x{7CA6}\x{7CA7}\x{7CA8}' .
+'\x{7CA9}\x{7CAA}\x{7CAD}\x{7CAE}\x{7CAF}\x{7CB0}\x{7CB1}\x{7CB2}\x{7CB3}' .
+'\x{7CB4}\x{7CB5}\x{7CB6}\x{7CB7}\x{7CB8}\x{7CB9}\x{7CBA}\x{7CBB}\x{7CBC}' .
+'\x{7CBD}\x{7CBE}\x{7CBF}\x{7CC0}\x{7CC1}\x{7CC2}\x{7CC3}\x{7CC4}\x{7CC5}' .
+'\x{7CC6}\x{7CC7}\x{7CC8}\x{7CC9}\x{7CCA}\x{7CCB}\x{7CCC}\x{7CCD}\x{7CCE}' .
+'\x{7CCF}\x{7CD0}\x{7CD1}\x{7CD2}\x{7CD4}\x{7CD5}\x{7CD6}\x{7CD7}\x{7CD8}' .
+'\x{7CD9}\x{7CDC}\x{7CDD}\x{7CDE}\x{7CDF}\x{7CE0}\x{7CE2}\x{7CE4}\x{7CE7}' .
+'\x{7CE8}\x{7CE9}\x{7CEA}\x{7CEB}\x{7CEC}\x{7CED}\x{7CEE}\x{7CEF}\x{7CF0}' .
+'\x{7CF1}\x{7CF2}\x{7CF3}\x{7CF4}\x{7CF5}\x{7CF6}\x{7CF7}\x{7CF8}\x{7CF9}' .
+'\x{7CFA}\x{7CFB}\x{7CFD}\x{7CFE}\x{7D00}\x{7D01}\x{7D02}\x{7D03}\x{7D04}' .
+'\x{7D05}\x{7D06}\x{7D07}\x{7D08}\x{7D09}\x{7D0A}\x{7D0B}\x{7D0C}\x{7D0D}' .
+'\x{7D0E}\x{7D0F}\x{7D10}\x{7D11}\x{7D12}\x{7D13}\x{7D14}\x{7D15}\x{7D16}' .
+'\x{7D17}\x{7D18}\x{7D19}\x{7D1A}\x{7D1B}\x{7D1C}\x{7D1D}\x{7D1E}\x{7D1F}' .
+'\x{7D20}\x{7D21}\x{7D22}\x{7D24}\x{7D25}\x{7D26}\x{7D27}\x{7D28}\x{7D29}' .
+'\x{7D2B}\x{7D2C}\x{7D2E}\x{7D2F}\x{7D30}\x{7D31}\x{7D32}\x{7D33}\x{7D34}' .
+'\x{7D35}\x{7D36}\x{7D37}\x{7D38}\x{7D39}\x{7D3A}\x{7D3B}\x{7D3C}\x{7D3D}' .
+'\x{7D3E}\x{7D3F}\x{7D40}\x{7D41}\x{7D42}\x{7D43}\x{7D44}\x{7D45}\x{7D46}' .
+'\x{7D47}\x{7D49}\x{7D4A}\x{7D4B}\x{7D4C}\x{7D4E}\x{7D4F}\x{7D50}\x{7D51}' .
+'\x{7D52}\x{7D53}\x{7D54}\x{7D55}\x{7D56}\x{7D57}\x{7D58}\x{7D59}\x{7D5B}' .
+'\x{7D5C}\x{7D5D}\x{7D5E}\x{7D5F}\x{7D60}\x{7D61}\x{7D62}\x{7D63}\x{7D65}' .
+'\x{7D66}\x{7D67}\x{7D68}\x{7D69}\x{7D6A}\x{7D6B}\x{7D6C}\x{7D6D}\x{7D6E}' .
+'\x{7D6F}\x{7D70}\x{7D71}\x{7D72}\x{7D73}\x{7D74}\x{7D75}\x{7D76}\x{7D77}' .
+'\x{7D79}\x{7D7A}\x{7D7B}\x{7D7C}\x{7D7D}\x{7D7E}\x{7D7F}\x{7D80}\x{7D81}' .
+'\x{7D83}\x{7D84}\x{7D85}\x{7D86}\x{7D87}\x{7D88}\x{7D89}\x{7D8A}\x{7D8B}' .
+'\x{7D8C}\x{7D8D}\x{7D8E}\x{7D8F}\x{7D90}\x{7D91}\x{7D92}\x{7D93}\x{7D94}' .
+'\x{7D96}\x{7D97}\x{7D99}\x{7D9B}\x{7D9C}\x{7D9D}\x{7D9E}\x{7D9F}\x{7DA0}' .
+'\x{7DA1}\x{7DA2}\x{7DA3}\x{7DA5}\x{7DA6}\x{7DA7}\x{7DA9}\x{7DAA}\x{7DAB}' .
+'\x{7DAC}\x{7DAD}\x{7DAE}\x{7DAF}\x{7DB0}\x{7DB1}\x{7DB2}\x{7DB3}\x{7DB4}' .
+'\x{7DB5}\x{7DB6}\x{7DB7}\x{7DB8}\x{7DB9}\x{7DBA}\x{7DBB}\x{7DBC}\x{7DBD}' .
+'\x{7DBE}\x{7DBF}\x{7DC0}\x{7DC1}\x{7DC2}\x{7DC3}\x{7DC4}\x{7DC5}\x{7DC6}' .
+'\x{7DC7}\x{7DC8}\x{7DC9}\x{7DCA}\x{7DCB}\x{7DCC}\x{7DCE}\x{7DCF}\x{7DD0}' .
+'\x{7DD1}\x{7DD2}\x{7DD4}\x{7DD5}\x{7DD6}\x{7DD7}\x{7DD8}\x{7DD9}\x{7DDA}' .
+'\x{7DDB}\x{7DDD}\x{7DDE}\x{7DDF}\x{7DE0}\x{7DE1}\x{7DE2}\x{7DE3}\x{7DE6}' .
+'\x{7DE7}\x{7DE8}\x{7DE9}\x{7DEA}\x{7DEC}\x{7DED}\x{7DEE}\x{7DEF}\x{7DF0}' .
+'\x{7DF1}\x{7DF2}\x{7DF3}\x{7DF4}\x{7DF5}\x{7DF6}\x{7DF7}\x{7DF8}\x{7DF9}' .
+'\x{7DFA}\x{7DFB}\x{7DFC}\x{7E00}\x{7E01}\x{7E02}\x{7E03}\x{7E04}\x{7E05}' .
+'\x{7E06}\x{7E07}\x{7E08}\x{7E09}\x{7E0A}\x{7E0B}\x{7E0C}\x{7E0D}\x{7E0E}' .
+'\x{7E0F}\x{7E10}\x{7E11}\x{7E12}\x{7E13}\x{7E14}\x{7E15}\x{7E16}\x{7E17}' .
+'\x{7E19}\x{7E1A}\x{7E1B}\x{7E1C}\x{7E1D}\x{7E1E}\x{7E1F}\x{7E20}\x{7E21}' .
+'\x{7E22}\x{7E23}\x{7E24}\x{7E25}\x{7E26}\x{7E27}\x{7E28}\x{7E29}\x{7E2A}' .
+'\x{7E2B}\x{7E2C}\x{7E2D}\x{7E2E}\x{7E2F}\x{7E30}\x{7E31}\x{7E32}\x{7E33}' .
+'\x{7E34}\x{7E35}\x{7E36}\x{7E37}\x{7E38}\x{7E39}\x{7E3A}\x{7E3B}\x{7E3C}' .
+'\x{7E3D}\x{7E3E}\x{7E3F}\x{7E40}\x{7E41}\x{7E42}\x{7E43}\x{7E44}\x{7E45}' .
+'\x{7E46}\x{7E47}\x{7E48}\x{7E49}\x{7E4C}\x{7E4D}\x{7E4E}\x{7E4F}\x{7E50}' .
+'\x{7E51}\x{7E52}\x{7E53}\x{7E54}\x{7E55}\x{7E56}\x{7E57}\x{7E58}\x{7E59}' .
+'\x{7E5A}\x{7E5C}\x{7E5D}\x{7E5E}\x{7E5F}\x{7E60}\x{7E61}\x{7E62}\x{7E63}' .
+'\x{7E65}\x{7E66}\x{7E67}\x{7E68}\x{7E69}\x{7E6A}\x{7E6B}\x{7E6C}\x{7E6D}' .
+'\x{7E6E}\x{7E6F}\x{7E70}\x{7E71}\x{7E72}\x{7E73}\x{7E74}\x{7E75}\x{7E76}' .
+'\x{7E77}\x{7E78}\x{7E79}\x{7E7A}\x{7E7B}\x{7E7C}\x{7E7D}\x{7E7E}\x{7E7F}' .
+'\x{7E80}\x{7E81}\x{7E82}\x{7E83}\x{7E84}\x{7E85}\x{7E86}\x{7E87}\x{7E88}' .
+'\x{7E89}\x{7E8A}\x{7E8B}\x{7E8C}\x{7E8D}\x{7E8E}\x{7E8F}\x{7E90}\x{7E91}' .
+'\x{7E92}\x{7E93}\x{7E94}\x{7E95}\x{7E96}\x{7E97}\x{7E98}\x{7E99}\x{7E9A}' .
+'\x{7E9B}\x{7E9C}\x{7E9E}\x{7E9F}\x{7EA0}\x{7EA1}\x{7EA2}\x{7EA3}\x{7EA4}' .
+'\x{7EA5}\x{7EA6}\x{7EA7}\x{7EA8}\x{7EA9}\x{7EAA}\x{7EAB}\x{7EAC}\x{7EAD}' .
+'\x{7EAE}\x{7EAF}\x{7EB0}\x{7EB1}\x{7EB2}\x{7EB3}\x{7EB4}\x{7EB5}\x{7EB6}' .
+'\x{7EB7}\x{7EB8}\x{7EB9}\x{7EBA}\x{7EBB}\x{7EBC}\x{7EBD}\x{7EBE}\x{7EBF}' .
+'\x{7EC0}\x{7EC1}\x{7EC2}\x{7EC3}\x{7EC4}\x{7EC5}\x{7EC6}\x{7EC7}\x{7EC8}' .
+'\x{7EC9}\x{7ECA}\x{7ECB}\x{7ECC}\x{7ECD}\x{7ECE}\x{7ECF}\x{7ED0}\x{7ED1}' .
+'\x{7ED2}\x{7ED3}\x{7ED4}\x{7ED5}\x{7ED6}\x{7ED7}\x{7ED8}\x{7ED9}\x{7EDA}' .
+'\x{7EDB}\x{7EDC}\x{7EDD}\x{7EDE}\x{7EDF}\x{7EE0}\x{7EE1}\x{7EE2}\x{7EE3}' .
+'\x{7EE4}\x{7EE5}\x{7EE6}\x{7EE7}\x{7EE8}\x{7EE9}\x{7EEA}\x{7EEB}\x{7EEC}' .
+'\x{7EED}\x{7EEE}\x{7EEF}\x{7EF0}\x{7EF1}\x{7EF2}\x{7EF3}\x{7EF4}\x{7EF5}' .
+'\x{7EF6}\x{7EF7}\x{7EF8}\x{7EF9}\x{7EFA}\x{7EFB}\x{7EFC}\x{7EFD}\x{7EFE}' .
+'\x{7EFF}\x{7F00}\x{7F01}\x{7F02}\x{7F03}\x{7F04}\x{7F05}\x{7F06}\x{7F07}' .
+'\x{7F08}\x{7F09}\x{7F0A}\x{7F0B}\x{7F0C}\x{7F0D}\x{7F0E}\x{7F0F}\x{7F10}' .
+'\x{7F11}\x{7F12}\x{7F13}\x{7F14}\x{7F15}\x{7F16}\x{7F17}\x{7F18}\x{7F19}' .
+'\x{7F1A}\x{7F1B}\x{7F1C}\x{7F1D}\x{7F1E}\x{7F1F}\x{7F20}\x{7F21}\x{7F22}' .
+'\x{7F23}\x{7F24}\x{7F25}\x{7F26}\x{7F27}\x{7F28}\x{7F29}\x{7F2A}\x{7F2B}' .
+'\x{7F2C}\x{7F2D}\x{7F2E}\x{7F2F}\x{7F30}\x{7F31}\x{7F32}\x{7F33}\x{7F34}' .
+'\x{7F35}\x{7F36}\x{7F37}\x{7F38}\x{7F39}\x{7F3A}\x{7F3D}\x{7F3E}\x{7F3F}' .
+'\x{7F40}\x{7F42}\x{7F43}\x{7F44}\x{7F45}\x{7F47}\x{7F48}\x{7F49}\x{7F4A}' .
+'\x{7F4B}\x{7F4C}\x{7F4D}\x{7F4E}\x{7F4F}\x{7F50}\x{7F51}\x{7F52}\x{7F53}' .
+'\x{7F54}\x{7F55}\x{7F56}\x{7F57}\x{7F58}\x{7F5A}\x{7F5B}\x{7F5C}\x{7F5D}' .
+'\x{7F5E}\x{7F5F}\x{7F60}\x{7F61}\x{7F62}\x{7F63}\x{7F64}\x{7F65}\x{7F66}' .
+'\x{7F67}\x{7F68}\x{7F69}\x{7F6A}\x{7F6B}\x{7F6C}\x{7F6D}\x{7F6E}\x{7F6F}' .
+'\x{7F70}\x{7F71}\x{7F72}\x{7F73}\x{7F74}\x{7F75}\x{7F76}\x{7F77}\x{7F78}' .
+'\x{7F79}\x{7F7A}\x{7F7B}\x{7F7C}\x{7F7D}\x{7F7E}\x{7F7F}\x{7F80}\x{7F81}' .
+'\x{7F82}\x{7F83}\x{7F85}\x{7F86}\x{7F87}\x{7F88}\x{7F89}\x{7F8A}\x{7F8B}' .
+'\x{7F8C}\x{7F8D}\x{7F8E}\x{7F8F}\x{7F91}\x{7F92}\x{7F93}\x{7F94}\x{7F95}' .
+'\x{7F96}\x{7F98}\x{7F9A}\x{7F9B}\x{7F9C}\x{7F9D}\x{7F9E}\x{7F9F}\x{7FA0}' .
+'\x{7FA1}\x{7FA2}\x{7FA3}\x{7FA4}\x{7FA5}\x{7FA6}\x{7FA7}\x{7FA8}\x{7FA9}' .
+'\x{7FAA}\x{7FAB}\x{7FAC}\x{7FAD}\x{7FAE}\x{7FAF}\x{7FB0}\x{7FB1}\x{7FB2}' .
+'\x{7FB3}\x{7FB5}\x{7FB6}\x{7FB7}\x{7FB8}\x{7FB9}\x{7FBA}\x{7FBB}\x{7FBC}' .
+'\x{7FBD}\x{7FBE}\x{7FBF}\x{7FC0}\x{7FC1}\x{7FC2}\x{7FC3}\x{7FC4}\x{7FC5}' .
+'\x{7FC6}\x{7FC7}\x{7FC8}\x{7FC9}\x{7FCA}\x{7FCB}\x{7FCC}\x{7FCD}\x{7FCE}' .
+'\x{7FCF}\x{7FD0}\x{7FD1}\x{7FD2}\x{7FD3}\x{7FD4}\x{7FD5}\x{7FD7}\x{7FD8}' .
+'\x{7FD9}\x{7FDA}\x{7FDB}\x{7FDC}\x{7FDE}\x{7FDF}\x{7FE0}\x{7FE1}\x{7FE2}' .
+'\x{7FE3}\x{7FE5}\x{7FE6}\x{7FE7}\x{7FE8}\x{7FE9}\x{7FEA}\x{7FEB}\x{7FEC}' .
+'\x{7FED}\x{7FEE}\x{7FEF}\x{7FF0}\x{7FF1}\x{7FF2}\x{7FF3}\x{7FF4}\x{7FF5}' .
+'\x{7FF6}\x{7FF7}\x{7FF8}\x{7FF9}\x{7FFA}\x{7FFB}\x{7FFC}\x{7FFD}\x{7FFE}' .
+'\x{7FFF}\x{8000}\x{8001}\x{8002}\x{8003}\x{8004}\x{8005}\x{8006}\x{8007}' .
+'\x{8008}\x{8009}\x{800B}\x{800C}\x{800D}\x{800E}\x{800F}\x{8010}\x{8011}' .
+'\x{8012}\x{8013}\x{8014}\x{8015}\x{8016}\x{8017}\x{8018}\x{8019}\x{801A}' .
+'\x{801B}\x{801C}\x{801D}\x{801E}\x{801F}\x{8020}\x{8021}\x{8022}\x{8023}' .
+'\x{8024}\x{8025}\x{8026}\x{8027}\x{8028}\x{8029}\x{802A}\x{802B}\x{802C}' .
+'\x{802D}\x{802E}\x{8030}\x{8031}\x{8032}\x{8033}\x{8034}\x{8035}\x{8036}' .
+'\x{8037}\x{8038}\x{8039}\x{803A}\x{803B}\x{803D}\x{803E}\x{803F}\x{8041}' .
+'\x{8042}\x{8043}\x{8044}\x{8045}\x{8046}\x{8047}\x{8048}\x{8049}\x{804A}' .
+'\x{804B}\x{804C}\x{804D}\x{804E}\x{804F}\x{8050}\x{8051}\x{8052}\x{8053}' .
+'\x{8054}\x{8055}\x{8056}\x{8057}\x{8058}\x{8059}\x{805A}\x{805B}\x{805C}' .
+'\x{805D}\x{805E}\x{805F}\x{8060}\x{8061}\x{8062}\x{8063}\x{8064}\x{8065}' .
+'\x{8067}\x{8068}\x{8069}\x{806A}\x{806B}\x{806C}\x{806D}\x{806E}\x{806F}' .
+'\x{8070}\x{8071}\x{8072}\x{8073}\x{8074}\x{8075}\x{8076}\x{8077}\x{8078}' .
+'\x{8079}\x{807A}\x{807B}\x{807C}\x{807D}\x{807E}\x{807F}\x{8080}\x{8081}' .
+'\x{8082}\x{8083}\x{8084}\x{8085}\x{8086}\x{8087}\x{8089}\x{808A}\x{808B}' .
+'\x{808C}\x{808D}\x{808F}\x{8090}\x{8091}\x{8092}\x{8093}\x{8095}\x{8096}' .
+'\x{8097}\x{8098}\x{8099}\x{809A}\x{809B}\x{809C}\x{809D}\x{809E}\x{809F}' .
+'\x{80A0}\x{80A1}\x{80A2}\x{80A3}\x{80A4}\x{80A5}\x{80A9}\x{80AA}\x{80AB}' .
+'\x{80AD}\x{80AE}\x{80AF}\x{80B0}\x{80B1}\x{80B2}\x{80B4}\x{80B5}\x{80B6}' .
+'\x{80B7}\x{80B8}\x{80BA}\x{80BB}\x{80BC}\x{80BD}\x{80BE}\x{80BF}\x{80C0}' .
+'\x{80C1}\x{80C2}\x{80C3}\x{80C4}\x{80C5}\x{80C6}\x{80C7}\x{80C8}\x{80C9}' .
+'\x{80CA}\x{80CB}\x{80CC}\x{80CD}\x{80CE}\x{80CF}\x{80D0}\x{80D1}\x{80D2}' .
+'\x{80D3}\x{80D4}\x{80D5}\x{80D6}\x{80D7}\x{80D8}\x{80D9}\x{80DA}\x{80DB}' .
+'\x{80DC}\x{80DD}\x{80DE}\x{80E0}\x{80E1}\x{80E2}\x{80E3}\x{80E4}\x{80E5}' .
+'\x{80E6}\x{80E7}\x{80E8}\x{80E9}\x{80EA}\x{80EB}\x{80EC}\x{80ED}\x{80EE}' .
+'\x{80EF}\x{80F0}\x{80F1}\x{80F2}\x{80F3}\x{80F4}\x{80F5}\x{80F6}\x{80F7}' .
+'\x{80F8}\x{80F9}\x{80FA}\x{80FB}\x{80FC}\x{80FD}\x{80FE}\x{80FF}\x{8100}' .
+'\x{8101}\x{8102}\x{8105}\x{8106}\x{8107}\x{8108}\x{8109}\x{810A}\x{810B}' .
+'\x{810C}\x{810D}\x{810E}\x{810F}\x{8110}\x{8111}\x{8112}\x{8113}\x{8114}' .
+'\x{8115}\x{8116}\x{8118}\x{8119}\x{811A}\x{811B}\x{811C}\x{811D}\x{811E}' .
+'\x{811F}\x{8120}\x{8121}\x{8122}\x{8123}\x{8124}\x{8125}\x{8126}\x{8127}' .
+'\x{8128}\x{8129}\x{812A}\x{812B}\x{812C}\x{812D}\x{812E}\x{812F}\x{8130}' .
+'\x{8131}\x{8132}\x{8136}\x{8137}\x{8138}\x{8139}\x{813A}\x{813B}\x{813C}' .
+'\x{813D}\x{813E}\x{813F}\x{8140}\x{8141}\x{8142}\x{8143}\x{8144}\x{8145}' .
+'\x{8146}\x{8147}\x{8148}\x{8149}\x{814A}\x{814B}\x{814C}\x{814D}\x{814E}' .
+'\x{814F}\x{8150}\x{8151}\x{8152}\x{8153}\x{8154}\x{8155}\x{8156}\x{8157}' .
+'\x{8158}\x{8159}\x{815A}\x{815B}\x{815C}\x{815D}\x{815E}\x{8160}\x{8161}' .
+'\x{8162}\x{8163}\x{8164}\x{8165}\x{8166}\x{8167}\x{8168}\x{8169}\x{816A}' .
+'\x{816B}\x{816C}\x{816D}\x{816E}\x{816F}\x{8170}\x{8171}\x{8172}\x{8173}' .
+'\x{8174}\x{8175}\x{8176}\x{8177}\x{8178}\x{8179}\x{817A}\x{817B}\x{817C}' .
+'\x{817D}\x{817E}\x{817F}\x{8180}\x{8181}\x{8182}\x{8183}\x{8185}\x{8186}' .
+'\x{8187}\x{8188}\x{8189}\x{818A}\x{818B}\x{818C}\x{818D}\x{818E}\x{818F}' .
+'\x{8191}\x{8192}\x{8193}\x{8194}\x{8195}\x{8197}\x{8198}\x{8199}\x{819A}' .
+'\x{819B}\x{819C}\x{819D}\x{819E}\x{819F}\x{81A0}\x{81A1}\x{81A2}\x{81A3}' .
+'\x{81A4}\x{81A5}\x{81A6}\x{81A7}\x{81A8}\x{81A9}\x{81AA}\x{81AB}\x{81AC}' .
+'\x{81AD}\x{81AE}\x{81AF}\x{81B0}\x{81B1}\x{81B2}\x{81B3}\x{81B4}\x{81B5}' .
+'\x{81B6}\x{81B7}\x{81B8}\x{81B9}\x{81BA}\x{81BB}\x{81BC}\x{81BD}\x{81BE}' .
+'\x{81BF}\x{81C0}\x{81C1}\x{81C2}\x{81C3}\x{81C4}\x{81C5}\x{81C6}\x{81C7}' .
+'\x{81C8}\x{81C9}\x{81CA}\x{81CC}\x{81CD}\x{81CE}\x{81CF}\x{81D0}\x{81D1}' .
+'\x{81D2}\x{81D4}\x{81D5}\x{81D6}\x{81D7}\x{81D8}\x{81D9}\x{81DA}\x{81DB}' .
+'\x{81DC}\x{81DD}\x{81DE}\x{81DF}\x{81E0}\x{81E1}\x{81E2}\x{81E3}\x{81E5}' .
+'\x{81E6}\x{81E7}\x{81E8}\x{81E9}\x{81EA}\x{81EB}\x{81EC}\x{81ED}\x{81EE}' .
+'\x{81F1}\x{81F2}\x{81F3}\x{81F4}\x{81F5}\x{81F6}\x{81F7}\x{81F8}\x{81F9}' .
+'\x{81FA}\x{81FB}\x{81FC}\x{81FD}\x{81FE}\x{81FF}\x{8200}\x{8201}\x{8202}' .
+'\x{8203}\x{8204}\x{8205}\x{8206}\x{8207}\x{8208}\x{8209}\x{820A}\x{820B}' .
+'\x{820C}\x{820D}\x{820E}\x{820F}\x{8210}\x{8211}\x{8212}\x{8214}\x{8215}' .
+'\x{8216}\x{8218}\x{8219}\x{821A}\x{821B}\x{821C}\x{821D}\x{821E}\x{821F}' .
+'\x{8220}\x{8221}\x{8222}\x{8223}\x{8225}\x{8226}\x{8227}\x{8228}\x{8229}' .
+'\x{822A}\x{822B}\x{822C}\x{822D}\x{822F}\x{8230}\x{8231}\x{8232}\x{8233}' .
+'\x{8234}\x{8235}\x{8236}\x{8237}\x{8238}\x{8239}\x{823A}\x{823B}\x{823C}' .
+'\x{823D}\x{823E}\x{823F}\x{8240}\x{8242}\x{8243}\x{8244}\x{8245}\x{8246}' .
+'\x{8247}\x{8248}\x{8249}\x{824A}\x{824B}\x{824C}\x{824D}\x{824E}\x{824F}' .
+'\x{8250}\x{8251}\x{8252}\x{8253}\x{8254}\x{8255}\x{8256}\x{8257}\x{8258}' .
+'\x{8259}\x{825A}\x{825B}\x{825C}\x{825D}\x{825E}\x{825F}\x{8260}\x{8261}' .
+'\x{8263}\x{8264}\x{8266}\x{8267}\x{8268}\x{8269}\x{826A}\x{826B}\x{826C}' .
+'\x{826D}\x{826E}\x{826F}\x{8270}\x{8271}\x{8272}\x{8273}\x{8274}\x{8275}' .
+'\x{8276}\x{8277}\x{8278}\x{8279}\x{827A}\x{827B}\x{827C}\x{827D}\x{827E}' .
+'\x{827F}\x{8280}\x{8281}\x{8282}\x{8283}\x{8284}\x{8285}\x{8286}\x{8287}' .
+'\x{8288}\x{8289}\x{828A}\x{828B}\x{828D}\x{828E}\x{828F}\x{8290}\x{8291}' .
+'\x{8292}\x{8293}\x{8294}\x{8295}\x{8296}\x{8297}\x{8298}\x{8299}\x{829A}' .
+'\x{829B}\x{829C}\x{829D}\x{829E}\x{829F}\x{82A0}\x{82A1}\x{82A2}\x{82A3}' .
+'\x{82A4}\x{82A5}\x{82A6}\x{82A7}\x{82A8}\x{82A9}\x{82AA}\x{82AB}\x{82AC}' .
+'\x{82AD}\x{82AE}\x{82AF}\x{82B0}\x{82B1}\x{82B3}\x{82B4}\x{82B5}\x{82B6}' .
+'\x{82B7}\x{82B8}\x{82B9}\x{82BA}\x{82BB}\x{82BC}\x{82BD}\x{82BE}\x{82BF}' .
+'\x{82C0}\x{82C1}\x{82C2}\x{82C3}\x{82C4}\x{82C5}\x{82C6}\x{82C7}\x{82C8}' .
+'\x{82C9}\x{82CA}\x{82CB}\x{82CC}\x{82CD}\x{82CE}\x{82CF}\x{82D0}\x{82D1}' .
+'\x{82D2}\x{82D3}\x{82D4}\x{82D5}\x{82D6}\x{82D7}\x{82D8}\x{82D9}\x{82DA}' .
+'\x{82DB}\x{82DC}\x{82DD}\x{82DE}\x{82DF}\x{82E0}\x{82E1}\x{82E3}\x{82E4}' .
+'\x{82E5}\x{82E6}\x{82E7}\x{82E8}\x{82E9}\x{82EA}\x{82EB}\x{82EC}\x{82ED}' .
+'\x{82EE}\x{82EF}\x{82F0}\x{82F1}\x{82F2}\x{82F3}\x{82F4}\x{82F5}\x{82F6}' .
+'\x{82F7}\x{82F8}\x{82F9}\x{82FA}\x{82FB}\x{82FD}\x{82FE}\x{82FF}\x{8300}' .
+'\x{8301}\x{8302}\x{8303}\x{8304}\x{8305}\x{8306}\x{8307}\x{8308}\x{8309}' .
+'\x{830B}\x{830C}\x{830D}\x{830E}\x{830F}\x{8311}\x{8312}\x{8313}\x{8314}' .
+'\x{8315}\x{8316}\x{8317}\x{8318}\x{8319}\x{831A}\x{831B}\x{831C}\x{831D}' .
+'\x{831E}\x{831F}\x{8320}\x{8321}\x{8322}\x{8323}\x{8324}\x{8325}\x{8326}' .
+'\x{8327}\x{8328}\x{8329}\x{832A}\x{832B}\x{832C}\x{832D}\x{832E}\x{832F}' .
+'\x{8331}\x{8332}\x{8333}\x{8334}\x{8335}\x{8336}\x{8337}\x{8338}\x{8339}' .
+'\x{833A}\x{833B}\x{833C}\x{833D}\x{833E}\x{833F}\x{8340}\x{8341}\x{8342}' .
+'\x{8343}\x{8344}\x{8345}\x{8346}\x{8347}\x{8348}\x{8349}\x{834A}\x{834B}' .
+'\x{834C}\x{834D}\x{834E}\x{834F}\x{8350}\x{8351}\x{8352}\x{8353}\x{8354}' .
+'\x{8356}\x{8357}\x{8358}\x{8359}\x{835A}\x{835B}\x{835C}\x{835D}\x{835E}' .
+'\x{835F}\x{8360}\x{8361}\x{8362}\x{8363}\x{8364}\x{8365}\x{8366}\x{8367}' .
+'\x{8368}\x{8369}\x{836A}\x{836B}\x{836C}\x{836D}\x{836E}\x{836F}\x{8370}' .
+'\x{8371}\x{8372}\x{8373}\x{8374}\x{8375}\x{8376}\x{8377}\x{8378}\x{8379}' .
+'\x{837A}\x{837B}\x{837C}\x{837D}\x{837E}\x{837F}\x{8380}\x{8381}\x{8382}' .
+'\x{8383}\x{8384}\x{8385}\x{8386}\x{8387}\x{8388}\x{8389}\x{838A}\x{838B}' .
+'\x{838C}\x{838D}\x{838E}\x{838F}\x{8390}\x{8391}\x{8392}\x{8393}\x{8394}' .
+'\x{8395}\x{8396}\x{8397}\x{8398}\x{8399}\x{839A}\x{839B}\x{839C}\x{839D}' .
+'\x{839E}\x{83A0}\x{83A1}\x{83A2}\x{83A3}\x{83A4}\x{83A5}\x{83A6}\x{83A7}' .
+'\x{83A8}\x{83A9}\x{83AA}\x{83AB}\x{83AC}\x{83AD}\x{83AE}\x{83AF}\x{83B0}' .
+'\x{83B1}\x{83B2}\x{83B3}\x{83B4}\x{83B6}\x{83B7}\x{83B8}\x{83B9}\x{83BA}' .
+'\x{83BB}\x{83BC}\x{83BD}\x{83BF}\x{83C0}\x{83C1}\x{83C2}\x{83C3}\x{83C4}' .
+'\x{83C5}\x{83C6}\x{83C7}\x{83C8}\x{83C9}\x{83CA}\x{83CB}\x{83CC}\x{83CD}' .
+'\x{83CE}\x{83CF}\x{83D0}\x{83D1}\x{83D2}\x{83D3}\x{83D4}\x{83D5}\x{83D6}' .
+'\x{83D7}\x{83D8}\x{83D9}\x{83DA}\x{83DB}\x{83DC}\x{83DD}\x{83DE}\x{83DF}' .
+'\x{83E0}\x{83E1}\x{83E2}\x{83E3}\x{83E4}\x{83E5}\x{83E7}\x{83E8}\x{83E9}' .
+'\x{83EA}\x{83EB}\x{83EC}\x{83EE}\x{83EF}\x{83F0}\x{83F1}\x{83F2}\x{83F3}' .
+'\x{83F4}\x{83F5}\x{83F6}\x{83F7}\x{83F8}\x{83F9}\x{83FA}\x{83FB}\x{83FC}' .
+'\x{83FD}\x{83FE}\x{83FF}\x{8400}\x{8401}\x{8402}\x{8403}\x{8404}\x{8405}' .
+'\x{8406}\x{8407}\x{8408}\x{8409}\x{840A}\x{840B}\x{840C}\x{840D}\x{840E}' .
+'\x{840F}\x{8410}\x{8411}\x{8412}\x{8413}\x{8415}\x{8418}\x{8419}\x{841A}' .
+'\x{841B}\x{841C}\x{841D}\x{841E}\x{8421}\x{8422}\x{8423}\x{8424}\x{8425}' .
+'\x{8426}\x{8427}\x{8428}\x{8429}\x{842A}\x{842B}\x{842C}\x{842D}\x{842E}' .
+'\x{842F}\x{8430}\x{8431}\x{8432}\x{8433}\x{8434}\x{8435}\x{8436}\x{8437}' .
+'\x{8438}\x{8439}\x{843A}\x{843B}\x{843C}\x{843D}\x{843E}\x{843F}\x{8440}' .
+'\x{8441}\x{8442}\x{8443}\x{8444}\x{8445}\x{8446}\x{8447}\x{8448}\x{8449}' .
+'\x{844A}\x{844B}\x{844C}\x{844D}\x{844E}\x{844F}\x{8450}\x{8451}\x{8452}' .
+'\x{8453}\x{8454}\x{8455}\x{8456}\x{8457}\x{8459}\x{845A}\x{845B}\x{845C}' .
+'\x{845D}\x{845E}\x{845F}\x{8460}\x{8461}\x{8462}\x{8463}\x{8464}\x{8465}' .
+'\x{8466}\x{8467}\x{8468}\x{8469}\x{846A}\x{846B}\x{846C}\x{846D}\x{846E}' .
+'\x{846F}\x{8470}\x{8471}\x{8472}\x{8473}\x{8474}\x{8475}\x{8476}\x{8477}' .
+'\x{8478}\x{8479}\x{847A}\x{847B}\x{847C}\x{847D}\x{847E}\x{847F}\x{8480}' .
+'\x{8481}\x{8482}\x{8484}\x{8485}\x{8486}\x{8487}\x{8488}\x{8489}\x{848A}' .
+'\x{848B}\x{848C}\x{848D}\x{848E}\x{848F}\x{8490}\x{8491}\x{8492}\x{8493}' .
+'\x{8494}\x{8496}\x{8497}\x{8498}\x{8499}\x{849A}\x{849B}\x{849C}\x{849D}' .
+'\x{849E}\x{849F}\x{84A0}\x{84A1}\x{84A2}\x{84A3}\x{84A4}\x{84A5}\x{84A6}' .
+'\x{84A7}\x{84A8}\x{84A9}\x{84AA}\x{84AB}\x{84AC}\x{84AE}\x{84AF}\x{84B0}' .
+'\x{84B1}\x{84B2}\x{84B3}\x{84B4}\x{84B5}\x{84B6}\x{84B8}\x{84B9}\x{84BA}' .
+'\x{84BB}\x{84BC}\x{84BD}\x{84BE}\x{84BF}\x{84C0}\x{84C1}\x{84C2}\x{84C4}' .
+'\x{84C5}\x{84C6}\x{84C7}\x{84C8}\x{84C9}\x{84CA}\x{84CB}\x{84CC}\x{84CD}' .
+'\x{84CE}\x{84CF}\x{84D0}\x{84D1}\x{84D2}\x{84D3}\x{84D4}\x{84D5}\x{84D6}' .
+'\x{84D7}\x{84D8}\x{84D9}\x{84DB}\x{84DC}\x{84DD}\x{84DE}\x{84DF}\x{84E0}' .
+'\x{84E1}\x{84E2}\x{84E3}\x{84E4}\x{84E5}\x{84E6}\x{84E7}\x{84E8}\x{84E9}' .
+'\x{84EA}\x{84EB}\x{84EC}\x{84EE}\x{84EF}\x{84F0}\x{84F1}\x{84F2}\x{84F3}' .
+'\x{84F4}\x{84F5}\x{84F6}\x{84F7}\x{84F8}\x{84F9}\x{84FA}\x{84FB}\x{84FC}' .
+'\x{84FD}\x{84FE}\x{84FF}\x{8500}\x{8501}\x{8502}\x{8503}\x{8504}\x{8506}' .
+'\x{8507}\x{8508}\x{8509}\x{850A}\x{850B}\x{850C}\x{850D}\x{850E}\x{850F}' .
+'\x{8511}\x{8512}\x{8513}\x{8514}\x{8515}\x{8516}\x{8517}\x{8518}\x{8519}' .
+'\x{851A}\x{851B}\x{851C}\x{851D}\x{851E}\x{851F}\x{8520}\x{8521}\x{8522}' .
+'\x{8523}\x{8524}\x{8525}\x{8526}\x{8527}\x{8528}\x{8529}\x{852A}\x{852B}' .
+'\x{852C}\x{852D}\x{852E}\x{852F}\x{8530}\x{8531}\x{8534}\x{8535}\x{8536}' .
+'\x{8537}\x{8538}\x{8539}\x{853A}\x{853B}\x{853C}\x{853D}\x{853E}\x{853F}' .
+'\x{8540}\x{8541}\x{8542}\x{8543}\x{8544}\x{8545}\x{8546}\x{8547}\x{8548}' .
+'\x{8549}\x{854A}\x{854B}\x{854D}\x{854E}\x{854F}\x{8551}\x{8552}\x{8553}' .
+'\x{8554}\x{8555}\x{8556}\x{8557}\x{8558}\x{8559}\x{855A}\x{855B}\x{855C}' .
+'\x{855D}\x{855E}\x{855F}\x{8560}\x{8561}\x{8562}\x{8563}\x{8564}\x{8565}' .
+'\x{8566}\x{8567}\x{8568}\x{8569}\x{856A}\x{856B}\x{856C}\x{856D}\x{856E}' .
+'\x{856F}\x{8570}\x{8571}\x{8572}\x{8573}\x{8574}\x{8575}\x{8576}\x{8577}' .
+'\x{8578}\x{8579}\x{857A}\x{857B}\x{857C}\x{857D}\x{857E}\x{8580}\x{8581}' .
+'\x{8582}\x{8583}\x{8584}\x{8585}\x{8586}\x{8587}\x{8588}\x{8589}\x{858A}' .
+'\x{858B}\x{858C}\x{858D}\x{858E}\x{858F}\x{8590}\x{8591}\x{8592}\x{8594}' .
+'\x{8595}\x{8596}\x{8598}\x{8599}\x{859A}\x{859B}\x{859C}\x{859D}\x{859E}' .
+'\x{859F}\x{85A0}\x{85A1}\x{85A2}\x{85A3}\x{85A4}\x{85A5}\x{85A6}\x{85A7}' .
+'\x{85A8}\x{85A9}\x{85AA}\x{85AB}\x{85AC}\x{85AD}\x{85AE}\x{85AF}\x{85B0}' .
+'\x{85B1}\x{85B3}\x{85B4}\x{85B5}\x{85B6}\x{85B7}\x{85B8}\x{85B9}\x{85BA}' .
+'\x{85BC}\x{85BD}\x{85BE}\x{85BF}\x{85C0}\x{85C1}\x{85C2}\x{85C3}\x{85C4}' .
+'\x{85C5}\x{85C6}\x{85C7}\x{85C8}\x{85C9}\x{85CA}\x{85CB}\x{85CD}\x{85CE}' .
+'\x{85CF}\x{85D0}\x{85D1}\x{85D2}\x{85D3}\x{85D4}\x{85D5}\x{85D6}\x{85D7}' .
+'\x{85D8}\x{85D9}\x{85DA}\x{85DB}\x{85DC}\x{85DD}\x{85DE}\x{85DF}\x{85E0}' .
+'\x{85E1}\x{85E2}\x{85E3}\x{85E4}\x{85E5}\x{85E6}\x{85E7}\x{85E8}\x{85E9}' .
+'\x{85EA}\x{85EB}\x{85EC}\x{85ED}\x{85EF}\x{85F0}\x{85F1}\x{85F2}\x{85F4}' .
+'\x{85F5}\x{85F6}\x{85F7}\x{85F8}\x{85F9}\x{85FA}\x{85FB}\x{85FD}\x{85FE}' .
+'\x{85FF}\x{8600}\x{8601}\x{8602}\x{8604}\x{8605}\x{8606}\x{8607}\x{8608}' .
+'\x{8609}\x{860A}\x{860B}\x{860C}\x{860F}\x{8611}\x{8612}\x{8613}\x{8614}' .
+'\x{8616}\x{8617}\x{8618}\x{8619}\x{861A}\x{861B}\x{861C}\x{861E}\x{861F}' .
+'\x{8620}\x{8621}\x{8622}\x{8623}\x{8624}\x{8625}\x{8626}\x{8627}\x{8628}' .
+'\x{8629}\x{862A}\x{862B}\x{862C}\x{862D}\x{862E}\x{862F}\x{8630}\x{8631}' .
+'\x{8632}\x{8633}\x{8634}\x{8635}\x{8636}\x{8638}\x{8639}\x{863A}\x{863B}' .
+'\x{863C}\x{863D}\x{863E}\x{863F}\x{8640}\x{8641}\x{8642}\x{8643}\x{8644}' .
+'\x{8645}\x{8646}\x{8647}\x{8648}\x{8649}\x{864A}\x{864B}\x{864C}\x{864D}' .
+'\x{864E}\x{864F}\x{8650}\x{8651}\x{8652}\x{8653}\x{8654}\x{8655}\x{8656}' .
+'\x{8658}\x{8659}\x{865A}\x{865B}\x{865C}\x{865D}\x{865E}\x{865F}\x{8660}' .
+'\x{8661}\x{8662}\x{8663}\x{8664}\x{8665}\x{8666}\x{8667}\x{8668}\x{8669}' .
+'\x{866A}\x{866B}\x{866C}\x{866D}\x{866E}\x{866F}\x{8670}\x{8671}\x{8672}' .
+'\x{8673}\x{8674}\x{8676}\x{8677}\x{8678}\x{8679}\x{867A}\x{867B}\x{867C}' .
+'\x{867D}\x{867E}\x{867F}\x{8680}\x{8681}\x{8682}\x{8683}\x{8684}\x{8685}' .
+'\x{8686}\x{8687}\x{8688}\x{868A}\x{868B}\x{868C}\x{868D}\x{868E}\x{868F}' .
+'\x{8690}\x{8691}\x{8693}\x{8694}\x{8695}\x{8696}\x{8697}\x{8698}\x{8699}' .
+'\x{869A}\x{869B}\x{869C}\x{869D}\x{869E}\x{869F}\x{86A1}\x{86A2}\x{86A3}' .
+'\x{86A4}\x{86A5}\x{86A7}\x{86A8}\x{86A9}\x{86AA}\x{86AB}\x{86AC}\x{86AD}' .
+'\x{86AE}\x{86AF}\x{86B0}\x{86B1}\x{86B2}\x{86B3}\x{86B4}\x{86B5}\x{86B6}' .
+'\x{86B7}\x{86B8}\x{86B9}\x{86BA}\x{86BB}\x{86BC}\x{86BD}\x{86BE}\x{86BF}' .
+'\x{86C0}\x{86C1}\x{86C2}\x{86C3}\x{86C4}\x{86C5}\x{86C6}\x{86C7}\x{86C8}' .
+'\x{86C9}\x{86CA}\x{86CB}\x{86CC}\x{86CE}\x{86CF}\x{86D0}\x{86D1}\x{86D2}' .
+'\x{86D3}\x{86D4}\x{86D6}\x{86D7}\x{86D8}\x{86D9}\x{86DA}\x{86DB}\x{86DC}' .
+'\x{86DD}\x{86DE}\x{86DF}\x{86E1}\x{86E2}\x{86E3}\x{86E4}\x{86E5}\x{86E6}' .
+'\x{86E8}\x{86E9}\x{86EA}\x{86EB}\x{86EC}\x{86ED}\x{86EE}\x{86EF}\x{86F0}' .
+'\x{86F1}\x{86F2}\x{86F3}\x{86F4}\x{86F5}\x{86F6}\x{86F7}\x{86F8}\x{86F9}' .
+'\x{86FA}\x{86FB}\x{86FC}\x{86FE}\x{86FF}\x{8700}\x{8701}\x{8702}\x{8703}' .
+'\x{8704}\x{8705}\x{8706}\x{8707}\x{8708}\x{8709}\x{870A}\x{870B}\x{870C}' .
+'\x{870D}\x{870E}\x{870F}\x{8710}\x{8711}\x{8712}\x{8713}\x{8714}\x{8715}' .
+'\x{8716}\x{8717}\x{8718}\x{8719}\x{871A}\x{871B}\x{871C}\x{871E}\x{871F}' .
+'\x{8720}\x{8721}\x{8722}\x{8723}\x{8724}\x{8725}\x{8726}\x{8727}\x{8728}' .
+'\x{8729}\x{872A}\x{872B}\x{872C}\x{872D}\x{872E}\x{8730}\x{8731}\x{8732}' .
+'\x{8733}\x{8734}\x{8735}\x{8736}\x{8737}\x{8738}\x{8739}\x{873A}\x{873B}' .
+'\x{873C}\x{873E}\x{873F}\x{8740}\x{8741}\x{8742}\x{8743}\x{8744}\x{8746}' .
+'\x{8747}\x{8748}\x{8749}\x{874A}\x{874C}\x{874D}\x{874E}\x{874F}\x{8750}' .
+'\x{8751}\x{8752}\x{8753}\x{8754}\x{8755}\x{8756}\x{8757}\x{8758}\x{8759}' .
+'\x{875A}\x{875B}\x{875C}\x{875D}\x{875E}\x{875F}\x{8760}\x{8761}\x{8762}' .
+'\x{8763}\x{8764}\x{8765}\x{8766}\x{8767}\x{8768}\x{8769}\x{876A}\x{876B}' .
+'\x{876C}\x{876D}\x{876E}\x{876F}\x{8770}\x{8772}\x{8773}\x{8774}\x{8775}' .
+'\x{8776}\x{8777}\x{8778}\x{8779}\x{877A}\x{877B}\x{877C}\x{877D}\x{877E}' .
+'\x{8780}\x{8781}\x{8782}\x{8783}\x{8784}\x{8785}\x{8786}\x{8787}\x{8788}' .
+'\x{8789}\x{878A}\x{878B}\x{878C}\x{878D}\x{878F}\x{8790}\x{8791}\x{8792}' .
+'\x{8793}\x{8794}\x{8795}\x{8796}\x{8797}\x{8798}\x{879A}\x{879B}\x{879C}' .
+'\x{879D}\x{879E}\x{879F}\x{87A0}\x{87A1}\x{87A2}\x{87A3}\x{87A4}\x{87A5}' .
+'\x{87A6}\x{87A7}\x{87A8}\x{87A9}\x{87AA}\x{87AB}\x{87AC}\x{87AD}\x{87AE}' .
+'\x{87AF}\x{87B0}\x{87B1}\x{87B2}\x{87B3}\x{87B4}\x{87B5}\x{87B6}\x{87B7}' .
+'\x{87B8}\x{87B9}\x{87BA}\x{87BB}\x{87BC}\x{87BD}\x{87BE}\x{87BF}\x{87C0}' .
+'\x{87C1}\x{87C2}\x{87C3}\x{87C4}\x{87C5}\x{87C6}\x{87C7}\x{87C8}\x{87C9}' .
+'\x{87CA}\x{87CB}\x{87CC}\x{87CD}\x{87CE}\x{87CF}\x{87D0}\x{87D1}\x{87D2}' .
+'\x{87D3}\x{87D4}\x{87D5}\x{87D6}\x{87D7}\x{87D8}\x{87D9}\x{87DB}\x{87DC}' .
+'\x{87DD}\x{87DE}\x{87DF}\x{87E0}\x{87E1}\x{87E2}\x{87E3}\x{87E4}\x{87E5}' .
+'\x{87E6}\x{87E7}\x{87E8}\x{87E9}\x{87EA}\x{87EB}\x{87EC}\x{87ED}\x{87EE}' .
+'\x{87EF}\x{87F1}\x{87F2}\x{87F3}\x{87F4}\x{87F5}\x{87F6}\x{87F7}\x{87F8}' .
+'\x{87F9}\x{87FA}\x{87FB}\x{87FC}\x{87FD}\x{87FE}\x{87FF}\x{8800}\x{8801}' .
+'\x{8802}\x{8803}\x{8804}\x{8805}\x{8806}\x{8808}\x{8809}\x{880A}\x{880B}' .
+'\x{880C}\x{880D}\x{880E}\x{880F}\x{8810}\x{8811}\x{8813}\x{8814}\x{8815}' .
+'\x{8816}\x{8817}\x{8818}\x{8819}\x{881A}\x{881B}\x{881C}\x{881D}\x{881E}' .
+'\x{881F}\x{8820}\x{8821}\x{8822}\x{8823}\x{8824}\x{8825}\x{8826}\x{8827}' .
+'\x{8828}\x{8829}\x{882A}\x{882B}\x{882C}\x{882E}\x{882F}\x{8830}\x{8831}' .
+'\x{8832}\x{8833}\x{8834}\x{8835}\x{8836}\x{8837}\x{8838}\x{8839}\x{883B}' .
+'\x{883C}\x{883D}\x{883E}\x{883F}\x{8840}\x{8841}\x{8842}\x{8843}\x{8844}' .
+'\x{8845}\x{8846}\x{8848}\x{8849}\x{884A}\x{884B}\x{884C}\x{884D}\x{884E}' .
+'\x{884F}\x{8850}\x{8851}\x{8852}\x{8853}\x{8854}\x{8855}\x{8856}\x{8857}' .
+'\x{8859}\x{885A}\x{885B}\x{885D}\x{885E}\x{8860}\x{8861}\x{8862}\x{8863}' .
+'\x{8864}\x{8865}\x{8866}\x{8867}\x{8868}\x{8869}\x{886A}\x{886B}\x{886C}' .
+'\x{886D}\x{886E}\x{886F}\x{8870}\x{8871}\x{8872}\x{8873}\x{8874}\x{8875}' .
+'\x{8876}\x{8877}\x{8878}\x{8879}\x{887B}\x{887C}\x{887D}\x{887E}\x{887F}' .
+'\x{8880}\x{8881}\x{8882}\x{8883}\x{8884}\x{8885}\x{8886}\x{8887}\x{8888}' .
+'\x{8889}\x{888A}\x{888B}\x{888C}\x{888D}\x{888E}\x{888F}\x{8890}\x{8891}' .
+'\x{8892}\x{8893}\x{8894}\x{8895}\x{8896}\x{8897}\x{8898}\x{8899}\x{889A}' .
+'\x{889B}\x{889C}\x{889D}\x{889E}\x{889F}\x{88A0}\x{88A1}\x{88A2}\x{88A3}' .
+'\x{88A4}\x{88A5}\x{88A6}\x{88A7}\x{88A8}\x{88A9}\x{88AA}\x{88AB}\x{88AC}' .
+'\x{88AD}\x{88AE}\x{88AF}\x{88B0}\x{88B1}\x{88B2}\x{88B3}\x{88B4}\x{88B6}' .
+'\x{88B7}\x{88B8}\x{88B9}\x{88BA}\x{88BB}\x{88BC}\x{88BD}\x{88BE}\x{88BF}' .
+'\x{88C0}\x{88C1}\x{88C2}\x{88C3}\x{88C4}\x{88C5}\x{88C6}\x{88C7}\x{88C8}' .
+'\x{88C9}\x{88CA}\x{88CB}\x{88CC}\x{88CD}\x{88CE}\x{88CF}\x{88D0}\x{88D1}' .
+'\x{88D2}\x{88D3}\x{88D4}\x{88D5}\x{88D6}\x{88D7}\x{88D8}\x{88D9}\x{88DA}' .
+'\x{88DB}\x{88DC}\x{88DD}\x{88DE}\x{88DF}\x{88E0}\x{88E1}\x{88E2}\x{88E3}' .
+'\x{88E4}\x{88E5}\x{88E7}\x{88E8}\x{88EA}\x{88EB}\x{88EC}\x{88EE}\x{88EF}' .
+'\x{88F0}\x{88F1}\x{88F2}\x{88F3}\x{88F4}\x{88F5}\x{88F6}\x{88F7}\x{88F8}' .
+'\x{88F9}\x{88FA}\x{88FB}\x{88FC}\x{88FD}\x{88FE}\x{88FF}\x{8900}\x{8901}' .
+'\x{8902}\x{8904}\x{8905}\x{8906}\x{8907}\x{8908}\x{8909}\x{890A}\x{890B}' .
+'\x{890C}\x{890D}\x{890E}\x{8910}\x{8911}\x{8912}\x{8913}\x{8914}\x{8915}' .
+'\x{8916}\x{8917}\x{8918}\x{8919}\x{891A}\x{891B}\x{891C}\x{891D}\x{891E}' .
+'\x{891F}\x{8920}\x{8921}\x{8922}\x{8923}\x{8925}\x{8926}\x{8927}\x{8928}' .
+'\x{8929}\x{892A}\x{892B}\x{892C}\x{892D}\x{892E}\x{892F}\x{8930}\x{8931}' .
+'\x{8932}\x{8933}\x{8934}\x{8935}\x{8936}\x{8937}\x{8938}\x{8939}\x{893A}' .
+'\x{893B}\x{893C}\x{893D}\x{893E}\x{893F}\x{8940}\x{8941}\x{8942}\x{8943}' .
+'\x{8944}\x{8945}\x{8946}\x{8947}\x{8948}\x{8949}\x{894A}\x{894B}\x{894C}' .
+'\x{894E}\x{894F}\x{8950}\x{8951}\x{8952}\x{8953}\x{8954}\x{8955}\x{8956}' .
+'\x{8957}\x{8958}\x{8959}\x{895A}\x{895B}\x{895C}\x{895D}\x{895E}\x{895F}' .
+'\x{8960}\x{8961}\x{8962}\x{8963}\x{8964}\x{8966}\x{8967}\x{8968}\x{8969}' .
+'\x{896A}\x{896B}\x{896C}\x{896D}\x{896E}\x{896F}\x{8970}\x{8971}\x{8972}' .
+'\x{8973}\x{8974}\x{8976}\x{8977}\x{8978}\x{8979}\x{897A}\x{897B}\x{897C}' .
+'\x{897E}\x{897F}\x{8980}\x{8981}\x{8982}\x{8983}\x{8984}\x{8985}\x{8986}' .
+'\x{8987}\x{8988}\x{8989}\x{898A}\x{898B}\x{898C}\x{898E}\x{898F}\x{8991}' .
+'\x{8992}\x{8993}\x{8995}\x{8996}\x{8997}\x{8998}\x{899A}\x{899B}\x{899C}' .
+'\x{899D}\x{899E}\x{899F}\x{89A0}\x{89A1}\x{89A2}\x{89A3}\x{89A4}\x{89A5}' .
+'\x{89A6}\x{89A7}\x{89A8}\x{89AA}\x{89AB}\x{89AC}\x{89AD}\x{89AE}\x{89AF}' .
+'\x{89B1}\x{89B2}\x{89B3}\x{89B5}\x{89B6}\x{89B7}\x{89B8}\x{89B9}\x{89BA}' .
+'\x{89BD}\x{89BE}\x{89BF}\x{89C0}\x{89C1}\x{89C2}\x{89C3}\x{89C4}\x{89C5}' .
+'\x{89C6}\x{89C7}\x{89C8}\x{89C9}\x{89CA}\x{89CB}\x{89CC}\x{89CD}\x{89CE}' .
+'\x{89CF}\x{89D0}\x{89D1}\x{89D2}\x{89D3}\x{89D4}\x{89D5}\x{89D6}\x{89D7}' .
+'\x{89D8}\x{89D9}\x{89DA}\x{89DB}\x{89DC}\x{89DD}\x{89DE}\x{89DF}\x{89E0}' .
+'\x{89E1}\x{89E2}\x{89E3}\x{89E4}\x{89E5}\x{89E6}\x{89E7}\x{89E8}\x{89E9}' .
+'\x{89EA}\x{89EB}\x{89EC}\x{89ED}\x{89EF}\x{89F0}\x{89F1}\x{89F2}\x{89F3}' .
+'\x{89F4}\x{89F6}\x{89F7}\x{89F8}\x{89FA}\x{89FB}\x{89FC}\x{89FE}\x{89FF}' .
+'\x{8A00}\x{8A01}\x{8A02}\x{8A03}\x{8A04}\x{8A07}\x{8A08}\x{8A09}\x{8A0A}' .
+'\x{8A0B}\x{8A0C}\x{8A0D}\x{8A0E}\x{8A0F}\x{8A10}\x{8A11}\x{8A12}\x{8A13}' .
+'\x{8A15}\x{8A16}\x{8A17}\x{8A18}\x{8A1A}\x{8A1B}\x{8A1C}\x{8A1D}\x{8A1E}' .
+'\x{8A1F}\x{8A22}\x{8A23}\x{8A24}\x{8A25}\x{8A26}\x{8A27}\x{8A28}\x{8A29}' .
+'\x{8A2A}\x{8A2C}\x{8A2D}\x{8A2E}\x{8A2F}\x{8A30}\x{8A31}\x{8A32}\x{8A34}' .
+'\x{8A35}\x{8A36}\x{8A37}\x{8A38}\x{8A39}\x{8A3A}\x{8A3B}\x{8A3C}\x{8A3E}' .
+'\x{8A3F}\x{8A40}\x{8A41}\x{8A42}\x{8A43}\x{8A44}\x{8A45}\x{8A46}\x{8A47}' .
+'\x{8A48}\x{8A49}\x{8A4A}\x{8A4C}\x{8A4D}\x{8A4E}\x{8A4F}\x{8A50}\x{8A51}' .
+'\x{8A52}\x{8A53}\x{8A54}\x{8A55}\x{8A56}\x{8A57}\x{8A58}\x{8A59}\x{8A5A}' .
+'\x{8A5B}\x{8A5C}\x{8A5D}\x{8A5E}\x{8A5F}\x{8A60}\x{8A61}\x{8A62}\x{8A63}' .
+'\x{8A65}\x{8A66}\x{8A67}\x{8A68}\x{8A69}\x{8A6A}\x{8A6B}\x{8A6C}\x{8A6D}' .
+'\x{8A6E}\x{8A6F}\x{8A70}\x{8A71}\x{8A72}\x{8A73}\x{8A74}\x{8A75}\x{8A76}' .
+'\x{8A77}\x{8A79}\x{8A7A}\x{8A7B}\x{8A7C}\x{8A7E}\x{8A7F}\x{8A80}\x{8A81}' .
+'\x{8A82}\x{8A83}\x{8A84}\x{8A85}\x{8A86}\x{8A87}\x{8A89}\x{8A8A}\x{8A8B}' .
+'\x{8A8C}\x{8A8D}\x{8A8E}\x{8A8F}\x{8A90}\x{8A91}\x{8A92}\x{8A93}\x{8A94}' .
+'\x{8A95}\x{8A96}\x{8A97}\x{8A98}\x{8A99}\x{8A9A}\x{8A9B}\x{8A9C}\x{8A9D}' .
+'\x{8A9E}\x{8AA0}\x{8AA1}\x{8AA2}\x{8AA3}\x{8AA4}\x{8AA5}\x{8AA6}\x{8AA7}' .
+'\x{8AA8}\x{8AA9}\x{8AAA}\x{8AAB}\x{8AAC}\x{8AAE}\x{8AB0}\x{8AB1}\x{8AB2}' .
+'\x{8AB3}\x{8AB4}\x{8AB5}\x{8AB6}\x{8AB8}\x{8AB9}\x{8ABA}\x{8ABB}\x{8ABC}' .
+'\x{8ABD}\x{8ABE}\x{8ABF}\x{8AC0}\x{8AC1}\x{8AC2}\x{8AC3}\x{8AC4}\x{8AC5}' .
+'\x{8AC6}\x{8AC7}\x{8AC8}\x{8AC9}\x{8ACA}\x{8ACB}\x{8ACC}\x{8ACD}\x{8ACE}' .
+'\x{8ACF}\x{8AD1}\x{8AD2}\x{8AD3}\x{8AD4}\x{8AD5}\x{8AD6}\x{8AD7}\x{8AD8}' .
+'\x{8AD9}\x{8ADA}\x{8ADB}\x{8ADC}\x{8ADD}\x{8ADE}\x{8ADF}\x{8AE0}\x{8AE1}' .
+'\x{8AE2}\x{8AE3}\x{8AE4}\x{8AE5}\x{8AE6}\x{8AE7}\x{8AE8}\x{8AE9}\x{8AEA}' .
+'\x{8AEB}\x{8AED}\x{8AEE}\x{8AEF}\x{8AF0}\x{8AF1}\x{8AF2}\x{8AF3}\x{8AF4}' .
+'\x{8AF5}\x{8AF6}\x{8AF7}\x{8AF8}\x{8AF9}\x{8AFA}\x{8AFB}\x{8AFC}\x{8AFD}' .
+'\x{8AFE}\x{8AFF}\x{8B00}\x{8B01}\x{8B02}\x{8B03}\x{8B04}\x{8B05}\x{8B06}' .
+'\x{8B07}\x{8B08}\x{8B09}\x{8B0A}\x{8B0B}\x{8B0D}\x{8B0E}\x{8B0F}\x{8B10}' .
+'\x{8B11}\x{8B12}\x{8B13}\x{8B14}\x{8B15}\x{8B16}\x{8B17}\x{8B18}\x{8B19}' .
+'\x{8B1A}\x{8B1B}\x{8B1C}\x{8B1D}\x{8B1E}\x{8B1F}\x{8B20}\x{8B21}\x{8B22}' .
+'\x{8B23}\x{8B24}\x{8B25}\x{8B26}\x{8B27}\x{8B28}\x{8B2A}\x{8B2B}\x{8B2C}' .
+'\x{8B2D}\x{8B2E}\x{8B2F}\x{8B30}\x{8B31}\x{8B33}\x{8B34}\x{8B35}\x{8B36}' .
+'\x{8B37}\x{8B39}\x{8B3A}\x{8B3B}\x{8B3C}\x{8B3D}\x{8B3E}\x{8B40}\x{8B41}' .
+'\x{8B42}\x{8B43}\x{8B44}\x{8B45}\x{8B46}\x{8B47}\x{8B48}\x{8B49}\x{8B4A}' .
+'\x{8B4B}\x{8B4C}\x{8B4D}\x{8B4E}\x{8B4F}\x{8B50}\x{8B51}\x{8B52}\x{8B53}' .
+'\x{8B54}\x{8B55}\x{8B56}\x{8B57}\x{8B58}\x{8B59}\x{8B5A}\x{8B5B}\x{8B5C}' .
+'\x{8B5D}\x{8B5E}\x{8B5F}\x{8B60}\x{8B63}\x{8B64}\x{8B65}\x{8B66}\x{8B67}' .
+'\x{8B68}\x{8B6A}\x{8B6B}\x{8B6C}\x{8B6D}\x{8B6E}\x{8B6F}\x{8B70}\x{8B71}' .
+'\x{8B73}\x{8B74}\x{8B76}\x{8B77}\x{8B78}\x{8B79}\x{8B7A}\x{8B7B}\x{8B7D}' .
+'\x{8B7E}\x{8B7F}\x{8B80}\x{8B82}\x{8B83}\x{8B84}\x{8B85}\x{8B86}\x{8B88}' .
+'\x{8B89}\x{8B8A}\x{8B8B}\x{8B8C}\x{8B8E}\x{8B90}\x{8B91}\x{8B92}\x{8B93}' .
+'\x{8B94}\x{8B95}\x{8B96}\x{8B97}\x{8B98}\x{8B99}\x{8B9A}\x{8B9C}\x{8B9D}' .
+'\x{8B9E}\x{8B9F}\x{8BA0}\x{8BA1}\x{8BA2}\x{8BA3}\x{8BA4}\x{8BA5}\x{8BA6}' .
+'\x{8BA7}\x{8BA8}\x{8BA9}\x{8BAA}\x{8BAB}\x{8BAC}\x{8BAD}\x{8BAE}\x{8BAF}' .
+'\x{8BB0}\x{8BB1}\x{8BB2}\x{8BB3}\x{8BB4}\x{8BB5}\x{8BB6}\x{8BB7}\x{8BB8}' .
+'\x{8BB9}\x{8BBA}\x{8BBB}\x{8BBC}\x{8BBD}\x{8BBE}\x{8BBF}\x{8BC0}\x{8BC1}' .
+'\x{8BC2}\x{8BC3}\x{8BC4}\x{8BC5}\x{8BC6}\x{8BC7}\x{8BC8}\x{8BC9}\x{8BCA}' .
+'\x{8BCB}\x{8BCC}\x{8BCD}\x{8BCE}\x{8BCF}\x{8BD0}\x{8BD1}\x{8BD2}\x{8BD3}' .
+'\x{8BD4}\x{8BD5}\x{8BD6}\x{8BD7}\x{8BD8}\x{8BD9}\x{8BDA}\x{8BDB}\x{8BDC}' .
+'\x{8BDD}\x{8BDE}\x{8BDF}\x{8BE0}\x{8BE1}\x{8BE2}\x{8BE3}\x{8BE4}\x{8BE5}' .
+'\x{8BE6}\x{8BE7}\x{8BE8}\x{8BE9}\x{8BEA}\x{8BEB}\x{8BEC}\x{8BED}\x{8BEE}' .
+'\x{8BEF}\x{8BF0}\x{8BF1}\x{8BF2}\x{8BF3}\x{8BF4}\x{8BF5}\x{8BF6}\x{8BF7}' .
+'\x{8BF8}\x{8BF9}\x{8BFA}\x{8BFB}\x{8BFC}\x{8BFD}\x{8BFE}\x{8BFF}\x{8C00}' .
+'\x{8C01}\x{8C02}\x{8C03}\x{8C04}\x{8C05}\x{8C06}\x{8C07}\x{8C08}\x{8C09}' .
+'\x{8C0A}\x{8C0B}\x{8C0C}\x{8C0D}\x{8C0E}\x{8C0F}\x{8C10}\x{8C11}\x{8C12}' .
+'\x{8C13}\x{8C14}\x{8C15}\x{8C16}\x{8C17}\x{8C18}\x{8C19}\x{8C1A}\x{8C1B}' .
+'\x{8C1C}\x{8C1D}\x{8C1E}\x{8C1F}\x{8C20}\x{8C21}\x{8C22}\x{8C23}\x{8C24}' .
+'\x{8C25}\x{8C26}\x{8C27}\x{8C28}\x{8C29}\x{8C2A}\x{8C2B}\x{8C2C}\x{8C2D}' .
+'\x{8C2E}\x{8C2F}\x{8C30}\x{8C31}\x{8C32}\x{8C33}\x{8C34}\x{8C35}\x{8C36}' .
+'\x{8C37}\x{8C39}\x{8C3A}\x{8C3B}\x{8C3C}\x{8C3D}\x{8C3E}\x{8C3F}\x{8C41}' .
+'\x{8C42}\x{8C43}\x{8C45}\x{8C46}\x{8C47}\x{8C48}\x{8C49}\x{8C4A}\x{8C4B}' .
+'\x{8C4C}\x{8C4D}\x{8C4E}\x{8C4F}\x{8C50}\x{8C54}\x{8C55}\x{8C56}\x{8C57}' .
+'\x{8C59}\x{8C5A}\x{8C5B}\x{8C5C}\x{8C5D}\x{8C5E}\x{8C5F}\x{8C60}\x{8C61}' .
+'\x{8C62}\x{8C63}\x{8C64}\x{8C65}\x{8C66}\x{8C67}\x{8C68}\x{8C69}\x{8C6A}' .
+'\x{8C6B}\x{8C6C}\x{8C6D}\x{8C6E}\x{8C6F}\x{8C70}\x{8C71}\x{8C72}\x{8C73}' .
+'\x{8C75}\x{8C76}\x{8C77}\x{8C78}\x{8C79}\x{8C7A}\x{8C7B}\x{8C7D}\x{8C7E}' .
+'\x{8C80}\x{8C81}\x{8C82}\x{8C84}\x{8C85}\x{8C86}\x{8C88}\x{8C89}\x{8C8A}' .
+'\x{8C8C}\x{8C8D}\x{8C8F}\x{8C90}\x{8C91}\x{8C92}\x{8C93}\x{8C94}\x{8C95}' .
+'\x{8C96}\x{8C97}\x{8C98}\x{8C99}\x{8C9A}\x{8C9C}\x{8C9D}\x{8C9E}\x{8C9F}' .
+'\x{8CA0}\x{8CA1}\x{8CA2}\x{8CA3}\x{8CA4}\x{8CA5}\x{8CA7}\x{8CA8}\x{8CA9}' .
+'\x{8CAA}\x{8CAB}\x{8CAC}\x{8CAD}\x{8CAE}\x{8CAF}\x{8CB0}\x{8CB1}\x{8CB2}' .
+'\x{8CB3}\x{8CB4}\x{8CB5}\x{8CB6}\x{8CB7}\x{8CB8}\x{8CB9}\x{8CBA}\x{8CBB}' .
+'\x{8CBC}\x{8CBD}\x{8CBE}\x{8CBF}\x{8CC0}\x{8CC1}\x{8CC2}\x{8CC3}\x{8CC4}' .
+'\x{8CC5}\x{8CC6}\x{8CC7}\x{8CC8}\x{8CC9}\x{8CCA}\x{8CCC}\x{8CCE}\x{8CCF}' .
+'\x{8CD0}\x{8CD1}\x{8CD2}\x{8CD3}\x{8CD4}\x{8CD5}\x{8CD7}\x{8CD9}\x{8CDA}' .
+'\x{8CDB}\x{8CDC}\x{8CDD}\x{8CDE}\x{8CDF}\x{8CE0}\x{8CE1}\x{8CE2}\x{8CE3}' .
+'\x{8CE4}\x{8CE5}\x{8CE6}\x{8CE7}\x{8CE8}\x{8CEA}\x{8CEB}\x{8CEC}\x{8CED}' .
+'\x{8CEE}\x{8CEF}\x{8CF0}\x{8CF1}\x{8CF2}\x{8CF3}\x{8CF4}\x{8CF5}\x{8CF6}' .
+'\x{8CF8}\x{8CF9}\x{8CFA}\x{8CFB}\x{8CFC}\x{8CFD}\x{8CFE}\x{8CFF}\x{8D00}' .
+'\x{8D02}\x{8D03}\x{8D04}\x{8D05}\x{8D06}\x{8D07}\x{8D08}\x{8D09}\x{8D0A}' .
+'\x{8D0B}\x{8D0C}\x{8D0D}\x{8D0E}\x{8D0F}\x{8D10}\x{8D13}\x{8D14}\x{8D15}' .
+'\x{8D16}\x{8D17}\x{8D18}\x{8D19}\x{8D1A}\x{8D1B}\x{8D1C}\x{8D1D}\x{8D1E}' .
+'\x{8D1F}\x{8D20}\x{8D21}\x{8D22}\x{8D23}\x{8D24}\x{8D25}\x{8D26}\x{8D27}' .
+'\x{8D28}\x{8D29}\x{8D2A}\x{8D2B}\x{8D2C}\x{8D2D}\x{8D2E}\x{8D2F}\x{8D30}' .
+'\x{8D31}\x{8D32}\x{8D33}\x{8D34}\x{8D35}\x{8D36}\x{8D37}\x{8D38}\x{8D39}' .
+'\x{8D3A}\x{8D3B}\x{8D3C}\x{8D3D}\x{8D3E}\x{8D3F}\x{8D40}\x{8D41}\x{8D42}' .
+'\x{8D43}\x{8D44}\x{8D45}\x{8D46}\x{8D47}\x{8D48}\x{8D49}\x{8D4A}\x{8D4B}' .
+'\x{8D4C}\x{8D4D}\x{8D4E}\x{8D4F}\x{8D50}\x{8D51}\x{8D52}\x{8D53}\x{8D54}' .
+'\x{8D55}\x{8D56}\x{8D57}\x{8D58}\x{8D59}\x{8D5A}\x{8D5B}\x{8D5C}\x{8D5D}' .
+'\x{8D5E}\x{8D5F}\x{8D60}\x{8D61}\x{8D62}\x{8D63}\x{8D64}\x{8D65}\x{8D66}' .
+'\x{8D67}\x{8D68}\x{8D69}\x{8D6A}\x{8D6B}\x{8D6C}\x{8D6D}\x{8D6E}\x{8D6F}' .
+'\x{8D70}\x{8D71}\x{8D72}\x{8D73}\x{8D74}\x{8D75}\x{8D76}\x{8D77}\x{8D78}' .
+'\x{8D79}\x{8D7A}\x{8D7B}\x{8D7D}\x{8D7E}\x{8D7F}\x{8D80}\x{8D81}\x{8D82}' .
+'\x{8D83}\x{8D84}\x{8D85}\x{8D86}\x{8D87}\x{8D88}\x{8D89}\x{8D8A}\x{8D8B}' .
+'\x{8D8C}\x{8D8D}\x{8D8E}\x{8D8F}\x{8D90}\x{8D91}\x{8D92}\x{8D93}\x{8D94}' .
+'\x{8D95}\x{8D96}\x{8D97}\x{8D98}\x{8D99}\x{8D9A}\x{8D9B}\x{8D9C}\x{8D9D}' .
+'\x{8D9E}\x{8D9F}\x{8DA0}\x{8DA1}\x{8DA2}\x{8DA3}\x{8DA4}\x{8DA5}\x{8DA7}' .
+'\x{8DA8}\x{8DA9}\x{8DAA}\x{8DAB}\x{8DAC}\x{8DAD}\x{8DAE}\x{8DAF}\x{8DB0}' .
+'\x{8DB1}\x{8DB2}\x{8DB3}\x{8DB4}\x{8DB5}\x{8DB6}\x{8DB7}\x{8DB8}\x{8DB9}' .
+'\x{8DBA}\x{8DBB}\x{8DBC}\x{8DBD}\x{8DBE}\x{8DBF}\x{8DC1}\x{8DC2}\x{8DC3}' .
+'\x{8DC4}\x{8DC5}\x{8DC6}\x{8DC7}\x{8DC8}\x{8DC9}\x{8DCA}\x{8DCB}\x{8DCC}' .
+'\x{8DCD}\x{8DCE}\x{8DCF}\x{8DD0}\x{8DD1}\x{8DD2}\x{8DD3}\x{8DD4}\x{8DD5}' .
+'\x{8DD6}\x{8DD7}\x{8DD8}\x{8DD9}\x{8DDA}\x{8DDB}\x{8DDC}\x{8DDD}\x{8DDE}' .
+'\x{8DDF}\x{8DE0}\x{8DE1}\x{8DE2}\x{8DE3}\x{8DE4}\x{8DE6}\x{8DE7}\x{8DE8}' .
+'\x{8DE9}\x{8DEA}\x{8DEB}\x{8DEC}\x{8DED}\x{8DEE}\x{8DEF}\x{8DF0}\x{8DF1}' .
+'\x{8DF2}\x{8DF3}\x{8DF4}\x{8DF5}\x{8DF6}\x{8DF7}\x{8DF8}\x{8DF9}\x{8DFA}' .
+'\x{8DFB}\x{8DFC}\x{8DFD}\x{8DFE}\x{8DFF}\x{8E00}\x{8E02}\x{8E03}\x{8E04}' .
+'\x{8E05}\x{8E06}\x{8E07}\x{8E08}\x{8E09}\x{8E0A}\x{8E0C}\x{8E0D}\x{8E0E}' .
+'\x{8E0F}\x{8E10}\x{8E11}\x{8E12}\x{8E13}\x{8E14}\x{8E15}\x{8E16}\x{8E17}' .
+'\x{8E18}\x{8E19}\x{8E1A}\x{8E1B}\x{8E1C}\x{8E1D}\x{8E1E}\x{8E1F}\x{8E20}' .
+'\x{8E21}\x{8E22}\x{8E23}\x{8E24}\x{8E25}\x{8E26}\x{8E27}\x{8E28}\x{8E29}' .
+'\x{8E2A}\x{8E2B}\x{8E2C}\x{8E2D}\x{8E2E}\x{8E2F}\x{8E30}\x{8E31}\x{8E33}' .
+'\x{8E34}\x{8E35}\x{8E36}\x{8E37}\x{8E38}\x{8E39}\x{8E3A}\x{8E3B}\x{8E3C}' .
+'\x{8E3D}\x{8E3E}\x{8E3F}\x{8E40}\x{8E41}\x{8E42}\x{8E43}\x{8E44}\x{8E45}' .
+'\x{8E47}\x{8E48}\x{8E49}\x{8E4A}\x{8E4B}\x{8E4C}\x{8E4D}\x{8E4E}\x{8E50}' .
+'\x{8E51}\x{8E52}\x{8E53}\x{8E54}\x{8E55}\x{8E56}\x{8E57}\x{8E58}\x{8E59}' .
+'\x{8E5A}\x{8E5B}\x{8E5C}\x{8E5D}\x{8E5E}\x{8E5F}\x{8E60}\x{8E61}\x{8E62}' .
+'\x{8E63}\x{8E64}\x{8E65}\x{8E66}\x{8E67}\x{8E68}\x{8E69}\x{8E6A}\x{8E6B}' .
+'\x{8E6C}\x{8E6D}\x{8E6F}\x{8E70}\x{8E71}\x{8E72}\x{8E73}\x{8E74}\x{8E76}' .
+'\x{8E78}\x{8E7A}\x{8E7B}\x{8E7C}\x{8E7D}\x{8E7E}\x{8E7F}\x{8E80}\x{8E81}' .
+'\x{8E82}\x{8E83}\x{8E84}\x{8E85}\x{8E86}\x{8E87}\x{8E88}\x{8E89}\x{8E8A}' .
+'\x{8E8B}\x{8E8C}\x{8E8D}\x{8E8E}\x{8E8F}\x{8E90}\x{8E91}\x{8E92}\x{8E93}' .
+'\x{8E94}\x{8E95}\x{8E96}\x{8E97}\x{8E98}\x{8E9A}\x{8E9C}\x{8E9D}\x{8E9E}' .
+'\x{8E9F}\x{8EA0}\x{8EA1}\x{8EA3}\x{8EA4}\x{8EA5}\x{8EA6}\x{8EA7}\x{8EA8}' .
+'\x{8EA9}\x{8EAA}\x{8EAB}\x{8EAC}\x{8EAD}\x{8EAE}\x{8EAF}\x{8EB0}\x{8EB1}' .
+'\x{8EB2}\x{8EB4}\x{8EB5}\x{8EB8}\x{8EB9}\x{8EBA}\x{8EBB}\x{8EBC}\x{8EBD}' .
+'\x{8EBE}\x{8EBF}\x{8EC0}\x{8EC2}\x{8EC3}\x{8EC5}\x{8EC6}\x{8EC7}\x{8EC8}' .
+'\x{8EC9}\x{8ECA}\x{8ECB}\x{8ECC}\x{8ECD}\x{8ECE}\x{8ECF}\x{8ED0}\x{8ED1}' .
+'\x{8ED2}\x{8ED3}\x{8ED4}\x{8ED5}\x{8ED6}\x{8ED7}\x{8ED8}\x{8EDA}\x{8EDB}' .
+'\x{8EDC}\x{8EDD}\x{8EDE}\x{8EDF}\x{8EE0}\x{8EE1}\x{8EE4}\x{8EE5}\x{8EE6}' .
+'\x{8EE7}\x{8EE8}\x{8EE9}\x{8EEA}\x{8EEB}\x{8EEC}\x{8EED}\x{8EEE}\x{8EEF}' .
+'\x{8EF1}\x{8EF2}\x{8EF3}\x{8EF4}\x{8EF5}\x{8EF6}\x{8EF7}\x{8EF8}\x{8EF9}' .
+'\x{8EFA}\x{8EFB}\x{8EFC}\x{8EFD}\x{8EFE}\x{8EFF}\x{8F00}\x{8F01}\x{8F02}' .
+'\x{8F03}\x{8F04}\x{8F05}\x{8F06}\x{8F07}\x{8F08}\x{8F09}\x{8F0A}\x{8F0B}' .
+'\x{8F0D}\x{8F0E}\x{8F10}\x{8F11}\x{8F12}\x{8F13}\x{8F14}\x{8F15}\x{8F16}' .
+'\x{8F17}\x{8F18}\x{8F1A}\x{8F1B}\x{8F1C}\x{8F1D}\x{8F1E}\x{8F1F}\x{8F20}' .
+'\x{8F21}\x{8F22}\x{8F23}\x{8F24}\x{8F25}\x{8F26}\x{8F27}\x{8F28}\x{8F29}' .
+'\x{8F2A}\x{8F2B}\x{8F2C}\x{8F2E}\x{8F2F}\x{8F30}\x{8F31}\x{8F32}\x{8F33}' .
+'\x{8F34}\x{8F35}\x{8F36}\x{8F37}\x{8F38}\x{8F39}\x{8F3B}\x{8F3C}\x{8F3D}' .
+'\x{8F3E}\x{8F3F}\x{8F40}\x{8F42}\x{8F43}\x{8F44}\x{8F45}\x{8F46}\x{8F47}' .
+'\x{8F48}\x{8F49}\x{8F4A}\x{8F4B}\x{8F4C}\x{8F4D}\x{8F4E}\x{8F4F}\x{8F50}' .
+'\x{8F51}\x{8F52}\x{8F53}\x{8F54}\x{8F55}\x{8F56}\x{8F57}\x{8F58}\x{8F59}' .
+'\x{8F5A}\x{8F5B}\x{8F5D}\x{8F5E}\x{8F5F}\x{8F60}\x{8F61}\x{8F62}\x{8F63}' .
+'\x{8F64}\x{8F65}\x{8F66}\x{8F67}\x{8F68}\x{8F69}\x{8F6A}\x{8F6B}\x{8F6C}' .
+'\x{8F6D}\x{8F6E}\x{8F6F}\x{8F70}\x{8F71}\x{8F72}\x{8F73}\x{8F74}\x{8F75}' .
+'\x{8F76}\x{8F77}\x{8F78}\x{8F79}\x{8F7A}\x{8F7B}\x{8F7C}\x{8F7D}\x{8F7E}' .
+'\x{8F7F}\x{8F80}\x{8F81}\x{8F82}\x{8F83}\x{8F84}\x{8F85}\x{8F86}\x{8F87}' .
+'\x{8F88}\x{8F89}\x{8F8A}\x{8F8B}\x{8F8C}\x{8F8D}\x{8F8E}\x{8F8F}\x{8F90}' .
+'\x{8F91}\x{8F92}\x{8F93}\x{8F94}\x{8F95}\x{8F96}\x{8F97}\x{8F98}\x{8F99}' .
+'\x{8F9A}\x{8F9B}\x{8F9C}\x{8F9E}\x{8F9F}\x{8FA0}\x{8FA1}\x{8FA2}\x{8FA3}' .
+'\x{8FA5}\x{8FA6}\x{8FA7}\x{8FA8}\x{8FA9}\x{8FAA}\x{8FAB}\x{8FAC}\x{8FAD}' .
+'\x{8FAE}\x{8FAF}\x{8FB0}\x{8FB1}\x{8FB2}\x{8FB4}\x{8FB5}\x{8FB6}\x{8FB7}' .
+'\x{8FB8}\x{8FB9}\x{8FBB}\x{8FBC}\x{8FBD}\x{8FBE}\x{8FBF}\x{8FC0}\x{8FC1}' .
+'\x{8FC2}\x{8FC4}\x{8FC5}\x{8FC6}\x{8FC7}\x{8FC8}\x{8FC9}\x{8FCB}\x{8FCC}' .
+'\x{8FCD}\x{8FCE}\x{8FCF}\x{8FD0}\x{8FD1}\x{8FD2}\x{8FD3}\x{8FD4}\x{8FD5}' .
+'\x{8FD6}\x{8FD7}\x{8FD8}\x{8FD9}\x{8FDA}\x{8FDB}\x{8FDC}\x{8FDD}\x{8FDE}' .
+'\x{8FDF}\x{8FE0}\x{8FE1}\x{8FE2}\x{8FE3}\x{8FE4}\x{8FE5}\x{8FE6}\x{8FE8}' .
+'\x{8FE9}\x{8FEA}\x{8FEB}\x{8FEC}\x{8FED}\x{8FEE}\x{8FEF}\x{8FF0}\x{8FF1}' .
+'\x{8FF2}\x{8FF3}\x{8FF4}\x{8FF5}\x{8FF6}\x{8FF7}\x{8FF8}\x{8FF9}\x{8FFA}' .
+'\x{8FFB}\x{8FFC}\x{8FFD}\x{8FFE}\x{8FFF}\x{9000}\x{9001}\x{9002}\x{9003}' .
+'\x{9004}\x{9005}\x{9006}\x{9007}\x{9008}\x{9009}\x{900A}\x{900B}\x{900C}' .
+'\x{900D}\x{900F}\x{9010}\x{9011}\x{9012}\x{9013}\x{9014}\x{9015}\x{9016}' .
+'\x{9017}\x{9018}\x{9019}\x{901A}\x{901B}\x{901C}\x{901D}\x{901E}\x{901F}' .
+'\x{9020}\x{9021}\x{9022}\x{9023}\x{9024}\x{9025}\x{9026}\x{9027}\x{9028}' .
+'\x{9029}\x{902B}\x{902D}\x{902E}\x{902F}\x{9030}\x{9031}\x{9032}\x{9033}' .
+'\x{9034}\x{9035}\x{9036}\x{9038}\x{903A}\x{903B}\x{903C}\x{903D}\x{903E}' .
+'\x{903F}\x{9041}\x{9042}\x{9043}\x{9044}\x{9045}\x{9047}\x{9048}\x{9049}' .
+'\x{904A}\x{904B}\x{904C}\x{904D}\x{904E}\x{904F}\x{9050}\x{9051}\x{9052}' .
+'\x{9053}\x{9054}\x{9055}\x{9056}\x{9057}\x{9058}\x{9059}\x{905A}\x{905B}' .
+'\x{905C}\x{905D}\x{905E}\x{905F}\x{9060}\x{9061}\x{9062}\x{9063}\x{9064}' .
+'\x{9065}\x{9066}\x{9067}\x{9068}\x{9069}\x{906A}\x{906B}\x{906C}\x{906D}' .
+'\x{906E}\x{906F}\x{9070}\x{9071}\x{9072}\x{9073}\x{9074}\x{9075}\x{9076}' .
+'\x{9077}\x{9078}\x{9079}\x{907A}\x{907B}\x{907C}\x{907D}\x{907E}\x{907F}' .
+'\x{9080}\x{9081}\x{9082}\x{9083}\x{9084}\x{9085}\x{9086}\x{9087}\x{9088}' .
+'\x{9089}\x{908A}\x{908B}\x{908C}\x{908D}\x{908E}\x{908F}\x{9090}\x{9091}' .
+'\x{9092}\x{9093}\x{9094}\x{9095}\x{9096}\x{9097}\x{9098}\x{9099}\x{909A}' .
+'\x{909B}\x{909C}\x{909D}\x{909E}\x{909F}\x{90A0}\x{90A1}\x{90A2}\x{90A3}' .
+'\x{90A4}\x{90A5}\x{90A6}\x{90A7}\x{90A8}\x{90A9}\x{90AA}\x{90AC}\x{90AD}' .
+'\x{90AE}\x{90AF}\x{90B0}\x{90B1}\x{90B2}\x{90B3}\x{90B4}\x{90B5}\x{90B6}' .
+'\x{90B7}\x{90B8}\x{90B9}\x{90BA}\x{90BB}\x{90BC}\x{90BD}\x{90BE}\x{90BF}' .
+'\x{90C0}\x{90C1}\x{90C2}\x{90C3}\x{90C4}\x{90C5}\x{90C6}\x{90C7}\x{90C8}' .
+'\x{90C9}\x{90CA}\x{90CB}\x{90CE}\x{90CF}\x{90D0}\x{90D1}\x{90D3}\x{90D4}' .
+'\x{90D5}\x{90D6}\x{90D7}\x{90D8}\x{90D9}\x{90DA}\x{90DB}\x{90DC}\x{90DD}' .
+'\x{90DE}\x{90DF}\x{90E0}\x{90E1}\x{90E2}\x{90E3}\x{90E4}\x{90E5}\x{90E6}' .
+'\x{90E7}\x{90E8}\x{90E9}\x{90EA}\x{90EB}\x{90EC}\x{90ED}\x{90EE}\x{90EF}' .
+'\x{90F0}\x{90F1}\x{90F2}\x{90F3}\x{90F4}\x{90F5}\x{90F7}\x{90F8}\x{90F9}' .
+'\x{90FA}\x{90FB}\x{90FC}\x{90FD}\x{90FE}\x{90FF}\x{9100}\x{9101}\x{9102}' .
+'\x{9103}\x{9104}\x{9105}\x{9106}\x{9107}\x{9108}\x{9109}\x{910B}\x{910C}' .
+'\x{910D}\x{910E}\x{910F}\x{9110}\x{9111}\x{9112}\x{9113}\x{9114}\x{9115}' .
+'\x{9116}\x{9117}\x{9118}\x{9119}\x{911A}\x{911B}\x{911C}\x{911D}\x{911E}' .
+'\x{911F}\x{9120}\x{9121}\x{9122}\x{9123}\x{9124}\x{9125}\x{9126}\x{9127}' .
+'\x{9128}\x{9129}\x{912A}\x{912B}\x{912C}\x{912D}\x{912E}\x{912F}\x{9130}' .
+'\x{9131}\x{9132}\x{9133}\x{9134}\x{9135}\x{9136}\x{9137}\x{9138}\x{9139}' .
+'\x{913A}\x{913B}\x{913E}\x{913F}\x{9140}\x{9141}\x{9142}\x{9143}\x{9144}' .
+'\x{9145}\x{9146}\x{9147}\x{9148}\x{9149}\x{914A}\x{914B}\x{914C}\x{914D}' .
+'\x{914E}\x{914F}\x{9150}\x{9151}\x{9152}\x{9153}\x{9154}\x{9155}\x{9156}' .
+'\x{9157}\x{9158}\x{915A}\x{915B}\x{915C}\x{915D}\x{915E}\x{915F}\x{9160}' .
+'\x{9161}\x{9162}\x{9163}\x{9164}\x{9165}\x{9166}\x{9167}\x{9168}\x{9169}' .
+'\x{916A}\x{916B}\x{916C}\x{916D}\x{916E}\x{916F}\x{9170}\x{9171}\x{9172}' .
+'\x{9173}\x{9174}\x{9175}\x{9176}\x{9177}\x{9178}\x{9179}\x{917A}\x{917C}' .
+'\x{917D}\x{917E}\x{917F}\x{9180}\x{9181}\x{9182}\x{9183}\x{9184}\x{9185}' .
+'\x{9186}\x{9187}\x{9188}\x{9189}\x{918A}\x{918B}\x{918C}\x{918D}\x{918E}' .
+'\x{918F}\x{9190}\x{9191}\x{9192}\x{9193}\x{9194}\x{9196}\x{9199}\x{919A}' .
+'\x{919B}\x{919C}\x{919D}\x{919E}\x{919F}\x{91A0}\x{91A1}\x{91A2}\x{91A3}' .
+'\x{91A5}\x{91A6}\x{91A7}\x{91A8}\x{91AA}\x{91AB}\x{91AC}\x{91AD}\x{91AE}' .
+'\x{91AF}\x{91B0}\x{91B1}\x{91B2}\x{91B3}\x{91B4}\x{91B5}\x{91B6}\x{91B7}' .
+'\x{91B9}\x{91BA}\x{91BB}\x{91BC}\x{91BD}\x{91BE}\x{91C0}\x{91C1}\x{91C2}' .
+'\x{91C3}\x{91C5}\x{91C6}\x{91C7}\x{91C9}\x{91CA}\x{91CB}\x{91CC}\x{91CD}' .
+'\x{91CE}\x{91CF}\x{91D0}\x{91D1}\x{91D2}\x{91D3}\x{91D4}\x{91D5}\x{91D7}' .
+'\x{91D8}\x{91D9}\x{91DA}\x{91DB}\x{91DC}\x{91DD}\x{91DE}\x{91DF}\x{91E2}' .
+'\x{91E3}\x{91E4}\x{91E5}\x{91E6}\x{91E7}\x{91E8}\x{91E9}\x{91EA}\x{91EB}' .
+'\x{91EC}\x{91ED}\x{91EE}\x{91F0}\x{91F1}\x{91F2}\x{91F3}\x{91F4}\x{91F5}' .
+'\x{91F7}\x{91F8}\x{91F9}\x{91FA}\x{91FB}\x{91FD}\x{91FE}\x{91FF}\x{9200}' .
+'\x{9201}\x{9202}\x{9203}\x{9204}\x{9205}\x{9206}\x{9207}\x{9208}\x{9209}' .
+'\x{920A}\x{920B}\x{920C}\x{920D}\x{920E}\x{920F}\x{9210}\x{9211}\x{9212}' .
+'\x{9214}\x{9215}\x{9216}\x{9217}\x{9218}\x{9219}\x{921A}\x{921B}\x{921C}' .
+'\x{921D}\x{921E}\x{9220}\x{9221}\x{9223}\x{9224}\x{9225}\x{9226}\x{9227}' .
+'\x{9228}\x{9229}\x{922A}\x{922B}\x{922D}\x{922E}\x{922F}\x{9230}\x{9231}' .
+'\x{9232}\x{9233}\x{9234}\x{9235}\x{9236}\x{9237}\x{9238}\x{9239}\x{923A}' .
+'\x{923B}\x{923C}\x{923D}\x{923E}\x{923F}\x{9240}\x{9241}\x{9242}\x{9245}' .
+'\x{9246}\x{9247}\x{9248}\x{9249}\x{924A}\x{924B}\x{924C}\x{924D}\x{924E}' .
+'\x{924F}\x{9250}\x{9251}\x{9252}\x{9253}\x{9254}\x{9255}\x{9256}\x{9257}' .
+'\x{9258}\x{9259}\x{925A}\x{925B}\x{925C}\x{925D}\x{925E}\x{925F}\x{9260}' .
+'\x{9261}\x{9262}\x{9263}\x{9264}\x{9265}\x{9266}\x{9267}\x{9268}\x{926B}' .
+'\x{926C}\x{926D}\x{926E}\x{926F}\x{9270}\x{9272}\x{9273}\x{9274}\x{9275}' .
+'\x{9276}\x{9277}\x{9278}\x{9279}\x{927A}\x{927B}\x{927C}\x{927D}\x{927E}' .
+'\x{927F}\x{9280}\x{9282}\x{9283}\x{9285}\x{9286}\x{9287}\x{9288}\x{9289}' .
+'\x{928A}\x{928B}\x{928C}\x{928D}\x{928E}\x{928F}\x{9290}\x{9291}\x{9292}' .
+'\x{9293}\x{9294}\x{9295}\x{9296}\x{9297}\x{9298}\x{9299}\x{929A}\x{929B}' .
+'\x{929C}\x{929D}\x{929F}\x{92A0}\x{92A1}\x{92A2}\x{92A3}\x{92A4}\x{92A5}' .
+'\x{92A6}\x{92A7}\x{92A8}\x{92A9}\x{92AA}\x{92AB}\x{92AC}\x{92AD}\x{92AE}' .
+'\x{92AF}\x{92B0}\x{92B1}\x{92B2}\x{92B3}\x{92B4}\x{92B5}\x{92B6}\x{92B7}' .
+'\x{92B8}\x{92B9}\x{92BA}\x{92BB}\x{92BC}\x{92BE}\x{92BF}\x{92C0}\x{92C1}' .
+'\x{92C2}\x{92C3}\x{92C4}\x{92C5}\x{92C6}\x{92C7}\x{92C8}\x{92C9}\x{92CA}' .
+'\x{92CB}\x{92CC}\x{92CD}\x{92CE}\x{92CF}\x{92D0}\x{92D1}\x{92D2}\x{92D3}' .
+'\x{92D5}\x{92D6}\x{92D7}\x{92D8}\x{92D9}\x{92DA}\x{92DC}\x{92DD}\x{92DE}' .
+'\x{92DF}\x{92E0}\x{92E1}\x{92E3}\x{92E4}\x{92E5}\x{92E6}\x{92E7}\x{92E8}' .
+'\x{92E9}\x{92EA}\x{92EB}\x{92EC}\x{92ED}\x{92EE}\x{92EF}\x{92F0}\x{92F1}' .
+'\x{92F2}\x{92F3}\x{92F4}\x{92F5}\x{92F6}\x{92F7}\x{92F8}\x{92F9}\x{92FA}' .
+'\x{92FB}\x{92FC}\x{92FD}\x{92FE}\x{92FF}\x{9300}\x{9301}\x{9302}\x{9303}' .
+'\x{9304}\x{9305}\x{9306}\x{9307}\x{9308}\x{9309}\x{930A}\x{930B}\x{930C}' .
+'\x{930D}\x{930E}\x{930F}\x{9310}\x{9311}\x{9312}\x{9313}\x{9314}\x{9315}' .
+'\x{9316}\x{9317}\x{9318}\x{9319}\x{931A}\x{931B}\x{931D}\x{931E}\x{931F}' .
+'\x{9320}\x{9321}\x{9322}\x{9323}\x{9324}\x{9325}\x{9326}\x{9327}\x{9328}' .
+'\x{9329}\x{932A}\x{932B}\x{932D}\x{932E}\x{932F}\x{9332}\x{9333}\x{9334}' .
+'\x{9335}\x{9336}\x{9337}\x{9338}\x{9339}\x{933A}\x{933B}\x{933C}\x{933D}' .
+'\x{933E}\x{933F}\x{9340}\x{9341}\x{9342}\x{9343}\x{9344}\x{9345}\x{9346}' .
+'\x{9347}\x{9348}\x{9349}\x{934A}\x{934B}\x{934C}\x{934D}\x{934E}\x{934F}' .
+'\x{9350}\x{9351}\x{9352}\x{9353}\x{9354}\x{9355}\x{9356}\x{9357}\x{9358}' .
+'\x{9359}\x{935A}\x{935B}\x{935C}\x{935D}\x{935E}\x{935F}\x{9360}\x{9361}' .
+'\x{9363}\x{9364}\x{9365}\x{9366}\x{9367}\x{9369}\x{936A}\x{936C}\x{936D}' .
+'\x{936E}\x{9370}\x{9371}\x{9372}\x{9374}\x{9375}\x{9376}\x{9377}\x{9379}' .
+'\x{937A}\x{937B}\x{937C}\x{937D}\x{937E}\x{9380}\x{9382}\x{9383}\x{9384}' .
+'\x{9385}\x{9386}\x{9387}\x{9388}\x{9389}\x{938A}\x{938C}\x{938D}\x{938E}' .
+'\x{938F}\x{9390}\x{9391}\x{9392}\x{9393}\x{9394}\x{9395}\x{9396}\x{9397}' .
+'\x{9398}\x{9399}\x{939A}\x{939B}\x{939D}\x{939E}\x{939F}\x{93A1}\x{93A2}' .
+'\x{93A3}\x{93A4}\x{93A5}\x{93A6}\x{93A7}\x{93A8}\x{93A9}\x{93AA}\x{93AC}' .
+'\x{93AD}\x{93AE}\x{93AF}\x{93B0}\x{93B1}\x{93B2}\x{93B3}\x{93B4}\x{93B5}' .
+'\x{93B6}\x{93B7}\x{93B8}\x{93B9}\x{93BA}\x{93BC}\x{93BD}\x{93BE}\x{93BF}' .
+'\x{93C0}\x{93C1}\x{93C2}\x{93C3}\x{93C4}\x{93C5}\x{93C6}\x{93C7}\x{93C8}' .
+'\x{93C9}\x{93CA}\x{93CB}\x{93CC}\x{93CD}\x{93CE}\x{93CF}\x{93D0}\x{93D1}' .
+'\x{93D2}\x{93D3}\x{93D4}\x{93D5}\x{93D6}\x{93D7}\x{93D8}\x{93D9}\x{93DA}' .
+'\x{93DB}\x{93DC}\x{93DD}\x{93DE}\x{93DF}\x{93E1}\x{93E2}\x{93E3}\x{93E4}' .
+'\x{93E6}\x{93E7}\x{93E8}\x{93E9}\x{93EA}\x{93EB}\x{93EC}\x{93ED}\x{93EE}' .
+'\x{93EF}\x{93F0}\x{93F1}\x{93F2}\x{93F4}\x{93F5}\x{93F6}\x{93F7}\x{93F8}' .
+'\x{93F9}\x{93FA}\x{93FB}\x{93FC}\x{93FD}\x{93FE}\x{93FF}\x{9400}\x{9401}' .
+'\x{9403}\x{9404}\x{9405}\x{9406}\x{9407}\x{9408}\x{9409}\x{940A}\x{940B}' .
+'\x{940C}\x{940D}\x{940E}\x{940F}\x{9410}\x{9411}\x{9412}\x{9413}\x{9414}' .
+'\x{9415}\x{9416}\x{9418}\x{9419}\x{941B}\x{941D}\x{9420}\x{9422}\x{9423}' .
+'\x{9425}\x{9426}\x{9427}\x{9428}\x{9429}\x{942A}\x{942B}\x{942C}\x{942D}' .
+'\x{942E}\x{942F}\x{9430}\x{9431}\x{9432}\x{9433}\x{9434}\x{9435}\x{9436}' .
+'\x{9437}\x{9438}\x{9439}\x{943A}\x{943B}\x{943C}\x{943D}\x{943E}\x{943F}' .
+'\x{9440}\x{9441}\x{9442}\x{9444}\x{9445}\x{9446}\x{9447}\x{9448}\x{9449}' .
+'\x{944A}\x{944B}\x{944C}\x{944D}\x{944F}\x{9450}\x{9451}\x{9452}\x{9453}' .
+'\x{9454}\x{9455}\x{9456}\x{9457}\x{9458}\x{9459}\x{945B}\x{945C}\x{945D}' .
+'\x{945E}\x{945F}\x{9460}\x{9461}\x{9462}\x{9463}\x{9464}\x{9465}\x{9466}' .
+'\x{9467}\x{9468}\x{9469}\x{946A}\x{946B}\x{946D}\x{946E}\x{946F}\x{9470}' .
+'\x{9471}\x{9472}\x{9473}\x{9474}\x{9475}\x{9476}\x{9477}\x{9478}\x{9479}' .
+'\x{947A}\x{947C}\x{947D}\x{947E}\x{947F}\x{9480}\x{9481}\x{9482}\x{9483}' .
+'\x{9484}\x{9485}\x{9486}\x{9487}\x{9488}\x{9489}\x{948A}\x{948B}\x{948C}' .
+'\x{948D}\x{948E}\x{948F}\x{9490}\x{9491}\x{9492}\x{9493}\x{9494}\x{9495}' .
+'\x{9496}\x{9497}\x{9498}\x{9499}\x{949A}\x{949B}\x{949C}\x{949D}\x{949E}' .
+'\x{949F}\x{94A0}\x{94A1}\x{94A2}\x{94A3}\x{94A4}\x{94A5}\x{94A6}\x{94A7}' .
+'\x{94A8}\x{94A9}\x{94AA}\x{94AB}\x{94AC}\x{94AD}\x{94AE}\x{94AF}\x{94B0}' .
+'\x{94B1}\x{94B2}\x{94B3}\x{94B4}\x{94B5}\x{94B6}\x{94B7}\x{94B8}\x{94B9}' .
+'\x{94BA}\x{94BB}\x{94BC}\x{94BD}\x{94BE}\x{94BF}\x{94C0}\x{94C1}\x{94C2}' .
+'\x{94C3}\x{94C4}\x{94C5}\x{94C6}\x{94C7}\x{94C8}\x{94C9}\x{94CA}\x{94CB}' .
+'\x{94CC}\x{94CD}\x{94CE}\x{94CF}\x{94D0}\x{94D1}\x{94D2}\x{94D3}\x{94D4}' .
+'\x{94D5}\x{94D6}\x{94D7}\x{94D8}\x{94D9}\x{94DA}\x{94DB}\x{94DC}\x{94DD}' .
+'\x{94DE}\x{94DF}\x{94E0}\x{94E1}\x{94E2}\x{94E3}\x{94E4}\x{94E5}\x{94E6}' .
+'\x{94E7}\x{94E8}\x{94E9}\x{94EA}\x{94EB}\x{94EC}\x{94ED}\x{94EE}\x{94EF}' .
+'\x{94F0}\x{94F1}\x{94F2}\x{94F3}\x{94F4}\x{94F5}\x{94F6}\x{94F7}\x{94F8}' .
+'\x{94F9}\x{94FA}\x{94FB}\x{94FC}\x{94FD}\x{94FE}\x{94FF}\x{9500}\x{9501}' .
+'\x{9502}\x{9503}\x{9504}\x{9505}\x{9506}\x{9507}\x{9508}\x{9509}\x{950A}' .
+'\x{950B}\x{950C}\x{950D}\x{950E}\x{950F}\x{9510}\x{9511}\x{9512}\x{9513}' .
+'\x{9514}\x{9515}\x{9516}\x{9517}\x{9518}\x{9519}\x{951A}\x{951B}\x{951C}' .
+'\x{951D}\x{951E}\x{951F}\x{9520}\x{9521}\x{9522}\x{9523}\x{9524}\x{9525}' .
+'\x{9526}\x{9527}\x{9528}\x{9529}\x{952A}\x{952B}\x{952C}\x{952D}\x{952E}' .
+'\x{952F}\x{9530}\x{9531}\x{9532}\x{9533}\x{9534}\x{9535}\x{9536}\x{9537}' .
+'\x{9538}\x{9539}\x{953A}\x{953B}\x{953C}\x{953D}\x{953E}\x{953F}\x{9540}' .
+'\x{9541}\x{9542}\x{9543}\x{9544}\x{9545}\x{9546}\x{9547}\x{9548}\x{9549}' .
+'\x{954A}\x{954B}\x{954C}\x{954D}\x{954E}\x{954F}\x{9550}\x{9551}\x{9552}' .
+'\x{9553}\x{9554}\x{9555}\x{9556}\x{9557}\x{9558}\x{9559}\x{955A}\x{955B}' .
+'\x{955C}\x{955D}\x{955E}\x{955F}\x{9560}\x{9561}\x{9562}\x{9563}\x{9564}' .
+'\x{9565}\x{9566}\x{9567}\x{9568}\x{9569}\x{956A}\x{956B}\x{956C}\x{956D}' .
+'\x{956E}\x{956F}\x{9570}\x{9571}\x{9572}\x{9573}\x{9574}\x{9575}\x{9576}' .
+'\x{9577}\x{957A}\x{957B}\x{957C}\x{957D}\x{957F}\x{9580}\x{9581}\x{9582}' .
+'\x{9583}\x{9584}\x{9586}\x{9587}\x{9588}\x{9589}\x{958A}\x{958B}\x{958C}' .
+'\x{958D}\x{958E}\x{958F}\x{9590}\x{9591}\x{9592}\x{9593}\x{9594}\x{9595}' .
+'\x{9596}\x{9598}\x{9599}\x{959A}\x{959B}\x{959C}\x{959D}\x{959E}\x{959F}' .
+'\x{95A1}\x{95A2}\x{95A3}\x{95A4}\x{95A5}\x{95A6}\x{95A7}\x{95A8}\x{95A9}' .
+'\x{95AA}\x{95AB}\x{95AC}\x{95AD}\x{95AE}\x{95AF}\x{95B0}\x{95B1}\x{95B2}' .
+'\x{95B5}\x{95B6}\x{95B7}\x{95B9}\x{95BA}\x{95BB}\x{95BC}\x{95BD}\x{95BE}' .
+'\x{95BF}\x{95C0}\x{95C2}\x{95C3}\x{95C4}\x{95C5}\x{95C6}\x{95C7}\x{95C8}' .
+'\x{95C9}\x{95CA}\x{95CB}\x{95CC}\x{95CD}\x{95CE}\x{95CF}\x{95D0}\x{95D1}' .
+'\x{95D2}\x{95D3}\x{95D4}\x{95D5}\x{95D6}\x{95D7}\x{95D8}\x{95DA}\x{95DB}' .
+'\x{95DC}\x{95DE}\x{95DF}\x{95E0}\x{95E1}\x{95E2}\x{95E3}\x{95E4}\x{95E5}' .
+'\x{95E6}\x{95E7}\x{95E8}\x{95E9}\x{95EA}\x{95EB}\x{95EC}\x{95ED}\x{95EE}' .
+'\x{95EF}\x{95F0}\x{95F1}\x{95F2}\x{95F3}\x{95F4}\x{95F5}\x{95F6}\x{95F7}' .
+'\x{95F8}\x{95F9}\x{95FA}\x{95FB}\x{95FC}\x{95FD}\x{95FE}\x{95FF}\x{9600}' .
+'\x{9601}\x{9602}\x{9603}\x{9604}\x{9605}\x{9606}\x{9607}\x{9608}\x{9609}' .
+'\x{960A}\x{960B}\x{960C}\x{960D}\x{960E}\x{960F}\x{9610}\x{9611}\x{9612}' .
+'\x{9613}\x{9614}\x{9615}\x{9616}\x{9617}\x{9618}\x{9619}\x{961A}\x{961B}' .
+'\x{961C}\x{961D}\x{961E}\x{961F}\x{9620}\x{9621}\x{9622}\x{9623}\x{9624}' .
+'\x{9627}\x{9628}\x{962A}\x{962B}\x{962C}\x{962D}\x{962E}\x{962F}\x{9630}' .
+'\x{9631}\x{9632}\x{9633}\x{9634}\x{9635}\x{9636}\x{9637}\x{9638}\x{9639}' .
+'\x{963A}\x{963B}\x{963C}\x{963D}\x{963F}\x{9640}\x{9641}\x{9642}\x{9643}' .
+'\x{9644}\x{9645}\x{9646}\x{9647}\x{9648}\x{9649}\x{964A}\x{964B}\x{964C}' .
+'\x{964D}\x{964E}\x{964F}\x{9650}\x{9651}\x{9652}\x{9653}\x{9654}\x{9655}' .
+'\x{9658}\x{9659}\x{965A}\x{965B}\x{965C}\x{965D}\x{965E}\x{965F}\x{9660}' .
+'\x{9661}\x{9662}\x{9663}\x{9664}\x{9666}\x{9667}\x{9668}\x{9669}\x{966A}' .
+'\x{966B}\x{966C}\x{966D}\x{966E}\x{966F}\x{9670}\x{9671}\x{9672}\x{9673}' .
+'\x{9674}\x{9675}\x{9676}\x{9677}\x{9678}\x{967C}\x{967D}\x{967E}\x{9680}' .
+'\x{9683}\x{9684}\x{9685}\x{9686}\x{9687}\x{9688}\x{9689}\x{968A}\x{968B}' .
+'\x{968D}\x{968E}\x{968F}\x{9690}\x{9691}\x{9692}\x{9693}\x{9694}\x{9695}' .
+'\x{9697}\x{9698}\x{9699}\x{969B}\x{969C}\x{969E}\x{96A0}\x{96A1}\x{96A2}' .
+'\x{96A3}\x{96A4}\x{96A5}\x{96A6}\x{96A7}\x{96A8}\x{96A9}\x{96AA}\x{96AC}' .
+'\x{96AD}\x{96AE}\x{96B0}\x{96B1}\x{96B3}\x{96B4}\x{96B6}\x{96B7}\x{96B8}' .
+'\x{96B9}\x{96BA}\x{96BB}\x{96BC}\x{96BD}\x{96BE}\x{96BF}\x{96C0}\x{96C1}' .
+'\x{96C2}\x{96C3}\x{96C4}\x{96C5}\x{96C6}\x{96C7}\x{96C8}\x{96C9}\x{96CA}' .
+'\x{96CB}\x{96CC}\x{96CD}\x{96CE}\x{96CF}\x{96D0}\x{96D1}\x{96D2}\x{96D3}' .
+'\x{96D4}\x{96D5}\x{96D6}\x{96D7}\x{96D8}\x{96D9}\x{96DA}\x{96DB}\x{96DC}' .
+'\x{96DD}\x{96DE}\x{96DF}\x{96E0}\x{96E1}\x{96E2}\x{96E3}\x{96E5}\x{96E8}' .
+'\x{96E9}\x{96EA}\x{96EB}\x{96EC}\x{96ED}\x{96EE}\x{96EF}\x{96F0}\x{96F1}' .
+'\x{96F2}\x{96F3}\x{96F4}\x{96F5}\x{96F6}\x{96F7}\x{96F8}\x{96F9}\x{96FA}' .
+'\x{96FB}\x{96FD}\x{96FE}\x{96FF}\x{9700}\x{9701}\x{9702}\x{9703}\x{9704}' .
+'\x{9705}\x{9706}\x{9707}\x{9708}\x{9709}\x{970A}\x{970B}\x{970C}\x{970D}' .
+'\x{970E}\x{970F}\x{9710}\x{9711}\x{9712}\x{9713}\x{9715}\x{9716}\x{9718}' .
+'\x{9719}\x{971C}\x{971D}\x{971E}\x{971F}\x{9720}\x{9721}\x{9722}\x{9723}' .
+'\x{9724}\x{9725}\x{9726}\x{9727}\x{9728}\x{9729}\x{972A}\x{972B}\x{972C}' .
+'\x{972D}\x{972E}\x{972F}\x{9730}\x{9731}\x{9732}\x{9735}\x{9736}\x{9738}' .
+'\x{9739}\x{973A}\x{973B}\x{973C}\x{973D}\x{973E}\x{973F}\x{9742}\x{9743}' .
+'\x{9744}\x{9745}\x{9746}\x{9747}\x{9748}\x{9749}\x{974A}\x{974B}\x{974C}' .
+'\x{974E}\x{974F}\x{9750}\x{9751}\x{9752}\x{9753}\x{9754}\x{9755}\x{9756}' .
+'\x{9758}\x{9759}\x{975A}\x{975B}\x{975C}\x{975D}\x{975E}\x{975F}\x{9760}' .
+'\x{9761}\x{9762}\x{9765}\x{9766}\x{9767}\x{9768}\x{9769}\x{976A}\x{976B}' .
+'\x{976C}\x{976D}\x{976E}\x{976F}\x{9770}\x{9772}\x{9773}\x{9774}\x{9776}' .
+'\x{9777}\x{9778}\x{9779}\x{977A}\x{977B}\x{977C}\x{977D}\x{977E}\x{977F}' .
+'\x{9780}\x{9781}\x{9782}\x{9783}\x{9784}\x{9785}\x{9786}\x{9788}\x{978A}' .
+'\x{978B}\x{978C}\x{978D}\x{978E}\x{978F}\x{9790}\x{9791}\x{9792}\x{9793}' .
+'\x{9794}\x{9795}\x{9796}\x{9797}\x{9798}\x{9799}\x{979A}\x{979C}\x{979D}' .
+'\x{979E}\x{979F}\x{97A0}\x{97A1}\x{97A2}\x{97A3}\x{97A4}\x{97A5}\x{97A6}' .
+'\x{97A7}\x{97A8}\x{97AA}\x{97AB}\x{97AC}\x{97AD}\x{97AE}\x{97AF}\x{97B2}' .
+'\x{97B3}\x{97B4}\x{97B6}\x{97B7}\x{97B8}\x{97B9}\x{97BA}\x{97BB}\x{97BC}' .
+'\x{97BD}\x{97BF}\x{97C1}\x{97C2}\x{97C3}\x{97C4}\x{97C5}\x{97C6}\x{97C7}' .
+'\x{97C8}\x{97C9}\x{97CA}\x{97CB}\x{97CC}\x{97CD}\x{97CE}\x{97CF}\x{97D0}' .
+'\x{97D1}\x{97D3}\x{97D4}\x{97D5}\x{97D6}\x{97D7}\x{97D8}\x{97D9}\x{97DA}' .
+'\x{97DB}\x{97DC}\x{97DD}\x{97DE}\x{97DF}\x{97E0}\x{97E1}\x{97E2}\x{97E3}' .
+'\x{97E4}\x{97E5}\x{97E6}\x{97E7}\x{97E8}\x{97E9}\x{97EA}\x{97EB}\x{97EC}' .
+'\x{97ED}\x{97EE}\x{97EF}\x{97F0}\x{97F1}\x{97F2}\x{97F3}\x{97F4}\x{97F5}' .
+'\x{97F6}\x{97F7}\x{97F8}\x{97F9}\x{97FA}\x{97FB}\x{97FD}\x{97FE}\x{97FF}' .
+'\x{9800}\x{9801}\x{9802}\x{9803}\x{9804}\x{9805}\x{9806}\x{9807}\x{9808}' .
+'\x{9809}\x{980A}\x{980B}\x{980C}\x{980D}\x{980E}\x{980F}\x{9810}\x{9811}' .
+'\x{9812}\x{9813}\x{9814}\x{9815}\x{9816}\x{9817}\x{9818}\x{9819}\x{981A}' .
+'\x{981B}\x{981C}\x{981D}\x{981E}\x{9820}\x{9821}\x{9822}\x{9823}\x{9824}' .
+'\x{9826}\x{9827}\x{9828}\x{9829}\x{982B}\x{982D}\x{982E}\x{982F}\x{9830}' .
+'\x{9831}\x{9832}\x{9834}\x{9835}\x{9836}\x{9837}\x{9838}\x{9839}\x{983B}' .
+'\x{983C}\x{983D}\x{983F}\x{9840}\x{9841}\x{9843}\x{9844}\x{9845}\x{9846}' .
+'\x{9848}\x{9849}\x{984A}\x{984C}\x{984D}\x{984E}\x{984F}\x{9850}\x{9851}' .
+'\x{9852}\x{9853}\x{9854}\x{9855}\x{9857}\x{9858}\x{9859}\x{985A}\x{985B}' .
+'\x{985C}\x{985D}\x{985E}\x{985F}\x{9860}\x{9861}\x{9862}\x{9863}\x{9864}' .
+'\x{9865}\x{9867}\x{9869}\x{986A}\x{986B}\x{986C}\x{986D}\x{986E}\x{986F}' .
+'\x{9870}\x{9871}\x{9872}\x{9873}\x{9874}\x{9875}\x{9876}\x{9877}\x{9878}' .
+'\x{9879}\x{987A}\x{987B}\x{987C}\x{987D}\x{987E}\x{987F}\x{9880}\x{9881}' .
+'\x{9882}\x{9883}\x{9884}\x{9885}\x{9886}\x{9887}\x{9888}\x{9889}\x{988A}' .
+'\x{988B}\x{988C}\x{988D}\x{988E}\x{988F}\x{9890}\x{9891}\x{9892}\x{9893}' .
+'\x{9894}\x{9895}\x{9896}\x{9897}\x{9898}\x{9899}\x{989A}\x{989B}\x{989C}' .
+'\x{989D}\x{989E}\x{989F}\x{98A0}\x{98A1}\x{98A2}\x{98A3}\x{98A4}\x{98A5}' .
+'\x{98A6}\x{98A7}\x{98A8}\x{98A9}\x{98AA}\x{98AB}\x{98AC}\x{98AD}\x{98AE}' .
+'\x{98AF}\x{98B0}\x{98B1}\x{98B2}\x{98B3}\x{98B4}\x{98B5}\x{98B6}\x{98B8}' .
+'\x{98B9}\x{98BA}\x{98BB}\x{98BC}\x{98BD}\x{98BE}\x{98BF}\x{98C0}\x{98C1}' .
+'\x{98C2}\x{98C3}\x{98C4}\x{98C5}\x{98C6}\x{98C8}\x{98C9}\x{98CB}\x{98CC}' .
+'\x{98CD}\x{98CE}\x{98CF}\x{98D0}\x{98D1}\x{98D2}\x{98D3}\x{98D4}\x{98D5}' .
+'\x{98D6}\x{98D7}\x{98D8}\x{98D9}\x{98DA}\x{98DB}\x{98DC}\x{98DD}\x{98DE}' .
+'\x{98DF}\x{98E0}\x{98E2}\x{98E3}\x{98E5}\x{98E6}\x{98E7}\x{98E8}\x{98E9}' .
+'\x{98EA}\x{98EB}\x{98ED}\x{98EF}\x{98F0}\x{98F2}\x{98F3}\x{98F4}\x{98F5}' .
+'\x{98F6}\x{98F7}\x{98F9}\x{98FA}\x{98FC}\x{98FD}\x{98FE}\x{98FF}\x{9900}' .
+'\x{9901}\x{9902}\x{9903}\x{9904}\x{9905}\x{9906}\x{9907}\x{9908}\x{9909}' .
+'\x{990A}\x{990B}\x{990C}\x{990D}\x{990E}\x{990F}\x{9910}\x{9911}\x{9912}' .
+'\x{9913}\x{9914}\x{9915}\x{9916}\x{9917}\x{9918}\x{991A}\x{991B}\x{991C}' .
+'\x{991D}\x{991E}\x{991F}\x{9920}\x{9921}\x{9922}\x{9923}\x{9924}\x{9925}' .
+'\x{9926}\x{9927}\x{9928}\x{9929}\x{992A}\x{992B}\x{992C}\x{992D}\x{992E}' .
+'\x{992F}\x{9930}\x{9931}\x{9932}\x{9933}\x{9934}\x{9935}\x{9936}\x{9937}' .
+'\x{9938}\x{9939}\x{993A}\x{993C}\x{993D}\x{993E}\x{993F}\x{9940}\x{9941}' .
+'\x{9942}\x{9943}\x{9945}\x{9946}\x{9947}\x{9948}\x{9949}\x{994A}\x{994B}' .
+'\x{994C}\x{994E}\x{994F}\x{9950}\x{9951}\x{9952}\x{9953}\x{9954}\x{9955}' .
+'\x{9956}\x{9957}\x{9958}\x{9959}\x{995B}\x{995C}\x{995E}\x{995F}\x{9960}' .
+'\x{9961}\x{9962}\x{9963}\x{9964}\x{9965}\x{9966}\x{9967}\x{9968}\x{9969}' .
+'\x{996A}\x{996B}\x{996C}\x{996D}\x{996E}\x{996F}\x{9970}\x{9971}\x{9972}' .
+'\x{9973}\x{9974}\x{9975}\x{9976}\x{9977}\x{9978}\x{9979}\x{997A}\x{997B}' .
+'\x{997C}\x{997D}\x{997E}\x{997F}\x{9980}\x{9981}\x{9982}\x{9983}\x{9984}' .
+'\x{9985}\x{9986}\x{9987}\x{9988}\x{9989}\x{998A}\x{998B}\x{998C}\x{998D}' .
+'\x{998E}\x{998F}\x{9990}\x{9991}\x{9992}\x{9993}\x{9994}\x{9995}\x{9996}' .
+'\x{9997}\x{9998}\x{9999}\x{999A}\x{999B}\x{999C}\x{999D}\x{999E}\x{999F}' .
+'\x{99A0}\x{99A1}\x{99A2}\x{99A3}\x{99A4}\x{99A5}\x{99A6}\x{99A7}\x{99A8}' .
+'\x{99A9}\x{99AA}\x{99AB}\x{99AC}\x{99AD}\x{99AE}\x{99AF}\x{99B0}\x{99B1}' .
+'\x{99B2}\x{99B3}\x{99B4}\x{99B5}\x{99B6}\x{99B7}\x{99B8}\x{99B9}\x{99BA}' .
+'\x{99BB}\x{99BC}\x{99BD}\x{99BE}\x{99C0}\x{99C1}\x{99C2}\x{99C3}\x{99C4}' .
+'\x{99C6}\x{99C7}\x{99C8}\x{99C9}\x{99CA}\x{99CB}\x{99CC}\x{99CD}\x{99CE}' .
+'\x{99CF}\x{99D0}\x{99D1}\x{99D2}\x{99D3}\x{99D4}\x{99D5}\x{99D6}\x{99D7}' .
+'\x{99D8}\x{99D9}\x{99DA}\x{99DB}\x{99DC}\x{99DD}\x{99DE}\x{99DF}\x{99E1}' .
+'\x{99E2}\x{99E3}\x{99E4}\x{99E5}\x{99E7}\x{99E8}\x{99E9}\x{99EA}\x{99EC}' .
+'\x{99ED}\x{99EE}\x{99EF}\x{99F0}\x{99F1}\x{99F2}\x{99F3}\x{99F4}\x{99F6}' .
+'\x{99F7}\x{99F8}\x{99F9}\x{99FA}\x{99FB}\x{99FC}\x{99FD}\x{99FE}\x{99FF}' .
+'\x{9A00}\x{9A01}\x{9A02}\x{9A03}\x{9A04}\x{9A05}\x{9A06}\x{9A07}\x{9A08}' .
+'\x{9A09}\x{9A0A}\x{9A0B}\x{9A0C}\x{9A0D}\x{9A0E}\x{9A0F}\x{9A11}\x{9A14}' .
+'\x{9A15}\x{9A16}\x{9A19}\x{9A1A}\x{9A1B}\x{9A1C}\x{9A1D}\x{9A1E}\x{9A1F}' .
+'\x{9A20}\x{9A21}\x{9A22}\x{9A23}\x{9A24}\x{9A25}\x{9A26}\x{9A27}\x{9A29}' .
+'\x{9A2A}\x{9A2B}\x{9A2C}\x{9A2D}\x{9A2E}\x{9A2F}\x{9A30}\x{9A31}\x{9A32}' .
+'\x{9A33}\x{9A34}\x{9A35}\x{9A36}\x{9A37}\x{9A38}\x{9A39}\x{9A3A}\x{9A3C}' .
+'\x{9A3D}\x{9A3E}\x{9A3F}\x{9A40}\x{9A41}\x{9A42}\x{9A43}\x{9A44}\x{9A45}' .
+'\x{9A46}\x{9A47}\x{9A48}\x{9A49}\x{9A4A}\x{9A4B}\x{9A4C}\x{9A4D}\x{9A4E}' .
+'\x{9A4F}\x{9A50}\x{9A52}\x{9A53}\x{9A54}\x{9A55}\x{9A56}\x{9A57}\x{9A59}' .
+'\x{9A5A}\x{9A5B}\x{9A5C}\x{9A5E}\x{9A5F}\x{9A60}\x{9A61}\x{9A62}\x{9A64}' .
+'\x{9A65}\x{9A66}\x{9A67}\x{9A68}\x{9A69}\x{9A6A}\x{9A6B}\x{9A6C}\x{9A6D}' .
+'\x{9A6E}\x{9A6F}\x{9A70}\x{9A71}\x{9A72}\x{9A73}\x{9A74}\x{9A75}\x{9A76}' .
+'\x{9A77}\x{9A78}\x{9A79}\x{9A7A}\x{9A7B}\x{9A7C}\x{9A7D}\x{9A7E}\x{9A7F}' .
+'\x{9A80}\x{9A81}\x{9A82}\x{9A83}\x{9A84}\x{9A85}\x{9A86}\x{9A87}\x{9A88}' .
+'\x{9A89}\x{9A8A}\x{9A8B}\x{9A8C}\x{9A8D}\x{9A8E}\x{9A8F}\x{9A90}\x{9A91}' .
+'\x{9A92}\x{9A93}\x{9A94}\x{9A95}\x{9A96}\x{9A97}\x{9A98}\x{9A99}\x{9A9A}' .
+'\x{9A9B}\x{9A9C}\x{9A9D}\x{9A9E}\x{9A9F}\x{9AA0}\x{9AA1}\x{9AA2}\x{9AA3}' .
+'\x{9AA4}\x{9AA5}\x{9AA6}\x{9AA7}\x{9AA8}\x{9AAA}\x{9AAB}\x{9AAC}\x{9AAD}' .
+'\x{9AAE}\x{9AAF}\x{9AB0}\x{9AB1}\x{9AB2}\x{9AB3}\x{9AB4}\x{9AB5}\x{9AB6}' .
+'\x{9AB7}\x{9AB8}\x{9AB9}\x{9ABA}\x{9ABB}\x{9ABC}\x{9ABE}\x{9ABF}\x{9AC0}' .
+'\x{9AC1}\x{9AC2}\x{9AC3}\x{9AC4}\x{9AC5}\x{9AC6}\x{9AC7}\x{9AC9}\x{9ACA}' .
+'\x{9ACB}\x{9ACC}\x{9ACD}\x{9ACE}\x{9ACF}\x{9AD0}\x{9AD1}\x{9AD2}\x{9AD3}' .
+'\x{9AD4}\x{9AD5}\x{9AD6}\x{9AD8}\x{9AD9}\x{9ADA}\x{9ADB}\x{9ADC}\x{9ADD}' .
+'\x{9ADE}\x{9ADF}\x{9AE1}\x{9AE2}\x{9AE3}\x{9AE5}\x{9AE6}\x{9AE7}\x{9AEA}' .
+'\x{9AEB}\x{9AEC}\x{9AED}\x{9AEE}\x{9AEF}\x{9AF1}\x{9AF2}\x{9AF3}\x{9AF4}' .
+'\x{9AF5}\x{9AF6}\x{9AF7}\x{9AF8}\x{9AF9}\x{9AFA}\x{9AFB}\x{9AFC}\x{9AFD}' .
+'\x{9AFE}\x{9AFF}\x{9B01}\x{9B03}\x{9B04}\x{9B05}\x{9B06}\x{9B07}\x{9B08}' .
+'\x{9B0A}\x{9B0B}\x{9B0C}\x{9B0D}\x{9B0E}\x{9B0F}\x{9B10}\x{9B11}\x{9B12}' .
+'\x{9B13}\x{9B15}\x{9B16}\x{9B17}\x{9B18}\x{9B19}\x{9B1A}\x{9B1C}\x{9B1D}' .
+'\x{9B1E}\x{9B1F}\x{9B20}\x{9B21}\x{9B22}\x{9B23}\x{9B24}\x{9B25}\x{9B26}' .
+'\x{9B27}\x{9B28}\x{9B29}\x{9B2A}\x{9B2B}\x{9B2C}\x{9B2D}\x{9B2E}\x{9B2F}' .
+'\x{9B30}\x{9B31}\x{9B32}\x{9B33}\x{9B35}\x{9B36}\x{9B37}\x{9B38}\x{9B39}' .
+'\x{9B3A}\x{9B3B}\x{9B3C}\x{9B3E}\x{9B3F}\x{9B41}\x{9B42}\x{9B43}\x{9B44}' .
+'\x{9B45}\x{9B46}\x{9B47}\x{9B48}\x{9B49}\x{9B4A}\x{9B4B}\x{9B4C}\x{9B4D}' .
+'\x{9B4E}\x{9B4F}\x{9B51}\x{9B52}\x{9B53}\x{9B54}\x{9B55}\x{9B56}\x{9B58}' .
+'\x{9B59}\x{9B5A}\x{9B5B}\x{9B5C}\x{9B5D}\x{9B5E}\x{9B5F}\x{9B60}\x{9B61}' .
+'\x{9B63}\x{9B64}\x{9B65}\x{9B66}\x{9B67}\x{9B68}\x{9B69}\x{9B6A}\x{9B6B}' .
+'\x{9B6C}\x{9B6D}\x{9B6E}\x{9B6F}\x{9B70}\x{9B71}\x{9B73}\x{9B74}\x{9B75}' .
+'\x{9B76}\x{9B77}\x{9B78}\x{9B79}\x{9B7A}\x{9B7B}\x{9B7C}\x{9B7D}\x{9B7E}' .
+'\x{9B7F}\x{9B80}\x{9B81}\x{9B82}\x{9B83}\x{9B84}\x{9B85}\x{9B86}\x{9B87}' .
+'\x{9B88}\x{9B8A}\x{9B8B}\x{9B8D}\x{9B8E}\x{9B8F}\x{9B90}\x{9B91}\x{9B92}' .
+'\x{9B93}\x{9B94}\x{9B95}\x{9B96}\x{9B97}\x{9B98}\x{9B9A}\x{9B9B}\x{9B9C}' .
+'\x{9B9D}\x{9B9E}\x{9B9F}\x{9BA0}\x{9BA1}\x{9BA2}\x{9BA3}\x{9BA4}\x{9BA5}' .
+'\x{9BA6}\x{9BA7}\x{9BA8}\x{9BA9}\x{9BAA}\x{9BAB}\x{9BAC}\x{9BAD}\x{9BAE}' .
+'\x{9BAF}\x{9BB0}\x{9BB1}\x{9BB2}\x{9BB3}\x{9BB4}\x{9BB5}\x{9BB6}\x{9BB7}' .
+'\x{9BB8}\x{9BB9}\x{9BBA}\x{9BBB}\x{9BBC}\x{9BBD}\x{9BBE}\x{9BBF}\x{9BC0}' .
+'\x{9BC1}\x{9BC3}\x{9BC4}\x{9BC5}\x{9BC6}\x{9BC7}\x{9BC8}\x{9BC9}\x{9BCA}' .
+'\x{9BCB}\x{9BCC}\x{9BCD}\x{9BCE}\x{9BCF}\x{9BD0}\x{9BD1}\x{9BD2}\x{9BD3}' .
+'\x{9BD4}\x{9BD5}\x{9BD6}\x{9BD7}\x{9BD8}\x{9BD9}\x{9BDA}\x{9BDB}\x{9BDC}' .
+'\x{9BDD}\x{9BDE}\x{9BDF}\x{9BE0}\x{9BE1}\x{9BE2}\x{9BE3}\x{9BE4}\x{9BE5}' .
+'\x{9BE6}\x{9BE7}\x{9BE8}\x{9BE9}\x{9BEA}\x{9BEB}\x{9BEC}\x{9BED}\x{9BEE}' .
+'\x{9BEF}\x{9BF0}\x{9BF1}\x{9BF2}\x{9BF3}\x{9BF4}\x{9BF5}\x{9BF7}\x{9BF8}' .
+'\x{9BF9}\x{9BFA}\x{9BFB}\x{9BFC}\x{9BFD}\x{9BFE}\x{9BFF}\x{9C02}\x{9C05}' .
+'\x{9C06}\x{9C07}\x{9C08}\x{9C09}\x{9C0A}\x{9C0B}\x{9C0C}\x{9C0D}\x{9C0E}' .
+'\x{9C0F}\x{9C10}\x{9C11}\x{9C12}\x{9C13}\x{9C14}\x{9C15}\x{9C16}\x{9C17}' .
+'\x{9C18}\x{9C19}\x{9C1A}\x{9C1B}\x{9C1C}\x{9C1D}\x{9C1E}\x{9C1F}\x{9C20}' .
+'\x{9C21}\x{9C22}\x{9C23}\x{9C24}\x{9C25}\x{9C26}\x{9C27}\x{9C28}\x{9C29}' .
+'\x{9C2A}\x{9C2B}\x{9C2C}\x{9C2D}\x{9C2F}\x{9C30}\x{9C31}\x{9C32}\x{9C33}' .
+'\x{9C34}\x{9C35}\x{9C36}\x{9C37}\x{9C38}\x{9C39}\x{9C3A}\x{9C3B}\x{9C3C}' .
+'\x{9C3D}\x{9C3E}\x{9C3F}\x{9C40}\x{9C41}\x{9C43}\x{9C44}\x{9C45}\x{9C46}' .
+'\x{9C47}\x{9C48}\x{9C49}\x{9C4A}\x{9C4B}\x{9C4C}\x{9C4D}\x{9C4E}\x{9C50}' .
+'\x{9C52}\x{9C53}\x{9C54}\x{9C55}\x{9C56}\x{9C57}\x{9C58}\x{9C59}\x{9C5A}' .
+'\x{9C5B}\x{9C5C}\x{9C5D}\x{9C5E}\x{9C5F}\x{9C60}\x{9C62}\x{9C63}\x{9C65}' .
+'\x{9C66}\x{9C67}\x{9C68}\x{9C69}\x{9C6A}\x{9C6B}\x{9C6C}\x{9C6D}\x{9C6E}' .
+'\x{9C6F}\x{9C70}\x{9C71}\x{9C72}\x{9C73}\x{9C74}\x{9C75}\x{9C77}\x{9C78}' .
+'\x{9C79}\x{9C7A}\x{9C7C}\x{9C7D}\x{9C7E}\x{9C7F}\x{9C80}\x{9C81}\x{9C82}' .
+'\x{9C83}\x{9C84}\x{9C85}\x{9C86}\x{9C87}\x{9C88}\x{9C89}\x{9C8A}\x{9C8B}' .
+'\x{9C8C}\x{9C8D}\x{9C8E}\x{9C8F}\x{9C90}\x{9C91}\x{9C92}\x{9C93}\x{9C94}' .
+'\x{9C95}\x{9C96}\x{9C97}\x{9C98}\x{9C99}\x{9C9A}\x{9C9B}\x{9C9C}\x{9C9D}' .
+'\x{9C9E}\x{9C9F}\x{9CA0}\x{9CA1}\x{9CA2}\x{9CA3}\x{9CA4}\x{9CA5}\x{9CA6}' .
+'\x{9CA7}\x{9CA8}\x{9CA9}\x{9CAA}\x{9CAB}\x{9CAC}\x{9CAD}\x{9CAE}\x{9CAF}' .
+'\x{9CB0}\x{9CB1}\x{9CB2}\x{9CB3}\x{9CB4}\x{9CB5}\x{9CB6}\x{9CB7}\x{9CB8}' .
+'\x{9CB9}\x{9CBA}\x{9CBB}\x{9CBC}\x{9CBD}\x{9CBE}\x{9CBF}\x{9CC0}\x{9CC1}' .
+'\x{9CC2}\x{9CC3}\x{9CC4}\x{9CC5}\x{9CC6}\x{9CC7}\x{9CC8}\x{9CC9}\x{9CCA}' .
+'\x{9CCB}\x{9CCC}\x{9CCD}\x{9CCE}\x{9CCF}\x{9CD0}\x{9CD1}\x{9CD2}\x{9CD3}' .
+'\x{9CD4}\x{9CD5}\x{9CD6}\x{9CD7}\x{9CD8}\x{9CD9}\x{9CDA}\x{9CDB}\x{9CDC}' .
+'\x{9CDD}\x{9CDE}\x{9CDF}\x{9CE0}\x{9CE1}\x{9CE2}\x{9CE3}\x{9CE4}\x{9CE5}' .
+'\x{9CE6}\x{9CE7}\x{9CE8}\x{9CE9}\x{9CEA}\x{9CEB}\x{9CEC}\x{9CED}\x{9CEE}' .
+'\x{9CEF}\x{9CF0}\x{9CF1}\x{9CF2}\x{9CF3}\x{9CF4}\x{9CF5}\x{9CF6}\x{9CF7}' .
+'\x{9CF8}\x{9CF9}\x{9CFA}\x{9CFB}\x{9CFC}\x{9CFD}\x{9CFE}\x{9CFF}\x{9D00}' .
+'\x{9D01}\x{9D02}\x{9D03}\x{9D04}\x{9D05}\x{9D06}\x{9D07}\x{9D08}\x{9D09}' .
+'\x{9D0A}\x{9D0B}\x{9D0F}\x{9D10}\x{9D12}\x{9D13}\x{9D14}\x{9D15}\x{9D16}' .
+'\x{9D17}\x{9D18}\x{9D19}\x{9D1A}\x{9D1B}\x{9D1C}\x{9D1D}\x{9D1E}\x{9D1F}' .
+'\x{9D20}\x{9D21}\x{9D22}\x{9D23}\x{9D24}\x{9D25}\x{9D26}\x{9D28}\x{9D29}' .
+'\x{9D2B}\x{9D2D}\x{9D2E}\x{9D2F}\x{9D30}\x{9D31}\x{9D32}\x{9D33}\x{9D34}' .
+'\x{9D36}\x{9D37}\x{9D38}\x{9D39}\x{9D3A}\x{9D3B}\x{9D3D}\x{9D3E}\x{9D3F}' .
+'\x{9D40}\x{9D41}\x{9D42}\x{9D43}\x{9D45}\x{9D46}\x{9D47}\x{9D48}\x{9D49}' .
+'\x{9D4A}\x{9D4B}\x{9D4C}\x{9D4D}\x{9D4E}\x{9D4F}\x{9D50}\x{9D51}\x{9D52}' .
+'\x{9D53}\x{9D54}\x{9D55}\x{9D56}\x{9D57}\x{9D58}\x{9D59}\x{9D5A}\x{9D5B}' .
+'\x{9D5C}\x{9D5D}\x{9D5E}\x{9D5F}\x{9D60}\x{9D61}\x{9D62}\x{9D63}\x{9D64}' .
+'\x{9D65}\x{9D66}\x{9D67}\x{9D68}\x{9D69}\x{9D6A}\x{9D6B}\x{9D6C}\x{9D6E}' .
+'\x{9D6F}\x{9D70}\x{9D71}\x{9D72}\x{9D73}\x{9D74}\x{9D75}\x{9D76}\x{9D77}' .
+'\x{9D78}\x{9D79}\x{9D7A}\x{9D7B}\x{9D7C}\x{9D7D}\x{9D7E}\x{9D7F}\x{9D80}' .
+'\x{9D81}\x{9D82}\x{9D83}\x{9D84}\x{9D85}\x{9D86}\x{9D87}\x{9D88}\x{9D89}' .
+'\x{9D8A}\x{9D8B}\x{9D8C}\x{9D8D}\x{9D8E}\x{9D90}\x{9D91}\x{9D92}\x{9D93}' .
+'\x{9D94}\x{9D96}\x{9D97}\x{9D98}\x{9D99}\x{9D9A}\x{9D9B}\x{9D9C}\x{9D9D}' .
+'\x{9D9E}\x{9D9F}\x{9DA0}\x{9DA1}\x{9DA2}\x{9DA3}\x{9DA4}\x{9DA5}\x{9DA6}' .
+'\x{9DA7}\x{9DA8}\x{9DA9}\x{9DAA}\x{9DAB}\x{9DAC}\x{9DAD}\x{9DAF}\x{9DB0}' .
+'\x{9DB1}\x{9DB2}\x{9DB3}\x{9DB4}\x{9DB5}\x{9DB6}\x{9DB7}\x{9DB8}\x{9DB9}' .
+'\x{9DBA}\x{9DBB}\x{9DBC}\x{9DBE}\x{9DBF}\x{9DC1}\x{9DC2}\x{9DC3}\x{9DC4}' .
+'\x{9DC5}\x{9DC7}\x{9DC8}\x{9DC9}\x{9DCA}\x{9DCB}\x{9DCC}\x{9DCD}\x{9DCE}' .
+'\x{9DCF}\x{9DD0}\x{9DD1}\x{9DD2}\x{9DD3}\x{9DD4}\x{9DD5}\x{9DD6}\x{9DD7}' .
+'\x{9DD8}\x{9DD9}\x{9DDA}\x{9DDB}\x{9DDC}\x{9DDD}\x{9DDE}\x{9DDF}\x{9DE0}' .
+'\x{9DE1}\x{9DE2}\x{9DE3}\x{9DE4}\x{9DE5}\x{9DE6}\x{9DE7}\x{9DE8}\x{9DE9}' .
+'\x{9DEB}\x{9DEC}\x{9DED}\x{9DEE}\x{9DEF}\x{9DF0}\x{9DF1}\x{9DF2}\x{9DF3}' .
+'\x{9DF4}\x{9DF5}\x{9DF6}\x{9DF7}\x{9DF8}\x{9DF9}\x{9DFA}\x{9DFB}\x{9DFD}' .
+'\x{9DFE}\x{9DFF}\x{9E00}\x{9E01}\x{9E02}\x{9E03}\x{9E04}\x{9E05}\x{9E06}' .
+'\x{9E07}\x{9E08}\x{9E09}\x{9E0A}\x{9E0B}\x{9E0C}\x{9E0D}\x{9E0F}\x{9E10}' .
+'\x{9E11}\x{9E12}\x{9E13}\x{9E14}\x{9E15}\x{9E17}\x{9E18}\x{9E19}\x{9E1A}' .
+'\x{9E1B}\x{9E1D}\x{9E1E}\x{9E1F}\x{9E20}\x{9E21}\x{9E22}\x{9E23}\x{9E24}' .
+'\x{9E25}\x{9E26}\x{9E27}\x{9E28}\x{9E29}\x{9E2A}\x{9E2B}\x{9E2C}\x{9E2D}' .
+'\x{9E2E}\x{9E2F}\x{9E30}\x{9E31}\x{9E32}\x{9E33}\x{9E34}\x{9E35}\x{9E36}' .
+'\x{9E37}\x{9E38}\x{9E39}\x{9E3A}\x{9E3B}\x{9E3C}\x{9E3D}\x{9E3E}\x{9E3F}' .
+'\x{9E40}\x{9E41}\x{9E42}\x{9E43}\x{9E44}\x{9E45}\x{9E46}\x{9E47}\x{9E48}' .
+'\x{9E49}\x{9E4A}\x{9E4B}\x{9E4C}\x{9E4D}\x{9E4E}\x{9E4F}\x{9E50}\x{9E51}' .
+'\x{9E52}\x{9E53}\x{9E54}\x{9E55}\x{9E56}\x{9E57}\x{9E58}\x{9E59}\x{9E5A}' .
+'\x{9E5B}\x{9E5C}\x{9E5D}\x{9E5E}\x{9E5F}\x{9E60}\x{9E61}\x{9E62}\x{9E63}' .
+'\x{9E64}\x{9E65}\x{9E66}\x{9E67}\x{9E68}\x{9E69}\x{9E6A}\x{9E6B}\x{9E6C}' .
+'\x{9E6D}\x{9E6E}\x{9E6F}\x{9E70}\x{9E71}\x{9E72}\x{9E73}\x{9E74}\x{9E75}' .
+'\x{9E76}\x{9E77}\x{9E79}\x{9E7A}\x{9E7C}\x{9E7D}\x{9E7E}\x{9E7F}\x{9E80}' .
+'\x{9E81}\x{9E82}\x{9E83}\x{9E84}\x{9E85}\x{9E86}\x{9E87}\x{9E88}\x{9E89}' .
+'\x{9E8A}\x{9E8B}\x{9E8C}\x{9E8D}\x{9E8E}\x{9E91}\x{9E92}\x{9E93}\x{9E94}' .
+'\x{9E96}\x{9E97}\x{9E99}\x{9E9A}\x{9E9B}\x{9E9C}\x{9E9D}\x{9E9F}\x{9EA0}' .
+'\x{9EA1}\x{9EA3}\x{9EA4}\x{9EA5}\x{9EA6}\x{9EA7}\x{9EA8}\x{9EA9}\x{9EAA}' .
+'\x{9EAD}\x{9EAE}\x{9EAF}\x{9EB0}\x{9EB2}\x{9EB3}\x{9EB4}\x{9EB5}\x{9EB6}' .
+'\x{9EB7}\x{9EB8}\x{9EBB}\x{9EBC}\x{9EBD}\x{9EBE}\x{9EBF}\x{9EC0}\x{9EC1}' .
+'\x{9EC2}\x{9EC3}\x{9EC4}\x{9EC5}\x{9EC6}\x{9EC7}\x{9EC8}\x{9EC9}\x{9ECA}' .
+'\x{9ECB}\x{9ECC}\x{9ECD}\x{9ECE}\x{9ECF}\x{9ED0}\x{9ED1}\x{9ED2}\x{9ED3}' .
+'\x{9ED4}\x{9ED5}\x{9ED6}\x{9ED7}\x{9ED8}\x{9ED9}\x{9EDA}\x{9EDB}\x{9EDC}' .
+'\x{9EDD}\x{9EDE}\x{9EDF}\x{9EE0}\x{9EE1}\x{9EE2}\x{9EE3}\x{9EE4}\x{9EE5}' .
+'\x{9EE6}\x{9EE7}\x{9EE8}\x{9EE9}\x{9EEA}\x{9EEB}\x{9EED}\x{9EEE}\x{9EEF}' .
+'\x{9EF0}\x{9EF2}\x{9EF3}\x{9EF4}\x{9EF5}\x{9EF6}\x{9EF7}\x{9EF8}\x{9EF9}' .
+'\x{9EFA}\x{9EFB}\x{9EFC}\x{9EFD}\x{9EFE}\x{9EFF}\x{9F00}\x{9F01}\x{9F02}' .
+'\x{9F04}\x{9F05}\x{9F06}\x{9F07}\x{9F08}\x{9F09}\x{9F0A}\x{9F0B}\x{9F0C}' .
+'\x{9F0D}\x{9F0E}\x{9F0F}\x{9F10}\x{9F12}\x{9F13}\x{9F15}\x{9F16}\x{9F17}' .
+'\x{9F18}\x{9F19}\x{9F1A}\x{9F1B}\x{9F1C}\x{9F1D}\x{9F1E}\x{9F1F}\x{9F20}' .
+'\x{9F22}\x{9F23}\x{9F24}\x{9F25}\x{9F27}\x{9F28}\x{9F29}\x{9F2A}\x{9F2B}' .
+'\x{9F2C}\x{9F2D}\x{9F2E}\x{9F2F}\x{9F30}\x{9F31}\x{9F32}\x{9F33}\x{9F34}' .
+'\x{9F35}\x{9F36}\x{9F37}\x{9F38}\x{9F39}\x{9F3A}\x{9F3B}\x{9F3C}\x{9F3D}' .
+'\x{9F3E}\x{9F3F}\x{9F40}\x{9F41}\x{9F42}\x{9F43}\x{9F44}\x{9F46}\x{9F47}' .
+'\x{9F48}\x{9F49}\x{9F4A}\x{9F4B}\x{9F4C}\x{9F4D}\x{9F4E}\x{9F4F}\x{9F50}' .
+'\x{9F51}\x{9F52}\x{9F54}\x{9F55}\x{9F56}\x{9F57}\x{9F58}\x{9F59}\x{9F5A}' .
+'\x{9F5B}\x{9F5C}\x{9F5D}\x{9F5E}\x{9F5F}\x{9F60}\x{9F61}\x{9F63}\x{9F64}' .
+'\x{9F65}\x{9F66}\x{9F67}\x{9F68}\x{9F69}\x{9F6A}\x{9F6B}\x{9F6C}\x{9F6E}' .
+'\x{9F6F}\x{9F70}\x{9F71}\x{9F72}\x{9F73}\x{9F74}\x{9F75}\x{9F76}\x{9F77}' .
+'\x{9F78}\x{9F79}\x{9F7A}\x{9F7B}\x{9F7C}\x{9F7D}\x{9F7E}\x{9F7F}\x{9F80}' .
+'\x{9F81}\x{9F82}\x{9F83}\x{9F84}\x{9F85}\x{9F86}\x{9F87}\x{9F88}\x{9F89}' .
+'\x{9F8A}\x{9F8B}\x{9F8C}\x{9F8D}\x{9F8E}\x{9F8F}\x{9F90}\x{9F91}\x{9F92}' .
+'\x{9F93}\x{9F94}\x{9F95}\x{9F96}\x{9F97}\x{9F98}\x{9F99}\x{9F9A}\x{9F9B}' .
+'\x{9F9C}\x{9F9D}\x{9F9E}\x{9F9F}\x{9FA0}\x{9FA2}\x{9FA4}\x{9FA5}]{1,20}$/iu');
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname/Com.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname/Com.php
new file mode 100644
index 0000000..4b678d5
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname/Com.php
@@ -0,0 +1,196 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * Ressource file for com and net idn validation
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+return array(
+ 1 => '/^[\x{002d}0-9\x{0400}-\x{052f}]{1,63}$/iu',
+ 2 => '/^[\x{002d}0-9\x{0370}-\x{03ff}]{1,63}$/iu',
+ 3 => '/^[\x{002d}0-9a-z\x{ac00}-\x{d7a3}]{1,17}$/iu',
+ 4 => '/^[\x{002d}0-9a-z·à-öø-ÿāăąćĉċčďđēĕėęěĝğġģĥħĩīĭįıĵķĸĺļľłńņňŋōŏőœŕŗřśŝşšţťŧũūŭůűųŵŷźżž]{1,63}$/iu',
+ 5 => '/^[\x{002d}0-9A-Za-z\x{3400}-\x{3401}\x{3404}-\x{3406}\x{340C}\x{3416}\x{341C}' .
+'\x{3421}\x{3424}\x{3428}-\x{3429}\x{342B}-\x{342E}\x{3430}-\x{3434}\x{3436}' .
+'\x{3438}-\x{343C}\x{343E}\x{3441}-\x{3445}\x{3447}\x{3449}-\x{3451}\x{3453}' .
+'\x{3457}-\x{345F}\x{3463}-\x{3467}\x{346E}-\x{3471}\x{3473}-\x{3477}\x{3479}-\x{348E}\x{3491}-\x{3497}' .
+'\x{3499}-\x{34A1}\x{34A4}-\x{34AD}\x{34AF}-\x{34B0}\x{34B2}-\x{34BF}\x{34C2}-\x{34C5}\x{34C7}-\x{34CC}' .
+'\x{34CE}-\x{34D1}\x{34D3}-\x{34D8}\x{34DA}-\x{34E4}\x{34E7}-\x{34E9}\x{34EC}-\x{34EF}\x{34F1}-\x{34FE}' .
+'\x{3500}-\x{3507}\x{350A}-\x{3513}\x{3515}\x{3517}-\x{351A}\x{351C}-\x{351E}\x{3520}-\x{352A}' .
+'\x{352C}-\x{3552}\x{3554}-\x{355C}\x{355E}-\x{3567}\x{3569}-\x{3573}\x{3575}-\x{357C}\x{3580}-\x{3588}' .
+'\x{358F}-\x{3598}\x{359E}-\x{35AB}\x{35B4}-\x{35CD}\x{35D0}\x{35D3}-\x{35DC}\x{35E2}-\x{35ED}' .
+'\x{35F0}-\x{35F6}\x{35FB}-\x{3602}\x{3605}-\x{360E}\x{3610}-\x{3611}\x{3613}-\x{3616}\x{3619}-\x{362D}' .
+'\x{362F}-\x{3634}\x{3636}-\x{363B}\x{363F}-\x{3645}\x{3647}-\x{364B}\x{364D}-\x{3653}\x{3655}' .
+'\x{3659}-\x{365E}\x{3660}-\x{3665}\x{3667}-\x{367C}\x{367E}\x{3680}-\x{3685}\x{3687}' .
+'\x{3689}-\x{3690}\x{3692}-\x{3698}\x{369A}\x{369C}-\x{36AE}\x{36B0}-\x{36BF}\x{36C1}-\x{36C5}' .
+'\x{36C9}-\x{36CA}\x{36CD}-\x{36DE}\x{36E1}-\x{36E2}\x{36E5}-\x{36FE}\x{3701}-\x{3713}\x{3715}-\x{371E}' .
+'\x{3720}-\x{372C}\x{372E}-\x{3745}\x{3747}-\x{3748}\x{374A}\x{374C}-\x{3759}\x{375B}-\x{3760}' .
+'\x{3762}-\x{3767}\x{3769}-\x{3772}\x{3774}-\x{378C}\x{378F}-\x{379C}\x{379F}\x{37A1}-\x{37AD}' .
+'\x{37AF}-\x{37B7}\x{37B9}-\x{37C1}\x{37C3}-\x{37C5}\x{37C7}-\x{37D4}\x{37D6}-\x{37E0}\x{37E2}' .
+'\x{37E5}-\x{37ED}\x{37EF}-\x{37F6}\x{37F8}-\x{3802}\x{3804}-\x{381D}\x{3820}-\x{3822}\x{3825}-\x{382A}' .
+'\x{382D}-\x{382F}\x{3831}-\x{3832}\x{3834}-\x{384C}\x{384E}-\x{3860}\x{3862}-\x{3863}\x{3865}-\x{386B}' .
+'\x{386D}-\x{3886}\x{3888}-\x{38A1}\x{38A3}\x{38A5}-\x{38AA}\x{38AC}\x{38AE}-\x{38B0}' .
+'\x{38B2}-\x{38B6}\x{38B8}\x{38BA}-\x{38BE}\x{38C0}-\x{38C9}\x{38CB}-\x{38D4}\x{38D8}-\x{38E0}' .
+'\x{38E2}-\x{38E6}\x{38EB}-\x{38ED}\x{38EF}-\x{38F2}\x{38F5}-\x{38F7}\x{38FA}-\x{38FF}\x{3901}-\x{392A}' .
+'\x{392C}\x{392E}-\x{393B}\x{393E}-\x{3956}\x{395A}-\x{3969}\x{396B}-\x{397A}\x{397C}-\x{3987}' .
+'\x{3989}-\x{3998}\x{399A}-\x{39B0}\x{39B2}\x{39B4}-\x{39D0}\x{39D2}-\x{39DA}\x{39DE}-\x{39DF}' .
+'\x{39E1}-\x{39EF}\x{39F1}-\x{3A17}\x{3A19}-\x{3A2A}\x{3A2D}-\x{3A40}\x{3A43}-\x{3A4E}\x{3A50}' .
+'\x{3A52}-\x{3A5E}\x{3A60}-\x{3A6D}\x{3A6F}-\x{3A77}\x{3A79}-\x{3A82}\x{3A84}-\x{3A85}\x{3A87}-\x{3A89}' .
+'\x{3A8B}-\x{3A8F}\x{3A91}-\x{3A93}\x{3A95}-\x{3A96}\x{3A9A}\x{3A9C}-\x{3AA6}\x{3AA8}-\x{3AA9}' .
+'\x{3AAB}-\x{3AB1}\x{3AB4}-\x{3ABC}\x{3ABE}-\x{3AC5}\x{3ACA}-\x{3ACB}\x{3ACD}-\x{3AD5}\x{3AD7}-\x{3AE1}' .
+'\x{3AE4}-\x{3AE7}\x{3AE9}-\x{3AEC}\x{3AEE}-\x{3AFD}\x{3B01}-\x{3B10}\x{3B12}-\x{3B15}\x{3B17}-\x{3B1E}' .
+'\x{3B20}-\x{3B23}\x{3B25}-\x{3B27}\x{3B29}-\x{3B36}\x{3B38}-\x{3B39}\x{3B3B}-\x{3B3C}\x{3B3F}' .
+'\x{3B41}-\x{3B44}\x{3B47}-\x{3B4C}\x{3B4E}\x{3B51}-\x{3B55}\x{3B58}-\x{3B62}\x{3B68}-\x{3B72}' .
+'\x{3B78}-\x{3B88}\x{3B8B}-\x{3B9F}\x{3BA1}\x{3BA3}-\x{3BBA}\x{3BBC}\x{3BBF}-\x{3BD0}' .
+'\x{3BD3}-\x{3BE6}\x{3BEA}-\x{3BFB}\x{3BFE}-\x{3C12}\x{3C14}-\x{3C1B}\x{3C1D}-\x{3C37}\x{3C39}-\x{3C4F}' .
+'\x{3C52}\x{3C54}-\x{3C5C}\x{3C5E}-\x{3C68}\x{3C6A}-\x{3C76}\x{3C78}-\x{3C8F}\x{3C91}-\x{3CA8}' .
+'\x{3CAA}-\x{3CAD}\x{3CAF}-\x{3CBE}\x{3CC0}-\x{3CC8}\x{3CCA}-\x{3CD3}\x{3CD6}-\x{3CE0}\x{3CE4}-\x{3CEE}' .
+'\x{3CF3}-\x{3D0A}\x{3D0E}-\x{3D1E}\x{3D20}-\x{3D21}\x{3D25}-\x{3D38}\x{3D3B}-\x{3D46}\x{3D4A}-\x{3D59}' .
+'\x{3D5D}-\x{3D7B}\x{3D7D}-\x{3D81}\x{3D84}-\x{3D88}\x{3D8C}-\x{3D8F}\x{3D91}-\x{3D98}\x{3D9A}-\x{3D9C}' .
+'\x{3D9E}-\x{3DA1}\x{3DA3}-\x{3DB0}\x{3DB2}-\x{3DB5}\x{3DB9}-\x{3DBC}\x{3DBE}-\x{3DCB}\x{3DCD}-\x{3DDB}' .
+'\x{3DDF}-\x{3DE8}\x{3DEB}-\x{3DF0}\x{3DF3}-\x{3DF9}\x{3DFB}-\x{3DFC}\x{3DFE}-\x{3E05}\x{3E08}-\x{3E33}' .
+'\x{3E35}-\x{3E3E}\x{3E40}-\x{3E47}\x{3E49}-\x{3E67}\x{3E6B}-\x{3E6F}\x{3E71}-\x{3E85}\x{3E87}-\x{3E8C}' .
+'\x{3E8E}-\x{3E98}\x{3E9A}-\x{3EA1}\x{3EA3}-\x{3EAE}\x{3EB0}-\x{3EB5}\x{3EB7}-\x{3EBA}\x{3EBD}' .
+'\x{3EBF}-\x{3EC4}\x{3EC7}-\x{3ECE}\x{3ED1}-\x{3ED7}\x{3ED9}-\x{3EDA}\x{3EDD}-\x{3EE3}\x{3EE7}-\x{3EE8}' .
+'\x{3EEB}-\x{3EF2}\x{3EF5}-\x{3EFF}\x{3F01}-\x{3F02}\x{3F04}-\x{3F07}\x{3F09}-\x{3F44}\x{3F46}-\x{3F4E}' .
+'\x{3F50}-\x{3F53}\x{3F55}-\x{3F72}\x{3F74}-\x{3F75}\x{3F77}-\x{3F7B}\x{3F7D}-\x{3FB0}\x{3FB6}-\x{3FBF}' .
+'\x{3FC1}-\x{3FCF}\x{3FD1}-\x{3FD3}\x{3FD5}-\x{3FDF}\x{3FE1}-\x{400B}\x{400D}-\x{401C}\x{401E}-\x{4024}' .
+'\x{4027}-\x{403F}\x{4041}-\x{4060}\x{4062}-\x{4069}\x{406B}-\x{408A}\x{408C}-\x{40A7}\x{40A9}-\x{40B4}' .
+'\x{40B6}-\x{40C2}\x{40C7}-\x{40CF}\x{40D1}-\x{40DE}\x{40E0}-\x{40E7}\x{40E9}-\x{40EE}\x{40F0}-\x{40FB}' .
+'\x{40FD}-\x{4109}\x{410B}-\x{4115}\x{4118}-\x{411D}\x{411F}-\x{4122}\x{4124}-\x{4133}\x{4136}-\x{4138}' .
+'\x{413A}-\x{4148}\x{414A}-\x{4169}\x{416C}-\x{4185}\x{4188}-\x{418B}\x{418D}-\x{41AD}\x{41AF}-\x{41B3}' .
+'\x{41B5}-\x{41C3}\x{41C5}-\x{41C9}\x{41CB}-\x{41F2}\x{41F5}-\x{41FE}\x{4200}-\x{4227}\x{422A}-\x{4246}' .
+'\x{4248}-\x{4263}\x{4265}-\x{428B}\x{428D}-\x{42A1}\x{42A3}-\x{42C4}\x{42C8}-\x{42DC}\x{42DE}-\x{430A}' .
+'\x{430C}-\x{4335}\x{4337}\x{4342}-\x{435F}\x{4361}-\x{439A}\x{439C}-\x{439D}\x{439F}-\x{43A4}' .
+'\x{43A6}-\x{43EC}\x{43EF}-\x{4405}\x{4407}-\x{4429}\x{442B}-\x{4455}\x{4457}-\x{4468}\x{446A}-\x{446D}' .
+'\x{446F}-\x{4476}\x{4479}-\x{447D}\x{447F}-\x{4486}\x{4488}-\x{4490}\x{4492}-\x{4498}\x{449A}-\x{44AD}' .
+'\x{44B0}-\x{44BD}\x{44C1}-\x{44D3}\x{44D6}-\x{44E7}\x{44EA}\x{44EC}-\x{44FA}\x{44FC}-\x{4541}' .
+'\x{4543}-\x{454F}\x{4551}-\x{4562}\x{4564}-\x{4575}\x{4577}-\x{45AB}\x{45AD}-\x{45BD}\x{45BF}-\x{45D5}' .
+'\x{45D7}-\x{45EC}\x{45EE}-\x{45F2}\x{45F4}-\x{45FA}\x{45FC}-\x{461A}\x{461C}-\x{461D}\x{461F}-\x{4631}' .
+'\x{4633}-\x{4649}\x{464C}\x{464E}-\x{4652}\x{4654}-\x{466A}\x{466C}-\x{4675}\x{4677}-\x{467A}' .
+'\x{467C}-\x{4694}\x{4696}-\x{46A3}\x{46A5}-\x{46AB}\x{46AD}-\x{46D2}\x{46D4}-\x{4723}\x{4729}-\x{4732}' .
+'\x{4734}-\x{4758}\x{475A}\x{475C}-\x{478B}\x{478D}\x{4791}-\x{47B1}\x{47B3}-\x{47F1}' .
+'\x{47F3}-\x{480B}\x{480D}-\x{4815}\x{4817}-\x{4839}\x{483B}-\x{4870}\x{4872}-\x{487A}\x{487C}-\x{487F}' .
+'\x{4883}-\x{488E}\x{4890}-\x{4896}\x{4899}-\x{48A2}\x{48A4}-\x{48B9}\x{48BB}-\x{48C8}\x{48CA}-\x{48D1}' .
+'\x{48D3}-\x{48E5}\x{48E7}-\x{48F2}\x{48F4}-\x{48FF}\x{4901}-\x{4922}\x{4924}-\x{4928}\x{492A}-\x{4931}' .
+'\x{4933}-\x{495B}\x{495D}-\x{4978}\x{497A}\x{497D}\x{4982}-\x{4983}\x{4985}-\x{49A8}' .
+'\x{49AA}-\x{49AF}\x{49B1}-\x{49B7}\x{49B9}-\x{49BD}\x{49C1}-\x{49C7}\x{49C9}-\x{49CE}\x{49D0}-\x{49E8}' .
+'\x{49EA}\x{49EC}\x{49EE}-\x{4A19}\x{4A1B}-\x{4A43}\x{4A45}-\x{4A4D}\x{4A4F}-\x{4A9E}' .
+'\x{4AA0}-\x{4AA9}\x{4AAB}-\x{4B4E}\x{4B50}-\x{4B5B}\x{4B5D}-\x{4B69}\x{4B6B}-\x{4BC2}\x{4BC6}-\x{4BE8}' .
+'\x{4BEA}-\x{4BFA}\x{4BFC}-\x{4C06}\x{4C08}-\x{4C2D}\x{4C2F}-\x{4C32}\x{4C34}-\x{4C35}\x{4C37}-\x{4C69}' .
+'\x{4C6B}-\x{4C73}\x{4C75}-\x{4C86}\x{4C88}-\x{4C97}\x{4C99}-\x{4C9C}\x{4C9F}-\x{4CA3}\x{4CA5}-\x{4CB5}' .
+'\x{4CB7}-\x{4CF8}\x{4CFA}-\x{4D27}\x{4D29}-\x{4DAC}\x{4DAE}-\x{4DB1}\x{4DB3}-\x{4DB5}\x{4E00}-\x{4E54}' .
+'\x{4E56}-\x{4E89}\x{4E8B}-\x{4EEC}\x{4EEE}-\x{4FAC}\x{4FAE}-\x{503C}\x{503E}-\x{51E5}\x{51E7}-\x{5270}' .
+'\x{5272}-\x{56A1}\x{56A3}-\x{5840}\x{5842}-\x{58B5}\x{58B7}-\x{58CB}\x{58CD}-\x{5BC8}\x{5BCA}-\x{5C01}' .
+'\x{5C03}-\x{5C25}\x{5C27}-\x{5D5B}\x{5D5D}-\x{5F08}\x{5F0A}-\x{61F3}\x{61F5}-\x{63BA}\x{63BC}-\x{6441}' .
+'\x{6443}-\x{657C}\x{657E}-\x{663E}\x{6640}-\x{66FC}\x{66FE}-\x{6728}\x{672A}-\x{6766}\x{6768}-\x{67A8}' .
+'\x{67AA}-\x{685B}\x{685D}-\x{685E}\x{6860}-\x{68B9}\x{68BB}-\x{6AC8}\x{6ACA}-\x{6BB0}\x{6BB2}-\x{6C16}' .
+'\x{6C18}-\x{6D9B}\x{6D9D}-\x{6E12}\x{6E14}-\x{6E8B}\x{6E8D}-\x{704D}\x{704F}-\x{7113}\x{7115}-\x{713B}' .
+'\x{713D}-\x{7154}\x{7156}-\x{729F}\x{72A1}-\x{731E}\x{7320}-\x{7362}\x{7364}-\x{7533}\x{7535}-\x{7551}' .
+'\x{7553}-\x{7572}\x{7574}-\x{75E8}\x{75EA}-\x{7679}\x{767B}-\x{783E}\x{7840}-\x{7A62}\x{7A64}-\x{7AC2}' .
+'\x{7AC4}-\x{7B06}\x{7B08}-\x{7B79}\x{7B7B}-\x{7BCE}\x{7BD0}-\x{7D99}\x{7D9B}-\x{7E49}\x{7E4C}-\x{8132}' .
+'\x{8134}\x{8136}-\x{81D2}\x{81D4}-\x{8216}\x{8218}-\x{822D}\x{822F}-\x{83B4}\x{83B6}-\x{841F}' .
+'\x{8421}-\x{86CC}\x{86CE}-\x{874A}\x{874C}-\x{877E}\x{8780}-\x{8A32}\x{8A34}-\x{8B71}\x{8B73}-\x{8B8E}' .
+'\x{8B90}-\x{8DE4}\x{8DE6}-\x{8E9A}\x{8E9C}-\x{8EE1}\x{8EE4}-\x{8F0B}\x{8F0D}-\x{8FB9}\x{8FBB}-\x{9038}' .
+'\x{903A}-\x{9196}\x{9198}-\x{91A3}\x{91A5}-\x{91B7}\x{91B9}-\x{91C7}\x{91C9}-\x{91E0}\x{91E2}-\x{91FB}' .
+'\x{91FD}-\x{922B}\x{922D}-\x{9270}\x{9272}-\x{9420}\x{9422}-\x{9664}\x{9666}-\x{9679}\x{967B}-\x{9770}' .
+'\x{9772}-\x{982B}\x{982D}-\x{98ED}\x{98EF}-\x{99C4}\x{99C6}-\x{9A11}\x{9A14}-\x{9A27}\x{9A29}-\x{9D0D}' .
+'\x{9D0F}-\x{9D2B}\x{9D2D}-\x{9D8E}\x{9D90}-\x{9DC5}\x{9DC7}-\x{9E77}\x{9E79}-\x{9EB8}\x{9EBB}-\x{9F20}' .
+'\x{9F22}-\x{9F61}\x{9F63}-\x{9FA5}\x{FA28}]{1,20}$/iu',
+ 6 => '/^[\x{002d}0-9A-Za-z]{1,63}$/iu',
+ 7 => '/^[\x{00A1}-\x{00FF}]{1,63}$/iu',
+ 8 => '/^[\x{0100}-\x{017f}]{1,63}$/iu',
+ 9 => '/^[\x{0180}-\x{024f}]{1,63}$/iu',
+ 10 => '/^[\x{0250}-\x{02af}]{1,63}$/iu',
+ 11 => '/^[\x{02b0}-\x{02ff}]{1,63}$/iu',
+ 12 => '/^[\x{0300}-\x{036f}]{1,63}$/iu',
+ 13 => '/^[\x{0370}-\x{03ff}]{1,63}$/iu',
+ 14 => '/^[\x{0400}-\x{04ff}]{1,63}$/iu',
+ 15 => '/^[\x{0500}-\x{052f}]{1,63}$/iu',
+ 16 => '/^[\x{0530}-\x{058F}]{1,63}$/iu',
+ 17 => '/^[\x{0590}-\x{05FF}]{1,63}$/iu',
+ 18 => '/^[\x{0600}-\x{06FF}]{1,63}$/iu',
+ 19 => '/^[\x{0700}-\x{074F}]{1,63}$/iu',
+ 20 => '/^[\x{0780}-\x{07BF}]{1,63}$/iu',
+ 21 => '/^[\x{0900}-\x{097F}]{1,63}$/iu',
+ 22 => '/^[\x{0980}-\x{09FF}]{1,63}$/iu',
+ 23 => '/^[\x{0A00}-\x{0A7F}]{1,63}$/iu',
+ 24 => '/^[\x{0A80}-\x{0AFF}]{1,63}$/iu',
+ 25 => '/^[\x{0B00}-\x{0B7F}]{1,63}$/iu',
+ 26 => '/^[\x{0B80}-\x{0BFF}]{1,63}$/iu',
+ 27 => '/^[\x{0C00}-\x{0C7F}]{1,63}$/iu',
+ 28 => '/^[\x{0C80}-\x{0CFF}]{1,63}$/iu',
+ 29 => '/^[\x{0D00}-\x{0D7F}]{1,63}$/iu',
+ 30 => '/^[\x{0D80}-\x{0DFF}]{1,63}$/iu',
+ 31 => '/^[\x{0E00}-\x{0E7F}]{1,63}$/iu',
+ 32 => '/^[\x{0E80}-\x{0EFF}]{1,63}$/iu',
+ 33 => '/^[\x{0F00}-\x{0FFF}]{1,63}$/iu',
+ 34 => '/^[\x{1000}-\x{109F}]{1,63}$/iu',
+ 35 => '/^[\x{10A0}-\x{10FF}]{1,63}$/iu',
+ 36 => '/^[\x{1100}-\x{11FF}]{1,63}$/iu',
+ 37 => '/^[\x{1200}-\x{137F}]{1,63}$/iu',
+ 38 => '/^[\x{13A0}-\x{13FF}]{1,63}$/iu',
+ 39 => '/^[\x{1400}-\x{167F}]{1,63}$/iu',
+ 40 => '/^[\x{1680}-\x{169F}]{1,63}$/iu',
+ 41 => '/^[\x{16A0}-\x{16FF}]{1,63}$/iu',
+ 42 => '/^[\x{1700}-\x{171F}]{1,63}$/iu',
+ 43 => '/^[\x{1720}-\x{173F}]{1,63}$/iu',
+ 44 => '/^[\x{1740}-\x{175F}]{1,63}$/iu',
+ 45 => '/^[\x{1760}-\x{177F}]{1,63}$/iu',
+ 46 => '/^[\x{1780}-\x{17FF}]{1,63}$/iu',
+ 47 => '/^[\x{1800}-\x{18AF}]{1,63}$/iu',
+ 48 => '/^[\x{1E00}-\x{1EFF}]{1,63}$/iu',
+ 49 => '/^[\x{1F00}-\x{1FFF}]{1,63}$/iu',
+ 50 => '/^[\x{2070}-\x{209F}]{1,63}$/iu',
+ 51 => '/^[\x{2100}-\x{214F}]{1,63}$/iu',
+ 52 => '/^[\x{2150}-\x{218F}]{1,63}$/iu',
+ 53 => '/^[\x{2460}-\x{24FF}]{1,63}$/iu',
+ 54 => '/^[\x{2E80}-\x{2EFF}]{1,63}$/iu',
+ 55 => '/^[\x{2F00}-\x{2FDF}]{1,63}$/iu',
+ 56 => '/^[\x{2FF0}-\x{2FFF}]{1,63}$/iu',
+ 57 => '/^[\x{3040}-\x{309F}]{1,63}$/iu',
+ 58 => '/^[\x{30A0}-\x{30FF}]{1,63}$/iu',
+ 59 => '/^[\x{3100}-\x{312F}]{1,63}$/iu',
+ 60 => '/^[\x{3130}-\x{318F}]{1,63}$/iu',
+ 61 => '/^[\x{3190}-\x{319F}]{1,63}$/iu',
+ 62 => '/^[\x{31A0}-\x{31BF}]{1,63}$/iu',
+ 63 => '/^[\x{31F0}-\x{31FF}]{1,63}$/iu',
+ 64 => '/^[\x{3200}-\x{32FF}]{1,63}$/iu',
+ 65 => '/^[\x{3300}-\x{33FF}]{1,63}$/iu',
+ 66 => '/^[\x{3400}-\x{4DBF}]{1,63}$/iu',
+ 67 => '/^[\x{4E00}-\x{9FFF}]{1,63}$/iu',
+ 68 => '/^[\x{A000}-\x{A48F}]{1,63}$/iu',
+ 69 => '/^[\x{A490}-\x{A4CF}]{1,63}$/iu',
+ 70 => '/^[\x{AC00}-\x{D7AF}]{1,63}$/iu',
+ 73 => '/^[\x{F900}-\x{FAFF}]{1,63}$/iu',
+ 74 => '/^[\x{FB00}-\x{FB4F}]{1,63}$/iu',
+ 75 => '/^[\x{FB50}-\x{FDFF}]{1,63}$/iu',
+ 76 => '/^[\x{FE20}-\x{FE2F}]{1,63}$/iu',
+ 77 => '/^[\x{FE70}-\x{FEFF}]{1,63}$/iu',
+ 78 => '/^[\x{FF00}-\x{FFEF}]{1,63}$/iu',
+ 79 => '/^[\x{20000}-\x{2A6DF}]{1,63}$/iu',
+ 80 => '/^[\x{2F800}-\x{2FA1F}]{1,63}$/iu'
+
+);
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname/Jp.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname/Jp.php
new file mode 100644
index 0000000..567dc01
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname/Jp.php
@@ -0,0 +1,739 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * Ressource file for japanese idn validation
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+return array(
+ 1 => '/^[\x{002d}0-9a-z\x{3005}-\x{3007}\x{3041}-\x{3093}\x{309D}\x{309E}' .
+'\x{30A1}-\x{30F6}\x{30FC}' .
+'\x{30FD}\x{30FE}\x{4E00}\x{4E01}\x{4E03}\x{4E07}\x{4E08}\x{4E09}\x{4E0A}' .
+'\x{4E0B}\x{4E0D}\x{4E0E}\x{4E10}\x{4E11}\x{4E14}\x{4E15}\x{4E16}\x{4E17}' .
+'\x{4E18}\x{4E19}\x{4E1E}\x{4E21}\x{4E26}\x{4E2A}\x{4E2D}\x{4E31}\x{4E32}' .
+'\x{4E36}\x{4E38}\x{4E39}\x{4E3B}\x{4E3C}\x{4E3F}\x{4E42}\x{4E43}\x{4E45}' .
+'\x{4E4B}\x{4E4D}\x{4E4E}\x{4E4F}\x{4E55}\x{4E56}\x{4E57}\x{4E58}\x{4E59}' .
+'\x{4E5D}\x{4E5E}\x{4E5F}\x{4E62}\x{4E71}\x{4E73}\x{4E7E}\x{4E80}\x{4E82}' .
+'\x{4E85}\x{4E86}\x{4E88}\x{4E89}\x{4E8A}\x{4E8B}\x{4E8C}\x{4E8E}\x{4E91}' .
+'\x{4E92}\x{4E94}\x{4E95}\x{4E98}\x{4E99}\x{4E9B}\x{4E9C}\x{4E9E}\x{4E9F}' .
+'\x{4EA0}\x{4EA1}\x{4EA2}\x{4EA4}\x{4EA5}\x{4EA6}\x{4EA8}\x{4EAB}\x{4EAC}' .
+'\x{4EAD}\x{4EAE}\x{4EB0}\x{4EB3}\x{4EB6}\x{4EBA}\x{4EC0}\x{4EC1}\x{4EC2}' .
+'\x{4EC4}\x{4EC6}\x{4EC7}\x{4ECA}\x{4ECB}\x{4ECD}\x{4ECE}\x{4ECF}\x{4ED4}' .
+'\x{4ED5}\x{4ED6}\x{4ED7}\x{4ED8}\x{4ED9}\x{4EDD}\x{4EDE}\x{4EDF}\x{4EE3}' .
+'\x{4EE4}\x{4EE5}\x{4EED}\x{4EEE}\x{4EF0}\x{4EF2}\x{4EF6}\x{4EF7}\x{4EFB}' .
+'\x{4F01}\x{4F09}\x{4F0A}\x{4F0D}\x{4F0E}\x{4F0F}\x{4F10}\x{4F11}\x{4F1A}' .
+'\x{4F1C}\x{4F1D}\x{4F2F}\x{4F30}\x{4F34}\x{4F36}\x{4F38}\x{4F3A}\x{4F3C}' .
+'\x{4F3D}\x{4F43}\x{4F46}\x{4F47}\x{4F4D}\x{4F4E}\x{4F4F}\x{4F50}\x{4F51}' .
+'\x{4F53}\x{4F55}\x{4F57}\x{4F59}\x{4F5A}\x{4F5B}\x{4F5C}\x{4F5D}\x{4F5E}' .
+'\x{4F69}\x{4F6F}\x{4F70}\x{4F73}\x{4F75}\x{4F76}\x{4F7B}\x{4F7C}\x{4F7F}' .
+'\x{4F83}\x{4F86}\x{4F88}\x{4F8B}\x{4F8D}\x{4F8F}\x{4F91}\x{4F96}\x{4F98}' .
+'\x{4F9B}\x{4F9D}\x{4FA0}\x{4FA1}\x{4FAB}\x{4FAD}\x{4FAE}\x{4FAF}\x{4FB5}' .
+'\x{4FB6}\x{4FBF}\x{4FC2}\x{4FC3}\x{4FC4}\x{4FCA}\x{4FCE}\x{4FD0}\x{4FD1}' .
+'\x{4FD4}\x{4FD7}\x{4FD8}\x{4FDA}\x{4FDB}\x{4FDD}\x{4FDF}\x{4FE1}\x{4FE3}' .
+'\x{4FE4}\x{4FE5}\x{4FEE}\x{4FEF}\x{4FF3}\x{4FF5}\x{4FF6}\x{4FF8}\x{4FFA}' .
+'\x{4FFE}\x{5005}\x{5006}\x{5009}\x{500B}\x{500D}\x{500F}\x{5011}\x{5012}' .
+'\x{5014}\x{5016}\x{5019}\x{501A}\x{501F}\x{5021}\x{5023}\x{5024}\x{5025}' .
+'\x{5026}\x{5028}\x{5029}\x{502A}\x{502B}\x{502C}\x{502D}\x{5036}\x{5039}' .
+'\x{5043}\x{5047}\x{5048}\x{5049}\x{504F}\x{5050}\x{5055}\x{5056}\x{505A}' .
+'\x{505C}\x{5065}\x{506C}\x{5072}\x{5074}\x{5075}\x{5076}\x{5078}\x{507D}' .
+'\x{5080}\x{5085}\x{508D}\x{5091}\x{5098}\x{5099}\x{509A}\x{50AC}\x{50AD}' .
+'\x{50B2}\x{50B3}\x{50B4}\x{50B5}\x{50B7}\x{50BE}\x{50C2}\x{50C5}\x{50C9}' .
+'\x{50CA}\x{50CD}\x{50CF}\x{50D1}\x{50D5}\x{50D6}\x{50DA}\x{50DE}\x{50E3}' .
+'\x{50E5}\x{50E7}\x{50ED}\x{50EE}\x{50F5}\x{50F9}\x{50FB}\x{5100}\x{5101}' .
+'\x{5102}\x{5104}\x{5109}\x{5112}\x{5114}\x{5115}\x{5116}\x{5118}\x{511A}' .
+'\x{511F}\x{5121}\x{512A}\x{5132}\x{5137}\x{513A}\x{513B}\x{513C}\x{513F}' .
+'\x{5140}\x{5141}\x{5143}\x{5144}\x{5145}\x{5146}\x{5147}\x{5148}\x{5149}' .
+'\x{514B}\x{514C}\x{514D}\x{514E}\x{5150}\x{5152}\x{5154}\x{515A}\x{515C}' .
+'\x{5162}\x{5165}\x{5168}\x{5169}\x{516A}\x{516B}\x{516C}\x{516D}\x{516E}' .
+'\x{5171}\x{5175}\x{5176}\x{5177}\x{5178}\x{517C}\x{5180}\x{5182}\x{5185}' .
+'\x{5186}\x{5189}\x{518A}\x{518C}\x{518D}\x{518F}\x{5190}\x{5191}\x{5192}' .
+'\x{5193}\x{5195}\x{5196}\x{5197}\x{5199}\x{51A0}\x{51A2}\x{51A4}\x{51A5}' .
+'\x{51A6}\x{51A8}\x{51A9}\x{51AA}\x{51AB}\x{51AC}\x{51B0}\x{51B1}\x{51B2}' .
+'\x{51B3}\x{51B4}\x{51B5}\x{51B6}\x{51B7}\x{51BD}\x{51C4}\x{51C5}\x{51C6}' .
+'\x{51C9}\x{51CB}\x{51CC}\x{51CD}\x{51D6}\x{51DB}\x{51DC}\x{51DD}\x{51E0}' .
+'\x{51E1}\x{51E6}\x{51E7}\x{51E9}\x{51EA}\x{51ED}\x{51F0}\x{51F1}\x{51F5}' .
+'\x{51F6}\x{51F8}\x{51F9}\x{51FA}\x{51FD}\x{51FE}\x{5200}\x{5203}\x{5204}' .
+'\x{5206}\x{5207}\x{5208}\x{520A}\x{520B}\x{520E}\x{5211}\x{5214}\x{5217}' .
+'\x{521D}\x{5224}\x{5225}\x{5227}\x{5229}\x{522A}\x{522E}\x{5230}\x{5233}' .
+'\x{5236}\x{5237}\x{5238}\x{5239}\x{523A}\x{523B}\x{5243}\x{5244}\x{5247}' .
+'\x{524A}\x{524B}\x{524C}\x{524D}\x{524F}\x{5254}\x{5256}\x{525B}\x{525E}' .
+'\x{5263}\x{5264}\x{5265}\x{5269}\x{526A}\x{526F}\x{5270}\x{5271}\x{5272}' .
+'\x{5273}\x{5274}\x{5275}\x{527D}\x{527F}\x{5283}\x{5287}\x{5288}\x{5289}' .
+'\x{528D}\x{5291}\x{5292}\x{5294}\x{529B}\x{529F}\x{52A0}\x{52A3}\x{52A9}' .
+'\x{52AA}\x{52AB}\x{52AC}\x{52AD}\x{52B1}\x{52B4}\x{52B5}\x{52B9}\x{52BC}' .
+'\x{52BE}\x{52C1}\x{52C3}\x{52C5}\x{52C7}\x{52C9}\x{52CD}\x{52D2}\x{52D5}' .
+'\x{52D7}\x{52D8}\x{52D9}\x{52DD}\x{52DE}\x{52DF}\x{52E0}\x{52E2}\x{52E3}' .
+'\x{52E4}\x{52E6}\x{52E7}\x{52F2}\x{52F3}\x{52F5}\x{52F8}\x{52F9}\x{52FA}' .
+'\x{52FE}\x{52FF}\x{5301}\x{5302}\x{5305}\x{5306}\x{5308}\x{530D}\x{530F}' .
+'\x{5310}\x{5315}\x{5316}\x{5317}\x{5319}\x{531A}\x{531D}\x{5320}\x{5321}' .
+'\x{5323}\x{532A}\x{532F}\x{5331}\x{5333}\x{5338}\x{5339}\x{533A}\x{533B}' .
+'\x{533F}\x{5340}\x{5341}\x{5343}\x{5345}\x{5346}\x{5347}\x{5348}\x{5349}' .
+'\x{534A}\x{534D}\x{5351}\x{5352}\x{5353}\x{5354}\x{5357}\x{5358}\x{535A}' .
+'\x{535C}\x{535E}\x{5360}\x{5366}\x{5369}\x{536E}\x{536F}\x{5370}\x{5371}' .
+'\x{5373}\x{5374}\x{5375}\x{5377}\x{5378}\x{537B}\x{537F}\x{5382}\x{5384}' .
+'\x{5396}\x{5398}\x{539A}\x{539F}\x{53A0}\x{53A5}\x{53A6}\x{53A8}\x{53A9}' .
+'\x{53AD}\x{53AE}\x{53B0}\x{53B3}\x{53B6}\x{53BB}\x{53C2}\x{53C3}\x{53C8}' .
+'\x{53C9}\x{53CA}\x{53CB}\x{53CC}\x{53CD}\x{53CE}\x{53D4}\x{53D6}\x{53D7}' .
+'\x{53D9}\x{53DB}\x{53DF}\x{53E1}\x{53E2}\x{53E3}\x{53E4}\x{53E5}\x{53E8}' .
+'\x{53E9}\x{53EA}\x{53EB}\x{53EC}\x{53ED}\x{53EE}\x{53EF}\x{53F0}\x{53F1}' .
+'\x{53F2}\x{53F3}\x{53F6}\x{53F7}\x{53F8}\x{53FA}\x{5401}\x{5403}\x{5404}' .
+'\x{5408}\x{5409}\x{540A}\x{540B}\x{540C}\x{540D}\x{540E}\x{540F}\x{5410}' .
+'\x{5411}\x{541B}\x{541D}\x{541F}\x{5420}\x{5426}\x{5429}\x{542B}\x{542C}' .
+'\x{542D}\x{542E}\x{5436}\x{5438}\x{5439}\x{543B}\x{543C}\x{543D}\x{543E}' .
+'\x{5440}\x{5442}\x{5446}\x{5448}\x{5449}\x{544A}\x{544E}\x{5451}\x{545F}' .
+'\x{5468}\x{546A}\x{5470}\x{5471}\x{5473}\x{5475}\x{5476}\x{5477}\x{547B}' .
+'\x{547C}\x{547D}\x{5480}\x{5484}\x{5486}\x{548B}\x{548C}\x{548E}\x{548F}' .
+'\x{5490}\x{5492}\x{54A2}\x{54A4}\x{54A5}\x{54A8}\x{54AB}\x{54AC}\x{54AF}' .
+'\x{54B2}\x{54B3}\x{54B8}\x{54BC}\x{54BD}\x{54BE}\x{54C0}\x{54C1}\x{54C2}' .
+'\x{54C4}\x{54C7}\x{54C8}\x{54C9}\x{54D8}\x{54E1}\x{54E2}\x{54E5}\x{54E6}' .
+'\x{54E8}\x{54E9}\x{54ED}\x{54EE}\x{54F2}\x{54FA}\x{54FD}\x{5504}\x{5506}' .
+'\x{5507}\x{550F}\x{5510}\x{5514}\x{5516}\x{552E}\x{552F}\x{5531}\x{5533}' .
+'\x{5538}\x{5539}\x{553E}\x{5540}\x{5544}\x{5545}\x{5546}\x{554C}\x{554F}' .
+'\x{5553}\x{5556}\x{5557}\x{555C}\x{555D}\x{5563}\x{557B}\x{557C}\x{557E}' .
+'\x{5580}\x{5583}\x{5584}\x{5587}\x{5589}\x{558A}\x{558B}\x{5598}\x{5599}' .
+'\x{559A}\x{559C}\x{559D}\x{559E}\x{559F}\x{55A7}\x{55A8}\x{55A9}\x{55AA}' .
+'\x{55AB}\x{55AC}\x{55AE}\x{55B0}\x{55B6}\x{55C4}\x{55C5}\x{55C7}\x{55D4}' .
+'\x{55DA}\x{55DC}\x{55DF}\x{55E3}\x{55E4}\x{55F7}\x{55F9}\x{55FD}\x{55FE}' .
+'\x{5606}\x{5609}\x{5614}\x{5616}\x{5617}\x{5618}\x{561B}\x{5629}\x{562F}' .
+'\x{5631}\x{5632}\x{5634}\x{5636}\x{5638}\x{5642}\x{564C}\x{564E}\x{5650}' .
+'\x{565B}\x{5664}\x{5668}\x{566A}\x{566B}\x{566C}\x{5674}\x{5678}\x{567A}' .
+'\x{5680}\x{5686}\x{5687}\x{568A}\x{568F}\x{5694}\x{56A0}\x{56A2}\x{56A5}' .
+'\x{56AE}\x{56B4}\x{56B6}\x{56BC}\x{56C0}\x{56C1}\x{56C2}\x{56C3}\x{56C8}' .
+'\x{56CE}\x{56D1}\x{56D3}\x{56D7}\x{56D8}\x{56DA}\x{56DB}\x{56DE}\x{56E0}' .
+'\x{56E3}\x{56EE}\x{56F0}\x{56F2}\x{56F3}\x{56F9}\x{56FA}\x{56FD}\x{56FF}' .
+'\x{5700}\x{5703}\x{5704}\x{5708}\x{5709}\x{570B}\x{570D}\x{570F}\x{5712}' .
+'\x{5713}\x{5716}\x{5718}\x{571C}\x{571F}\x{5726}\x{5727}\x{5728}\x{572D}' .
+'\x{5730}\x{5737}\x{5738}\x{573B}\x{5740}\x{5742}\x{5747}\x{574A}\x{574E}' .
+'\x{574F}\x{5750}\x{5751}\x{5761}\x{5764}\x{5766}\x{5769}\x{576A}\x{577F}' .
+'\x{5782}\x{5788}\x{5789}\x{578B}\x{5793}\x{57A0}\x{57A2}\x{57A3}\x{57A4}' .
+'\x{57AA}\x{57B0}\x{57B3}\x{57C0}\x{57C3}\x{57C6}\x{57CB}\x{57CE}\x{57D2}' .
+'\x{57D3}\x{57D4}\x{57D6}\x{57DC}\x{57DF}\x{57E0}\x{57E3}\x{57F4}\x{57F7}' .
+'\x{57F9}\x{57FA}\x{57FC}\x{5800}\x{5802}\x{5805}\x{5806}\x{580A}\x{580B}' .
+'\x{5815}\x{5819}\x{581D}\x{5821}\x{5824}\x{582A}\x{582F}\x{5830}\x{5831}' .
+'\x{5834}\x{5835}\x{583A}\x{583D}\x{5840}\x{5841}\x{584A}\x{584B}\x{5851}' .
+'\x{5852}\x{5854}\x{5857}\x{5858}\x{5859}\x{585A}\x{585E}\x{5862}\x{5869}' .
+'\x{586B}\x{5870}\x{5872}\x{5875}\x{5879}\x{587E}\x{5883}\x{5885}\x{5893}' .
+'\x{5897}\x{589C}\x{589F}\x{58A8}\x{58AB}\x{58AE}\x{58B3}\x{58B8}\x{58B9}' .
+'\x{58BA}\x{58BB}\x{58BE}\x{58C1}\x{58C5}\x{58C7}\x{58CA}\x{58CC}\x{58D1}' .
+'\x{58D3}\x{58D5}\x{58D7}\x{58D8}\x{58D9}\x{58DC}\x{58DE}\x{58DF}\x{58E4}' .
+'\x{58E5}\x{58EB}\x{58EC}\x{58EE}\x{58EF}\x{58F0}\x{58F1}\x{58F2}\x{58F7}' .
+'\x{58F9}\x{58FA}\x{58FB}\x{58FC}\x{58FD}\x{5902}\x{5909}\x{590A}\x{590F}' .
+'\x{5910}\x{5915}\x{5916}\x{5918}\x{5919}\x{591A}\x{591B}\x{591C}\x{5922}' .
+'\x{5925}\x{5927}\x{5929}\x{592A}\x{592B}\x{592C}\x{592D}\x{592E}\x{5931}' .
+'\x{5932}\x{5937}\x{5938}\x{593E}\x{5944}\x{5947}\x{5948}\x{5949}\x{594E}' .
+'\x{594F}\x{5950}\x{5951}\x{5954}\x{5955}\x{5957}\x{5958}\x{595A}\x{5960}' .
+'\x{5962}\x{5965}\x{5967}\x{5968}\x{5969}\x{596A}\x{596C}\x{596E}\x{5973}' .
+'\x{5974}\x{5978}\x{597D}\x{5981}\x{5982}\x{5983}\x{5984}\x{598A}\x{598D}' .
+'\x{5993}\x{5996}\x{5999}\x{599B}\x{599D}\x{59A3}\x{59A5}\x{59A8}\x{59AC}' .
+'\x{59B2}\x{59B9}\x{59BB}\x{59BE}\x{59C6}\x{59C9}\x{59CB}\x{59D0}\x{59D1}' .
+'\x{59D3}\x{59D4}\x{59D9}\x{59DA}\x{59DC}\x{59E5}\x{59E6}\x{59E8}\x{59EA}' .
+'\x{59EB}\x{59F6}\x{59FB}\x{59FF}\x{5A01}\x{5A03}\x{5A09}\x{5A11}\x{5A18}' .
+'\x{5A1A}\x{5A1C}\x{5A1F}\x{5A20}\x{5A25}\x{5A29}\x{5A2F}\x{5A35}\x{5A36}' .
+'\x{5A3C}\x{5A40}\x{5A41}\x{5A46}\x{5A49}\x{5A5A}\x{5A62}\x{5A66}\x{5A6A}' .
+'\x{5A6C}\x{5A7F}\x{5A92}\x{5A9A}\x{5A9B}\x{5ABC}\x{5ABD}\x{5ABE}\x{5AC1}' .
+'\x{5AC2}\x{5AC9}\x{5ACB}\x{5ACC}\x{5AD0}\x{5AD6}\x{5AD7}\x{5AE1}\x{5AE3}' .
+'\x{5AE6}\x{5AE9}\x{5AFA}\x{5AFB}\x{5B09}\x{5B0B}\x{5B0C}\x{5B16}\x{5B22}' .
+'\x{5B2A}\x{5B2C}\x{5B30}\x{5B32}\x{5B36}\x{5B3E}\x{5B40}\x{5B43}\x{5B45}' .
+'\x{5B50}\x{5B51}\x{5B54}\x{5B55}\x{5B57}\x{5B58}\x{5B5A}\x{5B5B}\x{5B5C}' .
+'\x{5B5D}\x{5B5F}\x{5B63}\x{5B64}\x{5B65}\x{5B66}\x{5B69}\x{5B6B}\x{5B70}' .
+'\x{5B71}\x{5B73}\x{5B75}\x{5B78}\x{5B7A}\x{5B80}\x{5B83}\x{5B85}\x{5B87}' .
+'\x{5B88}\x{5B89}\x{5B8B}\x{5B8C}\x{5B8D}\x{5B8F}\x{5B95}\x{5B97}\x{5B98}' .
+'\x{5B99}\x{5B9A}\x{5B9B}\x{5B9C}\x{5B9D}\x{5B9F}\x{5BA2}\x{5BA3}\x{5BA4}' .
+'\x{5BA5}\x{5BA6}\x{5BAE}\x{5BB0}\x{5BB3}\x{5BB4}\x{5BB5}\x{5BB6}\x{5BB8}' .
+'\x{5BB9}\x{5BBF}\x{5BC2}\x{5BC3}\x{5BC4}\x{5BC5}\x{5BC6}\x{5BC7}\x{5BC9}' .
+'\x{5BCC}\x{5BD0}\x{5BD2}\x{5BD3}\x{5BD4}\x{5BDB}\x{5BDD}\x{5BDE}\x{5BDF}' .
+'\x{5BE1}\x{5BE2}\x{5BE4}\x{5BE5}\x{5BE6}\x{5BE7}\x{5BE8}\x{5BE9}\x{5BEB}' .
+'\x{5BEE}\x{5BF0}\x{5BF3}\x{5BF5}\x{5BF6}\x{5BF8}\x{5BFA}\x{5BFE}\x{5BFF}' .
+'\x{5C01}\x{5C02}\x{5C04}\x{5C05}\x{5C06}\x{5C07}\x{5C08}\x{5C09}\x{5C0A}' .
+'\x{5C0B}\x{5C0D}\x{5C0E}\x{5C0F}\x{5C11}\x{5C13}\x{5C16}\x{5C1A}\x{5C20}' .
+'\x{5C22}\x{5C24}\x{5C28}\x{5C2D}\x{5C31}\x{5C38}\x{5C39}\x{5C3A}\x{5C3B}' .
+'\x{5C3C}\x{5C3D}\x{5C3E}\x{5C3F}\x{5C40}\x{5C41}\x{5C45}\x{5C46}\x{5C48}' .
+'\x{5C4A}\x{5C4B}\x{5C4D}\x{5C4E}\x{5C4F}\x{5C50}\x{5C51}\x{5C53}\x{5C55}' .
+'\x{5C5E}\x{5C60}\x{5C61}\x{5C64}\x{5C65}\x{5C6C}\x{5C6E}\x{5C6F}\x{5C71}' .
+'\x{5C76}\x{5C79}\x{5C8C}\x{5C90}\x{5C91}\x{5C94}\x{5CA1}\x{5CA8}\x{5CA9}' .
+'\x{5CAB}\x{5CAC}\x{5CB1}\x{5CB3}\x{5CB6}\x{5CB7}\x{5CB8}\x{5CBB}\x{5CBC}' .
+'\x{5CBE}\x{5CC5}\x{5CC7}\x{5CD9}\x{5CE0}\x{5CE1}\x{5CE8}\x{5CE9}\x{5CEA}' .
+'\x{5CED}\x{5CEF}\x{5CF0}\x{5CF6}\x{5CFA}\x{5CFB}\x{5CFD}\x{5D07}\x{5D0B}' .
+'\x{5D0E}\x{5D11}\x{5D14}\x{5D15}\x{5D16}\x{5D17}\x{5D18}\x{5D19}\x{5D1A}' .
+'\x{5D1B}\x{5D1F}\x{5D22}\x{5D29}\x{5D4B}\x{5D4C}\x{5D4E}\x{5D50}\x{5D52}' .
+'\x{5D5C}\x{5D69}\x{5D6C}\x{5D6F}\x{5D73}\x{5D76}\x{5D82}\x{5D84}\x{5D87}' .
+'\x{5D8B}\x{5D8C}\x{5D90}\x{5D9D}\x{5DA2}\x{5DAC}\x{5DAE}\x{5DB7}\x{5DBA}' .
+'\x{5DBC}\x{5DBD}\x{5DC9}\x{5DCC}\x{5DCD}\x{5DD2}\x{5DD3}\x{5DD6}\x{5DDB}' .
+'\x{5DDD}\x{5DDE}\x{5DE1}\x{5DE3}\x{5DE5}\x{5DE6}\x{5DE7}\x{5DE8}\x{5DEB}' .
+'\x{5DEE}\x{5DF1}\x{5DF2}\x{5DF3}\x{5DF4}\x{5DF5}\x{5DF7}\x{5DFB}\x{5DFD}' .
+'\x{5DFE}\x{5E02}\x{5E03}\x{5E06}\x{5E0B}\x{5E0C}\x{5E11}\x{5E16}\x{5E19}' .
+'\x{5E1A}\x{5E1B}\x{5E1D}\x{5E25}\x{5E2B}\x{5E2D}\x{5E2F}\x{5E30}\x{5E33}' .
+'\x{5E36}\x{5E37}\x{5E38}\x{5E3D}\x{5E40}\x{5E43}\x{5E44}\x{5E45}\x{5E47}' .
+'\x{5E4C}\x{5E4E}\x{5E54}\x{5E55}\x{5E57}\x{5E5F}\x{5E61}\x{5E62}\x{5E63}' .
+'\x{5E64}\x{5E72}\x{5E73}\x{5E74}\x{5E75}\x{5E76}\x{5E78}\x{5E79}\x{5E7A}' .
+'\x{5E7B}\x{5E7C}\x{5E7D}\x{5E7E}\x{5E7F}\x{5E81}\x{5E83}\x{5E84}\x{5E87}' .
+'\x{5E8A}\x{5E8F}\x{5E95}\x{5E96}\x{5E97}\x{5E9A}\x{5E9C}\x{5EA0}\x{5EA6}' .
+'\x{5EA7}\x{5EAB}\x{5EAD}\x{5EB5}\x{5EB6}\x{5EB7}\x{5EB8}\x{5EC1}\x{5EC2}' .
+'\x{5EC3}\x{5EC8}\x{5EC9}\x{5ECA}\x{5ECF}\x{5ED0}\x{5ED3}\x{5ED6}\x{5EDA}' .
+'\x{5EDB}\x{5EDD}\x{5EDF}\x{5EE0}\x{5EE1}\x{5EE2}\x{5EE3}\x{5EE8}\x{5EE9}' .
+'\x{5EEC}\x{5EF0}\x{5EF1}\x{5EF3}\x{5EF4}\x{5EF6}\x{5EF7}\x{5EF8}\x{5EFA}' .
+'\x{5EFB}\x{5EFC}\x{5EFE}\x{5EFF}\x{5F01}\x{5F03}\x{5F04}\x{5F09}\x{5F0A}' .
+'\x{5F0B}\x{5F0C}\x{5F0D}\x{5F0F}\x{5F10}\x{5F11}\x{5F13}\x{5F14}\x{5F15}' .
+'\x{5F16}\x{5F17}\x{5F18}\x{5F1B}\x{5F1F}\x{5F25}\x{5F26}\x{5F27}\x{5F29}' .
+'\x{5F2D}\x{5F2F}\x{5F31}\x{5F35}\x{5F37}\x{5F38}\x{5F3C}\x{5F3E}\x{5F41}' .
+'\x{5F48}\x{5F4A}\x{5F4C}\x{5F4E}\x{5F51}\x{5F53}\x{5F56}\x{5F57}\x{5F59}' .
+'\x{5F5C}\x{5F5D}\x{5F61}\x{5F62}\x{5F66}\x{5F69}\x{5F6A}\x{5F6B}\x{5F6C}' .
+'\x{5F6D}\x{5F70}\x{5F71}\x{5F73}\x{5F77}\x{5F79}\x{5F7C}\x{5F7F}\x{5F80}' .
+'\x{5F81}\x{5F82}\x{5F83}\x{5F84}\x{5F85}\x{5F87}\x{5F88}\x{5F8A}\x{5F8B}' .
+'\x{5F8C}\x{5F90}\x{5F91}\x{5F92}\x{5F93}\x{5F97}\x{5F98}\x{5F99}\x{5F9E}' .
+'\x{5FA0}\x{5FA1}\x{5FA8}\x{5FA9}\x{5FAA}\x{5FAD}\x{5FAE}\x{5FB3}\x{5FB4}' .
+'\x{5FB9}\x{5FBC}\x{5FBD}\x{5FC3}\x{5FC5}\x{5FCC}\x{5FCD}\x{5FD6}\x{5FD7}' .
+'\x{5FD8}\x{5FD9}\x{5FDC}\x{5FDD}\x{5FE0}\x{5FE4}\x{5FEB}\x{5FF0}\x{5FF1}' .
+'\x{5FF5}\x{5FF8}\x{5FFB}\x{5FFD}\x{5FFF}\x{600E}\x{600F}\x{6010}\x{6012}' .
+'\x{6015}\x{6016}\x{6019}\x{601B}\x{601C}\x{601D}\x{6020}\x{6021}\x{6025}' .
+'\x{6026}\x{6027}\x{6028}\x{6029}\x{602A}\x{602B}\x{602F}\x{6031}\x{603A}' .
+'\x{6041}\x{6042}\x{6043}\x{6046}\x{604A}\x{604B}\x{604D}\x{6050}\x{6052}' .
+'\x{6055}\x{6059}\x{605A}\x{605F}\x{6060}\x{6062}\x{6063}\x{6064}\x{6065}' .
+'\x{6068}\x{6069}\x{606A}\x{606B}\x{606C}\x{606D}\x{606F}\x{6070}\x{6075}' .
+'\x{6077}\x{6081}\x{6083}\x{6084}\x{6089}\x{608B}\x{608C}\x{608D}\x{6092}' .
+'\x{6094}\x{6096}\x{6097}\x{609A}\x{609B}\x{609F}\x{60A0}\x{60A3}\x{60A6}' .
+'\x{60A7}\x{60A9}\x{60AA}\x{60B2}\x{60B3}\x{60B4}\x{60B5}\x{60B6}\x{60B8}' .
+'\x{60BC}\x{60BD}\x{60C5}\x{60C6}\x{60C7}\x{60D1}\x{60D3}\x{60D8}\x{60DA}' .
+'\x{60DC}\x{60DF}\x{60E0}\x{60E1}\x{60E3}\x{60E7}\x{60E8}\x{60F0}\x{60F1}' .
+'\x{60F3}\x{60F4}\x{60F6}\x{60F7}\x{60F9}\x{60FA}\x{60FB}\x{6100}\x{6101}' .
+'\x{6103}\x{6106}\x{6108}\x{6109}\x{610D}\x{610E}\x{610F}\x{6115}\x{611A}' .
+'\x{611B}\x{611F}\x{6121}\x{6127}\x{6128}\x{612C}\x{6134}\x{613C}\x{613D}' .
+'\x{613E}\x{613F}\x{6142}\x{6144}\x{6147}\x{6148}\x{614A}\x{614B}\x{614C}' .
+'\x{614D}\x{614E}\x{6153}\x{6155}\x{6158}\x{6159}\x{615A}\x{615D}\x{615F}' .
+'\x{6162}\x{6163}\x{6165}\x{6167}\x{6168}\x{616B}\x{616E}\x{616F}\x{6170}' .
+'\x{6171}\x{6173}\x{6174}\x{6175}\x{6176}\x{6177}\x{617E}\x{6182}\x{6187}' .
+'\x{618A}\x{618E}\x{6190}\x{6191}\x{6194}\x{6196}\x{6199}\x{619A}\x{61A4}' .
+'\x{61A7}\x{61A9}\x{61AB}\x{61AC}\x{61AE}\x{61B2}\x{61B6}\x{61BA}\x{61BE}' .
+'\x{61C3}\x{61C6}\x{61C7}\x{61C8}\x{61C9}\x{61CA}\x{61CB}\x{61CC}\x{61CD}' .
+'\x{61D0}\x{61E3}\x{61E6}\x{61F2}\x{61F4}\x{61F6}\x{61F7}\x{61F8}\x{61FA}' .
+'\x{61FC}\x{61FD}\x{61FE}\x{61FF}\x{6200}\x{6208}\x{6209}\x{620A}\x{620C}' .
+'\x{620D}\x{620E}\x{6210}\x{6211}\x{6212}\x{6214}\x{6216}\x{621A}\x{621B}' .
+'\x{621D}\x{621E}\x{621F}\x{6221}\x{6226}\x{622A}\x{622E}\x{622F}\x{6230}' .
+'\x{6232}\x{6233}\x{6234}\x{6238}\x{623B}\x{623F}\x{6240}\x{6241}\x{6247}' .
+'\x{6248}\x{6249}\x{624B}\x{624D}\x{624E}\x{6253}\x{6255}\x{6258}\x{625B}' .
+'\x{625E}\x{6260}\x{6263}\x{6268}\x{626E}\x{6271}\x{6276}\x{6279}\x{627C}' .
+'\x{627E}\x{627F}\x{6280}\x{6282}\x{6283}\x{6284}\x{6289}\x{628A}\x{6291}' .
+'\x{6292}\x{6293}\x{6294}\x{6295}\x{6296}\x{6297}\x{6298}\x{629B}\x{629C}' .
+'\x{629E}\x{62AB}\x{62AC}\x{62B1}\x{62B5}\x{62B9}\x{62BB}\x{62BC}\x{62BD}' .
+'\x{62C2}\x{62C5}\x{62C6}\x{62C7}\x{62C8}\x{62C9}\x{62CA}\x{62CC}\x{62CD}' .
+'\x{62CF}\x{62D0}\x{62D1}\x{62D2}\x{62D3}\x{62D4}\x{62D7}\x{62D8}\x{62D9}' .
+'\x{62DB}\x{62DC}\x{62DD}\x{62E0}\x{62E1}\x{62EC}\x{62ED}\x{62EE}\x{62EF}' .
+'\x{62F1}\x{62F3}\x{62F5}\x{62F6}\x{62F7}\x{62FE}\x{62FF}\x{6301}\x{6302}' .
+'\x{6307}\x{6308}\x{6309}\x{630C}\x{6311}\x{6319}\x{631F}\x{6327}\x{6328}' .
+'\x{632B}\x{632F}\x{633A}\x{633D}\x{633E}\x{633F}\x{6349}\x{634C}\x{634D}' .
+'\x{634F}\x{6350}\x{6355}\x{6357}\x{635C}\x{6367}\x{6368}\x{6369}\x{636B}' .
+'\x{636E}\x{6372}\x{6376}\x{6377}\x{637A}\x{637B}\x{6380}\x{6383}\x{6388}' .
+'\x{6389}\x{638C}\x{638E}\x{638F}\x{6392}\x{6396}\x{6398}\x{639B}\x{639F}' .
+'\x{63A0}\x{63A1}\x{63A2}\x{63A3}\x{63A5}\x{63A7}\x{63A8}\x{63A9}\x{63AA}' .
+'\x{63AB}\x{63AC}\x{63B2}\x{63B4}\x{63B5}\x{63BB}\x{63BE}\x{63C0}\x{63C3}' .
+'\x{63C4}\x{63C6}\x{63C9}\x{63CF}\x{63D0}\x{63D2}\x{63D6}\x{63DA}\x{63DB}' .
+'\x{63E1}\x{63E3}\x{63E9}\x{63EE}\x{63F4}\x{63F6}\x{63FA}\x{6406}\x{640D}' .
+'\x{640F}\x{6413}\x{6416}\x{6417}\x{641C}\x{6426}\x{6428}\x{642C}\x{642D}' .
+'\x{6434}\x{6436}\x{643A}\x{643E}\x{6442}\x{644E}\x{6458}\x{6467}\x{6469}' .
+'\x{646F}\x{6476}\x{6478}\x{647A}\x{6483}\x{6488}\x{6492}\x{6493}\x{6495}' .
+'\x{649A}\x{649E}\x{64A4}\x{64A5}\x{64A9}\x{64AB}\x{64AD}\x{64AE}\x{64B0}' .
+'\x{64B2}\x{64B9}\x{64BB}\x{64BC}\x{64C1}\x{64C2}\x{64C5}\x{64C7}\x{64CD}' .
+'\x{64D2}\x{64D4}\x{64D8}\x{64DA}\x{64E0}\x{64E1}\x{64E2}\x{64E3}\x{64E6}' .
+'\x{64E7}\x{64EC}\x{64EF}\x{64F1}\x{64F2}\x{64F4}\x{64F6}\x{64FA}\x{64FD}' .
+'\x{64FE}\x{6500}\x{6505}\x{6518}\x{651C}\x{651D}\x{6523}\x{6524}\x{652A}' .
+'\x{652B}\x{652C}\x{652F}\x{6534}\x{6535}\x{6536}\x{6537}\x{6538}\x{6539}' .
+'\x{653B}\x{653E}\x{653F}\x{6545}\x{6548}\x{654D}\x{654F}\x{6551}\x{6555}' .
+'\x{6556}\x{6557}\x{6558}\x{6559}\x{655D}\x{655E}\x{6562}\x{6563}\x{6566}' .
+'\x{656C}\x{6570}\x{6572}\x{6574}\x{6575}\x{6577}\x{6578}\x{6582}\x{6583}' .
+'\x{6587}\x{6588}\x{6589}\x{658C}\x{658E}\x{6590}\x{6591}\x{6597}\x{6599}' .
+'\x{659B}\x{659C}\x{659F}\x{65A1}\x{65A4}\x{65A5}\x{65A7}\x{65AB}\x{65AC}' .
+'\x{65AD}\x{65AF}\x{65B0}\x{65B7}\x{65B9}\x{65BC}\x{65BD}\x{65C1}\x{65C3}' .
+'\x{65C4}\x{65C5}\x{65C6}\x{65CB}\x{65CC}\x{65CF}\x{65D2}\x{65D7}\x{65D9}' .
+'\x{65DB}\x{65E0}\x{65E1}\x{65E2}\x{65E5}\x{65E6}\x{65E7}\x{65E8}\x{65E9}' .
+'\x{65EC}\x{65ED}\x{65F1}\x{65FA}\x{65FB}\x{6602}\x{6603}\x{6606}\x{6607}' .
+'\x{660A}\x{660C}\x{660E}\x{660F}\x{6613}\x{6614}\x{661C}\x{661F}\x{6620}' .
+'\x{6625}\x{6627}\x{6628}\x{662D}\x{662F}\x{6634}\x{6635}\x{6636}\x{663C}' .
+'\x{663F}\x{6641}\x{6642}\x{6643}\x{6644}\x{6649}\x{664B}\x{664F}\x{6652}' .
+'\x{665D}\x{665E}\x{665F}\x{6662}\x{6664}\x{6666}\x{6667}\x{6668}\x{6669}' .
+'\x{666E}\x{666F}\x{6670}\x{6674}\x{6676}\x{667A}\x{6681}\x{6683}\x{6684}' .
+'\x{6687}\x{6688}\x{6689}\x{668E}\x{6691}\x{6696}\x{6697}\x{6698}\x{669D}' .
+'\x{66A2}\x{66A6}\x{66AB}\x{66AE}\x{66B4}\x{66B8}\x{66B9}\x{66BC}\x{66BE}' .
+'\x{66C1}\x{66C4}\x{66C7}\x{66C9}\x{66D6}\x{66D9}\x{66DA}\x{66DC}\x{66DD}' .
+'\x{66E0}\x{66E6}\x{66E9}\x{66F0}\x{66F2}\x{66F3}\x{66F4}\x{66F5}\x{66F7}' .
+'\x{66F8}\x{66F9}\x{66FC}\x{66FD}\x{66FE}\x{66FF}\x{6700}\x{6703}\x{6708}' .
+'\x{6709}\x{670B}\x{670D}\x{670F}\x{6714}\x{6715}\x{6716}\x{6717}\x{671B}' .
+'\x{671D}\x{671E}\x{671F}\x{6726}\x{6727}\x{6728}\x{672A}\x{672B}\x{672C}' .
+'\x{672D}\x{672E}\x{6731}\x{6734}\x{6736}\x{6737}\x{6738}\x{673A}\x{673D}' .
+'\x{673F}\x{6741}\x{6746}\x{6749}\x{674E}\x{674F}\x{6750}\x{6751}\x{6753}' .
+'\x{6756}\x{6759}\x{675C}\x{675E}\x{675F}\x{6760}\x{6761}\x{6762}\x{6763}' .
+'\x{6764}\x{6765}\x{676A}\x{676D}\x{676F}\x{6770}\x{6771}\x{6772}\x{6773}' .
+'\x{6775}\x{6777}\x{677C}\x{677E}\x{677F}\x{6785}\x{6787}\x{6789}\x{678B}' .
+'\x{678C}\x{6790}\x{6795}\x{6797}\x{679A}\x{679C}\x{679D}\x{67A0}\x{67A1}' .
+'\x{67A2}\x{67A6}\x{67A9}\x{67AF}\x{67B3}\x{67B4}\x{67B6}\x{67B7}\x{67B8}' .
+'\x{67B9}\x{67C1}\x{67C4}\x{67C6}\x{67CA}\x{67CE}\x{67CF}\x{67D0}\x{67D1}' .
+'\x{67D3}\x{67D4}\x{67D8}\x{67DA}\x{67DD}\x{67DE}\x{67E2}\x{67E4}\x{67E7}' .
+'\x{67E9}\x{67EC}\x{67EE}\x{67EF}\x{67F1}\x{67F3}\x{67F4}\x{67F5}\x{67FB}' .
+'\x{67FE}\x{67FF}\x{6802}\x{6803}\x{6804}\x{6813}\x{6816}\x{6817}\x{681E}' .
+'\x{6821}\x{6822}\x{6829}\x{682A}\x{682B}\x{6832}\x{6834}\x{6838}\x{6839}' .
+'\x{683C}\x{683D}\x{6840}\x{6841}\x{6842}\x{6843}\x{6846}\x{6848}\x{684D}' .
+'\x{684E}\x{6850}\x{6851}\x{6853}\x{6854}\x{6859}\x{685C}\x{685D}\x{685F}' .
+'\x{6863}\x{6867}\x{6874}\x{6876}\x{6877}\x{687E}\x{687F}\x{6881}\x{6883}' .
+'\x{6885}\x{688D}\x{688F}\x{6893}\x{6894}\x{6897}\x{689B}\x{689D}\x{689F}' .
+'\x{68A0}\x{68A2}\x{68A6}\x{68A7}\x{68A8}\x{68AD}\x{68AF}\x{68B0}\x{68B1}' .
+'\x{68B3}\x{68B5}\x{68B6}\x{68B9}\x{68BA}\x{68BC}\x{68C4}\x{68C6}\x{68C9}' .
+'\x{68CA}\x{68CB}\x{68CD}\x{68D2}\x{68D4}\x{68D5}\x{68D7}\x{68D8}\x{68DA}' .
+'\x{68DF}\x{68E0}\x{68E1}\x{68E3}\x{68E7}\x{68EE}\x{68EF}\x{68F2}\x{68F9}' .
+'\x{68FA}\x{6900}\x{6901}\x{6904}\x{6905}\x{6908}\x{690B}\x{690C}\x{690D}' .
+'\x{690E}\x{690F}\x{6912}\x{6919}\x{691A}\x{691B}\x{691C}\x{6921}\x{6922}' .
+'\x{6923}\x{6925}\x{6926}\x{6928}\x{692A}\x{6930}\x{6934}\x{6936}\x{6939}' .
+'\x{693D}\x{693F}\x{694A}\x{6953}\x{6954}\x{6955}\x{6959}\x{695A}\x{695C}' .
+'\x{695D}\x{695E}\x{6960}\x{6961}\x{6962}\x{696A}\x{696B}\x{696D}\x{696E}' .
+'\x{696F}\x{6973}\x{6974}\x{6975}\x{6977}\x{6978}\x{6979}\x{697C}\x{697D}' .
+'\x{697E}\x{6981}\x{6982}\x{698A}\x{698E}\x{6991}\x{6994}\x{6995}\x{699B}' .
+'\x{699C}\x{69A0}\x{69A7}\x{69AE}\x{69B1}\x{69B2}\x{69B4}\x{69BB}\x{69BE}' .
+'\x{69BF}\x{69C1}\x{69C3}\x{69C7}\x{69CA}\x{69CB}\x{69CC}\x{69CD}\x{69CE}' .
+'\x{69D0}\x{69D3}\x{69D8}\x{69D9}\x{69DD}\x{69DE}\x{69E7}\x{69E8}\x{69EB}' .
+'\x{69ED}\x{69F2}\x{69F9}\x{69FB}\x{69FD}\x{69FF}\x{6A02}\x{6A05}\x{6A0A}' .
+'\x{6A0B}\x{6A0C}\x{6A12}\x{6A13}\x{6A14}\x{6A17}\x{6A19}\x{6A1B}\x{6A1E}' .
+'\x{6A1F}\x{6A21}\x{6A22}\x{6A23}\x{6A29}\x{6A2A}\x{6A2B}\x{6A2E}\x{6A35}' .
+'\x{6A36}\x{6A38}\x{6A39}\x{6A3A}\x{6A3D}\x{6A44}\x{6A47}\x{6A48}\x{6A4B}' .
+'\x{6A58}\x{6A59}\x{6A5F}\x{6A61}\x{6A62}\x{6A66}\x{6A72}\x{6A78}\x{6A7F}' .
+'\x{6A80}\x{6A84}\x{6A8D}\x{6A8E}\x{6A90}\x{6A97}\x{6A9C}\x{6AA0}\x{6AA2}' .
+'\x{6AA3}\x{6AAA}\x{6AAC}\x{6AAE}\x{6AB3}\x{6AB8}\x{6ABB}\x{6AC1}\x{6AC2}' .
+'\x{6AC3}\x{6AD1}\x{6AD3}\x{6ADA}\x{6ADB}\x{6ADE}\x{6ADF}\x{6AE8}\x{6AEA}' .
+'\x{6AFA}\x{6AFB}\x{6B04}\x{6B05}\x{6B0A}\x{6B12}\x{6B16}\x{6B1D}\x{6B1F}' .
+'\x{6B20}\x{6B21}\x{6B23}\x{6B27}\x{6B32}\x{6B37}\x{6B38}\x{6B39}\x{6B3A}' .
+'\x{6B3D}\x{6B3E}\x{6B43}\x{6B47}\x{6B49}\x{6B4C}\x{6B4E}\x{6B50}\x{6B53}' .
+'\x{6B54}\x{6B59}\x{6B5B}\x{6B5F}\x{6B61}\x{6B62}\x{6B63}\x{6B64}\x{6B66}' .
+'\x{6B69}\x{6B6A}\x{6B6F}\x{6B73}\x{6B74}\x{6B78}\x{6B79}\x{6B7B}\x{6B7F}' .
+'\x{6B80}\x{6B83}\x{6B84}\x{6B86}\x{6B89}\x{6B8A}\x{6B8B}\x{6B8D}\x{6B95}' .
+'\x{6B96}\x{6B98}\x{6B9E}\x{6BA4}\x{6BAA}\x{6BAB}\x{6BAF}\x{6BB1}\x{6BB2}' .
+'\x{6BB3}\x{6BB4}\x{6BB5}\x{6BB7}\x{6BBA}\x{6BBB}\x{6BBC}\x{6BBF}\x{6BC0}' .
+'\x{6BC5}\x{6BC6}\x{6BCB}\x{6BCD}\x{6BCE}\x{6BD2}\x{6BD3}\x{6BD4}\x{6BD8}' .
+'\x{6BDB}\x{6BDF}\x{6BEB}\x{6BEC}\x{6BEF}\x{6BF3}\x{6C08}\x{6C0F}\x{6C11}' .
+'\x{6C13}\x{6C14}\x{6C17}\x{6C1B}\x{6C23}\x{6C24}\x{6C34}\x{6C37}\x{6C38}' .
+'\x{6C3E}\x{6C40}\x{6C41}\x{6C42}\x{6C4E}\x{6C50}\x{6C55}\x{6C57}\x{6C5A}' .
+'\x{6C5D}\x{6C5E}\x{6C5F}\x{6C60}\x{6C62}\x{6C68}\x{6C6A}\x{6C70}\x{6C72}' .
+'\x{6C73}\x{6C7A}\x{6C7D}\x{6C7E}\x{6C81}\x{6C82}\x{6C83}\x{6C88}\x{6C8C}' .
+'\x{6C8D}\x{6C90}\x{6C92}\x{6C93}\x{6C96}\x{6C99}\x{6C9A}\x{6C9B}\x{6CA1}' .
+'\x{6CA2}\x{6CAB}\x{6CAE}\x{6CB1}\x{6CB3}\x{6CB8}\x{6CB9}\x{6CBA}\x{6CBB}' .
+'\x{6CBC}\x{6CBD}\x{6CBE}\x{6CBF}\x{6CC1}\x{6CC4}\x{6CC5}\x{6CC9}\x{6CCA}' .
+'\x{6CCC}\x{6CD3}\x{6CD5}\x{6CD7}\x{6CD9}\x{6CDB}\x{6CDD}\x{6CE1}\x{6CE2}' .
+'\x{6CE3}\x{6CE5}\x{6CE8}\x{6CEA}\x{6CEF}\x{6CF0}\x{6CF1}\x{6CF3}\x{6D0B}' .
+'\x{6D0C}\x{6D12}\x{6D17}\x{6D19}\x{6D1B}\x{6D1E}\x{6D1F}\x{6D25}\x{6D29}' .
+'\x{6D2A}\x{6D2B}\x{6D32}\x{6D33}\x{6D35}\x{6D36}\x{6D38}\x{6D3B}\x{6D3D}' .
+'\x{6D3E}\x{6D41}\x{6D44}\x{6D45}\x{6D59}\x{6D5A}\x{6D5C}\x{6D63}\x{6D64}' .
+'\x{6D66}\x{6D69}\x{6D6A}\x{6D6C}\x{6D6E}\x{6D74}\x{6D77}\x{6D78}\x{6D79}' .
+'\x{6D85}\x{6D88}\x{6D8C}\x{6D8E}\x{6D93}\x{6D95}\x{6D99}\x{6D9B}\x{6D9C}' .
+'\x{6DAF}\x{6DB2}\x{6DB5}\x{6DB8}\x{6DBC}\x{6DC0}\x{6DC5}\x{6DC6}\x{6DC7}' .
+'\x{6DCB}\x{6DCC}\x{6DD1}\x{6DD2}\x{6DD5}\x{6DD8}\x{6DD9}\x{6DDE}\x{6DE1}' .
+'\x{6DE4}\x{6DE6}\x{6DE8}\x{6DEA}\x{6DEB}\x{6DEC}\x{6DEE}\x{6DF1}\x{6DF3}' .
+'\x{6DF5}\x{6DF7}\x{6DF9}\x{6DFA}\x{6DFB}\x{6E05}\x{6E07}\x{6E08}\x{6E09}' .
+'\x{6E0A}\x{6E0B}\x{6E13}\x{6E15}\x{6E19}\x{6E1A}\x{6E1B}\x{6E1D}\x{6E1F}' .
+'\x{6E20}\x{6E21}\x{6E23}\x{6E24}\x{6E25}\x{6E26}\x{6E29}\x{6E2B}\x{6E2C}' .
+'\x{6E2D}\x{6E2E}\x{6E2F}\x{6E38}\x{6E3A}\x{6E3E}\x{6E43}\x{6E4A}\x{6E4D}' .
+'\x{6E4E}\x{6E56}\x{6E58}\x{6E5B}\x{6E5F}\x{6E67}\x{6E6B}\x{6E6E}\x{6E6F}' .
+'\x{6E72}\x{6E76}\x{6E7E}\x{6E7F}\x{6E80}\x{6E82}\x{6E8C}\x{6E8F}\x{6E90}' .
+'\x{6E96}\x{6E98}\x{6E9C}\x{6E9D}\x{6E9F}\x{6EA2}\x{6EA5}\x{6EAA}\x{6EAF}' .
+'\x{6EB2}\x{6EB6}\x{6EB7}\x{6EBA}\x{6EBD}\x{6EC2}\x{6EC4}\x{6EC5}\x{6EC9}' .
+'\x{6ECB}\x{6ECC}\x{6ED1}\x{6ED3}\x{6ED4}\x{6ED5}\x{6EDD}\x{6EDE}\x{6EEC}' .
+'\x{6EEF}\x{6EF2}\x{6EF4}\x{6EF7}\x{6EF8}\x{6EFE}\x{6EFF}\x{6F01}\x{6F02}' .
+'\x{6F06}\x{6F09}\x{6F0F}\x{6F11}\x{6F13}\x{6F14}\x{6F15}\x{6F20}\x{6F22}' .
+'\x{6F23}\x{6F2B}\x{6F2C}\x{6F31}\x{6F32}\x{6F38}\x{6F3E}\x{6F3F}\x{6F41}' .
+'\x{6F45}\x{6F54}\x{6F58}\x{6F5B}\x{6F5C}\x{6F5F}\x{6F64}\x{6F66}\x{6F6D}' .
+'\x{6F6E}\x{6F6F}\x{6F70}\x{6F74}\x{6F78}\x{6F7A}\x{6F7C}\x{6F80}\x{6F81}' .
+'\x{6F82}\x{6F84}\x{6F86}\x{6F8E}\x{6F91}\x{6F97}\x{6FA1}\x{6FA3}\x{6FA4}' .
+'\x{6FAA}\x{6FB1}\x{6FB3}\x{6FB9}\x{6FC0}\x{6FC1}\x{6FC2}\x{6FC3}\x{6FC6}' .
+'\x{6FD4}\x{6FD5}\x{6FD8}\x{6FDB}\x{6FDF}\x{6FE0}\x{6FE1}\x{6FE4}\x{6FEB}' .
+'\x{6FEC}\x{6FEE}\x{6FEF}\x{6FF1}\x{6FF3}\x{6FF6}\x{6FFA}\x{6FFE}\x{7001}' .
+'\x{7009}\x{700B}\x{700F}\x{7011}\x{7015}\x{7018}\x{701A}\x{701B}\x{701D}' .
+'\x{701E}\x{701F}\x{7026}\x{7027}\x{702C}\x{7030}\x{7032}\x{703E}\x{704C}' .
+'\x{7051}\x{7058}\x{7063}\x{706B}\x{706F}\x{7070}\x{7078}\x{707C}\x{707D}' .
+'\x{7089}\x{708A}\x{708E}\x{7092}\x{7099}\x{70AC}\x{70AD}\x{70AE}\x{70AF}' .
+'\x{70B3}\x{70B8}\x{70B9}\x{70BA}\x{70C8}\x{70CB}\x{70CF}\x{70D9}\x{70DD}' .
+'\x{70DF}\x{70F1}\x{70F9}\x{70FD}\x{7109}\x{7114}\x{7119}\x{711A}\x{711C}' .
+'\x{7121}\x{7126}\x{7136}\x{713C}\x{7149}\x{714C}\x{714E}\x{7155}\x{7156}' .
+'\x{7159}\x{7162}\x{7164}\x{7165}\x{7166}\x{7167}\x{7169}\x{716C}\x{716E}' .
+'\x{717D}\x{7184}\x{7188}\x{718A}\x{718F}\x{7194}\x{7195}\x{7199}\x{719F}' .
+'\x{71A8}\x{71AC}\x{71B1}\x{71B9}\x{71BE}\x{71C3}\x{71C8}\x{71C9}\x{71CE}' .
+'\x{71D0}\x{71D2}\x{71D4}\x{71D5}\x{71D7}\x{71DF}\x{71E0}\x{71E5}\x{71E6}' .
+'\x{71E7}\x{71EC}\x{71ED}\x{71EE}\x{71F5}\x{71F9}\x{71FB}\x{71FC}\x{71FF}' .
+'\x{7206}\x{720D}\x{7210}\x{721B}\x{7228}\x{722A}\x{722C}\x{722D}\x{7230}' .
+'\x{7232}\x{7235}\x{7236}\x{723A}\x{723B}\x{723C}\x{723D}\x{723E}\x{723F}' .
+'\x{7240}\x{7246}\x{7247}\x{7248}\x{724B}\x{724C}\x{7252}\x{7258}\x{7259}' .
+'\x{725B}\x{725D}\x{725F}\x{7261}\x{7262}\x{7267}\x{7269}\x{7272}\x{7274}' .
+'\x{7279}\x{727D}\x{727E}\x{7280}\x{7281}\x{7282}\x{7287}\x{7292}\x{7296}' .
+'\x{72A0}\x{72A2}\x{72A7}\x{72AC}\x{72AF}\x{72B2}\x{72B6}\x{72B9}\x{72C2}' .
+'\x{72C3}\x{72C4}\x{72C6}\x{72CE}\x{72D0}\x{72D2}\x{72D7}\x{72D9}\x{72DB}' .
+'\x{72E0}\x{72E1}\x{72E2}\x{72E9}\x{72EC}\x{72ED}\x{72F7}\x{72F8}\x{72F9}' .
+'\x{72FC}\x{72FD}\x{730A}\x{7316}\x{7317}\x{731B}\x{731C}\x{731D}\x{731F}' .
+'\x{7325}\x{7329}\x{732A}\x{732B}\x{732E}\x{732F}\x{7334}\x{7336}\x{7337}' .
+'\x{733E}\x{733F}\x{7344}\x{7345}\x{734E}\x{734F}\x{7357}\x{7363}\x{7368}' .
+'\x{736A}\x{7370}\x{7372}\x{7375}\x{7378}\x{737A}\x{737B}\x{7384}\x{7387}' .
+'\x{7389}\x{738B}\x{7396}\x{73A9}\x{73B2}\x{73B3}\x{73BB}\x{73C0}\x{73C2}' .
+'\x{73C8}\x{73CA}\x{73CD}\x{73CE}\x{73DE}\x{73E0}\x{73E5}\x{73EA}\x{73ED}' .
+'\x{73EE}\x{73F1}\x{73F8}\x{73FE}\x{7403}\x{7405}\x{7406}\x{7409}\x{7422}' .
+'\x{7425}\x{7432}\x{7433}\x{7434}\x{7435}\x{7436}\x{743A}\x{743F}\x{7441}' .
+'\x{7455}\x{7459}\x{745A}\x{745B}\x{745C}\x{745E}\x{745F}\x{7460}\x{7463}' .
+'\x{7464}\x{7469}\x{746A}\x{746F}\x{7470}\x{7473}\x{7476}\x{747E}\x{7483}' .
+'\x{748B}\x{749E}\x{74A2}\x{74A7}\x{74B0}\x{74BD}\x{74CA}\x{74CF}\x{74D4}' .
+'\x{74DC}\x{74E0}\x{74E2}\x{74E3}\x{74E6}\x{74E7}\x{74E9}\x{74EE}\x{74F0}' .
+'\x{74F1}\x{74F2}\x{74F6}\x{74F7}\x{74F8}\x{7503}\x{7504}\x{7505}\x{750C}' .
+'\x{750D}\x{750E}\x{7511}\x{7513}\x{7515}\x{7518}\x{751A}\x{751C}\x{751E}' .
+'\x{751F}\x{7523}\x{7525}\x{7526}\x{7528}\x{752B}\x{752C}\x{7530}\x{7531}' .
+'\x{7532}\x{7533}\x{7537}\x{7538}\x{753A}\x{753B}\x{753C}\x{7544}\x{7546}' .
+'\x{7549}\x{754A}\x{754B}\x{754C}\x{754D}\x{754F}\x{7551}\x{7554}\x{7559}' .
+'\x{755A}\x{755B}\x{755C}\x{755D}\x{7560}\x{7562}\x{7564}\x{7565}\x{7566}' .
+'\x{7567}\x{7569}\x{756A}\x{756B}\x{756D}\x{7570}\x{7573}\x{7574}\x{7576}' .
+'\x{7577}\x{7578}\x{757F}\x{7582}\x{7586}\x{7587}\x{7589}\x{758A}\x{758B}' .
+'\x{758E}\x{758F}\x{7591}\x{7594}\x{759A}\x{759D}\x{75A3}\x{75A5}\x{75AB}' .
+'\x{75B1}\x{75B2}\x{75B3}\x{75B5}\x{75B8}\x{75B9}\x{75BC}\x{75BD}\x{75BE}' .
+'\x{75C2}\x{75C3}\x{75C5}\x{75C7}\x{75CA}\x{75CD}\x{75D2}\x{75D4}\x{75D5}' .
+'\x{75D8}\x{75D9}\x{75DB}\x{75DE}\x{75E2}\x{75E3}\x{75E9}\x{75F0}\x{75F2}' .
+'\x{75F3}\x{75F4}\x{75FA}\x{75FC}\x{75FE}\x{75FF}\x{7601}\x{7609}\x{760B}' .
+'\x{760D}\x{761F}\x{7620}\x{7621}\x{7622}\x{7624}\x{7627}\x{7630}\x{7634}' .
+'\x{763B}\x{7642}\x{7646}\x{7647}\x{7648}\x{764C}\x{7652}\x{7656}\x{7658}' .
+'\x{765C}\x{7661}\x{7662}\x{7667}\x{7668}\x{7669}\x{766A}\x{766C}\x{7670}' .
+'\x{7672}\x{7676}\x{7678}\x{767A}\x{767B}\x{767C}\x{767D}\x{767E}\x{7680}' .
+'\x{7683}\x{7684}\x{7686}\x{7687}\x{7688}\x{768B}\x{768E}\x{7690}\x{7693}' .
+'\x{7696}\x{7699}\x{769A}\x{76AE}\x{76B0}\x{76B4}\x{76B7}\x{76B8}\x{76B9}' .
+'\x{76BA}\x{76BF}\x{76C2}\x{76C3}\x{76C6}\x{76C8}\x{76CA}\x{76CD}\x{76D2}' .
+'\x{76D6}\x{76D7}\x{76DB}\x{76DC}\x{76DE}\x{76DF}\x{76E1}\x{76E3}\x{76E4}' .
+'\x{76E5}\x{76E7}\x{76EA}\x{76EE}\x{76F2}\x{76F4}\x{76F8}\x{76FB}\x{76FE}' .
+'\x{7701}\x{7704}\x{7707}\x{7708}\x{7709}\x{770B}\x{770C}\x{771B}\x{771E}' .
+'\x{771F}\x{7720}\x{7724}\x{7725}\x{7726}\x{7729}\x{7737}\x{7738}\x{773A}' .
+'\x{773C}\x{7740}\x{7747}\x{775A}\x{775B}\x{7761}\x{7763}\x{7765}\x{7766}' .
+'\x{7768}\x{776B}\x{7779}\x{777E}\x{777F}\x{778B}\x{778E}\x{7791}\x{779E}' .
+'\x{77A0}\x{77A5}\x{77AC}\x{77AD}\x{77B0}\x{77B3}\x{77B6}\x{77B9}\x{77BB}' .
+'\x{77BC}\x{77BD}\x{77BF}\x{77C7}\x{77CD}\x{77D7}\x{77DA}\x{77DB}\x{77DC}' .
+'\x{77E2}\x{77E3}\x{77E5}\x{77E7}\x{77E9}\x{77ED}\x{77EE}\x{77EF}\x{77F3}' .
+'\x{77FC}\x{7802}\x{780C}\x{7812}\x{7814}\x{7815}\x{7820}\x{7825}\x{7826}' .
+'\x{7827}\x{7832}\x{7834}\x{783A}\x{783F}\x{7845}\x{785D}\x{786B}\x{786C}' .
+'\x{786F}\x{7872}\x{7874}\x{787C}\x{7881}\x{7886}\x{7887}\x{788C}\x{788D}' .
+'\x{788E}\x{7891}\x{7893}\x{7895}\x{7897}\x{789A}\x{78A3}\x{78A7}\x{78A9}' .
+'\x{78AA}\x{78AF}\x{78B5}\x{78BA}\x{78BC}\x{78BE}\x{78C1}\x{78C5}\x{78C6}' .
+'\x{78CA}\x{78CB}\x{78D0}\x{78D1}\x{78D4}\x{78DA}\x{78E7}\x{78E8}\x{78EC}' .
+'\x{78EF}\x{78F4}\x{78FD}\x{7901}\x{7907}\x{790E}\x{7911}\x{7912}\x{7919}' .
+'\x{7926}\x{792A}\x{792B}\x{792C}\x{793A}\x{793C}\x{793E}\x{7940}\x{7941}' .
+'\x{7947}\x{7948}\x{7949}\x{7950}\x{7953}\x{7955}\x{7956}\x{7957}\x{795A}' .
+'\x{795D}\x{795E}\x{795F}\x{7960}\x{7962}\x{7965}\x{7968}\x{796D}\x{7977}' .
+'\x{797A}\x{797F}\x{7980}\x{7981}\x{7984}\x{7985}\x{798A}\x{798D}\x{798E}' .
+'\x{798F}\x{799D}\x{79A6}\x{79A7}\x{79AA}\x{79AE}\x{79B0}\x{79B3}\x{79B9}' .
+'\x{79BA}\x{79BD}\x{79BE}\x{79BF}\x{79C0}\x{79C1}\x{79C9}\x{79CB}\x{79D1}' .
+'\x{79D2}\x{79D5}\x{79D8}\x{79DF}\x{79E1}\x{79E3}\x{79E4}\x{79E6}\x{79E7}' .
+'\x{79E9}\x{79EC}\x{79F0}\x{79FB}\x{7A00}\x{7A08}\x{7A0B}\x{7A0D}\x{7A0E}' .
+'\x{7A14}\x{7A17}\x{7A18}\x{7A19}\x{7A1A}\x{7A1C}\x{7A1F}\x{7A20}\x{7A2E}' .
+'\x{7A31}\x{7A32}\x{7A37}\x{7A3B}\x{7A3C}\x{7A3D}\x{7A3E}\x{7A3F}\x{7A40}' .
+'\x{7A42}\x{7A43}\x{7A46}\x{7A49}\x{7A4D}\x{7A4E}\x{7A4F}\x{7A50}\x{7A57}' .
+'\x{7A61}\x{7A62}\x{7A63}\x{7A69}\x{7A6B}\x{7A70}\x{7A74}\x{7A76}\x{7A79}' .
+'\x{7A7A}\x{7A7D}\x{7A7F}\x{7A81}\x{7A83}\x{7A84}\x{7A88}\x{7A92}\x{7A93}' .
+'\x{7A95}\x{7A96}\x{7A97}\x{7A98}\x{7A9F}\x{7AA9}\x{7AAA}\x{7AAE}\x{7AAF}' .
+'\x{7AB0}\x{7AB6}\x{7ABA}\x{7ABF}\x{7AC3}\x{7AC4}\x{7AC5}\x{7AC7}\x{7AC8}' .
+'\x{7ACA}\x{7ACB}\x{7ACD}\x{7ACF}\x{7AD2}\x{7AD3}\x{7AD5}\x{7AD9}\x{7ADA}' .
+'\x{7ADC}\x{7ADD}\x{7ADF}\x{7AE0}\x{7AE1}\x{7AE2}\x{7AE3}\x{7AE5}\x{7AE6}' .
+'\x{7AEA}\x{7AED}\x{7AEF}\x{7AF0}\x{7AF6}\x{7AF8}\x{7AF9}\x{7AFA}\x{7AFF}' .
+'\x{7B02}\x{7B04}\x{7B06}\x{7B08}\x{7B0A}\x{7B0B}\x{7B0F}\x{7B11}\x{7B18}' .
+'\x{7B19}\x{7B1B}\x{7B1E}\x{7B20}\x{7B25}\x{7B26}\x{7B28}\x{7B2C}\x{7B33}' .
+'\x{7B35}\x{7B36}\x{7B39}\x{7B45}\x{7B46}\x{7B48}\x{7B49}\x{7B4B}\x{7B4C}' .
+'\x{7B4D}\x{7B4F}\x{7B50}\x{7B51}\x{7B52}\x{7B54}\x{7B56}\x{7B5D}\x{7B65}' .
+'\x{7B67}\x{7B6C}\x{7B6E}\x{7B70}\x{7B71}\x{7B74}\x{7B75}\x{7B7A}\x{7B86}' .
+'\x{7B87}\x{7B8B}\x{7B8D}\x{7B8F}\x{7B92}\x{7B94}\x{7B95}\x{7B97}\x{7B98}' .
+'\x{7B99}\x{7B9A}\x{7B9C}\x{7B9D}\x{7B9F}\x{7BA1}\x{7BAA}\x{7BAD}\x{7BB1}' .
+'\x{7BB4}\x{7BB8}\x{7BC0}\x{7BC1}\x{7BC4}\x{7BC6}\x{7BC7}\x{7BC9}\x{7BCB}' .
+'\x{7BCC}\x{7BCF}\x{7BDD}\x{7BE0}\x{7BE4}\x{7BE5}\x{7BE6}\x{7BE9}\x{7BED}' .
+'\x{7BF3}\x{7BF6}\x{7BF7}\x{7C00}\x{7C07}\x{7C0D}\x{7C11}\x{7C12}\x{7C13}' .
+'\x{7C14}\x{7C17}\x{7C1F}\x{7C21}\x{7C23}\x{7C27}\x{7C2A}\x{7C2B}\x{7C37}' .
+'\x{7C38}\x{7C3D}\x{7C3E}\x{7C3F}\x{7C40}\x{7C43}\x{7C4C}\x{7C4D}\x{7C4F}' .
+'\x{7C50}\x{7C54}\x{7C56}\x{7C58}\x{7C5F}\x{7C60}\x{7C64}\x{7C65}\x{7C6C}' .
+'\x{7C73}\x{7C75}\x{7C7E}\x{7C81}\x{7C82}\x{7C83}\x{7C89}\x{7C8B}\x{7C8D}' .
+'\x{7C90}\x{7C92}\x{7C95}\x{7C97}\x{7C98}\x{7C9B}\x{7C9F}\x{7CA1}\x{7CA2}' .
+'\x{7CA4}\x{7CA5}\x{7CA7}\x{7CA8}\x{7CAB}\x{7CAD}\x{7CAE}\x{7CB1}\x{7CB2}' .
+'\x{7CB3}\x{7CB9}\x{7CBD}\x{7CBE}\x{7CC0}\x{7CC2}\x{7CC5}\x{7CCA}\x{7CCE}' .
+'\x{7CD2}\x{7CD6}\x{7CD8}\x{7CDC}\x{7CDE}\x{7CDF}\x{7CE0}\x{7CE2}\x{7CE7}' .
+'\x{7CEF}\x{7CF2}\x{7CF4}\x{7CF6}\x{7CF8}\x{7CFA}\x{7CFB}\x{7CFE}\x{7D00}' .
+'\x{7D02}\x{7D04}\x{7D05}\x{7D06}\x{7D0A}\x{7D0B}\x{7D0D}\x{7D10}\x{7D14}' .
+'\x{7D15}\x{7D17}\x{7D18}\x{7D19}\x{7D1A}\x{7D1B}\x{7D1C}\x{7D20}\x{7D21}' .
+'\x{7D22}\x{7D2B}\x{7D2C}\x{7D2E}\x{7D2F}\x{7D30}\x{7D32}\x{7D33}\x{7D35}' .
+'\x{7D39}\x{7D3A}\x{7D3F}\x{7D42}\x{7D43}\x{7D44}\x{7D45}\x{7D46}\x{7D4B}' .
+'\x{7D4C}\x{7D4E}\x{7D4F}\x{7D50}\x{7D56}\x{7D5B}\x{7D5E}\x{7D61}\x{7D62}' .
+'\x{7D63}\x{7D66}\x{7D68}\x{7D6E}\x{7D71}\x{7D72}\x{7D73}\x{7D75}\x{7D76}' .
+'\x{7D79}\x{7D7D}\x{7D89}\x{7D8F}\x{7D93}\x{7D99}\x{7D9A}\x{7D9B}\x{7D9C}' .
+'\x{7D9F}\x{7DA2}\x{7DA3}\x{7DAB}\x{7DAC}\x{7DAD}\x{7DAE}\x{7DAF}\x{7DB0}' .
+'\x{7DB1}\x{7DB2}\x{7DB4}\x{7DB5}\x{7DB8}\x{7DBA}\x{7DBB}\x{7DBD}\x{7DBE}' .
+'\x{7DBF}\x{7DC7}\x{7DCA}\x{7DCB}\x{7DCF}\x{7DD1}\x{7DD2}\x{7DD5}\x{7DD8}' .
+'\x{7DDA}\x{7DDC}\x{7DDD}\x{7DDE}\x{7DE0}\x{7DE1}\x{7DE4}\x{7DE8}\x{7DE9}' .
+'\x{7DEC}\x{7DEF}\x{7DF2}\x{7DF4}\x{7DFB}\x{7E01}\x{7E04}\x{7E05}\x{7E09}' .
+'\x{7E0A}\x{7E0B}\x{7E12}\x{7E1B}\x{7E1E}\x{7E1F}\x{7E21}\x{7E22}\x{7E23}' .
+'\x{7E26}\x{7E2B}\x{7E2E}\x{7E31}\x{7E32}\x{7E35}\x{7E37}\x{7E39}\x{7E3A}' .
+'\x{7E3B}\x{7E3D}\x{7E3E}\x{7E41}\x{7E43}\x{7E46}\x{7E4A}\x{7E4B}\x{7E4D}' .
+'\x{7E54}\x{7E55}\x{7E56}\x{7E59}\x{7E5A}\x{7E5D}\x{7E5E}\x{7E66}\x{7E67}' .
+'\x{7E69}\x{7E6A}\x{7E6D}\x{7E70}\x{7E79}\x{7E7B}\x{7E7C}\x{7E7D}\x{7E7F}' .
+'\x{7E82}\x{7E83}\x{7E88}\x{7E89}\x{7E8C}\x{7E8E}\x{7E8F}\x{7E90}\x{7E92}' .
+'\x{7E93}\x{7E94}\x{7E96}\x{7E9B}\x{7E9C}\x{7F36}\x{7F38}\x{7F3A}\x{7F45}' .
+'\x{7F4C}\x{7F4D}\x{7F4E}\x{7F50}\x{7F51}\x{7F54}\x{7F55}\x{7F58}\x{7F5F}' .
+'\x{7F60}\x{7F67}\x{7F68}\x{7F69}\x{7F6A}\x{7F6B}\x{7F6E}\x{7F70}\x{7F72}' .
+'\x{7F75}\x{7F77}\x{7F78}\x{7F79}\x{7F82}\x{7F83}\x{7F85}\x{7F86}\x{7F87}' .
+'\x{7F88}\x{7F8A}\x{7F8C}\x{7F8E}\x{7F94}\x{7F9A}\x{7F9D}\x{7F9E}\x{7FA3}' .
+'\x{7FA4}\x{7FA8}\x{7FA9}\x{7FAE}\x{7FAF}\x{7FB2}\x{7FB6}\x{7FB8}\x{7FB9}' .
+'\x{7FBD}\x{7FC1}\x{7FC5}\x{7FC6}\x{7FCA}\x{7FCC}\x{7FD2}\x{7FD4}\x{7FD5}' .
+'\x{7FE0}\x{7FE1}\x{7FE6}\x{7FE9}\x{7FEB}\x{7FF0}\x{7FF3}\x{7FF9}\x{7FFB}' .
+'\x{7FFC}\x{8000}\x{8001}\x{8003}\x{8004}\x{8005}\x{8006}\x{800B}\x{800C}' .
+'\x{8010}\x{8012}\x{8015}\x{8017}\x{8018}\x{8019}\x{801C}\x{8021}\x{8028}' .
+'\x{8033}\x{8036}\x{803B}\x{803D}\x{803F}\x{8046}\x{804A}\x{8052}\x{8056}' .
+'\x{8058}\x{805A}\x{805E}\x{805F}\x{8061}\x{8062}\x{8068}\x{806F}\x{8070}' .
+'\x{8072}\x{8073}\x{8074}\x{8076}\x{8077}\x{8079}\x{807D}\x{807E}\x{807F}' .
+'\x{8084}\x{8085}\x{8086}\x{8087}\x{8089}\x{808B}\x{808C}\x{8093}\x{8096}' .
+'\x{8098}\x{809A}\x{809B}\x{809D}\x{80A1}\x{80A2}\x{80A5}\x{80A9}\x{80AA}' .
+'\x{80AC}\x{80AD}\x{80AF}\x{80B1}\x{80B2}\x{80B4}\x{80BA}\x{80C3}\x{80C4}' .
+'\x{80C6}\x{80CC}\x{80CE}\x{80D6}\x{80D9}\x{80DA}\x{80DB}\x{80DD}\x{80DE}' .
+'\x{80E1}\x{80E4}\x{80E5}\x{80EF}\x{80F1}\x{80F4}\x{80F8}\x{80FC}\x{80FD}' .
+'\x{8102}\x{8105}\x{8106}\x{8107}\x{8108}\x{8109}\x{810A}\x{811A}\x{811B}' .
+'\x{8123}\x{8129}\x{812F}\x{8131}\x{8133}\x{8139}\x{813E}\x{8146}\x{814B}' .
+'\x{814E}\x{8150}\x{8151}\x{8153}\x{8154}\x{8155}\x{815F}\x{8165}\x{8166}' .
+'\x{816B}\x{816E}\x{8170}\x{8171}\x{8174}\x{8178}\x{8179}\x{817A}\x{817F}' .
+'\x{8180}\x{8182}\x{8183}\x{8188}\x{818A}\x{818F}\x{8193}\x{8195}\x{819A}' .
+'\x{819C}\x{819D}\x{81A0}\x{81A3}\x{81A4}\x{81A8}\x{81A9}\x{81B0}\x{81B3}' .
+'\x{81B5}\x{81B8}\x{81BA}\x{81BD}\x{81BE}\x{81BF}\x{81C0}\x{81C2}\x{81C6}' .
+'\x{81C8}\x{81C9}\x{81CD}\x{81D1}\x{81D3}\x{81D8}\x{81D9}\x{81DA}\x{81DF}' .
+'\x{81E0}\x{81E3}\x{81E5}\x{81E7}\x{81E8}\x{81EA}\x{81ED}\x{81F3}\x{81F4}' .
+'\x{81FA}\x{81FB}\x{81FC}\x{81FE}\x{8201}\x{8202}\x{8205}\x{8207}\x{8208}' .
+'\x{8209}\x{820A}\x{820C}\x{820D}\x{820E}\x{8210}\x{8212}\x{8216}\x{8217}' .
+'\x{8218}\x{821B}\x{821C}\x{821E}\x{821F}\x{8229}\x{822A}\x{822B}\x{822C}' .
+'\x{822E}\x{8233}\x{8235}\x{8236}\x{8237}\x{8238}\x{8239}\x{8240}\x{8247}' .
+'\x{8258}\x{8259}\x{825A}\x{825D}\x{825F}\x{8262}\x{8264}\x{8266}\x{8268}' .
+'\x{826A}\x{826B}\x{826E}\x{826F}\x{8271}\x{8272}\x{8276}\x{8277}\x{8278}' .
+'\x{827E}\x{828B}\x{828D}\x{8292}\x{8299}\x{829D}\x{829F}\x{82A5}\x{82A6}' .
+'\x{82AB}\x{82AC}\x{82AD}\x{82AF}\x{82B1}\x{82B3}\x{82B8}\x{82B9}\x{82BB}' .
+'\x{82BD}\x{82C5}\x{82D1}\x{82D2}\x{82D3}\x{82D4}\x{82D7}\x{82D9}\x{82DB}' .
+'\x{82DC}\x{82DE}\x{82DF}\x{82E1}\x{82E3}\x{82E5}\x{82E6}\x{82E7}\x{82EB}' .
+'\x{82F1}\x{82F3}\x{82F4}\x{82F9}\x{82FA}\x{82FB}\x{8302}\x{8303}\x{8304}' .
+'\x{8305}\x{8306}\x{8309}\x{830E}\x{8316}\x{8317}\x{8318}\x{831C}\x{8323}' .
+'\x{8328}\x{832B}\x{832F}\x{8331}\x{8332}\x{8334}\x{8335}\x{8336}\x{8338}' .
+'\x{8339}\x{8340}\x{8345}\x{8349}\x{834A}\x{834F}\x{8350}\x{8352}\x{8358}' .
+'\x{8373}\x{8375}\x{8377}\x{837B}\x{837C}\x{8385}\x{8387}\x{8389}\x{838A}' .
+'\x{838E}\x{8393}\x{8396}\x{839A}\x{839E}\x{839F}\x{83A0}\x{83A2}\x{83A8}' .
+'\x{83AA}\x{83AB}\x{83B1}\x{83B5}\x{83BD}\x{83C1}\x{83C5}\x{83CA}\x{83CC}' .
+'\x{83CE}\x{83D3}\x{83D6}\x{83D8}\x{83DC}\x{83DF}\x{83E0}\x{83E9}\x{83EB}' .
+'\x{83EF}\x{83F0}\x{83F1}\x{83F2}\x{83F4}\x{83F7}\x{83FB}\x{83FD}\x{8403}' .
+'\x{8404}\x{8407}\x{840B}\x{840C}\x{840D}\x{840E}\x{8413}\x{8420}\x{8422}' .
+'\x{8429}\x{842A}\x{842C}\x{8431}\x{8435}\x{8438}\x{843C}\x{843D}\x{8446}' .
+'\x{8449}\x{844E}\x{8457}\x{845B}\x{8461}\x{8462}\x{8463}\x{8466}\x{8469}' .
+'\x{846B}\x{846C}\x{846D}\x{846E}\x{846F}\x{8471}\x{8475}\x{8477}\x{8479}' .
+'\x{847A}\x{8482}\x{8484}\x{848B}\x{8490}\x{8494}\x{8499}\x{849C}\x{849F}' .
+'\x{84A1}\x{84AD}\x{84B2}\x{84B8}\x{84B9}\x{84BB}\x{84BC}\x{84BF}\x{84C1}' .
+'\x{84C4}\x{84C6}\x{84C9}\x{84CA}\x{84CB}\x{84CD}\x{84D0}\x{84D1}\x{84D6}' .
+'\x{84D9}\x{84DA}\x{84EC}\x{84EE}\x{84F4}\x{84FC}\x{84FF}\x{8500}\x{8506}' .
+'\x{8511}\x{8513}\x{8514}\x{8515}\x{8517}\x{8518}\x{851A}\x{851F}\x{8521}' .
+'\x{8526}\x{852C}\x{852D}\x{8535}\x{853D}\x{8540}\x{8541}\x{8543}\x{8548}' .
+'\x{8549}\x{854A}\x{854B}\x{854E}\x{8555}\x{8557}\x{8558}\x{855A}\x{8563}' .
+'\x{8568}\x{8569}\x{856A}\x{856D}\x{8577}\x{857E}\x{8580}\x{8584}\x{8587}' .
+'\x{8588}\x{858A}\x{8590}\x{8591}\x{8594}\x{8597}\x{8599}\x{859B}\x{859C}' .
+'\x{85A4}\x{85A6}\x{85A8}\x{85A9}\x{85AA}\x{85AB}\x{85AC}\x{85AE}\x{85AF}' .
+'\x{85B9}\x{85BA}\x{85C1}\x{85C9}\x{85CD}\x{85CF}\x{85D0}\x{85D5}\x{85DC}' .
+'\x{85DD}\x{85E4}\x{85E5}\x{85E9}\x{85EA}\x{85F7}\x{85F9}\x{85FA}\x{85FB}' .
+'\x{85FE}\x{8602}\x{8606}\x{8607}\x{860A}\x{860B}\x{8613}\x{8616}\x{8617}' .
+'\x{861A}\x{8622}\x{862D}\x{862F}\x{8630}\x{863F}\x{864D}\x{864E}\x{8650}' .
+'\x{8654}\x{8655}\x{865A}\x{865C}\x{865E}\x{865F}\x{8667}\x{866B}\x{8671}' .
+'\x{8679}\x{867B}\x{868A}\x{868B}\x{868C}\x{8693}\x{8695}\x{86A3}\x{86A4}' .
+'\x{86A9}\x{86AA}\x{86AB}\x{86AF}\x{86B0}\x{86B6}\x{86C4}\x{86C6}\x{86C7}' .
+'\x{86C9}\x{86CB}\x{86CD}\x{86CE}\x{86D4}\x{86D9}\x{86DB}\x{86DE}\x{86DF}' .
+'\x{86E4}\x{86E9}\x{86EC}\x{86ED}\x{86EE}\x{86EF}\x{86F8}\x{86F9}\x{86FB}' .
+'\x{86FE}\x{8700}\x{8702}\x{8703}\x{8706}\x{8708}\x{8709}\x{870A}\x{870D}' .
+'\x{8711}\x{8712}\x{8718}\x{871A}\x{871C}\x{8725}\x{8729}\x{8734}\x{8737}' .
+'\x{873B}\x{873F}\x{8749}\x{874B}\x{874C}\x{874E}\x{8753}\x{8755}\x{8757}' .
+'\x{8759}\x{875F}\x{8760}\x{8763}\x{8766}\x{8768}\x{876A}\x{876E}\x{8774}' .
+'\x{8776}\x{8778}\x{877F}\x{8782}\x{878D}\x{879F}\x{87A2}\x{87AB}\x{87AF}' .
+'\x{87B3}\x{87BA}\x{87BB}\x{87BD}\x{87C0}\x{87C4}\x{87C6}\x{87C7}\x{87CB}' .
+'\x{87D0}\x{87D2}\x{87E0}\x{87EF}\x{87F2}\x{87F6}\x{87F7}\x{87F9}\x{87FB}' .
+'\x{87FE}\x{8805}\x{880D}\x{880E}\x{880F}\x{8811}\x{8815}\x{8816}\x{8821}' .
+'\x{8822}\x{8823}\x{8827}\x{8831}\x{8836}\x{8839}\x{883B}\x{8840}\x{8842}' .
+'\x{8844}\x{8846}\x{884C}\x{884D}\x{8852}\x{8853}\x{8857}\x{8859}\x{885B}' .
+'\x{885D}\x{885E}\x{8861}\x{8862}\x{8863}\x{8868}\x{886B}\x{8870}\x{8872}' .
+'\x{8875}\x{8877}\x{887D}\x{887E}\x{887F}\x{8881}\x{8882}\x{8888}\x{888B}' .
+'\x{888D}\x{8892}\x{8896}\x{8897}\x{8899}\x{889E}\x{88A2}\x{88A4}\x{88AB}' .
+'\x{88AE}\x{88B0}\x{88B1}\x{88B4}\x{88B5}\x{88B7}\x{88BF}\x{88C1}\x{88C2}' .
+'\x{88C3}\x{88C4}\x{88C5}\x{88CF}\x{88D4}\x{88D5}\x{88D8}\x{88D9}\x{88DC}' .
+'\x{88DD}\x{88DF}\x{88E1}\x{88E8}\x{88F2}\x{88F3}\x{88F4}\x{88F8}\x{88F9}' .
+'\x{88FC}\x{88FD}\x{88FE}\x{8902}\x{8904}\x{8907}\x{890A}\x{890C}\x{8910}' .
+'\x{8912}\x{8913}\x{891D}\x{891E}\x{8925}\x{892A}\x{892B}\x{8936}\x{8938}' .
+'\x{893B}\x{8941}\x{8943}\x{8944}\x{894C}\x{894D}\x{8956}\x{895E}\x{895F}' .
+'\x{8960}\x{8964}\x{8966}\x{896A}\x{896D}\x{896F}\x{8972}\x{8974}\x{8977}' .
+'\x{897E}\x{897F}\x{8981}\x{8983}\x{8986}\x{8987}\x{8988}\x{898A}\x{898B}' .
+'\x{898F}\x{8993}\x{8996}\x{8997}\x{8998}\x{899A}\x{89A1}\x{89A6}\x{89A7}' .
+'\x{89A9}\x{89AA}\x{89AC}\x{89AF}\x{89B2}\x{89B3}\x{89BA}\x{89BD}\x{89BF}' .
+'\x{89C0}\x{89D2}\x{89DA}\x{89DC}\x{89DD}\x{89E3}\x{89E6}\x{89E7}\x{89F4}' .
+'\x{89F8}\x{8A00}\x{8A02}\x{8A03}\x{8A08}\x{8A0A}\x{8A0C}\x{8A0E}\x{8A10}' .
+'\x{8A13}\x{8A16}\x{8A17}\x{8A18}\x{8A1B}\x{8A1D}\x{8A1F}\x{8A23}\x{8A25}' .
+'\x{8A2A}\x{8A2D}\x{8A31}\x{8A33}\x{8A34}\x{8A36}\x{8A3A}\x{8A3B}\x{8A3C}' .
+'\x{8A41}\x{8A46}\x{8A48}\x{8A50}\x{8A51}\x{8A52}\x{8A54}\x{8A55}\x{8A5B}' .
+'\x{8A5E}\x{8A60}\x{8A62}\x{8A63}\x{8A66}\x{8A69}\x{8A6B}\x{8A6C}\x{8A6D}' .
+'\x{8A6E}\x{8A70}\x{8A71}\x{8A72}\x{8A73}\x{8A7C}\x{8A82}\x{8A84}\x{8A85}' .
+'\x{8A87}\x{8A89}\x{8A8C}\x{8A8D}\x{8A91}\x{8A93}\x{8A95}\x{8A98}\x{8A9A}' .
+'\x{8A9E}\x{8AA0}\x{8AA1}\x{8AA3}\x{8AA4}\x{8AA5}\x{8AA6}\x{8AA8}\x{8AAC}' .
+'\x{8AAD}\x{8AB0}\x{8AB2}\x{8AB9}\x{8ABC}\x{8ABF}\x{8AC2}\x{8AC4}\x{8AC7}' .
+'\x{8ACB}\x{8ACC}\x{8ACD}\x{8ACF}\x{8AD2}\x{8AD6}\x{8ADA}\x{8ADB}\x{8ADC}' .
+'\x{8ADE}\x{8AE0}\x{8AE1}\x{8AE2}\x{8AE4}\x{8AE6}\x{8AE7}\x{8AEB}\x{8AED}' .
+'\x{8AEE}\x{8AF1}\x{8AF3}\x{8AF7}\x{8AF8}\x{8AFA}\x{8AFE}\x{8B00}\x{8B01}' .
+'\x{8B02}\x{8B04}\x{8B07}\x{8B0C}\x{8B0E}\x{8B10}\x{8B14}\x{8B16}\x{8B17}' .
+'\x{8B19}\x{8B1A}\x{8B1B}\x{8B1D}\x{8B20}\x{8B21}\x{8B26}\x{8B28}\x{8B2B}' .
+'\x{8B2C}\x{8B33}\x{8B39}\x{8B3E}\x{8B41}\x{8B49}\x{8B4C}\x{8B4E}\x{8B4F}' .
+'\x{8B56}\x{8B58}\x{8B5A}\x{8B5B}\x{8B5C}\x{8B5F}\x{8B66}\x{8B6B}\x{8B6C}' .
+'\x{8B6F}\x{8B70}\x{8B71}\x{8B72}\x{8B74}\x{8B77}\x{8B7D}\x{8B80}\x{8B83}' .
+'\x{8B8A}\x{8B8C}\x{8B8E}\x{8B90}\x{8B92}\x{8B93}\x{8B96}\x{8B99}\x{8B9A}' .
+'\x{8C37}\x{8C3A}\x{8C3F}\x{8C41}\x{8C46}\x{8C48}\x{8C4A}\x{8C4C}\x{8C4E}' .
+'\x{8C50}\x{8C55}\x{8C5A}\x{8C61}\x{8C62}\x{8C6A}\x{8C6B}\x{8C6C}\x{8C78}' .
+'\x{8C79}\x{8C7A}\x{8C7C}\x{8C82}\x{8C85}\x{8C89}\x{8C8A}\x{8C8C}\x{8C8D}' .
+'\x{8C8E}\x{8C94}\x{8C98}\x{8C9D}\x{8C9E}\x{8CA0}\x{8CA1}\x{8CA2}\x{8CA7}' .
+'\x{8CA8}\x{8CA9}\x{8CAA}\x{8CAB}\x{8CAC}\x{8CAD}\x{8CAE}\x{8CAF}\x{8CB0}' .
+'\x{8CB2}\x{8CB3}\x{8CB4}\x{8CB6}\x{8CB7}\x{8CB8}\x{8CBB}\x{8CBC}\x{8CBD}' .
+'\x{8CBF}\x{8CC0}\x{8CC1}\x{8CC2}\x{8CC3}\x{8CC4}\x{8CC7}\x{8CC8}\x{8CCA}' .
+'\x{8CCD}\x{8CCE}\x{8CD1}\x{8CD3}\x{8CDA}\x{8CDB}\x{8CDC}\x{8CDE}\x{8CE0}' .
+'\x{8CE2}\x{8CE3}\x{8CE4}\x{8CE6}\x{8CEA}\x{8CED}\x{8CFA}\x{8CFB}\x{8CFC}' .
+'\x{8CFD}\x{8D04}\x{8D05}\x{8D07}\x{8D08}\x{8D0A}\x{8D0B}\x{8D0D}\x{8D0F}' .
+'\x{8D10}\x{8D13}\x{8D14}\x{8D16}\x{8D64}\x{8D66}\x{8D67}\x{8D6B}\x{8D6D}' .
+'\x{8D70}\x{8D71}\x{8D73}\x{8D74}\x{8D77}\x{8D81}\x{8D85}\x{8D8A}\x{8D99}' .
+'\x{8DA3}\x{8DA8}\x{8DB3}\x{8DBA}\x{8DBE}\x{8DC2}\x{8DCB}\x{8DCC}\x{8DCF}' .
+'\x{8DD6}\x{8DDA}\x{8DDB}\x{8DDD}\x{8DDF}\x{8DE1}\x{8DE3}\x{8DE8}\x{8DEA}' .
+'\x{8DEB}\x{8DEF}\x{8DF3}\x{8DF5}\x{8DFC}\x{8DFF}\x{8E08}\x{8E09}\x{8E0A}' .
+'\x{8E0F}\x{8E10}\x{8E1D}\x{8E1E}\x{8E1F}\x{8E2A}\x{8E30}\x{8E34}\x{8E35}' .
+'\x{8E42}\x{8E44}\x{8E47}\x{8E48}\x{8E49}\x{8E4A}\x{8E4C}\x{8E50}\x{8E55}' .
+'\x{8E59}\x{8E5F}\x{8E60}\x{8E63}\x{8E64}\x{8E72}\x{8E74}\x{8E76}\x{8E7C}' .
+'\x{8E81}\x{8E84}\x{8E85}\x{8E87}\x{8E8A}\x{8E8B}\x{8E8D}\x{8E91}\x{8E93}' .
+'\x{8E94}\x{8E99}\x{8EA1}\x{8EAA}\x{8EAB}\x{8EAC}\x{8EAF}\x{8EB0}\x{8EB1}' .
+'\x{8EBE}\x{8EC5}\x{8EC6}\x{8EC8}\x{8ECA}\x{8ECB}\x{8ECC}\x{8ECD}\x{8ED2}' .
+'\x{8EDB}\x{8EDF}\x{8EE2}\x{8EE3}\x{8EEB}\x{8EF8}\x{8EFB}\x{8EFC}\x{8EFD}' .
+'\x{8EFE}\x{8F03}\x{8F05}\x{8F09}\x{8F0A}\x{8F0C}\x{8F12}\x{8F13}\x{8F14}' .
+'\x{8F15}\x{8F19}\x{8F1B}\x{8F1C}\x{8F1D}\x{8F1F}\x{8F26}\x{8F29}\x{8F2A}' .
+'\x{8F2F}\x{8F33}\x{8F38}\x{8F39}\x{8F3B}\x{8F3E}\x{8F3F}\x{8F42}\x{8F44}' .
+'\x{8F45}\x{8F46}\x{8F49}\x{8F4C}\x{8F4D}\x{8F4E}\x{8F57}\x{8F5C}\x{8F5F}' .
+'\x{8F61}\x{8F62}\x{8F63}\x{8F64}\x{8F9B}\x{8F9C}\x{8F9E}\x{8F9F}\x{8FA3}' .
+'\x{8FA7}\x{8FA8}\x{8FAD}\x{8FAE}\x{8FAF}\x{8FB0}\x{8FB1}\x{8FB2}\x{8FB7}' .
+'\x{8FBA}\x{8FBB}\x{8FBC}\x{8FBF}\x{8FC2}\x{8FC4}\x{8FC5}\x{8FCE}\x{8FD1}' .
+'\x{8FD4}\x{8FDA}\x{8FE2}\x{8FE5}\x{8FE6}\x{8FE9}\x{8FEA}\x{8FEB}\x{8FED}' .
+'\x{8FEF}\x{8FF0}\x{8FF4}\x{8FF7}\x{8FF8}\x{8FF9}\x{8FFA}\x{8FFD}\x{9000}' .
+'\x{9001}\x{9003}\x{9005}\x{9006}\x{900B}\x{900D}\x{900E}\x{900F}\x{9010}' .
+'\x{9011}\x{9013}\x{9014}\x{9015}\x{9016}\x{9017}\x{9019}\x{901A}\x{901D}' .
+'\x{901E}\x{901F}\x{9020}\x{9021}\x{9022}\x{9023}\x{9027}\x{902E}\x{9031}' .
+'\x{9032}\x{9035}\x{9036}\x{9038}\x{9039}\x{903C}\x{903E}\x{9041}\x{9042}' .
+'\x{9045}\x{9047}\x{9049}\x{904A}\x{904B}\x{904D}\x{904E}\x{904F}\x{9050}' .
+'\x{9051}\x{9052}\x{9053}\x{9054}\x{9055}\x{9056}\x{9058}\x{9059}\x{905C}' .
+'\x{905E}\x{9060}\x{9061}\x{9063}\x{9065}\x{9068}\x{9069}\x{906D}\x{906E}' .
+'\x{906F}\x{9072}\x{9075}\x{9076}\x{9077}\x{9078}\x{907A}\x{907C}\x{907D}' .
+'\x{907F}\x{9080}\x{9081}\x{9082}\x{9083}\x{9084}\x{9087}\x{9089}\x{908A}' .
+'\x{908F}\x{9091}\x{90A3}\x{90A6}\x{90A8}\x{90AA}\x{90AF}\x{90B1}\x{90B5}' .
+'\x{90B8}\x{90C1}\x{90CA}\x{90CE}\x{90DB}\x{90E1}\x{90E2}\x{90E4}\x{90E8}' .
+'\x{90ED}\x{90F5}\x{90F7}\x{90FD}\x{9102}\x{9112}\x{9119}\x{912D}\x{9130}' .
+'\x{9132}\x{9149}\x{914A}\x{914B}\x{914C}\x{914D}\x{914E}\x{9152}\x{9154}' .
+'\x{9156}\x{9158}\x{9162}\x{9163}\x{9165}\x{9169}\x{916A}\x{916C}\x{9172}' .
+'\x{9173}\x{9175}\x{9177}\x{9178}\x{9182}\x{9187}\x{9189}\x{918B}\x{918D}' .
+'\x{9190}\x{9192}\x{9197}\x{919C}\x{91A2}\x{91A4}\x{91AA}\x{91AB}\x{91AF}' .
+'\x{91B4}\x{91B5}\x{91B8}\x{91BA}\x{91C0}\x{91C1}\x{91C6}\x{91C7}\x{91C8}' .
+'\x{91C9}\x{91CB}\x{91CC}\x{91CD}\x{91CE}\x{91CF}\x{91D0}\x{91D1}\x{91D6}' .
+'\x{91D8}\x{91DB}\x{91DC}\x{91DD}\x{91DF}\x{91E1}\x{91E3}\x{91E6}\x{91E7}' .
+'\x{91F5}\x{91F6}\x{91FC}\x{91FF}\x{920D}\x{920E}\x{9211}\x{9214}\x{9215}' .
+'\x{921E}\x{9229}\x{922C}\x{9234}\x{9237}\x{923F}\x{9244}\x{9245}\x{9248}' .
+'\x{9249}\x{924B}\x{9250}\x{9257}\x{925A}\x{925B}\x{925E}\x{9262}\x{9264}' .
+'\x{9266}\x{9271}\x{927E}\x{9280}\x{9283}\x{9285}\x{9291}\x{9293}\x{9295}' .
+'\x{9296}\x{9298}\x{929A}\x{929B}\x{929C}\x{92AD}\x{92B7}\x{92B9}\x{92CF}' .
+'\x{92D2}\x{92E4}\x{92E9}\x{92EA}\x{92ED}\x{92F2}\x{92F3}\x{92F8}\x{92FA}' .
+'\x{92FC}\x{9306}\x{930F}\x{9310}\x{9318}\x{9319}\x{931A}\x{9320}\x{9322}' .
+'\x{9323}\x{9326}\x{9328}\x{932B}\x{932C}\x{932E}\x{932F}\x{9332}\x{9335}' .
+'\x{933A}\x{933B}\x{9344}\x{934B}\x{934D}\x{9354}\x{9356}\x{935B}\x{935C}' .
+'\x{9360}\x{936C}\x{936E}\x{9375}\x{937C}\x{937E}\x{938C}\x{9394}\x{9396}' .
+'\x{9397}\x{939A}\x{93A7}\x{93AC}\x{93AD}\x{93AE}\x{93B0}\x{93B9}\x{93C3}' .
+'\x{93C8}\x{93D0}\x{93D1}\x{93D6}\x{93D7}\x{93D8}\x{93DD}\x{93E1}\x{93E4}' .
+'\x{93E5}\x{93E8}\x{9403}\x{9407}\x{9410}\x{9413}\x{9414}\x{9418}\x{9419}' .
+'\x{941A}\x{9421}\x{942B}\x{9435}\x{9436}\x{9438}\x{943A}\x{9441}\x{9444}' .
+'\x{9451}\x{9452}\x{9453}\x{945A}\x{945B}\x{945E}\x{9460}\x{9462}\x{946A}' .
+'\x{9470}\x{9475}\x{9477}\x{947C}\x{947D}\x{947E}\x{947F}\x{9481}\x{9577}' .
+'\x{9580}\x{9582}\x{9583}\x{9587}\x{9589}\x{958A}\x{958B}\x{958F}\x{9591}' .
+'\x{9593}\x{9594}\x{9596}\x{9598}\x{9599}\x{95A0}\x{95A2}\x{95A3}\x{95A4}' .
+'\x{95A5}\x{95A7}\x{95A8}\x{95AD}\x{95B2}\x{95B9}\x{95BB}\x{95BC}\x{95BE}' .
+'\x{95C3}\x{95C7}\x{95CA}\x{95CC}\x{95CD}\x{95D4}\x{95D5}\x{95D6}\x{95D8}' .
+'\x{95DC}\x{95E1}\x{95E2}\x{95E5}\x{961C}\x{9621}\x{9628}\x{962A}\x{962E}' .
+'\x{962F}\x{9632}\x{963B}\x{963F}\x{9640}\x{9642}\x{9644}\x{964B}\x{964C}' .
+'\x{964D}\x{964F}\x{9650}\x{965B}\x{965C}\x{965D}\x{965E}\x{965F}\x{9662}' .
+'\x{9663}\x{9664}\x{9665}\x{9666}\x{966A}\x{966C}\x{9670}\x{9672}\x{9673}' .
+'\x{9675}\x{9676}\x{9677}\x{9678}\x{967A}\x{967D}\x{9685}\x{9686}\x{9688}' .
+'\x{968A}\x{968B}\x{968D}\x{968E}\x{968F}\x{9694}\x{9695}\x{9697}\x{9698}' .
+'\x{9699}\x{969B}\x{969C}\x{96A0}\x{96A3}\x{96A7}\x{96A8}\x{96AA}\x{96B0}' .
+'\x{96B1}\x{96B2}\x{96B4}\x{96B6}\x{96B7}\x{96B8}\x{96B9}\x{96BB}\x{96BC}' .
+'\x{96C0}\x{96C1}\x{96C4}\x{96C5}\x{96C6}\x{96C7}\x{96C9}\x{96CB}\x{96CC}' .
+'\x{96CD}\x{96CE}\x{96D1}\x{96D5}\x{96D6}\x{96D9}\x{96DB}\x{96DC}\x{96E2}' .
+'\x{96E3}\x{96E8}\x{96EA}\x{96EB}\x{96F0}\x{96F2}\x{96F6}\x{96F7}\x{96F9}' .
+'\x{96FB}\x{9700}\x{9704}\x{9706}\x{9707}\x{9708}\x{970A}\x{970D}\x{970E}' .
+'\x{970F}\x{9711}\x{9713}\x{9716}\x{9719}\x{971C}\x{971E}\x{9724}\x{9727}' .
+'\x{972A}\x{9730}\x{9732}\x{9738}\x{9739}\x{973D}\x{973E}\x{9742}\x{9744}' .
+'\x{9746}\x{9748}\x{9749}\x{9752}\x{9756}\x{9759}\x{975C}\x{975E}\x{9760}' .
+'\x{9761}\x{9762}\x{9764}\x{9766}\x{9768}\x{9769}\x{976B}\x{976D}\x{9771}' .
+'\x{9774}\x{9779}\x{977A}\x{977C}\x{9781}\x{9784}\x{9785}\x{9786}\x{978B}' .
+'\x{978D}\x{978F}\x{9790}\x{9798}\x{979C}\x{97A0}\x{97A3}\x{97A6}\x{97A8}' .
+'\x{97AB}\x{97AD}\x{97B3}\x{97B4}\x{97C3}\x{97C6}\x{97C8}\x{97CB}\x{97D3}' .
+'\x{97DC}\x{97ED}\x{97EE}\x{97F2}\x{97F3}\x{97F5}\x{97F6}\x{97FB}\x{97FF}' .
+'\x{9801}\x{9802}\x{9803}\x{9805}\x{9806}\x{9808}\x{980C}\x{980F}\x{9810}' .
+'\x{9811}\x{9812}\x{9813}\x{9817}\x{9818}\x{981A}\x{9821}\x{9824}\x{982C}' .
+'\x{982D}\x{9834}\x{9837}\x{9838}\x{983B}\x{983C}\x{983D}\x{9846}\x{984B}' .
+'\x{984C}\x{984D}\x{984E}\x{984F}\x{9854}\x{9855}\x{9858}\x{985B}\x{985E}' .
+'\x{9867}\x{986B}\x{986F}\x{9870}\x{9871}\x{9873}\x{9874}\x{98A8}\x{98AA}' .
+'\x{98AF}\x{98B1}\x{98B6}\x{98C3}\x{98C4}\x{98C6}\x{98DB}\x{98DC}\x{98DF}' .
+'\x{98E2}\x{98E9}\x{98EB}\x{98ED}\x{98EE}\x{98EF}\x{98F2}\x{98F4}\x{98FC}' .
+'\x{98FD}\x{98FE}\x{9903}\x{9905}\x{9909}\x{990A}\x{990C}\x{9910}\x{9912}' .
+'\x{9913}\x{9914}\x{9918}\x{991D}\x{991E}\x{9920}\x{9921}\x{9924}\x{9928}' .
+'\x{992C}\x{992E}\x{993D}\x{993E}\x{9942}\x{9945}\x{9949}\x{994B}\x{994C}' .
+'\x{9950}\x{9951}\x{9952}\x{9955}\x{9957}\x{9996}\x{9997}\x{9998}\x{9999}' .
+'\x{99A5}\x{99A8}\x{99AC}\x{99AD}\x{99AE}\x{99B3}\x{99B4}\x{99BC}\x{99C1}' .
+'\x{99C4}\x{99C5}\x{99C6}\x{99C8}\x{99D0}\x{99D1}\x{99D2}\x{99D5}\x{99D8}' .
+'\x{99DB}\x{99DD}\x{99DF}\x{99E2}\x{99ED}\x{99EE}\x{99F1}\x{99F2}\x{99F8}' .
+'\x{99FB}\x{99FF}\x{9A01}\x{9A05}\x{9A0E}\x{9A0F}\x{9A12}\x{9A13}\x{9A19}' .
+'\x{9A28}\x{9A2B}\x{9A30}\x{9A37}\x{9A3E}\x{9A40}\x{9A42}\x{9A43}\x{9A45}' .
+'\x{9A4D}\x{9A55}\x{9A57}\x{9A5A}\x{9A5B}\x{9A5F}\x{9A62}\x{9A64}\x{9A65}' .
+'\x{9A69}\x{9A6A}\x{9A6B}\x{9AA8}\x{9AAD}\x{9AB0}\x{9AB8}\x{9ABC}\x{9AC0}' .
+'\x{9AC4}\x{9ACF}\x{9AD1}\x{9AD3}\x{9AD4}\x{9AD8}\x{9ADE}\x{9ADF}\x{9AE2}' .
+'\x{9AE3}\x{9AE6}\x{9AEA}\x{9AEB}\x{9AED}\x{9AEE}\x{9AEF}\x{9AF1}\x{9AF4}' .
+'\x{9AF7}\x{9AFB}\x{9B06}\x{9B18}\x{9B1A}\x{9B1F}\x{9B22}\x{9B23}\x{9B25}' .
+'\x{9B27}\x{9B28}\x{9B29}\x{9B2A}\x{9B2E}\x{9B2F}\x{9B31}\x{9B32}\x{9B3B}' .
+'\x{9B3C}\x{9B41}\x{9B42}\x{9B43}\x{9B44}\x{9B45}\x{9B4D}\x{9B4E}\x{9B4F}' .
+'\x{9B51}\x{9B54}\x{9B58}\x{9B5A}\x{9B6F}\x{9B74}\x{9B83}\x{9B8E}\x{9B91}' .
+'\x{9B92}\x{9B93}\x{9B96}\x{9B97}\x{9B9F}\x{9BA0}\x{9BA8}\x{9BAA}\x{9BAB}' .
+'\x{9BAD}\x{9BAE}\x{9BB4}\x{9BB9}\x{9BC0}\x{9BC6}\x{9BC9}\x{9BCA}\x{9BCF}' .
+'\x{9BD1}\x{9BD2}\x{9BD4}\x{9BD6}\x{9BDB}\x{9BE1}\x{9BE2}\x{9BE3}\x{9BE4}' .
+'\x{9BE8}\x{9BF0}\x{9BF1}\x{9BF2}\x{9BF5}\x{9C04}\x{9C06}\x{9C08}\x{9C09}' .
+'\x{9C0A}\x{9C0C}\x{9C0D}\x{9C10}\x{9C12}\x{9C13}\x{9C14}\x{9C15}\x{9C1B}' .
+'\x{9C21}\x{9C24}\x{9C25}\x{9C2D}\x{9C2E}\x{9C2F}\x{9C30}\x{9C32}\x{9C39}' .
+'\x{9C3A}\x{9C3B}\x{9C3E}\x{9C46}\x{9C47}\x{9C48}\x{9C52}\x{9C57}\x{9C5A}' .
+'\x{9C60}\x{9C67}\x{9C76}\x{9C78}\x{9CE5}\x{9CE7}\x{9CE9}\x{9CEB}\x{9CEC}' .
+'\x{9CF0}\x{9CF3}\x{9CF4}\x{9CF6}\x{9D03}\x{9D06}\x{9D07}\x{9D08}\x{9D09}' .
+'\x{9D0E}\x{9D12}\x{9D15}\x{9D1B}\x{9D1F}\x{9D23}\x{9D26}\x{9D28}\x{9D2A}' .
+'\x{9D2B}\x{9D2C}\x{9D3B}\x{9D3E}\x{9D3F}\x{9D41}\x{9D44}\x{9D46}\x{9D48}' .
+'\x{9D50}\x{9D51}\x{9D59}\x{9D5C}\x{9D5D}\x{9D5E}\x{9D60}\x{9D61}\x{9D64}' .
+'\x{9D6C}\x{9D6F}\x{9D72}\x{9D7A}\x{9D87}\x{9D89}\x{9D8F}\x{9D9A}\x{9DA4}' .
+'\x{9DA9}\x{9DAB}\x{9DAF}\x{9DB2}\x{9DB4}\x{9DB8}\x{9DBA}\x{9DBB}\x{9DC1}' .
+'\x{9DC2}\x{9DC4}\x{9DC6}\x{9DCF}\x{9DD3}\x{9DD9}\x{9DE6}\x{9DED}\x{9DEF}' .
+'\x{9DF2}\x{9DF8}\x{9DF9}\x{9DFA}\x{9DFD}\x{9E1A}\x{9E1B}\x{9E1E}\x{9E75}' .
+'\x{9E78}\x{9E79}\x{9E7D}\x{9E7F}\x{9E81}\x{9E88}\x{9E8B}\x{9E8C}\x{9E91}' .
+'\x{9E92}\x{9E93}\x{9E95}\x{9E97}\x{9E9D}\x{9E9F}\x{9EA5}\x{9EA6}\x{9EA9}' .
+'\x{9EAA}\x{9EAD}\x{9EB8}\x{9EB9}\x{9EBA}\x{9EBB}\x{9EBC}\x{9EBE}\x{9EBF}' .
+'\x{9EC4}\x{9ECC}\x{9ECD}\x{9ECE}\x{9ECF}\x{9ED0}\x{9ED2}\x{9ED4}\x{9ED8}' .
+'\x{9ED9}\x{9EDB}\x{9EDC}\x{9EDD}\x{9EDE}\x{9EE0}\x{9EE5}\x{9EE8}\x{9EEF}' .
+'\x{9EF4}\x{9EF6}\x{9EF7}\x{9EF9}\x{9EFB}\x{9EFC}\x{9EFD}\x{9F07}\x{9F08}' .
+'\x{9F0E}\x{9F13}\x{9F15}\x{9F20}\x{9F21}\x{9F2C}\x{9F3B}\x{9F3E}\x{9F4A}' .
+'\x{9F4B}\x{9F4E}\x{9F4F}\x{9F52}\x{9F54}\x{9F5F}\x{9F60}\x{9F61}\x{9F62}' .
+'\x{9F63}\x{9F66}\x{9F67}\x{9F6A}\x{9F6C}\x{9F72}\x{9F76}\x{9F77}\x{9F8D}' .
+'\x{9F95}\x{9F9C}\x{9F9D}\x{9FA0}]{1,15}$/iu');
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Iban.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Iban.php
new file mode 100644
index 0000000..80b0d23
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Iban.php
@@ -0,0 +1,250 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * Validates IBAN Numbers (International Bank Account Numbers)
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_Iban extends Postman_Zend_Validate_Abstract
+{
+ const NOTSUPPORTED = 'ibanNotSupported';
+ const FALSEFORMAT = 'ibanFalseFormat';
+ const CHECKFAILED = 'ibanCheckFailed';
+
+ /**
+ * Validation failure message template definitions
+ *
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::NOTSUPPORTED => "Unknown country within the IBAN '%value%'",
+ self::FALSEFORMAT => "'%value%' has a false IBAN format",
+ self::CHECKFAILED => "'%value%' has failed the IBAN check",
+ );
+
+ /**
+ * Optional locale
+ *
+ * @var string|Postman_Zend_Locale|null
+ */
+ protected $_locale;
+
+ /**
+ * IBAN regexes by region
+ *
+ * @var array
+ */
+ protected $_ibanregex = array(
+ 'AD' => '/^AD[0-9]{2}[0-9]{8}[A-Z0-9]{12}$/',
+ 'AE' => '/^AE[0-9]{2}[0-9]{3}[0-9]{16}$/',
+ 'AL' => '/^AL[0-9]{2}[0-9]{8}[A-Z0-9]{16}$/',
+ 'AT' => '/^AT[0-9]{2}[0-9]{5}[0-9]{11}$/',
+ 'AZ' => '/^AZ[0-9]{2}[0-9]{4}[A-Z0-9]{20}$/',
+ 'BA' => '/^BA[0-9]{2}[0-9]{6}[0-9]{10}$/',
+ 'BE' => '/^BE[0-9]{2}[0-9]{3}[0-9]{9}$/',
+ 'BG' => '/^BG[0-9]{2}[A-Z]{4}[0-9]{4}[0-9]{2}[A-Z0-9]{8}$/',
+ 'BH' => '/^BH[0-9]{2}[A-Z]{4}[A-Z0-9]{14}$/',
+ 'BR' => '/^BR[0-9]{2}[0-9]{8}[0-9]{5}[0-9]{10}[A-Z]{1}[A-Z0-9]{1}$/',
+ 'CH' => '/^CH[0-9]{2}[0-9]{5}[A-Z0-9]{12}$/',
+ 'CR' => '/^CR[0-9]{2}[0-9]{3}[0-9]{14}$/',
+ 'CS' => '/^CS[0-9]{2}[0-9]{3}[0-9]{15}$/',
+ 'CY' => '/^CY[0-9]{2}[0-9]{8}[A-Z0-9]{16}$/',
+ 'CZ' => '/^CZ[0-9]{2}[0-9]{4}[0-9]{16}$/',
+ 'DE' => '/^DE[0-9]{2}[0-9]{8}[0-9]{10}$/',
+ 'DK' => '/^DK[0-9]{2}[0-9]{4}[0-9]{10}$/',
+ 'DO' => '/^DO[0-9]{2}[A-Z0-9]{4}[0-9]{20}$/',
+ 'EE' => '/^EE[0-9]{2}[0-9]{4}[0-9]{12}$/',
+ 'ES' => '/^ES[0-9]{2}[0-9]{8}[0-9]{12}$/',
+ 'FR' => '/^FR[0-9]{2}[0-9]{10}[A-Z0-9]{11}[0-9]{2}$/',
+ 'FI' => '/^FI[0-9]{2}[0-9]{6}[0-9]{8}$/',
+ 'FO' => '/^FO[0-9]{2}[0-9]{4}[0-9]{9}[0-9]{1}$/',
+ 'GB' => '/^GB[0-9]{2}[A-Z]{4}[0-9]{14}$/',
+ 'GE' => '/^GE[0-9]{2}[A-Z]{2}[0-9]{16}$/',
+ 'GI' => '/^GI[0-9]{2}[A-Z]{4}[A-Z0-9]{15}$/',
+ 'GL' => '/^GL[0-9]{2}[0-9]{4}[0-9]{9}[0-9]{1}$/',
+ 'GR' => '/^GR[0-9]{2}[0-9]{7}[A-Z0-9]{16}$/',
+ 'GT' => '/^GT[0-9]{2}[A-Z0-9]{4}[A-Z0-9]{20}$/',
+ 'HR' => '/^HR[0-9]{2}[0-9]{7}[0-9]{10}$/',
+ 'HU' => '/^HU[0-9]{2}[0-9]{7}[0-9]{1}[0-9]{15}[0-9]{1}$/',
+ 'IE' => '/^IE[0-9]{2}[A-Z0-9]{4}[0-9]{6}[0-9]{8}$/',
+ 'IL' => '/^IL[0-9]{2}[0-9]{3}[0-9]{3}[0-9]{13}$/',
+ 'IS' => '/^IS[0-9]{2}[0-9]{4}[0-9]{18}$/',
+ 'IT' => '/^IT[0-9]{2}[A-Z]{1}[0-9]{10}[A-Z0-9]{12}$/',
+ 'KW' => '/^KW[0-9]{2}[A-Z]{4}[0-9]{3}[0-9]{22}$/',
+ 'KZ' => '/^KZ[A-Z]{2}[0-9]{2}[0-9]{3}[A-Z0-9]{13}$/',
+ 'LB' => '/^LB[0-9]{2}[0-9]{4}[A-Z0-9]{20}$/',
+ 'LI' => '/^LI[0-9]{2}[0-9]{5}[A-Z0-9]{12}$/',
+ 'LU' => '/^LU[0-9]{2}[0-9]{3}[A-Z0-9]{13}$/',
+ 'LT' => '/^LT[0-9]{2}[0-9]{5}[0-9]{11}$/',
+ 'LV' => '/^LV[0-9]{2}[A-Z]{4}[A-Z0-9]{13}$/',
+ 'MC' => '/^MC[0-9]{2}[0-9]{5}[0-9]{5}[A-Z0-9]{11}[0-9]{2}$/',
+ 'MD' => '/^MD[0-9]{2}[A-Z0-9]{20}$/',
+ 'ME' => '/^ME[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}$/',
+ 'MK' => '/^MK[0-9]{2}[A-Z]{3}[A-Z0-9]{10}[0-9]{2}$/',
+ 'MR' => '/^MR13[0-9]{5}[0-9]{5}[0-9]{11}[0-9]{2}$/',
+ 'MU' => '/^MU[0-9]{2}[A-Z]{4}[0-9]{2}[0-9]{2}[0-9]{12}[0-9]{3}[A-Z]{2}$/',
+ 'MT' => '/^MT[0-9]{2}[A-Z]{4}[0-9]{5}[A-Z0-9]{18}$/',
+ 'NL' => '/^NL[0-9]{2}[A-Z]{4}[0-9]{10}$/',
+ 'NO' => '/^NO[0-9]{2}[0-9]{4}[0-9]{7}$/',
+ 'PK' => '/^PK[0-9]{2}[A-Z]{4}[0-9]{16}$/',
+ 'PL' => '/^PL[0-9]{2}[0-9]{8}[0-9]{16}$/',
+ 'PS' => '/^PS[0-9]{2}[A-Z]{4}[0-9]{21}$/',
+ 'PT' => '/^PT[0-9]{2}[0-9]{8}[0-9]{13}$/',
+ 'RO' => '/^RO[0-9]{2}[A-Z]{4}[A-Z0-9]{16}$/',
+ 'RS' => '/^RS[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}$/',
+ 'SA' => '/^SA[0-9]{2}[0-9]{2}[A-Z0-9]{18}$/',
+ 'SE' => '/^SE[0-9]{2}[0-9]{3}[0-9]{17}$/',
+ 'SI' => '/^SI[0-9]{2}[0-9]{5}[0-9]{8}[0-9]{2}$/',
+ 'SK' => '/^SK[0-9]{2}[0-9]{4}[0-9]{16}$/',
+ 'SM' => '/^SM[0-9]{2}[A-Z]{1}[0-9]{5}[0-9]{5}[A-Z0-9]{12}$/',
+ 'TN' => '/^TN[0-9]{2}[0-9]{5}[0-9]{15}$/',
+ 'TR' => '/^TR[0-9]{2}[0-9]{5}[A-Z0-9]{17}$/',
+ 'VG' => '/^VG[0-9]{2}[A-Z]{4}[0-9]{16}$/'
+ );
+
+ /**
+ * Sets validator options
+ *
+ * @param string|Postman_Zend_Config|Postman_Zend_Locale $locale OPTIONAL
+ */
+ public function __construct($locale = null)
+ {
+ if ($locale instanceof Postman_Zend_Config) {
+ $locale = $locale->toArray();
+ }
+
+ if (is_array($locale)) {
+ if (array_key_exists('locale', $locale)) {
+ $locale = $locale['locale'];
+ } else {
+ $locale = null;
+ }
+ }
+
+ if (empty($locale)) {
+ require_once 'Zend/Registry.php';
+ if (Postman_Zend_Registry::isRegistered('Postman_Zend_Locale')) {
+ $locale = Postman_Zend_Registry::get('Postman_Zend_Locale');
+ }
+ }
+
+ if ($locale !== null) {
+ $this->setLocale($locale);
+ }
+ }
+
+ /**
+ * Returns the locale option
+ *
+ * @return string|Postman_Zend_Locale|null
+ */
+ public function getLocale()
+ {
+ return $this->_locale;
+ }
+
+ /**
+ * Sets the locale option
+ *
+ * @param string|Postman_Zend_Locale $locale
+ * @throws Postman_Zend_Locale_Exception
+ * @throws Postman_Zend_Validate_Exception
+ * @return Postman_Zend_Validate_Date provides a fluent interface
+ */
+ public function setLocale($locale = null)
+ {
+ if ($locale !== false) {
+ require_once 'Zend/Locale.php';
+ $locale = Postman_Zend_Locale::findLocale($locale);
+ if (strlen($locale) < 4) {
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception('Region must be given for IBAN validation');
+ }
+ }
+
+ $this->_locale = $locale;
+ return $this;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if $value is a valid IBAN
+ *
+ * @param string $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ $value = strtoupper($value);
+ $this->_setValue($value);
+
+ if (empty($this->_locale)) {
+ $region = substr($value, 0, 2);
+ } else {
+ $region = new Postman_Zend_Locale($this->_locale);
+ $region = $region->getRegion();
+ }
+
+ if (!array_key_exists($region, $this->_ibanregex)) {
+ $this->_setValue($region);
+ $this->_error(self::NOTSUPPORTED);
+ return false;
+ }
+
+ if (!preg_match($this->_ibanregex[$region], $value)) {
+ $this->_error(self::FALSEFORMAT);
+ return false;
+ }
+
+ $format = substr($value, 4) . substr($value, 0, 4);
+ $format = str_replace(
+ array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
+ 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'),
+ array('10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22',
+ '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35'),
+ $format);
+
+ $temp = intval(substr($format, 0, 1));
+ $len = strlen($format);
+ for ($x = 1; $x < $len; ++$x) {
+ $temp *= 10;
+ $temp += intval(substr($format, $x, 1));
+ $temp %= 97;
+ }
+
+ if ($temp != 1) {
+ $this->_error(self::CHECKFAILED);
+ return false;
+ }
+
+ return true;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Identical.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Identical.php
new file mode 100644
index 0000000..61c3de2
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Identical.php
@@ -0,0 +1,164 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/** @see Postman_Zend_Validate_Abstract */
+require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_Identical extends Postman_Zend_Validate_Abstract
+{
+ /**
+ * Error codes
+ * @const string
+ */
+ const NOT_SAME = 'notSame';
+ const MISSING_TOKEN = 'missingToken';
+
+ /**
+ * Error messages
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::NOT_SAME => "The two given tokens do not match",
+ self::MISSING_TOKEN => 'No token was provided to match against',
+ );
+
+ /**
+ * @var array
+ */
+ protected $_messageVariables = array(
+ 'token' => '_tokenString'
+ );
+
+ /**
+ * Original token against which to validate
+ * @var string
+ */
+ protected $_tokenString;
+ protected $_token;
+ protected $_strict = true;
+
+ /**
+ * Sets validator options
+ *
+ * @param mixed $token
+ */
+ public function __construct($token = null)
+ {
+ if ($token instanceof Postman_Zend_Config) {
+ $token = $token->toArray();
+ }
+
+ if (is_array($token) && array_key_exists('token', $token)) {
+ if (array_key_exists('strict', $token)) {
+ $this->setStrict($token['strict']);
+ }
+
+ $this->setToken($token['token']);
+ } else if (null !== $token) {
+ $this->setToken($token);
+ }
+ }
+
+ /**
+ * Retrieve token
+ *
+ * @return string
+ */
+ public function getToken()
+ {
+ return $this->_token;
+ }
+
+ /**
+ * Set token against which to compare
+ *
+ * @param mixed $token
+ * @return Postman_Zend_Validate_Identical
+ */
+ public function setToken($token)
+ {
+ $this->_tokenString = $token;
+ $this->_token = $token;
+ return $this;
+ }
+
+ /**
+ * Returns the strict parameter
+ *
+ * @return boolean
+ */
+ public function getStrict()
+ {
+ return $this->_strict;
+ }
+
+ /**
+ * Sets the strict parameter
+ *
+ * @param Postman_Zend_Validate_Identical
+ * @return $this
+ */
+ public function setStrict($strict)
+ {
+ $this->_strict = (boolean) $strict;
+ return $this;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if and only if a token has been set and the provided value
+ * matches that token.
+ *
+ * @param mixed $value
+ * @param array $context
+ * @return boolean
+ */
+ public function isValid($value, $context = null)
+ {
+ $this->_setValue($value);
+
+ if (($context !== null) && isset($context) && array_key_exists($this->getToken(), $context)) {
+ $token = $context[$this->getToken()];
+ } else {
+ $token = $this->getToken();
+ }
+
+ if ($token === null) {
+ $this->_error(self::MISSING_TOKEN);
+ return false;
+ }
+
+ $strict = $this->getStrict();
+ if (($strict && ($value !== $token)) || (!$strict && ($value != $token))) {
+ $this->_error(self::NOT_SAME);
+ return false;
+ }
+
+ return true;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/InArray.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/InArray.php
new file mode 100644
index 0000000..4283666
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/InArray.php
@@ -0,0 +1,204 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_InArray extends Postman_Zend_Validate_Abstract
+{
+ const NOT_IN_ARRAY = 'notInArray';
+
+ /**
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::NOT_IN_ARRAY => "'%value%' was not found in the haystack",
+ );
+
+ /**
+ * Haystack of possible values
+ *
+ * @var array
+ */
+ protected $_haystack;
+
+ /**
+ * Whether a strict in_array() invocation is used
+ *
+ * @var boolean
+ */
+ protected $_strict = false;
+
+ /**
+ * Whether a recursive search should be done
+ *
+ * @var boolean
+ */
+ protected $_recursive = false;
+
+ /**
+ * Sets validator options
+ *
+ * @param array|Postman_Zend_Config $options Validator options
+ * @throws Postman_Zend_Validate_Exception
+ */
+ public function __construct($options)
+ {
+ if ($options instanceof Postman_Zend_Config) {
+ $options = $options->toArray();
+ } else if (!is_array($options)) {
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception('Array expected as parameter');
+ } else {
+ $count = func_num_args();
+ $temp = array();
+ if ($count > 1) {
+ $temp['haystack'] = func_get_arg(0);
+ $temp['strict'] = func_get_arg(1);
+ $options = $temp;
+ } else {
+ $temp = func_get_arg(0);
+ if (!array_key_exists('haystack', $options)) {
+ $options = array();
+ $options['haystack'] = $temp;
+ } else {
+ $options = $temp;
+ }
+ }
+ }
+
+ $this->setHaystack($options['haystack']);
+ if (array_key_exists('strict', $options)) {
+ $this->setStrict($options['strict']);
+ }
+
+ if (array_key_exists('recursive', $options)) {
+ $this->setRecursive($options['recursive']);
+ }
+ }
+
+ /**
+ * Returns the haystack option
+ *
+ * @return mixed
+ */
+ public function getHaystack()
+ {
+ return $this->_haystack;
+ }
+
+ /**
+ * Sets the haystack option
+ *
+ * @param mixed $haystack
+ * @return Postman_Zend_Validate_InArray Provides a fluent interface
+ */
+ public function setHaystack(array $haystack)
+ {
+ $this->_haystack = $haystack;
+ return $this;
+ }
+
+ /**
+ * Returns the strict option
+ *
+ * @return boolean
+ */
+ public function getStrict()
+ {
+ return $this->_strict;
+ }
+
+ /**
+ * Sets the strict option
+ *
+ * @param boolean $strict
+ * @return Postman_Zend_Validate_InArray Provides a fluent interface
+ */
+ public function setStrict($strict)
+ {
+ $this->_strict = (boolean) $strict;
+ return $this;
+ }
+
+ /**
+ * Returns the recursive option
+ *
+ * @return boolean
+ */
+ public function getRecursive()
+ {
+ return $this->_recursive;
+ }
+
+ /**
+ * Sets the recursive option
+ *
+ * @param boolean $recursive
+ * @return Postman_Zend_Validate_InArray Provides a fluent interface
+ */
+ public function setRecursive($recursive)
+ {
+ $this->_recursive = (boolean) $recursive;
+ return $this;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if and only if $value is contained in the haystack option. If the strict
+ * option is true, then the type of $value is also checked.
+ *
+ * @param mixed $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ $this->_setValue($value);
+ if ($this->getRecursive()) {
+ $iterator = new RecursiveIteratorIterator(new RecursiveArrayIterator($this->_haystack));
+ foreach($iterator as $element) {
+ if ($this->_strict) {
+ if ($element === $value) {
+ return true;
+ }
+ } else if ($element == $value) {
+ return true;
+ }
+ }
+ } else {
+ if (in_array($value, $this->_haystack, $this->_strict)) {
+ return true;
+ }
+ }
+
+ $this->_error(self::NOT_IN_ARRAY);
+ return false;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Int.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Int.php
new file mode 100644
index 0000000..9dd128c
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Int.php
@@ -0,0 +1,149 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @see Postman_Zend_Locale_Format
+ */
+require_once 'Zend/Locale/Format.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_Int extends Postman_Zend_Validate_Abstract
+{
+ const INVALID = 'intInvalid';
+ const NOT_INT = 'notInt';
+
+ /**
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::INVALID => "Invalid type given. String or integer expected",
+ self::NOT_INT => "'%value%' does not appear to be an integer",
+ );
+
+ protected $_locale;
+
+ /**
+ * Constructor for the integer validator
+ *
+ * @param string|Postman_Zend_Config|Postman_Zend_Locale $locale
+ */
+ public function __construct($locale = null)
+ {
+ if ($locale instanceof Postman_Zend_Config) {
+ $locale = $locale->toArray();
+ }
+
+ if (is_array($locale)) {
+ if (array_key_exists('locale', $locale)) {
+ $locale = $locale['locale'];
+ } else {
+ $locale = null;
+ }
+ }
+
+ if (empty($locale)) {
+ require_once 'Zend/Registry.php';
+ if (Postman_Zend_Registry::isRegistered('Postman_Zend_Locale')) {
+ $locale = Postman_Zend_Registry::get('Postman_Zend_Locale');
+ }
+ }
+
+ if ($locale !== null) {
+ $this->setLocale($locale);
+ }
+ }
+
+ /**
+ * Returns the set locale
+ */
+ public function getLocale()
+ {
+ return $this->_locale;
+ }
+
+ /**
+ * Sets the locale to use
+ *
+ * @param string|Postman_Zend_Locale $locale
+ * @return $this
+ */
+ public function setLocale($locale = null)
+ {
+ require_once 'Zend/Locale.php';
+ $this->_locale = Postman_Zend_Locale::findLocale($locale);
+ return $this;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if and only if $value is a valid integer
+ *
+ * @param string|integer $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ if (!is_string($value) && !is_int($value) && !is_float($value)) {
+ $this->_error(self::INVALID);
+ return false;
+ }
+
+ if (is_int($value)) {
+ return true;
+ }
+
+ $this->_setValue($value);
+ if ($this->_locale === null) {
+ $locale = localeconv();
+ $valueFiltered = str_replace($locale['decimal_point'], '.', $value);
+ $valueFiltered = str_replace($locale['thousands_sep'], '', $valueFiltered);
+
+ if (strval(intval($valueFiltered)) != $valueFiltered) {
+ $this->_error(self::NOT_INT);
+ return false;
+ }
+
+ } else {
+ try {
+ if (!Postman_Zend_Locale_Format::isInteger($value, array('locale' => $this->_locale))) {
+ $this->_error(self::NOT_INT);
+ return false;
+ }
+ } catch (Postman_Zend_Locale_Exception $e) {
+ $this->_error(self::NOT_INT);
+ return false;
+ }
+ }
+
+ return true;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Interface.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Interface.php
new file mode 100644
index 0000000..532f868
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Interface.php
@@ -0,0 +1,54 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+interface Postman_Zend_Validate_Interface
+{
+ /**
+ * Returns true if and only if $value meets the validation requirements
+ *
+ * If $value fails validation, then this method returns false, and
+ * getMessages() will return an array of messages that explain why the
+ * validation failed.
+ *
+ * @param mixed $value
+ * @return boolean
+ * @throws Postman_Zend_Validate_Exception If validation of $value is impossible
+ */
+ public function isValid($value);
+
+ /**
+ * Returns an array of messages that explain why the most recent isValid()
+ * call returned false. The array keys are validation failure message identifiers,
+ * and the array values are the corresponding human-readable message strings.
+ *
+ * If isValid() was never called or if the most recent isValid() call
+ * returned true, then this method returns an empty array.
+ *
+ * @return array
+ */
+ public function getMessages();
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Ip.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Ip.php
new file mode 100644
index 0000000..9c4fe79
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Ip.php
@@ -0,0 +1,192 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+// require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_Ip extends Postman_Zend_Validate_Abstract
+{
+ const INVALID = 'ipInvalid';
+ const NOT_IP_ADDRESS = 'notIpAddress';
+
+ /**
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::INVALID => "Invalid type given. String expected",
+ self::NOT_IP_ADDRESS => "'%value%' does not appear to be a valid IP address",
+ );
+
+ /**
+ * internal options
+ *
+ * @var array
+ */
+ protected $_options = array(
+ 'allowipv6' => true,
+ 'allowipv4' => true
+ );
+
+ /**
+ * Sets validator options
+ *
+ * @param array $options OPTIONAL Options to set, see the manual for all available options
+ */
+ public function __construct($options = array())
+ {
+ if ($options instanceof Postman_Zend_Config) {
+ $options = $options->toArray();
+ } else if (!is_array($options)) {
+ $options = func_get_args();
+ $temp['allowipv6'] = array_shift($options);
+ if (!empty($options)) {
+ $temp['allowipv4'] = array_shift($options);
+ }
+
+ $options = $temp;
+ }
+
+ $options += $this->_options;
+ $this->setOptions($options);
+ }
+
+ /**
+ * Returns all set options
+ *
+ * @return array
+ */
+ public function getOptions()
+ {
+ return $this->_options;
+ }
+
+ /**
+ * Sets the options for this validator
+ *
+ * @param array $options
+ * @throws Postman_Zend_Validate_Exception
+ * @return Postman_Zend_Validate_Ip
+ */
+ public function setOptions($options)
+ {
+ if (array_key_exists('allowipv6', $options)) {
+ $this->_options['allowipv6'] = (boolean) $options['allowipv6'];
+ }
+
+ if (array_key_exists('allowipv4', $options)) {
+ $this->_options['allowipv4'] = (boolean) $options['allowipv4'];
+ }
+
+ if (!$this->_options['allowipv4'] && !$this->_options['allowipv6']) {
+ // require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception('Nothing to validate. Check your options');
+ }
+
+ return $this;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if and only if $value is a valid IP address
+ *
+ * @param mixed $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ if (!is_string($value)) {
+ $this->_error(self::INVALID);
+ return false;
+ }
+
+ $this->_setValue($value);
+ if (($this->_options['allowipv4'] && !$this->_options['allowipv6'] && !$this->_validateIPv4($value)) ||
+ (!$this->_options['allowipv4'] && $this->_options['allowipv6'] && !$this->_validateIPv6($value)) ||
+ ($this->_options['allowipv4'] && $this->_options['allowipv6'] && !$this->_validateIPv4($value) && !$this->_validateIPv6($value))) {
+ $this->_error(self::NOT_IP_ADDRESS);
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
+ * Validates an IPv4 address
+ *
+ * @param string $value
+ * @return bool
+ */
+ protected function _validateIPv4($value) {
+ $ip2long = ip2long($value);
+ if($ip2long === false) {
+ return false;
+ }
+
+ return $value == long2ip($ip2long);
+ }
+
+ /**
+ * Validates an IPv6 address
+ *
+ * @param string $value Value to check against
+ * @return boolean True when $value is a valid ipv6 address
+ * False otherwise
+ */
+ protected function _validateIPv6($value) {
+ if (strlen($value) < 3) {
+ return $value == '::';
+ }
+
+ if (strpos($value, '.')) {
+ $lastcolon = strrpos($value, ':');
+ if (!($lastcolon && $this->_validateIPv4(substr($value, $lastcolon + 1)))) {
+ return false;
+ }
+
+ $value = substr($value, 0, $lastcolon) . ':0:0';
+ }
+
+ if (strpos($value, '::') === false) {
+ return preg_match('/\A(?:[a-f0-9]{1,4}:){7}[a-f0-9]{1,4}\z/i', $value);
+ }
+
+ $colonCount = substr_count($value, ':');
+ if ($colonCount < 8) {
+ return preg_match('/\A(?::|(?:[a-f0-9]{1,4}:)+):(?:(?:[a-f0-9]{1,4}:)*[a-f0-9]{1,4})?\z/i', $value);
+ }
+
+ // special case with ending or starting double colon
+ if ($colonCount == 8) {
+ return preg_match('/\A(?:::)?(?:[a-f0-9]{1,4}:){6}[a-f0-9]{1,4}(?:::)?\z/i', $value);
+ }
+
+ return false;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Isbn.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Isbn.php
new file mode 100644
index 0000000..342abca
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Isbn.php
@@ -0,0 +1,278 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_Isbn extends Postman_Zend_Validate_Abstract
+{
+ const AUTO = 'auto';
+ const ISBN10 = '10';
+ const ISBN13 = '13';
+ const INVALID = 'isbnInvalid';
+ const NO_ISBN = 'isbnNoIsbn';
+
+ /**
+ * Validation failure message template definitions.
+ *
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::INVALID => "Invalid type given. String or integer expected",
+ self::NO_ISBN => "'%value%' is not a valid ISBN number",
+ );
+
+ /**
+ * Allowed type.
+ *
+ * @var string
+ */
+ protected $_type = self::AUTO;
+
+ /**
+ * Separator character.
+ *
+ * @var string
+ */
+ protected $_separator = '';
+
+ /**
+ * Set up options.
+ *
+ * @param Postman_Zend_Config|array $options
+ * @throws Postman_Zend_Validate_Exception When $options is not valid
+ */
+ public function __construct($options = array())
+ {
+ // prepare options
+ if ($options instanceof Postman_Zend_Config) {
+ $options = $options->toArray();
+ }
+ if (!is_array($options)) {
+ /**
+ * @see Postman_Zend_Validate_Exception
+ */
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception('Invalid options provided.');
+ }
+
+ // set type
+ if (array_key_exists('type', $options)) {
+ $this->setType($options['type']);
+ }
+
+ // set separator
+ if (array_key_exists('separator', $options)) {
+ $this->setSeparator($options['separator']);
+ }
+ }
+
+ /**
+ * Detect input format.
+ *
+ * @return string
+ */
+ protected function _detectFormat()
+ {
+ // prepare separator and pattern list
+ $sep = quotemeta($this->_separator);
+ $patterns = array();
+ $lengths = array();
+
+ // check for ISBN-10
+ if ($this->_type == self::ISBN10 || $this->_type == self::AUTO) {
+ if (empty($sep)) {
+ $pattern = '/^[0-9]{9}[0-9X]{1}$/';
+ $length = 10;
+ } else {
+ $pattern = "/^[0-9]{1,7}[{$sep}]{1}[0-9]{1,7}[{$sep}]{1}[0-9]{1,7}[{$sep}]{1}[0-9X]{1}$/";
+ $length = 13;
+ }
+
+ $patterns[$pattern] = self::ISBN10;
+ $lengths[$pattern] = $length;
+ }
+
+ // check for ISBN-13
+ if ($this->_type == self::ISBN13 || $this->_type == self::AUTO) {
+ if (empty($sep)) {
+ $pattern = '/^[0-9]{13}$/';
+ $length = 13;
+ } else {
+ $pattern = "/^[0-9]{1,9}[{$sep}]{1}[0-9]{1,5}[{$sep}]{1}[0-9]{1,9}[{$sep}]{1}[0-9]{1,9}[{$sep}]{1}[0-9]{1}$/";
+ $length = 17;
+ }
+
+ $patterns[$pattern] = self::ISBN13;
+ $lengths[$pattern] = $length;
+ }
+
+ // check pattern list
+ foreach ($patterns as $pattern => $type) {
+ if ((strlen($this->_value) == $lengths[$pattern]) && preg_match($pattern, $this->_value)) {
+ return $type;
+ }
+ }
+
+ return null;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface.
+ *
+ * Returns true if and only if $value is a valid ISBN.
+ *
+ * @param string $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ if (!is_string($value) && !is_int($value)) {
+ $this->_error(self::INVALID);
+ return false;
+ }
+
+ $value = (string) $value;
+ $this->_setValue($value);
+
+ switch ($this->_detectFormat()) {
+ case self::ISBN10:
+ // sum
+ $isbn10 = str_replace($this->_separator, '', $value);
+ $sum = 0;
+ for ($i = 0; $i < 9; $i++) {
+ $sum += (10 - $i) * $isbn10{$i};
+ }
+
+ // checksum
+ $checksum = 11 - ($sum % 11);
+ if ($checksum == 11) {
+ $checksum = '0';
+ } elseif ($checksum == 10) {
+ $checksum = 'X';
+ }
+ break;
+
+ case self::ISBN13:
+ // sum
+ $isbn13 = str_replace($this->_separator, '', $value);
+ $sum = 0;
+ for ($i = 0; $i < 12; $i++) {
+ if ($i % 2 == 0) {
+ $sum += $isbn13{$i};
+ } else {
+ $sum += 3 * $isbn13{$i};
+ }
+ }
+ // checksum
+ $checksum = 10 - ($sum % 10);
+ if ($checksum == 10) {
+ $checksum = '0';
+ }
+ break;
+
+ default:
+ $this->_error(self::NO_ISBN);
+ return false;
+ }
+
+ // validate
+ if (substr($this->_value, -1) != $checksum) {
+ $this->_error(self::NO_ISBN);
+ return false;
+ }
+ return true;
+ }
+
+ /**
+ * Set separator characters.
+ *
+ * It is allowed only empty string, hyphen and space.
+ *
+ * @param string $separator
+ * @throws Postman_Zend_Validate_Exception When $separator is not valid
+ * @return Postman_Zend_Validate_Isbn Provides a fluent interface
+ */
+ public function setSeparator($separator)
+ {
+ // check separator
+ if (!in_array($separator, array('-', ' ', ''))) {
+ /**
+ * @see Postman_Zend_Validate_Exception
+ */
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception('Invalid ISBN separator.');
+ }
+
+ $this->_separator = $separator;
+ return $this;
+ }
+
+ /**
+ * Get separator characters.
+ *
+ * @return string
+ */
+ public function getSeparator()
+ {
+ return $this->_separator;
+ }
+
+ /**
+ * Set allowed ISBN type.
+ *
+ * @param string $type
+ * @throws Postman_Zend_Validate_Exception When $type is not valid
+ * @return Postman_Zend_Validate_Isbn Provides a fluent interface
+ */
+ public function setType($type)
+ {
+ // check type
+ if (!in_array($type, array(self::AUTO, self::ISBN10, self::ISBN13))) {
+ /**
+ * @see Postman_Zend_Validate_Exception
+ */
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception('Invalid ISBN type');
+ }
+
+ $this->_type = $type;
+ return $this;
+ }
+
+ /**
+ * Get allowed ISBN type.
+ *
+ * @return string
+ */
+ public function getType()
+ {
+ return $this->_type;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/LessThan.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/LessThan.php
new file mode 100644
index 0000000..e6f1524
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/LessThan.php
@@ -0,0 +1,122 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_LessThan extends Postman_Zend_Validate_Abstract
+{
+ const NOT_LESS = 'notLessThan';
+
+ /**
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::NOT_LESS => "'%value%' is not less than '%max%'"
+ );
+
+ /**
+ * @var array
+ */
+ protected $_messageVariables = array(
+ 'max' => '_max'
+ );
+
+ /**
+ * Maximum value
+ *
+ * @var mixed
+ */
+ protected $_max;
+
+ /**
+ * Sets validator options
+ *
+ * @param mixed|Postman_Zend_Config $max
+ * @throws Postman_Zend_Validate_Exception
+ */
+ public function __construct($max)
+ {
+ if ($max instanceof Postman_Zend_Config) {
+ $max = $max->toArray();
+ }
+
+ if (is_array($max)) {
+ if (array_key_exists('max', $max)) {
+ $max = $max['max'];
+ } else {
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception("Missing option 'max'");
+ }
+ }
+
+ $this->setMax($max);
+ }
+
+ /**
+ * Returns the max option
+ *
+ * @return mixed
+ */
+ public function getMax()
+ {
+ return $this->_max;
+ }
+
+ /**
+ * Sets the max option
+ *
+ * @param mixed $max
+ * @return Postman_Zend_Validate_LessThan Provides a fluent interface
+ */
+ public function setMax($max)
+ {
+ $this->_max = $max;
+ return $this;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if and only if $value is less than max option
+ *
+ * @param mixed $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ $this->_setValue($value);
+ if ($this->_max <= $value) {
+ $this->_error(self::NOT_LESS);
+ return false;
+ }
+ return true;
+ }
+
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/NotEmpty.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/NotEmpty.php
new file mode 100644
index 0000000..5b25890
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/NotEmpty.php
@@ -0,0 +1,279 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_NotEmpty extends Postman_Zend_Validate_Abstract
+{
+ const BOOLEAN = 1;
+ const INTEGER = 2;
+ const FLOAT = 4;
+ const STRING = 8;
+ const ZERO = 16;
+ const EMPTY_ARRAY = 32;
+ const NULL = 64;
+ const PHP = 127;
+ const SPACE = 128;
+ const OBJECT = 256;
+ const OBJECT_STRING = 512;
+ const OBJECT_COUNT = 1024;
+ const ALL = 2047;
+
+ const INVALID = 'notEmptyInvalid';
+ const IS_EMPTY = 'isEmpty';
+
+ protected $_constants = array(
+ self::BOOLEAN => 'boolean',
+ self::INTEGER => 'integer',
+ self::FLOAT => 'float',
+ self::STRING => 'string',
+ self::ZERO => 'zero',
+ self::EMPTY_ARRAY => 'array',
+ self::NULL => 'null',
+ self::PHP => 'php',
+ self::SPACE => 'space',
+ self::OBJECT => 'object',
+ self::OBJECT_STRING => 'objectstring',
+ self::OBJECT_COUNT => 'objectcount',
+ self::ALL => 'all',
+ );
+
+ /**
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::IS_EMPTY => "Value is required and can't be empty",
+ self::INVALID => "Invalid type given. String, integer, float, boolean or array expected",
+ );
+
+ /**
+ * Internal type to detect
+ *
+ * @var integer
+ */
+ protected $_type = 493;
+
+ /**
+ * Constructor
+ *
+ * @param string|array|Postman_Zend_Config $options OPTIONAL
+ */
+ public function __construct($options = null)
+ {
+ if ($options instanceof Postman_Zend_Config) {
+ $options = $options->toArray();
+ } else if (!is_array($options)) {
+ $options = func_get_args();
+ $temp = array();
+ if (!empty($options)) {
+ $temp['type'] = array_shift($options);
+ }
+
+ $options = $temp;
+ }
+
+ if (is_array($options) && array_key_exists('type', $options)) {
+ $this->setType($options['type']);
+ }
+ }
+
+ /**
+ * Returns the set types
+ *
+ * @return array
+ */
+ public function getType()
+ {
+ return $this->_type;
+ }
+
+ /**
+ * Set the types
+ *
+ * @param integer|array $type
+ * @throws Postman_Zend_Validate_Exception
+ * @return Postman_Zend_Validate_NotEmpty
+ */
+ public function setType($type = null)
+ {
+ if (is_array($type)) {
+ $detected = 0;
+ foreach($type as $value) {
+ if (is_int($value)) {
+ $detected += $value;
+ } else if (in_array($value, $this->_constants)) {
+ $detected += array_search($value, $this->_constants);
+ }
+ }
+
+ $type = $detected;
+ } else if (is_string($type) && in_array($type, $this->_constants)) {
+ $type = array_search($type, $this->_constants);
+ }
+
+ if (!is_int($type) || ($type < 0) || ($type > self::ALL)) {
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception('Unknown type');
+ }
+
+ $this->_type = $type;
+ return $this;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if and only if $value is not an empty value.
+ *
+ * @param string $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ if ($value !== null && !is_string($value) && !is_int($value) && !is_float($value) &&
+ !is_bool($value) && !is_array($value) && !is_object($value)) {
+ $this->_error(self::INVALID);
+ return false;
+ }
+
+ $type = $this->getType();
+ $this->_setValue($value);
+ $object = false;
+
+ // OBJECT_COUNT (countable object)
+ if ($type >= self::OBJECT_COUNT) {
+ $type -= self::OBJECT_COUNT;
+ $object = true;
+
+ if (is_object($value) && ($value instanceof Countable) && (count($value) == 0)) {
+ $this->_error(self::IS_EMPTY);
+ return false;
+ }
+ }
+
+ // OBJECT_STRING (object's toString)
+ if ($type >= self::OBJECT_STRING) {
+ $type -= self::OBJECT_STRING;
+ $object = true;
+
+ if ((is_object($value) && (!method_exists($value, '__toString'))) ||
+ (is_object($value) && (method_exists($value, '__toString')) && (((string) $value) == ""))) {
+ $this->_error(self::IS_EMPTY);
+ return false;
+ }
+ }
+
+ // OBJECT (object)
+ if ($type >= self::OBJECT) {
+ $type -= self::OBJECT;
+ // fall trough, objects are always not empty
+ } else if ($object === false) {
+ // object not allowed but object given -> return false
+ if (is_object($value)) {
+ $this->_error(self::IS_EMPTY);
+ return false;
+ }
+ }
+
+ // SPACE (' ')
+ if ($type >= self::SPACE) {
+ $type -= self::SPACE;
+ if (is_string($value) && (preg_match('/^\s+$/s', $value))) {
+ $this->_error(self::IS_EMPTY);
+ return false;
+ }
+ }
+
+ // NULL (null)
+ if ($type >= self::NULL) {
+ $type -= self::NULL;
+ if ($value === null) {
+ $this->_error(self::IS_EMPTY);
+ return false;
+ }
+ }
+
+ // EMPTY_ARRAY (array())
+ if ($type >= self::EMPTY_ARRAY) {
+ $type -= self::EMPTY_ARRAY;
+ if (is_array($value) && ($value == array())) {
+ $this->_error(self::IS_EMPTY);
+ return false;
+ }
+ }
+
+ // ZERO ('0')
+ if ($type >= self::ZERO) {
+ $type -= self::ZERO;
+ if (is_string($value) && ($value == '0')) {
+ $this->_error(self::IS_EMPTY);
+ return false;
+ }
+ }
+
+ // STRING ('')
+ if ($type >= self::STRING) {
+ $type -= self::STRING;
+ if (is_string($value) && ($value == '')) {
+ $this->_error(self::IS_EMPTY);
+ return false;
+ }
+ }
+
+ // FLOAT (0.0)
+ if ($type >= self::FLOAT) {
+ $type -= self::FLOAT;
+ if (is_float($value) && ($value == 0.0)) {
+ $this->_error(self::IS_EMPTY);
+ return false;
+ }
+ }
+
+ // INTEGER (0)
+ if ($type >= self::INTEGER) {
+ $type -= self::INTEGER;
+ if (is_int($value) && ($value == 0)) {
+ $this->_error(self::IS_EMPTY);
+ return false;
+ }
+ }
+
+ // BOOLEAN (false)
+ if ($type >= self::BOOLEAN) {
+ $type -= self::BOOLEAN;
+ if (is_bool($value) && ($value == false)) {
+ $this->_error(self::IS_EMPTY);
+ return false;
+ }
+ }
+
+ return true;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/PostCode.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/PostCode.php
new file mode 100644
index 0000000..a84f02e
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/PostCode.php
@@ -0,0 +1,210 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @see Postman_Zend_Locale_Format
+ */
+require_once 'Zend/Locale/Format.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_PostCode extends Postman_Zend_Validate_Abstract
+{
+ const INVALID = 'postcodeInvalid';
+ const NO_MATCH = 'postcodeNoMatch';
+
+ /**
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::INVALID => "Invalid type given. String or integer expected",
+ self::NO_MATCH => "'%value%' does not appear to be a postal code",
+ );
+
+ /**
+ * Locale to use
+ *
+ * @var string
+ */
+ protected $_locale;
+
+ /**
+ * Manual postal code format
+ *
+ * @var unknown_type
+ */
+ protected $_format;
+
+ /**
+ * Constructor for the integer validator
+ *
+ * Accepts either a string locale, a Postman_Zend_Locale object, or an array or
+ * Postman_Zend_Config object containing the keys "locale" and/or "format".
+ *
+ * @param string|Postman_Zend_Locale|array|Postman_Zend_Config $options
+ * @throws Postman_Zend_Validate_Exception On empty format
+ */
+ public function __construct($options = null)
+ {
+ if ($options instanceof Postman_Zend_Config) {
+ $options = $options->toArray();
+ }
+
+ if (empty($options)) {
+ require_once 'Zend/Registry.php';
+ if (Postman_Zend_Registry::isRegistered('Postman_Zend_Locale')) {
+ $this->setLocale(Postman_Zend_Registry::get('Postman_Zend_Locale'));
+ }
+ } elseif (is_array($options)) {
+ // Received
+ if (array_key_exists('locale', $options)) {
+ $this->setLocale($options['locale']);
+ }
+
+ if (array_key_exists('format', $options)) {
+ $this->setFormat($options['format']);
+ }
+ } elseif ($options instanceof Postman_Zend_Locale || is_string($options)) {
+ // Received Locale object or string locale
+ $this->setLocale($options);
+ }
+
+ $format = $this->getFormat();
+ if (empty($format)) {
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception("A postcode-format string has to be given for validation");
+ }
+ }
+
+ /**
+ * Returns the set locale
+ *
+ * @return string|Postman_Zend_Locale The set locale
+ */
+ public function getLocale()
+ {
+ return $this->_locale;
+ }
+
+ /**
+ * Sets the locale to use
+ *
+ * @param string|Postman_Zend_Locale $locale
+ * @throws Postman_Zend_Validate_Exception On unrecognised region
+ * @throws Postman_Zend_Validate_Exception On not detected format
+ * @return Postman_Zend_Validate_PostCode Provides a fluent interface
+ */
+ public function setLocale($locale = null)
+ {
+ require_once 'Zend/Locale.php';
+ $this->_locale = Postman_Zend_Locale::findLocale($locale);
+ $locale = new Postman_Zend_Locale($this->_locale);
+ $region = $locale->getRegion();
+ if (empty($region)) {
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception("Unable to detect a region for the locale '$locale'");
+ }
+
+ $format = Postman_Zend_Locale::getTranslation(
+ $locale->getRegion(),
+ 'postaltoterritory',
+ $this->_locale
+ );
+
+ if (empty($format)) {
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception("Unable to detect a postcode format for the region '{$locale->getRegion()}'");
+ }
+
+ $this->setFormat($format);
+ return $this;
+ }
+
+ /**
+ * Returns the set postal code format
+ *
+ * @return string
+ */
+ public function getFormat()
+ {
+ return $this->_format;
+ }
+
+ /**
+ * Sets a self defined postal format as regex
+ *
+ * @param string $format
+ * @throws Postman_Zend_Validate_Exception On empty format
+ * @return Postman_Zend_Validate_PostCode Provides a fluent interface
+ */
+ public function setFormat($format)
+ {
+ if (empty($format) || !is_string($format)) {
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception("A postcode-format string has to be given for validation");
+ }
+
+ if ($format[0] !== '/') {
+ $format = '/^' . $format;
+ }
+
+ if ($format[strlen($format) - 1] !== '/') {
+ $format .= '$/';
+ }
+
+ $this->_format = $format;
+ return $this;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if and only if $value is a valid postalcode
+ *
+ * @param string $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ $this->_setValue($value);
+ if (!is_string($value) && !is_int($value)) {
+ $this->_error(self::INVALID);
+ return false;
+ }
+
+ $format = $this->getFormat();
+ if (!preg_match($format, $value)) {
+ $this->_error(self::NO_MATCH);
+ return false;
+ }
+
+ return true;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/Regex.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/Regex.php
new file mode 100644
index 0000000..50be855
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/Regex.php
@@ -0,0 +1,146 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_Regex extends Postman_Zend_Validate_Abstract
+{
+ const INVALID = 'regexInvalid';
+ const NOT_MATCH = 'regexNotMatch';
+ const ERROROUS = 'regexErrorous';
+
+ /**
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::INVALID => "Invalid type given. String, integer or float expected",
+ self::NOT_MATCH => "'%value%' does not match against pattern '%pattern%'",
+ self::ERROROUS => "There was an internal error while using the pattern '%pattern%'",
+ );
+
+ /**
+ * @var array
+ */
+ protected $_messageVariables = array(
+ 'pattern' => '_pattern'
+ );
+
+ /**
+ * Regular expression pattern
+ *
+ * @var string
+ */
+ protected $_pattern;
+
+ /**
+ * Sets validator options
+ *
+ * @param string|Postman_Zend_Config $pattern
+ * @throws Postman_Zend_Validate_Exception On missing 'pattern' parameter
+ */
+ public function __construct($pattern)
+ {
+ if ($pattern instanceof Postman_Zend_Config) {
+ $pattern = $pattern->toArray();
+ }
+
+ if (is_array($pattern)) {
+ if (array_key_exists('pattern', $pattern)) {
+ $pattern = $pattern['pattern'];
+ } else {
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception("Missing option 'pattern'");
+ }
+ }
+
+ $this->setPattern($pattern);
+ }
+
+ /**
+ * Returns the pattern option
+ *
+ * @return string
+ */
+ public function getPattern()
+ {
+ return $this->_pattern;
+ }
+
+ /**
+ * Sets the pattern option
+ *
+ * @param string $pattern
+ * @throws Postman_Zend_Validate_Exception if there is a fatal error in pattern matching
+ * @return Postman_Zend_Validate_Regex Provides a fluent interface
+ */
+ public function setPattern($pattern)
+ {
+ $this->_pattern = (string) $pattern;
+ $status = @preg_match($this->_pattern, "Test");
+
+ if (false === $status) {
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception("Internal error while using the pattern '$this->_pattern'");
+ }
+
+ return $this;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if and only if $value matches against the pattern option
+ *
+ * @param string $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ if (!is_string($value) && !is_int($value) && !is_float($value)) {
+ $this->_error(self::INVALID);
+ return false;
+ }
+
+ $this->_setValue($value);
+
+ $status = @preg_match($this->_pattern, $value);
+ if (false === $status) {
+ $this->_error(self::ERROROUS);
+ return false;
+ }
+
+ if (!$status) {
+ $this->_error(self::NOT_MATCH);
+ return false;
+ }
+
+ return true;
+ }
+}
diff --git a/Postman/Postman-Mail/Zend-1.12.10/Validate/StringLength.php b/Postman/Postman-Mail/Zend-1.12.10/Validate/StringLength.php
new file mode 100644
index 0000000..62b5a00
--- /dev/null
+++ b/Postman/Postman-Mail/Zend-1.12.10/Validate/StringLength.php
@@ -0,0 +1,263 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
+
+/**
+ * @see Postman_Zend_Validate_Abstract
+ */
+require_once 'Zend/Validate/Abstract.php';
+
+/**
+ * @category Zend
+ * @package Postman_Zend_Validate
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Postman_Zend_Validate_StringLength extends Postman_Zend_Validate_Abstract
+{
+ const INVALID = 'stringLengthInvalid';
+ const TOO_SHORT = 'stringLengthTooShort';
+ const TOO_LONG = 'stringLengthTooLong';
+
+ /**
+ * @var array
+ */
+ protected $_messageTemplates = array(
+ self::INVALID => "Invalid type given. String expected",
+ self::TOO_SHORT => "'%value%' is less than %min% characters long",
+ self::TOO_LONG => "'%value%' is more than %max% characters long",
+ );
+
+ /**
+ * @var array
+ */
+ protected $_messageVariables = array(
+ 'min' => '_min',
+ 'max' => '_max'
+ );
+
+ /**
+ * Minimum length
+ *
+ * @var integer
+ */
+ protected $_min;
+
+ /**
+ * Maximum length
+ *
+ * If null, there is no maximum length
+ *
+ * @var integer|null
+ */
+ protected $_max;
+
+ /**
+ * Encoding to use
+ *
+ * @var string|null
+ */
+ protected $_encoding;
+
+ /**
+ * Sets validator options
+ *
+ * @param integer|array|Postman_Zend_Config $options
+ */
+ public function __construct($options = array())
+ {
+ if ($options instanceof Postman_Zend_Config) {
+ $options = $options->toArray();
+ } else if (!is_array($options)) {
+ $options = func_get_args();
+ $temp['min'] = array_shift($options);
+ if (!empty($options)) {
+ $temp['max'] = array_shift($options);
+ }
+
+ if (!empty($options)) {
+ $temp['encoding'] = array_shift($options);
+ }
+
+ $options = $temp;
+ }
+
+ if (!array_key_exists('min', $options)) {
+ $options['min'] = 0;
+ }
+
+ $this->setMin($options['min']);
+ if (array_key_exists('max', $options)) {
+ $this->setMax($options['max']);
+ }
+
+ if (array_key_exists('encoding', $options)) {
+ $this->setEncoding($options['encoding']);
+ }
+ }
+
+ /**
+ * Returns the min option
+ *
+ * @return integer
+ */
+ public function getMin()
+ {
+ return $this->_min;
+ }
+
+ /**
+ * Sets the min option
+ *
+ * @param integer $min
+ * @throws Postman_Zend_Validate_Exception
+ * @return Postman_Zend_Validate_StringLength Provides a fluent interface
+ */
+ public function setMin($min)
+ {
+ if (null !== $this->_max && $min > $this->_max) {
+ /**
+ * @see Postman_Zend_Validate_Exception
+ */
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception("The minimum must be less than or equal to the maximum length, but $min >"
+ . " $this->_max");
+ }
+ $this->_min = max(0, (integer) $min);
+ return $this;
+ }
+
+ /**
+ * Returns the max option
+ *
+ * @return integer|null
+ */
+ public function getMax()
+ {
+ return $this->_max;
+ }
+
+ /**
+ * Sets the max option
+ *
+ * @param integer|null $max
+ * @throws Postman_Zend_Validate_Exception
+ * @return Postman_Zend_Validate_StringLength Provides a fluent interface
+ */
+ public function setMax($max)
+ {
+ if (null === $max) {
+ $this->_max = null;
+ } else if ($max < $this->_min) {
+ /**
+ * @see Postman_Zend_Validate_Exception
+ */
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception("The maximum must be greater than or equal to the minimum length, but "
+ . "$max < $this->_min");
+ } else {
+ $this->_max = (integer) $max;
+ }
+
+ return $this;
+ }
+
+ /**
+ * Returns the actual encoding
+ *
+ * @return string
+ */
+ public function getEncoding()
+ {
+ return $this->_encoding;
+ }
+
+ /**
+ * Sets a new encoding to use
+ *
+ * @param string $encoding
+ * @throws Postman_Zend_Validate_Exception
+ * @return Postman_Zend_Validate_StringLength
+ */
+ public function setEncoding($encoding = null)
+ {
+ if ($encoding !== null) {
+ $orig = PHP_VERSION_ID < 50600
+ ? iconv_get_encoding('internal_encoding')
+ : ini_get('default_charset');
+ if (PHP_VERSION_ID < 50600) {
+ $result = iconv_set_encoding('internal_encoding', $encoding);
+ } else {
+ $result = ini_set('default_charset', $encoding);
+ }
+ if (!$result) {
+ require_once 'Zend/Validate/Exception.php';
+ throw new Postman_Zend_Validate_Exception('Given encoding not supported on this OS!');
+ }
+
+ if (PHP_VERSION_ID < 50600) {
+ iconv_set_encoding('internal_encoding', $orig);
+ } else {
+ ini_set('default_charset', $orig);
+ }
+ }
+
+ $this->_encoding = $encoding;
+ return $this;
+ }
+
+ /**
+ * Defined by Postman_Zend_Validate_Interface
+ *
+ * Returns true if and only if the string length of $value is at least the min option and
+ * no greater than the max option (when the max option is not null).
+ *
+ * @param string $value
+ * @return boolean
+ */
+ public function isValid($value)
+ {
+ if (!is_string($value)) {
+ $this->_error(self::INVALID);
+ return false;
+ }
+
+ $this->_setValue($value);
+ if ($this->_encoding !== null) {
+ $length = iconv_strlen($value, $this->_encoding);
+ } else {
+ $length = iconv_strlen($value);
+ }
+
+ if ($length < $this->_min) {
+ $this->_error(self::TOO_SHORT);
+ }
+
+ if (null !== $this->_max && $this->_max < $length) {
+ $this->_error(self::TOO_LONG);
+ }
+
+ if (count($this->_messages)) {
+ return false;
+ } else {
+ return true;
+ }
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/.gitignore b/Postman/Postman-Mail/google-api-php-client-1.1.2/.gitignore
new file mode 100644
index 0000000..ce3aa65
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/.gitignore
@@ -0,0 +1 @@
+phpunit.xml
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/.travis.yml b/Postman/Postman-Mail/google-api-php-client-1.1.2/.travis.yml
new file mode 100644
index 0000000..8503d6b
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/.travis.yml
@@ -0,0 +1,26 @@
+language: php
+
+services:
+ - memcached
+
+env:
+ - MEMCACHE_HOST=127.0.0.1 MEMCACHE_PORT=11211
+
+php:
+ # Can't test against 5.2; openssl is not available:
+ # http://docs.travis-ci.com/user/languages/php/#PHP-installation
+ - 5.3
+ - 5.4
+ - 5.5
+ - 5.6
+ - hhvm
+
+before_script:
+ - composer install
+ - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "extension=memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
+ - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
+ - phpenv version-name | grep ^5.[34] && echo "extension=apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini ; true
+ - phpenv version-name | grep ^5.[34] && echo "apc.enable_cli=1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini ; true
+
+script:
+ - vendor/bin/phpunit
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/CONTRIBUTING.md b/Postman/Postman-Mail/google-api-php-client-1.1.2/CONTRIBUTING.md
new file mode 100644
index 0000000..e852a93
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/CONTRIBUTING.md
@@ -0,0 +1,22 @@
+# How to become a contributor and submit your own code
+
+## Contributor License Agreements
+
+We'd love to accept your code patches! However, before we can take them, we have to jump a couple of legal hurdles.
+
+Please fill out either the individual or corporate Contributor License Agreement (CLA).
+
+ * If you are an individual writing original source code and you're sure you own the intellectual property, then you'll need to sign an [individual CLA](http://code.google.com/legal/individual-cla-v1.0.html).
+ * If you work for a company that wants to allow you to contribute your work to this client library, then you'll need to sign a[corporate CLA](http://code.google.com/legal/corporate-cla-v1.0.html).
+
+Follow either of the two links above to access the appropriate CLA and instructions for how to sign and return it. Once we receive it, we'll add you to the official list of contributors and be able to accept your patches.
+
+## Submitting Patches
+
+1. Fork the PHP client library on GitHub
+1. Decide which code you want to submit. A submission should be a set of changes that addresses one issue in the issue tracker. Please file one change per issue, and address one issue per change. If you want to make a change that doesn't have a corresponding issue in the issue tracker, please file a new ticket!
+1. Ensure that your code adheres to standard PHP conventions, as used in the rest of the library.
+1. Ensure that there are unit tests for your code.
+1. Sign a Contributor License Agreement (see above).
+1. Submit a pull request with your patch on Github.
+
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/LICENSE b/Postman/Postman-Mail/google-api-php-client-1.1.2/LICENSE
new file mode 100644
index 0000000..a148ba5
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/LICENSE
@@ -0,0 +1,203 @@
+Apache License
+Version 2.0, January 2004
+http://www.apache.org/licenses/
+
+TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+1. Definitions.
+
+"License" shall mean the terms and conditions for use, reproduction,
+and distribution as defined by Sections 1 through 9 of this document.
+
+"Licensor" shall mean the copyright owner or entity authorized by
+the copyright owner that is granting the License.
+
+"Legal Entity" shall mean the union of the acting entity and all
+other entities that control, are controlled by, or are under common
+control with that entity. For the purposes of this definition,
+"control" means (i) the power, direct or indirect, to cause the
+direction or management of such entity, whether by contract or
+otherwise, or (ii) ownership of fifty percent (50%) or more of the
+outstanding shares, or (iii) beneficial ownership of such entity.
+
+"You" (or "Your") shall mean an individual or Legal Entity
+exercising permissions granted by this License.
+
+"Source" form shall mean the preferred form for making modifications,
+including but not limited to software source code, documentation
+source, and configuration files.
+
+"Object" form shall mean any form resulting from mechanical
+transformation or translation of a Source form, including but
+not limited to compiled object code, generated documentation,
+and conversions to other media types.
+
+"Work" shall mean the work of authorship, whether in Source or
+Object form, made available under the License, as indicated by a
+copyright notice that is included in or attached to the work
+(an example is provided in the Appendix below).
+
+"Derivative Works" shall mean any work, whether in Source or Object
+form, that is based on (or derived from) the Work and for which the
+editorial revisions, annotations, elaborations, or other modifications
+represent, as a whole, an original work of authorship. For the purposes
+of this License, Derivative Works shall not include works that remain
+separable from, or merely link (or bind by name) to the interfaces of,
+the Work and Derivative Works thereof.
+
+"Contribution" shall mean any work of authorship, including
+the original version of the Work and any modifications or additions
+to that Work or Derivative Works thereof, that is intentionally
+submitted to Licensor for inclusion in the Work by the copyright owner
+or by an individual or Legal Entity authorized to submit on behalf of
+the copyright owner. For the purposes of this definition, "submitted"
+means any form of electronic, verbal, or written communication sent
+to the Licensor or its representatives, including but not limited to
+communication on electronic mailing lists, source code control systems,
+and issue tracking systems that are managed by, or on behalf of, the
+Licensor for the purpose of discussing and improving the Work, but
+excluding communication that is conspicuously marked or otherwise
+designated in writing by the copyright owner as "Not a Contribution."
+
+"Contributor" shall mean Licensor and any individual or Legal Entity
+on behalf of whom a Contribution has been received by Licensor and
+subsequently incorporated within the Work.
+
+2. Grant of Copyright License. Subject to the terms and conditions of
+this License, each Contributor hereby grants to You a perpetual,
+worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+copyright license to reproduce, prepare Derivative Works of,
+publicly display, publicly perform, sublicense, and distribute the
+Work and such Derivative Works in Source or Object form.
+
+3. Grant of Patent License. Subject to the terms and conditions of
+this License, each Contributor hereby grants to You a perpetual,
+worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+(except as stated in this section) patent license to make, have made,
+use, offer to sell, sell, import, and otherwise transfer the Work,
+where such license applies only to those patent claims licensable
+by such Contributor that are necessarily infringed by their
+Contribution(s) alone or by combination of their Contribution(s)
+with the Work to which such Contribution(s) was submitted. If You
+institute patent litigation against any entity (including a
+cross-claim or counterclaim in a lawsuit) alleging that the Work
+or a Contribution incorporated within the Work constitutes direct
+or contributory patent infringement, then any patent licenses
+granted to You under this License for that Work shall terminate
+as of the date such litigation is filed.
+
+4. Redistribution. You may reproduce and distribute copies of the
+Work or Derivative Works thereof in any medium, with or without
+modifications, and in Source or Object form, provided that You
+meet the following conditions:
+
+(a) You must give any other recipients of the Work or
+Derivative Works a copy of this License; and
+
+(b) You must cause any modified files to carry prominent notices
+stating that You changed the files; and
+
+(c) You must retain, in the Source form of any Derivative Works
+that You distribute, all copyright, patent, trademark, and
+attribution notices from the Source form of the Work,
+excluding those notices that do not pertain to any part of
+the Derivative Works; and
+
+(d) If the Work includes a "NOTICE" text file as part of its
+distribution, then any Derivative Works that You distribute must
+include a readable copy of the attribution notices contained
+within such NOTICE file, excluding those notices that do not
+pertain to any part of the Derivative Works, in at least one
+of the following places: within a NOTICE text file distributed
+as part of the Derivative Works; within the Source form or
+documentation, if provided along with the Derivative Works; or,
+within a display generated by the Derivative Works, if and
+wherever such third-party notices normally appear. The contents
+of the NOTICE file are for informational purposes only and
+do not modify the License. You may add Your own attribution
+notices within Derivative Works that You distribute, alongside
+or as an addendum to the NOTICE text from the Work, provided
+that such additional attribution notices cannot be construed
+as modifying the License.
+
+You may add Your own copyright statement to Your modifications and
+may provide additional or different license terms and conditions
+for use, reproduction, or distribution of Your modifications, or
+for any such Derivative Works as a whole, provided Your use,
+reproduction, and distribution of the Work otherwise complies with
+the conditions stated in this License.
+
+5. Submission of Contributions. Unless You explicitly state otherwise,
+any Contribution intentionally submitted for inclusion in the Work
+by You to the Licensor shall be under the terms and conditions of
+this License, without any additional terms or conditions.
+Notwithstanding the above, nothing herein shall supersede or modify
+the terms of any separate license agreement you may have executed
+with Licensor regarding such Contributions.
+
+6. Trademarks. This License does not grant permission to use the trade
+names, trademarks, service marks, or product names of the Licensor,
+except as required for reasonable and customary use in describing the
+origin of the Work and reproducing the content of the NOTICE file.
+
+7. Disclaimer of Warranty. Unless required by applicable law or
+agreed to in writing, Licensor provides the Work (and each
+Contributor provides its Contributions) on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+implied, including, without limitation, any warranties or conditions
+of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+PARTICULAR PURPOSE. You are solely responsible for determining the
+appropriateness of using or redistributing the Work and assume any
+risks associated with Your exercise of permissions under this License.
+
+8. Limitation of Liability. In no event and under no legal theory,
+whether in tort (including negligence), contract, or otherwise,
+unless required by applicable law (such as deliberate and grossly
+negligent acts) or agreed to in writing, shall any Contributor be
+liable to You for damages, including any direct, indirect, special,
+incidental, or consequential damages of any character arising as a
+result of this License or out of the use or inability to use the
+Work (including but not limited to damages for loss of goodwill,
+work stoppage, computer failure or malfunction, or any and all
+other commercial damages or losses), even if such Contributor
+has been advised of the possibility of such damages.
+
+9. Accepting Warranty or Additional Liability. While redistributing
+the Work or Derivative Works thereof, You may choose to offer,
+and charge a fee for, acceptance of support, warranty, indemnity,
+or other liability obligations and/or rights consistent with this
+License. However, in accepting such obligations, You may act only
+on Your own behalf and on Your sole responsibility, not on behalf
+of any other Contributor, and only if You agree to indemnify,
+defend, and hold each Contributor harmless for any liability
+incurred by, or claims asserted against, such Contributor by reason
+of your accepting any such warranty or additional liability.
+
+END OF TERMS AND CONDITIONS
+
+APPENDIX: How to apply the Apache License to your work.
+
+To apply the Apache License to your work, attach the following
+boilerplate notice, with the fields enclosed by brackets "[]"
+replaced with your own identifying information. (Don't include
+the brackets!) The text should be enclosed in the appropriate
+comment syntax for the file format. We also recommend that a
+file or class name and description of purpose be included on the
+same "printed page" as the copyright notice for easier
+identification within third-party archives.
+
+Copyright [yyyy] [name of copyright owner]
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/README.md b/Postman/Postman-Mail/google-api-php-client-1.1.2/README.md
new file mode 100644
index 0000000..8b9af02
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/README.md
@@ -0,0 +1,81 @@
+[![Build Status](https://travis-ci.org/google/google-api-php-client.svg)](https://travis-ci.org/google/google-api-php-client)
+
+# Google APIs Client Library for PHP #
+
+## Description ##
+The Google API Client Library enables you to work with Google APIs such as Google+, Drive, or YouTube on your server.
+
+## Beta ##
+This library is in Beta. We're comfortable enough with the stability and features of the library that we want you to build real production applications on it. We will make an effort to support the public and protected surface of the library and maintain backwards compatibility in the future. While we are still in Beta, we reserve the right to make incompatible changes. If we do remove some functionality (typically because better functionality exists or if the feature proved infeasible), our intention is to deprecate and provide ample time for developers to update their code.
+
+## Requirements ##
+* [PHP 5.2.1 or higher](http://www.php.net/)
+* [PHP JSON extension](http://php.net/manual/en/book.json.php)
+
+*Note*: some features (service accounts and id token verification) require PHP 5.3.0 and above due to cryptographic algorithm requirements.
+
+## Developer Documentation ##
+http://developers.google.com/api-client-library/php
+
+## Installation ##
+
+For the latest installation and setup instructions, see [the documentation](https://developers.google.com/api-client-library/php/start/installation).
+
+## Basic Example ##
+See the examples/ directory for examples of the key client features.
+```PHP
+<?php
+
+ require_once 'google-api-php-client/autoload.php'; // or wherever autoload.php is located
+
+ $client = new Postman_Google_Client();
+ $client->setApplicationName("Client_Library_Examples");
+ $client->setDeveloperKey("YOUR_APP_KEY");
+
+ $service = new Postman_Google_Service_Books($client);
+ $optParams = array('filter' => 'free-ebooks');
+ $results = $service->volumes->listVolumes('Henry David Thoreau', $optParams);
+
+ foreach ($results as $item) {
+ echo $item['volumeInfo']['title'], "<br /> \n";
+ }
+
+```
+
+## Frequently Asked Questions ##
+
+### What do I do if something isn't working? ###
+
+For support with the library the best place to ask is via the google-api-php-client tag on StackOverflow: http://stackoverflow.com/questions/tagged/google-api-php-client
+
+If there is a specific bug with the library, please file a issue in the Github issues tracker, including a (minimal) example of the failing code and any specific errors retrieved. Feature requests can also be filed, as long as they are core library requests, and not-API specific: for those, refer to the documentation for the individual APIs for the best place to file requests. Please try to provide a clear statement of the problem that the feature would address.
+
+### How do I contribute? ###
+
+We accept contributions via Github Pull Requests, but all contributors need to be covered by the standard Google Contributor License Agreement. You can find links, and more instructions, in the documentation: https://developers.google.com/api-client-library/php/contribute
+
+### Why do you still support 5.2? ###
+
+When we started working on the 1.0.0 branch we knew there were several fundamental issues to fix with the 0.6 releases of the library. At that time we looked at the usage of the library, and other related projects, and determined that there was still a large and active base of PHP 5.2 installs. You can see this in statistics such as the PHP versions chart in the WordPress stats: http://wordpress.org/about/stats/. We will keep looking at the types of usage we see, and try to take advantage of newer PHP features where possible.
+
+### Why does Postman_Google_..._Service have weird names? ###
+
+The _Service classes are generally automatically generated from the API discovery documents: https://developers.google.com/discovery/. Sometimes new features are added to APIs with unusual names, which can cause some unexpected or non-standard style naming in the PHP classes.
+
+### How do I deal with non-JSON response types? ###
+
+Some services return XML or similar by default, rather than JSON, which is what the library supports. You can request a JSON response by adding an 'alt' argument to optional params that is normally the last argument to a method call:
+
+```
+$opt_params = array(
+ 'alt' => "json"
+);
+```
+
+## Code Quality ##
+
+Copy the ruleset.xml in style/ into a new directory named GAPI/ in your
+/usr/share/php/PHP/CodeSniffer/Standards (or appropriate equivalent directory),
+and run code sniffs with:
+
+ phpcs --standard=GAPI src/
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/autoload.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/autoload.php
new file mode 100644
index 0000000..63e9b0c
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/autoload.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2014 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+function postman_google_api_php_client_autoload($className) {
+ $logger = new PostmanLogger ( 'postman_google_api_php_client_autoload' );
+ $logger->trace ( 'Autoloading ' . $className );
+ $classPath = explode ( '_', $className );
+ // @jason: make sure the first segment of the classname is 'Postman'
+ if (empty ( $classPath [0] ) || empty ( $classPath [1] )) {
+ return;
+ }
+ if ($classPath [0] != 'Postman' && $classPath [1] != 'Google') {
+ return;
+ } else {
+ // @jason: get rid of the first segment of the classname
+ $classPath = array_slice ( $classPath, 1 );
+ }
+ if (count ( $classPath ) > 3) {
+ // Maximum class file path depth in this project is 3.
+ $classPath = array_slice ( $classPath, 1, 4 );
+ }
+ $filePath = dirname ( __FILE__ ) . '/src/' . implode ( '/', $classPath ) . '.php';
+ if (file_exists ( $filePath )) {
+ require_once ($filePath);
+ }
+}
+
+spl_autoload_register ( 'postman_google_api_php_client_autoload' );
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/phpunit.xml.dist b/Postman/Postman-Mail/google-api-php-client-1.1.2/phpunit.xml.dist
new file mode 100644
index 0000000..bb8e834
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/phpunit.xml.dist
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/3.7/phpunit.xsd"
+ colors="true"
+ bootstrap="tests/bootstrap.php">
+ <testsuites>
+ <testsuite name="Google YouTube API tests">
+ <directory>tests/youtube</directory>
+ </testsuite>
+ <testsuite name="Google Tasks API tests">
+ <directory>tests/tasks</directory>
+ </testsuite>
+ <testsuite name="Google PageSpeed API tests">
+ <directory>tests/pagespeed</directory>
+ </testsuite>
+ <testsuite name="Google UrlShortener API tests">
+ <directory>tests/urlshortener</directory>
+ </testsuite>
+ <testsuite name="Google Plus API tests">
+ <directory>tests/plus</directory>
+ </testsuite>
+ <testsuite name="AdSense Management API tests">
+ <directory>tests/adsense</directory>
+ </testsuite>
+ <testsuite name="Google API PHP Library core component tests">
+ <directory>tests/general</directory>
+ </testsuite>
+ </testsuites>
+ <filter>
+ <blacklist>
+ <directory suffix=".php">tests</directory>
+ </blacklist>
+ </filter>
+</phpunit>
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/Abstract.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/Abstract.php
new file mode 100644
index 0000000..38f9160
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/Abstract.php
@@ -0,0 +1,36 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+/**
+ * Abstract class for the Authentication in the API client
+ * @author Chris Chabot <chabotc@google.com>
+ *
+ */
+abstract class Postman_Google_Auth_Abstract
+{
+ /**
+ * An utility function that first calls $this->auth->sign($request) and then
+ * executes makeRequest() on that signed request. Used for when a request
+ * should be authenticated
+ * @param Postman_Google_Http_Request $request
+ * @return Postman_Google_Http_Request $request
+ */
+ abstract public function authenticatedRequest(Postman_Google_Http_Request $request);
+ abstract public function sign(Postman_Google_Http_Request $request);
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/AppIdentity.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/AppIdentity.php
new file mode 100644
index 0000000..2bfaf78
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/AppIdentity.php
@@ -0,0 +1,105 @@
+<?php
+/*
+ * Copyright 2014 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * WARNING - this class depends on the Google App Engine PHP library
+ * which is 5.3 and above only, so if you include this in a PHP 5.2
+ * setup or one without 5.3 things will blow up.
+ */
+use google\appengine\api\app_identity\AppIdentityService;
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+/**
+ * Authentication via the Google App Engine App Identity service.
+ */
+class Postman_Google_Auth_AppIdentity extends Postman_Google_Auth_Abstract
+{
+ const CACHE_PREFIX = "Postman_Google_Auth_AppIdentity::";
+ private $key = null;
+ private $client;
+ private $token = false;
+ private $tokenScopes = false;
+
+ public function __construct(Postman_Google_Client $client, $config = null)
+ {
+ $this->client = $client;
+ }
+
+ /**
+ * Retrieve an access token for the scopes supplied.
+ */
+ public function authenticateForScope($scopes)
+ {
+ if ($this->token && $this->tokenScopes == $scopes) {
+ return $this->token;
+ }
+
+ $cacheKey = self::CACHE_PREFIX;
+ if (is_string($scopes)) {
+ $cacheKey .= $scopes;
+ } else if (is_array($scopes)) {
+ $cacheKey .= implode(":", $scopes);
+ }
+
+ $this->token = $this->client->getCache()->get($cacheKey);
+ if (!$this->token) {
+ $this->token = AppIdentityService::getAccessToken($scopes);
+ if ($this->token) {
+ $this->client->getCache()->set(
+ $cacheKey,
+ $this->token
+ );
+ }
+ }
+ $this->tokenScopes = $scopes;
+ return $this->token;
+ }
+
+ /**
+ * Perform an authenticated / signed apiHttpRequest.
+ * This function takes the apiHttpRequest, calls apiAuth->sign on it
+ * (which can modify the request in what ever way fits the auth mechanism)
+ * and then calls apiCurlIO::makeRequest on the signed request
+ *
+ * @param Postman_Google_Http_Request $request
+ * @return Postman_Google_Http_Request The resulting HTTP response including the
+ * responseHttpCode, responseHeaders and responseBody.
+ */
+ public function authenticatedRequest(Postman_Google_Http_Request $request)
+ {
+ $request = $this->sign($request);
+ return $this->client->getIo()->makeRequest($request);
+ }
+
+ public function sign(Postman_Google_Http_Request $request)
+ {
+ if (!$this->token) {
+ // No token, so nothing to do.
+ return $request;
+ }
+
+ $this->client->getLogger()->debug('App Identity authentication');
+
+ // Add the OAuth2 header to the request
+ $request->setRequestHeaders(
+ array('Authorization' => 'Bearer ' . $this->token['access_token'])
+ );
+
+ return $request;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/AssertionCredentials.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/AssertionCredentials.php
new file mode 100644
index 0000000..725e7c2
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/AssertionCredentials.php
@@ -0,0 +1,136 @@
+<?php
+/*
+ * Copyright 2012 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+/**
+ * Credentials object used for OAuth 2.0 Signed JWT assertion grants.
+ *
+ * @author Chirag Shah <chirags@google.com>
+ */
+class Postman_Google_Auth_AssertionCredentials
+{
+ const MAX_TOKEN_LIFETIME_SECS = 3600;
+
+ public $serviceAccountName;
+ public $scopes;
+ public $privateKey;
+ public $privateKeyPassword;
+ public $assertionType;
+ public $sub;
+ /**
+ * @deprecated
+ * @link http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-06
+ */
+ public $prn;
+ private $useCache;
+
+ /**
+ * @param $serviceAccountName
+ * @param $scopes array List of scopes
+ * @param $privateKey
+ * @param string $privateKeyPassword
+ * @param string $assertionType
+ * @param bool|string $sub The email address of the user for which the
+ * application is requesting delegated access.
+ * @param bool useCache Whether to generate a cache key and allow
+ * automatic caching of the generated token.
+ */
+ public function __construct(
+ $serviceAccountName,
+ $scopes,
+ $privateKey,
+ $privateKeyPassword = 'notasecret',
+ $assertionType = 'http://oauth.net/grant_type/jwt/1.0/bearer',
+ $sub = false,
+ $useCache = true
+ ) {
+ $this->serviceAccountName = $serviceAccountName;
+ $this->scopes = is_string($scopes) ? $scopes : implode(' ', $scopes);
+ $this->privateKey = $privateKey;
+ $this->privateKeyPassword = $privateKeyPassword;
+ $this->assertionType = $assertionType;
+ $this->sub = $sub;
+ $this->prn = $sub;
+ $this->useCache = $useCache;
+ }
+
+ /**
+ * Generate a unique key to represent this credential.
+ * @return string
+ */
+ public function getCacheKey()
+ {
+ if (!$this->useCache) {
+ return false;
+ }
+ $h = $this->sub;
+ $h .= $this->assertionType;
+ $h .= $this->privateKey;
+ $h .= $this->scopes;
+ $h .= $this->serviceAccountName;
+ return md5($h);
+ }
+
+ public function generateAssertion()
+ {
+ $now = time();
+
+ $jwtParams = array(
+ 'aud' => Postman_Google_Auth_OAuth2::OAUTH2_TOKEN_URI,
+ 'scope' => $this->scopes,
+ 'iat' => $now,
+ 'exp' => $now + self::MAX_TOKEN_LIFETIME_SECS,
+ 'iss' => $this->serviceAccountName,
+ );
+
+ if ($this->sub !== false) {
+ $jwtParams['sub'] = $this->sub;
+ } else if ($this->prn !== false) {
+ $jwtParams['prn'] = $this->prn;
+ }
+
+ return $this->makeSignedJwt($jwtParams);
+ }
+
+ /**
+ * Creates a signed JWT.
+ * @param array $payload
+ * @return string The signed JWT.
+ */
+ private function makeSignedJwt($payload)
+ {
+ $header = array('typ' => 'JWT', 'alg' => 'RS256');
+
+ $payload = json_encode($payload);
+ // Handle some overzealous escaping in PHP json that seemed to cause some errors
+ // with claimsets.
+ $payload = str_replace('\/', '/', $payload);
+
+ $segments = array(
+ Postman_Google_Utils::urlSafeB64Encode(json_encode($header)),
+ Postman_Google_Utils::urlSafeB64Encode($payload)
+ );
+
+ $signingInput = implode('.', $segments);
+ $signer = new Postman_Google_Signer_P12($this->privateKey, $this->privateKeyPassword);
+ $signature = $signer->sign($signingInput);
+ $segments[] = Postman_Google_Utils::urlSafeB64Encode($signature);
+
+ return implode(".", $segments);
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/Exception.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/Exception.php
new file mode 100644
index 0000000..5a7021d
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/Exception.php
@@ -0,0 +1,22 @@
+<?php
+/*
+ * Copyright 2013 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+class Postman_Google_Auth_Exception extends Postman_Google_Exception
+{
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/LoginTicket.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/LoginTicket.php
new file mode 100644
index 0000000..173dc06
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/LoginTicket.php
@@ -0,0 +1,69 @@
+<?php
+/*
+ * Copyright 2011 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+/**
+ * Class to hold information about an authenticated login.
+ *
+ * @author Brian Eaton <beaton@google.com>
+ */
+class Postman_Google_Auth_LoginTicket
+{
+ const USER_ATTR = "sub";
+
+ // Information from id token envelope.
+ private $envelope;
+
+ // Information from id token payload.
+ private $payload;
+
+ /**
+ * Creates a user based on the supplied token.
+ *
+ * @param string $envelope Header from a verified authentication token.
+ * @param string $payload Information from a verified authentication token.
+ */
+ public function __construct($envelope, $payload)
+ {
+ $this->envelope = $envelope;
+ $this->payload = $payload;
+ }
+
+ /**
+ * Returns the numeric identifier for the user.
+ * @throws Postman_Google_Auth_Exception
+ * @return
+ */
+ public function getUserId()
+ {
+ if (array_key_exists(self::USER_ATTR, $this->payload)) {
+ return $this->payload[self::USER_ATTR];
+ }
+ throw new Postman_Google_Auth_Exception("No user_id in token");
+ }
+
+ /**
+ * Returns attributes from the login ticket. This can contain
+ * various information about the user session.
+ * @return array
+ */
+ public function getAttributes()
+ {
+ return array("envelope" => $this->envelope, "payload" => $this->payload);
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/OAuth2.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/OAuth2.php
new file mode 100644
index 0000000..d34dbee
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/OAuth2.php
@@ -0,0 +1,633 @@
+<?php
+/*
+ * Copyright 2008 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+/**
+ * Authentication class that deals with the OAuth 2 web-server authentication flow
+ *
+ * @author Chris Chabot <chabotc@google.com>
+ * @author Chirag Shah <chirags@google.com>
+ *
+ */
+class Postman_Google_Auth_OAuth2 extends Postman_Google_Auth_Abstract
+{
+ const OAUTH2_REVOKE_URI = 'https://accounts.google.com/o/oauth2/revoke';
+ const OAUTH2_TOKEN_URI = 'https://accounts.google.com/o/oauth2/token';
+ const OAUTH2_AUTH_URL = 'https://accounts.google.com/o/oauth2/auth';
+ const CLOCK_SKEW_SECS = 300; // five minutes in seconds
+ const AUTH_TOKEN_LIFETIME_SECS = 300; // five minutes in seconds
+ const MAX_TOKEN_LIFETIME_SECS = 86400; // one day in seconds
+ const OAUTH2_ISSUER = 'accounts.google.com';
+
+ /** @var Postman_Google_Auth_AssertionCredentials $assertionCredentials */
+ private $assertionCredentials;
+
+ /**
+ * @var string The state parameters for CSRF and other forgery protection.
+ */
+ private $state;
+
+ /**
+ * @var array The token bundle.
+ */
+ private $token = array();
+
+ /**
+ * @var Postman_Google_Client the base client
+ */
+ private $client;
+
+ /**
+ * Instantiates the class, but does not initiate the login flow, leaving it
+ * to the discretion of the caller.
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ $this->client = $client;
+ }
+
+ /**
+ * Perform an authenticated / signed apiHttpRequest.
+ * This function takes the apiHttpRequest, calls apiAuth->sign on it
+ * (which can modify the request in what ever way fits the auth mechanism)
+ * and then calls apiCurlIO::makeRequest on the signed request
+ *
+ * @param Postman_Google_Http_Request $request
+ * @return Postman_Google_Http_Request The resulting HTTP response including the
+ * responseHttpCode, responseHeaders and responseBody.
+ */
+ public function authenticatedRequest(Postman_Google_Http_Request $request)
+ {
+ $request = $this->sign($request);
+ return $this->client->getIo()->makeRequest($request);
+ }
+
+ /**
+ * @param string $code
+ * @throws Postman_Google_Auth_Exception
+ * @return string
+ */
+ public function authenticate($code)
+ {
+ if (strlen($code) == 0) {
+ throw new Postman_Google_Auth_Exception("Invalid code");
+ }
+
+ // We got here from the redirect from a successful authorization grant,
+ // fetch the access token
+ $request = new Postman_Google_Http_Request(
+ self::OAUTH2_TOKEN_URI,
+ 'POST',
+ array(),
+ array(
+ 'code' => $code,
+ 'grant_type' => 'authorization_code',
+ 'redirect_uri' => $this->client->getClassConfig($this, 'redirect_uri'),
+ 'client_id' => $this->client->getClassConfig($this, 'client_id'),
+ 'client_secret' => $this->client->getClassConfig($this, 'client_secret')
+ )
+ );
+ $request->disableGzip();
+ $response = $this->client->getIo()->makeRequest($request);
+
+ if ($response->getResponseHttpCode() == 200) {
+ $this->setAccessToken($response->getResponseBody());
+ $this->token['created'] = time();
+ return $this->getAccessToken();
+ } else {
+ $decodedResponse = json_decode($response->getResponseBody(), true);
+ if ($decodedResponse != null && $decodedResponse['error']) {
+ $errorText = $decodedResponse['error'];
+ if (isset($decodedResponse['error_description'])) {
+ $errorText .= ": " . $decodedResponse['error_description'];
+ }
+ }
+ throw new Postman_Google_Auth_Exception(
+ sprintf(
+ "Error fetching OAuth2 access token, message: '%s'",
+ $errorText
+ ),
+ $response->getResponseHttpCode()
+ );
+ }
+ }
+
+ /**
+ * Create a URL to obtain user authorization.
+ * The authorization endpoint allows the user to first
+ * authenticate, and then grant/deny the access request.
+ * @param string $scope The scope is expressed as a list of space-delimited strings.
+ * @return string
+ */
+ public function createAuthUrl($scope)
+ {
+ $params = array(
+ 'response_type' => 'code',
+ 'redirect_uri' => $this->client->getClassConfig($this, 'redirect_uri'),
+ 'client_id' => $this->client->getClassConfig($this, 'client_id'),
+ 'scope' => $scope,
+ 'access_type' => $this->client->getClassConfig($this, 'access_type'),
+ );
+
+ // Prefer prompt to approval prompt.
+ if ($this->client->getClassConfig($this, 'prompt')) {
+ $params = $this->maybeAddParam($params, 'prompt');
+ } else {
+ $params = $this->maybeAddParam($params, 'approval_prompt');
+ }
+ $params = $this->maybeAddParam($params, 'login_hint');
+ $params = $this->maybeAddParam($params, 'hd');
+ $params = $this->maybeAddParam($params, 'openid.realm');
+ $params = $this->maybeAddParam($params, 'include_granted_scopes');
+
+ // If the list of scopes contains plus.login, add request_visible_actions
+ // to auth URL.
+ $rva = $this->client->getClassConfig($this, 'request_visible_actions');
+ if (strpos($scope, 'plus.login') && strlen($rva) > 0) {
+ $params['request_visible_actions'] = $rva;
+ }
+
+ if (isset($this->state)) {
+ $params['state'] = $this->state;
+ }
+
+ return self::OAUTH2_AUTH_URL . "?" . http_build_query($params, '', '&');
+ }
+
+ /**
+ * @param string $token
+ * @throws Postman_Google_Auth_Exception
+ */
+ public function setAccessToken($token)
+ {
+ $token = json_decode($token, true);
+ if ($token == null) {
+ throw new Postman_Google_Auth_Exception('Could not json decode the token');
+ }
+ if (! isset($token['access_token'])) {
+ throw new Postman_Google_Auth_Exception("Invalid token format");
+ }
+ $this->token = $token;
+ }
+
+ public function getAccessToken()
+ {
+ return json_encode($this->token);
+ }
+
+ public function getRefreshToken()
+ {
+ if (array_key_exists('refresh_token', $this->token)) {
+ return $this->token['refresh_token'];
+ } else {
+ return null;
+ }
+ }
+
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+
+ public function setAssertionCredentials(Postman_Google_Auth_AssertionCredentials $creds)
+ {
+ $this->assertionCredentials = $creds;
+ }
+
+ /**
+ * Include an accessToken in a given apiHttpRequest.
+ * @param Postman_Google_Http_Request $request
+ * @return Postman_Google_Http_Request
+ * @throws Postman_Google_Auth_Exception
+ */
+ public function sign(Postman_Google_Http_Request $request)
+ {
+ // add the developer key to the request before signing it
+ if ($this->client->getClassConfig($this, 'developer_key')) {
+ $request->setQueryParam('key', $this->client->getClassConfig($this, 'developer_key'));
+ }
+
+ // Cannot sign the request without an OAuth access token.
+ if (null == $this->token && null == $this->assertionCredentials) {
+ return $request;
+ }
+
+ // Check if the token is set to expire in the next 30 seconds
+ // (or has already expired).
+ if ($this->isAccessTokenExpired()) {
+ if ($this->assertionCredentials) {
+ $this->refreshTokenWithAssertion();
+ } else {
+ $this->client->getLogger()->debug('OAuth2 access token expired');
+ if (! array_key_exists('refresh_token', $this->token)) {
+ $error = "The OAuth 2.0 access token has expired,"
+ ." and a refresh token is not available. Refresh tokens"
+ ." are not returned for responses that were auto-approved.";
+
+ $this->client->getLogger()->error($error);
+ throw new Postman_Google_Auth_Exception($error);
+ }
+ $this->refreshToken($this->token['refresh_token']);
+ }
+ }
+
+ $this->client->getLogger()->debug('OAuth2 authentication');
+
+ // Add the OAuth2 header to the request
+ $request->setRequestHeaders(
+ array('Authorization' => 'Bearer ' . $this->token['access_token'])
+ );
+
+ return $request;
+ }
+
+ /**
+ * Fetches a fresh access token with the given refresh token.
+ * @param string $refreshToken
+ * @return void
+ */
+ public function refreshToken($refreshToken)
+ {
+ $this->refreshTokenRequest(
+ array(
+ 'client_id' => $this->client->getClassConfig($this, 'client_id'),
+ 'client_secret' => $this->client->getClassConfig($this, 'client_secret'),
+ 'refresh_token' => $refreshToken,
+ 'grant_type' => 'refresh_token'
+ )
+ );
+ }
+
+ /**
+ * Fetches a fresh access token with a given assertion token.
+ * @param Postman_Google_Auth_AssertionCredentials $assertionCredentials optional.
+ * @return void
+ */
+ public function refreshTokenWithAssertion($assertionCredentials = null)
+ {
+ if (!$assertionCredentials) {
+ $assertionCredentials = $this->assertionCredentials;
+ }
+
+ $cacheKey = $assertionCredentials->getCacheKey();
+
+ if ($cacheKey) {
+ // We can check whether we have a token available in the
+ // cache. If it is expired, we can retrieve a new one from
+ // the assertion.
+ $token = $this->client->getCache()->get($cacheKey);
+ if ($token) {
+ $this->setAccessToken($token);
+ }
+ if (!$this->isAccessTokenExpired()) {
+ return;
+ }
+ }
+
+ $this->client->getLogger()->debug('OAuth2 access token expired');
+ $this->refreshTokenRequest(
+ array(
+ 'grant_type' => 'assertion',
+ 'assertion_type' => $assertionCredentials->assertionType,
+ 'assertion' => $assertionCredentials->generateAssertion(),
+ )
+ );
+
+ if ($cacheKey) {
+ // Attempt to cache the token.
+ $this->client->getCache()->set(
+ $cacheKey,
+ $this->getAccessToken()
+ );
+ }
+ }
+
+ private function refreshTokenRequest($params)
+ {
+ if (isset($params['assertion'])) {
+ $this->client->getLogger()->info(
+ 'OAuth2 access token refresh with Signed JWT assertion grants.'
+ );
+ } else {
+ $this->client->getLogger()->info('OAuth2 access token refresh');
+ }
+
+ $http = new Postman_Google_Http_Request(
+ self::OAUTH2_TOKEN_URI,
+ 'POST',
+ array(),
+ $params
+ );
+ $http->disableGzip();
+ $request = $this->client->getIo()->makeRequest($http);
+
+ $code = $request->getResponseHttpCode();
+ $body = $request->getResponseBody();
+ if (200 == $code) {
+ $token = json_decode($body, true);
+ if ($token == null) {
+ throw new Postman_Google_Auth_Exception("Could not json decode the access token");
+ }
+
+ if (! isset($token['access_token']) || ! isset($token['expires_in'])) {
+ throw new Postman_Google_Auth_Exception("Invalid token format");
+ }
+
+ if (isset($token['id_token'])) {
+ $this->token['id_token'] = $token['id_token'];
+ }
+ $this->token['access_token'] = $token['access_token'];
+ $this->token['expires_in'] = $token['expires_in'];
+ $this->token['created'] = time();
+ } else {
+ throw new Postman_Google_Auth_Exception("Error refreshing the OAuth2 token, message: '$body'", $code);
+ }
+ }
+
+ /**
+ * Revoke an OAuth2 access token or refresh token. This method will revoke the current access
+ * token, if a token isn't provided.
+ * @throws Postman_Google_Auth_Exception
+ * @param string|null $token The token (access token or a refresh token) that should be revoked.
+ * @return boolean Returns True if the revocation was successful, otherwise False.
+ */
+ public function revokeToken($token = null)
+ {
+ if (!$token) {
+ if (!$this->token) {
+ // Not initialized, no token to actually revoke
+ return false;
+ } elseif (array_key_exists('refresh_token', $this->token)) {
+ $token = $this->token['refresh_token'];
+ } else {
+ $token = $this->token['access_token'];
+ }
+ }
+ $request = new Postman_Google_Http_Request(
+ self::OAUTH2_REVOKE_URI,
+ 'POST',
+ array(),
+ "token=$token"
+ );
+ $request->disableGzip();
+ $response = $this->client->getIo()->makeRequest($request);
+ $code = $response->getResponseHttpCode();
+ if ($code == 200) {
+ $this->token = null;
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * Returns if the access_token is expired.
+ * @return bool Returns True if the access_token is expired.
+ */
+ public function isAccessTokenExpired()
+ {
+ if (!$this->token || !isset($this->token['created'])) {
+ return true;
+ }
+
+ // If the token is set to expire in the next 30 seconds.
+ $expired = ($this->token['created']
+ + ($this->token['expires_in'] - 30)) < time();
+
+ return $expired;
+ }
+
+ // Gets federated sign-on certificates to use for verifying identity tokens.
+ // Returns certs as array structure, where keys are key ids, and values
+ // are PEM encoded certificates.
+ private function getFederatedSignOnCerts()
+ {
+ return $this->retrieveCertsFromLocation(
+ $this->client->getClassConfig($this, 'federated_signon_certs_url')
+ );
+ }
+
+ /**
+ * Retrieve and cache a certificates file.
+ *
+ * @param $url string location
+ * @throws Postman_Google_Auth_Exception
+ * @return array certificates
+ */
+ public function retrieveCertsFromLocation($url)
+ {
+ // If we're retrieving a local file, just grab it.
+ if ("http" != substr($url, 0, 4)) {
+ $file = file_get_contents($url);
+ if ($file) {
+ return json_decode($file, true);
+ } else {
+ throw new Postman_Google_Auth_Exception(
+ "Failed to retrieve verification certificates: '" .
+ $url . "'."
+ );
+ }
+ }
+
+ // This relies on makeRequest caching certificate responses.
+ $request = $this->client->getIo()->makeRequest(
+ new Postman_Google_Http_Request(
+ $url
+ )
+ );
+ if ($request->getResponseHttpCode() == 200) {
+ $certs = json_decode($request->getResponseBody(), true);
+ if ($certs) {
+ return $certs;
+ }
+ }
+ throw new Postman_Google_Auth_Exception(
+ "Failed to retrieve verification certificates: '" .
+ $request->getResponseBody() . "'.",
+ $request->getResponseHttpCode()
+ );
+ }
+
+ /**
+ * Verifies an id token and returns the authenticated apiLoginTicket.
+ * Throws an exception if the id token is not valid.
+ * The audience parameter can be used to control which id tokens are
+ * accepted. By default, the id token must have been issued to this OAuth2 client.
+ *
+ * @param $id_token
+ * @param $audience
+ * @return Postman_Google_Auth_LoginTicket
+ */
+ public function verifyIdToken($id_token = null, $audience = null)
+ {
+ if (!$id_token) {
+ $id_token = $this->token['id_token'];
+ }
+ $certs = $this->getFederatedSignonCerts();
+ if (!$audience) {
+ $audience = $this->client->getClassConfig($this, 'client_id');
+ }
+
+ return $this->verifySignedJwtWithCerts($id_token, $certs, $audience, self::OAUTH2_ISSUER);
+ }
+
+ /**
+ * Verifies the id token, returns the verified token contents.
+ *
+ * @param $jwt string the token
+ * @param $certs array of certificates
+ * @param $required_audience string the expected consumer of the token
+ * @param [$issuer] the expected issues, defaults to Google
+ * @param [$max_expiry] the max lifetime of a token, defaults to MAX_TOKEN_LIFETIME_SECS
+ * @throws Postman_Google_Auth_Exception
+ * @return mixed token information if valid, false if not
+ */
+ public function verifySignedJwtWithCerts(
+ $jwt,
+ $certs,
+ $required_audience,
+ $issuer = null,
+ $max_expiry = null
+ ) {
+ if (!$max_expiry) {
+ // Set the maximum time we will accept a token for.
+ $max_expiry = self::MAX_TOKEN_LIFETIME_SECS;
+ }
+
+ $segments = explode(".", $jwt);
+ if (count($segments) != 3) {
+ throw new Postman_Google_Auth_Exception("Wrong number of segments in token: $jwt");
+ }
+ $signed = $segments[0] . "." . $segments[1];
+ $signature = Postman_Google_Utils::urlSafeB64Decode($segments[2]);
+
+ // Parse envelope.
+ $envelope = json_decode(Postman_Google_Utils::urlSafeB64Decode($segments[0]), true);
+ if (!$envelope) {
+ throw new Postman_Google_Auth_Exception("Can't parse token envelope: " . $segments[0]);
+ }
+
+ // Parse token
+ $json_body = Postman_Google_Utils::urlSafeB64Decode($segments[1]);
+ $payload = json_decode($json_body, true);
+ if (!$payload) {
+ throw new Postman_Google_Auth_Exception("Can't parse token payload: " . $segments[1]);
+ }
+
+ // Check signature
+ $verified = false;
+ foreach ($certs as $keyName => $pem) {
+ $public_key = new Postman_Google_Verifier_Pem($pem);
+ if ($public_key->verify($signed, $signature)) {
+ $verified = true;
+ break;
+ }
+ }
+
+ if (!$verified) {
+ throw new Postman_Google_Auth_Exception("Invalid token signature: $jwt");
+ }
+
+ // Check issued-at timestamp
+ $iat = 0;
+ if (array_key_exists("iat", $payload)) {
+ $iat = $payload["iat"];
+ }
+ if (!$iat) {
+ throw new Postman_Google_Auth_Exception("No issue time in token: $json_body");
+ }
+ $earliest = $iat - self::CLOCK_SKEW_SECS;
+
+ // Check expiration timestamp
+ $now = time();
+ $exp = 0;
+ if (array_key_exists("exp", $payload)) {
+ $exp = $payload["exp"];
+ }
+ if (!$exp) {
+ throw new Postman_Google_Auth_Exception("No expiration time in token: $json_body");
+ }
+ if ($exp >= $now + $max_expiry) {
+ throw new Postman_Google_Auth_Exception(
+ sprintf("Expiration time too far in future: %s", $json_body)
+ );
+ }
+
+ $latest = $exp + self::CLOCK_SKEW_SECS;
+ if ($now < $earliest) {
+ throw new Postman_Google_Auth_Exception(
+ sprintf(
+ "Token used too early, %s < %s: %s",
+ $now,
+ $earliest,
+ $json_body
+ )
+ );
+ }
+ if ($now > $latest) {
+ throw new Postman_Google_Auth_Exception(
+ sprintf(
+ "Token used too late, %s > %s: %s",
+ $now,
+ $latest,
+ $json_body
+ )
+ );
+ }
+
+ $iss = $payload['iss'];
+ if ($issuer && $iss != $issuer) {
+ throw new Postman_Google_Auth_Exception(
+ sprintf(
+ "Invalid issuer, %s != %s: %s",
+ $iss,
+ $issuer,
+ $json_body
+ )
+ );
+ }
+
+ // Check audience
+ $aud = $payload["aud"];
+ if ($aud != $required_audience) {
+ throw new Postman_Google_Auth_Exception(
+ sprintf(
+ "Wrong recipient, %s != %s:",
+ $aud,
+ $required_audience,
+ $json_body
+ )
+ );
+ }
+
+ // All good.
+ return new Postman_Google_Auth_LoginTicket($envelope, $payload);
+ }
+
+ /**
+ * Add a parameter to the auth params if not empty string.
+ */
+ private function maybeAddParam($params, $name)
+ {
+ $param = $this->client->getClassConfig($this, $name);
+ if ($param != '') {
+ $params[$name] = $param;
+ }
+ return $params;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/Simple.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/Simple.php
new file mode 100644
index 0000000..c61961c
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Auth/Simple.php
@@ -0,0 +1,64 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+/**
+ * Simple API access implementation. Can either be used to make requests
+ * completely unauthenticated, or by using a Simple API Access developer
+ * key.
+ * @author Chris Chabot <chabotc@google.com>
+ * @author Chirag Shah <chirags@google.com>
+ */
+class Postman_Google_Auth_Simple extends Postman_Google_Auth_Abstract
+{
+ private $key = null;
+ private $client;
+
+ public function __construct(Postman_Google_Client $client, $config = null)
+ {
+ $this->client = $client;
+ }
+
+ /**
+ * Perform an authenticated / signed apiHttpRequest.
+ * This function takes the apiHttpRequest, calls apiAuth->sign on it
+ * (which can modify the request in what ever way fits the auth mechanism)
+ * and then calls apiCurlIO::makeRequest on the signed request
+ *
+ * @param Postman_Google_Http_Request $request
+ * @return Postman_Google_Http_Request The resulting HTTP response including the
+ * responseHttpCode, responseHeaders and responseBody.
+ */
+ public function authenticatedRequest(Postman_Google_Http_Request $request)
+ {
+ $request = $this->sign($request);
+ return $this->io->makeRequest($request);
+ }
+
+ public function sign(Postman_Google_Http_Request $request)
+ {
+ $key = $this->client->getClassConfig($this, 'developer_key');
+ if ($key) {
+ $this->client->getLogger()->debug(
+ 'Simple API Access developer key authentication'
+ );
+ $request->setQueryParam('key', $key);
+ }
+ return $request;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/Abstract.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/Abstract.php
new file mode 100644
index 0000000..f421ecc
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/Abstract.php
@@ -0,0 +1,53 @@
+<?php
+/*
+ * Copyright 2008 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Abstract storage class
+ *
+ * @author Chris Chabot <chabotc@google.com>
+ */
+abstract class Postman_Google_Cache_Abstract
+{
+
+ abstract public function __construct(Postman_Google_Client $client);
+
+ /**
+ * Retrieves the data for the given key, or false if they
+ * key is unknown or expired
+ *
+ * @param String $key The key who's data to retrieve
+ * @param boolean|int $expiration Expiration time in seconds
+ *
+ */
+ abstract public function get($key, $expiration = false);
+
+ /**
+ * Store the key => $value set. The $value is serialized
+ * by this function so can be of any type
+ *
+ * @param string $key Key of the data
+ * @param string $value data
+ */
+ abstract public function set($key, $value);
+
+ /**
+ * Removes the key/data pair for the given $key
+ *
+ * @param String $key
+ */
+ abstract public function delete($key);
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/Apc.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/Apc.php
new file mode 100644
index 0000000..ea302d0
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/Apc.php
@@ -0,0 +1,111 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+/**
+ * A persistent storage class based on the APC cache, which is not
+ * really very persistent, as soon as you restart your web server
+ * the storage will be wiped, however for debugging and/or speed
+ * it can be useful, and cache is a lot cheaper then storage.
+ *
+ * @author Chris Chabot <chabotc@google.com>
+ */
+class Postman_Google_Cache_Apc extends Postman_Google_Cache_Abstract
+{
+ /**
+ * @var Postman_Google_Client the current client
+ */
+ private $client;
+
+ public function __construct(Postman_Google_Client $client)
+ {
+ if (! function_exists('apc_add') ) {
+ $error = "Apc functions not available";
+
+ $client->getLogger()->error($error);
+ throw new Postman_Google_Cache_Exception($error);
+ }
+
+ $this->client = $client;
+ }
+
+ /**
+ * @inheritDoc
+ */
+ public function get($key, $expiration = false)
+ {
+ $ret = apc_fetch($key);
+ if ($ret === false) {
+ $this->client->getLogger()->debug(
+ 'APC cache miss',
+ array('key' => $key)
+ );
+ return false;
+ }
+ if (is_numeric($expiration) && (time() - $ret['time'] > $expiration)) {
+ $this->client->getLogger()->debug(
+ 'APC cache miss (expired)',
+ array('key' => $key, 'var' => $ret)
+ );
+ $this->delete($key);
+ return false;
+ }
+
+ $this->client->getLogger()->debug(
+ 'APC cache hit',
+ array('key' => $key, 'var' => $ret)
+ );
+
+ return $ret['data'];
+ }
+
+ /**
+ * @inheritDoc
+ */
+ public function set($key, $value)
+ {
+ $var = array('time' => time(), 'data' => $value);
+ $rc = apc_store($key, $var);
+
+ if ($rc == false) {
+ $this->client->getLogger()->error(
+ 'APC cache set failed',
+ array('key' => $key, 'var' => $var)
+ );
+ throw new Postman_Google_Cache_Exception("Couldn't store data");
+ }
+
+ $this->client->getLogger()->debug(
+ 'APC cache set',
+ array('key' => $key, 'var' => $var)
+ );
+ }
+
+ /**
+ * @inheritDoc
+ * @param String $key
+ */
+ public function delete($key)
+ {
+ $this->client->getLogger()->debug(
+ 'APC cache delete',
+ array('key' => $key)
+ );
+ apc_delete($key);
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/Exception.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/Exception.php
new file mode 100644
index 0000000..99a8619
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/Exception.php
@@ -0,0 +1,22 @@
+<?php
+/*
+ * Copyright 2013 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+class Postman_Google_Cache_Exception extends Postman_Google_Exception
+{
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/File.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/File.php
new file mode 100644
index 0000000..000e0db
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/File.php
@@ -0,0 +1,190 @@
+<?php
+/*
+ * Copyright 2008 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+/*
+ * This class implements a basic on disk storage. While that does
+ * work quite well it's not the most elegant and scalable solution.
+ * It will also get you into a heap of trouble when you try to run
+ * this in a clustered environment.
+ *
+ * @author Chris Chabot <chabotc@google.com>
+ */
+class Postman_Google_Cache_File extends Postman_Google_Cache_Abstract
+{
+ const MAX_LOCK_RETRIES = 10;
+ private $path;
+ private $fh;
+
+ /**
+ * @var Postman_Google_Client the current client
+ */
+ private $client;
+
+ public function __construct(Postman_Google_Client $client)
+ {
+ $this->client = $client;
+ $this->path = $this->client->getClassConfig($this, 'directory');
+ }
+
+ public function get($key, $expiration = false)
+ {
+ $storageFile = $this->getCacheFile($key);
+ $data = false;
+
+ if (!file_exists($storageFile)) {
+ $this->client->getLogger()->debug(
+ 'File cache miss',
+ array('key' => $key, 'file' => $storageFile)
+ );
+ return false;
+ }
+
+ if ($expiration) {
+ $mtime = filemtime($storageFile);
+ if ((time() - $mtime) >= $expiration) {
+ $this->client->getLogger()->debug(
+ 'File cache miss (expired)',
+ array('key' => $key, 'file' => $storageFile)
+ );
+ $this->delete($key);
+ return false;
+ }
+ }
+
+ if ($this->acquireReadLock($storageFile)) {
+ $data = fread($this->fh, filesize($storageFile));
+ $data = unserialize($data);
+ $this->unlock($storageFile);
+ }
+
+ $this->client->getLogger()->debug(
+ 'File cache hit',
+ array('key' => $key, 'file' => $storageFile, 'var' => $data)
+ );
+
+ return $data;
+ }
+
+ public function set($key, $value)
+ {
+ $storageFile = $this->getWriteableCacheFile($key);
+ if ($this->acquireWriteLock($storageFile)) {
+ // We serialize the whole request object, since we don't only want the
+ // responseContent but also the postBody used, headers, size, etc.
+ $data = serialize($value);
+ $result = fwrite($this->fh, $data);
+ $this->unlock($storageFile);
+
+ $this->client->getLogger()->debug(
+ 'File cache set',
+ array('key' => $key, 'file' => $storageFile, 'var' => $value)
+ );
+ } else {
+ $this->client->getLogger()->notice(
+ 'File cache set failed',
+ array('key' => $key, 'file' => $storageFile)
+ );
+ }
+ }
+
+ public function delete($key)
+ {
+ $file = $this->getCacheFile($key);
+ if (file_exists($file) && !unlink($file)) {
+ $this->client->getLogger()->error(
+ 'File cache delete failed',
+ array('key' => $key, 'file' => $file)
+ );
+ throw new Postman_Google_Cache_Exception("Cache file could not be deleted");
+ }
+
+ $this->client->getLogger()->debug(
+ 'File cache delete',
+ array('key' => $key, 'file' => $file)
+ );
+ }
+
+ private function getWriteableCacheFile($file)
+ {
+ return $this->getCacheFile($file, true);
+ }
+
+ private function getCacheFile($file, $forWrite = false)
+ {
+ return $this->getCacheDir($file, $forWrite) . '/' . md5($file);
+ }
+
+ private function getCacheDir($file, $forWrite)
+ {
+ // use the first 2 characters of the hash as a directory prefix
+ // this should prevent slowdowns due to huge directory listings
+ // and thus give some basic amount of scalability
+ $storageDir = $this->path . '/' . substr(md5($file), 0, 2);
+ if ($forWrite && ! is_dir($storageDir)) {
+ if (! mkdir($storageDir, 0755, true)) {
+ $this->client->getLogger()->error(
+ 'File cache creation failed',
+ array('dir' => $storageDir)
+ );
+ throw new Postman_Google_Cache_Exception("Could not create storage directory: $storageDir");
+ }
+ }
+ return $storageDir;
+ }
+
+ private function acquireReadLock($storageFile)
+ {
+ return $this->acquireLock(LOCK_SH, $storageFile);
+ }
+
+ private function acquireWriteLock($storageFile)
+ {
+ $rc = $this->acquireLock(LOCK_EX, $storageFile);
+ if (!$rc) {
+ $this->client->getLogger()->notice(
+ 'File cache write lock failed',
+ array('file' => $storageFile)
+ );
+ $this->delete($storageFile);
+ }
+ return $rc;
+ }
+
+ private function acquireLock($type, $storageFile)
+ {
+ $mode = $type == LOCK_EX ? "w" : "r";
+ $this->fh = fopen($storageFile, $mode);
+ $count = 0;
+ while (!flock($this->fh, $type | LOCK_NB)) {
+ // Sleep for 10ms.
+ usleep(10000);
+ if (++$count < self::MAX_LOCK_RETRIES) {
+ return false;
+ }
+ }
+ return true;
+ }
+
+ public function unlock($storageFile)
+ {
+ if ($this->fh) {
+ flock($this->fh, LOCK_UN);
+ }
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/Memcache.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/Memcache.php
new file mode 100644
index 0000000..f588b37
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/Memcache.php
@@ -0,0 +1,182 @@
+<?php
+/*
+ * Copyright 2008 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+/**
+ * A persistent storage class based on the memcache, which is not
+ * really very persistent, as soon as you restart your memcache daemon
+ * the storage will be wiped.
+ *
+ * Will use either the memcache or memcached extensions, preferring
+ * memcached.
+ *
+ * @author Chris Chabot <chabotc@google.com>
+ */
+class Postman_Google_Cache_Memcache extends Postman_Google_Cache_Abstract
+{
+ private $connection = false;
+ private $mc = false;
+ private $host;
+ private $port;
+
+ /**
+ * @var Postman_Google_Client the current client
+ */
+ private $client;
+
+ public function __construct(Postman_Google_Client $client)
+ {
+ if (!function_exists('memcache_connect') && !class_exists("Memcached")) {
+ $error = "Memcache functions not available";
+
+ $client->getLogger()->error($error);
+ throw new Postman_Google_Cache_Exception($error);
+ }
+
+ $this->client = $client;
+
+ if ($client->isAppEngine()) {
+ // No credentials needed for GAE.
+ $this->mc = new Memcached();
+ $this->connection = true;
+ } else {
+ $this->host = $client->getClassConfig($this, 'host');
+ $this->port = $client->getClassConfig($this, 'port');
+ if (empty($this->host) || (empty($this->port) && (string) $this->port != "0")) {
+ $error = "You need to supply a valid memcache host and port";
+
+ $client->getLogger()->error($error);
+ throw new Postman_Google_Cache_Exception($error);
+ }
+ }
+ }
+
+ /**
+ * @inheritDoc
+ */
+ public function get($key, $expiration = false)
+ {
+ $this->connect();
+ $ret = false;
+ if ($this->mc) {
+ $ret = $this->mc->get($key);
+ } else {
+ $ret = memcache_get($this->connection, $key);
+ }
+ if ($ret === false) {
+ $this->client->getLogger()->debug(
+ 'Memcache cache miss',
+ array('key' => $key)
+ );
+ return false;
+ }
+ if (is_numeric($expiration) && (time() - $ret['time'] > $expiration)) {
+ $this->client->getLogger()->debug(
+ 'Memcache cache miss (expired)',
+ array('key' => $key, 'var' => $ret)
+ );
+ $this->delete($key);
+ return false;
+ }
+
+ $this->client->getLogger()->debug(
+ 'Memcache cache hit',
+ array('key' => $key, 'var' => $ret)
+ );
+
+ return $ret['data'];
+ }
+
+ /**
+ * @inheritDoc
+ * @param string $key
+ * @param string $value
+ * @throws Postman_Google_Cache_Exception
+ */
+ public function set($key, $value)
+ {
+ $this->connect();
+ // we store it with the cache_time default expiration so objects will at
+ // least get cleaned eventually.
+ $data = array('time' => time(), 'data' => $value);
+ $rc = false;
+ if ($this->mc) {
+ $rc = $this->mc->set($key, $data);
+ } else {
+ $rc = memcache_set($this->connection, $key, $data, false);
+ }
+ if ($rc == false) {
+ $this->client->getLogger()->error(
+ 'Memcache cache set failed',
+ array('key' => $key, 'var' => $data)
+ );
+
+ throw new Postman_Google_Cache_Exception("Couldn't store data in cache");
+ }
+
+ $this->client->getLogger()->debug(
+ 'Memcache cache set',
+ array('key' => $key, 'var' => $data)
+ );
+ }
+
+ /**
+ * @inheritDoc
+ * @param String $key
+ */
+ public function delete($key)
+ {
+ $this->connect();
+ if ($this->mc) {
+ $this->mc->delete($key, 0);
+ } else {
+ memcache_delete($this->connection, $key, 0);
+ }
+
+ $this->client->getLogger()->debug(
+ 'Memcache cache delete',
+ array('key' => $key)
+ );
+ }
+
+ /**
+ * Lazy initialiser for memcache connection. Uses pconnect for to take
+ * advantage of the persistence pool where possible.
+ */
+ private function connect()
+ {
+ if ($this->connection) {
+ return;
+ }
+
+ if (class_exists("Memcached")) {
+ $this->mc = new Memcached();
+ $this->mc->addServer($this->host, $this->port);
+ $this->connection = true;
+ } else {
+ $this->connection = memcache_pconnect($this->host, $this->port);
+ }
+
+ if (! $this->connection) {
+ $error = "Couldn't connect to memcache server";
+
+ $this->client->getLogger()->error($error);
+ throw new Postman_Google_Cache_Exception($error);
+ }
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/Null.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/Null.php
new file mode 100644
index 0000000..f61e362
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Cache/Null.php
@@ -0,0 +1,55 @@
+<?php
+/*
+ * Copyright 2014 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+/**
+ * A blank storage class, for cases where caching is not
+ * required.
+ */
+class Postman_Google_Cache_Null extends Postman_Google_Cache_Abstract
+{
+ public function __construct(Postman_Google_Client $client)
+ {
+
+ }
+
+ /**
+ * @inheritDoc
+ */
+ public function get($key, $expiration = false)
+ {
+ return false;
+ }
+
+ /**
+ * @inheritDoc
+ */
+ public function set($key, $value)
+ {
+ // Nop.
+ }
+
+ /**
+ * @inheritDoc
+ * @param String $key
+ */
+ public function delete($key)
+ {
+ // Nop.
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Client.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Client.php
new file mode 100644
index 0000000..56e6429
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Client.php
@@ -0,0 +1,686 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../autoload.php');
+
+/**
+ * The Google API Client
+ * http://code.google.com/p/google-api-php-client/
+ *
+ * @author Chris Chabot <chabotc@google.com>
+ * @author Chirag Shah <chirags@google.com>
+ */
+class Postman_Google_Client
+{
+ const LIBVER = "1.1.2";
+ const USER_AGENT_SUFFIX = "google-api-php-client/";
+ /**
+ * @var Postman_Google_Auth_Abstract $auth
+ */
+ private $auth;
+
+ /**
+ * @var Postman_Google_IO_Abstract $io
+ */
+ private $io;
+
+ /**
+ * @var Postman_Google_Cache_Abstract $cache
+ */
+ private $cache;
+
+ /**
+ * @var Postman_Google_Config $config
+ */
+ private $config;
+
+ /**
+ * @var Postman_Google_Logger_Abstract $logger
+ */
+ private $logger;
+
+ /**
+ * @var boolean $deferExecution
+ */
+ private $deferExecution = false;
+
+ /** @var array $scopes */
+ // Scopes requested by the client
+ protected $requestedScopes = array();
+
+ // definitions of services that are discovered.
+ protected $services = array();
+
+ // Used to track authenticated state, can't discover services after doing authenticate()
+ private $authenticated = false;
+
+ /**
+ * Construct the Google Client.
+ *
+ * @param $config Postman_Google_Config or string for the ini file to load
+ */
+ public function __construct($config = null)
+ {
+ if (is_string($config) && strlen($config)) {
+ $config = new Postman_Google_Config($config);
+ } else if ( !($config instanceof Postman_Google_Config)) {
+ $config = new Postman_Google_Config();
+
+ if ($this->isAppEngine()) {
+ // Automatically use Memcache if we're in AppEngine.
+ $config->setCacheClass('Postman_Google_Cache_Memcache');
+ }
+
+ if (version_compare(phpversion(), "5.3.4", "<=") || $this->isAppEngine()) {
+ // Automatically disable compress.zlib, as currently unsupported.
+ $config->setClassConfig('Postman_Google_Http_Request', 'disable_gzip', true);
+ }
+ }
+
+ if ($config->getIoClass() == Postman_Google_Config::USE_AUTO_IO_SELECTION) {
+ if (function_exists('curl_version') && function_exists('curl_exec')
+ && !$this->isAppEngine()) {
+ $config->setIoClass("Postman_Google_IO_Curl");
+ } else {
+ $config->setIoClass("Postman_Google_IO_Stream");
+ }
+ }
+
+ $this->config = $config;
+ }
+
+ /**
+ * Get a string containing the version of the library.
+ *
+ * @return string
+ */
+ public function getLibraryVersion()
+ {
+ return self::LIBVER;
+ }
+
+ /**
+ * Attempt to exchange a code for an valid authentication token.
+ * Helper wrapped around the OAuth 2.0 implementation.
+ *
+ * @param $code string code from accounts.google.com
+ * @return string token
+ */
+ public function authenticate($code)
+ {
+ $this->authenticated = true;
+ return $this->getAuth()->authenticate($code);
+ }
+
+ /**
+ * Set the auth config from the JSON string provided.
+ * This structure should match the file downloaded from
+ * the "Download JSON" button on in the Google Developer
+ * Console.
+ * @param string $json the configuration json
+ * @throws Postman_Google_Exception
+ */
+ public function setAuthConfig($json)
+ {
+ $data = json_decode($json);
+ $key = isset($data->installed) ? 'installed' : 'web';
+ if (!isset($data->$key)) {
+ throw new Postman_Google_Exception("Invalid client secret JSON file.");
+ }
+ $this->setClientId($data->$key->client_id);
+ $this->setClientSecret($data->$key->client_secret);
+ if (isset($data->$key->redirect_uris)) {
+ $this->setRedirectUri($data->$key->redirect_uris[0]);
+ }
+ }
+
+ /**
+ * Set the auth config from the JSON file in the path
+ * provided. This should match the file downloaded from
+ * the "Download JSON" button on in the Google Developer
+ * Console.
+ * @param string $file the file location of the client json
+ */
+ public function setAuthConfigFile($file)
+ {
+ $this->setAuthConfig(file_get_contents($file));
+ }
+
+ /**
+ * @throws Postman_Google_Auth_Exception
+ * @return array
+ * @visible For Testing
+ */
+ public function prepareScopes()
+ {
+ if (empty($this->requestedScopes)) {
+ throw new Postman_Google_Auth_Exception("No scopes specified");
+ }
+ $scopes = implode(' ', $this->requestedScopes);
+ return $scopes;
+ }
+
+ /**
+ * Set the OAuth 2.0 access token using the string that resulted from calling createAuthUrl()
+ * or Postman_Google_Client#getAccessToken().
+ * @param string $accessToken JSON encoded string containing in the following format:
+ * {"access_token":"TOKEN", "refresh_token":"TOKEN", "token_type":"Bearer",
+ * "expires_in":3600, "id_token":"TOKEN", "created":1320790426}
+ */
+ public function setAccessToken($accessToken)
+ {
+ if ($accessToken == 'null') {
+ $accessToken = null;
+ }
+ $this->getAuth()->setAccessToken($accessToken);
+ }
+
+
+
+ /**
+ * Set the authenticator object
+ * @param Postman_Google_Auth_Abstract $auth
+ */
+ public function setAuth(Postman_Google_Auth_Abstract $auth)
+ {
+ $this->config->setAuthClass(get_class($auth));
+ $this->auth = $auth;
+ }
+
+ /**
+ * Set the IO object
+ * @param Postman_Google_IO_Abstract $io
+ */
+ public function setIo(Postman_Google_IO_Abstract $io)
+ {
+ $this->config->setIoClass(get_class($io));
+ $this->io = $io;
+ }
+
+ /**
+ * Set the Cache object
+ * @param Postman_Google_Cache_Abstract $cache
+ */
+ public function setCache(Postman_Google_Cache_Abstract $cache)
+ {
+ $this->config->setCacheClass(get_class($cache));
+ $this->cache = $cache;
+ }
+
+ /**
+ * Set the Logger object
+ * @param Postman_Google_Logger_Abstract $logger
+ */
+ public function setLogger(Postman_Google_Logger_Abstract $logger)
+ {
+ $this->config->setLoggerClass(get_class($logger));
+ $this->logger = $logger;
+ }
+
+ /**
+ * Construct the OAuth 2.0 authorization request URI.
+ * @return string
+ */
+ public function createAuthUrl()
+ {
+ $scopes = $this->prepareScopes();
+ return $this->getAuth()->createAuthUrl($scopes);
+ }
+
+ /**
+ * Get the OAuth 2.0 access token.
+ * @return string $accessToken JSON encoded string in the following format:
+ * {"access_token":"TOKEN", "refresh_token":"TOKEN", "token_type":"Bearer",
+ * "expires_in":3600,"id_token":"TOKEN", "created":1320790426}
+ */
+ public function getAccessToken()
+ {
+ $token = $this->getAuth()->getAccessToken();
+ // The response is json encoded, so could be the string null.
+ // It is arguable whether this check should be here or lower
+ // in the library.
+ return (null == $token || 'null' == $token || '[]' == $token) ? null : $token;
+ }
+
+ /**
+ * Get the OAuth 2.0 refresh token.
+ * @return string $refreshToken refresh token or null if not available
+ */
+ public function getRefreshToken()
+ {
+ return $this->getAuth()->getRefreshToken();
+ }
+
+ /**
+ * Returns if the access_token is expired.
+ * @return bool Returns True if the access_token is expired.
+ */
+ public function isAccessTokenExpired()
+ {
+ return $this->getAuth()->isAccessTokenExpired();
+ }
+
+ /**
+ * Set OAuth 2.0 "state" parameter to achieve per-request customization.
+ * @see http://tools.ietf.org/html/draft-ietf-oauth-v2-22#section-3.1.2.2
+ * @param string $state
+ */
+ public function setState($state)
+ {
+ $this->getAuth()->setState($state);
+ }
+
+ /**
+ * @param string $accessType Possible values for access_type include:
+ * {@code "offline"} to request offline access from the user.
+ * {@code "online"} to request online access from the user.
+ */
+ public function setAccessType($accessType)
+ {
+ $this->config->setAccessType($accessType);
+ }
+
+ /**
+ * @param string $approvalPrompt Possible values for approval_prompt include:
+ * {@code "force"} to force the approval UI to appear. (This is the default value)
+ * {@code "auto"} to request auto-approval when possible.
+ */
+ public function setApprovalPrompt($approvalPrompt)
+ {
+ $this->config->setApprovalPrompt($approvalPrompt);
+ }
+
+ /**
+ * Set the login hint, email address or sub id.
+ * @param string $loginHint
+ */
+ public function setLoginHint($loginHint)
+ {
+ $this->config->setLoginHint($loginHint);
+ }
+
+ /**
+ * Set the application name, this is included in the User-Agent HTTP header.
+ * @param string $applicationName
+ */
+ public function setApplicationName($applicationName)
+ {
+ $this->config->setApplicationName($applicationName);
+ }
+
+ /**
+ * Set the OAuth 2.0 Client ID.
+ * @param string $clientId
+ */
+ public function setClientId($clientId)
+ {
+ $this->config->setClientId($clientId);
+ }
+
+ /**
+ * Set the OAuth 2.0 Client Secret.
+ * @param string $clientSecret
+ */
+ public function setClientSecret($clientSecret)
+ {
+ $this->config->setClientSecret($clientSecret);
+ }
+
+ /**
+ * Set the OAuth 2.0 Redirect URI.
+ * @param string $redirectUri
+ */
+ public function setRedirectUri($redirectUri)
+ {
+ $this->config->setRedirectUri($redirectUri);
+ }
+
+ /**
+ * If 'plus.login' is included in the list of requested scopes, you can use
+ * this method to define types of app activities that your app will write.
+ * You can find a list of available types here:
+ * @link https://developers.google.com/+/api/moment-types
+ *
+ * @param array $requestVisibleActions Array of app activity types
+ */
+ public function setRequestVisibleActions($requestVisibleActions)
+ {
+ if (is_array($requestVisibleActions)) {
+ $requestVisibleActions = join(" ", $requestVisibleActions);
+ }
+ $this->config->setRequestVisibleActions($requestVisibleActions);
+ }
+
+ /**
+ * Set the developer key to use, these are obtained through the API Console.
+ * @see http://code.google.com/apis/console-help/#generatingdevkeys
+ * @param string $developerKey
+ */
+ public function setDeveloperKey($developerKey)
+ {
+ $this->config->setDeveloperKey($developerKey);
+ }
+
+ /**
+ * Set the hd (hosted domain) parameter streamlines the login process for
+ * Google Apps hosted accounts. By including the domain of the user, you
+ * restrict sign-in to accounts at that domain.
+ * @param $hd string - the domain to use.
+ */
+ public function setHostedDomain($hd)
+ {
+ $this->config->setHostedDomain($hd);
+ }
+
+ /**
+ * Set the prompt hint. Valid values are none, consent and select_account.
+ * If no value is specified and the user has not previously authorized
+ * access, then the user is shown a consent screen.
+ * @param $prompt string
+ */
+ public function setPrompt($prompt)
+ {
+ $this->config->setPrompt($prompt);
+ }
+
+ /**
+ * openid.realm is a parameter from the OpenID 2.0 protocol, not from OAuth
+ * 2.0. It is used in OpenID 2.0 requests to signify the URL-space for which
+ * an authentication request is valid.
+ * @param $realm string - the URL-space to use.
+ */
+ public function setOpenidRealm($realm)
+ {
+ $this->config->setOpenidRealm($realm);
+ }
+
+ /**
+ * If this is provided with the value true, and the authorization request is
+ * granted, the authorization will include any previous authorizations
+ * granted to this user/application combination for other scopes.
+ * @param $include boolean - the URL-space to use.
+ */
+ public function setIncludeGrantedScopes($include)
+ {
+ $this->config->setIncludeGrantedScopes($include);
+ }
+
+ /**
+ * Fetches a fresh OAuth 2.0 access token with the given refresh token.
+ * @param string $refreshToken
+ */
+ public function refreshToken($refreshToken)
+ {
+ $this->getAuth()->refreshToken($refreshToken);
+ }
+
+ /**
+ * Revoke an OAuth2 access token or refresh token. This method will revoke the current access
+ * token, if a token isn't provided.
+ * @throws Postman_Google_Auth_Exception
+ * @param string|null $token The token (access token or a refresh token) that should be revoked.
+ * @return boolean Returns True if the revocation was successful, otherwise False.
+ */
+ public function revokeToken($token = null)
+ {
+ return $this->getAuth()->revokeToken($token);
+ }
+
+ /**
+ * Verify an id_token. This method will verify the current id_token, if one
+ * isn't provided.
+ * @throws Postman_Google_Auth_Exception
+ * @param string|null $token The token (id_token) that should be verified.
+ * @return Postman_Google_Auth_LoginTicket Returns an apiLoginTicket if the verification was
+ * successful.
+ */
+ public function verifyIdToken($token = null)
+ {
+ return $this->getAuth()->verifyIdToken($token);
+ }
+
+ /**
+ * Verify a JWT that was signed with your own certificates.
+ *
+ * @param $id_token string The JWT token
+ * @param $cert_location array of certificates
+ * @param $audience string the expected consumer of the token
+ * @param $issuer string the expected issuer, defaults to Google
+ * @param [$max_expiry] the max lifetime of a token, defaults to MAX_TOKEN_LIFETIME_SECS
+ * @return mixed token information if valid, false if not
+ */
+ public function verifySignedJwt($id_token, $cert_location, $audience, $issuer, $max_expiry = null)
+ {
+ $auth = new Postman_Google_Auth_OAuth2($this);
+ $certs = $auth->retrieveCertsFromLocation($cert_location);
+ return $auth->verifySignedJwtWithCerts($id_token, $certs, $audience, $issuer, $max_expiry);
+ }
+
+ /**
+ * @param $creds Postman_Google_Auth_AssertionCredentials
+ */
+ public function setAssertionCredentials(Postman_Google_Auth_AssertionCredentials $creds)
+ {
+ $this->getAuth()->setAssertionCredentials($creds);
+ }
+
+ /**
+ * Set the scopes to be requested. Must be called before createAuthUrl().
+ * Will remove any previously configured scopes.
+ * @param array $scopes, ie: array('https://www.googleapis.com/auth/plus.login',
+ * 'https://www.googleapis.com/auth/moderator')
+ */
+ public function setScopes($scopes)
+ {
+ $this->requestedScopes = array();
+ $this->addScope($scopes);
+ }
+
+ /**
+ * This functions adds a scope to be requested as part of the OAuth2.0 flow.
+ * Will append any scopes not previously requested to the scope parameter.
+ * A single string will be treated as a scope to request. An array of strings
+ * will each be appended.
+ * @param $scope_or_scopes string|array e.g. "profile"
+ */
+ public function addScope($scope_or_scopes)
+ {
+ if (is_string($scope_or_scopes) && !in_array($scope_or_scopes, $this->requestedScopes)) {
+ $this->requestedScopes[] = $scope_or_scopes;
+ } else if (is_array($scope_or_scopes)) {
+ foreach ($scope_or_scopes as $scope) {
+ $this->addScope($scope);
+ }
+ }
+ }
+
+ /**
+ * Returns the list of scopes requested by the client
+ * @return array the list of scopes
+ *
+ */
+ public function getScopes()
+ {
+ return $this->requestedScopes;
+ }
+
+ /**
+ * Declare whether batch calls should be used. This may increase throughput
+ * by making multiple requests in one connection.
+ *
+ * @param boolean $useBatch True if the batch support should
+ * be enabled. Defaults to False.
+ */
+ public function setUseBatch($useBatch)
+ {
+ // This is actually an alias for setDefer.
+ $this->setDefer($useBatch);
+ }
+
+ /**
+ * Declare whether making API calls should make the call immediately, or
+ * return a request which can be called with ->execute();
+ *
+ * @param boolean $defer True if calls should not be executed right away.
+ */
+ public function setDefer($defer)
+ {
+ $this->deferExecution = $defer;
+ }
+
+ /**
+ * Helper method to execute deferred HTTP requests.
+ *
+ * @param $request Postman_Google_Http_Request|Postman_Google_Http_Batch
+ * @throws Postman_Google_Exception
+ * @return object of the type of the expected class or array.
+ */
+ public function execute($request)
+ {
+ if ($request instanceof Postman_Google_Http_Request) {
+ $request->setUserAgent(
+ $this->getApplicationName()
+ . " " . self::USER_AGENT_SUFFIX
+ . $this->getLibraryVersion()
+ );
+ if (!$this->getClassConfig("Postman_Google_Http_Request", "disable_gzip")) {
+ $request->enableGzip();
+ }
+ $request->maybeMoveParametersToBody();
+ return Postman_Google_Http_REST::execute($this, $request);
+ } else if ($request instanceof Postman_Google_Http_Batch) {
+ return $request->execute();
+ } else {
+ throw new Postman_Google_Exception("Do not know how to execute this type of object.");
+ }
+ }
+
+ /**
+ * Whether or not to return raw requests
+ * @return boolean
+ */
+ public function shouldDefer()
+ {
+ return $this->deferExecution;
+ }
+
+ /**
+ * @return Postman_Google_Auth_Abstract Authentication implementation
+ */
+ public function getAuth()
+ {
+ if (!isset($this->auth)) {
+ $class = $this->config->getAuthClass();
+ $this->auth = new $class($this);
+ }
+ return $this->auth;
+ }
+
+ /**
+ * @return Postman_Google_IO_Abstract IO implementation
+ */
+ public function getIo()
+ {
+ if (!isset($this->io)) {
+ $class = $this->config->getIoClass();
+ $this->io = new $class($this);
+ }
+ return $this->io;
+ }
+
+ /**
+ * @return Postman_Google_Cache_Abstract Cache implementation
+ */
+ public function getCache()
+ {
+ if (!isset($this->cache)) {
+ $class = $this->config->getCacheClass();
+ $this->cache = new $class($this);
+ }
+ return $this->cache;
+ }
+
+ /**
+ * @return Postman_Google_Logger_Abstract Logger implementation
+ */
+ public function getLogger()
+ {
+ if (!isset($this->logger)) {
+ $class = $this->config->getLoggerClass();
+ $this->logger = new $class($this);
+ }
+ return $this->logger;
+ }
+
+ /**
+ * Retrieve custom configuration for a specific class.
+ * @param $class string|object - class or instance of class to retrieve
+ * @param $key string optional - key to retrieve
+ * @return array
+ */
+ public function getClassConfig($class, $key = null)
+ {
+ if (!is_string($class)) {
+ $class = get_class($class);
+ }
+ return $this->config->getClassConfig($class, $key);
+ }
+
+ /**
+ * Set configuration specific to a given class.
+ * $config->setClassConfig('Postman_Google_Cache_File',
+ * array('directory' => '/tmp/cache'));
+ * @param $class string|object - The class name for the configuration
+ * @param $config string key or an array of configuration values
+ * @param $value string optional - if $config is a key, the value
+ *
+ */
+ public function setClassConfig($class, $config, $value = null)
+ {
+ if (!is_string($class)) {
+ $class = get_class($class);
+ }
+ $this->config->setClassConfig($class, $config, $value);
+
+ }
+
+ /**
+ * @return string the base URL to use for calls to the APIs
+ */
+ public function getBasePath()
+ {
+ return $this->config->getBasePath();
+ }
+
+ /**
+ * @return string the name of the application
+ */
+ public function getApplicationName()
+ {
+ return $this->config->getApplicationName();
+ }
+
+ /**
+ * Are we running in Google AppEngine?
+ * return bool
+ */
+ public function isAppEngine()
+ {
+ return (isset($_SERVER['SERVER_SOFTWARE']) &&
+ strpos($_SERVER['SERVER_SOFTWARE'], 'Google App Engine') !== false);
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Collection.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Collection.php
new file mode 100644
index 0000000..03ada13
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Collection.php
@@ -0,0 +1,96 @@
+<?php
+
+require_once realpath(dirname(__FILE__) . '/../../autoload.php');
+
+/**
+ * Extension to the regular Postman_Google_Model that automatically
+ * exposes the items array for iteration, so you can just
+ * iterate over the object rather than a reference inside.
+ */
+class Postman_Google_Collection extends Postman_Google_Model implements Iterator, Countable
+{
+ protected $collection_key = 'items';
+
+ public function rewind()
+ {
+ if (isset($this->modelData[$this->collection_key])
+ && is_array($this->modelData[$this->collection_key])) {
+ reset($this->modelData[$this->collection_key]);
+ }
+ }
+
+ public function current()
+ {
+ $this->coerceType($this->key());
+ if (is_array($this->modelData[$this->collection_key])) {
+ return current($this->modelData[$this->collection_key]);
+ }
+ }
+
+ public function key()
+ {
+ if (isset($this->modelData[$this->collection_key])
+ && is_array($this->modelData[$this->collection_key])) {
+ return key($this->modelData[$this->collection_key]);
+ }
+ }
+
+ public function next()
+ {
+ return next($this->modelData[$this->collection_key]);
+ }
+
+ public function valid()
+ {
+ $key = $this->key();
+ return $key !== null && $key !== false;
+ }
+
+ public function count()
+ {
+ return count($this->modelData[$this->collection_key]);
+ }
+
+ public function offsetExists ($offset)
+ {
+ if (!is_numeric($offset)) {
+ return parent::offsetExists($offset);
+ }
+ return isset($this->modelData[$this->collection_key][$offset]);
+ }
+
+ public function offsetGet($offset)
+ {
+ if (!is_numeric($offset)) {
+ return parent::offsetGet($offset);
+ }
+ $this->coerceType($offset);
+ return $this->modelData[$this->collection_key][$offset];
+ }
+
+ public function offsetSet($offset, $value)
+ {
+ if (!is_numeric($offset)) {
+ return parent::offsetSet($offset, $value);
+ }
+ $this->modelData[$this->collection_key][$offset] = $value;
+ }
+
+ public function offsetUnset($offset)
+ {
+ if (!is_numeric($offset)) {
+ return parent::offsetUnset($offset);
+ }
+ unset($this->modelData[$this->collection_key][$offset]);
+ }
+
+ private function coerceType($offset)
+ {
+ $typeKey = $this->keyType($this->collection_key);
+ if (isset($this->$typeKey) && !is_object($this->modelData[$this->collection_key][$offset])) {
+ $type = $this->$typeKey;
+ $this->modelData[$this->collection_key][$offset] =
+ new $type($this->modelData[$this->collection_key][$offset]);
+ }
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Config.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Config.php
new file mode 100644
index 0000000..0ddcc13
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Config.php
@@ -0,0 +1,414 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * A class to contain the library configuration for the Google API client.
+ */
+class Postman_Google_Config
+{
+ const GZIP_DISABLED = true;
+ const GZIP_ENABLED = false;
+ const GZIP_UPLOADS_ENABLED = true;
+ const GZIP_UPLOADS_DISABLED = false;
+ const USE_AUTO_IO_SELECTION = "auto";
+ protected $configuration;
+
+ /**
+ * Create a new Postman_Google_Config. Can accept an ini file location with the
+ * local configuration. For example:
+ * application_name="My App"
+ *
+ * @param [$ini_file_location] - optional - The location of the ini file to load
+ */
+ public function __construct($ini_file_location = null)
+ {
+ $this->configuration = array(
+ // The application_name is included in the User-Agent HTTP header.
+ 'application_name' => '',
+
+ // Which Authentication, Storage and HTTP IO classes to use.
+ 'auth_class' => 'Postman_Google_Auth_OAuth2',
+ 'io_class' => self::USE_AUTO_IO_SELECTION,
+ 'cache_class' => 'Postman_Google_Cache_File',
+ 'logger_class' => 'Postman_Google_Logger_Null',
+
+ // Don't change these unless you're working against a special development
+ // or testing environment.
+ 'base_path' => 'https://www.googleapis.com',
+
+ // Definition of class specific values, like file paths and so on.
+ 'classes' => array(
+ 'Postman_Google_IO_Abstract' => array(
+ 'request_timeout_seconds' => 100,
+ ),
+ 'Postman_Google_Logger_Abstract' => array(
+ 'level' => 'debug',
+ 'log_format' => "[%datetime%] %level%: %message% %context%\n",
+ 'date_format' => 'd/M/Y:H:i:s O',
+ 'allow_newlines' => true
+ ),
+ 'Postman_Google_Logger_File' => array(
+ 'file' => 'php://stdout',
+ 'mode' => 0640,
+ 'lock' => false,
+ ),
+ 'Postman_Google_Http_Request' => array(
+ // Disable the use of gzip on calls if set to true. Defaults to false.
+ 'disable_gzip' => self::GZIP_ENABLED,
+
+ // We default gzip to disabled on uploads even if gzip is otherwise
+ // enabled, due to some issues seen with small packet sizes for uploads.
+ // Please test with this option before enabling gzip for uploads in
+ // a production environment.
+ 'enable_gzip_for_uploads' => self::GZIP_UPLOADS_DISABLED,
+ ),
+ // If you want to pass in OAuth 2.0 settings, they will need to be
+ // structured like this.
+ 'Postman_Google_Auth_OAuth2' => array(
+ // Keys for OAuth 2.0 access, see the API console at
+ // https://developers.google.com/console
+ 'client_id' => '',
+ 'client_secret' => '',
+ 'redirect_uri' => '',
+
+ // Simple API access key, also from the API console. Ensure you get
+ // a Server key, and not a Browser key.
+ 'developer_key' => '',
+
+ // Other parameters.
+ 'hd' => '',
+ 'prompt' => '',
+ 'openid.realm' => '',
+ 'include_granted_scopes' => '',
+ 'login_hint' => '',
+ 'request_visible_actions' => '',
+ 'access_type' => 'online',
+ 'approval_prompt' => 'auto',
+ 'federated_signon_certs_url' =>
+ 'https://www.googleapis.com/oauth2/v1/certs',
+ ),
+ // Set a default directory for the file cache.
+ 'Postman_Google_Cache_File' => array(
+ 'directory' => sys_get_temp_dir() . '/Postman_Google_Client'
+ )
+ ),
+ );
+ if ($ini_file_location) {
+ $ini = parse_ini_file($ini_file_location, true);
+ if (is_array($ini) && count($ini)) {
+ $merged_configuration = $ini + $this->configuration;
+ if (isset($ini['classes']) && isset($this->configuration['classes'])) {
+ $merged_configuration['classes'] = $ini['classes'] + $this->configuration['classes'];
+ }
+ $this->configuration = $merged_configuration;
+ }
+ }
+ }
+
+ /**
+ * Set configuration specific to a given class.
+ * $config->setClassConfig('Postman_Google_Cache_File',
+ * array('directory' => '/tmp/cache'));
+ * @param $class string The class name for the configuration
+ * @param $config string key or an array of configuration values
+ * @param $value string optional - if $config is a key, the value
+ */
+ public function setClassConfig($class, $config, $value = null)
+ {
+ if (!is_array($config)) {
+ if (!isset($this->configuration['classes'][$class])) {
+ $this->configuration['classes'][$class] = array();
+ }
+ $this->configuration['classes'][$class][$config] = $value;
+ } else {
+ $this->configuration['classes'][$class] = $config;
+ }
+ }
+
+ public function getClassConfig($class, $key = null)
+ {
+ if (!isset($this->configuration['classes'][$class])) {
+ return null;
+ }
+ if ($key === null) {
+ return $this->configuration['classes'][$class];
+ } else {
+ return $this->configuration['classes'][$class][$key];
+ }
+ }
+
+ /**
+ * Return the configured cache class.
+ * @return string
+ */
+ public function getCacheClass()
+ {
+ return $this->configuration['cache_class'];
+ }
+
+ /**
+ * Return the configured logger class.
+ * @return string
+ */
+ public function getLoggerClass()
+ {
+ return $this->configuration['logger_class'];
+ }
+
+ /**
+ * Return the configured Auth class.
+ * @return string
+ */
+ public function getAuthClass()
+ {
+ return $this->configuration['auth_class'];
+ }
+
+ /**
+ * Set the auth class.
+ *
+ * @param $class string the class name to set
+ */
+ public function setAuthClass($class)
+ {
+ $prev = $this->configuration['auth_class'];
+ if (!isset($this->configuration['classes'][$class]) &&
+ isset($this->configuration['classes'][$prev])) {
+ $this->configuration['classes'][$class] =
+ $this->configuration['classes'][$prev];
+ }
+ $this->configuration['auth_class'] = $class;
+ }
+
+ /**
+ * Set the IO class.
+ *
+ * @param $class string the class name to set
+ */
+ public function setIoClass($class)
+ {
+ $prev = $this->configuration['io_class'];
+ if (!isset($this->configuration['classes'][$class]) &&
+ isset($this->configuration['classes'][$prev])) {
+ $this->configuration['classes'][$class] =
+ $this->configuration['classes'][$prev];
+ }
+ $this->configuration['io_class'] = $class;
+ }
+
+ /**
+ * Set the cache class.
+ *
+ * @param $class string the class name to set
+ */
+ public function setCacheClass($class)
+ {
+ $prev = $this->configuration['cache_class'];
+ if (!isset($this->configuration['classes'][$class]) &&
+ isset($this->configuration['classes'][$prev])) {
+ $this->configuration['classes'][$class] =
+ $this->configuration['classes'][$prev];
+ }
+ $this->configuration['cache_class'] = $class;
+ }
+
+ /**
+ * Set the logger class.
+ *
+ * @param $class string the class name to set
+ */
+ public function setLoggerClass($class)
+ {
+ $prev = $this->configuration['logger_class'];
+ if (!isset($this->configuration['classes'][$class]) &&
+ isset($this->configuration['classes'][$prev])) {
+ $this->configuration['classes'][$class] =
+ $this->configuration['classes'][$prev];
+ }
+ $this->configuration['logger_class'] = $class;
+ }
+
+ /**
+ * Return the configured IO class.
+ *
+ * @return string
+ */
+ public function getIoClass()
+ {
+ return $this->configuration['io_class'];
+ }
+
+ /**
+ * Set the application name, this is included in the User-Agent HTTP header.
+ * @param string $name
+ */
+ public function setApplicationName($name)
+ {
+ $this->configuration['application_name'] = $name;
+ }
+
+ /**
+ * @return string the name of the application
+ */
+ public function getApplicationName()
+ {
+ return $this->configuration['application_name'];
+ }
+
+ /**
+ * Set the client ID for the auth class.
+ * @param $clientId string - the API console client ID
+ */
+ public function setClientId($clientId)
+ {
+ $this->setAuthConfig('client_id', $clientId);
+ }
+
+ /**
+ * Set the client secret for the auth class.
+ * @param $secret string - the API console client secret
+ */
+ public function setClientSecret($secret)
+ {
+ $this->setAuthConfig('client_secret', $secret);
+ }
+
+ /**
+ * Set the redirect uri for the auth class. Note that if using the
+ * Javascript based sign in flow, this should be the string 'postmessage'.
+ *
+ * @param $uri string - the URI that users should be redirected to
+ */
+ public function setRedirectUri($uri)
+ {
+ $this->setAuthConfig('redirect_uri', $uri);
+ }
+
+ /**
+ * Set the app activities for the auth class.
+ * @param $rva string a space separated list of app activity types
+ */
+ public function setRequestVisibleActions($rva)
+ {
+ $this->setAuthConfig('request_visible_actions', $rva);
+ }
+
+ /**
+ * Set the the access type requested (offline or online.)
+ * @param $access string - the access type
+ */
+ public function setAccessType($access)
+ {
+ $this->setAuthConfig('access_type', $access);
+ }
+
+ /**
+ * Set when to show the approval prompt (auto or force)
+ * @param $approval string - the approval request
+ */
+ public function setApprovalPrompt($approval)
+ {
+ $this->setAuthConfig('approval_prompt', $approval);
+ }
+
+ /**
+ * Set the login hint (email address or sub identifier)
+ * @param $hint string
+ */
+ public function setLoginHint($hint)
+ {
+ $this->setAuthConfig('login_hint', $hint);
+ }
+
+ /**
+ * Set the developer key for the auth class. Note that this is separate value
+ * from the client ID - if it looks like a URL, its a client ID!
+ * @param $key string - the API console developer key
+ */
+ public function setDeveloperKey($key)
+ {
+ $this->setAuthConfig('developer_key', $key);
+ }
+
+ /**
+ * Set the hd (hosted domain) parameter streamlines the login process for
+ * Google Apps hosted accounts. By including the domain of the user, you
+ * restrict sign-in to accounts at that domain.
+ * @param $hd string - the domain to use.
+ */
+ public function setHostedDomain($hd)
+ {
+ $this->setAuthConfig('hd', $hd);
+ }
+
+ /**
+ * Set the prompt hint. Valid values are none, consent and select_account.
+ * If no value is specified and the user has not previously authorized
+ * access, then the user is shown a consent screen.
+ * @param $prompt string
+ */
+ public function setPrompt($prompt)
+ {
+ $this->setAuthConfig('prompt', $prompt);
+ }
+
+ /**
+ * openid.realm is a parameter from the OpenID 2.0 protocol, not from OAuth
+ * 2.0. It is used in OpenID 2.0 requests to signify the URL-space for which
+ * an authentication request is valid.
+ * @param $realm string - the URL-space to use.
+ */
+ public function setOpenidRealm($realm)
+ {
+ $this->setAuthConfig('openid.realm', $realm);
+ }
+
+ /**
+ * If this is provided with the value true, and the authorization request is
+ * granted, the authorization will include any previous authorizations
+ * granted to this user/application combination for other scopes.
+ * @param $include boolean - the URL-space to use.
+ */
+ public function setIncludeGrantedScopes($include)
+ {
+ $this->setAuthConfig(
+ 'include_granted_scopes',
+ $include ? "true" : "false"
+ );
+ }
+
+ /**
+ * @return string the base URL to use for API calls
+ */
+ public function getBasePath()
+ {
+ return $this->configuration['base_path'];
+ }
+
+ /**
+ * Set the auth configuration for the current auth class.
+ * @param $key - the key to set
+ * @param $value - the parameter value
+ */
+ private function setAuthConfig($key, $value)
+ {
+ if (!isset($this->configuration['classes'][$this->getAuthClass()])) {
+ $this->configuration['classes'][$this->getAuthClass()] = array();
+ }
+ $this->configuration['classes'][$this->getAuthClass()][$key] = $value;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Exception.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Exception.php
new file mode 100644
index 0000000..8b3fbe5
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Exception.php
@@ -0,0 +1,20 @@
+<?php
+/*
+ * Copyright 2013 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+class Postman_Google_Exception extends Exception
+{
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Http/Batch.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Http/Batch.php
new file mode 100644
index 0000000..888d58b
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Http/Batch.php
@@ -0,0 +1,141 @@
+<?php
+/*
+ * Copyright 2012 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+/**
+ * @author Chirag Shah <chirags@google.com>
+ */
+class Postman_Google_Http_Batch
+{
+ /** @var string Multipart Boundary. */
+ private $boundary;
+
+ /** @var array service requests to be executed. */
+ private $requests = array();
+
+ /** @var Postman_Google_Client */
+ private $client;
+
+ private $expected_classes = array();
+
+ private $base_path;
+
+ public function __construct(Postman_Google_Client $client, $boundary = false)
+ {
+ $this->client = $client;
+ $this->base_path = $this->client->getBasePath();
+ $this->expected_classes = array();
+ $boundary = (false == $boundary) ? mt_rand() : $boundary;
+ $this->boundary = str_replace('"', '', $boundary);
+ }
+
+ public function add(Postman_Google_Http_Request $request, $key = false)
+ {
+ if (false == $key) {
+ $key = mt_rand();
+ }
+
+ $this->requests[$key] = $request;
+ }
+
+ public function execute()
+ {
+ $body = '';
+
+ /** @var Postman_Google_Http_Request $req */
+ foreach ($this->requests as $key => $req) {
+ $body .= "--{$this->boundary}\n";
+ $body .= $req->toBatchString($key) . "\n";
+ $this->expected_classes["response-" . $key] = $req->getExpectedClass();
+ }
+
+ $body = rtrim($body);
+ $body .= "\n--{$this->boundary}--";
+
+ $url = $this->base_path . '/batch';
+ $httpRequest = new Postman_Google_Http_Request($url, 'POST');
+ $httpRequest->setRequestHeaders(
+ array('Content-Type' => 'multipart/mixed; boundary=' . $this->boundary)
+ );
+
+ $httpRequest->setPostBody($body);
+ $response = $this->client->getIo()->makeRequest($httpRequest);
+
+ return $this->parseResponse($response);
+ }
+
+ public function parseResponse(Postman_Google_Http_Request $response)
+ {
+ $contentType = $response->getResponseHeader('content-type');
+ $contentType = explode(';', $contentType);
+ $boundary = false;
+ foreach ($contentType as $part) {
+ $part = (explode('=', $part, 2));
+ if (isset($part[0]) && 'boundary' == trim($part[0])) {
+ $boundary = $part[1];
+ }
+ }
+
+ $body = $response->getResponseBody();
+ if ($body) {
+ $body = str_replace("--$boundary--", "--$boundary", $body);
+ $parts = explode("--$boundary", $body);
+ $responses = array();
+
+ foreach ($parts as $part) {
+ $part = trim($part);
+ if (!empty($part)) {
+ list($metaHeaders, $part) = explode("\r\n\r\n", $part, 2);
+ $metaHeaders = $this->client->getIo()->getHttpResponseHeaders($metaHeaders);
+
+ $status = substr($part, 0, strpos($part, "\n"));
+ $status = explode(" ", $status);
+ $status = $status[1];
+
+ list($partHeaders, $partBody) = $this->client->getIo()->ParseHttpResponse($part, false);
+ $response = new Postman_Google_Http_Request("");
+ $response->setResponseHttpCode($status);
+ $response->setResponseHeaders($partHeaders);
+ $response->setResponseBody($partBody);
+
+ // Need content id.
+ $key = $metaHeaders['content-id'];
+
+ if (isset($this->expected_classes[$key]) &&
+ strlen($this->expected_classes[$key]) > 0) {
+ $class = $this->expected_classes[$key];
+ $response->setExpectedClass($class);
+ }
+
+ try {
+ $response = Postman_Google_Http_REST::decodeHttpResponse($response, $this->client);
+ $responses[$key] = $response;
+ } catch (Postman_Google_Service_Exception $e) {
+ // Store the exception as the response, so successful responses
+ // can be processed.
+ $responses[$key] = $e;
+ }
+ }
+ }
+
+ return $responses;
+ }
+
+ return null;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Http/CacheParser.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Http/CacheParser.php
new file mode 100644
index 0000000..041e1dc
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Http/CacheParser.php
@@ -0,0 +1,184 @@
+<?php
+/*
+ * Copyright 2012 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+/**
+ * Implement the caching directives specified in rfc2616. This
+ * implementation is guided by the guidance offered in rfc2616-sec13.
+ * @author Chirag Shah <chirags@google.com>
+ */
+class Postman_Google_Http_CacheParser
+{
+ public static $CACHEABLE_HTTP_METHODS = array('GET', 'HEAD');
+ public static $CACHEABLE_STATUS_CODES = array('200', '203', '300', '301');
+
+ /**
+ * Check if an HTTP request can be cached by a private local cache.
+ *
+ * @static
+ * @param Postman_Google_Http_Request $resp
+ * @return bool True if the request is cacheable.
+ * False if the request is uncacheable.
+ */
+ public static function isRequestCacheable(Postman_Google_Http_Request $resp)
+ {
+ $method = $resp->getRequestMethod();
+ if (! in_array($method, self::$CACHEABLE_HTTP_METHODS)) {
+ return false;
+ }
+
+ // Don't cache authorized requests/responses.
+ // [rfc2616-14.8] When a shared cache receives a request containing an
+ // Authorization field, it MUST NOT return the corresponding response
+ // as a reply to any other request...
+ if ($resp->getRequestHeader("authorization")) {
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
+ * Check if an HTTP response can be cached by a private local cache.
+ *
+ * @static
+ * @param Postman_Google_Http_Request $resp
+ * @return bool True if the response is cacheable.
+ * False if the response is un-cacheable.
+ */
+ public static function isResponseCacheable(Postman_Google_Http_Request $resp)
+ {
+ // First, check if the HTTP request was cacheable before inspecting the
+ // HTTP response.
+ if (false == self::isRequestCacheable($resp)) {
+ return false;
+ }
+
+ $code = $resp->getResponseHttpCode();
+ if (! in_array($code, self::$CACHEABLE_STATUS_CODES)) {
+ return false;
+ }
+
+ // The resource is uncacheable if the resource is already expired and
+ // the resource doesn't have an ETag for revalidation.
+ $etag = $resp->getResponseHeader("etag");
+ if (self::isExpired($resp) && $etag == false) {
+ return false;
+ }
+
+ // [rfc2616-14.9.2] If [no-store is] sent in a response, a cache MUST NOT
+ // store any part of either this response or the request that elicited it.
+ $cacheControl = $resp->getParsedCacheControl();
+ if (isset($cacheControl['no-store'])) {
+ return false;
+ }
+
+ // Pragma: no-cache is an http request directive, but is occasionally
+ // used as a response header incorrectly.
+ $pragma = $resp->getResponseHeader('pragma');
+ if ($pragma == 'no-cache' || strpos($pragma, 'no-cache') !== false) {
+ return false;
+ }
+
+ // [rfc2616-14.44] Vary: * is extremely difficult to cache. "It implies that
+ // a cache cannot determine from the request headers of a subsequent request
+ // whether this response is the appropriate representation."
+ // Given this, we deem responses with the Vary header as uncacheable.
+ $vary = $resp->getResponseHeader('vary');
+ if ($vary) {
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
+ * @static
+ * @param Postman_Google_Http_Request $resp
+ * @return bool True if the HTTP response is considered to be expired.
+ * False if it is considered to be fresh.
+ */
+ public static function isExpired(Postman_Google_Http_Request $resp)
+ {
+ // HTTP/1.1 clients and caches MUST treat other invalid date formats,
+ // especially including the value “0”, as in the past.
+ $parsedExpires = false;
+ $responseHeaders = $resp->getResponseHeaders();
+
+ if (isset($responseHeaders['expires'])) {
+ $rawExpires = $responseHeaders['expires'];
+ // Check for a malformed expires header first.
+ if (empty($rawExpires) || (is_numeric($rawExpires) && $rawExpires <= 0)) {
+ return true;
+ }
+
+ // See if we can parse the expires header.
+ $parsedExpires = strtotime($rawExpires);
+ if (false == $parsedExpires || $parsedExpires <= 0) {
+ return true;
+ }
+ }
+
+ // Calculate the freshness of an http response.
+ $freshnessLifetime = false;
+ $cacheControl = $resp->getParsedCacheControl();
+ if (isset($cacheControl['max-age'])) {
+ $freshnessLifetime = $cacheControl['max-age'];
+ }
+
+ $rawDate = $resp->getResponseHeader('date');
+ $parsedDate = strtotime($rawDate);
+
+ if (empty($rawDate) || false == $parsedDate) {
+ // We can't default this to now, as that means future cache reads
+ // will always pass with the logic below, so we will require a
+ // date be injected if not supplied.
+ throw new Postman_Google_Exception("All cacheable requests must have creation dates.");
+ }
+
+ if (false == $freshnessLifetime && isset($responseHeaders['expires'])) {
+ $freshnessLifetime = $parsedExpires - $parsedDate;
+ }
+
+ if (false == $freshnessLifetime) {
+ return true;
+ }
+
+ // Calculate the age of an http response.
+ $age = max(0, time() - $parsedDate);
+ if (isset($responseHeaders['age'])) {
+ $age = max($age, strtotime($responseHeaders['age']));
+ }
+
+ return $freshnessLifetime <= $age;
+ }
+
+ /**
+ * Determine if a cache entry should be revalidated with by the origin.
+ *
+ * @param Postman_Google_Http_Request $response
+ * @return bool True if the entry is expired, else return false.
+ */
+ public static function mustRevalidate(Postman_Google_Http_Request $response)
+ {
+ // [13.3] When a cache has a stale entry that it would like to use as a
+ // response to a client's request, it first has to check with the origin
+ // server to see if its cached entry is still usable.
+ return self::isExpired($response);
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Http/MediaFileUpload.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Http/MediaFileUpload.php
new file mode 100644
index 0000000..0a28125
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Http/MediaFileUpload.php
@@ -0,0 +1,300 @@
+<?php
+/**
+ * Copyright 2012 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+/**
+ * @author Chirag Shah <chirags@google.com>
+ *
+ */
+class Postman_Google_Http_MediaFileUpload
+{
+ const UPLOAD_MEDIA_TYPE = 'media';
+ const UPLOAD_MULTIPART_TYPE = 'multipart';
+ const UPLOAD_RESUMABLE_TYPE = 'resumable';
+
+ /** @var string $mimeType */
+ private $mimeType;
+
+ /** @var string $data */
+ private $data;
+
+ /** @var bool $resumable */
+ private $resumable;
+
+ /** @var int $chunkSize */
+ private $chunkSize;
+
+ /** @var int $size */
+ private $size;
+
+ /** @var string $resumeUri */
+ private $resumeUri;
+
+ /** @var int $progress */
+ private $progress;
+
+ /** @var Postman_Google_Client */
+ private $client;
+
+ /** @var Postman_Google_Http_Request */
+ private $request;
+
+ /** @var string */
+ private $boundary;
+
+ /**
+ * Result code from last HTTP call
+ * @var int
+ */
+ private $httpResultCode;
+
+ /**
+ * @param $mimeType string
+ * @param $data string The bytes you want to upload.
+ * @param $resumable bool
+ * @param bool $chunkSize File will be uploaded in chunks of this many bytes.
+ * only used if resumable=True
+ */
+ public function __construct(
+ Postman_Google_Client $client,
+ Postman_Google_Http_Request $request,
+ $mimeType,
+ $data,
+ $resumable = false,
+ $chunkSize = false,
+ $boundary = false
+ ) {
+ $this->client = $client;
+ $this->request = $request;
+ $this->mimeType = $mimeType;
+ $this->data = $data;
+ $this->size = strlen($this->data);
+ $this->resumable = $resumable;
+ if (!$chunkSize) {
+ $chunkSize = 256 * 1024;
+ }
+ $this->chunkSize = $chunkSize;
+ $this->progress = 0;
+ $this->boundary = $boundary;
+
+ // Process Media Request
+ $this->process();
+ }
+
+ /**
+ * Set the size of the file that is being uploaded.
+ * @param $size - int file size in bytes
+ */
+ public function setFileSize($size)
+ {
+ $this->size = $size;
+ }
+
+ /**
+ * Return the progress on the upload
+ * @return int progress in bytes uploaded.
+ */
+ public function getProgress()
+ {
+ return $this->progress;
+ }
+
+ /**
+ * Return the HTTP result code from the last call made.
+ * @return int code
+ */
+ public function getHttpResultCode()
+ {
+ return $this->httpResultCode;
+ }
+
+ /**
+ * Send the next part of the file to upload.
+ * @param [$chunk] the next set of bytes to send. If false will used $data passed
+ * at construct time.
+ */
+ public function nextChunk($chunk = false)
+ {
+ if (false == $this->resumeUri) {
+ $this->resumeUri = $this->getResumeUri();
+ }
+
+ if (false == $chunk) {
+ $chunk = substr($this->data, $this->progress, $this->chunkSize);
+ }
+
+ $lastBytePos = $this->progress + strlen($chunk) - 1;
+ $headers = array(
+ 'content-range' => "bytes $this->progress-$lastBytePos/$this->size",
+ 'content-type' => $this->request->getRequestHeader('content-type'),
+ 'content-length' => $this->chunkSize,
+ 'expect' => '',
+ );
+
+ $httpRequest = new Postman_Google_Http_Request(
+ $this->resumeUri,
+ 'PUT',
+ $headers,
+ $chunk
+ );
+
+ if ($this->client->getClassConfig("Postman_Google_Http_Request", "enable_gzip_for_uploads")) {
+ $httpRequest->enableGzip();
+ } else {
+ $httpRequest->disableGzip();
+ }
+
+ $response = $this->client->getIo()->makeRequest($httpRequest);
+ $response->setExpectedClass($this->request->getExpectedClass());
+ $code = $response->getResponseHttpCode();
+ $this->httpResultCode = $code;
+
+ if (308 == $code) {
+ // Track the amount uploaded.
+ $range = explode('-', $response->getResponseHeader('range'));
+ $this->progress = $range[1] + 1;
+
+ // Allow for changing upload URLs.
+ $location = $response->getResponseHeader('location');
+ if ($location) {
+ $this->resumeUri = $location;
+ }
+
+ // No problems, but upload not complete.
+ return false;
+ } else {
+ return Postman_Google_Http_REST::decodeHttpResponse($response, $this->client);
+ }
+ }
+
+ /**
+ * @param $meta
+ * @param $params
+ * @return array|bool
+ * @visible for testing
+ */
+ private function process()
+ {
+ $postBody = false;
+ $contentType = false;
+
+ $meta = $this->request->getPostBody();
+ $meta = is_string($meta) ? json_decode($meta, true) : $meta;
+
+ $uploadType = $this->getUploadType($meta);
+ $this->request->setQueryParam('uploadType', $uploadType);
+ $this->transformToUploadUrl();
+ $mimeType = $this->mimeType ?
+ $this->mimeType :
+ $this->request->getRequestHeader('content-type');
+
+ if (self::UPLOAD_RESUMABLE_TYPE == $uploadType) {
+ $contentType = $mimeType;
+ $postBody = is_string($meta) ? $meta : json_encode($meta);
+ } else if (self::UPLOAD_MEDIA_TYPE == $uploadType) {
+ $contentType = $mimeType;
+ $postBody = $this->data;
+ } else if (self::UPLOAD_MULTIPART_TYPE == $uploadType) {
+ // This is a multipart/related upload.
+ $boundary = $this->boundary ? $this->boundary : mt_rand();
+ $boundary = str_replace('"', '', $boundary);
+ $contentType = 'multipart/related; boundary=' . $boundary;
+ $related = "--$boundary\r\n";
+ $related .= "Content-Type: application/json; charset=UTF-8\r\n";
+ $related .= "\r\n" . json_encode($meta) . "\r\n";
+ $related .= "--$boundary\r\n";
+ $related .= "Content-Type: $mimeType\r\n";
+ $related .= "Content-Transfer-Encoding: base64\r\n";
+ $related .= "\r\n" . base64_encode($this->data) . "\r\n";
+ $related .= "--$boundary--";
+ $postBody = $related;
+ }
+
+ $this->request->setPostBody($postBody);
+
+ if (isset($contentType) && $contentType) {
+ $contentTypeHeader['content-type'] = $contentType;
+ $this->request->setRequestHeaders($contentTypeHeader);
+ }
+ }
+
+ private function transformToUploadUrl()
+ {
+ $base = $this->request->getBaseComponent();
+ $this->request->setBaseComponent($base . '/upload');
+ }
+
+ /**
+ * Valid upload types:
+ * - resumable (UPLOAD_RESUMABLE_TYPE)
+ * - media (UPLOAD_MEDIA_TYPE)
+ * - multipart (UPLOAD_MULTIPART_TYPE)
+ * @param $meta
+ * @return string
+ * @visible for testing
+ */
+ public function getUploadType($meta)
+ {
+ if ($this->resumable) {
+ return self::UPLOAD_RESUMABLE_TYPE;
+ }
+
+ if (false == $meta && $this->data) {
+ return self::UPLOAD_MEDIA_TYPE;
+ }
+
+ return self::UPLOAD_MULTIPART_TYPE;
+ }
+
+ private function getResumeUri()
+ {
+ $result = null;
+ $body = $this->request->getPostBody();
+ if ($body) {
+ $headers = array(
+ 'content-type' => 'application/json; charset=UTF-8',
+ 'content-length' => Postman_Google_Utils::getStrLen($body),
+ 'x-upload-content-type' => $this->mimeType,
+ 'x-upload-content-length' => $this->size,
+ 'expect' => '',
+ );
+ $this->request->setRequestHeaders($headers);
+ }
+
+ $response = $this->client->getIo()->makeRequest($this->request);
+ $location = $response->getResponseHeader('location');
+ $code = $response->getResponseHttpCode();
+
+ if (200 == $code && true == $location) {
+ return $location;
+ }
+ $message = $code;
+ $body = @json_decode($response->getResponseBody());
+ if (!empty( $body->error->errors ) ) {
+ $message .= ': ';
+ foreach ($body->error->errors as $error) {
+ $message .= "{$error->domain}, {$error->message};";
+ }
+ $message = rtrim($message, ';');
+ }
+
+ $error = "Failed to start the resumable upload (HTTP {$message})";
+ $this->client->getLogger()->error($error);
+ throw new Postman_Google_Exception($error);
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Http/REST.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Http/REST.php
new file mode 100644
index 0000000..2e0e677
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Http/REST.php
@@ -0,0 +1,147 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+/**
+ * This class implements the RESTful transport of apiServiceRequest()'s
+ *
+ * @author Chris Chabot <chabotc@google.com>
+ * @author Chirag Shah <chirags@google.com>
+ */
+class Postman_Google_Http_REST
+{
+ /**
+ * Executes a Postman_Google_Http_Request
+ *
+ * @param Postman_Google_Client $client
+ * @param Postman_Google_Http_Request $req
+ * @return array decoded result
+ * @throws Postman_Google_Service_Exception on server side error (ie: not authenticated,
+ * invalid or malformed post body, invalid url)
+ */
+ public static function execute(Postman_Google_Client $client, Postman_Google_Http_Request $req)
+ {
+ $httpRequest = $client->getIo()->makeRequest($req);
+ $httpRequest->setExpectedClass($req->getExpectedClass());
+ return self::decodeHttpResponse($httpRequest, $client);
+ }
+
+ /**
+ * Decode an HTTP Response.
+ * @static
+ * @throws Postman_Google_Service_Exception
+ * @param Postman_Google_Http_Request $response The http response to be decoded.
+ * @param Postman_Google_Client $client
+ * @return mixed|null
+ */
+ public static function decodeHttpResponse($response, Postman_Google_Client $client = null)
+ {
+ $code = $response->getResponseHttpCode();
+ $body = $response->getResponseBody();
+ $decoded = null;
+
+ if ((intVal($code)) >= 300) {
+ $decoded = json_decode($body, true);
+ $err = 'Error calling ' . $response->getRequestMethod() . ' ' . $response->getUrl();
+ if (isset($decoded['error']) &&
+ isset($decoded['error']['message']) &&
+ isset($decoded['error']['code'])) {
+ // if we're getting a json encoded error definition, use that instead of the raw response
+ // body for improved readability
+ $err .= ": ({$decoded['error']['code']}) {$decoded['error']['message']}";
+ } else {
+ $err .= ": ($code) $body";
+ }
+
+ $errors = null;
+ // Specific check for APIs which don't return error details, such as Blogger.
+ if (isset($decoded['error']) && isset($decoded['error']['errors'])) {
+ $errors = $decoded['error']['errors'];
+ }
+
+ if ($client) {
+ $client->getLogger()->error(
+ $err,
+ array('code' => $code, 'errors' => $errors)
+ );
+ }
+ throw new Postman_Google_Service_Exception($err, $code, null, $errors);
+ }
+
+ // Only attempt to decode the response, if the response code wasn't (204) 'no content'
+ if ($code != '204') {
+ $decoded = json_decode($body, true);
+ if ($decoded === null || $decoded === "") {
+ $error = "Invalid json in service response: $body";
+ if ($client) {
+ $client->getLogger()->error($error);
+ }
+ throw new Postman_Google_Service_Exception($error);
+ }
+
+ if ($response->getExpectedClass()) {
+ $class = $response->getExpectedClass();
+ $decoded = new $class($decoded);
+ }
+ }
+ return $decoded;
+ }
+
+ /**
+ * Parse/expand request parameters and create a fully qualified
+ * request uri.
+ * @static
+ * @param string $servicePath
+ * @param string $restPath
+ * @param array $params
+ * @return string $requestUrl
+ */
+ public static function createRequestUri($servicePath, $restPath, $params)
+ {
+ $requestUrl = $servicePath . $restPath;
+ $uriTemplateVars = array();
+ $queryVars = array();
+ foreach ($params as $paramName => $paramSpec) {
+ if ($paramSpec['type'] == 'boolean') {
+ $paramSpec['value'] = ($paramSpec['value']) ? 'true' : 'false';
+ }
+ if ($paramSpec['location'] == 'path') {
+ $uriTemplateVars[$paramName] = $paramSpec['value'];
+ } else if ($paramSpec['location'] == 'query') {
+ if (isset($paramSpec['repeated']) && is_array($paramSpec['value'])) {
+ foreach ($paramSpec['value'] as $value) {
+ $queryVars[] = $paramName . '=' . rawurlencode($value);
+ }
+ } else {
+ $queryVars[] = $paramName . '=' . rawurlencode($paramSpec['value']);
+ }
+ }
+ }
+
+ if (count($uriTemplateVars)) {
+ $uriTemplateParser = new Postman_Google_Utils_URITemplate();
+ $requestUrl = $uriTemplateParser->parse($requestUrl, $uriTemplateVars);
+ }
+
+ if (count($queryVars)) {
+ $requestUrl .= '?' . implode($queryVars, '&');
+ }
+
+ return $requestUrl;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Http/Request.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Http/Request.php
new file mode 100644
index 0000000..5375fd1
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Http/Request.php
@@ -0,0 +1,476 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+/**
+ * HTTP Request to be executed by IO classes. Upon execution, the
+ * responseHttpCode, responseHeaders and responseBody will be filled in.
+ *
+ * @author Chris Chabot <chabotc@google.com>
+ * @author Chirag Shah <chirags@google.com>
+ *
+ */
+class Postman_Google_Http_Request
+{
+ const GZIP_UA = " (gzip)";
+
+ private $batchHeaders = array(
+ 'Content-Type' => 'application/http',
+ 'Content-Transfer-Encoding' => 'binary',
+ 'MIME-Version' => '1.0',
+ );
+
+ protected $queryParams;
+ protected $requestMethod;
+ protected $requestHeaders;
+ protected $baseComponent = null;
+ protected $path;
+ protected $postBody;
+ protected $userAgent;
+ protected $canGzip = null;
+
+ protected $responseHttpCode;
+ protected $responseHeaders;
+ protected $responseBody;
+
+ protected $expectedClass;
+
+ public $accessKey;
+
+ public function __construct(
+ $url,
+ $method = 'GET',
+ $headers = array(),
+ $postBody = null
+ ) {
+ $this->setUrl($url);
+ $this->setRequestMethod($method);
+ $this->setRequestHeaders($headers);
+ $this->setPostBody($postBody);
+ }
+
+ /**
+ * Misc function that returns the base url component of the $url
+ * used by the OAuth signing class to calculate the base string
+ * @return string The base url component of the $url.
+ */
+ public function getBaseComponent()
+ {
+ return $this->baseComponent;
+ }
+
+ /**
+ * Set the base URL that path and query parameters will be added to.
+ * @param $baseComponent string
+ */
+ public function setBaseComponent($baseComponent)
+ {
+ $this->baseComponent = $baseComponent;
+ }
+
+ /**
+ * Enable support for gzipped responses with this request.
+ */
+ public function enableGzip()
+ {
+ $this->setRequestHeaders(array("Accept-Encoding" => "gzip"));
+ $this->canGzip = true;
+ $this->setUserAgent($this->userAgent);
+ }
+
+ /**
+ * Disable support for gzip responses with this request.
+ */
+ public function disableGzip()
+ {
+ if (
+ isset($this->requestHeaders['accept-encoding']) &&
+ $this->requestHeaders['accept-encoding'] == "gzip"
+ ) {
+ unset($this->requestHeaders['accept-encoding']);
+ }
+ $this->canGzip = false;
+ $this->userAgent = str_replace(self::GZIP_UA, "", $this->userAgent);
+ }
+
+ /**
+ * Can this request accept a gzip response?
+ * @return bool
+ */
+ public function canGzip()
+ {
+ return $this->canGzip;
+ }
+
+ /**
+ * Misc function that returns an array of the query parameters of the current
+ * url used by the OAuth signing class to calculate the signature
+ * @return array Query parameters in the query string.
+ */
+ public function getQueryParams()
+ {
+ return $this->queryParams;
+ }
+
+ /**
+ * Set a new query parameter.
+ * @param $key - string to set, does not need to be URL encoded
+ * @param $value - string to set, does not need to be URL encoded
+ */
+ public function setQueryParam($key, $value)
+ {
+ $this->queryParams[$key] = $value;
+ }
+
+ /**
+ * @return string HTTP Response Code.
+ */
+ public function getResponseHttpCode()
+ {
+ return (int) $this->responseHttpCode;
+ }
+
+ /**
+ * @param int $responseHttpCode HTTP Response Code.
+ */
+ public function setResponseHttpCode($responseHttpCode)
+ {
+ $this->responseHttpCode = $responseHttpCode;
+ }
+
+ /**
+ * @return $responseHeaders (array) HTTP Response Headers.
+ */
+ public function getResponseHeaders()
+ {
+ return $this->responseHeaders;
+ }
+
+ /**
+ * @return string HTTP Response Body
+ */
+ public function getResponseBody()
+ {
+ return $this->responseBody;
+ }
+
+ /**
+ * Set the class the response to this request should expect.
+ *
+ * @param $class string the class name
+ */
+ public function setExpectedClass($class)
+ {
+ $this->expectedClass = $class;
+ }
+
+ /**
+ * Retrieve the expected class the response should expect.
+ * @return string class name
+ */
+ public function getExpectedClass()
+ {
+ return $this->expectedClass;
+ }
+
+ /**
+ * @param array $headers The HTTP response headers
+ * to be normalized.
+ */
+ public function setResponseHeaders($headers)
+ {
+ $headers = Postman_Google_Utils::normalize($headers);
+ if ($this->responseHeaders) {
+ $headers = array_merge($this->responseHeaders, $headers);
+ }
+
+ $this->responseHeaders = $headers;
+ }
+
+ /**
+ * @param string $key
+ * @return array|boolean Returns the requested HTTP header or
+ * false if unavailable.
+ */
+ public function getResponseHeader($key)
+ {
+ return isset($this->responseHeaders[$key])
+ ? $this->responseHeaders[$key]
+ : false;
+ }
+
+ /**
+ * @param string $responseBody The HTTP response body.
+ */
+ public function setResponseBody($responseBody)
+ {
+ $this->responseBody = $responseBody;
+ }
+
+ /**
+ * @return string $url The request URL.
+ */
+ public function getUrl()
+ {
+ return $this->baseComponent . $this->path .
+ (count($this->queryParams) ?
+ "?" . $this->buildQuery($this->queryParams) :
+ '');
+ }
+
+ /**
+ * @return string $method HTTP Request Method.
+ */
+ public function getRequestMethod()
+ {
+ return $this->requestMethod;
+ }
+
+ /**
+ * @return array $headers HTTP Request Headers.
+ */
+ public function getRequestHeaders()
+ {
+ return $this->requestHeaders;
+ }
+
+ /**
+ * @param string $key
+ * @return array|boolean Returns the requested HTTP header or
+ * false if unavailable.
+ */
+ public function getRequestHeader($key)
+ {
+ return isset($this->requestHeaders[$key])
+ ? $this->requestHeaders[$key]
+ : false;
+ }
+
+ /**
+ * @return string $postBody HTTP Request Body.
+ */
+ public function getPostBody()
+ {
+ return $this->postBody;
+ }
+
+ /**
+ * @param string $url the url to set
+ */
+ public function setUrl($url)
+ {
+ if (substr($url, 0, 4) != 'http') {
+ // Force the path become relative.
+ if (substr($url, 0, 1) !== '/') {
+ $url = '/' . $url;
+ }
+ }
+ $parts = parse_url($url);
+ if (isset($parts['host'])) {
+ $this->baseComponent = sprintf(
+ "%s%s%s",
+ isset($parts['scheme']) ? $parts['scheme'] . "://" : '',
+ isset($parts['host']) ? $parts['host'] : '',
+ isset($parts['port']) ? ":" . $parts['port'] : ''
+ );
+ }
+ $this->path = isset($parts['path']) ? $parts['path'] : '';
+ $this->queryParams = array();
+ if (isset($parts['query'])) {
+ $this->queryParams = $this->parseQuery($parts['query']);
+ }
+ }
+
+ /**
+ * @param string $method Set he HTTP Method and normalize
+ * it to upper-case, as required by HTTP.
+ *
+ */
+ public function setRequestMethod($method)
+ {
+ $this->requestMethod = strtoupper($method);
+ }
+
+ /**
+ * @param array $headers The HTTP request headers
+ * to be set and normalized.
+ */
+ public function setRequestHeaders($headers)
+ {
+ $headers = Postman_Google_Utils::normalize($headers);
+ if ($this->requestHeaders) {
+ $headers = array_merge($this->requestHeaders, $headers);
+ }
+ $this->requestHeaders = $headers;
+ }
+
+ /**
+ * @param string $postBody the postBody to set
+ */
+ public function setPostBody($postBody)
+ {
+ $this->postBody = $postBody;
+ }
+
+ /**
+ * Set the User-Agent Header.
+ * @param string $userAgent The User-Agent.
+ */
+ public function setUserAgent($userAgent)
+ {
+ $this->userAgent = $userAgent;
+ if ($this->canGzip) {
+ $this->userAgent = $userAgent . self::GZIP_UA;
+ }
+ }
+
+ /**
+ * @return string The User-Agent.
+ */
+ public function getUserAgent()
+ {
+ return $this->userAgent;
+ }
+
+ /**
+ * Returns a cache key depending on if this was an OAuth signed request
+ * in which case it will use the non-signed url and access key to make this
+ * cache key unique per authenticated user, else use the plain request url
+ * @return string The md5 hash of the request cache key.
+ */
+ public function getCacheKey()
+ {
+ $key = $this->getUrl();
+
+ if (isset($this->accessKey)) {
+ $key .= $this->accessKey;
+ }
+
+ if (isset($this->requestHeaders['authorization'])) {
+ $key .= $this->requestHeaders['authorization'];
+ }
+
+ return md5($key);
+ }
+
+ public function getParsedCacheControl()
+ {
+ $parsed = array();
+ $rawCacheControl = $this->getResponseHeader('cache-control');
+ if ($rawCacheControl) {
+ $rawCacheControl = str_replace(', ', '&', $rawCacheControl);
+ parse_str($rawCacheControl, $parsed);
+ }
+
+ return $parsed;
+ }
+
+ /**
+ * @param string $id
+ * @return string A string representation of the HTTP Request.
+ */
+ public function toBatchString($id)
+ {
+ $str = '';
+ $path = parse_url($this->getUrl(), PHP_URL_PATH) . "?" .
+ http_build_query($this->queryParams);
+ $str .= $this->getRequestMethod() . ' ' . $path . " HTTP/1.1\n";
+
+ foreach ($this->getRequestHeaders() as $key => $val) {
+ $str .= $key . ': ' . $val . "\n";
+ }
+
+ if ($this->getPostBody()) {
+ $str .= "\n";
+ $str .= $this->getPostBody();
+ }
+
+ $headers = '';
+ foreach ($this->batchHeaders as $key => $val) {
+ $headers .= $key . ': ' . $val . "\n";
+ }
+
+ $headers .= "Content-ID: $id\n";
+ $str = $headers . "\n" . $str;
+
+ return $str;
+ }
+
+ /**
+ * Our own version of parse_str that allows for multiple variables
+ * with the same name.
+ * @param $string - the query string to parse
+ */
+ private function parseQuery($string)
+ {
+ $return = array();
+ $parts = explode("&", $string);
+ foreach ($parts as $part) {
+ list($key, $value) = explode('=', $part, 2);
+ $value = urldecode($value);
+ if (isset($return[$key])) {
+ if (!is_array($return[$key])) {
+ $return[$key] = array($return[$key]);
+ }
+ $return[$key][] = $value;
+ } else {
+ $return[$key] = $value;
+ }
+ }
+ return $return;
+ }
+
+ /**
+ * A version of build query that allows for multiple
+ * duplicate keys.
+ * @param $parts array of key value pairs
+ */
+ private function buildQuery($parts)
+ {
+ $return = array();
+ foreach ($parts as $key => $value) {
+ if (is_array($value)) {
+ foreach ($value as $v) {
+ $return[] = urlencode($key) . "=" . urlencode($v);
+ }
+ } else {
+ $return[] = urlencode($key) . "=" . urlencode($value);
+ }
+ }
+ return implode('&', $return);
+ }
+
+ /**
+ * If we're POSTing and have no body to send, we can send the query
+ * parameters in there, which avoids length issues with longer query
+ * params.
+ */
+ public function maybeMoveParametersToBody()
+ {
+ if ($this->getRequestMethod() == "POST" && empty($this->postBody)) {
+ $this->setRequestHeaders(
+ array(
+ "content-type" =>
+ "application/x-www-form-urlencoded; charset=UTF-8"
+ )
+ );
+ $this->setPostBody($this->buildQuery($this->queryParams));
+ $this->queryParams = array();
+ }
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/IO/Abstract.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/IO/Abstract.php
new file mode 100644
index 0000000..a480941
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/IO/Abstract.php
@@ -0,0 +1,329 @@
+<?php
+/*
+ * Copyright 2013 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Abstract IO base class
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+abstract class Postman_Google_IO_Abstract
+{
+ const UNKNOWN_CODE = 0;
+ const FORM_URLENCODED = 'application/x-www-form-urlencoded';
+ private static $CONNECTION_ESTABLISHED_HEADERS = array(
+ "HTTP/1.0 200 Connection established\r\n\r\n",
+ "HTTP/1.1 200 Connection established\r\n\r\n",
+ );
+ private static $ENTITY_HTTP_METHODS = array("POST" => null, "PUT" => null);
+
+ /** @var Postman_Google_Client */
+ protected $client;
+
+ public function __construct(Postman_Google_Client $client)
+ {
+ $this->client = $client;
+ $timeout = $client->getClassConfig('Postman_Google_IO_Abstract', 'request_timeout_seconds');
+ if ($timeout > 0) {
+ $this->setTimeout($timeout);
+ }
+ }
+
+ /**
+ * Executes a Postman_Google_Http_Request and returns the resulting populated Postman_Google_Http_Request
+ * @param Postman_Google_Http_Request $request
+ * @return Postman_Google_Http_Request $request
+ */
+ abstract public function executeRequest(Postman_Google_Http_Request $request);
+
+ /**
+ * Set options that update the transport implementation's behavior.
+ * @param $options
+ */
+ abstract public function setOptions($options);
+
+ /**
+ * Set the maximum request time in seconds.
+ * @param $timeout in seconds
+ */
+ abstract public function setTimeout($timeout);
+
+ /**
+ * Get the maximum request time in seconds.
+ * @return timeout in seconds
+ */
+ abstract public function getTimeout();
+
+ /**
+ * Test for the presence of a cURL header processing bug
+ *
+ * The cURL bug was present in versions prior to 7.30.0 and caused the header
+ * length to be miscalculated when a "Connection established" header added by
+ * some proxies was present.
+ *
+ * @return boolean
+ */
+ abstract protected function needsQuirk();
+
+ /**
+ * @visible for testing.
+ * Cache the response to an HTTP request if it is cacheable.
+ * @param Postman_Google_Http_Request $request
+ * @return bool Returns true if the insertion was successful.
+ * Otherwise, return false.
+ */
+ public function setCachedRequest(Postman_Google_Http_Request $request)
+ {
+ // Determine if the request is cacheable.
+ if (Postman_Google_Http_CacheParser::isResponseCacheable($request)) {
+ $this->client->getCache()->set($request->getCacheKey(), $request);
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * Execute an HTTP Request
+ *
+ * @param Postman_Google_HttpRequest $request the http request to be executed
+ * @return Postman_Google_HttpRequest http request with the response http code,
+ * response headers and response body filled in
+ * @throws Postman_Google_IO_Exception on curl or IO error
+ */
+ public function makeRequest(Postman_Google_Http_Request $request)
+ {
+ // First, check to see if we have a valid cached version.
+ $cached = $this->getCachedRequest($request);
+ if ($cached !== false && $cached instanceof Postman_Google_Http_Request) {
+ if (!$this->checkMustRevalidateCachedRequest($cached, $request)) {
+ return $cached;
+ }
+ }
+
+ if (array_key_exists($request->getRequestMethod(), self::$ENTITY_HTTP_METHODS)) {
+ $request = $this->processEntityRequest($request);
+ }
+
+ list($responseData, $responseHeaders, $respHttpCode) = $this->executeRequest($request);
+
+ if ($respHttpCode == 304 && $cached) {
+ // If the server responded NOT_MODIFIED, return the cached request.
+ $this->updateCachedRequest($cached, $responseHeaders);
+ return $cached;
+ }
+
+ if (!isset($responseHeaders['Date']) && !isset($responseHeaders['date'])) {
+ $responseHeaders['Date'] = date("r");
+ }
+
+ $request->setResponseHttpCode($respHttpCode);
+ $request->setResponseHeaders($responseHeaders);
+ $request->setResponseBody($responseData);
+ // Store the request in cache (the function checks to see if the request
+ // can actually be cached)
+ $this->setCachedRequest($request);
+ return $request;
+ }
+
+ /**
+ * @visible for testing.
+ * @param Postman_Google_Http_Request $request
+ * @return Postman_Google_Http_Request|bool Returns the cached object or
+ * false if the operation was unsuccessful.
+ */
+ public function getCachedRequest(Postman_Google_Http_Request $request)
+ {
+ if (false === Postman_Google_Http_CacheParser::isRequestCacheable($request)) {
+ return false;
+ }
+
+ return $this->client->getCache()->get($request->getCacheKey());
+ }
+
+ /**
+ * @visible for testing
+ * Process an http request that contains an enclosed entity.
+ * @param Postman_Google_Http_Request $request
+ * @return Postman_Google_Http_Request Processed request with the enclosed entity.
+ */
+ public function processEntityRequest(Postman_Google_Http_Request $request)
+ {
+ $postBody = $request->getPostBody();
+ $contentType = $request->getRequestHeader("content-type");
+
+ // Set the default content-type as application/x-www-form-urlencoded.
+ if (false == $contentType) {
+ $contentType = self::FORM_URLENCODED;
+ $request->setRequestHeaders(array('content-type' => $contentType));
+ }
+
+ // Force the payload to match the content-type asserted in the header.
+ if ($contentType == self::FORM_URLENCODED && is_array($postBody)) {
+ $postBody = http_build_query($postBody, '', '&');
+ $request->setPostBody($postBody);
+ }
+
+ // Make sure the content-length header is set.
+ if (!$postBody || is_string($postBody)) {
+ $postsLength = strlen($postBody);
+ $request->setRequestHeaders(array('content-length' => $postsLength));
+ }
+
+ return $request;
+ }
+
+ /**
+ * Check if an already cached request must be revalidated, and if so update
+ * the request with the correct ETag headers.
+ * @param Postman_Google_Http_Request $cached A previously cached response.
+ * @param Postman_Google_Http_Request $request The outbound request.
+ * return bool If the cached object needs to be revalidated, false if it is
+ * still current and can be re-used.
+ */
+ protected function checkMustRevalidateCachedRequest($cached, $request)
+ {
+ if (Postman_Google_Http_CacheParser::mustRevalidate($cached)) {
+ $addHeaders = array();
+ if ($cached->getResponseHeader('etag')) {
+ // [13.3.4] If an entity tag has been provided by the origin server,
+ // we must use that entity tag in any cache-conditional request.
+ $addHeaders['If-None-Match'] = $cached->getResponseHeader('etag');
+ } elseif ($cached->getResponseHeader('date')) {
+ $addHeaders['If-Modified-Since'] = $cached->getResponseHeader('date');
+ }
+
+ $request->setRequestHeaders($addHeaders);
+ return true;
+ } else {
+ return false;
+ }
+ }
+
+ /**
+ * Update a cached request, using the headers from the last response.
+ * @param Postman_Google_HttpRequest $cached A previously cached response.
+ * @param mixed Associative array of response headers from the last request.
+ */
+ protected function updateCachedRequest($cached, $responseHeaders)
+ {
+ if (isset($responseHeaders['connection'])) {
+ $hopByHop = array_merge(
+ self::$HOP_BY_HOP,
+ explode(
+ ',',
+ $responseHeaders['connection']
+ )
+ );
+
+ $endToEnd = array();
+ foreach ($hopByHop as $key) {
+ if (isset($responseHeaders[$key])) {
+ $endToEnd[$key] = $responseHeaders[$key];
+ }
+ }
+ $cached->setResponseHeaders($endToEnd);
+ }
+ }
+
+ /**
+ * Used by the IO lib and also the batch processing.
+ *
+ * @param $respData
+ * @param $headerSize
+ * @return array
+ */
+ public function parseHttpResponse($respData, $headerSize)
+ {
+ // check proxy header
+ foreach (self::$CONNECTION_ESTABLISHED_HEADERS as $established_header) {
+ if (stripos($respData, $established_header) !== false) {
+ // existed, remove it
+ $respData = str_ireplace($established_header, '', $respData);
+ // Subtract the proxy header size unless the cURL bug prior to 7.30.0
+ // is present which prevented the proxy header size from being taken into
+ // account.
+ if (!$this->needsQuirk()) {
+ $headerSize -= strlen($established_header);
+ }
+ break;
+ }
+ }
+
+ if ($headerSize) {
+ $responseBody = substr($respData, $headerSize);
+ $responseHeaders = substr($respData, 0, $headerSize);
+ } else {
+ $responseSegments = explode("\r\n\r\n", $respData, 2);
+ $responseHeaders = $responseSegments[0];
+ $responseBody = isset($responseSegments[1]) ? $responseSegments[1] :
+ null;
+ }
+
+ $responseHeaders = $this->getHttpResponseHeaders($responseHeaders);
+ return array($responseHeaders, $responseBody);
+ }
+
+ /**
+ * Parse out headers from raw headers
+ * @param rawHeaders array or string
+ * @return array
+ */
+ public function getHttpResponseHeaders($rawHeaders)
+ {
+ if (is_array($rawHeaders)) {
+ return $this->parseArrayHeaders($rawHeaders);
+ } else {
+ return $this->parseStringHeaders($rawHeaders);
+ }
+ }
+
+ private function parseStringHeaders($rawHeaders)
+ {
+ $headers = array();
+ $responseHeaderLines = explode("\r\n", $rawHeaders);
+ foreach ($responseHeaderLines as $headerLine) {
+ if ($headerLine && strpos($headerLine, ':') !== false) {
+ list($header, $value) = explode(': ', $headerLine, 2);
+ $header = strtolower($header);
+ if (isset($headers[$header])) {
+ $headers[$header] .= "\n" . $value;
+ } else {
+ $headers[$header] = $value;
+ }
+ }
+ }
+ return $headers;
+ }
+
+ private function parseArrayHeaders($rawHeaders)
+ {
+ $header_count = count($rawHeaders);
+ $headers = array();
+
+ for ($i = 0; $i < $header_count; $i++) {
+ $header = $rawHeaders[$i];
+ // Times will have colons in - so we just want the first match.
+ $header_parts = explode(': ', $header, 2);
+ if (count($header_parts) == 2) {
+ $headers[$header_parts[0]] = $header_parts[1];
+ }
+ }
+
+ return $headers;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/IO/Curl.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/IO/Curl.php
new file mode 100644
index 0000000..dd393e4
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/IO/Curl.php
@@ -0,0 +1,159 @@
+<?php
+/*
+ * Copyright 2014 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Curl based implementation of Postman_Google_IO.
+ *
+ * @author Stuart Langley <slangley@google.com>
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+class Postman_Google_IO_Curl extends Postman_Google_IO_Abstract
+{
+ // cURL hex representation of version 7.30.0
+ const NO_QUIRK_VERSION = 0x071E00;
+
+ private $options = array();
+ /**
+ * Execute an HTTP Request
+ *
+ * @param Postman_Google_HttpRequest $request the http request to be executed
+ * @return Postman_Google_HttpRequest http request with the response http code,
+ * response headers and response body filled in
+ * @throws Postman_Google_IO_Exception on curl or IO error
+ */
+ public function executeRequest(Postman_Google_Http_Request $request)
+ {
+ $curl = curl_init();
+
+ if ($request->getPostBody()) {
+ curl_setopt($curl, CURLOPT_POSTFIELDS, $request->getPostBody());
+ }
+
+ $requestHeaders = $request->getRequestHeaders();
+ if ($requestHeaders && is_array($requestHeaders)) {
+ $curlHeaders = array();
+ foreach ($requestHeaders as $k => $v) {
+ $curlHeaders[] = "$k: $v";
+ }
+ curl_setopt($curl, CURLOPT_HTTPHEADER, $curlHeaders);
+ }
+ curl_setopt($curl, CURLOPT_URL, $request->getUrl());
+
+ curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $request->getRequestMethod());
+ curl_setopt($curl, CURLOPT_USERAGENT, $request->getUserAgent());
+
+ curl_setopt($curl, CURLOPT_FOLLOWLOCATION, false);
+ curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true);
+ // 1 is CURL_SSLVERSION_TLSv1, which is not always defined in PHP.
+ curl_setopt($curl, CURLOPT_SSLVERSION, 1);
+ curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
+ curl_setopt($curl, CURLOPT_HEADER, true);
+
+ if ($request->canGzip()) {
+ curl_setopt($curl, CURLOPT_ENCODING, 'gzip,deflate');
+ }
+
+ foreach ($this->options as $key => $var) {
+ curl_setopt($curl, $key, $var);
+ }
+
+ if (!isset($this->options[CURLOPT_CAINFO])) {
+ curl_setopt($curl, CURLOPT_CAINFO, dirname(__FILE__) . '/cacerts.pem');
+ }
+
+ $this->client->getLogger()->debug(
+ 'cURL request',
+ array(
+ 'url' => $request->getUrl(),
+ 'method' => $request->getRequestMethod(),
+ 'headers' => $requestHeaders,
+ 'body' => $request->getPostBody()
+ )
+ );
+
+ $response = curl_exec($curl);
+ if ($response === false) {
+ $error = curl_error($curl);
+
+ $this->client->getLogger()->error('cURL ' . $error);
+ throw new Postman_Google_IO_Exception($error);
+ }
+ $headerSize = curl_getinfo($curl, CURLINFO_HEADER_SIZE);
+
+ list($responseHeaders, $responseBody) = $this->parseHttpResponse($response, $headerSize);
+ $responseCode = curl_getinfo($curl, CURLINFO_HTTP_CODE);
+
+ $this->client->getLogger()->debug(
+ 'cURL response',
+ array(
+ 'code' => $responseCode,
+ 'headers' => $responseHeaders,
+ 'body' => $responseBody,
+ )
+ );
+
+ return array($responseBody, $responseHeaders, $responseCode);
+ }
+
+ /**
+ * Set options that update the transport implementation's behavior.
+ * @param $options
+ */
+ public function setOptions($options)
+ {
+ $this->options = $options + $this->options;
+ }
+
+ /**
+ * Set the maximum request time in seconds.
+ * @param $timeout in seconds
+ */
+ public function setTimeout($timeout)
+ {
+ // Since this timeout is really for putting a bound on the time
+ // we'll set them both to the same. If you need to specify a longer
+ // CURLOPT_TIMEOUT, or a tigher CONNECTTIMEOUT, the best thing to
+ // do is use the setOptions method for the values individually.
+ $this->options[CURLOPT_CONNECTTIMEOUT] = $timeout;
+ $this->options[CURLOPT_TIMEOUT] = $timeout;
+ }
+
+ /**
+ * Get the maximum request time in seconds.
+ * @return timeout in seconds
+ */
+ public function getTimeout()
+ {
+ return $this->options[CURLOPT_TIMEOUT];
+ }
+
+ /**
+ * Test for the presence of a cURL header processing bug
+ *
+ * {@inheritDoc}
+ *
+ * @return boolean
+ */
+ protected function needsQuirk()
+ {
+ $ver = curl_version();
+ $versionNum = $ver['version_number'];
+ return $versionNum < Postman_Google_IO_Curl::NO_QUIRK_VERSION;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/IO/Exception.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/IO/Exception.php
new file mode 100644
index 0000000..df6a598
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/IO/Exception.php
@@ -0,0 +1,22 @@
+<?php
+/*
+ * Copyright 2013 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+class Postman_Google_IO_Exception extends Postman_Google_Exception
+{
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/IO/Stream.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/IO/Stream.php
new file mode 100644
index 0000000..0f326a5
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/IO/Stream.php
@@ -0,0 +1,231 @@
+<?php
+/*
+ * Copyright 2013 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Http Streams based implementation of Postman_Google_IO.
+ *
+ * @author Stuart Langley <slangley@google.com>
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+class Postman_Google_IO_Stream extends Postman_Google_IO_Abstract
+{
+ const TIMEOUT = "timeout";
+ const ZLIB = "compress.zlib://";
+ private $options = array();
+ private $trappedErrorNumber;
+ private $trappedErrorString;
+
+ private static $DEFAULT_HTTP_CONTEXT = array(
+ "follow_location" => 0,
+ "ignore_errors" => 1,
+ );
+
+ private static $DEFAULT_SSL_CONTEXT = array(
+ "verify_peer" => true,
+ );
+
+ /**
+ * Execute an HTTP Request
+ *
+ * @param Postman_Google_HttpRequest $request the http request to be executed
+ * @return Postman_Google_HttpRequest http request with the response http code,
+ * response headers and response body filled in
+ * @throws Postman_Google_IO_Exception on curl or IO error
+ */
+ public function executeRequest(Postman_Google_Http_Request $request)
+ {
+ $default_options = stream_context_get_options(stream_context_get_default());
+
+ $requestHttpContext = array_key_exists('http', $default_options) ?
+ $default_options['http'] : array();
+
+ if ($request->getPostBody()) {
+ $requestHttpContext["content"] = $request->getPostBody();
+ }
+
+ $requestHeaders = $request->getRequestHeaders();
+ if ($requestHeaders && is_array($requestHeaders)) {
+ $headers = "";
+ foreach ($requestHeaders as $k => $v) {
+ $headers .= "$k: $v\r\n";
+ }
+ $requestHttpContext["header"] = $headers;
+ }
+
+ $requestHttpContext["method"] = $request->getRequestMethod();
+ $requestHttpContext["user_agent"] = $request->getUserAgent();
+
+ $requestSslContext = array_key_exists('ssl', $default_options) ?
+ $default_options['ssl'] : array();
+
+ if (!array_key_exists("cafile", $requestSslContext)) {
+ $requestSslContext["cafile"] = dirname(__FILE__) . '/cacerts.pem';
+ }
+
+ $options = array(
+ "http" => array_merge(
+ self::$DEFAULT_HTTP_CONTEXT,
+ $requestHttpContext
+ ),
+ "ssl" => array_merge(
+ self::$DEFAULT_SSL_CONTEXT,
+ $requestSslContext
+ )
+ );
+
+ $context = stream_context_create($options);
+
+ $url = $request->getUrl();
+
+ if ($request->canGzip()) {
+ $url = self::ZLIB . $url;
+ }
+
+ $this->client->getLogger()->debug(
+ 'Stream request',
+ array(
+ 'url' => $url,
+ 'method' => $request->getRequestMethod(),
+ 'headers' => $requestHeaders,
+ 'body' => $request->getPostBody()
+ )
+ );
+
+ // We are trapping any thrown errors in this method only and
+ // throwing an exception.
+ $this->trappedErrorNumber = null;
+ $this->trappedErrorString = null;
+
+ // START - error trap.
+ set_error_handler(array($this, 'trapError'));
+ $fh = fopen($url, 'r', false, $context);
+ restore_error_handler();
+ // END - error trap.
+
+ if ($this->trappedErrorNumber) {
+ $error = sprintf(
+ "HTTP Error: Unable to connect: '%s'",
+ $this->trappedErrorString
+ );
+
+ $this->client->getLogger()->error('Stream ' . $error);
+ throw new Postman_Google_IO_Exception($error, $this->trappedErrorNumber);
+ }
+
+ $response_data = false;
+ $respHttpCode = self::UNKNOWN_CODE;
+ if ($fh) {
+ if (isset($this->options[self::TIMEOUT])) {
+ // @jason: added @ to hide PHP warnings if the host has disabled stream_set_timeout
+ @stream_set_timeout($fh, $this->options[self::TIMEOUT]);
+ }
+
+ $response_data = stream_get_contents($fh);
+ fclose($fh);
+
+ $respHttpCode = $this->getHttpResponseCode($http_response_header);
+ }
+
+ if (false === $response_data) {
+ $error = sprintf(
+ "HTTP Error: Unable to connect: '%s'",
+ $respHttpCode
+ );
+
+ $this->client->getLogger()->error('Stream ' . $error);
+ throw new Postman_Google_IO_Exception($error, $respHttpCode);
+ }
+
+ $responseHeaders = $this->getHttpResponseHeaders($http_response_header);
+
+ $this->client->getLogger()->debug(
+ 'Stream response',
+ array(
+ 'code' => $respHttpCode,
+ 'headers' => $responseHeaders,
+ 'body' => $response_data,
+ )
+ );
+
+ return array($response_data, $responseHeaders, $respHttpCode);
+ }
+
+ /**
+ * Set options that update the transport implementation's behavior.
+ * @param $options
+ */
+ public function setOptions($options)
+ {
+ $this->options = $options + $this->options;
+ }
+
+ /**
+ * Method to handle errors, used for error handling around
+ * stream connection methods.
+ */
+ public function trapError($errno, $errstr)
+ {
+ $this->trappedErrorNumber = $errno;
+ $this->trappedErrorString = $errstr;
+ }
+
+ /**
+ * Set the maximum request time in seconds.
+ * @param $timeout in seconds
+ */
+ public function setTimeout($timeout)
+ {
+ $this->options[self::TIMEOUT] = $timeout;
+ }
+
+ /**
+ * Get the maximum request time in seconds.
+ * @return timeout in seconds
+ */
+ public function getTimeout()
+ {
+ return $this->options[self::TIMEOUT];
+ }
+
+ /**
+ * Test for the presence of a cURL header processing bug
+ *
+ * {@inheritDoc}
+ *
+ * @return boolean
+ */
+ protected function needsQuirk()
+ {
+ return false;
+ }
+
+ protected function getHttpResponseCode($response_headers)
+ {
+ $header_count = count($response_headers);
+
+ for ($i = 0; $i < $header_count; $i++) {
+ $header = $response_headers[$i];
+ if (strncasecmp("HTTP", $header, strlen("HTTP")) == 0) {
+ $response = explode(' ', $header);
+ return $response[1];
+ }
+ }
+ return self::UNKNOWN_CODE;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/IO/cacerts.pem b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/IO/cacerts.pem
new file mode 100644
index 0000000..70990f1
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/IO/cacerts.pem
@@ -0,0 +1,2183 @@
+# Issuer: CN=GTE CyberTrust Global Root O=GTE Corporation OU=GTE CyberTrust Solutions, Inc.
+# Subject: CN=GTE CyberTrust Global Root O=GTE Corporation OU=GTE CyberTrust Solutions, Inc.
+# Label: "GTE CyberTrust Global Root"
+# Serial: 421
+# MD5 Fingerprint: ca:3d:d3:68:f1:03:5c:d0:32:fa:b8:2b:59:e8:5a:db
+# SHA1 Fingerprint: 97:81:79:50:d8:1c:96:70:cc:34:d8:09:cf:79:44:31:36:7e:f4:74
+# SHA256 Fingerprint: a5:31:25:18:8d:21:10:aa:96:4b:02:c7:b7:c6:da:32:03:17:08:94:e5:fb:71:ff:fb:66:67:d5:e6:81:0a:36
+-----BEGIN CERTIFICATE-----
+MIICWjCCAcMCAgGlMA0GCSqGSIb3DQEBBAUAMHUxCzAJBgNVBAYTAlVTMRgwFgYD
+VQQKEw9HVEUgQ29ycG9yYXRpb24xJzAlBgNVBAsTHkdURSBDeWJlclRydXN0IFNv
+bHV0aW9ucywgSW5jLjEjMCEGA1UEAxMaR1RFIEN5YmVyVHJ1c3QgR2xvYmFsIFJv
+b3QwHhcNOTgwODEzMDAyOTAwWhcNMTgwODEzMjM1OTAwWjB1MQswCQYDVQQGEwJV
+UzEYMBYGA1UEChMPR1RFIENvcnBvcmF0aW9uMScwJQYDVQQLEx5HVEUgQ3liZXJU
+cnVzdCBTb2x1dGlvbnMsIEluYy4xIzAhBgNVBAMTGkdURSBDeWJlclRydXN0IEds
+b2JhbCBSb290MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCVD6C28FCc6HrH
+iM3dFw4usJTQGz0O9pTAipTHBsiQl8i4ZBp6fmw8U+E3KHNgf7KXUwefU/ltWJTS
+r41tiGeA5u2ylc9yMcqlHHK6XALnZELn+aks1joNrI1CqiQBOeacPwGFVw1Yh0X4
+04Wqk2kmhXBIgD8SFcd5tB8FLztimQIDAQABMA0GCSqGSIb3DQEBBAUAA4GBAG3r
+GwnpXtlR22ciYaQqPEh346B8pt5zohQDhT37qw4wxYMWM4ETCJ57NE7fQMh017l9
+3PR2VX2bY1QY6fDq81yx2YtCHrnAlU66+tXifPVoYb+O7AWXX1uw16OFNMQkpw0P
+lZPvy5TYnh+dXIVtx6quTx8itc2VrbqnzPmrC3p/
+-----END CERTIFICATE-----
+
+# Issuer: CN=Thawte Server CA O=Thawte Consulting cc OU=Certification Services Division
+# Subject: CN=Thawte Server CA O=Thawte Consulting cc OU=Certification Services Division
+# Label: "Thawte Server CA"
+# Serial: 1
+# MD5 Fingerprint: c5:70:c4:a2:ed:53:78:0c:c8:10:53:81:64:cb:d0:1d
+# SHA1 Fingerprint: 23:e5:94:94:51:95:f2:41:48:03:b4:d5:64:d2:a3:a3:f5:d8:8b:8c
+# SHA256 Fingerprint: b4:41:0b:73:e2:e6:ea:ca:47:fb:c4:2f:8f:a4:01:8a:f4:38:1d:c5:4c:fa:a8:44:50:46:1e:ed:09:45:4d:e9
+-----BEGIN CERTIFICATE-----
+MIIDEzCCAnygAwIBAgIBATANBgkqhkiG9w0BAQQFADCBxDELMAkGA1UEBhMCWkEx
+FTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMR0wGwYD
+VQQKExRUaGF3dGUgQ29uc3VsdGluZyBjYzEoMCYGA1UECxMfQ2VydGlmaWNhdGlv
+biBTZXJ2aWNlcyBEaXZpc2lvbjEZMBcGA1UEAxMQVGhhd3RlIFNlcnZlciBDQTEm
+MCQGCSqGSIb3DQEJARYXc2VydmVyLWNlcnRzQHRoYXd0ZS5jb20wHhcNOTYwODAx
+MDAwMDAwWhcNMjAxMjMxMjM1OTU5WjCBxDELMAkGA1UEBhMCWkExFTATBgNVBAgT
+DFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMR0wGwYDVQQKExRUaGF3
+dGUgQ29uc3VsdGluZyBjYzEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNl
+cyBEaXZpc2lvbjEZMBcGA1UEAxMQVGhhd3RlIFNlcnZlciBDQTEmMCQGCSqGSIb3
+DQEJARYXc2VydmVyLWNlcnRzQHRoYXd0ZS5jb20wgZ8wDQYJKoZIhvcNAQEBBQAD
+gY0AMIGJAoGBANOkUG7I/1Zr5s9dtuoMaHVHoqrC2oQl/Kj0R1HahbUgdJSGHg91
+yekIYfUGbTBuFRkC6VLAYttNmZ7iagxEOM3+vuNkCXDF/rFrKbYvScg71CcEJRCX
+L+eQbcAoQpnXTEPew/UhbVSfXcNY4cDk2VuwuNy0e982OsK1ZiIS1ocNAgMBAAGj
+EzARMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEEBQADgYEAB/pMaVz7lcxG
+7oWDTSEwjsrZqG9JGubaUeNgcGyEYRGhGshIPllDfU+VPaGLtwtimHp1it2ITk6e
+QNuozDJ0uW8NxuOzRAvZim+aKZuZGCg70eNAKJpaPNW15yAbi8qkq43pUdniTCxZ
+qdq5snUb9kLy78fyGPmJvKP/iiMucEc=
+-----END CERTIFICATE-----
+
+# Issuer: CN=Thawte Premium Server CA O=Thawte Consulting cc OU=Certification Services Division
+# Subject: CN=Thawte Premium Server CA O=Thawte Consulting cc OU=Certification Services Division
+# Label: "Thawte Premium Server CA"
+# Serial: 1
+# MD5 Fingerprint: 06:9f:69:79:16:66:90:02:1b:8c:8c:a2:c3:07:6f:3a
+# SHA1 Fingerprint: 62:7f:8d:78:27:65:63:99:d2:7d:7f:90:44:c9:fe:b3:f3:3e:fa:9a
+# SHA256 Fingerprint: ab:70:36:36:5c:71:54:aa:29:c2:c2:9f:5d:41:91:16:3b:16:2a:22:25:01:13:57:d5:6d:07:ff:a7:bc:1f:72
+-----BEGIN CERTIFICATE-----
+MIIDJzCCApCgAwIBAgIBATANBgkqhkiG9w0BAQQFADCBzjELMAkGA1UEBhMCWkEx
+FTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMR0wGwYD
+VQQKExRUaGF3dGUgQ29uc3VsdGluZyBjYzEoMCYGA1UECxMfQ2VydGlmaWNhdGlv
+biBTZXJ2aWNlcyBEaXZpc2lvbjEhMB8GA1UEAxMYVGhhd3RlIFByZW1pdW0gU2Vy
+dmVyIENBMSgwJgYJKoZIhvcNAQkBFhlwcmVtaXVtLXNlcnZlckB0aGF3dGUuY29t
+MB4XDTk2MDgwMTAwMDAwMFoXDTIwMTIzMTIzNTk1OVowgc4xCzAJBgNVBAYTAlpB
+MRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEdMBsG
+A1UEChMUVGhhd3RlIENvbnN1bHRpbmcgY2MxKDAmBgNVBAsTH0NlcnRpZmljYXRp
+b24gU2VydmljZXMgRGl2aXNpb24xITAfBgNVBAMTGFRoYXd0ZSBQcmVtaXVtIFNl
+cnZlciBDQTEoMCYGCSqGSIb3DQEJARYZcHJlbWl1bS1zZXJ2ZXJAdGhhd3RlLmNv
+bTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA0jY2aovXwlue2oFBYo847kkE
+VdbQ7xwblRZH7xhINTpS9CtqBo87L+pW46+GjZ4X9560ZXUCTe/LCaIhUdib0GfQ
+ug2SBhRz1JPLlyoAnFxODLz6FVL88kRu2hFKbgifLy3j+ao6hnO2RlNYyIkFvYMR
+uHM/qgeN9EJN50CdHDcCAwEAAaMTMBEwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG
+9w0BAQQFAAOBgQAmSCwWwlj66BZ0DKqqX1Q/8tfJeGBeXm43YyJ3Nn6yF8Q0ufUI
+hfzJATj/Tb7yFkJD57taRvvBxhEf8UqwKEbJw8RCfbz6q1lu1bdRiBHjpIUZa4JM
+pAwSremkrj/xw0llmozFyD4lt5SZu5IycQfwhl7tUCemDaYj+bvLpgcUQg==
+-----END CERTIFICATE-----
+
+# Issuer: O=Equifax OU=Equifax Secure Certificate Authority
+# Subject: O=Equifax OU=Equifax Secure Certificate Authority
+# Label: "Equifax Secure CA"
+# Serial: 903804111
+# MD5 Fingerprint: 67:cb:9d:c0:13:24:8a:82:9b:b2:17:1e:d1:1b:ec:d4
+# SHA1 Fingerprint: d2:32:09:ad:23:d3:14:23:21:74:e4:0d:7f:9d:62:13:97:86:63:3a
+# SHA256 Fingerprint: 08:29:7a:40:47:db:a2:36:80:c7:31:db:6e:31:76:53:ca:78:48:e1:be:bd:3a:0b:01:79:a7:07:f9:2c:f1:78
+-----BEGIN CERTIFICATE-----
+MIIDIDCCAomgAwIBAgIENd70zzANBgkqhkiG9w0BAQUFADBOMQswCQYDVQQGEwJV
+UzEQMA4GA1UEChMHRXF1aWZheDEtMCsGA1UECxMkRXF1aWZheCBTZWN1cmUgQ2Vy
+dGlmaWNhdGUgQXV0aG9yaXR5MB4XDTk4MDgyMjE2NDE1MVoXDTE4MDgyMjE2NDE1
+MVowTjELMAkGA1UEBhMCVVMxEDAOBgNVBAoTB0VxdWlmYXgxLTArBgNVBAsTJEVx
+dWlmYXggU2VjdXJlIENlcnRpZmljYXRlIEF1dGhvcml0eTCBnzANBgkqhkiG9w0B
+AQEFAAOBjQAwgYkCgYEAwV2xWGcIYu6gmi0fCG2RFGiYCh7+2gRvE4RiIcPRfM6f
+BeC4AfBONOziipUEZKzxa1NfBbPLZ4C/QgKO/t0BCezhABRP/PvwDN1Dulsr4R+A
+cJkVV5MW8Q+XarfCaCMczE1ZMKxRHjuvK9buY0V7xdlfUNLjUA86iOe/FP3gx7kC
+AwEAAaOCAQkwggEFMHAGA1UdHwRpMGcwZaBjoGGkXzBdMQswCQYDVQQGEwJVUzEQ
+MA4GA1UEChMHRXF1aWZheDEtMCsGA1UECxMkRXF1aWZheCBTZWN1cmUgQ2VydGlm
+aWNhdGUgQXV0aG9yaXR5MQ0wCwYDVQQDEwRDUkwxMBoGA1UdEAQTMBGBDzIwMTgw
+ODIyMTY0MTUxWjALBgNVHQ8EBAMCAQYwHwYDVR0jBBgwFoAUSOZo+SvSspXXR9gj
+IBBPM5iQn9QwHQYDVR0OBBYEFEjmaPkr0rKV10fYIyAQTzOYkJ/UMAwGA1UdEwQF
+MAMBAf8wGgYJKoZIhvZ9B0EABA0wCxsFVjMuMGMDAgbAMA0GCSqGSIb3DQEBBQUA
+A4GBAFjOKer89961zgK5F7WF0bnj4JXMJTENAKaSbn+2kmOeUJXRmm/kEd5jhW6Y
+7qj/WsjTVbJmcVfewCHrPSqnI0kBBIZCe/zuf6IWUrVnZ9NA2zsmWLIodz2uFHdh
+1voqZiegDfqnc1zqcPGUIWVEX/r87yloqaKHee9570+sB3c4
+-----END CERTIFICATE-----
+
+# Issuer: O=VeriSign, Inc. OU=Class 3 Public Primary Certification Authority
+# Subject: O=VeriSign, Inc. OU=Class 3 Public Primary Certification Authority
+# Label: "Verisign Class 3 Public Primary Certification Authority"
+# Serial: 149843929435818692848040365716851702463
+# MD5 Fingerprint: 10:fc:63:5d:f6:26:3e:0d:f3:25:be:5f:79:cd:67:67
+# SHA1 Fingerprint: 74:2c:31:92:e6:07:e4:24:eb:45:49:54:2b:e1:bb:c5:3e:61:74:e2
+# SHA256 Fingerprint: e7:68:56:34:ef:ac:f6:9a:ce:93:9a:6b:25:5b:7b:4f:ab:ef:42:93:5b:50:a2:65:ac:b5:cb:60:27:e4:4e:70
+-----BEGIN CERTIFICATE-----
+MIICPDCCAaUCEHC65B0Q2Sk0tjjKewPMur8wDQYJKoZIhvcNAQECBQAwXzELMAkG
+A1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFz
+cyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTk2
+MDEyOTAwMDAwMFoXDTI4MDgwMTIzNTk1OVowXzELMAkGA1UEBhMCVVMxFzAVBgNV
+BAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAzIFB1YmxpYyBQcmlt
+YXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIGfMA0GCSqGSIb3DQEBAQUAA4GN
+ADCBiQKBgQDJXFme8huKARS0EN8EQNvjV69qRUCPhAwL0TPZ2RHP7gJYHyX3KqhE
+BarsAx94f56TuZoAqiN91qyFomNFx3InzPRMxnVx0jnvT0Lwdd8KkMaOIG+YD/is
+I19wKTakyYbnsZogy1Olhec9vn2a/iRFM9x2Fe0PonFkTGUugWhFpwIDAQABMA0G
+CSqGSIb3DQEBAgUAA4GBALtMEivPLCYATxQT3ab7/AoRhIzzKBxnki98tsX63/Do
+lbwdj2wsqFHMc9ikwFPwTtYmwHYBV4GSXiHx0bH/59AhWM1pF+NEHJwZRDmJXNyc
+AA9WjQKZ7aKQRUzkuxCkPfAyAw7xzvjoyVGM5mKf5p/AfbdynMk2OmufTqj/ZA1k
+-----END CERTIFICATE-----
+
+# Issuer: O=VeriSign, Inc. OU=Class 3 Public Primary Certification Authority - G2/(c) 1998 VeriSign, Inc. - For authorized use only/VeriSign Trust Network
+# Subject: O=VeriSign, Inc. OU=Class 3 Public Primary Certification Authority - G2/(c) 1998 VeriSign, Inc. - For authorized use only/VeriSign Trust Network
+# Label: "Verisign Class 3 Public Primary Certification Authority - G2"
+# Serial: 167285380242319648451154478808036881606
+# MD5 Fingerprint: a2:33:9b:4c:74:78:73:d4:6c:e7:c1:f3:8d:cb:5c:e9
+# SHA1 Fingerprint: 85:37:1c:a6:e5:50:14:3d:ce:28:03:47:1b:de:3a:09:e8:f8:77:0f
+# SHA256 Fingerprint: 83:ce:3c:12:29:68:8a:59:3d:48:5f:81:97:3c:0f:91:95:43:1e:da:37:cc:5e:36:43:0e:79:c7:a8:88:63:8b
+-----BEGIN CERTIFICATE-----
+MIIDAjCCAmsCEH3Z/gfPqB63EHln+6eJNMYwDQYJKoZIhvcNAQEFBQAwgcExCzAJ
+BgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE8MDoGA1UECxMzQ2xh
+c3MgMyBQdWJsaWMgUHJpbWFyeSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEcy
+MTowOAYDVQQLEzEoYykgMTk5OCBWZXJpU2lnbiwgSW5jLiAtIEZvciBhdXRob3Jp
+emVkIHVzZSBvbmx5MR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMB4X
+DTk4MDUxODAwMDAwMFoXDTI4MDgwMTIzNTk1OVowgcExCzAJBgNVBAYTAlVTMRcw
+FQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE8MDoGA1UECxMzQ2xhc3MgMyBQdWJsaWMg
+UHJpbWFyeSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEcyMTowOAYDVQQLEzEo
+YykgMTk5OCBWZXJpU2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5
+MR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMIGfMA0GCSqGSIb3DQEB
+AQUAA4GNADCBiQKBgQDMXtERXVxp0KvTuWpMmR9ZmDCOFoUgRm1HP9SFIIThbbP4
+pO0M8RcPO/mn+SXXwc+EY/J8Y8+iR/LGWzOOZEAEaMGAuWQcRXfH2G71lSk8UOg0
+13gfqLptQ5GVj0VXXn7F+8qkBOvqlzdUMG+7AUcyM83cV5tkaWH4mx0ciU9cZwID
+AQABMA0GCSqGSIb3DQEBBQUAA4GBAFFNzb5cy5gZnBWyATl4Lk0PZ3BwmcYQWpSk
+U01UbSuvDV1Ai2TT1+7eVmGSX6bEHRBhNtMsJzzoKQm5EWR0zLVznxxIqbxhAe7i
+F6YM40AIOw7n60RzKprxaZLvcRTDOaxxp5EJb+RxBrO6WVcmeQD2+A2iMzAo1KpY
+oJ2daZH9
+-----END CERTIFICATE-----
+
+# Issuer: CN=GlobalSign Root CA O=GlobalSign nv-sa OU=Root CA
+# Subject: CN=GlobalSign Root CA O=GlobalSign nv-sa OU=Root CA
+# Label: "GlobalSign Root CA"
+# Serial: 4835703278459707669005204
+# MD5 Fingerprint: 3e:45:52:15:09:51:92:e1:b7:5d:37:9f:b1:87:29:8a
+# SHA1 Fingerprint: b1:bc:96:8b:d4:f4:9d:62:2a:a8:9a:81:f2:15:01:52:a4:1d:82:9c
+# SHA256 Fingerprint: eb:d4:10:40:e4:bb:3e:c7:42:c9:e3:81:d3:1e:f2:a4:1a:48:b6:68:5c:96:e7:ce:f3:c1:df:6c:d4:33:1c:99
+-----BEGIN CERTIFICATE-----
+MIIDdTCCAl2gAwIBAgILBAAAAAABFUtaw5QwDQYJKoZIhvcNAQEFBQAwVzELMAkG
+A1UEBhMCQkUxGTAXBgNVBAoTEEdsb2JhbFNpZ24gbnYtc2ExEDAOBgNVBAsTB1Jv
+b3QgQ0ExGzAZBgNVBAMTEkdsb2JhbFNpZ24gUm9vdCBDQTAeFw05ODA5MDExMjAw
+MDBaFw0yODAxMjgxMjAwMDBaMFcxCzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9i
+YWxTaWduIG52LXNhMRAwDgYDVQQLEwdSb290IENBMRswGQYDVQQDExJHbG9iYWxT
+aWduIFJvb3QgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDaDuaZ
+jc6j40+Kfvvxi4Mla+pIH/EqsLmVEQS98GPR4mdmzxzdzxtIK+6NiY6arymAZavp
+xy0Sy6scTHAHoT0KMM0VjU/43dSMUBUc71DuxC73/OlS8pF94G3VNTCOXkNz8kHp
+1Wrjsok6Vjk4bwY8iGlbKk3Fp1S4bInMm/k8yuX9ifUSPJJ4ltbcdG6TRGHRjcdG
+snUOhugZitVtbNV4FpWi6cgKOOvyJBNPc1STE4U6G7weNLWLBYy5d4ux2x8gkasJ
+U26Qzns3dLlwR5EiUWMWea6xrkEmCMgZK9FGqkjWZCrXgzT/LCrBbBlDSgeF59N8
+9iFo7+ryUp9/k5DPAgMBAAGjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8E
+BTADAQH/MB0GA1UdDgQWBBRge2YaRQ2XyolQL30EzTSo//z9SzANBgkqhkiG9w0B
+AQUFAAOCAQEA1nPnfE920I2/7LqivjTFKDK1fPxsnCwrvQmeU79rXqoRSLblCKOz
+yj1hTdNGCbM+w6DjY1Ub8rrvrTnhQ7k4o+YviiY776BQVvnGCv04zcQLcFGUl5gE
+38NflNUVyRRBnMRddWQVDf9VMOyGj/8N7yy5Y0b2qvzfvGn9LhJIZJrglfCm7ymP
+AbEVtQwdpf5pLGkkeB6zpxxxYu7KyJesF12KwvhHhm4qxFYxldBniYUr+WymXUad
+DKqC5JlR3XC321Y9YeRq4VzW9v493kHMB65jUr9TU/Qr6cf9tveCX4XSQRjbgbME
+HMUfpIBvFSDJ3gyICh3WZlXi/EjJKSZp4A==
+-----END CERTIFICATE-----
+
+# Issuer: CN=GlobalSign O=GlobalSign OU=GlobalSign Root CA - R2
+# Subject: CN=GlobalSign O=GlobalSign OU=GlobalSign Root CA - R2
+# Label: "GlobalSign Root CA - R2"
+# Serial: 4835703278459682885658125
+# MD5 Fingerprint: 94:14:77:7e:3e:5e:fd:8f:30:bd:41:b0:cf:e7:d0:30
+# SHA1 Fingerprint: 75:e0:ab:b6:13:85:12:27:1c:04:f8:5f:dd:de:38:e4:b7:24:2e:fe
+# SHA256 Fingerprint: ca:42:dd:41:74:5f:d0:b8:1e:b9:02:36:2c:f9:d8:bf:71:9d:a1:bd:1b:1e:fc:94:6f:5b:4c:99:f4:2c:1b:9e
+-----BEGIN CERTIFICATE-----
+MIIDujCCAqKgAwIBAgILBAAAAAABD4Ym5g0wDQYJKoZIhvcNAQEFBQAwTDEgMB4G
+A1UECxMXR2xvYmFsU2lnbiBSb290IENBIC0gUjIxEzARBgNVBAoTCkdsb2JhbFNp
+Z24xEzARBgNVBAMTCkdsb2JhbFNpZ24wHhcNMDYxMjE1MDgwMDAwWhcNMjExMjE1
+MDgwMDAwWjBMMSAwHgYDVQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMjETMBEG
+A1UEChMKR2xvYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFsU2lnbjCCASIwDQYJKoZI
+hvcNAQEBBQADggEPADCCAQoCggEBAKbPJA6+Lm8omUVCxKs+IVSbC9N/hHD6ErPL
+v4dfxn+G07IwXNb9rfF73OX4YJYJkhD10FPe+3t+c4isUoh7SqbKSaZeqKeMWhG8
+eoLrvozps6yWJQeXSpkqBy+0Hne/ig+1AnwblrjFuTosvNYSuetZfeLQBoZfXklq
+tTleiDTsvHgMCJiEbKjNS7SgfQx5TfC4LcshytVsW33hoCmEofnTlEnLJGKRILzd
+C9XZzPnqJworc5HGnRusyMvo4KD0L5CLTfuwNhv2GXqF4G3yYROIXJ/gkwpRl4pa
+zq+r1feqCapgvdzZX99yqWATXgAByUr6P6TqBwMhAo6CygPCm48CAwEAAaOBnDCB
+mTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUm+IH
+V2ccHsBqBt5ZtJot39wZhi4wNgYDVR0fBC8wLTAroCmgJ4YlaHR0cDovL2NybC5n
+bG9iYWxzaWduLm5ldC9yb290LXIyLmNybDAfBgNVHSMEGDAWgBSb4gdXZxwewGoG
+3lm0mi3f3BmGLjANBgkqhkiG9w0BAQUFAAOCAQEAmYFThxxol4aR7OBKuEQLq4Gs
+J0/WwbgcQ3izDJr86iw8bmEbTUsp9Z8FHSbBuOmDAGJFtqkIk7mpM0sYmsL4h4hO
+291xNBrBVNpGP+DTKqttVCL1OmLNIG+6KYnX3ZHu01yiPqFbQfXf5WRDLenVOavS
+ot+3i9DAgBkcRcAtjOj4LaR0VknFBbVPFd5uRHg5h6h+u/N5GJG79G+dwfCMNYxd
+AfvDbbnvRG15RjF+Cv6pgsH/76tuIMRQyV+dTZsXjAzlAcmgQWpzU/qlULRuJQ/7
+TBj0/VLZjmmx6BEP3ojY+x1J96relc8geMJgEtslQIxq/H5COEBkEveegeGTLg==
+-----END CERTIFICATE-----
+
+# Issuer: CN=http://www.valicert.com/ O=ValiCert, Inc. OU=ValiCert Class 1 Policy Validation Authority
+# Subject: CN=http://www.valicert.com/ O=ValiCert, Inc. OU=ValiCert Class 1 Policy Validation Authority
+# Label: "ValiCert Class 1 VA"
+# Serial: 1
+# MD5 Fingerprint: 65:58:ab:15:ad:57:6c:1e:a8:a7:b5:69:ac:bf:ff:eb
+# SHA1 Fingerprint: e5:df:74:3c:b6:01:c4:9b:98:43:dc:ab:8c:e8:6a:81:10:9f:e4:8e
+# SHA256 Fingerprint: f4:c1:49:55:1a:30:13:a3:5b:c7:bf:fe:17:a7:f3:44:9b:c1:ab:5b:5a:0a:e7:4b:06:c2:3b:90:00:4c:01:04
+-----BEGIN CERTIFICATE-----
+MIIC5zCCAlACAQEwDQYJKoZIhvcNAQEFBQAwgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0
+IFZhbGlkYXRpb24gTmV0d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAz
+BgNVBAsTLFZhbGlDZXJ0IENsYXNzIDEgUG9saWN5IFZhbGlkYXRpb24gQXV0aG9y
+aXR5MSEwHwYDVQQDExhodHRwOi8vd3d3LnZhbGljZXJ0LmNvbS8xIDAeBgkqhkiG
+9w0BCQEWEWluZm9AdmFsaWNlcnQuY29tMB4XDTk5MDYyNTIyMjM0OFoXDTE5MDYy
+NTIyMjM0OFowgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRpb24gTmV0d29y
+azEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZXJ0IENs
+YXNzIDEgUG9saWN5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQDExhodHRw
+Oi8vd3d3LnZhbGljZXJ0LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9AdmFsaWNl
+cnQuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDYWYJ6ibiWuqYvaG9Y
+LqdUHAZu9OqNSLwxlBfw8068srg1knaw0KWlAdcAAxIiGQj4/xEjm84H9b9pGib+
+TunRf50sQB1ZaG6m+FiwnRqP0z/x3BkGgagO4DrdyFNFCQbmD3DD+kCmDuJWBQ8Y
+TfwggtFzVXSNdnKgHZ0dwN0/cQIDAQABMA0GCSqGSIb3DQEBBQUAA4GBAFBoPUn0
+LBwGlN+VYH+Wexf+T3GtZMjdd9LvWVXoP+iOBSoh8gfStadS/pyxtuJbdxdA6nLW
+I8sogTLDAHkY7FkXicnGah5xyf23dKUlRWnFSKsZ4UWKJWsZ7uW7EvV/96aNUcPw
+nXS3qT6gpf+2SQMT2iLM7XGCK5nPOrf1LXLI
+-----END CERTIFICATE-----
+
+# Issuer: CN=http://www.valicert.com/ O=ValiCert, Inc. OU=ValiCert Class 2 Policy Validation Authority
+# Subject: CN=http://www.valicert.com/ O=ValiCert, Inc. OU=ValiCert Class 2 Policy Validation Authority
+# Label: "ValiCert Class 2 VA"
+# Serial: 1
+# MD5 Fingerprint: a9:23:75:9b:ba:49:36:6e:31:c2:db:f2:e7:66:ba:87
+# SHA1 Fingerprint: 31:7a:2a:d0:7f:2b:33:5e:f5:a1:c3:4e:4b:57:e8:b7:d8:f1:fc:a6
+# SHA256 Fingerprint: 58:d0:17:27:9c:d4:dc:63:ab:dd:b1:96:a6:c9:90:6c:30:c4:e0:87:83:ea:e8:c1:60:99:54:d6:93:55:59:6b
+-----BEGIN CERTIFICATE-----
+MIIC5zCCAlACAQEwDQYJKoZIhvcNAQEFBQAwgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0
+IFZhbGlkYXRpb24gTmV0d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAz
+BgNVBAsTLFZhbGlDZXJ0IENsYXNzIDIgUG9saWN5IFZhbGlkYXRpb24gQXV0aG9y
+aXR5MSEwHwYDVQQDExhodHRwOi8vd3d3LnZhbGljZXJ0LmNvbS8xIDAeBgkqhkiG
+9w0BCQEWEWluZm9AdmFsaWNlcnQuY29tMB4XDTk5MDYyNjAwMTk1NFoXDTE5MDYy
+NjAwMTk1NFowgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRpb24gTmV0d29y
+azEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZXJ0IENs
+YXNzIDIgUG9saWN5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQDExhodHRw
+Oi8vd3d3LnZhbGljZXJ0LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9AdmFsaWNl
+cnQuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDOOnHK5avIWZJV16vY
+dA757tn2VUdZZUcOBVXc65g2PFxTXdMwzzjsvUGJ7SVCCSRrCl6zfN1SLUzm1NZ9
+WlmpZdRJEy0kTRxQb7XBhVQ7/nHk01xC+YDgkRoKWzk2Z/M/VXwbP7RfZHM047QS
+v4dk+NoS/zcnwbNDu+97bi5p9wIDAQABMA0GCSqGSIb3DQEBBQUAA4GBADt/UG9v
+UJSZSWI4OB9L+KXIPqeCgfYrx+jFzug6EILLGACOTb2oWH+heQC1u+mNr0HZDzTu
+IYEZoDJJKPTEjlbVUjP9UNV+mWwD5MlM/Mtsq2azSiGM5bUMMj4QssxsodyamEwC
+W/POuZ6lcg5Ktz885hZo+L7tdEy8W9ViH0Pd
+-----END CERTIFICATE-----
+
+# Issuer: CN=http://www.valicert.com/ O=ValiCert, Inc. OU=ValiCert Class 3 Policy Validation Authority
+# Subject: CN=http://www.valicert.com/ O=ValiCert, Inc. OU=ValiCert Class 3 Policy Validation Authority
+# Label: "RSA Root Certificate 1"
+# Serial: 1
+# MD5 Fingerprint: a2:6f:53:b7:ee:40:db:4a:68:e7:fa:18:d9:10:4b:72
+# SHA1 Fingerprint: 69:bd:8c:f4:9c:d3:00:fb:59:2e:17:93:ca:55:6a:f3:ec:aa:35:fb
+# SHA256 Fingerprint: bc:23:f9:8a:31:3c:b9:2d:e3:bb:fc:3a:5a:9f:44:61:ac:39:49:4c:4a:e1:5a:9e:9d:f1:31:e9:9b:73:01:9a
+-----BEGIN CERTIFICATE-----
+MIIC5zCCAlACAQEwDQYJKoZIhvcNAQEFBQAwgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0
+IFZhbGlkYXRpb24gTmV0d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAz
+BgNVBAsTLFZhbGlDZXJ0IENsYXNzIDMgUG9saWN5IFZhbGlkYXRpb24gQXV0aG9y
+aXR5MSEwHwYDVQQDExhodHRwOi8vd3d3LnZhbGljZXJ0LmNvbS8xIDAeBgkqhkiG
+9w0BCQEWEWluZm9AdmFsaWNlcnQuY29tMB4XDTk5MDYyNjAwMjIzM1oXDTE5MDYy
+NjAwMjIzM1owgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRpb24gTmV0d29y
+azEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZXJ0IENs
+YXNzIDMgUG9saWN5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQDExhodHRw
+Oi8vd3d3LnZhbGljZXJ0LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9AdmFsaWNl
+cnQuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDjmFGWHOjVsQaBalfD
+cnWTq8+epvzzFlLWLU2fNUSoLgRNB0mKOCn1dzfnt6td3zZxFJmP3MKS8edgkpfs
+2Ejcv8ECIMYkpChMMFp2bbFc893enhBxoYjHW5tBbcqwuI4V7q0zK89HBFx1cQqY
+JJgpp0lZpd34t0NiYfPT4tBVPwIDAQABMA0GCSqGSIb3DQEBBQUAA4GBAFa7AliE
+Zwgs3x/be0kz9dNnnfS0ChCzycUs4pJqcXgn8nCDQtM+z6lU9PHYkhaM0QTLS6vJ
+n0WuPIqpsHEzXcjFV9+vqDWzf4mH6eglkrh/hXqu1rweN1gqZ8mRzyqBPu3GOd/A
+PhmcGcwTTYJBtYze4D1gCCAPRX5ron+jjBXu
+-----END CERTIFICATE-----
+
+# Issuer: CN=VeriSign Class 3 Public Primary Certification Authority - G3 O=VeriSign, Inc. OU=VeriSign Trust Network/(c) 1999 VeriSign, Inc. - For authorized use only
+# Subject: CN=VeriSign Class 3 Public Primary Certification Authority - G3 O=VeriSign, Inc. OU=VeriSign Trust Network/(c) 1999 VeriSign, Inc. - For authorized use only
+# Label: "Verisign Class 3 Public Primary Certification Authority - G3"
+# Serial: 206684696279472310254277870180966723415
+# MD5 Fingerprint: cd:68:b6:a7:c7:c4:ce:75:e0:1d:4f:57:44:61:92:09
+# SHA1 Fingerprint: 13:2d:0d:45:53:4b:69:97:cd:b2:d5:c3:39:e2:55:76:60:9b:5c:c6
+# SHA256 Fingerprint: eb:04:cf:5e:b1:f3:9a:fa:76:2f:2b:b1:20:f2:96:cb:a5:20:c1:b9:7d:b1:58:95:65:b8:1c:b9:a1:7b:72:44
+-----BEGIN CERTIFICATE-----
+MIIEGjCCAwICEQCbfgZJoz5iudXukEhxKe9XMA0GCSqGSIb3DQEBBQUAMIHKMQsw
+CQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZl
+cmlTaWduIFRydXN0IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWdu
+LCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxRTBDBgNVBAMTPFZlcmlT
+aWduIENsYXNzIDMgUHVibGljIFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3Jp
+dHkgLSBHMzAeFw05OTEwMDEwMDAwMDBaFw0zNjA3MTYyMzU5NTlaMIHKMQswCQYD
+VQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlT
+aWduIFRydXN0IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWduLCBJ
+bmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxRTBDBgNVBAMTPFZlcmlTaWdu
+IENsYXNzIDMgUHVibGljIFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkg
+LSBHMzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMu6nFL8eB8aHm8b
+N3O9+MlrlBIwT/A2R/XQkQr1F8ilYcEWQE37imGQ5XYgwREGfassbqb1EUGO+i2t
+KmFZpGcmTNDovFJbcCAEWNF6yaRpvIMXZK0Fi7zQWM6NjPXr8EJJC52XJ2cybuGu
+kxUccLwgTS8Y3pKI6GyFVxEa6X7jJhFUokWWVYPKMIno3Nij7SqAP395ZVc+FSBm
+CC+Vk7+qRy+oRpfwEuL+wgorUeZ25rdGt+INpsyow0xZVYnm6FNcHOqd8GIWC6fJ
+Xwzw3sJ2zq/3avL6QaaiMxTJ5Xpj055iN9WFZZ4O5lMkdBteHRJTW8cs54NJOxWu
+imi5V5cCAwEAATANBgkqhkiG9w0BAQUFAAOCAQEAERSWwauSCPc/L8my/uRan2Te
+2yFPhpk0djZX3dAVL8WtfxUfN2JzPtTnX84XA9s1+ivbrmAJXx5fj267Cz3qWhMe
+DGBvtcC1IyIuBwvLqXTLR7sdwdela8wv0kL9Sd2nic9TutoAWii/gt/4uhMdUIaC
+/Y4wjylGsB49Ndo4YhYYSq3mtlFs3q9i6wHQHiT+eo8SGhJouPtmmRQURVyu565p
+F4ErWjfJXir0xuKhXFSbplQAz/DxwceYMBo7Nhbbo27q/a2ywtrvAkcTisDxszGt
+TxzhT5yvDwyd93gN2PQ1VoDat20Xj50egWTh/sVFuq1ruQp6Tk9LhO5L8X3dEQ==
+-----END CERTIFICATE-----
+
+# Issuer: CN=VeriSign Class 4 Public Primary Certification Authority - G3 O=VeriSign, Inc. OU=VeriSign Trust Network/(c) 1999 VeriSign, Inc. - For authorized use only
+# Subject: CN=VeriSign Class 4 Public Primary Certification Authority - G3 O=VeriSign, Inc. OU=VeriSign Trust Network/(c) 1999 VeriSign, Inc. - For authorized use only
+# Label: "Verisign Class 4 Public Primary Certification Authority - G3"
+# Serial: 314531972711909413743075096039378935511
+# MD5 Fingerprint: db:c8:f2:27:2e:b1:ea:6a:29:23:5d:fe:56:3e:33:df
+# SHA1 Fingerprint: c8:ec:8c:87:92:69:cb:4b:ab:39:e9:8d:7e:57:67:f3:14:95:73:9d
+# SHA256 Fingerprint: e3:89:36:0d:0f:db:ae:b3:d2:50:58:4b:47:30:31:4e:22:2f:39:c1:56:a0:20:14:4e:8d:96:05:61:79:15:06
+-----BEGIN CERTIFICATE-----
+MIIEGjCCAwICEQDsoKeLbnVqAc/EfMwvlF7XMA0GCSqGSIb3DQEBBQUAMIHKMQsw
+CQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZl
+cmlTaWduIFRydXN0IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWdu
+LCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxRTBDBgNVBAMTPFZlcmlT
+aWduIENsYXNzIDQgUHVibGljIFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3Jp
+dHkgLSBHMzAeFw05OTEwMDEwMDAwMDBaFw0zNjA3MTYyMzU5NTlaMIHKMQswCQYD
+VQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlT
+aWduIFRydXN0IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWduLCBJ
+bmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxRTBDBgNVBAMTPFZlcmlTaWdu
+IENsYXNzIDQgUHVibGljIFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkg
+LSBHMzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK3LpRFpxlmr8Y+1
+GQ9Wzsy1HyDkniYlS+BzZYlZ3tCD5PUPtbut8XzoIfzk6AzufEUiGXaStBO3IFsJ
++mGuqPKljYXCKtbeZjbSmwL0qJJgfJxptI8kHtCGUvYynEFYHiK9zUVilQhu0Gbd
+U6LM8BDcVHOLBKFGMzNcF0C5nk3T875Vg+ixiY5afJqWIpA7iCXy0lOIAgwLePLm
+NxdLMEYH5IBtptiWLugs+BGzOA1mppvqySNb247i8xOOGlktqgLw7KSHZtzBP/XY
+ufTsgsbSPZUd5cBPhMnZo0QoBmrXRazwa2rvTl/4EYIeOGM0ZlDUPpNz+jDDZq3/
+ky2X7wMCAwEAATANBgkqhkiG9w0BAQUFAAOCAQEAj/ola09b5KROJ1WrIhVZPMq1
+CtRK26vdoV9TxaBXOcLORyu+OshWv8LZJxA6sQU8wHcxuzrTBXttmhwwjIDLk5Mq
+g6sFUYICABFna/OIYUdfA5PVWw3g8dShMjWFsjrbsIKr0csKvE+MW8VLADsfKoKm
+fjaF3H48ZwC15DtS4KjrXRX5xm3wrR0OhbepmnMUWluPQSjA1egtTaRezarZ7c7c
+2NU8Qh0XwRJdRTjDOPP8hS6DRkiy1yBfkjaP53kPmF6Z6PDQpLv1U70qzlmwr25/
+bLvSHgCwIe34QWKCudiyxLtGUPMxxY8BqHTr9Xgn2uf3ZkPznoM+IKrDNWCRzg==
+-----END CERTIFICATE-----
+
+# Issuer: CN=Entrust.net Secure Server Certification Authority O=Entrust.net OU=www.entrust.net/CPS incorp. by ref. (limits liab.)/(c) 1999 Entrust.net Limited
+# Subject: CN=Entrust.net Secure Server Certification Authority O=Entrust.net OU=www.entrust.net/CPS incorp. by ref. (limits liab.)/(c) 1999 Entrust.net Limited
+# Label: "Entrust.net Secure Server CA"
+# Serial: 927650371
+# MD5 Fingerprint: df:f2:80:73:cc:f1:e6:61:73:fc:f5:42:e9:c5:7c:ee
+# SHA1 Fingerprint: 99:a6:9b:e6:1a:fe:88:6b:4d:2b:82:00:7c:b8:54:fc:31:7e:15:39
+# SHA256 Fingerprint: 62:f2:40:27:8c:56:4c:4d:d8:bf:7d:9d:4f:6f:36:6e:a8:94:d2:2f:5f:34:d9:89:a9:83:ac:ec:2f:ff:ed:50
+-----BEGIN CERTIFICATE-----
+MIIE2DCCBEGgAwIBAgIEN0rSQzANBgkqhkiG9w0BAQUFADCBwzELMAkGA1UEBhMC
+VVMxFDASBgNVBAoTC0VudHJ1c3QubmV0MTswOQYDVQQLEzJ3d3cuZW50cnVzdC5u
+ZXQvQ1BTIGluY29ycC4gYnkgcmVmLiAobGltaXRzIGxpYWIuKTElMCMGA1UECxMc
+KGMpIDE5OTkgRW50cnVzdC5uZXQgTGltaXRlZDE6MDgGA1UEAxMxRW50cnVzdC5u
+ZXQgU2VjdXJlIFNlcnZlciBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw05OTA1
+MjUxNjA5NDBaFw0xOTA1MjUxNjM5NDBaMIHDMQswCQYDVQQGEwJVUzEUMBIGA1UE
+ChMLRW50cnVzdC5uZXQxOzA5BgNVBAsTMnd3dy5lbnRydXN0Lm5ldC9DUFMgaW5j
+b3JwLiBieSByZWYuIChsaW1pdHMgbGlhYi4pMSUwIwYDVQQLExwoYykgMTk5OSBF
+bnRydXN0Lm5ldCBMaW1pdGVkMTowOAYDVQQDEzFFbnRydXN0Lm5ldCBTZWN1cmUg
+U2VydmVyIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIGdMA0GCSqGSIb3DQEBAQUA
+A4GLADCBhwKBgQDNKIM0VBuJ8w+vN5Ex/68xYMmo6LIQaO2f55M28Qpku0f1BBc/
+I0dNxScZgSYMVHINiC3ZH5oSn7yzcdOAGT9HZnuMNSjSuQrfJNqc1lB5gXpa0zf3
+wkrYKZImZNHkmGw6AIr1NJtl+O3jEP/9uElY3KDegjlrgbEWGWG5VLbmQwIBA6OC
+AdcwggHTMBEGCWCGSAGG+EIBAQQEAwIABzCCARkGA1UdHwSCARAwggEMMIHeoIHb
+oIHYpIHVMIHSMQswCQYDVQQGEwJVUzEUMBIGA1UEChMLRW50cnVzdC5uZXQxOzA5
+BgNVBAsTMnd3dy5lbnRydXN0Lm5ldC9DUFMgaW5jb3JwLiBieSByZWYuIChsaW1p
+dHMgbGlhYi4pMSUwIwYDVQQLExwoYykgMTk5OSBFbnRydXN0Lm5ldCBMaW1pdGVk
+MTowOAYDVQQDEzFFbnRydXN0Lm5ldCBTZWN1cmUgU2VydmVyIENlcnRpZmljYXRp
+b24gQXV0aG9yaXR5MQ0wCwYDVQQDEwRDUkwxMCmgJ6AlhiNodHRwOi8vd3d3LmVu
+dHJ1c3QubmV0L0NSTC9uZXQxLmNybDArBgNVHRAEJDAigA8xOTk5MDUyNTE2MDk0
+MFqBDzIwMTkwNTI1MTYwOTQwWjALBgNVHQ8EBAMCAQYwHwYDVR0jBBgwFoAU8Bdi
+E1U9s/8KAGv7UISX8+1i0BowHQYDVR0OBBYEFPAXYhNVPbP/CgBr+1CEl/PtYtAa
+MAwGA1UdEwQFMAMBAf8wGQYJKoZIhvZ9B0EABAwwChsEVjQuMAMCBJAwDQYJKoZI
+hvcNAQEFBQADgYEAkNwwAvpkdMKnCqV8IY00F6j7Rw7/JXyNEwr75Ji174z4xRAN
+95K+8cPV1ZVqBLssziY2ZcgxxufuP+NXdYR6Ee9GTxj005i7qIcyunL2POI9n9cd
+2cNgQ4xYDiKWL2KjLB+6rQXvqzJ4h6BUcxm1XAX5Uj5tLUUL9wqT6u0G+bI=
+-----END CERTIFICATE-----
+
+# Issuer: CN=Entrust.net Certification Authority (2048) O=Entrust.net OU=www.entrust.net/CPS_2048 incorp. by ref. (limits liab.)/(c) 1999 Entrust.net Limited
+# Subject: CN=Entrust.net Certification Authority (2048) O=Entrust.net OU=www.entrust.net/CPS_2048 incorp. by ref. (limits liab.)/(c) 1999 Entrust.net Limited
+# Label: "Entrust.net Premium 2048 Secure Server CA"
+# Serial: 946059622
+# MD5 Fingerprint: ba:21:ea:20:d6:dd:db:8f:c1:57:8b:40:ad:a1:fc:fc
+# SHA1 Fingerprint: 80:1d:62:d0:7b:44:9d:5c:5c:03:5c:98:ea:61:fa:44:3c:2a:58:fe
+# SHA256 Fingerprint: d1:c3:39:ea:27:84:eb:87:0f:93:4f:c5:63:4e:4a:a9:ad:55:05:01:64:01:f2:64:65:d3:7a:57:46:63:35:9f
+-----BEGIN CERTIFICATE-----
+MIIEXDCCA0SgAwIBAgIEOGO5ZjANBgkqhkiG9w0BAQUFADCBtDEUMBIGA1UEChML
+RW50cnVzdC5uZXQxQDA+BgNVBAsUN3d3dy5lbnRydXN0Lm5ldC9DUFNfMjA0OCBp
+bmNvcnAuIGJ5IHJlZi4gKGxpbWl0cyBsaWFiLikxJTAjBgNVBAsTHChjKSAxOTk5
+IEVudHJ1c3QubmV0IExpbWl0ZWQxMzAxBgNVBAMTKkVudHJ1c3QubmV0IENlcnRp
+ZmljYXRpb24gQXV0aG9yaXR5ICgyMDQ4KTAeFw05OTEyMjQxNzUwNTFaFw0xOTEy
+MjQxODIwNTFaMIG0MRQwEgYDVQQKEwtFbnRydXN0Lm5ldDFAMD4GA1UECxQ3d3d3
+LmVudHJ1c3QubmV0L0NQU18yMDQ4IGluY29ycC4gYnkgcmVmLiAobGltaXRzIGxp
+YWIuKTElMCMGA1UECxMcKGMpIDE5OTkgRW50cnVzdC5uZXQgTGltaXRlZDEzMDEG
+A1UEAxMqRW50cnVzdC5uZXQgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgKDIwNDgp
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArU1LqRKGsuqjIAcVFmQq
+K0vRvwtKTY7tgHalZ7d4QMBzQshowNtTK91euHaYNZOLGp18EzoOH1u3Hs/lJBQe
+sYGpjX24zGtLA/ECDNyrpUAkAH90lKGdCCmziAv1h3edVc3kw37XamSrhRSGlVuX
+MlBvPci6Zgzj/L24ScF2iUkZ/cCovYmjZy/Gn7xxGWC4LeksyZB2ZnuU4q941mVT
+XTzWnLLPKQP5L6RQstRIzgUyVYr9smRMDuSYB3Xbf9+5CFVghTAp+XtIpGmG4zU/
+HoZdenoVve8AjhUiVBcAkCaTvA5JaJG/+EfTnZVCwQ5N328mz8MYIWJmQ3DW1cAH
+4QIDAQABo3QwcjARBglghkgBhvhCAQEEBAMCAAcwHwYDVR0jBBgwFoAUVeSB0RGA
+vtiJuQijMfmhJAkWuXAwHQYDVR0OBBYEFFXkgdERgL7YibkIozH5oSQJFrlwMB0G
+CSqGSIb2fQdBAAQQMA4bCFY1LjA6NC4wAwIEkDANBgkqhkiG9w0BAQUFAAOCAQEA
+WUesIYSKF8mciVMeuoCFGsY8Tj6xnLZ8xpJdGGQC49MGCBFhfGPjK50xA3B20qMo
+oPS7mmNz7W3lKtvtFKkrxjYR0CvrB4ul2p5cGZ1WEvVUKcgF7bISKo30Axv/55IQ
+h7A6tcOdBTcSo8f0FbnVpDkWm1M6I5HxqIKiaohowXkCIryqptau37AUX7iH0N18
+f3v/rxzP5tsHrV7bhZ3QKw0z2wTR5klAEyt2+z7pnIkPFc4YsIV4IU9rTw76NmfN
+B/L/CNDi3tm/Kq+4h4YhPATKt5Rof8886ZjXOP/swNlQ8C5LWK5Gb9Auw2DaclVy
+vUxFnmG6v4SBkgPR0ml8xQ==
+-----END CERTIFICATE-----
+
+# Issuer: CN=Baltimore CyberTrust Root O=Baltimore OU=CyberTrust
+# Subject: CN=Baltimore CyberTrust Root O=Baltimore OU=CyberTrust
+# Label: "Baltimore CyberTrust Root"
+# Serial: 33554617
+# MD5 Fingerprint: ac:b6:94:a5:9c:17:e0:d7:91:52:9b:b1:97:06:a6:e4
+# SHA1 Fingerprint: d4:de:20:d0:5e:66:fc:53:fe:1a:50:88:2c:78:db:28:52:ca:e4:74
+# SHA256 Fingerprint: 16:af:57:a9:f6:76:b0:ab:12:60:95:aa:5e:ba:de:f2:2a:b3:11:19:d6:44:ac:95:cd:4b:93:db:f3:f2:6a:eb
+-----BEGIN CERTIFICATE-----
+MIIDdzCCAl+gAwIBAgIEAgAAuTANBgkqhkiG9w0BAQUFADBaMQswCQYDVQQGEwJJ
+RTESMBAGA1UEChMJQmFsdGltb3JlMRMwEQYDVQQLEwpDeWJlclRydXN0MSIwIAYD
+VQQDExlCYWx0aW1vcmUgQ3liZXJUcnVzdCBSb290MB4XDTAwMDUxMjE4NDYwMFoX
+DTI1MDUxMjIzNTkwMFowWjELMAkGA1UEBhMCSUUxEjAQBgNVBAoTCUJhbHRpbW9y
+ZTETMBEGA1UECxMKQ3liZXJUcnVzdDEiMCAGA1UEAxMZQmFsdGltb3JlIEN5YmVy
+VHJ1c3QgUm9vdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKMEuyKr
+mD1X6CZymrV51Cni4eiVgLGw41uOKymaZN+hXe2wCQVt2yguzmKiYv60iNoS6zjr
+IZ3AQSsBUnuId9Mcj8e6uYi1agnnc+gRQKfRzMpijS3ljwumUNKoUMMo6vWrJYeK
+mpYcqWe4PwzV9/lSEy/CG9VwcPCPwBLKBsua4dnKM3p31vjsufFoREJIE9LAwqSu
+XmD+tqYF/LTdB1kC1FkYmGP1pWPgkAx9XbIGevOF6uvUA65ehD5f/xXtabz5OTZy
+dc93Uk3zyZAsuT3lySNTPx8kmCFcB5kpvcY67Oduhjprl3RjM71oGDHweI12v/ye
+jl0qhqdNkNwnGjkCAwEAAaNFMEMwHQYDVR0OBBYEFOWdWTCCR1jMrPoIVDaGezq1
+BE3wMBIGA1UdEwEB/wQIMAYBAf8CAQMwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3
+DQEBBQUAA4IBAQCFDF2O5G9RaEIFoN27TyclhAO992T9Ldcw46QQF+vaKSm2eT92
+9hkTI7gQCvlYpNRhcL0EYWoSihfVCr3FvDB81ukMJY2GQE/szKN+OMY3EU/t3Wgx
+jkzSswF07r51XgdIGn9w/xZchMB5hbgF/X++ZRGjD8ACtPhSNzkE1akxehi/oCr0
+Epn3o0WC4zxe9Z2etciefC7IpJ5OCBRLbf1wbWsaY71k5h+3zvDyny67G7fyUIhz
+ksLi4xaNmjICq44Y3ekQEe5+NauQrz4wlHrQMz2nZQ/1/I6eYs9HRCwBXbsdtTLS
+R9I4LtD+gdwyah617jzV/OeBHRnDJELqYzmp
+-----END CERTIFICATE-----
+
+# Issuer: CN=Equifax Secure Global eBusiness CA-1 O=Equifax Secure Inc.
+# Subject: CN=Equifax Secure Global eBusiness CA-1 O=Equifax Secure Inc.
+# Label: "Equifax Secure Global eBusiness CA"
+# Serial: 1
+# MD5 Fingerprint: 8f:5d:77:06:27:c4:98:3c:5b:93:78:e7:d7:7d:9b:cc
+# SHA1 Fingerprint: 7e:78:4a:10:1c:82:65:cc:2d:e1:f1:6d:47:b4:40:ca:d9:0a:19:45
+# SHA256 Fingerprint: 5f:0b:62:ea:b5:e3:53:ea:65:21:65:16:58:fb:b6:53:59:f4:43:28:0a:4a:fb:d1:04:d7:7d:10:f9:f0:4c:07
+-----BEGIN CERTIFICATE-----
+MIICkDCCAfmgAwIBAgIBATANBgkqhkiG9w0BAQQFADBaMQswCQYDVQQGEwJVUzEc
+MBoGA1UEChMTRXF1aWZheCBTZWN1cmUgSW5jLjEtMCsGA1UEAxMkRXF1aWZheCBT
+ZWN1cmUgR2xvYmFsIGVCdXNpbmVzcyBDQS0xMB4XDTk5MDYyMTA0MDAwMFoXDTIw
+MDYyMTA0MDAwMFowWjELMAkGA1UEBhMCVVMxHDAaBgNVBAoTE0VxdWlmYXggU2Vj
+dXJlIEluYy4xLTArBgNVBAMTJEVxdWlmYXggU2VjdXJlIEdsb2JhbCBlQnVzaW5l
+c3MgQ0EtMTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuucXkAJlsTRVPEnC
+UdXfp9E3j9HngXNBUmCbnaEXJnitx7HoJpQytd4zjTov2/KaelpzmKNc6fuKcxtc
+58O/gGzNqfTWK8D3+ZmqY6KxRwIP1ORROhI8bIpaVIRw28HFkM9yRcuoWcDNM50/
+o5brhTMhHD4ePmBudpxnhcXIw2ECAwEAAaNmMGQwEQYJYIZIAYb4QgEBBAQDAgAH
+MA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAUvqigdHJQa0S3ySPY+6j/s1dr
+aGwwHQYDVR0OBBYEFL6ooHRyUGtEt8kj2Puo/7NXa2hsMA0GCSqGSIb3DQEBBAUA
+A4GBADDiAVGqx+pf2rnQZQ8w1j7aDRRJbpGTJxQx78T3LUX47Me/okENI7SS+RkA
+Z70Br83gcfxaz2TE4JaY0KNA4gGK7ycH8WUBikQtBmV1UsCGECAhX2xrD2yuCRyv
+8qIYNMR1pHMc8Y3c7635s3a0kr/clRAevsvIO1qEYBlWlKlV
+-----END CERTIFICATE-----
+
+# Issuer: CN=Equifax Secure eBusiness CA-1 O=Equifax Secure Inc.
+# Subject: CN=Equifax Secure eBusiness CA-1 O=Equifax Secure Inc.
+# Label: "Equifax Secure eBusiness CA 1"
+# Serial: 4
+# MD5 Fingerprint: 64:9c:ef:2e:44:fc:c6:8f:52:07:d0:51:73:8f:cb:3d
+# SHA1 Fingerprint: da:40:18:8b:91:89:a3:ed:ee:ae:da:97:fe:2f:9d:f5:b7:d1:8a:41
+# SHA256 Fingerprint: cf:56:ff:46:a4:a1:86:10:9d:d9:65:84:b5:ee:b5:8a:51:0c:42:75:b0:e5:f9:4f:40:bb:ae:86:5e:19:f6:73
+-----BEGIN CERTIFICATE-----
+MIICgjCCAeugAwIBAgIBBDANBgkqhkiG9w0BAQQFADBTMQswCQYDVQQGEwJVUzEc
+MBoGA1UEChMTRXF1aWZheCBTZWN1cmUgSW5jLjEmMCQGA1UEAxMdRXF1aWZheCBT
+ZWN1cmUgZUJ1c2luZXNzIENBLTEwHhcNOTkwNjIxMDQwMDAwWhcNMjAwNjIxMDQw
+MDAwWjBTMQswCQYDVQQGEwJVUzEcMBoGA1UEChMTRXF1aWZheCBTZWN1cmUgSW5j
+LjEmMCQGA1UEAxMdRXF1aWZheCBTZWN1cmUgZUJ1c2luZXNzIENBLTEwgZ8wDQYJ
+KoZIhvcNAQEBBQADgY0AMIGJAoGBAM4vGbwXt3fek6lfWg0XTzQaDJj0ItlZ1MRo
+RvC0NcWFAyDGr0WlIVFFQesWWDYyb+JQYmT5/VGcqiTZ9J2DKocKIdMSODRsjQBu
+WqDZQu4aIZX5UkxVWsUPOE9G+m34LjXWHXzr4vCwdYDIqROsvojvOm6rXyo4YgKw
+Env+j6YDAgMBAAGjZjBkMBEGCWCGSAGG+EIBAQQEAwIABzAPBgNVHRMBAf8EBTAD
+AQH/MB8GA1UdIwQYMBaAFEp4MlIR21kWNl7fwRQ2QGpHfEyhMB0GA1UdDgQWBBRK
+eDJSEdtZFjZe38EUNkBqR3xMoTANBgkqhkiG9w0BAQQFAAOBgQB1W6ibAxHm6VZM
+zfmpTMANmvPMZWnmJXbMWbfWVMMdzZmsGd20hdXgPfxiIKeES1hl8eL5lSE/9dR+
+WB5Hh1Q+WKG1tfgq73HnvMP2sUlG4tega+VWeponmHxGYhTnyfxuAxJ5gDgdSIKN
+/Bf+KpYrtWKmpj29f5JZzVoqgrI3eQ==
+-----END CERTIFICATE-----
+
+# Issuer: O=Equifax Secure OU=Equifax Secure eBusiness CA-2
+# Subject: O=Equifax Secure OU=Equifax Secure eBusiness CA-2
+# Label: "Equifax Secure eBusiness CA 2"
+# Serial: 930140085
+# MD5 Fingerprint: aa:bf:bf:64:97:da:98:1d:6f:c6:08:3a:95:70:33:ca
+# SHA1 Fingerprint: 39:4f:f6:85:0b:06:be:52:e5:18:56:cc:10:e1:80:e8:82:b3:85:cc
+# SHA256 Fingerprint: 2f:27:4e:48:ab:a4:ac:7b:76:59:33:10:17:75:50:6d:c3:0e:e3:8e:f6:ac:d5:c0:49:32:cf:e0:41:23:42:20
+-----BEGIN CERTIFICATE-----
+MIIDIDCCAomgAwIBAgIEN3DPtTANBgkqhkiG9w0BAQUFADBOMQswCQYDVQQGEwJV
+UzEXMBUGA1UEChMORXF1aWZheCBTZWN1cmUxJjAkBgNVBAsTHUVxdWlmYXggU2Vj
+dXJlIGVCdXNpbmVzcyBDQS0yMB4XDTk5MDYyMzEyMTQ0NVoXDTE5MDYyMzEyMTQ0
+NVowTjELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDkVxdWlmYXggU2VjdXJlMSYwJAYD
+VQQLEx1FcXVpZmF4IFNlY3VyZSBlQnVzaW5lc3MgQ0EtMjCBnzANBgkqhkiG9w0B
+AQEFAAOBjQAwgYkCgYEA5Dk5kx5SBhsoNviyoynF7Y6yEb3+6+e0dMKP/wXn2Z0G
+vxLIPw7y1tEkshHe0XMJitSxLJgJDR5QRrKDpkWNYmi7hRsgcDKqQM2mll/EcTc/
+BPO3QSQ5BxoeLmFYoBIL5aXfxavqN3HMHMg3OrmXUqesxWoklE6ce8/AatbfIb0C
+AwEAAaOCAQkwggEFMHAGA1UdHwRpMGcwZaBjoGGkXzBdMQswCQYDVQQGEwJVUzEX
+MBUGA1UEChMORXF1aWZheCBTZWN1cmUxJjAkBgNVBAsTHUVxdWlmYXggU2VjdXJl
+IGVCdXNpbmVzcyBDQS0yMQ0wCwYDVQQDEwRDUkwxMBoGA1UdEAQTMBGBDzIwMTkw
+NjIzMTIxNDQ1WjALBgNVHQ8EBAMCAQYwHwYDVR0jBBgwFoAUUJ4L6q9euSBIplBq
+y/3YIHqngnYwHQYDVR0OBBYEFFCeC+qvXrkgSKZQasv92CB6p4J2MAwGA1UdEwQF
+MAMBAf8wGgYJKoZIhvZ9B0EABA0wCxsFVjMuMGMDAgbAMA0GCSqGSIb3DQEBBQUA
+A4GBAAyGgq3oThr1jokn4jVYPSm0B482UJW/bsGe68SQsoWou7dC4A8HOd/7npCy
+0cE+U58DRLB+S/Rv5Hwf5+Kx5Lia78O9zt4LMjTZ3ijtM2vE1Nc9ElirfQkty3D1
+E4qUoSek1nDFbZS1yX2doNLGCEnZZpum0/QL3MUmV+GRMOrN
+-----END CERTIFICATE-----
+
+# Issuer: CN=AddTrust Class 1 CA Root O=AddTrust AB OU=AddTrust TTP Network
+# Subject: CN=AddTrust Class 1 CA Root O=AddTrust AB OU=AddTrust TTP Network
+# Label: "AddTrust Low-Value Services Root"
+# Serial: 1
+# MD5 Fingerprint: 1e:42:95:02:33:92:6b:b9:5f:c0:7f:da:d6:b2:4b:fc
+# SHA1 Fingerprint: cc:ab:0e:a0:4c:23:01:d6:69:7b:dd:37:9f:cd:12:eb:24:e3:94:9d
+# SHA256 Fingerprint: 8c:72:09:27:9a:c0:4e:27:5e:16:d0:7f:d3:b7:75:e8:01:54:b5:96:80:46:e3:1f:52:dd:25:76:63:24:e9:a7
+-----BEGIN CERTIFICATE-----
+MIIEGDCCAwCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBlMQswCQYDVQQGEwJTRTEU
+MBIGA1UEChMLQWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFkZFRydXN0IFRUUCBOZXR3
+b3JrMSEwHwYDVQQDExhBZGRUcnVzdCBDbGFzcyAxIENBIFJvb3QwHhcNMDAwNTMw
+MTAzODMxWhcNMjAwNTMwMTAzODMxWjBlMQswCQYDVQQGEwJTRTEUMBIGA1UEChML
+QWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFkZFRydXN0IFRUUCBOZXR3b3JrMSEwHwYD
+VQQDExhBZGRUcnVzdCBDbGFzcyAxIENBIFJvb3QwggEiMA0GCSqGSIb3DQEBAQUA
+A4IBDwAwggEKAoIBAQCWltQhSWDia+hBBwzexODcEyPNwTXH+9ZOEQpnXvUGW2ul
+CDtbKRY654eyNAbFvAWlA3yCyykQruGIgb3WntP+LVbBFc7jJp0VLhD7Bo8wBN6n
+tGO0/7Gcrjyvd7ZWxbWroulpOj0OM3kyP3CCkplhbY0wCI9xP6ZIVxn4JdxLZlyl
+dI+Yrsj5wAYi56xz36Uu+1LcsRVlIPo1Zmne3yzxbrww2ywkEtvrNTVokMsAsJch
+PXQhI2U0K7t4WaPW4XY5mqRJjox0r26kmqPZm9I4XJuiGMx1I4S+6+JNM3GOGvDC
++Mcdoq0Dlyz4zyXG9rgkMbFjXZJ/Y/AlyVMuH79NAgMBAAGjgdIwgc8wHQYDVR0O
+BBYEFJWxtPCUtr3H2tERCSG+wa9J/RB7MAsGA1UdDwQEAwIBBjAPBgNVHRMBAf8E
+BTADAQH/MIGPBgNVHSMEgYcwgYSAFJWxtPCUtr3H2tERCSG+wa9J/RB7oWmkZzBl
+MQswCQYDVQQGEwJTRTEUMBIGA1UEChMLQWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFk
+ZFRydXN0IFRUUCBOZXR3b3JrMSEwHwYDVQQDExhBZGRUcnVzdCBDbGFzcyAxIENB
+IFJvb3SCAQEwDQYJKoZIhvcNAQEFBQADggEBACxtZBsfzQ3duQH6lmM0MkhHma6X
+7f1yFqZzR1r0693p9db7RcwpiURdv0Y5PejuvE1Uhh4dbOMXJ0PhiVYrqW9yTkkz
+43J8KiOavD7/KCrto/8cI7pDVwlnTUtiBi34/2ydYB7YHEt9tTEv2dB8Xfjea4MY
+eDdXL+gzB2ffHsdrKpV2ro9Xo/D0UrSpUwjP4E/TelOL/bscVjby/rK25Xa71SJl
+pz/+0WatC7xrmYbvP33zGDLKe8bjq2RGlfgmadlVg3sslgf/WSxEo8bl6ancoWOA
+WiFeIc9TVPC6b4nbqKqVz4vjccweGyBECMB6tkD9xOQ14R0WHNC8K47Wcdk=
+-----END CERTIFICATE-----
+
+# Issuer: CN=AddTrust External CA Root O=AddTrust AB OU=AddTrust External TTP Network
+# Subject: CN=AddTrust External CA Root O=AddTrust AB OU=AddTrust External TTP Network
+# Label: "AddTrust External Root"
+# Serial: 1
+# MD5 Fingerprint: 1d:35:54:04:85:78:b0:3f:42:42:4d:bf:20:73:0a:3f
+# SHA1 Fingerprint: 02:fa:f3:e2:91:43:54:68:60:78:57:69:4d:f5:e4:5b:68:85:18:68
+# SHA256 Fingerprint: 68:7f:a4:51:38:22:78:ff:f0:c8:b1:1f:8d:43:d5:76:67:1c:6e:b2:bc:ea:b4:13:fb:83:d9:65:d0:6d:2f:f2
+-----BEGIN CERTIFICATE-----
+MIIENjCCAx6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBvMQswCQYDVQQGEwJTRTEU
+MBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4dGVybmFs
+IFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290
+MB4XDTAwMDUzMDEwNDgzOFoXDTIwMDUzMDEwNDgzOFowbzELMAkGA1UEBhMCU0Ux
+FDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRUcnVzdCBFeHRlcm5h
+bCBUVFAgTmV0d29yazEiMCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0EgUm9v
+dDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALf3GjPm8gAELTngTlvt
+H7xsD821+iO2zt6bETOXpClMfZOfvUq8k+0DGuOPz+VtUFrWlymUWoCwSXrbLpX9
+uMq/NzgtHj6RQa1wVsfwTz/oMp50ysiQVOnGXw94nZpAPA6sYapeFI+eh6FqUNzX
+mk6vBbOmcZSccbNQYArHE504B4YCqOmoaSYYkKtMsE8jqzpPhNjfzp/haW+710LX
+a0Tkx63ubUFfclpxCDezeWWkWaCUN/cALw3CknLa0Dhy2xSoRcRdKn23tNbE7qzN
+E0S3ySvdQwAl+mG5aWpYIxG3pzOPVnVZ9c0p10a3CitlttNCbxWyuHv77+ldU9U0
+WicCAwEAAaOB3DCB2TAdBgNVHQ4EFgQUrb2YejS0Jvf6xCZU7wO94CTLVBowCwYD
+VR0PBAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wgZkGA1UdIwSBkTCBjoAUrb2YejS0
+Jvf6xCZU7wO94CTLVBqhc6RxMG8xCzAJBgNVBAYTAlNFMRQwEgYDVQQKEwtBZGRU
+cnVzdCBBQjEmMCQGA1UECxMdQWRkVHJ1c3QgRXh0ZXJuYWwgVFRQIE5ldHdvcmsx
+IjAgBgNVBAMTGUFkZFRydXN0IEV4dGVybmFsIENBIFJvb3SCAQEwDQYJKoZIhvcN
+AQEFBQADggEBALCb4IUlwtYj4g+WBpKdQZic2YR5gdkeWxQHIzZlj7DYd7usQWxH
+YINRsPkyPef89iYTx4AWpb9a/IfPeHmJIZriTAcKhjW88t5RxNKWt9x+Tu5w/Rw5
+6wwCURQtjr0W4MHfRnXnJK3s9EK0hZNwEGe6nQY1ShjTK3rMUUKhemPR5ruhxSvC
+Nr4TDea9Y355e6cJDUCrat2PisP29owaQgVR1EX1n6diIWgVIEM8med8vSTYqZEX
+c4g/VhsxOBi0cQ+azcgOno4uG+GMmIPLHzHxREzGBHNJdmAPx/i9F4BrLunMTA5a
+mnkPIAou1Z5jJh5VkpTYghdae9C8x49OhgQ=
+-----END CERTIFICATE-----
+
+# Issuer: CN=AddTrust Public CA Root O=AddTrust AB OU=AddTrust TTP Network
+# Subject: CN=AddTrust Public CA Root O=AddTrust AB OU=AddTrust TTP Network
+# Label: "AddTrust Public Services Root"
+# Serial: 1
+# MD5 Fingerprint: c1:62:3e:23:c5:82:73:9c:03:59:4b:2b:e9:77:49:7f
+# SHA1 Fingerprint: 2a:b6:28:48:5e:78:fb:f3:ad:9e:79:10:dd:6b:df:99:72:2c:96:e5
+# SHA256 Fingerprint: 07:91:ca:07:49:b2:07:82:aa:d3:c7:d7:bd:0c:df:c9:48:58:35:84:3e:b2:d7:99:60:09:ce:43:ab:6c:69:27
+-----BEGIN CERTIFICATE-----
+MIIEFTCCAv2gAwIBAgIBATANBgkqhkiG9w0BAQUFADBkMQswCQYDVQQGEwJTRTEU
+MBIGA1UEChMLQWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFkZFRydXN0IFRUUCBOZXR3
+b3JrMSAwHgYDVQQDExdBZGRUcnVzdCBQdWJsaWMgQ0EgUm9vdDAeFw0wMDA1MzAx
+MDQxNTBaFw0yMDA1MzAxMDQxNTBaMGQxCzAJBgNVBAYTAlNFMRQwEgYDVQQKEwtB
+ZGRUcnVzdCBBQjEdMBsGA1UECxMUQWRkVHJ1c3QgVFRQIE5ldHdvcmsxIDAeBgNV
+BAMTF0FkZFRydXN0IFB1YmxpYyBDQSBSb290MIIBIjANBgkqhkiG9w0BAQEFAAOC
+AQ8AMIIBCgKCAQEA6Rowj4OIFMEg2Dybjxt+A3S72mnTRqX4jsIMEZBRpS9mVEBV
+6tsfSlbunyNu9DnLoblv8n75XYcmYZ4c+OLspoH4IcUkzBEMP9smcnrHAZcHF/nX
+GCwwfQ56HmIexkvA/X1id9NEHif2P0tEs7c42TkfYNVRknMDtABp4/MUTu7R3AnP
+dzRGULD4EfL+OHn3Bzn+UZKXC1sIXzSGAa2Il+tmzV7R/9x98oTaunet3IAIx6eH
+1lWfl2royBFkuucZKT8Rs3iQhCBSWxHveNCD9tVIkNAwHM+A+WD+eeSI8t0A65RF
+62WUaUC6wNW0uLp9BBGo6zEFlpROWCGOn9Bg/QIDAQABo4HRMIHOMB0GA1UdDgQW
+BBSBPjfYkrAfd59ctKtzquf2NGAv+jALBgNVHQ8EBAMCAQYwDwYDVR0TAQH/BAUw
+AwEB/zCBjgYDVR0jBIGGMIGDgBSBPjfYkrAfd59ctKtzquf2NGAv+qFopGYwZDEL
+MAkGA1UEBhMCU0UxFDASBgNVBAoTC0FkZFRydXN0IEFCMR0wGwYDVQQLExRBZGRU
+cnVzdCBUVFAgTmV0d29yazEgMB4GA1UEAxMXQWRkVHJ1c3QgUHVibGljIENBIFJv
+b3SCAQEwDQYJKoZIhvcNAQEFBQADggEBAAP3FUr4JNojVhaTdt02KLmuG7jD8WS6
+IBh4lSknVwW8fCr0uVFV2ocC3g8WFzH4qnkuCRO7r7IgGRLlk/lL+YPoRNWyQSW/
+iHVv/xD8SlTQX/D67zZzfRs2RcYhbbQVuE7PnFylPVoAjgbjPGsye/Kf8Lb93/Ao
+GEjwxrzQvzSAlsJKsW2Ox5BF3i9nrEUEo3rcVZLJR2bYGozH7ZxOmuASu7VqTITh
+4SINhwBk/ox9Yjllpu9CtoAlEmEBqCQTcAARJl/6NVDFSMwGR+gn2HCNX2TmoUQm
+XiLsks3/QppEIW1cxeMiHV9HEufOX1362KqxMy3ZdvJOOjMMK7MtkAY=
+-----END CERTIFICATE-----
+
+# Issuer: CN=AddTrust Qualified CA Root O=AddTrust AB OU=AddTrust TTP Network
+# Subject: CN=AddTrust Qualified CA Root O=AddTrust AB OU=AddTrust TTP Network
+# Label: "AddTrust Qualified Certificates Root"
+# Serial: 1
+# MD5 Fingerprint: 27:ec:39:47:cd:da:5a:af:e2:9a:01:65:21:a9:4c:bb
+# SHA1 Fingerprint: 4d:23:78:ec:91:95:39:b5:00:7f:75:8f:03:3b:21:1e:c5:4d:8b:cf
+# SHA256 Fingerprint: 80:95:21:08:05:db:4b:bc:35:5e:44:28:d8:fd:6e:c2:cd:e3:ab:5f:b9:7a:99:42:98:8e:b8:f4:dc:d0:60:16
+-----BEGIN CERTIFICATE-----
+MIIEHjCCAwagAwIBAgIBATANBgkqhkiG9w0BAQUFADBnMQswCQYDVQQGEwJTRTEU
+MBIGA1UEChMLQWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFkZFRydXN0IFRUUCBOZXR3
+b3JrMSMwIQYDVQQDExpBZGRUcnVzdCBRdWFsaWZpZWQgQ0EgUm9vdDAeFw0wMDA1
+MzAxMDQ0NTBaFw0yMDA1MzAxMDQ0NTBaMGcxCzAJBgNVBAYTAlNFMRQwEgYDVQQK
+EwtBZGRUcnVzdCBBQjEdMBsGA1UECxMUQWRkVHJ1c3QgVFRQIE5ldHdvcmsxIzAh
+BgNVBAMTGkFkZFRydXN0IFF1YWxpZmllZCBDQSBSb290MIIBIjANBgkqhkiG9w0B
+AQEFAAOCAQ8AMIIBCgKCAQEA5B6a/twJWoekn0e+EV+vhDTbYjx5eLfpMLXsDBwq
+xBb/4Oxx64r1EW7tTw2R0hIYLUkVAcKkIhPHEWT/IhKauY5cLwjPcWqzZwFZ8V1G
+87B4pfYOQnrjfxvM0PC3KP0q6p6zsLkEqv32x7SxuCqg+1jxGaBvcCV+PmlKfw8i
+2O+tCBGaKZnhqkRFmhJePp1tUvznoD1oL/BLcHwTOK28FSXx1s6rosAx1i+f4P8U
+WfyEk9mHfExUE+uf0S0R+Bg6Ot4l2ffTQO2kBhLEO+GRwVY18BTcZTYJbqukB8c1
+0cIDMzZbdSZtQvESa0NvS3GU+jQd7RNuyoB/mC9suWXY6QIDAQABo4HUMIHRMB0G
+A1UdDgQWBBQ5lYtii1zJ1IC6WA+XPxUIQ8yYpzALBgNVHQ8EBAMCAQYwDwYDVR0T
+AQH/BAUwAwEB/zCBkQYDVR0jBIGJMIGGgBQ5lYtii1zJ1IC6WA+XPxUIQ8yYp6Fr
+pGkwZzELMAkGA1UEBhMCU0UxFDASBgNVBAoTC0FkZFRydXN0IEFCMR0wGwYDVQQL
+ExRBZGRUcnVzdCBUVFAgTmV0d29yazEjMCEGA1UEAxMaQWRkVHJ1c3QgUXVhbGlm
+aWVkIENBIFJvb3SCAQEwDQYJKoZIhvcNAQEFBQADggEBABmrder4i2VhlRO6aQTv
+hsoToMeqT2QbPxj2qC0sVY8FtzDqQmodwCVRLae/DLPt7wh/bDxGGuoYQ992zPlm
+hpwsaPXpF/gxsxjE1kh9I0xowX67ARRvxdlu3rsEQmr49lx95dr6h+sNNVJn0J6X
+dgWTP5XHAeZpVTh/EGGZyeNfpso+gmNIquIISD6q8rKFYqa0p9m9N5xotS1WfbC3
+P6CxB9bpT9zeRXEwMn8bLgn5v1Kh7sKAPgZcLlVAwRv1cEWw3F369nJad9Jjzc9Y
+iQBCYz95OdBEsIJuQRno3eDBiFrRHnGTHyQwdOUeqN48Jzd/g66ed8/wMLH/S5no
+xqE=
+-----END CERTIFICATE-----
+
+# Issuer: CN=Entrust Root Certification Authority O=Entrust, Inc. OU=www.entrust.net/CPS is incorporated by reference/(c) 2006 Entrust, Inc.
+# Subject: CN=Entrust Root Certification Authority O=Entrust, Inc. OU=www.entrust.net/CPS is incorporated by reference/(c) 2006 Entrust, Inc.
+# Label: "Entrust Root Certification Authority"
+# Serial: 1164660820
+# MD5 Fingerprint: d6:a5:c3:ed:5d:dd:3e:00:c1:3d:87:92:1f:1d:3f:e4
+# SHA1 Fingerprint: b3:1e:b1:b7:40:e3:6c:84:02:da:dc:37:d4:4d:f5:d4:67:49:52:f9
+# SHA256 Fingerprint: 73:c1:76:43:4f:1b:c6:d5:ad:f4:5b:0e:76:e7:27:28:7c:8d:e5:76:16:c1:e6:e6:14:1a:2b:2c:bc:7d:8e:4c
+-----BEGIN CERTIFICATE-----
+MIIEkTCCA3mgAwIBAgIERWtQVDANBgkqhkiG9w0BAQUFADCBsDELMAkGA1UEBhMC
+VVMxFjAUBgNVBAoTDUVudHJ1c3QsIEluYy4xOTA3BgNVBAsTMHd3dy5lbnRydXN0
+Lm5ldC9DUFMgaXMgaW5jb3Jwb3JhdGVkIGJ5IHJlZmVyZW5jZTEfMB0GA1UECxMW
+KGMpIDIwMDYgRW50cnVzdCwgSW5jLjEtMCsGA1UEAxMkRW50cnVzdCBSb290IENl
+cnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA2MTEyNzIwMjM0MloXDTI2MTEyNzIw
+NTM0MlowgbAxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1FbnRydXN0LCBJbmMuMTkw
+NwYDVQQLEzB3d3cuZW50cnVzdC5uZXQvQ1BTIGlzIGluY29ycG9yYXRlZCBieSBy
+ZWZlcmVuY2UxHzAdBgNVBAsTFihjKSAyMDA2IEVudHJ1c3QsIEluYy4xLTArBgNV
+BAMTJEVudHJ1c3QgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTCCASIwDQYJ
+KoZIhvcNAQEBBQADggEPADCCAQoCggEBALaVtkNC+sZtKm9I35RMOVcF7sN5EUFo
+Nu3s/poBj6E4KPz3EEZmLk0eGrEaTsbRwJWIsMn/MYszA9u3g3s+IIRe7bJWKKf4
+4LlAcTfFy0cOlypowCKVYhXbR9n10Cv/gkvJrT7eTNuQgFA/CYqEAOwwCj0Yzfv9
+KlmaI5UXLEWeH25DeW0MXJj+SKfFI0dcXv1u5x609mhF0YaDW6KKjbHjKYD+JXGI
+rb68j6xSlkuqUY3kEzEZ6E5Nn9uss2rVvDlUccp6en+Q3X0dgNmBu1kmwhH+5pPi
+94DkZfs0Nw4pgHBNrziGLp5/V6+eF67rHMsoIV+2HNjnogQi+dPa2MsCAwEAAaOB
+sDCBrTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zArBgNVHRAEJDAi
+gA8yMDA2MTEyNzIwMjM0MlqBDzIwMjYxMTI3MjA1MzQyWjAfBgNVHSMEGDAWgBRo
+kORnpKZTgMeGZqTx90tD+4S9bTAdBgNVHQ4EFgQUaJDkZ6SmU4DHhmak8fdLQ/uE
+vW0wHQYJKoZIhvZ9B0EABBAwDhsIVjcuMTo0LjADAgSQMA0GCSqGSIb3DQEBBQUA
+A4IBAQCT1DCw1wMgKtD5Y+iRDAUgqV8ZyntyTtSx29CW+1RaGSwMCPeyvIWonX9t
+O1KzKtvn1ISMY/YPyyYBkVBs9F8U4pN0wBOeMDpQ47RgxRzwIkSNcUesyBrJ6Zua
+AGAT/3B+XxFNSRuzFVJ7yVTav52Vr2ua2J7p8eRDjeIRRDq/r72DQnNSi6q7pynP
+9WQcCk3RvKqsnyrQ/39/2n3qse0wJcGE2jTSW3iDVuycNsMm4hH2Z0kdkquM++v/
+eu6FSqdQgPCnXEqULl8FmTxSQeDNtGPPAUO6nIPcj2A781q0tHuu2guQOHXvgR1m
+0vdXcDazv/wor3ElhVsT/h5/WrQ8
+-----END CERTIFICATE-----
+
+# Issuer: CN=GeoTrust Global CA O=GeoTrust Inc.
+# Subject: CN=GeoTrust Global CA O=GeoTrust Inc.
+# Label: "GeoTrust Global CA"
+# Serial: 144470
+# MD5 Fingerprint: f7:75:ab:29:fb:51:4e:b7:77:5e:ff:05:3c:99:8e:f5
+# SHA1 Fingerprint: de:28:f4:a4:ff:e5:b9:2f:a3:c5:03:d1:a3:49:a7:f9:96:2a:82:12
+# SHA256 Fingerprint: ff:85:6a:2d:25:1d:cd:88:d3:66:56:f4:50:12:67:98:cf:ab:aa:de:40:79:9c:72:2d:e4:d2:b5:db:36:a7:3a
+-----BEGIN CERTIFICATE-----
+MIIDVDCCAjygAwIBAgIDAjRWMA0GCSqGSIb3DQEBBQUAMEIxCzAJBgNVBAYTAlVT
+MRYwFAYDVQQKEw1HZW9UcnVzdCBJbmMuMRswGQYDVQQDExJHZW9UcnVzdCBHbG9i
+YWwgQ0EwHhcNMDIwNTIxMDQwMDAwWhcNMjIwNTIxMDQwMDAwWjBCMQswCQYDVQQG
+EwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5jLjEbMBkGA1UEAxMSR2VvVHJ1c3Qg
+R2xvYmFsIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2swYYzD9
+9BcjGlZ+W988bDjkcbd4kdS8odhM+KhDtgPpTSEHCIjaWC9mOSm9BXiLnTjoBbdq
+fnGk5sRgprDvgOSJKA+eJdbtg/OtppHHmMlCGDUUna2YRpIuT8rxh0PBFpVXLVDv
+iS2Aelet8u5fa9IAjbkU+BQVNdnARqN7csiRv8lVK83Qlz6cJmTM386DGXHKTubU
+1XupGc1V3sjs0l44U+VcT4wt/lAjNvxm5suOpDkZALeVAjmRCw7+OC7RHQWa9k0+
+bw8HHa8sHo9gOeL6NlMTOdReJivbPagUvTLrGAMoUgRx5aszPeE4uwc2hGKceeoW
+MPRfwCvocWvk+QIDAQABo1MwUTAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTA
+ephojYn7qwVkDBF9qn1luMrMTjAfBgNVHSMEGDAWgBTAephojYn7qwVkDBF9qn1l
+uMrMTjANBgkqhkiG9w0BAQUFAAOCAQEANeMpauUvXVSOKVCUn5kaFOSPeCpilKIn
+Z57QzxpeR+nBsqTP3UEaBU6bS+5Kb1VSsyShNwrrZHYqLizz/Tt1kL/6cdjHPTfS
+tQWVYrmm3ok9Nns4d0iXrKYgjy6myQzCsplFAMfOEVEiIuCl6rYVSAlk6l5PdPcF
+PseKUgzbFbS9bZvlxrFUaKnjaZC2mqUPuLk/IH2uSrW4nOQdtqvmlKXBx4Ot2/Un
+hw4EbNX/3aBd7YdStysVAq45pmp06drE57xNNB6pXE0zX5IJL4hmXXeXxx12E6nV
+5fEWCRE11azbJHFwLJhWC9kXtNHjUStedejV0NxPNO3CBWaAocvmMw==
+-----END CERTIFICATE-----
+
+# Issuer: CN=GeoTrust Global CA 2 O=GeoTrust Inc.
+# Subject: CN=GeoTrust Global CA 2 O=GeoTrust Inc.
+# Label: "GeoTrust Global CA 2"
+# Serial: 1
+# MD5 Fingerprint: 0e:40:a7:6c:de:03:5d:8f:d1:0f:e4:d1:8d:f9:6c:a9
+# SHA1 Fingerprint: a9:e9:78:08:14:37:58:88:f2:05:19:b0:6d:2b:0d:2b:60:16:90:7d
+# SHA256 Fingerprint: ca:2d:82:a0:86:77:07:2f:8a:b6:76:4f:f0:35:67:6c:fe:3e:5e:32:5e:01:21:72:df:3f:92:09:6d:b7:9b:85
+-----BEGIN CERTIFICATE-----
+MIIDZjCCAk6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBEMQswCQYDVQQGEwJVUzEW
+MBQGA1UEChMNR2VvVHJ1c3QgSW5jLjEdMBsGA1UEAxMUR2VvVHJ1c3QgR2xvYmFs
+IENBIDIwHhcNMDQwMzA0MDUwMDAwWhcNMTkwMzA0MDUwMDAwWjBEMQswCQYDVQQG
+EwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5jLjEdMBsGA1UEAxMUR2VvVHJ1c3Qg
+R2xvYmFsIENBIDIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDvPE1A
+PRDfO1MA4Wf+lGAVPoWI8YkNkMgoI5kF6CsgncbzYEbYwbLVjDHZ3CB5JIG/NTL8
+Y2nbsSpr7iFY8gjpeMtvy/wWUsiRxP89c96xPqfCfWbB9X5SJBri1WeR0IIQ13hL
+TytCOb1kLUCgsBDTOEhGiKEMuzozKmKY+wCdE1l/bztyqu6mD4b5BWHqZ38MN5aL
+5mkWRxHCJ1kDs6ZgwiFAVvqgx306E+PsV8ez1q6diYD3Aecs9pYrEw15LNnA5IZ7
+S4wMcoKK+xfNAGw6EzywhIdLFnopsk/bHdQL82Y3vdj2V7teJHq4PIu5+pIaGoSe
+2HSPqht/XvT+RSIhAgMBAAGjYzBhMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYE
+FHE4NvICMVNHK266ZUapEBVYIAUJMB8GA1UdIwQYMBaAFHE4NvICMVNHK266ZUap
+EBVYIAUJMA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQUFAAOCAQEAA/e1K6td
+EPx7srJerJsOflN4WT5CBP51o62sgU7XAotexC3IUnbHLB/8gTKY0UvGkpMzNTEv
+/NgdRN3ggX+d6YvhZJFiCzkIjKx0nVnZellSlxG5FntvRdOW2TF9AjYPnDtuzywN
+A0ZF66D0f0hExghAzN4bcLUprbqLOzRldRtxIR0sFAqwlpW41uryZfspuk/qkZN0
+abby/+Ea0AzRdoXLiiW9l14sbxWZJue2Kf8i7MkCx1YAzUm5s2x7UwQa4qjJqhIF
+I8LO57sEAszAR6LkxCkvW0VXiVHuPOtSCP8HNR6fNWpHSlaY0VqFH4z1Ir+rzoPz
+4iIprn2DQKi6bA==
+-----END CERTIFICATE-----
+
+# Issuer: CN=GeoTrust Universal CA O=GeoTrust Inc.
+# Subject: CN=GeoTrust Universal CA O=GeoTrust Inc.
+# Label: "GeoTrust Universal CA"
+# Serial: 1
+# MD5 Fingerprint: 92:65:58:8b:a2:1a:31:72:73:68:5c:b4:a5:7a:07:48
+# SHA1 Fingerprint: e6:21:f3:35:43:79:05:9a:4b:68:30:9d:8a:2f:74:22:15:87:ec:79
+# SHA256 Fingerprint: a0:45:9b:9f:63:b2:25:59:f5:fa:5d:4c:6d:b3:f9:f7:2f:f1:93:42:03:35:78:f0:73:bf:1d:1b:46:cb:b9:12
+-----BEGIN CERTIFICATE-----
+MIIFaDCCA1CgAwIBAgIBATANBgkqhkiG9w0BAQUFADBFMQswCQYDVQQGEwJVUzEW
+MBQGA1UEChMNR2VvVHJ1c3QgSW5jLjEeMBwGA1UEAxMVR2VvVHJ1c3QgVW5pdmVy
+c2FsIENBMB4XDTA0MDMwNDA1MDAwMFoXDTI5MDMwNDA1MDAwMFowRTELMAkGA1UE
+BhMCVVMxFjAUBgNVBAoTDUdlb1RydXN0IEluYy4xHjAcBgNVBAMTFUdlb1RydXN0
+IFVuaXZlcnNhbCBDQTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKYV
+VaCjxuAfjJ0hUNfBvitbtaSeodlyWL0AG0y/YckUHUWCq8YdgNY96xCcOq9tJPi8
+cQGeBvV8Xx7BDlXKg5pZMK4ZyzBIle0iN430SppyZj6tlcDgFgDgEB8rMQ7XlFTT
+QjOgNB0eRXbdT8oYN+yFFXoZCPzVx5zw8qkuEKmS5j1YPakWaDwvdSEYfyh3peFh
+F7em6fgemdtzbvQKoiFs7tqqhZJmr/Z6a4LauiIINQ/PQvE1+mrufislzDoR5G2v
+c7J2Ha3QsnhnGqQ5HFELZ1aD/ThdDc7d8Lsrlh/eezJS/R27tQahsiFepdaVaH/w
+mZ7cRQg+59IJDTWU3YBOU5fXtQlEIGQWFwMCTFMNaN7VqnJNk22CDtucvc+081xd
+VHppCZbW2xHBjXWotM85yM48vCR85mLK4b19p71XZQvk/iXttmkQ3CgaRr0BHdCX
+teGYO8A3ZNY9lO4L4fUorgtWv3GLIylBjobFS1J72HGrH4oVpjuDWtdYAVHGTEHZ
+f9hBZ3KiKN9gg6meyHv8U3NyWfWTehd2Ds735VzZC1U0oqpbtWpU5xPKV+yXbfRe
+Bi9Fi1jUIxaS5BZuKGNZMN9QAZxjiRqf2xeUgnA3wySemkfWWspOqGmJch+RbNt+
+nhutxx9z3SxPGWX9f5NAEC7S8O08ni4oPmkmM8V7AgMBAAGjYzBhMA8GA1UdEwEB
+/wQFMAMBAf8wHQYDVR0OBBYEFNq7LqqwDLiIJlF0XG0D08DYj3rWMB8GA1UdIwQY
+MBaAFNq7LqqwDLiIJlF0XG0D08DYj3rWMA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG
+9w0BAQUFAAOCAgEAMXjmx7XfuJRAyXHEqDXsRh3ChfMoWIawC/yOsjmPRFWrZIRc
+aanQmjg8+uUfNeVE44B5lGiku8SfPeE0zTBGi1QrlaXv9z+ZhP015s8xxtxqv6fX
+IwjhmF7DWgh2qaavdy+3YL1ERmrvl/9zlcGO6JP7/TG37FcREUWbMPEaiDnBTzyn
+ANXH/KttgCJwpQzgXQQpAvvLoJHRfNbDflDVnVi+QTjruXU8FdmbyUqDWcDaU/0z
+uzYYm4UPFd3uLax2k7nZAY1IEKj79TiG8dsKxr2EoyNB3tZ3b4XUhRxQ4K5RirqN
+Pnbiucon8l+f725ZDQbYKxek0nxru18UGkiPGkzns0ccjkxFKyDuSN/n3QmOGKja
+QI2SJhFTYXNd673nxE0pN2HrrDktZy4W1vUAg4WhzH92xH3kt0tm7wNFYGm2DFKW
+koRepqO1pD4r2czYG0eq8kTaT/kD6PAUyz/zg97QwVTjt+gKN02LIFkDMBmhLMi9
+ER/frslKxfMnZmaGrGiR/9nmUxwPi1xpZQomyB40w11Re9epnAahNt3ViZS82eQt
+DF4JbAiXfKM9fJP/P6EUp8+1Xevb2xzEdt+Iub1FBZUbrvxGakyvSOPOrg/Sfuvm
+bJxPgWp6ZKy7PtXny3YuxadIwVyQD8vIP/rmMuGNG2+k5o7Y+SlIis5z/iw=
+-----END CERTIFICATE-----
+
+# Issuer: CN=GeoTrust Universal CA 2 O=GeoTrust Inc.
+# Subject: CN=GeoTrust Universal CA 2 O=GeoTrust Inc.
+# Label: "GeoTrust Universal CA 2"
+# Serial: 1
+# MD5 Fingerprint: 34:fc:b8:d0:36:db:9e:14:b3:c2:f2:db:8f:e4:94:c7
+# SHA1 Fingerprint: 37:9a:19:7b:41:85:45:35:0c:a6:03:69:f3:3c:2e:af:47:4f:20:79
+# SHA256 Fingerprint: a0:23:4f:3b:c8:52:7c:a5:62:8e:ec:81:ad:5d:69:89:5d:a5:68:0d:c9:1d:1c:b8:47:7f:33:f8:78:b9:5b:0b
+-----BEGIN CERTIFICATE-----
+MIIFbDCCA1SgAwIBAgIBATANBgkqhkiG9w0BAQUFADBHMQswCQYDVQQGEwJVUzEW
+MBQGA1UEChMNR2VvVHJ1c3QgSW5jLjEgMB4GA1UEAxMXR2VvVHJ1c3QgVW5pdmVy
+c2FsIENBIDIwHhcNMDQwMzA0MDUwMDAwWhcNMjkwMzA0MDUwMDAwWjBHMQswCQYD
+VQQGEwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5jLjEgMB4GA1UEAxMXR2VvVHJ1
+c3QgVW5pdmVyc2FsIENBIDIwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoIC
+AQCzVFLByT7y2dyxUxpZKeexw0Uo5dfR7cXFS6GqdHtXr0om/Nj1XqduGdt0DE81
+WzILAePb63p3NeqqWuDW6KFXlPCQo3RWlEQwAx5cTiuFJnSCegx2oG9NzkEtoBUG
+FF+3Qs17j1hhNNwqCPkuwwGmIkQcTAeC5lvO0Ep8BNMZcyfwqph/Lq9O64ceJHdq
+XbboW0W63MOhBW9Wjo8QJqVJwy7XQYci4E+GymC16qFjwAGXEHm9ADwSbSsVsaxL
+se4YuU6W3Nx2/zu+z18DwPw76L5GG//aQMJS9/7jOvdqdzXQ2o3rXhhqMcceujwb
+KNZrVMaqW9eiLBsZzKIC9ptZvTdrhrVtgrrY6slWvKk2WP0+GfPtDCapkzj4T8Fd
+IgbQl+rhrcZV4IErKIM6+vR7IVEAvlI4zs1meaj0gVbi0IMJR1FbUGrP20gaXT73
+y/Zl92zxlfgCOzJWgjl6W70viRu/obTo/3+NjN8D8WBOWBFM66M/ECuDmgFz2ZRt
+hAAnZqzwcEAJQpKtT5MNYQlRJNiS1QuUYbKHsu3/mjX/hVTK7URDrBs8FmtISgoc
+QIgfksILAAX/8sgCSqSqqcyZlpwvWOB94b67B9xfBHJcMTTD7F8t4D1kkCLm0ey4
+Lt1ZrtmhN79UNdxzMk+MBB4zsslG8dhcyFVQyWi9qLo2CQIDAQABo2MwYTAPBgNV
+HRMBAf8EBTADAQH/MB0GA1UdDgQWBBR281Xh+qQ2+/CfXGJx7Tz0RzgQKzAfBgNV
+HSMEGDAWgBR281Xh+qQ2+/CfXGJx7Tz0RzgQKzAOBgNVHQ8BAf8EBAMCAYYwDQYJ
+KoZIhvcNAQEFBQADggIBAGbBxiPz2eAubl/oz66wsCVNK/g7WJtAJDday6sWSf+z
+dXkzoS9tcBc0kf5nfo/sm+VegqlVHy/c1FEHEv6sFj4sNcZj/NwQ6w2jqtB8zNHQ
+L1EuxBRa3ugZ4T7GzKQp5y6EqgYweHZUcyiYWTjgAA1i00J9IZ+uPTqM1fp3DRgr
+Fg5fNuH8KrUwJM/gYwx7WBr+mbpCErGR9Hxo4sjoryzqyX6uuyo9DRXcNJW2GHSo
+ag/HtPQTxORb7QrSpJdMKu0vbBKJPfEncKpqA1Ihn0CoZ1Dy81of398j9tx4TuaY
+T1U6U+Pv8vSfx3zYWK8pIpe44L2RLrB27FcRz+8pRPPphXpgY+RdM4kX2TGq2tbz
+GDVyz4crL2MjhF2EjD9XoIj8mZEoJmmZ1I+XRL6O1UixpCgp8RW04eWe3fiPpm8m
+1wk8OhwRDqZsN/etRIcsKMfYdIKz0G9KV7s1KSegi+ghp4dkNl3M2Basx7InQJJV
+OCiNUW7dFGdTbHFcJoRNdVq2fmBWqU2t+5sel/MN2dKXVHfaPRK34B7vCAas+YWH
+6aLcr34YEoP9VhdBLtUpgn2Z9DH2canPLAEnpQW5qrJITirvn5NSUZU8UnOOVkwX
+QMAJKOSLakhT2+zNVVXxxvjpoixMptEmX36vWkzaH6byHCx+rgIW0lbQL1dTR+iS
+-----END CERTIFICATE-----
+
+# Issuer: CN=America Online Root Certification Authority 1 O=America Online Inc.
+# Subject: CN=America Online Root Certification Authority 1 O=America Online Inc.
+# Label: "America Online Root Certification Authority 1"
+# Serial: 1
+# MD5 Fingerprint: 14:f1:08:ad:9d:fa:64:e2:89:e7:1c:cf:a8:ad:7d:5e
+# SHA1 Fingerprint: 39:21:c1:15:c1:5d:0e:ca:5c:cb:5b:c4:f0:7d:21:d8:05:0b:56:6a
+# SHA256 Fingerprint: 77:40:73:12:c6:3a:15:3d:5b:c0:0b:4e:51:75:9c:df:da:c2:37:dc:2a:33:b6:79:46:e9:8e:9b:fa:68:0a:e3
+-----BEGIN CERTIFICATE-----
+MIIDpDCCAoygAwIBAgIBATANBgkqhkiG9w0BAQUFADBjMQswCQYDVQQGEwJVUzEc
+MBoGA1UEChMTQW1lcmljYSBPbmxpbmUgSW5jLjE2MDQGA1UEAxMtQW1lcmljYSBP
+bmxpbmUgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAxMB4XDTAyMDUyODA2
+MDAwMFoXDTM3MTExOTIwNDMwMFowYzELMAkGA1UEBhMCVVMxHDAaBgNVBAoTE0Ft
+ZXJpY2EgT25saW5lIEluYy4xNjA0BgNVBAMTLUFtZXJpY2EgT25saW5lIFJvb3Qg
+Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkgMTCCASIwDQYJKoZIhvcNAQEBBQADggEP
+ADCCAQoCggEBAKgv6KRpBgNHw+kqmP8ZonCaxlCyfqXfaE0bfA+2l2h9LaaLl+lk
+hsmj76CGv2BlnEtUiMJIxUo5vxTjWVXlGbR0yLQFOVwWpeKVBeASrlmLojNoWBym
+1BW32J/X3HGrfpq/m44zDyL9Hy7nBzbvYjnF3cu6JRQj3gzGPTzOggjmZj7aUTsW
+OqMFf6Dch9Wc/HKpoH145LcxVR5lu9RhsCFg7RAycsWSJR74kEoYeEfffjA3PlAb
+2xzTa5qGUwew76wGePiEmf4hjUyAtgyC9mZweRrTT6PP8c9GsEsPPt2IYriMqQko
+O3rHl+Ee5fSfwMCuJKDIodkP1nsmgmkyPacCAwEAAaNjMGEwDwYDVR0TAQH/BAUw
+AwEB/zAdBgNVHQ4EFgQUAK3Zo/Z59m50qX8zPYEX10zPM94wHwYDVR0jBBgwFoAU
+AK3Zo/Z59m50qX8zPYEX10zPM94wDgYDVR0PAQH/BAQDAgGGMA0GCSqGSIb3DQEB
+BQUAA4IBAQB8itEfGDeC4Liwo+1WlchiYZwFos3CYiZhzRAW18y0ZTTQEYqtqKkF
+Zu90821fnZmv9ov761KyBZiibyrFVL0lvV+uyIbqRizBs73B6UlwGBaXCBOMIOAb
+LjpHyx7kADCVW/RFo8AasAFOq73AI25jP4BKxQft3OJvx8Fi8eNy1gTIdGcL+oir
+oQHIb/AUr9KZzVGTfu0uOMe9zkZQPXLjeSWdm4grECDdpbgyn43gKd8hdIaC2y+C
+MMbHNYaz+ZZfRtsMRf3zUMNvxsNIrUam4SdHCh0Om7bCd39j8uB9Gr784N/Xx6ds
+sPmuujz9dLQR6FgNgLzTqIA6me11zEZ7
+-----END CERTIFICATE-----
+
+# Issuer: CN=America Online Root Certification Authority 2 O=America Online Inc.
+# Subject: CN=America Online Root Certification Authority 2 O=America Online Inc.
+# Label: "America Online Root Certification Authority 2"
+# Serial: 1
+# MD5 Fingerprint: d6:ed:3c:ca:e2:66:0f:af:10:43:0d:77:9b:04:09:bf
+# SHA1 Fingerprint: 85:b5:ff:67:9b:0c:79:96:1f:c8:6e:44:22:00:46:13:db:17:92:84
+# SHA256 Fingerprint: 7d:3b:46:5a:60:14:e5:26:c0:af:fc:ee:21:27:d2:31:17:27:ad:81:1c:26:84:2d:00:6a:f3:73:06:cc:80:bd
+-----BEGIN CERTIFICATE-----
+MIIFpDCCA4ygAwIBAgIBATANBgkqhkiG9w0BAQUFADBjMQswCQYDVQQGEwJVUzEc
+MBoGA1UEChMTQW1lcmljYSBPbmxpbmUgSW5jLjE2MDQGA1UEAxMtQW1lcmljYSBP
+bmxpbmUgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAyMB4XDTAyMDUyODA2
+MDAwMFoXDTM3MDkyOTE0MDgwMFowYzELMAkGA1UEBhMCVVMxHDAaBgNVBAoTE0Ft
+ZXJpY2EgT25saW5lIEluYy4xNjA0BgNVBAMTLUFtZXJpY2EgT25saW5lIFJvb3Qg
+Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkgMjCCAiIwDQYJKoZIhvcNAQEBBQADggIP
+ADCCAgoCggIBAMxBRR3pPU0Q9oyxQcngXssNt79Hc9PwVU3dxgz6sWYFas14tNwC
+206B89enfHG8dWOgXeMHDEjsJcQDIPT/DjsS/5uN4cbVG7RtIuOx238hZK+GvFci
+KtZHgVdEglZTvYYUAQv8f3SkWq7xuhG1m1hagLQ3eAkzfDJHA1zEpYNI9FdWboE2
+JxhP7JsowtS013wMPgwr38oE18aO6lhOqKSlGBxsRZijQdEt0sdtjRnxrXm3gT+9
+BoInLRBYBbV4Bbkv2wxrkJB+FFk4u5QkE+XRnRTf04JNRvCAOVIyD+OEsnpD8l7e
+Xz8d3eOyG6ChKiMDbi4BFYdcpnV1x5dhvt6G3NRI270qv0pV2uh9UPu0gBe4lL8B
+PeraunzgWGcXuVjgiIZGZ2ydEEdYMtA1fHkqkKJaEBEjNa0vzORKW6fIJ/KD3l67
+Xnfn6KVuY8INXWHQjNJsWiEOyiijzirplcdIz5ZvHZIlyMbGwcEMBawmxNJ10uEq
+Z8A9W6Wa6897GqidFEXlD6CaZd4vKL3Ob5Rmg0gp2OpljK+T2WSfVVcmv2/LNzGZ
+o2C7HK2JNDJiuEMhBnIMoVxtRsX6Kc8w3onccVvdtjc+31D1uAclJuW8tf48ArO3
++L5DwYcRlJ4jbBeKuIonDFRH8KmzwICMoCfrHRnjB453cMor9H124HhnAgMBAAGj
+YzBhMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFE1FwWg4u3OpaaEg5+31IqEj
+FNeeMB8GA1UdIwQYMBaAFE1FwWg4u3OpaaEg5+31IqEjFNeeMA4GA1UdDwEB/wQE
+AwIBhjANBgkqhkiG9w0BAQUFAAOCAgEAZ2sGuV9FOypLM7PmG2tZTiLMubekJcmn
+xPBUlgtk87FYT15R/LKXeydlwuXK5w0MJXti4/qftIe3RUavg6WXSIylvfEWK5t2
+LHo1YGwRgJfMqZJS5ivmae2p+DYtLHe/YUjRYwu5W1LtGLBDQiKmsXeu3mnFzccc
+obGlHBD7GL4acN3Bkku+KVqdPzW+5X1R+FXgJXUjhx5c3LqdsKyzadsXg8n33gy8
+CNyRnqjQ1xU3c6U1uPx+xURABsPr+CKAXEfOAuMRn0T//ZoyzH1kUQ7rVyZ2OuMe
+IjzCpjbdGe+n/BLzJsBZMYVMnNjP36TMzCmT/5RtdlwTCJfy7aULTd3oyWgOZtMA
+DjMSW7yV5TKQqLPGbIOtd+6Lfn6xqavT4fG2wLHqiMDn05DpKJKUe2h7lyoKZy2F
+AjgQ5ANh1NolNscIWC2hp1GvMApJ9aZphwctREZ2jirlmjvXGKL8nDgQzMY70rUX
+Om/9riW99XJZZLF0KjhfGEzfz3EEWjbUvy+ZnOjZurGV5gJLIaFb1cFPj65pbVPb
+AZO1XB4Y3WRayhgoPmMEEf0cjQAPuDffZ4qdZqkCapH/E8ovXYO8h5Ns3CRRFgQl
+Zvqz2cK6Kb6aSDiCmfS/O0oxGfm/jiEzFMpPVF/7zvuPcX/9XhmgD0uRuMRUvAaw
+RY8mkaKO/qk=
+-----END CERTIFICATE-----
+
+# Issuer: CN=AAA Certificate Services O=Comodo CA Limited
+# Subject: CN=AAA Certificate Services O=Comodo CA Limited
+# Label: "Comodo AAA Services root"
+# Serial: 1
+# MD5 Fingerprint: 49:79:04:b0:eb:87:19:ac:47:b0:bc:11:51:9b:74:d0
+# SHA1 Fingerprint: d1:eb:23:a4:6d:17:d6:8f:d9:25:64:c2:f1:f1:60:17:64:d8:e3:49
+# SHA256 Fingerprint: d7:a7:a0:fb:5d:7e:27:31:d7:71:e9:48:4e:bc:de:f7:1d:5f:0c:3e:0a:29:48:78:2b:c8:3e:e0:ea:69:9e:f4
+-----BEGIN CERTIFICATE-----
+MIIEMjCCAxqgAwIBAgIBATANBgkqhkiG9w0BAQUFADB7MQswCQYDVQQGEwJHQjEb
+MBkGA1UECAwSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHDAdTYWxmb3JkMRow
+GAYDVQQKDBFDb21vZG8gQ0EgTGltaXRlZDEhMB8GA1UEAwwYQUFBIENlcnRpZmlj
+YXRlIFNlcnZpY2VzMB4XDTA0MDEwMTAwMDAwMFoXDTI4MTIzMTIzNTk1OVowezEL
+MAkGA1UEBhMCR0IxGzAZBgNVBAgMEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UE
+BwwHU2FsZm9yZDEaMBgGA1UECgwRQ29tb2RvIENBIExpbWl0ZWQxITAfBgNVBAMM
+GEFBQSBDZXJ0aWZpY2F0ZSBTZXJ2aWNlczCCASIwDQYJKoZIhvcNAQEBBQADggEP
+ADCCAQoCggEBAL5AnfRu4ep2hxxNRUSOvkbIgwadwSr+GB+O5AL686tdUIoWMQua
+BtDFcCLNSS1UY8y2bmhGC1Pqy0wkwLxyTurxFa70VJoSCsN6sjNg4tqJVfMiWPPe
+3M/vg4aijJRPn2jymJBGhCfHdr/jzDUsi14HZGWCwEiwqJH5YZ92IFCokcdmtet4
+YgNW8IoaE+oxox6gmf049vYnMlhvB/VruPsUK6+3qszWY19zjNoFmag4qMsXeDZR
+rOme9Hg6jc8P2ULimAyrL58OAd7vn5lJ8S3frHRNG5i1R8XlKdH5kBjHYpy+g8cm
+ez6KJcfA3Z3mNWgQIJ2P2N7Sw4ScDV7oL8kCAwEAAaOBwDCBvTAdBgNVHQ4EFgQU
+oBEKIz6W8Qfs4q8p74Klf9AwpLQwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQF
+MAMBAf8wewYDVR0fBHQwcjA4oDagNIYyaHR0cDovL2NybC5jb21vZG9jYS5jb20v
+QUFBQ2VydGlmaWNhdGVTZXJ2aWNlcy5jcmwwNqA0oDKGMGh0dHA6Ly9jcmwuY29t
+b2RvLm5ldC9BQUFDZXJ0aWZpY2F0ZVNlcnZpY2VzLmNybDANBgkqhkiG9w0BAQUF
+AAOCAQEACFb8AvCb6P+k+tZ7xkSAzk/ExfYAWMymtrwUSWgEdujm7l3sAg9g1o1Q
+GE8mTgHj5rCl7r+8dFRBv/38ErjHT1r0iWAFf2C3BUrz9vHCv8S5dIa2LX1rzNLz
+Rt0vxuBqw8M0Ayx9lt1awg6nCpnBBYurDC/zXDrPbDdVCYfeU0BsWO/8tqtlbgT2
+G9w84FoVxp7Z8VlIMCFlA2zs6SFz7JsDoeA3raAVGI/6ugLOpyypEBMs1OUIJqsi
+l2D4kF501KKaU73yqWjgom7C12yxow+ev+to51byrvLjKzg6CYG1a4XXvi3tPxq3
+smPi9WIsgtRqAEFQ8TmDn5XpNpaYbg==
+-----END CERTIFICATE-----
+
+# Issuer: CN=Secure Certificate Services O=Comodo CA Limited
+# Subject: CN=Secure Certificate Services O=Comodo CA Limited
+# Label: "Comodo Secure Services root"
+# Serial: 1
+# MD5 Fingerprint: d3:d9:bd:ae:9f:ac:67:24:b3:c8:1b:52:e1:b9:a9:bd
+# SHA1 Fingerprint: 4a:65:d5:f4:1d:ef:39:b8:b8:90:4a:4a:d3:64:81:33:cf:c7:a1:d1
+# SHA256 Fingerprint: bd:81:ce:3b:4f:65:91:d1:1a:67:b5:fc:7a:47:fd:ef:25:52:1b:f9:aa:4e:18:b9:e3:df:2e:34:a7:80:3b:e8
+-----BEGIN CERTIFICATE-----
+MIIEPzCCAyegAwIBAgIBATANBgkqhkiG9w0BAQUFADB+MQswCQYDVQQGEwJHQjEb
+MBkGA1UECAwSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHDAdTYWxmb3JkMRow
+GAYDVQQKDBFDb21vZG8gQ0EgTGltaXRlZDEkMCIGA1UEAwwbU2VjdXJlIENlcnRp
+ZmljYXRlIFNlcnZpY2VzMB4XDTA0MDEwMTAwMDAwMFoXDTI4MTIzMTIzNTk1OVow
+fjELMAkGA1UEBhMCR0IxGzAZBgNVBAgMEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G
+A1UEBwwHU2FsZm9yZDEaMBgGA1UECgwRQ29tb2RvIENBIExpbWl0ZWQxJDAiBgNV
+BAMMG1NlY3VyZSBDZXJ0aWZpY2F0ZSBTZXJ2aWNlczCCASIwDQYJKoZIhvcNAQEB
+BQADggEPADCCAQoCggEBAMBxM4KK0HDrc4eCQNUd5MvJDkKQ+d40uaG6EfQlhfPM
+cm3ye5drswfxdySRXyWP9nQ95IDC+DwN879A6vfIUtFyb+/Iq0G4bi4XKpVpDM3S
+HpR7LZQdqnXXs5jLrLxkU0C8j6ysNstcrbvd4JQX7NFc0L/vpZXJkMWwrPsbQ996
+CF23uPJAGysnnlDOXmWCiIxe004MeuoIkbY2qitC++rCoznl2yY4rYsK7hljxxwk
+3wN42ubqwUcaCwtGCd0C/N7Lh1/XMGNooa7cMqG6vv5Eq2i2pRcV/b3Vp6ea5EQz
+6YiO/O1R65NxTq0B50SOqy3LqP4BSUjwwN3HaNiS/j0CAwEAAaOBxzCBxDAdBgNV
+HQ4EFgQUPNiTiMLAggnMAZkGkyDpnnAJY08wDgYDVR0PAQH/BAQDAgEGMA8GA1Ud
+EwEB/wQFMAMBAf8wgYEGA1UdHwR6MHgwO6A5oDeGNWh0dHA6Ly9jcmwuY29tb2Rv
+Y2EuY29tL1NlY3VyZUNlcnRpZmljYXRlU2VydmljZXMuY3JsMDmgN6A1hjNodHRw
+Oi8vY3JsLmNvbW9kby5uZXQvU2VjdXJlQ2VydGlmaWNhdGVTZXJ2aWNlcy5jcmww
+DQYJKoZIhvcNAQEFBQADggEBAIcBbSMdflsXfcFhMs+P5/OKlFlm4J4oqF7Tt/Q0
+5qo5spcWxYJvMqTpjOev/e/C6LlLqqP05tqNZSH7uoDrJiiFGv45jN5bBAS0VPmj
+Z55B+glSzAVIqMk/IQQezkhr/IXownuvf7fM+F86/TXGDe+X3EyrEeFryzHRbPtI
+gKvcnDe4IRRLDXE97IMzbtFuMhbsmMcWi1mmNKsFVy2T96oTy9IT4rcuO81rUBcJ
+aD61JlfutuC23bkpgHl9j6PwpCikFcSF9CfUa7/lXORlAnZUtOM3ZiTTGWHIUhDl
+izeauan5Hb/qmZJhlv8BzaFfDbxxvA6sCx1HRR3B7Hzs/Sk=
+-----END CERTIFICATE-----
+
+# Issuer: CN=Trusted Certificate Services O=Comodo CA Limited
+# Subject: CN=Trusted Certificate Services O=Comodo CA Limited
+# Label: "Comodo Trusted Services root"
+# Serial: 1
+# MD5 Fingerprint: 91:1b:3f:6e:cd:9e:ab:ee:07:fe:1f:71:d2:b3:61:27
+# SHA1 Fingerprint: e1:9f:e3:0e:8b:84:60:9e:80:9b:17:0d:72:a8:c5:ba:6e:14:09:bd
+# SHA256 Fingerprint: 3f:06:e5:56:81:d4:96:f5:be:16:9e:b5:38:9f:9f:2b:8f:f6:1e:17:08:df:68:81:72:48:49:cd:5d:27:cb:69
+-----BEGIN CERTIFICATE-----
+MIIEQzCCAyugAwIBAgIBATANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJHQjEb
+MBkGA1UECAwSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHDAdTYWxmb3JkMRow
+GAYDVQQKDBFDb21vZG8gQ0EgTGltaXRlZDElMCMGA1UEAwwcVHJ1c3RlZCBDZXJ0
+aWZpY2F0ZSBTZXJ2aWNlczAeFw0wNDAxMDEwMDAwMDBaFw0yODEyMzEyMzU5NTla
+MH8xCzAJBgNVBAYTAkdCMRswGQYDVQQIDBJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAO
+BgNVBAcMB1NhbGZvcmQxGjAYBgNVBAoMEUNvbW9kbyBDQSBMaW1pdGVkMSUwIwYD
+VQQDDBxUcnVzdGVkIENlcnRpZmljYXRlIFNlcnZpY2VzMIIBIjANBgkqhkiG9w0B
+AQEFAAOCAQ8AMIIBCgKCAQEA33FvNlhTWvI2VFeAxHQIIO0Yfyod5jWaHiWsnOWW
+fnJSoBVC21ndZHoa0Lh73TkVvFVIxO06AOoxEbrycXQaZ7jPM8yoMa+j49d/vzMt
+TGo87IvDktJTdyR0nAducPy9C1t2ul/y/9c3S0pgePfw+spwtOpZqqPOSC+pw7IL
+fhdyFgymBwwbOM/JYrc/oJOlh0Hyt3BAd9i+FHzjqMB6juljatEPmsbS9Is6FARW
+1O24zG71++IsWL1/T2sr92AkWCTOJu80kTrV44HQsvAEAtdbtz6SrGsSivnkBbA7
+kUlcsutT6vifR4buv5XAwAaf0lteERv0xwQ1KdJVXOTt6wIDAQABo4HJMIHGMB0G
+A1UdDgQWBBTFe1i97doladL3WRaoszLAeydb9DAOBgNVHQ8BAf8EBAMCAQYwDwYD
+VR0TAQH/BAUwAwEB/zCBgwYDVR0fBHwwejA8oDqgOIY2aHR0cDovL2NybC5jb21v
+ZG9jYS5jb20vVHJ1c3RlZENlcnRpZmljYXRlU2VydmljZXMuY3JsMDqgOKA2hjRo
+dHRwOi8vY3JsLmNvbW9kby5uZXQvVHJ1c3RlZENlcnRpZmljYXRlU2VydmljZXMu
+Y3JsMA0GCSqGSIb3DQEBBQUAA4IBAQDIk4E7ibSvuIQSTI3S8NtwuleGFTQQuS9/
+HrCoiWChisJ3DFBKmwCL2Iv0QeLQg4pKHBQGsKNoBXAxMKdTmw7pSqBYaWcOrp32
+pSxBvzwGa+RZzG0Q8ZZvH9/0BAKkn0U+yNj6NkZEUD+Cl5EfKNsYEYwq5GWDVxIS
+jBc/lDb+XbDABHcTuPQV1T84zJQ6VdCsmPW6AF/ghhmBeC8owH7TzEIK9a5QoNE+
+xqFx7D+gIIxmOom0jtTYsU0lR+4viMi14QVFwL4Ucd56/Y57fU0IlqUSc/Atyjcn
+dBInTMu2l+nZrghtWjlA3QVHdWpaIbOjGM9O9y5Xt5hwXsjEeLBi
+-----END CERTIFICATE-----
+
+# Issuer: CN=UTN - DATACorp SGC O=The USERTRUST Network OU=http://www.usertrust.com
+# Subject: CN=UTN - DATACorp SGC O=The USERTRUST Network OU=http://www.usertrust.com
+# Label: "UTN DATACorp SGC Root CA"
+# Serial: 91374294542884689855167577680241077609
+# MD5 Fingerprint: b3:a5:3e:77:21:6d:ac:4a:c0:c9:fb:d5:41:3d:ca:06
+# SHA1 Fingerprint: 58:11:9f:0e:12:82:87:ea:50:fd:d9:87:45:6f:4f:78:dc:fa:d6:d4
+# SHA256 Fingerprint: 85:fb:2f:91:dd:12:27:5a:01:45:b6:36:53:4f:84:02:4a:d6:8b:69:b8:ee:88:68:4f:f7:11:37:58:05:b3:48
+-----BEGIN CERTIFICATE-----
+MIIEXjCCA0agAwIBAgIQRL4Mi1AAIbQR0ypoBqmtaTANBgkqhkiG9w0BAQUFADCB
+kzELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2Ug
+Q2l0eTEeMBwGA1UEChMVVGhlIFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExho
+dHRwOi8vd3d3LnVzZXJ0cnVzdC5jb20xGzAZBgNVBAMTElVUTiAtIERBVEFDb3Jw
+IFNHQzAeFw05OTA2MjQxODU3MjFaFw0xOTA2MjQxOTA2MzBaMIGTMQswCQYDVQQG
+EwJVUzELMAkGA1UECBMCVVQxFzAVBgNVBAcTDlNhbHQgTGFrZSBDaXR5MR4wHAYD
+VQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxITAfBgNVBAsTGGh0dHA6Ly93d3cu
+dXNlcnRydXN0LmNvbTEbMBkGA1UEAxMSVVROIC0gREFUQUNvcnAgU0dDMIIBIjAN
+BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3+5YEKIrblXEjr8uRgnn4AgPLit6
+E5Qbvfa2gI5lBZMAHryv4g+OGQ0SR+ysraP6LnD43m77VkIVni5c7yPeIbkFdicZ
+D0/Ww5y0vpQZY/KmEQrrU0icvvIpOxboGqBMpsn0GFlowHDyUwDAXlCCpVZvNvlK
+4ESGoE1O1kduSUrLZ9emxAW5jh70/P/N5zbgnAVssjMiFdC04MwXwLLA9P4yPykq
+lXvY8qdOD1R8oQ2AswkDwf9c3V6aPryuvEeKaq5xyh+xKrhfQgUL7EYw0XILyulW
+bfXv33i+Ybqypa4ETLyorGkVl73v67SMvzX41MPRKA5cOp9wGDMgd8SirwIDAQAB
+o4GrMIGoMAsGA1UdDwQEAwIBxjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRT
+MtGzz3/64PGgXYVOktKeRR20TzA9BgNVHR8ENjA0MDKgMKAuhixodHRwOi8vY3Js
+LnVzZXJ0cnVzdC5jb20vVVROLURBVEFDb3JwU0dDLmNybDAqBgNVHSUEIzAhBggr
+BgEFBQcDAQYKKwYBBAGCNwoDAwYJYIZIAYb4QgQBMA0GCSqGSIb3DQEBBQUAA4IB
+AQAnNZcAiosovcYzMB4p/OL31ZjUQLtgyr+rFywJNn9Q+kHcrpY6CiM+iVnJowft
+Gzet/Hy+UUla3joKVAgWRcKZsYfNjGjgaQPpxE6YsjuMFrMOoAyYUJuTqXAJyCyj
+j98C5OBxOvG0I3KgqgHf35g+FFCgMSa9KOlaMCZ1+XtgHI3zzVAmbQQnmt/VDUVH
+KWss5nbZqSl9Mt3JNjy9rjXxEZ4du5A/EkdOjtd+D2JzHVImOBwYSf0wdJrE5SIv
+2MCN7ZF6TACPcn9d2t0bi0Vr591pl6jFVkwPDPafepE39peC4N1xaf92P2BNPM/3
+mfnGV/TJVTl4uix5yaaIK/QI
+-----END CERTIFICATE-----
+
+# Issuer: CN=UTN-USERFirst-Hardware O=The USERTRUST Network OU=http://www.usertrust.com
+# Subject: CN=UTN-USERFirst-Hardware O=The USERTRUST Network OU=http://www.usertrust.com
+# Label: "UTN USERFirst Hardware Root CA"
+# Serial: 91374294542884704022267039221184531197
+# MD5 Fingerprint: 4c:56:41:e5:0d:bb:2b:e8:ca:a3:ed:18:08:ad:43:39
+# SHA1 Fingerprint: 04:83:ed:33:99:ac:36:08:05:87:22:ed:bc:5e:46:00:e3:be:f9:d7
+# SHA256 Fingerprint: 6e:a5:47:41:d0:04:66:7e:ed:1b:48:16:63:4a:a3:a7:9e:6e:4b:96:95:0f:82:79:da:fc:8d:9b:d8:81:21:37
+-----BEGIN CERTIFICATE-----
+MIIEdDCCA1ygAwIBAgIQRL4Mi1AAJLQR0zYq/mUK/TANBgkqhkiG9w0BAQUFADCB
+lzELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2Ug
+Q2l0eTEeMBwGA1UEChMVVGhlIFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExho
+dHRwOi8vd3d3LnVzZXJ0cnVzdC5jb20xHzAdBgNVBAMTFlVUTi1VU0VSRmlyc3Qt
+SGFyZHdhcmUwHhcNOTkwNzA5MTgxMDQyWhcNMTkwNzA5MTgxOTIyWjCBlzELMAkG
+A1UEBhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2UgQ2l0eTEe
+MBwGA1UEChMVVGhlIFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExhodHRwOi8v
+d3d3LnVzZXJ0cnVzdC5jb20xHzAdBgNVBAMTFlVUTi1VU0VSRmlyc3QtSGFyZHdh
+cmUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCx98M4P7Sof885glFn
+0G2f0v9Y8+efK+wNiVSZuTiZFvfgIXlIwrthdBKWHTxqctU8EGc6Oe0rE81m65UJ
+M6Rsl7HoxuzBdXmcRl6Nq9Bq/bkqVRcQVLMZ8Jr28bFdtqdt++BxF2uiiPsA3/4a
+MXcMmgF6sTLjKwEHOG7DpV4jvEWbe1DByTCP2+UretNb+zNAHqDVmBe8i4fDidNd
+oI6yqqr2jmmIBsX6iSHzCJ1pLgkzmykNRg+MzEk0sGlRvfkGzWitZky8PqxhvQqI
+DsjfPe58BEydCl5rkdbux+0ojatNh4lz0G6k0B4WixThdkQDf2Os5M1JnMWS9Ksy
+oUhbAgMBAAGjgbkwgbYwCwYDVR0PBAQDAgHGMA8GA1UdEwEB/wQFMAMBAf8wHQYD
+VR0OBBYEFKFyXyYbKJhDlV0HN9WFlp1L0sNFMEQGA1UdHwQ9MDswOaA3oDWGM2h0
+dHA6Ly9jcmwudXNlcnRydXN0LmNvbS9VVE4tVVNFUkZpcnN0LUhhcmR3YXJlLmNy
+bDAxBgNVHSUEKjAoBggrBgEFBQcDAQYIKwYBBQUHAwUGCCsGAQUFBwMGBggrBgEF
+BQcDBzANBgkqhkiG9w0BAQUFAAOCAQEARxkP3nTGmZev/K0oXnWO6y1n7k57K9cM
+//bey1WiCuFMVGWTYGufEpytXoMs61quwOQt9ABjHbjAbPLPSbtNk28Gpgoiskli
+CE7/yMgUsogWXecB5BKV5UU0s4tpvc+0hY91UZ59Ojg6FEgSxvunOxqNDYJAB+gE
+CJChicsZUN/KHAG8HQQZexB2lzvukJDKxA4fFm517zP4029bHpbj4HR3dHuKom4t
+3XbWOTCC8KucUvIqx69JXn7HaOWCgchqJ/kniCrVWFCVH/A7HFe7fRQ5YiuayZSS
+KqMiDP+JJn1fIytH1xUdqWqeUQ0qUZ6B+dQ7XnASfxAynB67nfhmqA==
+-----END CERTIFICATE-----
+
+# Issuer: CN=XRamp Global Certification Authority O=XRamp Security Services Inc OU=www.xrampsecurity.com
+# Subject: CN=XRamp Global Certification Authority O=XRamp Security Services Inc OU=www.xrampsecurity.com
+# Label: "XRamp Global CA Root"
+# Serial: 107108908803651509692980124233745014957
+# MD5 Fingerprint: a1:0b:44:b3:ca:10:d8:00:6e:9d:0f:d8:0f:92:0a:d1
+# SHA1 Fingerprint: b8:01:86:d1:eb:9c:86:a5:41:04:cf:30:54:f3:4c:52:b7:e5:58:c6
+# SHA256 Fingerprint: ce:cd:dc:90:50:99:d8:da:df:c5:b1:d2:09:b7:37:cb:e2:c1:8c:fb:2c:10:c0:ff:0b:cf:0d:32:86:fc:1a:a2
+-----BEGIN CERTIFICATE-----
+MIIEMDCCAxigAwIBAgIQUJRs7Bjq1ZxN1ZfvdY+grTANBgkqhkiG9w0BAQUFADCB
+gjELMAkGA1UEBhMCVVMxHjAcBgNVBAsTFXd3dy54cmFtcHNlY3VyaXR5LmNvbTEk
+MCIGA1UEChMbWFJhbXAgU2VjdXJpdHkgU2VydmljZXMgSW5jMS0wKwYDVQQDEyRY
+UmFtcCBHbG9iYWwgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMDQxMTAxMTcx
+NDA0WhcNMzUwMTAxMDUzNzE5WjCBgjELMAkGA1UEBhMCVVMxHjAcBgNVBAsTFXd3
+dy54cmFtcHNlY3VyaXR5LmNvbTEkMCIGA1UEChMbWFJhbXAgU2VjdXJpdHkgU2Vy
+dmljZXMgSW5jMS0wKwYDVQQDEyRYUmFtcCBHbG9iYWwgQ2VydGlmaWNhdGlvbiBB
+dXRob3JpdHkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCYJB69FbS6
+38eMpSe2OAtp87ZOqCwuIR1cRN8hXX4jdP5efrRKt6atH67gBhbim1vZZ3RrXYCP
+KZ2GG9mcDZhtdhAoWORlsH9KmHmf4MMxfoArtYzAQDsRhtDLooY2YKTVMIJt2W7Q
+DxIEM5dfT2Fa8OT5kavnHTu86M/0ay00fOJIYRyO82FEzG+gSqmUsE3a56k0enI4
+qEHMPJQRfevIpoy3hsvKMzvZPTeL+3o+hiznc9cKV6xkmxnr9A8ECIqsAxcZZPRa
+JSKNNCyy9mgdEm3Tih4U2sSPpuIjhdV6Db1q4Ons7Be7QhtnqiXtRYMh/MHJfNVi
+PvryxS3T/dRlAgMBAAGjgZ8wgZwwEwYJKwYBBAGCNxQCBAYeBABDAEEwCwYDVR0P
+BAQDAgGGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFMZPoj0GY4QJnM5i5ASs
+jVy16bYbMDYGA1UdHwQvMC0wK6ApoCeGJWh0dHA6Ly9jcmwueHJhbXBzZWN1cml0
+eS5jb20vWEdDQS5jcmwwEAYJKwYBBAGCNxUBBAMCAQEwDQYJKoZIhvcNAQEFBQAD
+ggEBAJEVOQMBG2f7Shz5CmBbodpNl2L5JFMn14JkTpAuw0kbK5rc/Kh4ZzXxHfAR
+vbdI4xD2Dd8/0sm2qlWkSLoC295ZLhVbO50WfUfXN+pfTXYSNrsf16GBBEYgoyxt
+qZ4Bfj8pzgCT3/3JknOJiWSe5yvkHJEs0rnOfc5vMZnT5r7SHpDwCRR5XCOrTdLa
+IR9NmXmd4c8nnxCbHIgNsIpkQTG4DmyQJKSbXHGPurt+HBvbaoAPIbzp26a3QPSy
+i6mx5O+aGtA9aZnuqCij4Tyz8LIRnM98QObd50N9otg6tamN8jSZxNQQ4Qb9CYQQ
+O+7ETPTsJ3xCwnR8gooJybQDJbw=
+-----END CERTIFICATE-----
+
+# Issuer: O=The Go Daddy Group, Inc. OU=Go Daddy Class 2 Certification Authority
+# Subject: O=The Go Daddy Group, Inc. OU=Go Daddy Class 2 Certification Authority
+# Label: "Go Daddy Class 2 CA"
+# Serial: 0
+# MD5 Fingerprint: 91:de:06:25:ab:da:fd:32:17:0c:bb:25:17:2a:84:67
+# SHA1 Fingerprint: 27:96:ba:e6:3f:18:01:e2:77:26:1b:a0:d7:77:70:02:8f:20:ee:e4
+# SHA256 Fingerprint: c3:84:6b:f2:4b:9e:93:ca:64:27:4c:0e:c6:7c:1e:cc:5e:02:4f:fc:ac:d2:d7:40:19:35:0e:81:fe:54:6a:e4
+-----BEGIN CERTIFICATE-----
+MIIEADCCAuigAwIBAgIBADANBgkqhkiG9w0BAQUFADBjMQswCQYDVQQGEwJVUzEh
+MB8GA1UEChMYVGhlIEdvIERhZGR5IEdyb3VwLCBJbmMuMTEwLwYDVQQLEyhHbyBE
+YWRkeSBDbGFzcyAyIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA0MDYyOTE3
+MDYyMFoXDTM0MDYyOTE3MDYyMFowYzELMAkGA1UEBhMCVVMxITAfBgNVBAoTGFRo
+ZSBHbyBEYWRkeSBHcm91cCwgSW5jLjExMC8GA1UECxMoR28gRGFkZHkgQ2xhc3Mg
+MiBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTCCASAwDQYJKoZIhvcNAQEBBQADggEN
+ADCCAQgCggEBAN6d1+pXGEmhW+vXX0iG6r7d/+TvZxz0ZWizV3GgXne77ZtJ6XCA
+PVYYYwhv2vLM0D9/AlQiVBDYsoHUwHU9S3/Hd8M+eKsaA7Ugay9qK7HFiH7Eux6w
+wdhFJ2+qN1j3hybX2C32qRe3H3I2TqYXP2WYktsqbl2i/ojgC95/5Y0V4evLOtXi
+EqITLdiOr18SPaAIBQi2XKVlOARFmR6jYGB0xUGlcmIbYsUfb18aQr4CUWWoriMY
+avx4A6lNf4DD+qta/KFApMoZFv6yyO9ecw3ud72a9nmYvLEHZ6IVDd2gWMZEewo+
+YihfukEHU1jPEX44dMX4/7VpkI+EdOqXG68CAQOjgcAwgb0wHQYDVR0OBBYEFNLE
+sNKR1EwRcbNhyz2h/t2oatTjMIGNBgNVHSMEgYUwgYKAFNLEsNKR1EwRcbNhyz2h
+/t2oatTjoWekZTBjMQswCQYDVQQGEwJVUzEhMB8GA1UEChMYVGhlIEdvIERhZGR5
+IEdyb3VwLCBJbmMuMTEwLwYDVQQLEyhHbyBEYWRkeSBDbGFzcyAyIENlcnRpZmlj
+YXRpb24gQXV0aG9yaXR5ggEAMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQAD
+ggEBADJL87LKPpH8EsahB4yOd6AzBhRckB4Y9wimPQoZ+YeAEW5p5JYXMP80kWNy
+OO7MHAGjHZQopDH2esRU1/blMVgDoszOYtuURXO1v0XJJLXVggKtI3lpjbi2Tc7P
+TMozI+gciKqdi0FuFskg5YmezTvacPd+mSYgFFQlq25zheabIZ0KbIIOqPjCDPoQ
+HmyW74cNxA9hi63ugyuV+I6ShHI56yDqg+2DzZduCLzrTia2cyvk0/ZM/iZx4mER
+dEr/VxqHD3VILs9RaRegAhJhldXRQLIQTO7ErBBDpqWeCtWVYpoNz4iCxTIM5Cuf
+ReYNnyicsbkqWletNw+vHX/bvZ8=
+-----END CERTIFICATE-----
+
+# Issuer: O=Starfield Technologies, Inc. OU=Starfield Class 2 Certification Authority
+# Subject: O=Starfield Technologies, Inc. OU=Starfield Class 2 Certification Authority
+# Label: "Starfield Class 2 CA"
+# Serial: 0
+# MD5 Fingerprint: 32:4a:4b:bb:c8:63:69:9b:be:74:9a:c6:dd:1d:46:24
+# SHA1 Fingerprint: ad:7e:1c:28:b0:64:ef:8f:60:03:40:20:14:c3:d0:e3:37:0e:b5:8a
+# SHA256 Fingerprint: 14:65:fa:20:53:97:b8:76:fa:a6:f0:a9:95:8e:55:90:e4:0f:cc:7f:aa:4f:b7:c2:c8:67:75:21:fb:5f:b6:58
+-----BEGIN CERTIFICATE-----
+MIIEDzCCAvegAwIBAgIBADANBgkqhkiG9w0BAQUFADBoMQswCQYDVQQGEwJVUzEl
+MCMGA1UEChMcU3RhcmZpZWxkIFRlY2hub2xvZ2llcywgSW5jLjEyMDAGA1UECxMp
+U3RhcmZpZWxkIENsYXNzIDIgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMDQw
+NjI5MTczOTE2WhcNMzQwNjI5MTczOTE2WjBoMQswCQYDVQQGEwJVUzElMCMGA1UE
+ChMcU3RhcmZpZWxkIFRlY2hub2xvZ2llcywgSW5jLjEyMDAGA1UECxMpU3RhcmZp
+ZWxkIENsYXNzIDIgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwggEgMA0GCSqGSIb3
+DQEBAQUAA4IBDQAwggEIAoIBAQC3Msj+6XGmBIWtDBFk385N78gDGIc/oav7PKaf
+8MOh2tTYbitTkPskpD6E8J7oX+zlJ0T1KKY/e97gKvDIr1MvnsoFAZMej2YcOadN
++lq2cwQlZut3f+dZxkqZJRRU6ybH838Z1TBwj6+wRir/resp7defqgSHo9T5iaU0
+X9tDkYI22WY8sbi5gv2cOj4QyDvvBmVmepsZGD3/cVE8MC5fvj13c7JdBmzDI1aa
+K4UmkhynArPkPw2vCHmCuDY96pzTNbO8acr1zJ3o/WSNF4Azbl5KXZnJHoe0nRrA
+1W4TNSNe35tfPe/W93bC6j67eA0cQmdrBNj41tpvi/JEoAGrAgEDo4HFMIHCMB0G
+A1UdDgQWBBS/X7fRzt0fhvRbVazc1xDCDqmI5zCBkgYDVR0jBIGKMIGHgBS/X7fR
+zt0fhvRbVazc1xDCDqmI56FspGowaDELMAkGA1UEBhMCVVMxJTAjBgNVBAoTHFN0
+YXJmaWVsZCBUZWNobm9sb2dpZXMsIEluYy4xMjAwBgNVBAsTKVN0YXJmaWVsZCBD
+bGFzcyAyIENlcnRpZmljYXRpb24gQXV0aG9yaXR5ggEAMAwGA1UdEwQFMAMBAf8w
+DQYJKoZIhvcNAQEFBQADggEBAAWdP4id0ckaVaGsafPzWdqbAYcaT1epoXkJKtv3
+L7IezMdeatiDh6GX70k1PncGQVhiv45YuApnP+yz3SFmH8lU+nLMPUxA2IGvd56D
+eruix/U0F47ZEUD0/CwqTRV/p2JdLiXTAAsgGh1o+Re49L2L7ShZ3U0WixeDyLJl
+xy16paq8U4Zt3VekyvggQQto8PT7dL5WXXp59fkdheMtlb71cZBDzI0fmgAKhynp
+VSJYACPq4xJDKVtHCN2MQWplBqjlIapBtJUhlbl90TSrE9atvNziPTnNvT51cKEY
+WQPJIrSPnNVeKtelttQKbfi3QBFGmh95DmK/D5fs4C8fF5Q=
+-----END CERTIFICATE-----
+
+# Issuer: CN=StartCom Certification Authority O=StartCom Ltd. OU=Secure Digital Certificate Signing
+# Subject: CN=StartCom Certification Authority O=StartCom Ltd. OU=Secure Digital Certificate Signing
+# Label: "StartCom Certification Authority"
+# Serial: 1
+# MD5 Fingerprint: 22:4d:8f:8a:fc:f7:35:c2:bb:57:34:90:7b:8b:22:16
+# SHA1 Fingerprint: 3e:2b:f7:f2:03:1b:96:f3:8c:e6:c4:d8:a8:5d:3e:2d:58:47:6a:0f
+# SHA256 Fingerprint: c7:66:a9:be:f2:d4:07:1c:86:3a:31:aa:49:20:e8:13:b2:d1:98:60:8c:b7:b7:cf:e2:11:43:b8:36:df:09:ea
+-----BEGIN CERTIFICATE-----
+MIIHyTCCBbGgAwIBAgIBATANBgkqhkiG9w0BAQUFADB9MQswCQYDVQQGEwJJTDEW
+MBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwg
+Q2VydGlmaWNhdGUgU2lnbmluZzEpMCcGA1UEAxMgU3RhcnRDb20gQ2VydGlmaWNh
+dGlvbiBBdXRob3JpdHkwHhcNMDYwOTE3MTk0NjM2WhcNMzYwOTE3MTk0NjM2WjB9
+MQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMi
+U2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzEpMCcGA1UEAxMgU3Rh
+cnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUA
+A4ICDwAwggIKAoICAQDBiNsJvGxGfHiflXu1M5DycmLWwTYgIiRezul38kMKogZk
+pMyONvg45iPwbm2xPN1yo4UcodM9tDMr0y+v/uqwQVlntsQGfQqedIXWeUyAN3rf
+OQVSWff0G0ZDpNKFhdLDcfN1YjS6LIp/Ho/u7TTQEceWzVI9ujPW3U3eCztKS5/C
+Ji/6tRYccjV3yjxd5srhJosaNnZcAdt0FCX+7bWgiA/deMotHweXMAEtcnn6RtYT
+Kqi5pquDSR3l8u/d5AGOGAqPY1MWhWKpDhk6zLVmpsJrdAfkK+F2PrRt2PZE4XNi
+HzvEvqBTViVsUQn3qqvKv3b9bZvzndu/PWa8DFaqr5hIlTpL36dYUNk4dalb6kMM
+Av+Z6+hsTXBbKWWc3apdzK8BMewM69KN6Oqce+Zu9ydmDBpI125C4z/eIT574Q1w
++2OqqGwaVLRcJXrJosmLFqa7LH4XXgVNWG4SHQHuEhANxjJ/GP/89PrNbpHoNkm+
+Gkhpi8KWTRoSsmkXwQqQ1vp5Iki/untp+HDH+no32NgN0nZPV/+Qt+OR0t3vwmC3
+Zzrd/qqc8NSLf3Iizsafl7b4r4qgEKjZ+xjGtrVcUjyJthkqcwEKDwOzEmDyei+B
+26Nu/yYwl/WL3YlXtq09s68rxbd2AvCl1iuahhQqcvbjM4xdCUsT37uMdBNSSwID
+AQABo4ICUjCCAk4wDAYDVR0TBAUwAwEB/zALBgNVHQ8EBAMCAa4wHQYDVR0OBBYE
+FE4L7xqkQFulF2mHMMo0aEPQQa7yMGQGA1UdHwRdMFswLKAqoCiGJmh0dHA6Ly9j
+ZXJ0LnN0YXJ0Y29tLm9yZy9zZnNjYS1jcmwuY3JsMCugKaAnhiVodHRwOi8vY3Js
+LnN0YXJ0Y29tLm9yZy9zZnNjYS1jcmwuY3JsMIIBXQYDVR0gBIIBVDCCAVAwggFM
+BgsrBgEEAYG1NwEBATCCATswLwYIKwYBBQUHAgEWI2h0dHA6Ly9jZXJ0LnN0YXJ0
+Y29tLm9yZy9wb2xpY3kucGRmMDUGCCsGAQUFBwIBFilodHRwOi8vY2VydC5zdGFy
+dGNvbS5vcmcvaW50ZXJtZWRpYXRlLnBkZjCB0AYIKwYBBQUHAgIwgcMwJxYgU3Rh
+cnQgQ29tbWVyY2lhbCAoU3RhcnRDb20pIEx0ZC4wAwIBARqBl0xpbWl0ZWQgTGlh
+YmlsaXR5LCByZWFkIHRoZSBzZWN0aW9uICpMZWdhbCBMaW1pdGF0aW9ucyogb2Yg
+dGhlIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5IFBvbGljeSBhdmFp
+bGFibGUgYXQgaHR0cDovL2NlcnQuc3RhcnRjb20ub3JnL3BvbGljeS5wZGYwEQYJ
+YIZIAYb4QgEBBAQDAgAHMDgGCWCGSAGG+EIBDQQrFilTdGFydENvbSBGcmVlIFNT
+TCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTANBgkqhkiG9w0BAQUFAAOCAgEAFmyZ
+9GYMNPXQhV59CuzaEE44HF7fpiUFS5Eyweg78T3dRAlbB0mKKctmArexmvclmAk8
+jhvh3TaHK0u7aNM5Zj2gJsfyOZEdUauCe37Vzlrk4gNXcGmXCPleWKYK34wGmkUW
+FjgKXlf2Ysd6AgXmvB618p70qSmD+LIU424oh0TDkBreOKk8rENNZEXO3SipXPJz
+ewT4F+irsfMuXGRuczE6Eri8sxHkfY+BUZo7jYn0TZNmezwD7dOaHZrzZVD1oNB1
+ny+v8OqCQ5j4aZyJecRDjkZy42Q2Eq/3JR44iZB3fsNrarnDy0RLrHiQi+fHLB5L
+EUTINFInzQpdn4XBidUaePKVEFMy3YCEZnXZtWgo+2EuvoSoOMCZEoalHmdkrQYu
+L6lwhceWD3yJZfWOQ1QOq92lgDmUYMA0yZZwLKMS9R9Ie70cfmu3nZD0Ijuu+Pwq
+yvqCUqDvr0tVk+vBtfAii6w0TiYiBKGHLHVKt+V9E9e4DGTANtLJL4YSjCMJwRuC
+O3NJo2pXh5Tl1njFmUNj403gdy3hZZlyaQQaRwnmDwFWJPsfvw55qVguucQJAX6V
+um0ABj6y6koQOdjQK/W/7HW/lwLFCRsI3FU34oH7N4RDYiDK51ZLZer+bMEkkySh
+NOsF/5oirpt9P/FlUQqmMGqz9IgcgA38corog14=
+-----END CERTIFICATE-----
+
+# Issuer: CN=DigiCert Assured ID Root CA O=DigiCert Inc OU=www.digicert.com
+# Subject: CN=DigiCert Assured ID Root CA O=DigiCert Inc OU=www.digicert.com
+# Label: "DigiCert Assured ID Root CA"
+# Serial: 17154717934120587862167794914071425081
+# MD5 Fingerprint: 87:ce:0b:7b:2a:0e:49:00:e1:58:71:9b:37:a8:93:72
+# SHA1 Fingerprint: 05:63:b8:63:0d:62:d7:5a:bb:c8:ab:1e:4b:df:b5:a8:99:b2:4d:43
+# SHA256 Fingerprint: 3e:90:99:b5:01:5e:8f:48:6c:00:bc:ea:9d:11:1e:e7:21:fa:ba:35:5a:89:bc:f1:df:69:56:1e:3d:c6:32:5c
+-----BEGIN CERTIFICATE-----
+MIIDtzCCAp+gAwIBAgIQDOfg5RfYRv6P5WD8G/AwOTANBgkqhkiG9w0BAQUFADBl
+MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
+d3cuZGlnaWNlcnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJv
+b3QgQ0EwHhcNMDYxMTEwMDAwMDAwWhcNMzExMTEwMDAwMDAwWjBlMQswCQYDVQQG
+EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNl
+cnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgQ0EwggEi
+MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCtDhXO5EOAXLGH87dg+XESpa7c
+JpSIqvTO9SA5KFhgDPiA2qkVlTJhPLWxKISKityfCgyDF3qPkKyK53lTXDGEKvYP
+mDI2dsze3Tyoou9q+yHyUmHfnyDXH+Kx2f4YZNISW1/5WBg1vEfNoTb5a3/UsDg+
+wRvDjDPZ2C8Y/igPs6eD1sNuRMBhNZYW/lmci3Zt1/GiSw0r/wty2p5g0I6QNcZ4
+VYcgoc/lbQrISXwxmDNsIumH0DJaoroTghHtORedmTpyoeb6pNnVFzF1roV9Iq4/
+AUaG9ih5yLHa5FcXxH4cDrC0kqZWs72yl+2qp/C3xag/lRbQ/6GW6whfGHdPAgMB
+AAGjYzBhMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQW
+BBRF66Kv9JLLgjEtUYunpyGd823IDzAfBgNVHSMEGDAWgBRF66Kv9JLLgjEtUYun
+pyGd823IDzANBgkqhkiG9w0BAQUFAAOCAQEAog683+Lt8ONyc3pklL/3cmbYMuRC
+dWKuh+vy1dneVrOfzM4UKLkNl2BcEkxY5NM9g0lFWJc1aRqoR+pWxnmrEthngYTf
+fwk8lOa4JiwgvT2zKIn3X/8i4peEH+ll74fg38FnSbNd67IJKusm7Xi+fT8r87cm
+NW1fiQG2SVufAQWbqz0lwcy2f8Lxb4bG+mRo64EtlOtCt/qMHt1i8b5QZ7dsvfPx
+H2sMNgcWfzd8qVttevESRmCD1ycEvkvOl77DZypoEd+A5wwzZr8TDRRu838fYxAe
++o0bJW1sj6W3YQGx0qMmoRBxna3iw/nDmVG3KwcIzi7mULKn+gpFL6Lw8g==
+-----END CERTIFICATE-----
+
+# Issuer: CN=DigiCert Global Root CA O=DigiCert Inc OU=www.digicert.com
+# Subject: CN=DigiCert Global Root CA O=DigiCert Inc OU=www.digicert.com
+# Label: "DigiCert Global Root CA"
+# Serial: 10944719598952040374951832963794454346
+# MD5 Fingerprint: 79:e4:a9:84:0d:7d:3a:96:d7:c0:4f:e2:43:4c:89:2e
+# SHA1 Fingerprint: a8:98:5d:3a:65:e5:e5:c4:b2:d7:d6:6d:40:c6:dd:2f:b1:9c:54:36
+# SHA256 Fingerprint: 43:48:a0:e9:44:4c:78:cb:26:5e:05:8d:5e:89:44:b4:d8:4f:96:62:bd:26:db:25:7f:89:34:a4:43:c7:01:61
+-----BEGIN CERTIFICATE-----
+MIIDrzCCApegAwIBAgIQCDvgVpBCRrGhdWrJWZHHSjANBgkqhkiG9w0BAQUFADBh
+MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
+d3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBD
+QTAeFw0wNjExMTAwMDAwMDBaFw0zMTExMTAwMDAwMDBaMGExCzAJBgNVBAYTAlVT
+MRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5j
+b20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IENBMIIBIjANBgkqhkiG
+9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4jvhEXLeqKTTo1eqUKKPC3eQyaKl7hLOllsB
+CSDMAZOnTjC3U/dDxGkAV53ijSLdhwZAAIEJzs4bg7/fzTtxRuLWZscFs3YnFo97
+nh6Vfe63SKMI2tavegw5BmV/Sl0fvBf4q77uKNd0f3p4mVmFaG5cIzJLv07A6Fpt
+43C/dxC//AH2hdmoRBBYMql1GNXRor5H4idq9Joz+EkIYIvUX7Q6hL+hqkpMfT7P
+T19sdl6gSzeRntwi5m3OFBqOasv+zbMUZBfHWymeMr/y7vrTC0LUq7dBMtoM1O/4
+gdW7jVg/tRvoSSiicNoxBN33shbyTApOB6jtSj1etX+jkMOvJwIDAQABo2MwYTAO
+BgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUA95QNVbR
+TLtm8KPiGxvDl7I90VUwHwYDVR0jBBgwFoAUA95QNVbRTLtm8KPiGxvDl7I90VUw
+DQYJKoZIhvcNAQEFBQADggEBAMucN6pIExIK+t1EnE9SsPTfrgT1eXkIoyQY/Esr
+hMAtudXH/vTBH1jLuG2cenTnmCmrEbXjcKChzUyImZOMkXDiqw8cvpOp/2PV5Adg
+06O/nVsJ8dWO41P0jmP6P6fbtGbfYmbW0W5BjfIttep3Sp+dWOIrWcBAI+0tKIJF
+PnlUkiaY4IBIqDfv8NZ5YBberOgOzW6sRBc4L0na4UU+Krk2U886UAb3LujEV0ls
+YSEY1QSteDwsOoBrp+uvFRTp2InBuThs4pFsiv9kuXclVzDAGySj4dzp30d8tbQk
+CAUw7C29C79Fv1C5qfPrmAESrciIxpg0X40KPMbp1ZWVbd4=
+-----END CERTIFICATE-----
+
+# Issuer: CN=DigiCert High Assurance EV Root CA O=DigiCert Inc OU=www.digicert.com
+# Subject: CN=DigiCert High Assurance EV Root CA O=DigiCert Inc OU=www.digicert.com
+# Label: "DigiCert High Assurance EV Root CA"
+# Serial: 3553400076410547919724730734378100087
+# MD5 Fingerprint: d4:74:de:57:5c:39:b2:d3:9c:85:83:c5:c0:65:49:8a
+# SHA1 Fingerprint: 5f:b7:ee:06:33:e2:59:db:ad:0c:4c:9a:e6:d3:8f:1a:61:c7:dc:25
+# SHA256 Fingerprint: 74:31:e5:f4:c3:c1:ce:46:90:77:4f:0b:61:e0:54:40:88:3b:a9:a0:1e:d0:0b:a6:ab:d7:80:6e:d3:b1:18:cf
+-----BEGIN CERTIFICATE-----
+MIIDxTCCAq2gAwIBAgIQAqxcJmoLQJuPC3nyrkYldzANBgkqhkiG9w0BAQUFADBs
+MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
+d3cuZGlnaWNlcnQuY29tMSswKQYDVQQDEyJEaWdpQ2VydCBIaWdoIEFzc3VyYW5j
+ZSBFViBSb290IENBMB4XDTA2MTExMDAwMDAwMFoXDTMxMTExMDAwMDAwMFowbDEL
+MAkGA1UEBhMCVVMxFTATBgNVBAoTDERpZ2lDZXJ0IEluYzEZMBcGA1UECxMQd3d3
+LmRpZ2ljZXJ0LmNvbTErMCkGA1UEAxMiRGlnaUNlcnQgSGlnaCBBc3N1cmFuY2Ug
+RVYgUm9vdCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMbM5XPm
++9S75S0tMqbf5YE/yc0lSbZxKsPVlDRnogocsF9ppkCxxLeyj9CYpKlBWTrT3JTW
+PNt0OKRKzE0lgvdKpVMSOO7zSW1xkX5jtqumX8OkhPhPYlG++MXs2ziS4wblCJEM
+xChBVfvLWokVfnHoNb9Ncgk9vjo4UFt3MRuNs8ckRZqnrG0AFFoEt7oT61EKmEFB
+Ik5lYYeBQVCmeVyJ3hlKV9Uu5l0cUyx+mM0aBhakaHPQNAQTXKFx01p8VdteZOE3
+hzBWBOURtCmAEvF5OYiiAhF8J2a3iLd48soKqDirCmTCv2ZdlYTBoSUeh10aUAsg
+EsxBu24LUTi4S8sCAwEAAaNjMGEwDgYDVR0PAQH/BAQDAgGGMA8GA1UdEwEB/wQF
+MAMBAf8wHQYDVR0OBBYEFLE+w2kD+L9HAdSYJhoIAu9jZCvDMB8GA1UdIwQYMBaA
+FLE+w2kD+L9HAdSYJhoIAu9jZCvDMA0GCSqGSIb3DQEBBQUAA4IBAQAcGgaX3Nec
+nzyIZgYIVyHbIUf4KmeqvxgydkAQV8GK83rZEWWONfqe/EW1ntlMMUu4kehDLI6z
+eM7b41N5cdblIZQB2lWHmiRk9opmzN6cN82oNLFpmyPInngiK3BD41VHMWEZ71jF
+hS9OMPagMRYjyOfiZRYzy78aG6A9+MpeizGLYAiJLQwGXFK3xPkKmNEVX58Svnw2
+Yzi9RKR/5CYrCsSXaQ3pjOLAEFe4yHYSkVXySGnYvCoCWw9E1CAx2/S6cCZdkGCe
+vEsXCS+0yx5DaMkHJ8HSXPfqIbloEpw8nL+e/IBcm2PN7EeqJSdnoDfzAIJ9VNep
++OkuE6N36B9K
+-----END CERTIFICATE-----
+
+# Issuer: CN=GeoTrust Primary Certification Authority O=GeoTrust Inc.
+# Subject: CN=GeoTrust Primary Certification Authority O=GeoTrust Inc.
+# Label: "GeoTrust Primary Certification Authority"
+# Serial: 32798226551256963324313806436981982369
+# MD5 Fingerprint: 02:26:c3:01:5e:08:30:37:43:a9:d0:7d:cf:37:e6:bf
+# SHA1 Fingerprint: 32:3c:11:8e:1b:f7:b8:b6:52:54:e2:e2:10:0d:d6:02:90:37:f0:96
+# SHA256 Fingerprint: 37:d5:10:06:c5:12:ea:ab:62:64:21:f1:ec:8c:92:01:3f:c5:f8:2a:e9:8e:e5:33:eb:46:19:b8:de:b4:d0:6c
+-----BEGIN CERTIFICATE-----
+MIIDfDCCAmSgAwIBAgIQGKy1av1pthU6Y2yv2vrEoTANBgkqhkiG9w0BAQUFADBY
+MQswCQYDVQQGEwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5jLjExMC8GA1UEAxMo
+R2VvVHJ1c3QgUHJpbWFyeSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wNjEx
+MjcwMDAwMDBaFw0zNjA3MTYyMzU5NTlaMFgxCzAJBgNVBAYTAlVTMRYwFAYDVQQK
+Ew1HZW9UcnVzdCBJbmMuMTEwLwYDVQQDEyhHZW9UcnVzdCBQcmltYXJ5IENlcnRp
+ZmljYXRpb24gQXV0aG9yaXR5MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC
+AQEAvrgVe//UfH1nrYNke8hCUy3f9oQIIGHWAVlqnEQRr+92/ZV+zmEwu3qDXwK9
+AWbK7hWNb6EwnL2hhZ6UOvNWiAAxz9juapYC2e0DjPt1befquFUWBRaa9OBesYjA
+ZIVcFU2Ix7e64HXprQU9nceJSOC7KMgD4TCTZF5SwFlwIjVXiIrxlQqD17wxcwE0
+7e9GceBrAqg1cmuXm2bgyxx5X9gaBGgeRwLmnWDiNpcB3841kt++Z8dtd1k7j53W
+kBWUvEI0EME5+bEnPn7WinXFsq+W06Lem+SYvn3h6YGttm/81w7a4DSwDRp35+MI
+mO9Y+pyEtzavwt+s0vQQBnBxNQIDAQABo0IwQDAPBgNVHRMBAf8EBTADAQH/MA4G
+A1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQULNVQQZcVi/CPNmFbSvtr2ZnJM5IwDQYJ
+KoZIhvcNAQEFBQADggEBAFpwfyzdtzRP9YZRqSa+S7iq8XEN3GHHoOo0Hnp3DwQ1
+6CePbJC/kRYkRj5KTs4rFtULUh38H2eiAkUxT87z+gOneZ1TatnaYzr4gNfTmeGl
+4b7UVXGYNTq+k+qurUKykG/g/CFNNWMziUnWm07Kx+dOCQD32sfvmWKZd7aVIl6K
+oKv0uHiYyjgZmclynnjNS6yvGaBzEi38wkG6gZHaFloxt/m0cYASSJlyc1pZU8Fj
+UjPtp8nSOQJw+uCxQmYpqptR7TBUIhRf2asdweSU8Pj1K/fqynhG1riR/aYNKxoU
+AT6A8EKglQdebc3MS6RFjasS6LPeWuWgfOgPIh1a6Vk=
+-----END CERTIFICATE-----
+
+# Issuer: CN=thawte Primary Root CA O=thawte, Inc. OU=Certification Services Division/(c) 2006 thawte, Inc. - For authorized use only
+# Subject: CN=thawte Primary Root CA O=thawte, Inc. OU=Certification Services Division/(c) 2006 thawte, Inc. - For authorized use only
+# Label: "thawte Primary Root CA"
+# Serial: 69529181992039203566298953787712940909
+# MD5 Fingerprint: 8c:ca:dc:0b:22:ce:f5:be:72:ac:41:1a:11:a8:d8:12
+# SHA1 Fingerprint: 91:c6:d6:ee:3e:8a:c8:63:84:e5:48:c2:99:29:5c:75:6c:81:7b:81
+# SHA256 Fingerprint: 8d:72:2f:81:a9:c1:13:c0:79:1d:f1:36:a2:96:6d:b2:6c:95:0a:97:1d:b4:6b:41:99:f4:ea:54:b7:8b:fb:9f
+-----BEGIN CERTIFICATE-----
+MIIEIDCCAwigAwIBAgIQNE7VVyDV7exJ9C/ON9srbTANBgkqhkiG9w0BAQUFADCB
+qTELMAkGA1UEBhMCVVMxFTATBgNVBAoTDHRoYXd0ZSwgSW5jLjEoMCYGA1UECxMf
+Q2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lvbjE4MDYGA1UECxMvKGMpIDIw
+MDYgdGhhd3RlLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxHzAdBgNV
+BAMTFnRoYXd0ZSBQcmltYXJ5IFJvb3QgQ0EwHhcNMDYxMTE3MDAwMDAwWhcNMzYw
+NzE2MjM1OTU5WjCBqTELMAkGA1UEBhMCVVMxFTATBgNVBAoTDHRoYXd0ZSwgSW5j
+LjEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lvbjE4MDYG
+A1UECxMvKGMpIDIwMDYgdGhhd3RlLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNl
+IG9ubHkxHzAdBgNVBAMTFnRoYXd0ZSBQcmltYXJ5IFJvb3QgQ0EwggEiMA0GCSqG
+SIb3DQEBAQUAA4IBDwAwggEKAoIBAQCsoPD7gFnUnMekz52hWXMJEEUMDSxuaPFs
+W0hoSVk3/AszGcJ3f8wQLZU0HObrTQmnHNK4yZc2AreJ1CRfBsDMRJSUjQJib+ta
+3RGNKJpchJAQeg29dGYvajig4tVUROsdB58Hum/u6f1OCyn1PoSgAfGcq/gcfomk
+6KHYcWUNo1F77rzSImANuVud37r8UVsLr5iy6S7pBOhih94ryNdOwUxkHt3Ph1i6
+Sk/KaAcdHJ1KxtUvkcx8cXIcxcBn6zL9yZJclNqFwJu/U30rCfSMnZEfl2pSy94J
+NqR32HuHUETVPm4pafs5SSYeCaWAe0At6+gnhcn+Yf1+5nyXHdWdAgMBAAGjQjBA
+MA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBR7W0XP
+r87Lev0xkhpqtvNG61dIUDANBgkqhkiG9w0BAQUFAAOCAQEAeRHAS7ORtvzw6WfU
+DW5FvlXok9LOAz/t2iWwHVfLHjp2oEzsUHboZHIMpKnxuIvW1oeEuzLlQRHAd9mz
+YJ3rG9XRbkREqaYB7FViHXe4XI5ISXycO1cRrK1zN44veFyQaEfZYGDm/Ac9IiAX
+xPcW6cTYcvnIc3zfFi8VqT79aie2oetaupgf1eNNZAqdE8hhuvU5HIe6uL17In/2
+/qxAeeWsEG89jxt5dovEN7MhGITlNgDrYyCZuen+MwS7QcjBAvlEYyCegc5C09Y/
+LHbTY5xZ3Y+m4Q6gLkH3LpVHz7z9M/P2C2F+fpErgUfCJzDupxBdN49cOSvkBPB7
+jVaMaA==
+-----END CERTIFICATE-----
+
+# Issuer: CN=VeriSign Class 3 Public Primary Certification Authority - G5 O=VeriSign, Inc. OU=VeriSign Trust Network/(c) 2006 VeriSign, Inc. - For authorized use only
+# Subject: CN=VeriSign Class 3 Public Primary Certification Authority - G5 O=VeriSign, Inc. OU=VeriSign Trust Network/(c) 2006 VeriSign, Inc. - For authorized use only
+# Label: "VeriSign Class 3 Public Primary Certification Authority - G5"
+# Serial: 33037644167568058970164719475676101450
+# MD5 Fingerprint: cb:17:e4:31:67:3e:e2:09:fe:45:57:93:f3:0a:fa:1c
+# SHA1 Fingerprint: 4e:b6:d5:78:49:9b:1c:cf:5f:58:1e:ad:56:be:3d:9b:67:44:a5:e5
+# SHA256 Fingerprint: 9a:cf:ab:7e:43:c8:d8:80:d0:6b:26:2a:94:de:ee:e4:b4:65:99:89:c3:d0:ca:f1:9b:af:64:05:e4:1a:b7:df
+-----BEGIN CERTIFICATE-----
+MIIE0zCCA7ugAwIBAgIQGNrRniZ96LtKIVjNzGs7SjANBgkqhkiG9w0BAQUFADCB
+yjELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL
+ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNiBWZXJp
+U2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxW
+ZXJpU2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0
+aG9yaXR5IC0gRzUwHhcNMDYxMTA4MDAwMDAwWhcNMzYwNzE2MjM1OTU5WjCByjEL
+MAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZW
+ZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNiBWZXJpU2ln
+biwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxWZXJp
+U2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9y
+aXR5IC0gRzUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCvJAgIKXo1
+nmAMqudLO07cfLw8RRy7K+D+KQL5VwijZIUVJ/XxrcgxiV0i6CqqpkKzj/i5Vbex
+t0uz/o9+B1fs70PbZmIVYc9gDaTY3vjgw2IIPVQT60nKWVSFJuUrjxuf6/WhkcIz
+SdhDY2pSS9KP6HBRTdGJaXvHcPaz3BJ023tdS1bTlr8Vd6Gw9KIl8q8ckmcY5fQG
+BO+QueQA5N06tRn/Arr0PO7gi+s3i+z016zy9vA9r911kTMZHRxAy3QkGSGT2RT+
+rCpSx4/VBEnkjWNHiDxpg8v+R70rfk/Fla4OndTRQ8Bnc+MUCH7lP59zuDMKz10/
+NIeWiu5T6CUVAgMBAAGjgbIwga8wDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8E
+BAMCAQYwbQYIKwYBBQUHAQwEYTBfoV2gWzBZMFcwVRYJaW1hZ2UvZ2lmMCEwHzAH
+BgUrDgMCGgQUj+XTGoasjY5rw8+AatRIGCx7GS4wJRYjaHR0cDovL2xvZ28udmVy
+aXNpZ24uY29tL3ZzbG9nby5naWYwHQYDVR0OBBYEFH/TZafC3ey78DAJ80M5+gKv
+MzEzMA0GCSqGSIb3DQEBBQUAA4IBAQCTJEowX2LP2BqYLz3q3JktvXf2pXkiOOzE
+p6B4Eq1iDkVwZMXnl2YtmAl+X6/WzChl8gGqCBpH3vn5fJJaCGkgDdk+bW48DW7Y
+5gaRQBi5+MHt39tBquCWIMnNZBU4gcmU7qKEKQsTb47bDN0lAtukixlE0kF6BWlK
+WE9gyn6CagsCqiUXObXbf+eEZSqVir2G3l6BFoMtEMze/aiCKm0oHw0LxOXnGiYZ
+4fQRbxC1lfznQgUy286dUV4otp6F01vvpX1FQHKOtw5rDgb7MzVIcbidJ4vEZV8N
+hnacRHr2lVz2XTIIM6RUthg/aFzyQkqFOFSDX9HoLPKsEdao7WNq
+-----END CERTIFICATE-----
+
+# Issuer: CN=COMODO Certification Authority O=COMODO CA Limited
+# Subject: CN=COMODO Certification Authority O=COMODO CA Limited
+# Label: "COMODO Certification Authority"
+# Serial: 104350513648249232941998508985834464573
+# MD5 Fingerprint: 5c:48:dc:f7:42:72:ec:56:94:6d:1c:cc:71:35:80:75
+# SHA1 Fingerprint: 66:31:bf:9e:f7:4f:9e:b6:c9:d5:a6:0c:ba:6a:be:d1:f7:bd:ef:7b
+# SHA256 Fingerprint: 0c:2c:d6:3d:f7:80:6f:a3:99:ed:e8:09:11:6b:57:5b:f8:79:89:f0:65:18:f9:80:8c:86:05:03:17:8b:af:66
+-----BEGIN CERTIFICATE-----
+MIIEHTCCAwWgAwIBAgIQToEtioJl4AsC7j41AkblPTANBgkqhkiG9w0BAQUFADCB
+gTELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G
+A1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxJzAlBgNV
+BAMTHkNPTU9ETyBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wNjEyMDEwMDAw
+MDBaFw0yOTEyMzEyMzU5NTlaMIGBMQswCQYDVQQGEwJHQjEbMBkGA1UECBMSR3Jl
+YXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxmb3JkMRowGAYDVQQKExFDT01P
+RE8gQ0EgTGltaXRlZDEnMCUGA1UEAxMeQ09NT0RPIENlcnRpZmljYXRpb24gQXV0
+aG9yaXR5MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0ECLi3LjkRv3
+UcEbVASY06m/weaKXTuH+7uIzg3jLz8GlvCiKVCZrts7oVewdFFxze1CkU1B/qnI
+2GqGd0S7WWaXUF601CxwRM/aN5VCaTwwxHGzUvAhTaHYujl8HJ6jJJ3ygxaYqhZ8
+Q5sVW7euNJH+1GImGEaaP+vB+fGQV+useg2L23IwambV4EajcNxo2f8ESIl33rXp
++2dtQem8Ob0y2WIC8bGoPW43nOIv4tOiJovGuFVDiOEjPqXSJDlqR6sA1KGzqSX+
+DT+nHbrTUcELpNqsOO9VUCQFZUaTNE8tja3G1CEZ0o7KBWFxB3NH5YoZEr0ETc5O
+nKVIrLsm9wIDAQABo4GOMIGLMB0GA1UdDgQWBBQLWOWLxkwVN6RAqTCpIb5HNlpW
+/zAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zBJBgNVHR8EQjBAMD6g
+PKA6hjhodHRwOi8vY3JsLmNvbW9kb2NhLmNvbS9DT01PRE9DZXJ0aWZpY2F0aW9u
+QXV0aG9yaXR5LmNybDANBgkqhkiG9w0BAQUFAAOCAQEAPpiem/Yb6dc5t3iuHXIY
+SdOH5EOC6z/JqvWote9VfCFSZfnVDeFs9D6Mk3ORLgLETgdxb8CPOGEIqB6BCsAv
+IC9Bi5HcSEW88cbeunZrM8gALTFGTO3nnc+IlP8zwFboJIYmuNg4ON8qa90SzMc/
+RxdMosIGlgnW2/4/PEZB31jiVg88O8EckzXZOFKs7sjsLjBOlDW0JB9LeGna8gI4
+zJVSk/BwJVmcIGfE7vmLV2H0knZ9P4SNVbfo5azV8fUZVqZa+5Acr5Pr5RzUZ5dd
+BA6+C4OmF4O5MBKgxTMVBbkN+8cFduPYSo38NBejxiEovjBFMR7HeL5YYTisO+IB
+ZQ==
+-----END CERTIFICATE-----
+
+# Issuer: CN=Network Solutions Certificate Authority O=Network Solutions L.L.C.
+# Subject: CN=Network Solutions Certificate Authority O=Network Solutions L.L.C.
+# Label: "Network Solutions Certificate Authority"
+# Serial: 116697915152937497490437556386812487904
+# MD5 Fingerprint: d3:f3:a6:16:c0:fa:6b:1d:59:b1:2d:96:4d:0e:11:2e
+# SHA1 Fingerprint: 74:f8:a3:c3:ef:e7:b3:90:06:4b:83:90:3c:21:64:60:20:e5:df:ce
+# SHA256 Fingerprint: 15:f0:ba:00:a3:ac:7a:f3:ac:88:4c:07:2b:10:11:a0:77:bd:77:c0:97:f4:01:64:b2:f8:59:8a:bd:83:86:0c
+-----BEGIN CERTIFICATE-----
+MIID5jCCAs6gAwIBAgIQV8szb8JcFuZHFhfjkDFo4DANBgkqhkiG9w0BAQUFADBi
+MQswCQYDVQQGEwJVUzEhMB8GA1UEChMYTmV0d29yayBTb2x1dGlvbnMgTC5MLkMu
+MTAwLgYDVQQDEydOZXR3b3JrIFNvbHV0aW9ucyBDZXJ0aWZpY2F0ZSBBdXRob3Jp
+dHkwHhcNMDYxMjAxMDAwMDAwWhcNMjkxMjMxMjM1OTU5WjBiMQswCQYDVQQGEwJV
+UzEhMB8GA1UEChMYTmV0d29yayBTb2x1dGlvbnMgTC5MLkMuMTAwLgYDVQQDEydO
+ZXR3b3JrIFNvbHV0aW9ucyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwggEiMA0GCSqG
+SIb3DQEBAQUAA4IBDwAwggEKAoIBAQDkvH6SMG3G2I4rC7xGzuAnlt7e+foS0zwz
+c7MEL7xxjOWftiJgPl9dzgn/ggwbmlFQGiaJ3dVhXRncEg8tCqJDXRfQNJIg6nPP
+OCwGJgl6cvf6UDL4wpPTaaIjzkGxzOTVHzbRijr4jGPiFFlp7Q3Tf2vouAPlT2rl
+mGNpSAW+Lv8ztumXWWn4Zxmuk2GWRBXTcrA/vGp97Eh/jcOrqnErU2lBUzS1sLnF
+BgrEsEX1QV1uiUV7PTsmjHTC5dLRfbIR1PtYMiKagMnc/Qzpf14Dl847ABSHJ3A4
+qY5usyd2mFHgBeMhqxrVhSI8KbWaFsWAqPS7azCPL0YCorEMIuDTAgMBAAGjgZcw
+gZQwHQYDVR0OBBYEFCEwyfsA106Y2oeqKtCnLrFAMadMMA4GA1UdDwEB/wQEAwIB
+BjAPBgNVHRMBAf8EBTADAQH/MFIGA1UdHwRLMEkwR6BFoEOGQWh0dHA6Ly9jcmwu
+bmV0c29sc3NsLmNvbS9OZXR3b3JrU29sdXRpb25zQ2VydGlmaWNhdGVBdXRob3Jp
+dHkuY3JsMA0GCSqGSIb3DQEBBQUAA4IBAQC7rkvnt1frf6ott3NHhWrB5KUd5Oc8
+6fRZZXe1eltajSU24HqXLjjAV2CDmAaDn7l2em5Q4LqILPxFzBiwmZVRDuwduIj/
+h1AcgsLj4DKAv6ALR8jDMe+ZZzKATxcheQxpXN5eNK4CtSbqUN9/GGUsyfJj4akH
+/nxxH2szJGoeBfcFaMBqEssuXmHLrijTfsK0ZpEmXzwuJF/LWA/rKOyvEZbz3Htv
+wKeI8lN3s2Berq4o2jUsbzRF0ybh3uxbTydrFny9RAQYgrOJeRcQcT16ohZO9QHN
+pGxlaKFJdlxDydi8NmdspZS11My5vWo1ViHe2MPr+8ukYEywVaCge1ey
+-----END CERTIFICATE-----
+
+# Issuer: CN=COMODO ECC Certification Authority O=COMODO CA Limited
+# Subject: CN=COMODO ECC Certification Authority O=COMODO CA Limited
+# Label: "COMODO ECC Certification Authority"
+# Serial: 41578283867086692638256921589707938090
+# MD5 Fingerprint: 7c:62:ff:74:9d:31:53:5e:68:4a:d5:78:aa:1e:bf:23
+# SHA1 Fingerprint: 9f:74:4e:9f:2b:4d:ba:ec:0f:31:2c:50:b6:56:3b:8e:2d:93:c3:11
+# SHA256 Fingerprint: 17:93:92:7a:06:14:54:97:89:ad:ce:2f:8f:34:f7:f0:b6:6d:0f:3a:e3:a3:b8:4d:21:ec:15:db:ba:4f:ad:c7
+-----BEGIN CERTIFICATE-----
+MIICiTCCAg+gAwIBAgIQH0evqmIAcFBUTAGem2OZKjAKBggqhkjOPQQDAzCBhTEL
+MAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UE
+BxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNVBAMT
+IkNPTU9ETyBFQ0MgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMDgwMzA2MDAw
+MDAwWhcNMzgwMTE4MjM1OTU5WjCBhTELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdy
+ZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09N
+T0RPIENBIExpbWl0ZWQxKzApBgNVBAMTIkNPTU9ETyBFQ0MgQ2VydGlmaWNhdGlv
+biBBdXRob3JpdHkwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQDR3svdcmCFYX7deSR
+FtSrYpn1PlILBs5BAH+X4QokPB0BBO490o0JlwzgdeT6+3eKKvUDYEs2ixYjFq0J
+cfRK9ChQtP6IHG4/bC8vCVlbpVsLM5niwz2J+Wos77LTBumjQjBAMB0GA1UdDgQW
+BBR1cacZSBm8nZ3qQUfflMRId5nTeTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/
+BAUwAwEB/zAKBggqhkjOPQQDAwNoADBlAjEA7wNbeqy3eApyt4jf/7VGFAkK+qDm
+fQjGGoe9GKhzvSbKYAydzpmfz1wPMOG+FDHqAjAU9JM8SaczepBGR7NjfRObTrdv
+GDeAU/7dIOA1mjbRxwG55tzd8/8dLDoWV9mSOdY=
+-----END CERTIFICATE-----
+
+# Issuer: CN=TC TrustCenter Class 2 CA II O=TC TrustCenter GmbH OU=TC TrustCenter Class 2 CA
+# Subject: CN=TC TrustCenter Class 2 CA II O=TC TrustCenter GmbH OU=TC TrustCenter Class 2 CA
+# Label: "TC TrustCenter Class 2 CA II"
+# Serial: 941389028203453866782103406992443
+# MD5 Fingerprint: ce:78:33:5c:59:78:01:6e:18:ea:b9:36:a0:b9:2e:23
+# SHA1 Fingerprint: ae:50:83:ed:7c:f4:5c:bc:8f:61:c6:21:fe:68:5d:79:42:21:15:6e
+# SHA256 Fingerprint: e6:b8:f8:76:64:85:f8:07:ae:7f:8d:ac:16:70:46:1f:07:c0:a1:3e:ef:3a:1f:f7:17:53:8d:7a:ba:d3:91:b4
+-----BEGIN CERTIFICATE-----
+MIIEqjCCA5KgAwIBAgIOLmoAAQACH9dSISwRXDswDQYJKoZIhvcNAQEFBQAwdjEL
+MAkGA1UEBhMCREUxHDAaBgNVBAoTE1RDIFRydXN0Q2VudGVyIEdtYkgxIjAgBgNV
+BAsTGVRDIFRydXN0Q2VudGVyIENsYXNzIDIgQ0ExJTAjBgNVBAMTHFRDIFRydXN0
+Q2VudGVyIENsYXNzIDIgQ0EgSUkwHhcNMDYwMTEyMTQzODQzWhcNMjUxMjMxMjI1
+OTU5WjB2MQswCQYDVQQGEwJERTEcMBoGA1UEChMTVEMgVHJ1c3RDZW50ZXIgR21i
+SDEiMCAGA1UECxMZVEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMiBDQTElMCMGA1UEAxMc
+VEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMiBDQSBJSTCCASIwDQYJKoZIhvcNAQEBBQAD
+ggEPADCCAQoCggEBAKuAh5uO8MN8h9foJIIRszzdQ2Lu+MNF2ujhoF/RKrLqk2jf
+tMjWQ+nEdVl//OEd+DFwIxuInie5e/060smp6RQvkL4DUsFJzfb95AhmC1eKokKg
+uNV/aVyQMrKXDcpK3EY+AlWJU+MaWss2xgdW94zPEfRMuzBwBJWl9jmM/XOBCH2J
+XjIeIqkiRUuwZi4wzJ9l/fzLganx4Duvo4bRierERXlQXa7pIXSSTYtZgo+U4+lK
+8edJsBTj9WLL1XK9H7nSn6DNqPoByNkN39r8R52zyFTfSUrxIan+GE7uSNQZu+99
+5OKdy1u2bv/jzVrndIIFuoAlOMvkaZ6vQaoahPUCAwEAAaOCATQwggEwMA8GA1Ud
+EwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTjq1RMgKHbVkO3
+kUrL84J6E1wIqzCB7QYDVR0fBIHlMIHiMIHfoIHcoIHZhjVodHRwOi8vd3d3LnRy
+dXN0Y2VudGVyLmRlL2NybC92Mi90Y19jbGFzc18yX2NhX0lJLmNybIaBn2xkYXA6
+Ly93d3cudHJ1c3RjZW50ZXIuZGUvQ049VEMlMjBUcnVzdENlbnRlciUyMENsYXNz
+JTIwMiUyMENBJTIwSUksTz1UQyUyMFRydXN0Q2VudGVyJTIwR21iSCxPVT1yb290
+Y2VydHMsREM9dHJ1c3RjZW50ZXIsREM9ZGU/Y2VydGlmaWNhdGVSZXZvY2F0aW9u
+TGlzdD9iYXNlPzANBgkqhkiG9w0BAQUFAAOCAQEAjNfffu4bgBCzg/XbEeprS6iS
+GNn3Bzn1LL4GdXpoUxUc6krtXvwjshOg0wn/9vYua0Fxec3ibf2uWWuFHbhOIprt
+ZjluS5TmVfwLG4t3wVMTZonZKNaL80VKY7f9ewthXbhtvsPcW3nS7Yblok2+XnR8
+au0WOB9/WIFaGusyiC2y8zl3gK9etmF1KdsjTYjKUCjLhdLTEKJZbtOTVAB6okaV
+hgWcqRmY5TFyDADiZ9lA4CQze28suVyrZZ0srHbqNZn1l7kPJOzHdiEoZa5X6AeI
+dUpWoNIFOqTmjZKILPPy4cHGYdtBxceb9w4aUUXCYWvcZCcXjFq32nQozZfkvQ==
+-----END CERTIFICATE-----
+
+# Issuer: CN=TC TrustCenter Class 3 CA II O=TC TrustCenter GmbH OU=TC TrustCenter Class 3 CA
+# Subject: CN=TC TrustCenter Class 3 CA II O=TC TrustCenter GmbH OU=TC TrustCenter Class 3 CA
+# Label: "TC TrustCenter Class 3 CA II"
+# Serial: 1506523511417715638772220530020799
+# MD5 Fingerprint: 56:5f:aa:80:61:12:17:f6:67:21:e6:2b:6d:61:56:8e
+# SHA1 Fingerprint: 80:25:ef:f4:6e:70:c8:d4:72:24:65:84:fe:40:3b:8a:8d:6a:db:f5
+# SHA256 Fingerprint: 8d:a0:84:fc:f9:9c:e0:77:22:f8:9b:32:05:93:98:06:fa:5c:b8:11:e1:c8:13:f6:a1:08:c7:d3:36:b3:40:8e
+-----BEGIN CERTIFICATE-----
+MIIEqjCCA5KgAwIBAgIOSkcAAQAC5aBd1j8AUb8wDQYJKoZIhvcNAQEFBQAwdjEL
+MAkGA1UEBhMCREUxHDAaBgNVBAoTE1RDIFRydXN0Q2VudGVyIEdtYkgxIjAgBgNV
+BAsTGVRDIFRydXN0Q2VudGVyIENsYXNzIDMgQ0ExJTAjBgNVBAMTHFRDIFRydXN0
+Q2VudGVyIENsYXNzIDMgQ0EgSUkwHhcNMDYwMTEyMTQ0MTU3WhcNMjUxMjMxMjI1
+OTU5WjB2MQswCQYDVQQGEwJERTEcMBoGA1UEChMTVEMgVHJ1c3RDZW50ZXIgR21i
+SDEiMCAGA1UECxMZVEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMyBDQTElMCMGA1UEAxMc
+VEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMyBDQSBJSTCCASIwDQYJKoZIhvcNAQEBBQAD
+ggEPADCCAQoCggEBALTgu1G7OVyLBMVMeRwjhjEQY0NVJz/GRcekPewJDRoeIMJW
+Ht4bNwcwIi9v8Qbxq63WyKthoy9DxLCyLfzDlml7forkzMA5EpBCYMnMNWju2l+Q
+Vl/NHE1bWEnrDgFPZPosPIlY2C8u4rBo6SI7dYnWRBpl8huXJh0obazovVkdKyT2
+1oQDZogkAHhg8fir/gKya/si+zXmFtGt9i4S5Po1auUZuV3bOx4a+9P/FRQI2Alq
+ukWdFHlgfa9Aigdzs5OW03Q0jTo3Kd5c7PXuLjHCINy+8U9/I1LZW+Jk2ZyqBwi1
+Rb3R0DHBq1SfqdLDYmAD8bs5SpJKPQq5ncWg/jcCAwEAAaOCATQwggEwMA8GA1Ud
+EwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTUovyfs8PYA9NX
+XAek0CSnwPIA1DCB7QYDVR0fBIHlMIHiMIHfoIHcoIHZhjVodHRwOi8vd3d3LnRy
+dXN0Y2VudGVyLmRlL2NybC92Mi90Y19jbGFzc18zX2NhX0lJLmNybIaBn2xkYXA6
+Ly93d3cudHJ1c3RjZW50ZXIuZGUvQ049VEMlMjBUcnVzdENlbnRlciUyMENsYXNz
+JTIwMyUyMENBJTIwSUksTz1UQyUyMFRydXN0Q2VudGVyJTIwR21iSCxPVT1yb290
+Y2VydHMsREM9dHJ1c3RjZW50ZXIsREM9ZGU/Y2VydGlmaWNhdGVSZXZvY2F0aW9u
+TGlzdD9iYXNlPzANBgkqhkiG9w0BAQUFAAOCAQEANmDkcPcGIEPZIxpC8vijsrlN
+irTzwppVMXzEO2eatN9NDoqTSheLG43KieHPOh6sHfGcMrSOWXaiQYUlN6AT0PV8
+TtXqluJucsG7Kv5sbviRmEb8yRtXW+rIGjs/sFGYPAfaLFkB2otE6OF0/ado3VS6
+g0bsyEa1+K+XwDsJHI/OcpY9M1ZwvJbL2NV9IJqDnxrcOfHFcqMRA/07QlIp2+gB
+95tejNaNhk4Z+rwcvsUhpYeeeC422wlxo3I0+GzjBgnyXlal092Y+tTmBvTwtiBj
+S+opvaqCZh77gaqnN60TGOaSw4HBM7uIHqHn4rS9MWwOUT1v+5ZWgOI2F9Hc5A==
+-----END CERTIFICATE-----
+
+# Issuer: CN=TC TrustCenter Universal CA I O=TC TrustCenter GmbH OU=TC TrustCenter Universal CA
+# Subject: CN=TC TrustCenter Universal CA I O=TC TrustCenter GmbH OU=TC TrustCenter Universal CA
+# Label: "TC TrustCenter Universal CA I"
+# Serial: 601024842042189035295619584734726
+# MD5 Fingerprint: 45:e1:a5:72:c5:a9:36:64:40:9e:f5:e4:58:84:67:8c
+# SHA1 Fingerprint: 6b:2f:34:ad:89:58:be:62:fd:b0:6b:5c:ce:bb:9d:d9:4f:4e:39:f3
+# SHA256 Fingerprint: eb:f3:c0:2a:87:89:b1:fb:7d:51:19:95:d6:63:b7:29:06:d9:13:ce:0d:5e:10:56:8a:8a:77:e2:58:61:67:e7
+-----BEGIN CERTIFICATE-----
+MIID3TCCAsWgAwIBAgIOHaIAAQAC7LdggHiNtgYwDQYJKoZIhvcNAQEFBQAweTEL
+MAkGA1UEBhMCREUxHDAaBgNVBAoTE1RDIFRydXN0Q2VudGVyIEdtYkgxJDAiBgNV
+BAsTG1RDIFRydXN0Q2VudGVyIFVuaXZlcnNhbCBDQTEmMCQGA1UEAxMdVEMgVHJ1
+c3RDZW50ZXIgVW5pdmVyc2FsIENBIEkwHhcNMDYwMzIyMTU1NDI4WhcNMjUxMjMx
+MjI1OTU5WjB5MQswCQYDVQQGEwJERTEcMBoGA1UEChMTVEMgVHJ1c3RDZW50ZXIg
+R21iSDEkMCIGA1UECxMbVEMgVHJ1c3RDZW50ZXIgVW5pdmVyc2FsIENBMSYwJAYD
+VQQDEx1UQyBUcnVzdENlbnRlciBVbml2ZXJzYWwgQ0EgSTCCASIwDQYJKoZIhvcN
+AQEBBQADggEPADCCAQoCggEBAKR3I5ZEr5D0MacQ9CaHnPM42Q9e3s9B6DGtxnSR
+JJZ4Hgmgm5qVSkr1YnwCqMqs+1oEdjneX/H5s7/zA1hV0qq34wQi0fiU2iIIAI3T
+fCZdzHd55yx4Oagmcw6iXSVphU9VDprvxrlE4Vc93x9UIuVvZaozhDrzznq+VZeu
+jRIPFDPiUHDDSYcTvFHe15gSWu86gzOSBnWLknwSaHtwag+1m7Z3W0hZneTvWq3z
+wZ7U10VOylY0Ibw+F1tvdwxIAUMpsN0/lm7mlaoMwCC2/T42J5zjXM9OgdwZu5GQ
+fezmlwQek8wiSdeXhrYTCjxDI3d+8NzmzSQfO4ObNDqDNOMCAwEAAaNjMGEwHwYD
+VR0jBBgwFoAUkqR1LKSevoFE63n8isWVpesQdXMwDwYDVR0TAQH/BAUwAwEB/zAO
+BgNVHQ8BAf8EBAMCAYYwHQYDVR0OBBYEFJKkdSyknr6BROt5/IrFlaXrEHVzMA0G
+CSqGSIb3DQEBBQUAA4IBAQAo0uCG1eb4e/CX3CJrO5UUVg8RMKWaTzqwOuAGy2X1
+7caXJ/4l8lfmXpWMPmRgFVp/Lw0BxbFg/UU1z/CyvwbZ71q+s2IhtNerNXxTPqYn
+8aEt2hojnczd7Dwtnic0XQ/CNnm8yUpiLe1r2X1BQ3y2qsrtYbE3ghUJGooWMNjs
+ydZHcnhLEEYUjl8Or+zHL6sQ17bxbuyGssLoDZJz3KL0Dzq/YSMQiZxIQG5wALPT
+ujdEWBF6AmqI8Dc08BnprNRlc/ZpjGSUOnmFKbAWKwyCPwacx/0QK54PLLae4xW/
+2TYcuiUaUj0a7CIMHOCkoj3w6DnPgcB77V0fb8XQC9eY
+-----END CERTIFICATE-----
+
+# Issuer: CN=Cybertrust Global Root O=Cybertrust, Inc
+# Subject: CN=Cybertrust Global Root O=Cybertrust, Inc
+# Label: "Cybertrust Global Root"
+# Serial: 4835703278459682877484360
+# MD5 Fingerprint: 72:e4:4a:87:e3:69:40:80:77:ea:bc:e3:f4:ff:f0:e1
+# SHA1 Fingerprint: 5f:43:e5:b1:bf:f8:78:8c:ac:1c:c7:ca:4a:9a:c6:22:2b:cc:34:c6
+# SHA256 Fingerprint: 96:0a:df:00:63:e9:63:56:75:0c:29:65:dd:0a:08:67:da:0b:9c:bd:6e:77:71:4a:ea:fb:23:49:ab:39:3d:a3
+-----BEGIN CERTIFICATE-----
+MIIDoTCCAomgAwIBAgILBAAAAAABD4WqLUgwDQYJKoZIhvcNAQEFBQAwOzEYMBYG
+A1UEChMPQ3liZXJ0cnVzdCwgSW5jMR8wHQYDVQQDExZDeWJlcnRydXN0IEdsb2Jh
+bCBSb290MB4XDTA2MTIxNTA4MDAwMFoXDTIxMTIxNTA4MDAwMFowOzEYMBYGA1UE
+ChMPQ3liZXJ0cnVzdCwgSW5jMR8wHQYDVQQDExZDeWJlcnRydXN0IEdsb2JhbCBS
+b290MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA+Mi8vRRQZhP/8NN5
+7CPytxrHjoXxEnOmGaoQ25yiZXRadz5RfVb23CO21O1fWLE3TdVJDm71aofW0ozS
+J8bi/zafmGWgE07GKmSb1ZASzxQG9Dvj1Ci+6A74q05IlG2OlTEQXO2iLb3VOm2y
+HLtgwEZLAfVJrn5GitB0jaEMAs7u/OePuGtm839EAL9mJRQr3RAwHQeWP032a7iP
+t3sMpTjr3kfb1V05/Iin89cqdPHoWqI7n1C6poxFNcJQZZXcY4Lv3b93TZxiyWNz
+FtApD0mpSPCzqrdsxacwOUBdrsTiXSZT8M4cIwhhqJQZugRiQOwfOHB3EgZxpzAY
+XSUnpQIDAQABo4GlMIGiMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/
+MB0GA1UdDgQWBBS2CHsNesysIEyGVjJez6tuhS1wVzA/BgNVHR8EODA2MDSgMqAw
+hi5odHRwOi8vd3d3Mi5wdWJsaWMtdHJ1c3QuY29tL2NybC9jdC9jdHJvb3QuY3Js
+MB8GA1UdIwQYMBaAFLYIew16zKwgTIZWMl7Pq26FLXBXMA0GCSqGSIb3DQEBBQUA
+A4IBAQBW7wojoFROlZfJ+InaRcHUowAl9B8Tq7ejhVhpwjCt2BWKLePJzYFa+HMj
+Wqd8BfP9IjsO0QbE2zZMcwSO5bAi5MXzLqXZI+O4Tkogp24CJJ8iYGd7ix1yCcUx
+XOl5n4BHPa2hCwcUPUf/A2kaDAtE52Mlp3+yybh2hO0j9n0Hq0V+09+zv+mKts2o
+omcrUtW3ZfA5TGOgkXmTUg9U3YO7n9GPp1Nzw8v/MOx8BLjYRB+TX3EJIrduPuoc
+A06dGiBh+4E37F78CkWr1+cXVdCg6mCbpvbjjFspwgZgFJ0tl0ypkxWdYcQBX0jW
+WL1WMRJOEcgh4LMRkWXbtKaIOM5V
+-----END CERTIFICATE-----
+
+# Issuer: CN=GeoTrust Primary Certification Authority - G3 O=GeoTrust Inc. OU=(c) 2008 GeoTrust Inc. - For authorized use only
+# Subject: CN=GeoTrust Primary Certification Authority - G3 O=GeoTrust Inc. OU=(c) 2008 GeoTrust Inc. - For authorized use only
+# Label: "GeoTrust Primary Certification Authority - G3"
+# Serial: 28809105769928564313984085209975885599
+# MD5 Fingerprint: b5:e8:34:36:c9:10:44:58:48:70:6d:2e:83:d4:b8:05
+# SHA1 Fingerprint: 03:9e:ed:b8:0b:e7:a0:3c:69:53:89:3b:20:d2:d9:32:3a:4c:2a:fd
+# SHA256 Fingerprint: b4:78:b8:12:25:0d:f8:78:63:5c:2a:a7:ec:7d:15:5e:aa:62:5e:e8:29:16:e2:cd:29:43:61:88:6c:d1:fb:d4
+-----BEGIN CERTIFICATE-----
+MIID/jCCAuagAwIBAgIQFaxulBmyeUtB9iepwxgPHzANBgkqhkiG9w0BAQsFADCB
+mDELMAkGA1UEBhMCVVMxFjAUBgNVBAoTDUdlb1RydXN0IEluYy4xOTA3BgNVBAsT
+MChjKSAyMDA4IEdlb1RydXN0IEluYy4gLSBGb3IgYXV0aG9yaXplZCB1c2Ugb25s
+eTE2MDQGA1UEAxMtR2VvVHJ1c3QgUHJpbWFyeSBDZXJ0aWZpY2F0aW9uIEF1dGhv
+cml0eSAtIEczMB4XDTA4MDQwMjAwMDAwMFoXDTM3MTIwMTIzNTk1OVowgZgxCzAJ
+BgNVBAYTAlVTMRYwFAYDVQQKEw1HZW9UcnVzdCBJbmMuMTkwNwYDVQQLEzAoYykg
+MjAwOCBHZW9UcnVzdCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxNjA0
+BgNVBAMTLUdlb1RydXN0IFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkg
+LSBHMzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANziXmJYHTNXOTIz
++uvLh4yn1ErdBojqZI4xmKU4kB6Yzy5jK/BGvESyiaHAKAxJcCGVn2TAppMSAmUm
+hsalifD614SgcK9PGpc/BkTVyetyEH3kMSj7HGHmKAdEc5IiaacDiGydY8hS2pgn
+5whMcD60yRLBxWeDXTPzAxHsatBT4tG6NmCUgLthY2xbF37fQJQeqw3CIShwiP/W
+JmxsYAQlTlV+fe+/lEjetx3dcI0FX4ilm/LC7urRQEFtYjgdVgbFA0dRIBn8exAL
+DmKudlW/X3e+PkkBUz2YJQN2JFodtNuJ6nnltrM7P7pMKEF/BqxqjsHQ9gUdfeZC
+huOl1UcCAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYw
+HQYDVR0OBBYEFMR5yo6hTgMdHNxr2zFblD4/MH8tMA0GCSqGSIb3DQEBCwUAA4IB
+AQAtxRPPVoB7eni9n64smefv2t+UXglpp+duaIy9cr5HqQ6XErhK8WTTOd8lNNTB
+zU6B8A8ExCSzNJbGpqow32hhc9f5joWJ7w5elShKKiePEI4ufIbEAp7aDHdlDkQN
+kv39sxY2+hENHYwOB4lqKVb3cvTdFZx3NWZXqxNT2I7BQMXXExZacse3aQHEerGD
+AWh9jUGhlBjBJVz88P6DAod8DQ3PLghcSkANPuyBYeYk28rgDi0Hsj5W3I31QYUH
+SJsMC8tJP33st/3LjWeJGqvtux6jAAgIFyqCXDFdRootD4abdNlF+9RAsXqqaC2G
+spki4cErx5z481+oghLrGREt
+-----END CERTIFICATE-----
+
+# Issuer: CN=thawte Primary Root CA - G2 O=thawte, Inc. OU=(c) 2007 thawte, Inc. - For authorized use only
+# Subject: CN=thawte Primary Root CA - G2 O=thawte, Inc. OU=(c) 2007 thawte, Inc. - For authorized use only
+# Label: "thawte Primary Root CA - G2"
+# Serial: 71758320672825410020661621085256472406
+# MD5 Fingerprint: 74:9d:ea:60:24:c4:fd:22:53:3e:cc:3a:72:d9:29:4f
+# SHA1 Fingerprint: aa:db:bc:22:23:8f:c4:01:a1:27:bb:38:dd:f4:1d:db:08:9e:f0:12
+# SHA256 Fingerprint: a4:31:0d:50:af:18:a6:44:71:90:37:2a:86:af:af:8b:95:1f:fb:43:1d:83:7f:1e:56:88:b4:59:71:ed:15:57
+-----BEGIN CERTIFICATE-----
+MIICiDCCAg2gAwIBAgIQNfwmXNmET8k9Jj1Xm67XVjAKBggqhkjOPQQDAzCBhDEL
+MAkGA1UEBhMCVVMxFTATBgNVBAoTDHRoYXd0ZSwgSW5jLjE4MDYGA1UECxMvKGMp
+IDIwMDcgdGhhd3RlLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxJDAi
+BgNVBAMTG3RoYXd0ZSBQcmltYXJ5IFJvb3QgQ0EgLSBHMjAeFw0wNzExMDUwMDAw
+MDBaFw0zODAxMTgyMzU5NTlaMIGEMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMdGhh
+d3RlLCBJbmMuMTgwNgYDVQQLEy8oYykgMjAwNyB0aGF3dGUsIEluYy4gLSBGb3Ig
+YXV0aG9yaXplZCB1c2Ugb25seTEkMCIGA1UEAxMbdGhhd3RlIFByaW1hcnkgUm9v
+dCBDQSAtIEcyMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEotWcgnuVnfFSeIf+iha/
+BebfowJPDQfGAFG6DAJSLSKkQjnE/o/qycG+1E3/n3qe4rF8mq2nhglzh9HnmuN6
+papu+7qzcMBniKI11KOasf2twu8x+qi58/sIxpHR+ymVo0IwQDAPBgNVHRMBAf8E
+BTADAQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUmtgAMADna3+FGO6Lts6K
+DPgR4bswCgYIKoZIzj0EAwMDaQAwZgIxAN344FdHW6fmCsO99YCKlzUNG4k8VIZ3
+KMqh9HneteY4sPBlcIx/AlTCv//YoT7ZzwIxAMSNlPzcU9LcnXgWHxUzI1NS41ox
+XZ3Krr0TKUQNJ1uo52icEvdYPy5yAlejj6EULg==
+-----END CERTIFICATE-----
+
+# Issuer: CN=thawte Primary Root CA - G3 O=thawte, Inc. OU=Certification Services Division/(c) 2008 thawte, Inc. - For authorized use only
+# Subject: CN=thawte Primary Root CA - G3 O=thawte, Inc. OU=Certification Services Division/(c) 2008 thawte, Inc. - For authorized use only
+# Label: "thawte Primary Root CA - G3"
+# Serial: 127614157056681299805556476275995414779
+# MD5 Fingerprint: fb:1b:5d:43:8a:94:cd:44:c6:76:f2:43:4b:47:e7:31
+# SHA1 Fingerprint: f1:8b:53:8d:1b:e9:03:b6:a6:f0:56:43:5b:17:15:89:ca:f3:6b:f2
+# SHA256 Fingerprint: 4b:03:f4:58:07:ad:70:f2:1b:fc:2c:ae:71:c9:fd:e4:60:4c:06:4c:f5:ff:b6:86:ba:e5:db:aa:d7:fd:d3:4c
+-----BEGIN CERTIFICATE-----
+MIIEKjCCAxKgAwIBAgIQYAGXt0an6rS0mtZLL/eQ+zANBgkqhkiG9w0BAQsFADCB
+rjELMAkGA1UEBhMCVVMxFTATBgNVBAoTDHRoYXd0ZSwgSW5jLjEoMCYGA1UECxMf
+Q2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lvbjE4MDYGA1UECxMvKGMpIDIw
+MDggdGhhd3RlLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxJDAiBgNV
+BAMTG3RoYXd0ZSBQcmltYXJ5IFJvb3QgQ0EgLSBHMzAeFw0wODA0MDIwMDAwMDBa
+Fw0zNzEyMDEyMzU5NTlaMIGuMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMdGhhd3Rl
+LCBJbmMuMSgwJgYDVQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERpdmlzaW9u
+MTgwNgYDVQQLEy8oYykgMjAwOCB0aGF3dGUsIEluYy4gLSBGb3IgYXV0aG9yaXpl
+ZCB1c2Ugb25seTEkMCIGA1UEAxMbdGhhd3RlIFByaW1hcnkgUm9vdCBDQSAtIEcz
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsr8nLPvb2FvdeHsbnndm
+gcs+vHyu86YnmjSjaDFxODNi5PNxZnmxqWWjpYvVj2AtP0LMqmsywCPLLEHd5N/8
+YZzic7IilRFDGF/Eth9XbAoFWCLINkw6fKXRz4aviKdEAhN0cXMKQlkC+BsUa0Lf
+b1+6a4KinVvnSr0eAXLbS3ToO39/fR8EtCab4LRarEc9VbjXsCZSKAExQGbY2SS9
+9irY7CFJXJv2eul/VTV+lmuNk5Mny5K76qxAwJ/C+IDPXfRa3M50hqY+bAtTyr2S
+zhkGcuYMXDhpxwTWvGzOW/b3aJzcJRVIiKHpqfiYnODz1TEoYRFsZ5aNOZnLwkUk
+OQIDAQABo0IwQDAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNV
+HQ4EFgQUrWyqlGCc7eT/+j4KdCtjA/e2Wb8wDQYJKoZIhvcNAQELBQADggEBABpA
+2JVlrAmSicY59BDlqQ5mU1143vokkbvnRFHfxhY0Cu9qRFHqKweKA3rD6z8KLFIW
+oCtDuSWQP3CpMyVtRRooOyfPqsMpQhvfO0zAMzRbQYi/aytlryjvsvXDqmbOe1bu
+t8jLZ8HJnBoYuMTDSQPxYA5QzUbF83d597YV4Djbxy8ooAw/dyZ02SUS2jHaGh7c
+KUGRIjxpp7sC8rZcJwOJ9Abqm+RyguOhCcHpABnTPtRwa7pxpqpYrvS76Wy274fM
+m7v/OeZWYdMKp8RcTGB7BXcmer/YB1IsYvdwY9k5vG8cwnncdimvzsUsZAReiDZu
+MdRAGmI0Nj81Aa6sY6A=
+-----END CERTIFICATE-----
+
+# Issuer: CN=GeoTrust Primary Certification Authority - G2 O=GeoTrust Inc. OU=(c) 2007 GeoTrust Inc. - For authorized use only
+# Subject: CN=GeoTrust Primary Certification Authority - G2 O=GeoTrust Inc. OU=(c) 2007 GeoTrust Inc. - For authorized use only
+# Label: "GeoTrust Primary Certification Authority - G2"
+# Serial: 80682863203381065782177908751794619243
+# MD5 Fingerprint: 01:5e:d8:6b:bd:6f:3d:8e:a1:31:f8:12:e0:98:73:6a
+# SHA1 Fingerprint: 8d:17:84:d5:37:f3:03:7d:ec:70:fe:57:8b:51:9a:99:e6:10:d7:b0
+# SHA256 Fingerprint: 5e:db:7a:c4:3b:82:a0:6a:87:61:e8:d7:be:49:79:eb:f2:61:1f:7d:d7:9b:f9:1c:1c:6b:56:6a:21:9e:d7:66
+-----BEGIN CERTIFICATE-----
+MIICrjCCAjWgAwIBAgIQPLL0SAoA4v7rJDteYD7DazAKBggqhkjOPQQDAzCBmDEL
+MAkGA1UEBhMCVVMxFjAUBgNVBAoTDUdlb1RydXN0IEluYy4xOTA3BgNVBAsTMChj
+KSAyMDA3IEdlb1RydXN0IEluYy4gLSBGb3IgYXV0aG9yaXplZCB1c2Ugb25seTE2
+MDQGA1UEAxMtR2VvVHJ1c3QgUHJpbWFyeSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0
+eSAtIEcyMB4XDTA3MTEwNTAwMDAwMFoXDTM4MDExODIzNTk1OVowgZgxCzAJBgNV
+BAYTAlVTMRYwFAYDVQQKEw1HZW9UcnVzdCBJbmMuMTkwNwYDVQQLEzAoYykgMjAw
+NyBHZW9UcnVzdCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxNjA0BgNV
+BAMTLUdlb1RydXN0IFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBH
+MjB2MBAGByqGSM49AgEGBSuBBAAiA2IABBWx6P0DFUPlrOuHNxFi79KDNlJ9RVcL
+So17VDs6bl8VAsBQps8lL33KSLjHUGMcKiEIfJo22Av+0SbFWDEwKCXzXV2juLal
+tJLtbCyf691DiaI8S0iRHVDsJt/WYC69IaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAO
+BgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFBVfNVdRVfslsq0DafwBo/q+EVXVMAoG
+CCqGSM49BAMDA2cAMGQCMGSWWaboCd6LuvpaiIjwH5HTRqjySkwCY/tsXzjbLkGT
+qQ7mndwxHLKgpxgceeHHNgIwOlavmnRs9vuD4DPTCF+hnMJbn0bWtsuRBmOiBucz
+rD6ogRLQy7rQkgu2npaqBA+K
+-----END CERTIFICATE-----
+
+# Issuer: CN=VeriSign Universal Root Certification Authority O=VeriSign, Inc. OU=VeriSign Trust Network/(c) 2008 VeriSign, Inc. - For authorized use only
+# Subject: CN=VeriSign Universal Root Certification Authority O=VeriSign, Inc. OU=VeriSign Trust Network/(c) 2008 VeriSign, Inc. - For authorized use only
+# Label: "VeriSign Universal Root Certification Authority"
+# Serial: 85209574734084581917763752644031726877
+# MD5 Fingerprint: 8e:ad:b5:01:aa:4d:81:e4:8c:1d:d1:e1:14:00:95:19
+# SHA1 Fingerprint: 36:79:ca:35:66:87:72:30:4d:30:a5:fb:87:3b:0f:a7:7b:b7:0d:54
+# SHA256 Fingerprint: 23:99:56:11:27:a5:71:25:de:8c:ef:ea:61:0d:df:2f:a0:78:b5:c8:06:7f:4e:82:82:90:bf:b8:60:e8:4b:3c
+-----BEGIN CERTIFICATE-----
+MIIEuTCCA6GgAwIBAgIQQBrEZCGzEyEDDrvkEhrFHTANBgkqhkiG9w0BAQsFADCB
+vTELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL
+ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwOCBWZXJp
+U2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MTgwNgYDVQQDEy9W
+ZXJpU2lnbiBVbml2ZXJzYWwgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAe
+Fw0wODA0MDIwMDAwMDBaFw0zNzEyMDEyMzU5NTlaMIG9MQswCQYDVQQGEwJVUzEX
+MBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0
+IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAyMDA4IFZlcmlTaWduLCBJbmMuIC0gRm9y
+IGF1dGhvcml6ZWQgdXNlIG9ubHkxODA2BgNVBAMTL1ZlcmlTaWduIFVuaXZlcnNh
+bCBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIBIjANBgkqhkiG9w0BAQEF
+AAOCAQ8AMIIBCgKCAQEAx2E3XrEBNNti1xWb/1hajCMj1mCOkdeQmIN65lgZOIzF
+9uVkhbSicfvtvbnazU0AtMgtc6XHaXGVHzk8skQHnOgO+k1KxCHfKWGPMiJhgsWH
+H26MfF8WIFFE0XBPV+rjHOPMee5Y2A7Cs0WTwCznmhcrewA3ekEzeOEz4vMQGn+H
+LL729fdC4uW/h2KJXwBL38Xd5HVEMkE6HnFuacsLdUYI0crSK5XQz/u5QGtkjFdN
+/BMReYTtXlT2NJ8IAfMQJQYXStrxHXpma5hgZqTZ79IugvHw7wnqRMkVauIDbjPT
+rJ9VAMf2CGqUuV/c4DPxhGD5WycRtPwW8rtWaoAljQIDAQABo4GyMIGvMA8GA1Ud
+EwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMG0GCCsGAQUFBwEMBGEwX6FdoFsw
+WTBXMFUWCWltYWdlL2dpZjAhMB8wBwYFKw4DAhoEFI/l0xqGrI2Oa8PPgGrUSBgs
+exkuMCUWI2h0dHA6Ly9sb2dvLnZlcmlzaWduLmNvbS92c2xvZ28uZ2lmMB0GA1Ud
+DgQWBBS2d/ppSEefUxLVwuoHMnYH0ZcHGTANBgkqhkiG9w0BAQsFAAOCAQEASvj4
+sAPmLGd75JR3Y8xuTPl9Dg3cyLk1uXBPY/ok+myDjEedO2Pzmvl2MpWRsXe8rJq+
+seQxIcaBlVZaDrHC1LGmWazxY8u4TB1ZkErvkBYoH1quEPuBUDgMbMzxPcP1Y+Oz
+4yHJJDnp/RVmRvQbEdBNc6N9Rvk97ahfYtTxP/jgdFcrGJ2BtMQo2pSXpXDrrB2+
+BxHw1dvd5Yzw1TKwg+ZX4o+/vqGqvz0dtdQ46tewXDpPaj+PwGZsY6rp2aQW9IHR
+lRQOfc2VNNnSj3BzgXucfr2YYdhFh5iQxeuGMMY1v/D/w1WIg0vvBZIGcfK4mJO3
+7M2CYfE45k+XmCpajQ==
+-----END CERTIFICATE-----
+
+# Issuer: CN=VeriSign Class 3 Public Primary Certification Authority - G4 O=VeriSign, Inc. OU=VeriSign Trust Network/(c) 2007 VeriSign, Inc. - For authorized use only
+# Subject: CN=VeriSign Class 3 Public Primary Certification Authority - G4 O=VeriSign, Inc. OU=VeriSign Trust Network/(c) 2007 VeriSign, Inc. - For authorized use only
+# Label: "VeriSign Class 3 Public Primary Certification Authority - G4"
+# Serial: 63143484348153506665311985501458640051
+# MD5 Fingerprint: 3a:52:e1:e7:fd:6f:3a:e3:6f:f3:6f:99:1b:f9:22:41
+# SHA1 Fingerprint: 22:d5:d8:df:8f:02:31:d1:8d:f7:9d:b7:cf:8a:2d:64:c9:3f:6c:3a
+# SHA256 Fingerprint: 69:dd:d7:ea:90:bb:57:c9:3e:13:5d:c8:5e:a6:fc:d5:48:0b:60:32:39:bd:c4:54:fc:75:8b:2a:26:cf:7f:79
+-----BEGIN CERTIFICATE-----
+MIIDhDCCAwqgAwIBAgIQL4D+I4wOIg9IZxIokYesszAKBggqhkjOPQQDAzCByjEL
+MAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZW
+ZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNyBWZXJpU2ln
+biwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxWZXJp
+U2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9y
+aXR5IC0gRzQwHhcNMDcxMTA1MDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCByjELMAkG
+A1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJp
+U2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNyBWZXJpU2lnbiwg
+SW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxWZXJpU2ln
+biBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5
+IC0gRzQwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAASnVnp8Utpkmw4tXNherJI9/gHm
+GUo9FANL+mAnINmDiWn6VMaaGF5VKmTeBvaNSjutEDxlPZCIBIngMGGzrl0Bp3ve
+fLK+ymVhAIau2o970ImtTR1ZmkGxvEeA3J5iw/mjgbIwga8wDwYDVR0TAQH/BAUw
+AwEB/zAOBgNVHQ8BAf8EBAMCAQYwbQYIKwYBBQUHAQwEYTBfoV2gWzBZMFcwVRYJ
+aW1hZ2UvZ2lmMCEwHzAHBgUrDgMCGgQUj+XTGoasjY5rw8+AatRIGCx7GS4wJRYj
+aHR0cDovL2xvZ28udmVyaXNpZ24uY29tL3ZzbG9nby5naWYwHQYDVR0OBBYEFLMW
+kf3upm7ktS5Jj4d4gYDs5bG1MAoGCCqGSM49BAMDA2gAMGUCMGYhDBgmYFo4e1ZC
+4Kf8NoRRkSAsdk1DPcQdhCPQrNZ8NQbOzWm9kA3bbEhCHQ6qQgIxAJw9SDkjOVga
+FRJZap7v1VmyHVIsmXHNxynfGyphe3HR3vPA5Q06Sqotp9iGKt0uEA==
+-----END CERTIFICATE-----
+
+# Issuer: O=VeriSign, Inc. OU=Class 3 Public Primary Certification Authority
+# Subject: O=VeriSign, Inc. OU=Class 3 Public Primary Certification Authority
+# Label: "Verisign Class 3 Public Primary Certification Authority"
+# Serial: 80507572722862485515306429940691309246
+# MD5 Fingerprint: ef:5a:f1:33:ef:f1:cd:bb:51:02:ee:12:14:4b:96:c4
+# SHA1 Fingerprint: a1:db:63:93:91:6f:17:e4:18:55:09:40:04:15:c7:02:40:b0:ae:6b
+# SHA256 Fingerprint: a4:b6:b3:99:6f:c2:f3:06:b3:fd:86:81:bd:63:41:3d:8c:50:09:cc:4f:a3:29:c2:cc:f0:e2:fa:1b:14:03:05
+-----BEGIN CERTIFICATE-----
+MIICPDCCAaUCEDyRMcsf9tAbDpq40ES/Er4wDQYJKoZIhvcNAQEFBQAwXzELMAkG
+A1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFz
+cyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTk2
+MDEyOTAwMDAwMFoXDTI4MDgwMjIzNTk1OVowXzELMAkGA1UEBhMCVVMxFzAVBgNV
+BAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAzIFB1YmxpYyBQcmlt
+YXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIGfMA0GCSqGSIb3DQEBAQUAA4GN
+ADCBiQKBgQDJXFme8huKARS0EN8EQNvjV69qRUCPhAwL0TPZ2RHP7gJYHyX3KqhE
+BarsAx94f56TuZoAqiN91qyFomNFx3InzPRMxnVx0jnvT0Lwdd8KkMaOIG+YD/is
+I19wKTakyYbnsZogy1Olhec9vn2a/iRFM9x2Fe0PonFkTGUugWhFpwIDAQABMA0G
+CSqGSIb3DQEBBQUAA4GBABByUqkFFBkyCEHwxWsKzH4PIRnN5GfcX6kb5sroc50i
+2JhucwNhkcV8sEVAbkSdjbCxlnRhLQ2pRdKkkirWmnWXbj9T/UWZYB2oK0z5XqcJ
+2HUw19JlYD1n1khVdWk/kfVIC0dpImmClr7JyDiGSnoscxlIaU5rfGW/D/xwzoiQ
+-----END CERTIFICATE-----
+
+# Issuer: CN=GlobalSign O=GlobalSign OU=GlobalSign Root CA - R3
+# Subject: CN=GlobalSign O=GlobalSign OU=GlobalSign Root CA - R3
+# Label: "GlobalSign Root CA - R3"
+# Serial: 4835703278459759426209954
+# MD5 Fingerprint: c5:df:b8:49:ca:05:13:55:ee:2d:ba:1a:c3:3e:b0:28
+# SHA1 Fingerprint: d6:9b:56:11:48:f0:1c:77:c5:45:78:c1:09:26:df:5b:85:69:76:ad
+# SHA256 Fingerprint: cb:b5:22:d7:b7:f1:27:ad:6a:01:13:86:5b:df:1c:d4:10:2e:7d:07:59:af:63:5a:7c:f4:72:0d:c9:63:c5:3b
+-----BEGIN CERTIFICATE-----
+MIIDXzCCAkegAwIBAgILBAAAAAABIVhTCKIwDQYJKoZIhvcNAQELBQAwTDEgMB4G
+A1UECxMXR2xvYmFsU2lnbiBSb290IENBIC0gUjMxEzARBgNVBAoTCkdsb2JhbFNp
+Z24xEzARBgNVBAMTCkdsb2JhbFNpZ24wHhcNMDkwMzE4MTAwMDAwWhcNMjkwMzE4
+MTAwMDAwWjBMMSAwHgYDVQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEG
+A1UEChMKR2xvYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFsU2lnbjCCASIwDQYJKoZI
+hvcNAQEBBQADggEPADCCAQoCggEBAMwldpB5BngiFvXAg7aEyiie/QV2EcWtiHL8
+RgJDx7KKnQRfJMsuS+FggkbhUqsMgUdwbN1k0ev1LKMPgj0MK66X17YUhhB5uzsT
+gHeMCOFJ0mpiLx9e+pZo34knlTifBtc+ycsmWQ1z3rDI6SYOgxXG71uL0gRgykmm
+KPZpO/bLyCiR5Z2KYVc3rHQU3HTgOu5yLy6c+9C7v/U9AOEGM+iCK65TpjoWc4zd
+QQ4gOsC0p6Hpsk+QLjJg6VfLuQSSaGjlOCZgdbKfd/+RFO+uIEn8rUAVSNECMWEZ
+XriX7613t2Saer9fwRPvm2L7DWzgVGkWqQPabumDk3F2xmmFghcCAwEAAaNCMEAw
+DgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFI/wS3+o
+LkUkrk1Q+mOai97i3Ru8MA0GCSqGSIb3DQEBCwUAA4IBAQBLQNvAUKr+yAzv95ZU
+RUm7lgAJQayzE4aGKAczymvmdLm6AC2upArT9fHxD4q/c2dKg8dEe3jgr25sbwMp
+jjM5RcOO5LlXbKr8EpbsU8Yt5CRsuZRj+9xTaGdWPoO4zzUhw8lo/s7awlOqzJCK
+6fBdRoyV3XpYKBovHd7NADdBj+1EbddTKJd+82cEHhXXipa0095MJ6RMG3NzdvQX
+mcIfeg7jLQitChws/zyrVQ4PkX4268NXSb7hLi18YIvDQVETI53O9zJrlAGomecs
+Mx86OyXShkDOOyyGeMlhLxS67ttVb9+E7gUJTb0o2HLO02JQZR7rkpeDMdmztcpH
+WD9f
+-----END CERTIFICATE-----
+
+# Issuer: CN=TC TrustCenter Universal CA III O=TC TrustCenter GmbH OU=TC TrustCenter Universal CA
+# Subject: CN=TC TrustCenter Universal CA III O=TC TrustCenter GmbH OU=TC TrustCenter Universal CA
+# Label: "TC TrustCenter Universal CA III"
+# Serial: 2010889993983507346460533407902964
+# MD5 Fingerprint: 9f:dd:db:ab:ff:8e:ff:45:21:5f:f0:6c:9d:8f:fe:2b
+# SHA1 Fingerprint: 96:56:cd:7b:57:96:98:95:d0:e1:41:46:68:06:fb:b8:c6:11:06:87
+# SHA256 Fingerprint: 30:9b:4a:87:f6:ca:56:c9:31:69:aa:a9:9c:6d:98:88:54:d7:89:2b:d5:43:7e:2d:07:b2:9c:be:da:55:d3:5d
+-----BEGIN CERTIFICATE-----
+MIID4TCCAsmgAwIBAgIOYyUAAQACFI0zFQLkbPQwDQYJKoZIhvcNAQEFBQAwezEL
+MAkGA1UEBhMCREUxHDAaBgNVBAoTE1RDIFRydXN0Q2VudGVyIEdtYkgxJDAiBgNV
+BAsTG1RDIFRydXN0Q2VudGVyIFVuaXZlcnNhbCBDQTEoMCYGA1UEAxMfVEMgVHJ1
+c3RDZW50ZXIgVW5pdmVyc2FsIENBIElJSTAeFw0wOTA5MDkwODE1MjdaFw0yOTEy
+MzEyMzU5NTlaMHsxCzAJBgNVBAYTAkRFMRwwGgYDVQQKExNUQyBUcnVzdENlbnRl
+ciBHbWJIMSQwIgYDVQQLExtUQyBUcnVzdENlbnRlciBVbml2ZXJzYWwgQ0ExKDAm
+BgNVBAMTH1RDIFRydXN0Q2VudGVyIFVuaXZlcnNhbCBDQSBJSUkwggEiMA0GCSqG
+SIb3DQEBAQUAA4IBDwAwggEKAoIBAQDC2pxisLlxErALyBpXsq6DFJmzNEubkKLF
+5+cvAqBNLaT6hdqbJYUtQCggbergvbFIgyIpRJ9Og+41URNzdNW88jBmlFPAQDYv
+DIRlzg9uwliT6CwLOunBjvvya8o84pxOjuT5fdMnnxvVZ3iHLX8LR7PH6MlIfK8v
+zArZQe+f/prhsq75U7Xl6UafYOPfjdN/+5Z+s7Vy+EutCHnNaYlAJ/Uqwa1D7KRT
+yGG299J5KmcYdkhtWyUB0SbFt1dpIxVbYYqt8Bst2a9c8SaQaanVDED1M4BDj5yj
+dipFtK+/fz6HP3bFzSreIMUWWMv5G/UPyw0RUmS40nZid4PxWJ//AgMBAAGjYzBh
+MB8GA1UdIwQYMBaAFFbn4VslQ4Dg9ozhcbyO5YAvxEjiMA8GA1UdEwEB/wQFMAMB
+Af8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBRW5+FbJUOA4PaM4XG8juWAL8RI
+4jANBgkqhkiG9w0BAQUFAAOCAQEAg8ev6n9NCjw5sWi+e22JLumzCecYV42Fmhfz
+dkJQEw/HkG8zrcVJYCtsSVgZ1OK+t7+rSbyUyKu+KGwWaODIl0YgoGhnYIg5IFHY
+aAERzqf2EQf27OysGh+yZm5WZ2B6dF7AbZc2rrUNXWZzwCUyRdhKBgePxLcHsU0G
+DeGl6/R1yrqc0L2z0zIkTO5+4nYES0lT2PLpVDP85XEfPRRclkvxOvIAu2y0+pZV
+CIgJwcyRGSmwIC3/yzikQOEXvnlhgP8HA4ZMTnsGnxGGjYnuJ8Tb4rwZjgvDwxPH
+LQNjO9Po5KIqwoIIlBZU8O8fJ5AluA0OKBtHd0e9HKgl8ZS0Zg==
+-----END CERTIFICATE-----
+
+# Issuer: CN=Go Daddy Root Certificate Authority - G2 O=GoDaddy.com, Inc.
+# Subject: CN=Go Daddy Root Certificate Authority - G2 O=GoDaddy.com, Inc.
+# Label: "Go Daddy Root Certificate Authority - G2"
+# Serial: 0
+# MD5 Fingerprint: 80:3a:bc:22:c1:e6:fb:8d:9b:3b:27:4a:32:1b:9a:01
+# SHA1 Fingerprint: 47:be:ab:c9:22:ea:e8:0e:78:78:34:62:a7:9f:45:c2:54:fd:e6:8b
+# SHA256 Fingerprint: 45:14:0b:32:47:eb:9c:c8:c5:b4:f0:d7:b5:30:91:f7:32:92:08:9e:6e:5a:63:e2:74:9d:d3:ac:a9:19:8e:da
+-----BEGIN CERTIFICATE-----
+MIIDxTCCAq2gAwIBAgIBADANBgkqhkiG9w0BAQsFADCBgzELMAkGA1UEBhMCVVMx
+EDAOBgNVBAgTB0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxGjAYBgNVBAoT
+EUdvRGFkZHkuY29tLCBJbmMuMTEwLwYDVQQDEyhHbyBEYWRkeSBSb290IENlcnRp
+ZmljYXRlIEF1dGhvcml0eSAtIEcyMB4XDTA5MDkwMTAwMDAwMFoXDTM3MTIzMTIz
+NTk1OVowgYMxCzAJBgNVBAYTAlVTMRAwDgYDVQQIEwdBcml6b25hMRMwEQYDVQQH
+EwpTY290dHNkYWxlMRowGAYDVQQKExFHb0RhZGR5LmNvbSwgSW5jLjExMC8GA1UE
+AxMoR28gRGFkZHkgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkgLSBHMjCCASIw
+DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL9xYgjx+lk09xvJGKP3gElY6SKD
+E6bFIEMBO4Tx5oVJnyfq9oQbTqC023CYxzIBsQU+B07u9PpPL1kwIuerGVZr4oAH
+/PMWdYA5UXvl+TW2dE6pjYIT5LY/qQOD+qK+ihVqf94Lw7YZFAXK6sOoBJQ7Rnwy
+DfMAZiLIjWltNowRGLfTshxgtDj6AozO091GB94KPutdfMh8+7ArU6SSYmlRJQVh
+GkSBjCypQ5Yj36w6gZoOKcUcqeldHraenjAKOc7xiID7S13MMuyFYkMlNAJWJwGR
+tDtwKj9useiciAF9n9T521NtYJ2/LOdYq7hfRvzOxBsDPAnrSTFcaUaz4EcCAwEA
+AaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYE
+FDqahQcQZyi27/a9BUFuIMGU2g/eMA0GCSqGSIb3DQEBCwUAA4IBAQCZ21151fmX
+WWcDYfF+OwYxdS2hII5PZYe096acvNjpL9DbWu7PdIxztDhC2gV7+AJ1uP2lsdeu
+9tfeE8tTEH6KRtGX+rcuKxGrkLAngPnon1rpN5+r5N9ss4UXnT3ZJE95kTXWXwTr
+gIOrmgIttRD02JDHBHNA7XIloKmf7J6raBKZV8aPEjoJpL1E/QYVN8Gb5DKj7Tjo
+2GTzLH4U/ALqn83/B2gX2yKQOC16jdFU8WnjXzPKej17CuPKf1855eJ1usV2GDPO
+LPAvTK33sefOT6jEm0pUBsV/fdUID+Ic/n4XuKxe9tQWskMJDE32p2u0mYRlynqI
+4uJEvlz36hz1
+-----END CERTIFICATE-----
+
+# Issuer: CN=Starfield Root Certificate Authority - G2 O=Starfield Technologies, Inc.
+# Subject: CN=Starfield Root Certificate Authority - G2 O=Starfield Technologies, Inc.
+# Label: "Starfield Root Certificate Authority - G2"
+# Serial: 0
+# MD5 Fingerprint: d6:39:81:c6:52:7e:96:69:fc:fc:ca:66:ed:05:f2:96
+# SHA1 Fingerprint: b5:1c:06:7c:ee:2b:0c:3d:f8:55:ab:2d:92:f4:fe:39:d4:e7:0f:0e
+# SHA256 Fingerprint: 2c:e1:cb:0b:f9:d2:f9:e1:02:99:3f:be:21:51:52:c3:b2:dd:0c:ab:de:1c:68:e5:31:9b:83:91:54:db:b7:f5
+-----BEGIN CERTIFICATE-----
+MIID3TCCAsWgAwIBAgIBADANBgkqhkiG9w0BAQsFADCBjzELMAkGA1UEBhMCVVMx
+EDAOBgNVBAgTB0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxJTAjBgNVBAoT
+HFN0YXJmaWVsZCBUZWNobm9sb2dpZXMsIEluYy4xMjAwBgNVBAMTKVN0YXJmaWVs
+ZCBSb290IENlcnRpZmljYXRlIEF1dGhvcml0eSAtIEcyMB4XDTA5MDkwMTAwMDAw
+MFoXDTM3MTIzMTIzNTk1OVowgY8xCzAJBgNVBAYTAlVTMRAwDgYDVQQIEwdBcml6
+b25hMRMwEQYDVQQHEwpTY290dHNkYWxlMSUwIwYDVQQKExxTdGFyZmllbGQgVGVj
+aG5vbG9naWVzLCBJbmMuMTIwMAYDVQQDEylTdGFyZmllbGQgUm9vdCBDZXJ0aWZp
+Y2F0ZSBBdXRob3JpdHkgLSBHMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
+ggEBAL3twQP89o/8ArFvW59I2Z154qK3A2FWGMNHttfKPTUuiUP3oWmb3ooa/RMg
+nLRJdzIpVv257IzdIvpy3Cdhl+72WoTsbhm5iSzchFvVdPtrX8WJpRBSiUZV9Lh1
+HOZ/5FSuS/hVclcCGfgXcVnrHigHdMWdSL5stPSksPNkN3mSwOxGXn/hbVNMYq/N
+Hwtjuzqd+/x5AJhhdM8mgkBj87JyahkNmcrUDnXMN/uLicFZ8WJ/X7NfZTD4p7dN
+dloedl40wOiWVpmKs/B/pM293DIxfJHP4F8R+GuqSVzRmZTRouNjWwl2tVZi4Ut0
+HZbUJtQIBFnQmA4O5t78w+wfkPECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAO
+BgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFHwMMh+n2TB/xH1oo2Kooc6rB1snMA0G
+CSqGSIb3DQEBCwUAA4IBAQARWfolTwNvlJk7mh+ChTnUdgWUXuEok21iXQnCoKjU
+sHU48TRqneSfioYmUeYs0cYtbpUgSpIB7LiKZ3sx4mcujJUDJi5DnUox9g61DLu3
+4jd/IroAow57UvtruzvE03lRTs2Q9GcHGcg8RnoNAX3FWOdt5oUwF5okxBDgBPfg
+8n/Uqgr/Qh037ZTlZFkSIHc40zI+OIF1lnP6aI+xy84fxez6nH7PfrHxBy22/L/K
+pL/QlwVKvOoYKAKQvVR4CSFx09F9HdkWsKlhPdAKACL8x3vLCWRFCztAgfd9fDL1
+mMpYjn0q7pBZc2T5NnReJaH1ZgUufzkVqSr7UIuOhWn0
+-----END CERTIFICATE-----
+
+# Issuer: CN=Starfield Services Root Certificate Authority - G2 O=Starfield Technologies, Inc.
+# Subject: CN=Starfield Services Root Certificate Authority - G2 O=Starfield Technologies, Inc.
+# Label: "Starfield Services Root Certificate Authority - G2"
+# Serial: 0
+# MD5 Fingerprint: 17:35:74:af:7b:61:1c:eb:f4:f9:3c:e2:ee:40:f9:a2
+# SHA1 Fingerprint: 92:5a:8f:8d:2c:6d:04:e0:66:5f:59:6a:ff:22:d8:63:e8:25:6f:3f
+# SHA256 Fingerprint: 56:8d:69:05:a2:c8:87:08:a4:b3:02:51:90:ed:cf:ed:b1:97:4a:60:6a:13:c6:e5:29:0f:cb:2a:e6:3e:da:b5
+-----BEGIN CERTIFICATE-----
+MIID7zCCAtegAwIBAgIBADANBgkqhkiG9w0BAQsFADCBmDELMAkGA1UEBhMCVVMx
+EDAOBgNVBAgTB0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxJTAjBgNVBAoT
+HFN0YXJmaWVsZCBUZWNobm9sb2dpZXMsIEluYy4xOzA5BgNVBAMTMlN0YXJmaWVs
+ZCBTZXJ2aWNlcyBSb290IENlcnRpZmljYXRlIEF1dGhvcml0eSAtIEcyMB4XDTA5
+MDkwMTAwMDAwMFoXDTM3MTIzMTIzNTk1OVowgZgxCzAJBgNVBAYTAlVTMRAwDgYD
+VQQIEwdBcml6b25hMRMwEQYDVQQHEwpTY290dHNkYWxlMSUwIwYDVQQKExxTdGFy
+ZmllbGQgVGVjaG5vbG9naWVzLCBJbmMuMTswOQYDVQQDEzJTdGFyZmllbGQgU2Vy
+dmljZXMgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkgLSBHMjCCASIwDQYJKoZI
+hvcNAQEBBQADggEPADCCAQoCggEBANUMOsQq+U7i9b4Zl1+OiFOxHz/Lz58gE20p
+OsgPfTz3a3Y4Y9k2YKibXlwAgLIvWX/2h/klQ4bnaRtSmpDhcePYLQ1Ob/bISdm2
+8xpWriu2dBTrz/sm4xq6HZYuajtYlIlHVv8loJNwU4PahHQUw2eeBGg6345AWh1K
+Ts9DkTvnVtYAcMtS7nt9rjrnvDH5RfbCYM8TWQIrgMw0R9+53pBlbQLPLJGmpufe
+hRhJfGZOozptqbXuNC66DQO4M99H67FrjSXZm86B0UVGMpZwh94CDklDhbZsc7tk
+6mFBrMnUVN+HL8cisibMn1lUaJ/8viovxFUcdUBgF4UCVTmLfwUCAwEAAaNCMEAw
+DwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFJxfAN+q
+AdcwKziIorhtSpzyEZGDMA0GCSqGSIb3DQEBCwUAA4IBAQBLNqaEd2ndOxmfZyMI
+bw5hyf2E3F/YNoHN2BtBLZ9g3ccaaNnRbobhiCPPE95Dz+I0swSdHynVv/heyNXB
+ve6SbzJ08pGCL72CQnqtKrcgfU28elUSwhXqvfdqlS5sdJ/PHLTyxQGjhdByPq1z
+qwubdQxtRbeOlKyWN7Wg0I8VRw7j6IPdj/3vQQF3zCepYoUz8jcI73HPdwbeyBkd
+iEDPfUYd/x7H4c7/I9vG+o1VTqkC50cRRj70/b17KSa7qWFiNyi2LSr2EIZkyXCn
+0q23KXB56jzaYyWf/Wi3MOxw+3WKt21gZ7IeyLnp2KhvAotnDU0mV3HaIPzBSlCN
+sSi6
+-----END CERTIFICATE-----
+
+# Issuer: CN=AffirmTrust Commercial O=AffirmTrust
+# Subject: CN=AffirmTrust Commercial O=AffirmTrust
+# Label: "AffirmTrust Commercial"
+# Serial: 8608355977964138876
+# MD5 Fingerprint: 82:92:ba:5b:ef:cd:8a:6f:a6:3d:55:f9:84:f6:d6:b7
+# SHA1 Fingerprint: f9:b5:b6:32:45:5f:9c:be:ec:57:5f:80:dc:e9:6e:2c:c7:b2:78:b7
+# SHA256 Fingerprint: 03:76:ab:1d:54:c5:f9:80:3c:e4:b2:e2:01:a0:ee:7e:ef:7b:57:b6:36:e8:a9:3c:9b:8d:48:60:c9:6f:5f:a7
+-----BEGIN CERTIFICATE-----
+MIIDTDCCAjSgAwIBAgIId3cGJyapsXwwDQYJKoZIhvcNAQELBQAwRDELMAkGA1UE
+BhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZpcm1UcnVz
+dCBDb21tZXJjaWFsMB4XDTEwMDEyOTE0MDYwNloXDTMwMTIzMTE0MDYwNlowRDEL
+MAkGA1UEBhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZp
+cm1UcnVzdCBDb21tZXJjaWFsMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC
+AQEA9htPZwcroRX1BiLLHwGy43NFBkRJLLtJJRTWzsO3qyxPxkEylFf6EqdbDuKP
+Hx6GGaeqtS25Xw2Kwq+FNXkyLbscYjfysVtKPcrNcV/pQr6U6Mje+SJIZMblq8Yr
+ba0F8PrVC8+a5fBQpIs7R6UjW3p6+DM/uO+Zl+MgwdYoic+U+7lF7eNAFxHUdPAL
+MeIrJmqbTFeurCA+ukV6BfO9m2kVrn1OIGPENXY6BwLJN/3HR+7o8XYdcxXyl6S1
+yHp52UKqK39c/s4mT6NmgTWvRLpUHhwwMmWd5jyTXlBOeuM61G7MGvv50jeuJCqr
+VwMiKA1JdX+3KNp1v47j3A55MQIDAQABo0IwQDAdBgNVHQ4EFgQUnZPGU4teyq8/
+nx4P5ZmVvCT2lI8wDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwDQYJ
+KoZIhvcNAQELBQADggEBAFis9AQOzcAN/wr91LoWXym9e2iZWEnStB03TX8nfUYG
+XUPGhi4+c7ImfU+TqbbEKpqrIZcUsd6M06uJFdhrJNTxFq7YpFzUf1GO7RgBsZNj
+vbz4YYCanrHOQnDiqX0GJX0nof5v7LMeJNrjS1UaADs1tDvZ110w/YETifLCBivt
+Z8SOyUOyXGsViQK8YvxO8rUzqrJv0wqiUOP2O+guRMLbZjipM1ZI8W0bM40NjD9g
+N53Tym1+NH4Nn3J2ixufcv1SNUFFApYvHLKac0khsUlHRUe072o0EclNmsxZt9YC
+nlpOZbWUrhvfKbAW8b8Angc6F2S1BLUjIZkKlTuXfO8=
+-----END CERTIFICATE-----
+
+# Issuer: CN=AffirmTrust Networking O=AffirmTrust
+# Subject: CN=AffirmTrust Networking O=AffirmTrust
+# Label: "AffirmTrust Networking"
+# Serial: 8957382827206547757
+# MD5 Fingerprint: 42:65:ca:be:01:9a:9a:4c:a9:8c:41:49:cd:c0:d5:7f
+# SHA1 Fingerprint: 29:36:21:02:8b:20:ed:02:f5:66:c5:32:d1:d6:ed:90:9f:45:00:2f
+# SHA256 Fingerprint: 0a:81:ec:5a:92:97:77:f1:45:90:4a:f3:8d:5d:50:9f:66:b5:e2:c5:8f:cd:b5:31:05:8b:0e:17:f3:f0:b4:1b
+-----BEGIN CERTIFICATE-----
+MIIDTDCCAjSgAwIBAgIIfE8EORzUmS0wDQYJKoZIhvcNAQEFBQAwRDELMAkGA1UE
+BhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZpcm1UcnVz
+dCBOZXR3b3JraW5nMB4XDTEwMDEyOTE0MDgyNFoXDTMwMTIzMTE0MDgyNFowRDEL
+MAkGA1UEBhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZp
+cm1UcnVzdCBOZXR3b3JraW5nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC
+AQEAtITMMxcua5Rsa2FSoOujz3mUTOWUgJnLVWREZY9nZOIG41w3SfYvm4SEHi3y
+YJ0wTsyEheIszx6e/jarM3c1RNg1lho9Nuh6DtjVR6FqaYvZ/Ls6rnla1fTWcbua
+kCNrmreIdIcMHl+5ni36q1Mr3Lt2PpNMCAiMHqIjHNRqrSK6mQEubWXLviRmVSRL
+QESxG9fhwoXA3hA/Pe24/PHxI1Pcv2WXb9n5QHGNfb2V1M6+oF4nI979ptAmDgAp
+6zxG8D1gvz9Q0twmQVGeFDdCBKNwV6gbh+0t+nvujArjqWaJGctB+d1ENmHP4ndG
+yH329JKBNv3bNPFyfvMMFr20FQIDAQABo0IwQDAdBgNVHQ4EFgQUBx/S55zawm6i
+QLSwelAQUHTEyL0wDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwDQYJ
+KoZIhvcNAQEFBQADggEBAIlXshZ6qML91tmbmzTCnLQyFE2npN/svqe++EPbkTfO
+tDIuUFUaNU52Q3Eg75N3ThVwLofDwR1t3Mu1J9QsVtFSUzpE0nPIxBsFZVpikpzu
+QY0x2+c06lkh1QF612S4ZDnNye2v7UsDSKegmQGA3GWjNq5lWUhPgkvIZfFXHeVZ
+Lgo/bNjR9eUJtGxUAArgFU2HdW23WJZa3W3SAKD0m0i+wzekujbgfIeFlxoVot4u
+olu9rxj5kFDNcFn4J2dHy8egBzp90SxdbBk6ZrV9/ZFvgrG+CJPbFEfxojfHRZ48
+x3evZKiT3/Zpg4Jg8klCNO1aAFSFHBY2kgxc+qatv9s=
+-----END CERTIFICATE-----
+
+# Issuer: CN=AffirmTrust Premium O=AffirmTrust
+# Subject: CN=AffirmTrust Premium O=AffirmTrust
+# Label: "AffirmTrust Premium"
+# Serial: 7893706540734352110
+# MD5 Fingerprint: c4:5d:0e:48:b6:ac:28:30:4e:0a:bc:f9:38:16:87:57
+# SHA1 Fingerprint: d8:a6:33:2c:e0:03:6f:b1:85:f6:63:4f:7d:6a:06:65:26:32:28:27
+# SHA256 Fingerprint: 70:a7:3f:7f:37:6b:60:07:42:48:90:45:34:b1:14:82:d5:bf:0e:69:8e:cc:49:8d:f5:25:77:eb:f2:e9:3b:9a
+-----BEGIN CERTIFICATE-----
+MIIFRjCCAy6gAwIBAgIIbYwURrGmCu4wDQYJKoZIhvcNAQEMBQAwQTELMAkGA1UE
+BhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MRwwGgYDVQQDDBNBZmZpcm1UcnVz
+dCBQcmVtaXVtMB4XDTEwMDEyOTE0MTAzNloXDTQwMTIzMTE0MTAzNlowQTELMAkG
+A1UEBhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MRwwGgYDVQQDDBNBZmZpcm1U
+cnVzdCBQcmVtaXVtMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAxBLf
+qV/+Qd3d9Z+K4/as4Tx4mrzY8H96oDMq3I0gW64tb+eT2TZwamjPjlGjhVtnBKAQ
+JG9dKILBl1fYSCkTtuG+kU3fhQxTGJoeJKJPj/CihQvL9Cl/0qRY7iZNyaqoe5rZ
++jjeRFcV5fiMyNlI4g0WJx0eyIOFJbe6qlVBzAMiSy2RjYvmia9mx+n/K+k8rNrS
+s8PhaJyJ+HoAVt70VZVs+7pk3WKL3wt3MutizCaam7uqYoNMtAZ6MMgpv+0GTZe5
+HMQxK9VfvFMSF5yZVylmd2EhMQcuJUmdGPLu8ytxjLW6OQdJd/zvLpKQBY0tL3d7
+70O/Nbua2Plzpyzy0FfuKE4mX4+QaAkvuPjcBukumj5Rp9EixAqnOEhss/n/fauG
+V+O61oV4d7pD6kh/9ti+I20ev9E2bFhc8e6kGVQa9QPSdubhjL08s9NIS+LI+H+S
+qHZGnEJlPqQewQcDWkYtuJfzt9WyVSHvutxMAJf7FJUnM7/oQ0dG0giZFmA7mn7S
+5u046uwBHjxIVkkJx0w3AJ6IDsBz4W9m6XJHMD4Q5QsDyZpCAGzFlH5hxIrff4Ia
+C1nEWTJ3s7xgaVY5/bQGeyzWZDbZvUjthB9+pSKPKrhC9IK31FOQeE4tGv2Bb0TX
+OwF0lkLgAOIua+rF7nKsu7/+6qqo+Nz2snmKtmcCAwEAAaNCMEAwHQYDVR0OBBYE
+FJ3AZ6YMItkm9UWrpmVSESfYRaxjMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/
+BAQDAgEGMA0GCSqGSIb3DQEBDAUAA4ICAQCzV00QYk465KzquByvMiPIs0laUZx2
+KI15qldGF9X1Uva3ROgIRL8YhNILgM3FEv0AVQVhh0HctSSePMTYyPtwni94loMg
+Nt58D2kTiKV1NpgIpsbfrM7jWNa3Pt668+s0QNiigfV4Py/VpfzZotReBA4Xrf5B
+8OWycvpEgjNC6C1Y91aMYj+6QrCcDFx+LmUmXFNPALJ4fqENmS2NuB2OosSw/WDQ
+MKSOyARiqcTtNd56l+0OOF6SL5Nwpamcb6d9Ex1+xghIsV5n61EIJenmJWtSKZGc
+0jlzCFfemQa0W50QBuHCAKi4HEoCChTQwUHK+4w1IX2COPKpVJEZNZOUbWo6xbLQ
+u4mGk+ibyQ86p3q4ofB4Rvr8Ny/lioTz3/4E2aFooC8k4gmVBtWVyuEklut89pMF
+u+1z6S3RdTnX5yTb2E5fQ4+e0BQ5v1VwSJlXMbSc7kqYA5YwH2AG7hsj/oFgIxpH
+YoWlzBk0gG+zrBrjn/B7SK3VAdlntqlyk+otZrWyuOQ9PLLvTIzq6we/qzWaVYa8
+GKa1qF60g2xraUDTn9zxw2lrueFtCfTxqlB2Cnp9ehehVZZCmTEJ3WARjQUwfuaO
+RtGdFNrHF+QFlozEJLUbzxQHskD4o55BhrwE0GuWyCqANP2/7waj3VjFhT0+j/6e
+KeC2uAloGRwYQw==
+-----END CERTIFICATE-----
+
+# Issuer: CN=AffirmTrust Premium ECC O=AffirmTrust
+# Subject: CN=AffirmTrust Premium ECC O=AffirmTrust
+# Label: "AffirmTrust Premium ECC"
+# Serial: 8401224907861490260
+# MD5 Fingerprint: 64:b0:09:55:cf:b1:d5:99:e2:be:13:ab:a6:5d:ea:4d
+# SHA1 Fingerprint: b8:23:6b:00:2f:1d:16:86:53:01:55:6c:11:a4:37:ca:eb:ff:c3:bb
+# SHA256 Fingerprint: bd:71:fd:f6:da:97:e4:cf:62:d1:64:7a:dd:25:81:b0:7d:79:ad:f8:39:7e:b4:ec:ba:9c:5e:84:88:82:14:23
+-----BEGIN CERTIFICATE-----
+MIIB/jCCAYWgAwIBAgIIdJclisc/elQwCgYIKoZIzj0EAwMwRTELMAkGA1UEBhMC
+VVMxFDASBgNVBAoMC0FmZmlybVRydXN0MSAwHgYDVQQDDBdBZmZpcm1UcnVzdCBQ
+cmVtaXVtIEVDQzAeFw0xMDAxMjkxNDIwMjRaFw00MDEyMzExNDIwMjRaMEUxCzAJ
+BgNVBAYTAlVTMRQwEgYDVQQKDAtBZmZpcm1UcnVzdDEgMB4GA1UEAwwXQWZmaXJt
+VHJ1c3QgUHJlbWl1bSBFQ0MwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQNMF4bFZ0D
+0KF5Nbc6PJJ6yhUczWLznCZcBz3lVPqj1swS6vQUX+iOGasvLkjmrBhDeKzQN8O9
+ss0s5kfiGuZjuD0uL3jET9v0D6RoTFVya5UdThhClXjMNzyR4ptlKymjQjBAMB0G
+A1UdDgQWBBSaryl6wBE1NSZRMADDav5A1a7WPDAPBgNVHRMBAf8EBTADAQH/MA4G
+A1UdDwEB/wQEAwIBBjAKBggqhkjOPQQDAwNnADBkAjAXCfOHiFBar8jAQr9HX/Vs
+aobgxCd05DhT1wV/GzTjxi+zygk8N53X57hG8f2h4nECMEJZh0PUUd+60wkyWs6I
+flc9nF9Ca/UHLbXwgpP5WW+uZPpY5Yse42O+tYHNbwKMeQ==
+-----END CERTIFICATE-----
+
+# Issuer: CN=StartCom Certification Authority O=StartCom Ltd. OU=Secure Digital Certificate Signing
+# Subject: CN=StartCom Certification Authority O=StartCom Ltd. OU=Secure Digital Certificate Signing
+# Label: "StartCom Certification Authority"
+# Serial: 45
+# MD5 Fingerprint: c9:3b:0d:84:41:fc:a4:76:79:23:08:57:de:10:19:16
+# SHA1 Fingerprint: a3:f1:33:3f:e2:42:bf:cf:c5:d1:4e:8f:39:42:98:40:68:10:d1:a0
+# SHA256 Fingerprint: e1:78:90:ee:09:a3:fb:f4:f4:8b:9c:41:4a:17:d6:37:b7:a5:06:47:e9:bc:75:23:22:72:7f:cc:17:42:a9:11
+-----BEGIN CERTIFICATE-----
+MIIHhzCCBW+gAwIBAgIBLTANBgkqhkiG9w0BAQsFADB9MQswCQYDVQQGEwJJTDEW
+MBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwg
+Q2VydGlmaWNhdGUgU2lnbmluZzEpMCcGA1UEAxMgU3RhcnRDb20gQ2VydGlmaWNh
+dGlvbiBBdXRob3JpdHkwHhcNMDYwOTE3MTk0NjM3WhcNMzYwOTE3MTk0NjM2WjB9
+MQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMi
+U2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzEpMCcGA1UEAxMgU3Rh
+cnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUA
+A4ICDwAwggIKAoICAQDBiNsJvGxGfHiflXu1M5DycmLWwTYgIiRezul38kMKogZk
+pMyONvg45iPwbm2xPN1yo4UcodM9tDMr0y+v/uqwQVlntsQGfQqedIXWeUyAN3rf
+OQVSWff0G0ZDpNKFhdLDcfN1YjS6LIp/Ho/u7TTQEceWzVI9ujPW3U3eCztKS5/C
+Ji/6tRYccjV3yjxd5srhJosaNnZcAdt0FCX+7bWgiA/deMotHweXMAEtcnn6RtYT
+Kqi5pquDSR3l8u/d5AGOGAqPY1MWhWKpDhk6zLVmpsJrdAfkK+F2PrRt2PZE4XNi
+HzvEvqBTViVsUQn3qqvKv3b9bZvzndu/PWa8DFaqr5hIlTpL36dYUNk4dalb6kMM
+Av+Z6+hsTXBbKWWc3apdzK8BMewM69KN6Oqce+Zu9ydmDBpI125C4z/eIT574Q1w
++2OqqGwaVLRcJXrJosmLFqa7LH4XXgVNWG4SHQHuEhANxjJ/GP/89PrNbpHoNkm+
+Gkhpi8KWTRoSsmkXwQqQ1vp5Iki/untp+HDH+no32NgN0nZPV/+Qt+OR0t3vwmC3
+Zzrd/qqc8NSLf3Iizsafl7b4r4qgEKjZ+xjGtrVcUjyJthkqcwEKDwOzEmDyei+B
+26Nu/yYwl/WL3YlXtq09s68rxbd2AvCl1iuahhQqcvbjM4xdCUsT37uMdBNSSwID
+AQABo4ICEDCCAgwwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYD
+VR0OBBYEFE4L7xqkQFulF2mHMMo0aEPQQa7yMB8GA1UdIwQYMBaAFE4L7xqkQFul
+F2mHMMo0aEPQQa7yMIIBWgYDVR0gBIIBUTCCAU0wggFJBgsrBgEEAYG1NwEBATCC
+ATgwLgYIKwYBBQUHAgEWImh0dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeS5w
+ZGYwNAYIKwYBBQUHAgEWKGh0dHA6Ly93d3cuc3RhcnRzc2wuY29tL2ludGVybWVk
+aWF0ZS5wZGYwgc8GCCsGAQUFBwICMIHCMCcWIFN0YXJ0IENvbW1lcmNpYWwgKFN0
+YXJ0Q29tKSBMdGQuMAMCAQEagZZMaW1pdGVkIExpYWJpbGl0eSwgcmVhZCB0aGUg
+c2VjdGlvbiAqTGVnYWwgTGltaXRhdGlvbnMqIG9mIHRoZSBTdGFydENvbSBDZXJ0
+aWZpY2F0aW9uIEF1dGhvcml0eSBQb2xpY3kgYXZhaWxhYmxlIGF0IGh0dHA6Ly93
+d3cuc3RhcnRzc2wuY29tL3BvbGljeS5wZGYwEQYJYIZIAYb4QgEBBAQDAgAHMDgG
+CWCGSAGG+EIBDQQrFilTdGFydENvbSBGcmVlIFNTTCBDZXJ0aWZpY2F0aW9uIEF1
+dGhvcml0eTANBgkqhkiG9w0BAQsFAAOCAgEAjo/n3JR5fPGFf59Jb2vKXfuM/gTF
+wWLRfUKKvFO3lANmMD+x5wqnUCBVJX92ehQN6wQOQOY+2IirByeDqXWmN3PH/UvS
+Ta0XQMhGvjt/UfzDtgUx3M2FIk5xt/JxXrAaxrqTi3iSSoX4eA+D/i+tLPfkpLst
+0OcNOrg+zvZ49q5HJMqjNTbOx8aHmNrs++myziebiMMEofYLWWivydsQD032ZGNc
+pRJvkrKTlMeIFw6Ttn5ii5B/q06f/ON1FE8qMt9bDeD1e5MNq6HPh+GlBEXoPBKl
+CcWw0bdT82AUuoVpaiF8H3VhFyAXe2w7QSlc4axa0c2Mm+tgHRns9+Ww2vl5GKVF
+P0lDV9LdJNUso/2RjSe15esUBppMeyG7Oq0wBhjA2MFrLH9ZXF2RsXAiV+uKa0hK
+1Q8p7MZAwC+ITGgBF3f0JBlPvfrhsiAhS90a2Cl9qrjeVOwhVYBsHvUwyKMQ5bLm
+KhQxw4UtjJixhlpPiVktucf3HMiKf8CdBUrmQk9io20ppB+Fq9vlgcitKj1MXVuE
+JnHEhV5xJMqlG2zYYdMa4FTbzrqpMrUi9nNBCV24F10OD5mQ1kfabwo6YigUZ4LZ
+8dCAWZvLMdibD4x3TrVoivJs9iQOLWxwxXPR3hTQcY+203sC9uO41Alua551hDnm
+fyWl8kgAwKQB2j8=
+-----END CERTIFICATE-----
+
+# Issuer: CN=StartCom Certification Authority G2 O=StartCom Ltd.
+# Subject: CN=StartCom Certification Authority G2 O=StartCom Ltd.
+# Label: "StartCom Certification Authority G2"
+# Serial: 59
+# MD5 Fingerprint: 78:4b:fb:9e:64:82:0a:d3:b8:4c:62:f3:64:f2:90:64
+# SHA1 Fingerprint: 31:f1:fd:68:22:63:20:ee:c6:3b:3f:9d:ea:4a:3e:53:7c:7c:39:17
+# SHA256 Fingerprint: c7:ba:65:67:de:93:a7:98:ae:1f:aa:79:1e:71:2d:37:8f:ae:1f:93:c4:39:7f:ea:44:1b:b7:cb:e6:fd:59:95
+-----BEGIN CERTIFICATE-----
+MIIFYzCCA0ugAwIBAgIBOzANBgkqhkiG9w0BAQsFADBTMQswCQYDVQQGEwJJTDEW
+MBQGA1UEChMNU3RhcnRDb20gTHRkLjEsMCoGA1UEAxMjU3RhcnRDb20gQ2VydGlm
+aWNhdGlvbiBBdXRob3JpdHkgRzIwHhcNMTAwMTAxMDEwMDAxWhcNMzkxMjMxMjM1
+OTAxWjBTMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjEsMCoG
+A1UEAxMjU3RhcnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgRzIwggIiMA0G
+CSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC2iTZbB7cgNr2Cu+EWIAOVeq8Oo1XJ
+JZlKxdBWQYeQTSFgpBSHO839sj60ZwNq7eEPS8CRhXBF4EKe3ikj1AENoBB5uNsD
+vfOpL9HG4A/LnooUCri99lZi8cVytjIl2bLzvWXFDSxu1ZJvGIsAQRSCb0AgJnoo
+D/Uefyf3lLE3PbfHkffiAez9lInhzG7TNtYKGXmu1zSCZf98Qru23QumNK9LYP5/
+Q0kGi4xDuFby2X8hQxfqp0iVAXV16iulQ5XqFYSdCI0mblWbq9zSOdIxHWDirMxW
+RST1HFSr7obdljKF+ExP6JV2tgXdNiNnvP8V4so75qbsO+wmETRIjfaAKxojAuuK
+HDp2KntWFhxyKrOq42ClAJ8Em+JvHhRYW6Vsi1g8w7pOOlz34ZYrPu8HvKTlXcxN
+nw3h3Kq74W4a7I/htkxNeXJdFzULHdfBR9qWJODQcqhaX2YtENwvKhOuJv4KHBnM
+0D4LnMgJLvlblnpHnOl68wVQdJVznjAJ85eCXuaPOQgeWeU1FEIT/wCc976qUM/i
+UUjXuG+v+E5+M5iSFGI6dWPPe/regjupuznixL0sAA7IF6wT700ljtizkC+p2il9
+Ha90OrInwMEePnWjFqmveiJdnxMaz6eg6+OGCtP95paV1yPIN93EfKo2rJgaErHg
+TuixO/XWb/Ew1wIDAQABo0IwQDAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQE
+AwIBBjAdBgNVHQ4EFgQUS8W0QGutHLOlHGVuRjaJhwUMDrYwDQYJKoZIhvcNAQEL
+BQADggIBAHNXPyzVlTJ+N9uWkusZXn5T50HsEbZH77Xe7XRcxfGOSeD8bpkTzZ+K
+2s06Ctg6Wgk/XzTQLwPSZh0avZyQN8gMjgdalEVGKua+etqhqaRpEpKwfTbURIfX
+UfEpY9Z1zRbkJ4kd+MIySP3bmdCPX1R0zKxnNBFi2QwKN4fRoxdIjtIXHfbX/dtl
+6/2o1PXWT6RbdejF0mCy2wl+JYt7ulKSnj7oxXehPOBKc2thz4bcQ///If4jXSRK
+9dNtD2IEBVeC2m6kMyV5Sy5UGYvMLD0w6dEG/+gyRr61M3Z3qAFdlsHB1b6uJcDJ
+HgoJIIihDsnzb02CVAAgp9KP5DlUFy6NHrgbuxu9mk47EDTcnIhT76IxW1hPkWLI
+wpqazRVdOKnWvvgTtZ8SafJQYqz7Fzf07rh1Z2AQ+4NQ+US1dZxAF7L+/XldblhY
+XzD8AK6vM8EOTmy6p6ahfzLbOOCxchcKK5HsamMm7YnUeMx0HgX4a/6ManY5Ka5l
+IxKVCCIcl85bBu4M4ru8H0ST9tg4RQUh7eStqxK2A6RCLi3ECToDZ2mEmuFZkIoo
+hdVddLHRDiBYmxOlsGOm7XtH/UVVMKTumtTm4ofvmMkyghEpIrwACjFeLQ/Ajulr
+so8uBtjRkcfGEvRM/TAXw8HaOFvjqermobp573PYtlNXLfbQ4ddI
+-----END CERTIFICATE-----
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Logger/Abstract.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Logger/Abstract.php
new file mode 100644
index 0000000..afa6128
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Logger/Abstract.php
@@ -0,0 +1,406 @@
+<?php
+/*
+ * Copyright 2014 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+/**
+ * Abstract logging class based on the PSR-3 standard.
+ *
+ * NOTE: We don't implement `Psr\Log\LoggerInterface` because we need to
+ * maintain PHP 5.2 support.
+ *
+ * @see https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md
+ */
+abstract class Postman_Google_Logger_Abstract
+{
+ /**
+ * Default log format
+ */
+ const DEFAULT_LOG_FORMAT = "[%datetime%] %level%: %message% %context%\n";
+ /**
+ * Default date format
+ *
+ * Example: 16/Nov/2014:03:26:16 -0500
+ */
+ const DEFAULT_DATE_FORMAT = 'd/M/Y:H:i:s O';
+
+ /**
+ * System is unusable
+ */
+ const EMERGENCY = 'emergency';
+ /**
+ * Action must be taken immediately
+ *
+ * Example: Entire website down, database unavailable, etc. This should
+ * trigger the SMS alerts and wake you up.
+ */
+ const ALERT = 'alert';
+ /**
+ * Critical conditions
+ *
+ * Example: Application component unavailable, unexpected exception.
+ */
+ const CRITICAL = 'critical';
+ /**
+ * Runtime errors that do not require immediate action but should typically
+ * be logged and monitored.
+ */
+ const ERROR = 'error';
+ /**
+ * Exceptional occurrences that are not errors.
+ *
+ * Example: Use of deprecated APIs, poor use of an API, undesirable things
+ * that are not necessarily wrong.
+ */
+ const WARNING = 'warning';
+ /**
+ * Normal but significant events.
+ */
+ const NOTICE = 'notice';
+ /**
+ * Interesting events.
+ *
+ * Example: User logs in, SQL logs.
+ */
+ const INFO = 'info';
+ /**
+ * Detailed debug information.
+ */
+ const DEBUG = 'debug';
+
+ /**
+ * @var array $levels Logging levels
+ */
+ protected static $levels = array(
+ self::EMERGENCY => 600,
+ self::ALERT => 550,
+ self::CRITICAL => 500,
+ self::ERROR => 400,
+ self::WARNING => 300,
+ self::NOTICE => 250,
+ self::INFO => 200,
+ self::DEBUG => 100,
+ );
+
+ /**
+ * @var integer $level The minimum logging level
+ */
+ protected $level = self::DEBUG;
+
+ /**
+ * @var string $logFormat The current log format
+ */
+ protected $logFormat = self::DEFAULT_LOG_FORMAT;
+ /**
+ * @var string $dateFormat The current date format
+ */
+ protected $dateFormat = self::DEFAULT_DATE_FORMAT;
+
+ /**
+ * @var boolean $allowNewLines If newlines are allowed
+ */
+ protected $allowNewLines = false;
+
+ /**
+ * @param Postman_Google_Client $client The current Google client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ $this->setLevel(
+ $client->getClassConfig('Postman_Google_Logger_Abstract', 'level')
+ );
+
+ $format = $client->getClassConfig('Postman_Google_Logger_Abstract', 'log_format');
+ $this->logFormat = $format ? $format : self::DEFAULT_LOG_FORMAT;
+
+ $format = $client->getClassConfig('Postman_Google_Logger_Abstract', 'date_format');
+ $this->dateFormat = $format ? $format : self::DEFAULT_DATE_FORMAT;
+
+ $this->allowNewLines = (bool) $client->getClassConfig(
+ 'Postman_Google_Logger_Abstract',
+ 'allow_newlines'
+ );
+ }
+
+ /**
+ * Sets the minimum logging level that this logger handles.
+ *
+ * @param integer $level
+ */
+ public function setLevel($level)
+ {
+ $this->level = $this->normalizeLevel($level);
+ }
+
+ /**
+ * Checks if the logger should handle messages at the provided level.
+ *
+ * @param integer $level
+ * @return boolean
+ */
+ public function shouldHandle($level)
+ {
+ return $this->normalizeLevel($level) >= $this->level;
+ }
+
+ /**
+ * System is unusable.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ */
+ public function emergency($message, array $context = array())
+ {
+ $this->log(self::EMERGENCY, $message, $context);
+ }
+
+ /**
+ * Action must be taken immediately.
+ *
+ * Example: Entire website down, database unavailable, etc. This should
+ * trigger the SMS alerts and wake you up.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ */
+ public function alert($message, array $context = array())
+ {
+ $this->log(self::ALERT, $message, $context);
+ }
+
+ /**
+ * Critical conditions.
+ *
+ * Example: Application component unavailable, unexpected exception.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ */
+ public function critical($message, array $context = array())
+ {
+ $this->log(self::CRITICAL, $message, $context);
+ }
+
+ /**
+ * Runtime errors that do not require immediate action but should typically
+ * be logged and monitored.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ */
+ public function error($message, array $context = array())
+ {
+ $this->log(self::ERROR, $message, $context);
+ }
+
+ /**
+ * Exceptional occurrences that are not errors.
+ *
+ * Example: Use of deprecated APIs, poor use of an API, undesirable things
+ * that are not necessarily wrong.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ */
+ public function warning($message, array $context = array())
+ {
+ $this->log(self::WARNING, $message, $context);
+ }
+
+ /**
+ * Normal but significant events.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ */
+ public function notice($message, array $context = array())
+ {
+ $this->log(self::NOTICE, $message, $context);
+ }
+
+ /**
+ * Interesting events.
+ *
+ * Example: User logs in, SQL logs.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ */
+ public function info($message, array $context = array())
+ {
+ $this->log(self::INFO, $message, $context);
+ }
+
+ /**
+ * Detailed debug information.
+ *
+ * @param string $message The log message
+ * @param array $context The log context
+ */
+ public function debug($message, array $context = array())
+ {
+ $this->log(self::DEBUG, $message, $context);
+ }
+
+ /**
+ * Logs with an arbitrary level.
+ *
+ * @param mixed $level The log level
+ * @param string $message The log message
+ * @param array $context The log context
+ */
+ public function log($level, $message, array $context = array())
+ {
+ if (!$this->shouldHandle($level)) {
+ return false;
+ }
+
+ $levelName = is_int($level) ? array_search($level, self::$levels) : $level;
+ $message = $this->interpolate(
+ array(
+ 'message' => $message,
+ 'context' => $context,
+ 'level' => strtoupper($levelName),
+ 'datetime' => new DateTime(),
+ )
+ );
+
+ $this->write($message);
+ }
+
+ /**
+ * Interpolates log variables into the defined log format.
+ *
+ * @param array $variables The log variables.
+ * @return string
+ */
+ protected function interpolate(array $variables = array())
+ {
+ $template = $this->logFormat;
+
+ if (!$variables['context']) {
+ $template = str_replace('%context%', '', $template);
+ unset($variables['context']);
+ } else {
+ $this->reverseJsonInContext($variables['context']);
+ }
+
+ foreach ($variables as $key => $value) {
+ if (strpos($template, '%'. $key .'%') !== false) {
+ $template = str_replace(
+ '%' . $key . '%',
+ $this->export($value),
+ $template
+ );
+ }
+ }
+
+ return $template;
+ }
+
+ /**
+ * Reverses JSON encoded PHP arrays and objects so that they log better.
+ *
+ * @param array $context The log context
+ */
+ protected function reverseJsonInContext(array &$context)
+ {
+ if (!$context) {
+ return;
+ }
+
+ foreach ($context as $key => $val) {
+ if (!$val || !is_string($val) || !($val[0] == '{' || $val[0] == '[')) {
+ continue;
+ }
+
+ $json = @json_decode($val);
+ if (is_object($json) || is_array($json)) {
+ $context[$key] = $json;
+ }
+ }
+ }
+
+ /**
+ * Exports a PHP value for logging to a string.
+ *
+ * @param mixed $value The value to
+ */
+ protected function export($value)
+ {
+ if (is_string($value)) {
+ if ($this->allowNewLines) {
+ return $value;
+ }
+
+ return preg_replace('/[\r\n]+/', ' ', $value);
+ }
+
+ if (is_resource($value)) {
+ return sprintf(
+ 'resource(%d) of type (%s)',
+ $value,
+ get_resource_type($value)
+ );
+ }
+
+ if ($value instanceof DateTime) {
+ return $value->format($this->dateFormat);
+ }
+
+ if (version_compare(PHP_VERSION, '5.4.0', '>=')) {
+ $options = JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE;
+
+ if ($this->allowNewLines) {
+ $options |= JSON_PRETTY_PRINT;
+ }
+
+ return @json_encode($value, $options);
+ }
+
+ return str_replace('\\/', '/', @json_encode($value));
+ }
+
+ /**
+ * Converts a given log level to the integer form.
+ *
+ * @param mixed $level The logging level
+ * @return integer $level The normalized level
+ * @throws Postman_Google_Logger_Exception If $level is invalid
+ */
+ protected function normalizeLevel($level)
+ {
+ if (is_int($level) && array_search($level, self::$levels) !== false) {
+ return $level;
+ }
+
+ if (is_string($level) && isset(self::$levels[$level])) {
+ return self::$levels[$level];
+ }
+
+ throw new Postman_Google_Logger_Exception(
+ sprintf("Unknown LogLevel: '%s'", $level)
+ );
+ }
+
+ /**
+ * Writes a message to the current log implementation.
+ *
+ * @param string $message The message
+ */
+ abstract protected function write($message);
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Logger/Exception.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Logger/Exception.php
new file mode 100644
index 0000000..c0302aa
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Logger/Exception.php
@@ -0,0 +1,22 @@
+<?php
+/*
+ * Copyright 2014 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+class Postman_Google_Logger_Exception extends Postman_Google_Exception
+{
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Logger/File.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Logger/File.php
new file mode 100644
index 0000000..cd5a36d
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Logger/File.php
@@ -0,0 +1,156 @@
+<?php
+/*
+ * Copyright 2014 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+/**
+ * File logging class based on the PSR-3 standard.
+ *
+ * This logger writes to a PHP stream resource.
+ */
+class Postman_Google_Logger_File extends Postman_Google_Logger_Abstract
+{
+ /**
+ * @var string|resource $file Where logs are written
+ */
+ private $file;
+ /**
+ * @var integer $mode The mode to use if the log file needs to be created
+ */
+ private $mode = 0640;
+ /**
+ * @var boolean $lock If a lock should be attempted before writing to the log
+ */
+ private $lock = false;
+
+ /**
+ * @var integer $trappedErrorNumber Trapped error number
+ */
+ private $trappedErrorNumber;
+ /**
+ * @var string $trappedErrorString Trapped error string
+ */
+ private $trappedErrorString;
+
+ /**
+ * {@inheritdoc}
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+
+ $file = $client->getClassConfig('Postman_Google_Logger_File', 'file');
+ if (!is_string($file) && !is_resource($file)) {
+ throw new Postman_Google_Logger_Exception(
+ 'File logger requires a filename or a valid file pointer'
+ );
+ }
+
+ $mode = $client->getClassConfig('Postman_Google_Logger_File', 'mode');
+ if (!$mode) {
+ $this->mode = $mode;
+ }
+
+ $this->lock = (bool) $client->getClassConfig('Postman_Google_Logger_File', 'lock');
+ $this->file = $file;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function write($message)
+ {
+ if (is_string($this->file)) {
+ $this->open();
+ } elseif (!is_resource($this->file)) {
+ throw new Postman_Google_Logger_Exception('File pointer is no longer available');
+ }
+
+ if ($this->lock) {
+ flock($this->file, LOCK_EX);
+ }
+
+ fwrite($this->file, (string) $message);
+
+ if ($this->lock) {
+ flock($this->file, LOCK_UN);
+ }
+ }
+
+ /**
+ * Opens the log for writing.
+ *
+ * @return resource
+ */
+ private function open()
+ {
+ // Used for trapping `fopen()` errors.
+ $this->trappedErrorNumber = null;
+ $this->trappedErrorString = null;
+
+ $old = set_error_handler(array($this, 'trapError'));
+
+ $needsChmod = !file_exists($this->file);
+ $fh = fopen($this->file, 'a');
+
+ restore_error_handler();
+
+ // Handles trapped `fopen()` errors.
+ if ($this->trappedErrorNumber) {
+ throw new Postman_Google_Logger_Exception(
+ sprintf(
+ "Logger Error: '%s'",
+ $this->trappedErrorString
+ ),
+ $this->trappedErrorNumber
+ );
+ }
+
+ if ($needsChmod) {
+ @chmod($this->file, $this->mode & ~umask());
+ }
+
+ return $this->file = $fh;
+ }
+
+ /**
+ * Closes the log stream resource.
+ */
+ private function close()
+ {
+ if (is_resource($this->file)) {
+ fclose($this->file);
+ }
+ }
+
+ /**
+ * Traps `fopen()` errors.
+ *
+ * @param integer $errno The error number
+ * @param string $errstr The error string
+ */
+ private function trapError($errno, $errstr)
+ {
+ $this->trappedErrorNumber = $errno;
+ $this->trappedErrorString = $errstr;
+ }
+
+ public function __destruct()
+ {
+ $this->close();
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Logger/Null.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Logger/Null.php
new file mode 100644
index 0000000..1e5e7e4
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Logger/Null.php
@@ -0,0 +1,41 @@
+<?php
+/*
+ * Copyright 2014 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+/**
+ * Null logger based on the PSR-3 standard.
+ *
+ * This logger simply discards all messages.
+ */
+class Postman_Google_Logger_Null extends Postman_Google_Logger_Abstract
+{
+ /**
+ * {@inheritdoc}
+ */
+ public function shouldHandle($level)
+ {
+ return false;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function write($message, array $context = array())
+ {
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Logger/Psr.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Logger/Psr.php
new file mode 100644
index 0000000..27f4418
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Logger/Psr.php
@@ -0,0 +1,91 @@
+<?php
+/*
+ * Copyright 2014 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+/**
+ * Psr logging class based on the PSR-3 standard.
+ *
+ * This logger will delegate all logging to a PSR-3 compatible logger specified
+ * with the `Postman_Google_Logger_Psr::setLogger()` method.
+ */
+class Postman_Google_Logger_Psr extends Postman_Google_Logger_Abstract
+{
+ /**
+ * @param Psr\Log\LoggerInterface $logger The PSR-3 logger
+ */
+ private $logger;
+
+ /**
+ * @param Postman_Google_Client $client The current Google client
+ * @param Psr\Log\LoggerInterface $logger PSR-3 logger where logging will be delegated.
+ */
+ public function __construct(Postman_Google_Client $client, /*Psr\Log\LoggerInterface*/ $logger = null)
+ {
+ parent::__construct($client);
+
+ if ($logger) {
+ $this->setLogger($logger);
+ }
+ }
+
+ /**
+ * Sets the PSR-3 logger where logging will be delegated.
+ *
+ * NOTE: The `$logger` should technically implement
+ * `Psr\Log\LoggerInterface`, but we don't explicitly require this so that
+ * we can be compatible with PHP 5.2.
+ *
+ * @param Psr\Log\LoggerInterface $logger The PSR-3 logger
+ */
+ public function setLogger(/*Psr\Log\LoggerInterface*/ $logger)
+ {
+ $this->logger = $logger;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function shouldHandle($level)
+ {
+ return isset($this->logger) && parent::shouldHandle($level);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function log($level, $message, array $context = array())
+ {
+ if (!$this->shouldHandle($level)) {
+ return false;
+ }
+
+ if ($context) {
+ $this->reverseJsonInContext($context);
+ }
+
+ $levelName = is_int($level) ? array_search($level, self::$levels) : $level;
+ $this->logger->log($levelName, $message, $context);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function write($message, array $context = array())
+ {
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Model.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Model.php
new file mode 100644
index 0000000..5855f97
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Model.php
@@ -0,0 +1,281 @@
+<?php
+/*
+ * Copyright 2011 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * This class defines attributes, valid values, and usage which is generated
+ * from a given json schema.
+ * http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5
+ *
+ * @author Chirag Shah <chirags@google.com>
+ *
+ */
+class Postman_Google_Model implements ArrayAccess
+{
+ protected $internal_gapi_mappings = array();
+ protected $modelData = array();
+ protected $processed = array();
+
+ /**
+ * Polymorphic - accepts a variable number of arguments dependent
+ * on the type of the model subclass.
+ */
+ final public function __construct()
+ {
+ if (func_num_args() == 1 && is_array(func_get_arg(0))) {
+ // Initialize the model with the array's contents.
+ $array = func_get_arg(0);
+ $this->mapTypes($array);
+ }
+ $this->gapiInit();
+ }
+
+ /**
+ * Getter that handles passthrough access to the data array, and lazy object creation.
+ * @param string $key Property name.
+ * @return mixed The value if any, or null.
+ */
+ public function __get($key)
+ {
+ $keyTypeName = $this->keyType($key);
+ $keyDataType = $this->dataType($key);
+ if (isset($this->$keyTypeName) && !isset($this->processed[$key])) {
+ if (isset($this->modelData[$key])) {
+ $val = $this->modelData[$key];
+ } else if (isset($this->$keyDataType) &&
+ ($this->$keyDataType == 'array' || $this->$keyDataType == 'map')) {
+ $val = array();
+ } else {
+ $val = null;
+ }
+
+ if ($this->isAssociativeArray($val)) {
+ if (isset($this->$keyDataType) && 'map' == $this->$keyDataType) {
+ foreach ($val as $arrayKey => $arrayItem) {
+ $this->modelData[$key][$arrayKey] =
+ $this->createObjectFromName($keyTypeName, $arrayItem);
+ }
+ } else {
+ $this->modelData[$key] = $this->createObjectFromName($keyTypeName, $val);
+ }
+ } else if (is_array($val)) {
+ $arrayObject = array();
+ foreach ($val as $arrayIndex => $arrayItem) {
+ $arrayObject[$arrayIndex] =
+ $this->createObjectFromName($keyTypeName, $arrayItem);
+ }
+ $this->modelData[$key] = $arrayObject;
+ }
+ $this->processed[$key] = true;
+ }
+
+ return isset($this->modelData[$key]) ? $this->modelData[$key] : null;
+ }
+
+ /**
+ * Initialize this object's properties from an array.
+ *
+ * @param array $array Used to seed this object's properties.
+ * @return void
+ */
+ protected function mapTypes($array)
+ {
+ // Hard initilise simple types, lazy load more complex ones.
+ foreach ($array as $key => $val) {
+ if ( !property_exists($this, $this->keyType($key)) &&
+ property_exists($this, $key)) {
+ $this->$key = $val;
+ unset($array[$key]);
+ } elseif (property_exists($this, $camelKey = Postman_Google_Utils::camelCase($key))) {
+ // This checks if property exists as camelCase, leaving it in array as snake_case
+ // in case of backwards compatibility issues.
+ $this->$camelKey = $val;
+ }
+ }
+ $this->modelData = $array;
+ }
+
+ /**
+ * Blank initialiser to be used in subclasses to do post-construction initialisation - this
+ * avoids the need for subclasses to have to implement the variadics handling in their
+ * constructors.
+ */
+ protected function gapiInit()
+ {
+ return;
+ }
+
+ /**
+ * Create a simplified object suitable for straightforward
+ * conversion to JSON. This is relatively expensive
+ * due to the usage of reflection, but shouldn't be called
+ * a whole lot, and is the most straightforward way to filter.
+ */
+ public function toSimpleObject()
+ {
+ $object = new stdClass();
+
+ // Process all other data.
+ foreach ($this->modelData as $key => $val) {
+ $result = $this->getSimpleValue($val);
+ if ($result !== null) {
+ $object->$key = $result;
+ }
+ }
+
+ // Process all public properties.
+ $reflect = new ReflectionObject($this);
+ $props = $reflect->getProperties(ReflectionProperty::IS_PUBLIC);
+ foreach ($props as $member) {
+ $name = $member->getName();
+ $result = $this->getSimpleValue($this->$name);
+ if ($result !== null) {
+ $name = $this->getMappedName($name);
+ $object->$name = $result;
+ }
+ }
+
+ return $object;
+ }
+
+ /**
+ * Handle different types of values, primarily
+ * other objects and map and array data types.
+ */
+ private function getSimpleValue($value)
+ {
+ if ($value instanceof Postman_Google_Model) {
+ return $value->toSimpleObject();
+ } else if (is_array($value)) {
+ $return = array();
+ foreach ($value as $key => $a_value) {
+ $a_value = $this->getSimpleValue($a_value);
+ if ($a_value !== null) {
+ $key = $this->getMappedName($key);
+ $return[$key] = $a_value;
+ }
+ }
+ return $return;
+ }
+ return $value;
+ }
+
+ /**
+ * If there is an internal name mapping, use that.
+ */
+ private function getMappedName($key)
+ {
+ if (isset($this->internal_gapi_mappings) &&
+ isset($this->internal_gapi_mappings[$key])) {
+ $key = $this->internal_gapi_mappings[$key];
+ }
+ return $key;
+ }
+
+ /**
+ * Returns true only if the array is associative.
+ * @param array $array
+ * @return bool True if the array is associative.
+ */
+ protected function isAssociativeArray($array)
+ {
+ if (!is_array($array)) {
+ return false;
+ }
+ $keys = array_keys($array);
+ foreach ($keys as $key) {
+ if (is_string($key)) {
+ return true;
+ }
+ }
+ return false;
+ }
+
+ /**
+ * Given a variable name, discover its type.
+ *
+ * @param $name
+ * @param $item
+ * @return object The object from the item.
+ */
+ private function createObjectFromName($name, $item)
+ {
+ $type = $this->$name;
+ return new $type($item);
+ }
+
+ /**
+ * Verify if $obj is an array.
+ * @throws Postman_Google_Exception Thrown if $obj isn't an array.
+ * @param array $obj Items that should be validated.
+ * @param string $method Method expecting an array as an argument.
+ */
+ public function assertIsArray($obj, $method)
+ {
+ if ($obj && !is_array($obj)) {
+ throw new Postman_Google_Exception(
+ "Incorrect parameter type passed to $method(). Expected an array."
+ );
+ }
+ }
+
+ public function offsetExists($offset)
+ {
+ return isset($this->$offset) || isset($this->modelData[$offset]);
+ }
+
+ public function offsetGet($offset)
+ {
+ return isset($this->$offset) ?
+ $this->$offset :
+ $this->__get($offset);
+ }
+
+ public function offsetSet($offset, $value)
+ {
+ if (property_exists($this, $offset)) {
+ $this->$offset = $value;
+ } else {
+ $this->modelData[$offset] = $value;
+ $this->processed[$offset] = true;
+ }
+ }
+
+ public function offsetUnset($offset)
+ {
+ unset($this->modelData[$offset]);
+ }
+
+ protected function keyType($key)
+ {
+ return $key . "Type";
+ }
+
+ protected function dataType($key)
+ {
+ return $key . "DataType";
+ }
+
+ public function __isset($key)
+ {
+ return isset($this->modelData[$key]);
+ }
+
+ public function __unset($key)
+ {
+ unset($this->modelData[$key]);
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service.php
new file mode 100644
index 0000000..8f992b7
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service.php
@@ -0,0 +1,39 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+class Postman_Google_Service
+{
+ public $version;
+ public $servicePath;
+ public $availableScopes;
+ public $resource;
+ private $client;
+
+ public function __construct(Postman_Google_Client $client)
+ {
+ $this->client = $client;
+ }
+
+ /**
+ * Return the associated Postman_Google_Client class.
+ * @return Postman_Google_Client
+ */
+ public function getClient()
+ {
+ return $this->client;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AdExchangeBuyer.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AdExchangeBuyer.php
new file mode 100644
index 0000000..aa12ca9
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AdExchangeBuyer.php
@@ -0,0 +1,1909 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for AdExchangeBuyer (v1.3).
+ *
+ * <p>
+ * Accesses your bidding-account information, submits creatives for validation,
+ * finds available direct deals, and retrieves performance reports.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/ad-exchange/buyer-rest" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_AdExchangeBuyer extends Postman_Google_Service
+{
+ /** Manage your Ad Exchange buyer account configuration. */
+ const ADEXCHANGE_BUYER =
+ "https://www.googleapis.com/auth/adexchange.buyer";
+
+ public $accounts;
+ public $billingInfo;
+ public $creatives;
+ public $directDeals;
+ public $performanceReport;
+ public $pretargetingConfig;
+
+
+ /**
+ * Constructs the internal representation of the AdExchangeBuyer service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'adexchangebuyer/v1.3/';
+ $this->version = 'v1.3';
+ $this->serviceName = 'adexchangebuyer';
+
+ $this->accounts = new Postman_Google_Service_AdExchangeBuyer_Accounts_Resource(
+ $this,
+ $this->serviceName,
+ 'accounts',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'accounts/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),'patch' => array(
+ 'path' => 'accounts/{id}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'accounts/{id}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->billingInfo = new Postman_Google_Service_AdExchangeBuyer_BillingInfo_Resource(
+ $this,
+ $this->serviceName,
+ 'billingInfo',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'billinginfo/{accountId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'billinginfo',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->creatives = new Postman_Google_Service_AdExchangeBuyer_Creatives_Resource(
+ $this,
+ $this->serviceName,
+ 'creatives',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'creatives/{accountId}/{buyerCreativeId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'buyerCreativeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'creatives',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'list' => array(
+ 'path' => 'creatives',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'statusFilter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'buyerCreativeId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->directDeals = new Postman_Google_Service_AdExchangeBuyer_DirectDeals_Resource(
+ $this,
+ $this->serviceName,
+ 'directDeals',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'directdeals/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'directdeals',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->performanceReport = new Postman_Google_Service_AdExchangeBuyer_PerformanceReport_Resource(
+ $this,
+ $this->serviceName,
+ 'performanceReport',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'performancereport',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'endDateTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'startDateTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->pretargetingConfig = new Postman_Google_Service_AdExchangeBuyer_PretargetingConfig_Resource(
+ $this,
+ $this->serviceName,
+ 'pretargetingConfig',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'pretargetingconfigs/{accountId}/{configId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'configId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'pretargetingconfigs/{accountId}/{configId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'configId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'pretargetingconfigs/{accountId}',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'pretargetingconfigs/{accountId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'pretargetingconfigs/{accountId}/{configId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'configId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'pretargetingconfigs/{accountId}/{configId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'configId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyerService = new Postman_Google_Service_AdExchangeBuyer(...);
+ * $accounts = $adexchangebuyerService->accounts;
+ * </code>
+ */
+class Postman_Google_Service_AdExchangeBuyer_Accounts_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets one account by ID. (accounts.get)
+ *
+ * @param int $id The account id
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdExchangeBuyer_Account
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AdExchangeBuyer_Account");
+ }
+
+ /**
+ * Retrieves the authenticated user's list of accounts. (accounts.listAccounts)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdExchangeBuyer_AccountsList
+ */
+ public function listAccounts($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdExchangeBuyer_AccountsList");
+ }
+
+ /**
+ * Updates an existing account. This method supports patch semantics.
+ * (accounts.patch)
+ *
+ * @param int $id The account id
+ * @param Postman_Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdExchangeBuyer_Account
+ */
+ public function patch($id, Postman_Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_AdExchangeBuyer_Account");
+ }
+
+ /**
+ * Updates an existing account. (accounts.update)
+ *
+ * @param int $id The account id
+ * @param Postman_Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdExchangeBuyer_Account
+ */
+ public function update($id, Postman_Google_Service_AdExchangeBuyer_Account $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_AdExchangeBuyer_Account");
+ }
+}
+
+/**
+ * The "billingInfo" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyerService = new Postman_Google_Service_AdExchangeBuyer(...);
+ * $billingInfo = $adexchangebuyerService->billingInfo;
+ * </code>
+ */
+class Postman_Google_Service_AdExchangeBuyer_BillingInfo_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns the billing information for one account specified by account ID.
+ * (billingInfo.get)
+ *
+ * @param int $accountId The account id.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdExchangeBuyer_BillingInfo
+ */
+ public function get($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AdExchangeBuyer_BillingInfo");
+ }
+
+ /**
+ * Retrieves a list of billing information for all accounts of the authenticated
+ * user. (billingInfo.listBillingInfo)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdExchangeBuyer_BillingInfoList
+ */
+ public function listBillingInfo($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdExchangeBuyer_BillingInfoList");
+ }
+}
+
+/**
+ * The "creatives" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyerService = new Postman_Google_Service_AdExchangeBuyer(...);
+ * $creatives = $adexchangebuyerService->creatives;
+ * </code>
+ */
+class Postman_Google_Service_AdExchangeBuyer_Creatives_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets the status for a single creative. A creative will be available 30-40
+ * minutes after submission. (creatives.get)
+ *
+ * @param int $accountId The id for the account that will serve this creative.
+ * @param string $buyerCreativeId The buyer-specific id for this creative.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdExchangeBuyer_Creative
+ */
+ public function get($accountId, $buyerCreativeId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'buyerCreativeId' => $buyerCreativeId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AdExchangeBuyer_Creative");
+ }
+
+ /**
+ * Submit a new creative. (creatives.insert)
+ *
+ * @param Postman_Google_Creative $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdExchangeBuyer_Creative
+ */
+ public function insert(Postman_Google_Service_AdExchangeBuyer_Creative $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_AdExchangeBuyer_Creative");
+ }
+
+ /**
+ * Retrieves a list of the authenticated user's active creatives. A creative
+ * will be available 30-40 minutes after submission. (creatives.listCreatives)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string statusFilter When specified, only creatives having the
+ * given status are returned.
+ * @opt_param string pageToken A continuation token, used to page through ad
+ * clients. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response. Optional.
+ * @opt_param string maxResults Maximum number of entries returned on one result
+ * page. If not set, the default is 100. Optional.
+ * @opt_param string buyerCreativeId When specified, only creatives for the
+ * given buyer creative ids are returned.
+ * @opt_param int accountId When specified, only creatives for the given account
+ * ids are returned.
+ * @return Postman_Google_Service_AdExchangeBuyer_CreativesList
+ */
+ public function listCreatives($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdExchangeBuyer_CreativesList");
+ }
+}
+
+/**
+ * The "directDeals" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyerService = new Postman_Google_Service_AdExchangeBuyer(...);
+ * $directDeals = $adexchangebuyerService->directDeals;
+ * </code>
+ */
+class Postman_Google_Service_AdExchangeBuyer_DirectDeals_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets one direct deal by ID. (directDeals.get)
+ *
+ * @param string $id The direct deal id
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdExchangeBuyer_DirectDeal
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AdExchangeBuyer_DirectDeal");
+ }
+
+ /**
+ * Retrieves the authenticated user's list of direct deals.
+ * (directDeals.listDirectDeals)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdExchangeBuyer_DirectDealsList
+ */
+ public function listDirectDeals($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdExchangeBuyer_DirectDealsList");
+ }
+}
+
+/**
+ * The "performanceReport" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyerService = new Postman_Google_Service_AdExchangeBuyer(...);
+ * $performanceReport = $adexchangebuyerService->performanceReport;
+ * </code>
+ */
+class Postman_Google_Service_AdExchangeBuyer_PerformanceReport_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves the authenticated user's list of performance metrics.
+ * (performanceReport.listPerformanceReport)
+ *
+ * @param string $accountId The account id to get the reports.
+ * @param string $endDateTime The end time of the report in ISO 8601 timestamp
+ * format using UTC.
+ * @param string $startDateTime The start time of the report in ISO 8601
+ * timestamp format using UTC.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A continuation token, used to page through
+ * performance reports. To retrieve the next page, set this parameter to the
+ * value of "nextPageToken" from the previous response. Optional.
+ * @opt_param string maxResults Maximum number of entries returned on one result
+ * page. If not set, the default is 100. Optional.
+ * @return Postman_Google_Service_AdExchangeBuyer_PerformanceReportList
+ */
+ public function listPerformanceReport($accountId, $endDateTime, $startDateTime, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'endDateTime' => $endDateTime, 'startDateTime' => $startDateTime);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdExchangeBuyer_PerformanceReportList");
+ }
+}
+
+/**
+ * The "pretargetingConfig" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangebuyerService = new Postman_Google_Service_AdExchangeBuyer(...);
+ * $pretargetingConfig = $adexchangebuyerService->pretargetingConfig;
+ * </code>
+ */
+class Postman_Google_Service_AdExchangeBuyer_PretargetingConfig_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes an existing pretargeting config. (pretargetingConfig.delete)
+ *
+ * @param string $accountId The account id to delete the pretargeting config
+ * for.
+ * @param string $configId The specific id of the configuration to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $configId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'configId' => $configId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a specific pretargeting configuration (pretargetingConfig.get)
+ *
+ * @param string $accountId The account id to get the pretargeting config for.
+ * @param string $configId The specific id of the configuration to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdExchangeBuyer_PretargetingConfig
+ */
+ public function get($accountId, $configId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'configId' => $configId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AdExchangeBuyer_PretargetingConfig");
+ }
+
+ /**
+ * Inserts a new pretargeting configuration. (pretargetingConfig.insert)
+ *
+ * @param string $accountId The account id to insert the pretargeting config
+ * for.
+ * @param Postman_Google_PretargetingConfig $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdExchangeBuyer_PretargetingConfig
+ */
+ public function insert($accountId, Postman_Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_AdExchangeBuyer_PretargetingConfig");
+ }
+
+ /**
+ * Retrieves a list of the authenticated user's pretargeting configurations.
+ * (pretargetingConfig.listPretargetingConfig)
+ *
+ * @param string $accountId The account id to get the pretargeting configs for.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdExchangeBuyer_PretargetingConfigList
+ */
+ public function listPretargetingConfig($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdExchangeBuyer_PretargetingConfigList");
+ }
+
+ /**
+ * Updates an existing pretargeting config. This method supports patch
+ * semantics. (pretargetingConfig.patch)
+ *
+ * @param string $accountId The account id to update the pretargeting config
+ * for.
+ * @param string $configId The specific id of the configuration to update.
+ * @param Postman_Google_PretargetingConfig $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdExchangeBuyer_PretargetingConfig
+ */
+ public function patch($accountId, $configId, Postman_Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_AdExchangeBuyer_PretargetingConfig");
+ }
+
+ /**
+ * Updates an existing pretargeting config. (pretargetingConfig.update)
+ *
+ * @param string $accountId The account id to update the pretargeting config
+ * for.
+ * @param string $configId The specific id of the configuration to update.
+ * @param Postman_Google_PretargetingConfig $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdExchangeBuyer_PretargetingConfig
+ */
+ public function update($accountId, $configId, Postman_Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_AdExchangeBuyer_PretargetingConfig");
+ }
+}
+
+
+
+
+class Postman_Google_Service_AdExchangeBuyer_Account extends Postman_Google_Collection
+{
+ protected $collection_key = 'bidderLocation';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $bidderLocationType = 'Postman_Google_Service_AdExchangeBuyer_AccountBidderLocation';
+ protected $bidderLocationDataType = 'array';
+ public $cookieMatchingNid;
+ public $cookieMatchingUrl;
+ public $id;
+ public $kind;
+ public $maximumActiveCreatives;
+ public $maximumTotalQps;
+ public $numberActiveCreatives;
+
+
+ public function setBidderLocation($bidderLocation)
+ {
+ $this->bidderLocation = $bidderLocation;
+ }
+ public function getBidderLocation()
+ {
+ return $this->bidderLocation;
+ }
+ public function setCookieMatchingNid($cookieMatchingNid)
+ {
+ $this->cookieMatchingNid = $cookieMatchingNid;
+ }
+ public function getCookieMatchingNid()
+ {
+ return $this->cookieMatchingNid;
+ }
+ public function setCookieMatchingUrl($cookieMatchingUrl)
+ {
+ $this->cookieMatchingUrl = $cookieMatchingUrl;
+ }
+ public function getCookieMatchingUrl()
+ {
+ return $this->cookieMatchingUrl;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMaximumActiveCreatives($maximumActiveCreatives)
+ {
+ $this->maximumActiveCreatives = $maximumActiveCreatives;
+ }
+ public function getMaximumActiveCreatives()
+ {
+ return $this->maximumActiveCreatives;
+ }
+ public function setMaximumTotalQps($maximumTotalQps)
+ {
+ $this->maximumTotalQps = $maximumTotalQps;
+ }
+ public function getMaximumTotalQps()
+ {
+ return $this->maximumTotalQps;
+ }
+ public function setNumberActiveCreatives($numberActiveCreatives)
+ {
+ $this->numberActiveCreatives = $numberActiveCreatives;
+ }
+ public function getNumberActiveCreatives()
+ {
+ return $this->numberActiveCreatives;
+ }
+}
+
+class Postman_Google_Service_AdExchangeBuyer_AccountBidderLocation extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $maximumQps;
+ public $region;
+ public $url;
+
+
+ public function setMaximumQps($maximumQps)
+ {
+ $this->maximumQps = $maximumQps;
+ }
+ public function getMaximumQps()
+ {
+ return $this->maximumQps;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_AdExchangeBuyer_AccountsList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_AdExchangeBuyer_Account';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_AdExchangeBuyer_BillingInfo extends Postman_Google_Collection
+{
+ protected $collection_key = 'billingId';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $accountName;
+ public $billingId;
+ public $kind;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAccountName($accountName)
+ {
+ $this->accountName = $accountName;
+ }
+ public function getAccountName()
+ {
+ return $this->accountName;
+ }
+ public function setBillingId($billingId)
+ {
+ $this->billingId = $billingId;
+ }
+ public function getBillingId()
+ {
+ return $this->billingId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_AdExchangeBuyer_BillingInfoList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_AdExchangeBuyer_BillingInfo';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_AdExchangeBuyer_Creative extends Postman_Google_Collection
+{
+ protected $collection_key = 'vendorType';
+ protected $internal_gapi_mappings = array(
+ "hTMLSnippet" => "HTMLSnippet",
+ );
+ public $hTMLSnippet;
+ public $accountId;
+ public $advertiserId;
+ public $advertiserName;
+ public $agencyId;
+ public $attribute;
+ public $buyerCreativeId;
+ public $clickThroughUrl;
+ protected $correctionsType = 'Postman_Google_Service_AdExchangeBuyer_CreativeCorrections';
+ protected $correctionsDataType = 'array';
+ protected $disapprovalReasonsType = 'Postman_Google_Service_AdExchangeBuyer_CreativeDisapprovalReasons';
+ protected $disapprovalReasonsDataType = 'array';
+ protected $filteringReasonsType = 'Postman_Google_Service_AdExchangeBuyer_CreativeFilteringReasons';
+ protected $filteringReasonsDataType = '';
+ public $height;
+ public $kind;
+ public $productCategories;
+ public $restrictedCategories;
+ public $sensitiveCategories;
+ public $status;
+ public $vendorType;
+ public $videoURL;
+ public $width;
+
+
+ public function setHTMLSnippet($hTMLSnippet)
+ {
+ $this->hTMLSnippet = $hTMLSnippet;
+ }
+ public function getHTMLSnippet()
+ {
+ return $this->hTMLSnippet;
+ }
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setAdvertiserName($advertiserName)
+ {
+ $this->advertiserName = $advertiserName;
+ }
+ public function getAdvertiserName()
+ {
+ return $this->advertiserName;
+ }
+ public function setAgencyId($agencyId)
+ {
+ $this->agencyId = $agencyId;
+ }
+ public function getAgencyId()
+ {
+ return $this->agencyId;
+ }
+ public function setAttribute($attribute)
+ {
+ $this->attribute = $attribute;
+ }
+ public function getAttribute()
+ {
+ return $this->attribute;
+ }
+ public function setBuyerCreativeId($buyerCreativeId)
+ {
+ $this->buyerCreativeId = $buyerCreativeId;
+ }
+ public function getBuyerCreativeId()
+ {
+ return $this->buyerCreativeId;
+ }
+ public function setClickThroughUrl($clickThroughUrl)
+ {
+ $this->clickThroughUrl = $clickThroughUrl;
+ }
+ public function getClickThroughUrl()
+ {
+ return $this->clickThroughUrl;
+ }
+ public function setCorrections($corrections)
+ {
+ $this->corrections = $corrections;
+ }
+ public function getCorrections()
+ {
+ return $this->corrections;
+ }
+ public function setDisapprovalReasons($disapprovalReasons)
+ {
+ $this->disapprovalReasons = $disapprovalReasons;
+ }
+ public function getDisapprovalReasons()
+ {
+ return $this->disapprovalReasons;
+ }
+ public function setFilteringReasons(Postman_Google_Service_AdExchangeBuyer_CreativeFilteringReasons $filteringReasons)
+ {
+ $this->filteringReasons = $filteringReasons;
+ }
+ public function getFilteringReasons()
+ {
+ return $this->filteringReasons;
+ }
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setProductCategories($productCategories)
+ {
+ $this->productCategories = $productCategories;
+ }
+ public function getProductCategories()
+ {
+ return $this->productCategories;
+ }
+ public function setRestrictedCategories($restrictedCategories)
+ {
+ $this->restrictedCategories = $restrictedCategories;
+ }
+ public function getRestrictedCategories()
+ {
+ return $this->restrictedCategories;
+ }
+ public function setSensitiveCategories($sensitiveCategories)
+ {
+ $this->sensitiveCategories = $sensitiveCategories;
+ }
+ public function getSensitiveCategories()
+ {
+ return $this->sensitiveCategories;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setVendorType($vendorType)
+ {
+ $this->vendorType = $vendorType;
+ }
+ public function getVendorType()
+ {
+ return $this->vendorType;
+ }
+ public function setVideoURL($videoURL)
+ {
+ $this->videoURL = $videoURL;
+ }
+ public function getVideoURL()
+ {
+ return $this->videoURL;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_AdExchangeBuyer_CreativeCorrections extends Postman_Google_Collection
+{
+ protected $collection_key = 'details';
+ protected $internal_gapi_mappings = array(
+ );
+ public $details;
+ public $reason;
+
+
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+}
+
+class Postman_Google_Service_AdExchangeBuyer_CreativeDisapprovalReasons extends Postman_Google_Collection
+{
+ protected $collection_key = 'details';
+ protected $internal_gapi_mappings = array(
+ );
+ public $details;
+ public $reason;
+
+
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+}
+
+class Postman_Google_Service_AdExchangeBuyer_CreativeFilteringReasons extends Postman_Google_Collection
+{
+ protected $collection_key = 'reasons';
+ protected $internal_gapi_mappings = array(
+ );
+ public $date;
+ protected $reasonsType = 'Postman_Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons';
+ protected $reasonsDataType = 'array';
+
+
+ public function setDate($date)
+ {
+ $this->date = $date;
+ }
+ public function getDate()
+ {
+ return $this->date;
+ }
+ public function setReasons($reasons)
+ {
+ $this->reasons = $reasons;
+ }
+ public function getReasons()
+ {
+ return $this->reasons;
+ }
+}
+
+class Postman_Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $filteringCount;
+ public $filteringStatus;
+
+
+ public function setFilteringCount($filteringCount)
+ {
+ $this->filteringCount = $filteringCount;
+ }
+ public function getFilteringCount()
+ {
+ return $this->filteringCount;
+ }
+ public function setFilteringStatus($filteringStatus)
+ {
+ $this->filteringStatus = $filteringStatus;
+ }
+ public function getFilteringStatus()
+ {
+ return $this->filteringStatus;
+ }
+}
+
+class Postman_Google_Service_AdExchangeBuyer_CreativesList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_AdExchangeBuyer_Creative';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_AdExchangeBuyer_DirectDeal extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $advertiser;
+ public $currencyCode;
+ public $endTime;
+ public $fixedCpm;
+ public $id;
+ public $kind;
+ public $name;
+ public $privateExchangeMinCpm;
+ public $publisherBlocksOverriden;
+ public $sellerNetwork;
+ public $startTime;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAdvertiser($advertiser)
+ {
+ $this->advertiser = $advertiser;
+ }
+ public function getAdvertiser()
+ {
+ return $this->advertiser;
+ }
+ public function setCurrencyCode($currencyCode)
+ {
+ $this->currencyCode = $currencyCode;
+ }
+ public function getCurrencyCode()
+ {
+ return $this->currencyCode;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setFixedCpm($fixedCpm)
+ {
+ $this->fixedCpm = $fixedCpm;
+ }
+ public function getFixedCpm()
+ {
+ return $this->fixedCpm;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPrivateExchangeMinCpm($privateExchangeMinCpm)
+ {
+ $this->privateExchangeMinCpm = $privateExchangeMinCpm;
+ }
+ public function getPrivateExchangeMinCpm()
+ {
+ return $this->privateExchangeMinCpm;
+ }
+ public function setPublisherBlocksOverriden($publisherBlocksOverriden)
+ {
+ $this->publisherBlocksOverriden = $publisherBlocksOverriden;
+ }
+ public function getPublisherBlocksOverriden()
+ {
+ return $this->publisherBlocksOverriden;
+ }
+ public function setSellerNetwork($sellerNetwork)
+ {
+ $this->sellerNetwork = $sellerNetwork;
+ }
+ public function getSellerNetwork()
+ {
+ return $this->sellerNetwork;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+}
+
+class Postman_Google_Service_AdExchangeBuyer_DirectDealsList extends Postman_Google_Collection
+{
+ protected $collection_key = 'directDeals';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $directDealsType = 'Postman_Google_Service_AdExchangeBuyer_DirectDeal';
+ protected $directDealsDataType = 'array';
+ public $kind;
+
+
+ public function setDirectDeals($directDeals)
+ {
+ $this->directDeals = $directDeals;
+ }
+ public function getDirectDeals()
+ {
+ return $this->directDeals;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_AdExchangeBuyer_PerformanceReport extends Postman_Google_Collection
+{
+ protected $collection_key = 'hostedMatchStatusRate';
+ protected $internal_gapi_mappings = array(
+ );
+ public $calloutStatusRate;
+ public $cookieMatcherStatusRate;
+ public $creativeStatusRate;
+ public $hostedMatchStatusRate;
+ public $kind;
+ public $latency50thPercentile;
+ public $latency85thPercentile;
+ public $latency95thPercentile;
+ public $noQuotaInRegion;
+ public $outOfQuota;
+ public $pixelMatchRequests;
+ public $pixelMatchResponses;
+ public $quotaConfiguredLimit;
+ public $quotaThrottledLimit;
+ public $region;
+ public $timestamp;
+
+
+ public function setCalloutStatusRate($calloutStatusRate)
+ {
+ $this->calloutStatusRate = $calloutStatusRate;
+ }
+ public function getCalloutStatusRate()
+ {
+ return $this->calloutStatusRate;
+ }
+ public function setCookieMatcherStatusRate($cookieMatcherStatusRate)
+ {
+ $this->cookieMatcherStatusRate = $cookieMatcherStatusRate;
+ }
+ public function getCookieMatcherStatusRate()
+ {
+ return $this->cookieMatcherStatusRate;
+ }
+ public function setCreativeStatusRate($creativeStatusRate)
+ {
+ $this->creativeStatusRate = $creativeStatusRate;
+ }
+ public function getCreativeStatusRate()
+ {
+ return $this->creativeStatusRate;
+ }
+ public function setHostedMatchStatusRate($hostedMatchStatusRate)
+ {
+ $this->hostedMatchStatusRate = $hostedMatchStatusRate;
+ }
+ public function getHostedMatchStatusRate()
+ {
+ return $this->hostedMatchStatusRate;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLatency50thPercentile($latency50thPercentile)
+ {
+ $this->latency50thPercentile = $latency50thPercentile;
+ }
+ public function getLatency50thPercentile()
+ {
+ return $this->latency50thPercentile;
+ }
+ public function setLatency85thPercentile($latency85thPercentile)
+ {
+ $this->latency85thPercentile = $latency85thPercentile;
+ }
+ public function getLatency85thPercentile()
+ {
+ return $this->latency85thPercentile;
+ }
+ public function setLatency95thPercentile($latency95thPercentile)
+ {
+ $this->latency95thPercentile = $latency95thPercentile;
+ }
+ public function getLatency95thPercentile()
+ {
+ return $this->latency95thPercentile;
+ }
+ public function setNoQuotaInRegion($noQuotaInRegion)
+ {
+ $this->noQuotaInRegion = $noQuotaInRegion;
+ }
+ public function getNoQuotaInRegion()
+ {
+ return $this->noQuotaInRegion;
+ }
+ public function setOutOfQuota($outOfQuota)
+ {
+ $this->outOfQuota = $outOfQuota;
+ }
+ public function getOutOfQuota()
+ {
+ return $this->outOfQuota;
+ }
+ public function setPixelMatchRequests($pixelMatchRequests)
+ {
+ $this->pixelMatchRequests = $pixelMatchRequests;
+ }
+ public function getPixelMatchRequests()
+ {
+ return $this->pixelMatchRequests;
+ }
+ public function setPixelMatchResponses($pixelMatchResponses)
+ {
+ $this->pixelMatchResponses = $pixelMatchResponses;
+ }
+ public function getPixelMatchResponses()
+ {
+ return $this->pixelMatchResponses;
+ }
+ public function setQuotaConfiguredLimit($quotaConfiguredLimit)
+ {
+ $this->quotaConfiguredLimit = $quotaConfiguredLimit;
+ }
+ public function getQuotaConfiguredLimit()
+ {
+ return $this->quotaConfiguredLimit;
+ }
+ public function setQuotaThrottledLimit($quotaThrottledLimit)
+ {
+ $this->quotaThrottledLimit = $quotaThrottledLimit;
+ }
+ public function getQuotaThrottledLimit()
+ {
+ return $this->quotaThrottledLimit;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setTimestamp($timestamp)
+ {
+ $this->timestamp = $timestamp;
+ }
+ public function getTimestamp()
+ {
+ return $this->timestamp;
+ }
+}
+
+class Postman_Google_Service_AdExchangeBuyer_PerformanceReportList extends Postman_Google_Collection
+{
+ protected $collection_key = 'performanceReport';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $performanceReportType = 'Postman_Google_Service_AdExchangeBuyer_PerformanceReport';
+ protected $performanceReportDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPerformanceReport($performanceReport)
+ {
+ $this->performanceReport = $performanceReport;
+ }
+ public function getPerformanceReport()
+ {
+ return $this->performanceReport;
+ }
+}
+
+class Postman_Google_Service_AdExchangeBuyer_PretargetingConfig extends Postman_Google_Collection
+{
+ protected $collection_key = 'verticals';
+ protected $internal_gapi_mappings = array(
+ );
+ public $billingId;
+ public $configId;
+ public $configName;
+ public $creativeType;
+ protected $dimensionsType = 'Postman_Google_Service_AdExchangeBuyer_PretargetingConfigDimensions';
+ protected $dimensionsDataType = 'array';
+ public $excludedContentLabels;
+ public $excludedGeoCriteriaIds;
+ protected $excludedPlacementsType = 'Postman_Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements';
+ protected $excludedPlacementsDataType = 'array';
+ public $excludedUserLists;
+ public $excludedVerticals;
+ public $geoCriteriaIds;
+ public $isActive;
+ public $kind;
+ public $languages;
+ public $mobileCarriers;
+ public $mobileDevices;
+ public $mobileOperatingSystemVersions;
+ protected $placementsType = 'Postman_Google_Service_AdExchangeBuyer_PretargetingConfigPlacements';
+ protected $placementsDataType = 'array';
+ public $platforms;
+ public $supportedCreativeAttributes;
+ public $userLists;
+ public $vendorTypes;
+ public $verticals;
+
+
+ public function setBillingId($billingId)
+ {
+ $this->billingId = $billingId;
+ }
+ public function getBillingId()
+ {
+ return $this->billingId;
+ }
+ public function setConfigId($configId)
+ {
+ $this->configId = $configId;
+ }
+ public function getConfigId()
+ {
+ return $this->configId;
+ }
+ public function setConfigName($configName)
+ {
+ $this->configName = $configName;
+ }
+ public function getConfigName()
+ {
+ return $this->configName;
+ }
+ public function setCreativeType($creativeType)
+ {
+ $this->creativeType = $creativeType;
+ }
+ public function getCreativeType()
+ {
+ return $this->creativeType;
+ }
+ public function setDimensions($dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+ public function setExcludedContentLabels($excludedContentLabels)
+ {
+ $this->excludedContentLabels = $excludedContentLabels;
+ }
+ public function getExcludedContentLabels()
+ {
+ return $this->excludedContentLabels;
+ }
+ public function setExcludedGeoCriteriaIds($excludedGeoCriteriaIds)
+ {
+ $this->excludedGeoCriteriaIds = $excludedGeoCriteriaIds;
+ }
+ public function getExcludedGeoCriteriaIds()
+ {
+ return $this->excludedGeoCriteriaIds;
+ }
+ public function setExcludedPlacements($excludedPlacements)
+ {
+ $this->excludedPlacements = $excludedPlacements;
+ }
+ public function getExcludedPlacements()
+ {
+ return $this->excludedPlacements;
+ }
+ public function setExcludedUserLists($excludedUserLists)
+ {
+ $this->excludedUserLists = $excludedUserLists;
+ }
+ public function getExcludedUserLists()
+ {
+ return $this->excludedUserLists;
+ }
+ public function setExcludedVerticals($excludedVerticals)
+ {
+ $this->excludedVerticals = $excludedVerticals;
+ }
+ public function getExcludedVerticals()
+ {
+ return $this->excludedVerticals;
+ }
+ public function setGeoCriteriaIds($geoCriteriaIds)
+ {
+ $this->geoCriteriaIds = $geoCriteriaIds;
+ }
+ public function getGeoCriteriaIds()
+ {
+ return $this->geoCriteriaIds;
+ }
+ public function setIsActive($isActive)
+ {
+ $this->isActive = $isActive;
+ }
+ public function getIsActive()
+ {
+ return $this->isActive;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLanguages($languages)
+ {
+ $this->languages = $languages;
+ }
+ public function getLanguages()
+ {
+ return $this->languages;
+ }
+ public function setMobileCarriers($mobileCarriers)
+ {
+ $this->mobileCarriers = $mobileCarriers;
+ }
+ public function getMobileCarriers()
+ {
+ return $this->mobileCarriers;
+ }
+ public function setMobileDevices($mobileDevices)
+ {
+ $this->mobileDevices = $mobileDevices;
+ }
+ public function getMobileDevices()
+ {
+ return $this->mobileDevices;
+ }
+ public function setMobileOperatingSystemVersions($mobileOperatingSystemVersions)
+ {
+ $this->mobileOperatingSystemVersions = $mobileOperatingSystemVersions;
+ }
+ public function getMobileOperatingSystemVersions()
+ {
+ return $this->mobileOperatingSystemVersions;
+ }
+ public function setPlacements($placements)
+ {
+ $this->placements = $placements;
+ }
+ public function getPlacements()
+ {
+ return $this->placements;
+ }
+ public function setPlatforms($platforms)
+ {
+ $this->platforms = $platforms;
+ }
+ public function getPlatforms()
+ {
+ return $this->platforms;
+ }
+ public function setSupportedCreativeAttributes($supportedCreativeAttributes)
+ {
+ $this->supportedCreativeAttributes = $supportedCreativeAttributes;
+ }
+ public function getSupportedCreativeAttributes()
+ {
+ return $this->supportedCreativeAttributes;
+ }
+ public function setUserLists($userLists)
+ {
+ $this->userLists = $userLists;
+ }
+ public function getUserLists()
+ {
+ return $this->userLists;
+ }
+ public function setVendorTypes($vendorTypes)
+ {
+ $this->vendorTypes = $vendorTypes;
+ }
+ public function getVendorTypes()
+ {
+ return $this->vendorTypes;
+ }
+ public function setVerticals($verticals)
+ {
+ $this->verticals = $verticals;
+ }
+ public function getVerticals()
+ {
+ return $this->verticals;
+ }
+}
+
+class Postman_Google_Service_AdExchangeBuyer_PretargetingConfigDimensions extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $height;
+ public $width;
+
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $token;
+ public $type;
+
+
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+ public function getToken()
+ {
+ return $this->token;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_AdExchangeBuyer_PretargetingConfigList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_AdExchangeBuyer_PretargetingConfig';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_AdExchangeBuyer_PretargetingConfigPlacements extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $token;
+ public $type;
+
+
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+ public function getToken()
+ {
+ return $this->token;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AdExchangeSeller.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AdExchangeSeller.php
new file mode 100644
index 0000000..6331269
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AdExchangeSeller.php
@@ -0,0 +1,1712 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for AdExchangeSeller (v2.0).
+ *
+ * <p>
+ * Gives Ad Exchange seller users access to their inventory and the ability to
+ * generate reports</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/ad-exchange/seller-rest/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_AdExchangeSeller extends Postman_Google_Service
+{
+ /** View and manage your Ad Exchange data. */
+ const ADEXCHANGE_SELLER =
+ "https://www.googleapis.com/auth/adexchange.seller";
+ /** View your Ad Exchange data. */
+ const ADEXCHANGE_SELLER_READONLY =
+ "https://www.googleapis.com/auth/adexchange.seller.readonly";
+
+ public $accounts;
+ public $accounts_adclients;
+ public $accounts_alerts;
+ public $accounts_customchannels;
+ public $accounts_metadata_dimensions;
+ public $accounts_metadata_metrics;
+ public $accounts_preferreddeals;
+ public $accounts_reports;
+ public $accounts_reports_saved;
+ public $accounts_urlchannels;
+
+
+ /**
+ * Constructs the internal representation of the AdExchangeSeller service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'adexchangeseller/v2.0/';
+ $this->version = 'v2.0';
+ $this->serviceName = 'adexchangeseller';
+
+ $this->accounts = new Postman_Google_Service_AdExchangeSeller_Accounts_Resource(
+ $this,
+ $this->serviceName,
+ 'accounts',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'accounts/{accountId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_adclients = new Postman_Google_Service_AdExchangeSeller_AccountsAdclients_Resource(
+ $this,
+ $this->serviceName,
+ 'adclients',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'accounts/{accountId}/adclients',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_alerts = new Postman_Google_Service_AdExchangeSeller_AccountsAlerts_Resource(
+ $this,
+ $this->serviceName,
+ 'alerts',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'accounts/{accountId}/alerts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_customchannels = new Postman_Google_Service_AdExchangeSeller_AccountsCustomchannels_Resource(
+ $this,
+ $this->serviceName,
+ 'customchannels',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customChannelId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_metadata_dimensions = new Postman_Google_Service_AdExchangeSeller_AccountsMetadataDimensions_Resource(
+ $this,
+ $this->serviceName,
+ 'dimensions',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'accounts/{accountId}/metadata/dimensions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_metadata_metrics = new Postman_Google_Service_AdExchangeSeller_AccountsMetadataMetrics_Resource(
+ $this,
+ $this->serviceName,
+ 'metrics',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'accounts/{accountId}/metadata/metrics',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_preferreddeals = new Postman_Google_Service_AdExchangeSeller_AccountsPreferreddeals_Resource(
+ $this,
+ $this->serviceName,
+ 'preferreddeals',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'accounts/{accountId}/preferreddeals/{dealId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dealId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts/{accountId}/preferreddeals',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_reports = new Postman_Google_Service_AdExchangeSeller_AccountsReports_Resource(
+ $this,
+ $this->serviceName,
+ 'reports',
+ array(
+ 'methods' => array(
+ 'generate' => array(
+ 'path' => 'accounts/{accountId}/reports',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'startDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'endDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sort' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'metric' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'dimension' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_reports_saved = new Postman_Google_Service_AdExchangeSeller_AccountsReportsSaved_Resource(
+ $this,
+ $this->serviceName,
+ 'saved',
+ array(
+ 'methods' => array(
+ 'generate' => array(
+ 'path' => 'accounts/{accountId}/reports/{savedReportId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'savedReportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts/{accountId}/reports/saved',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_urlchannels = new Postman_Google_Service_AdExchangeSeller_AccountsUrlchannels_Resource(
+ $this,
+ $this->serviceName,
+ 'urlchannels',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/urlchannels',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangesellerService = new Postman_Google_Service_AdExchangeSeller(...);
+ * $accounts = $adexchangesellerService->accounts;
+ * </code>
+ */
+class Postman_Google_Service_AdExchangeSeller_Accounts_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Get information about the selected Ad Exchange account. (accounts.get)
+ *
+ * @param string $accountId Account to get information about. Tip: 'myaccount'
+ * is a valid ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdExchangeSeller_Account
+ */
+ public function get($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AdExchangeSeller_Account");
+ }
+
+ /**
+ * List all accounts available to this Ad Exchange account.
+ * (accounts.listAccounts)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A continuation token, used to page through
+ * accounts. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param int maxResults The maximum number of accounts to include in the
+ * response, used for paging.
+ * @return Postman_Google_Service_AdExchangeSeller_Accounts
+ */
+ public function listAccounts($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdExchangeSeller_Accounts");
+ }
+}
+
+/**
+ * The "adclients" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangesellerService = new Postman_Google_Service_AdExchangeSeller(...);
+ * $adclients = $adexchangesellerService->adclients;
+ * </code>
+ */
+class Postman_Google_Service_AdExchangeSeller_AccountsAdclients_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List all ad clients in this Ad Exchange account.
+ * (adclients.listAccountsAdclients)
+ *
+ * @param string $accountId Account to which the ad client belongs.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A continuation token, used to page through ad
+ * clients. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param string maxResults The maximum number of ad clients to include in
+ * the response, used for paging.
+ * @return Postman_Google_Service_AdExchangeSeller_AdClients
+ */
+ public function listAccountsAdclients($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdExchangeSeller_AdClients");
+ }
+}
+/**
+ * The "alerts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangesellerService = new Postman_Google_Service_AdExchangeSeller(...);
+ * $alerts = $adexchangesellerService->alerts;
+ * </code>
+ */
+class Postman_Google_Service_AdExchangeSeller_AccountsAlerts_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List the alerts for this Ad Exchange account. (alerts.listAccountsAlerts)
+ *
+ * @param string $accountId Account owning the alerts.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string locale The locale to use for translating alert messages.
+ * The account locale will be used if this is not supplied. The AdSense default
+ * (English) will be used if the supplied locale is invalid or unsupported.
+ * @return Postman_Google_Service_AdExchangeSeller_Alerts
+ */
+ public function listAccountsAlerts($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdExchangeSeller_Alerts");
+ }
+}
+/**
+ * The "customchannels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangesellerService = new Postman_Google_Service_AdExchangeSeller(...);
+ * $customchannels = $adexchangesellerService->customchannels;
+ * </code>
+ */
+class Postman_Google_Service_AdExchangeSeller_AccountsCustomchannels_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Get the specified custom channel from the specified ad client.
+ * (customchannels.get)
+ *
+ * @param string $accountId Account to which the ad client belongs.
+ * @param string $adClientId Ad client which contains the custom channel.
+ * @param string $customChannelId Custom channel to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdExchangeSeller_CustomChannel
+ */
+ public function get($accountId, $adClientId, $customChannelId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AdExchangeSeller_CustomChannel");
+ }
+
+ /**
+ * List all custom channels in the specified ad client for this Ad Exchange
+ * account. (customchannels.listAccountsCustomchannels)
+ *
+ * @param string $accountId Account to which the ad client belongs.
+ * @param string $adClientId Ad client for which to list custom channels.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A continuation token, used to page through custom
+ * channels. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param string maxResults The maximum number of custom channels to include
+ * in the response, used for paging.
+ * @return Postman_Google_Service_AdExchangeSeller_CustomChannels
+ */
+ public function listAccountsCustomchannels($accountId, $adClientId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdExchangeSeller_CustomChannels");
+ }
+}
+/**
+ * The "metadata" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangesellerService = new Postman_Google_Service_AdExchangeSeller(...);
+ * $metadata = $adexchangesellerService->metadata;
+ * </code>
+ */
+class Postman_Google_Service_AdExchangeSeller_AccountsMetadata_Resource extends Postman_Google_Service_Resource
+{
+}
+
+/**
+ * The "dimensions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangesellerService = new Postman_Google_Service_AdExchangeSeller(...);
+ * $dimensions = $adexchangesellerService->dimensions;
+ * </code>
+ */
+class Postman_Google_Service_AdExchangeSeller_AccountsMetadataDimensions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List the metadata for the dimensions available to this AdExchange account.
+ * (dimensions.listAccountsMetadataDimensions)
+ *
+ * @param string $accountId Account with visibility to the dimensions.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdExchangeSeller_Metadata
+ */
+ public function listAccountsMetadataDimensions($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdExchangeSeller_Metadata");
+ }
+}
+/**
+ * The "metrics" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangesellerService = new Postman_Google_Service_AdExchangeSeller(...);
+ * $metrics = $adexchangesellerService->metrics;
+ * </code>
+ */
+class Postman_Google_Service_AdExchangeSeller_AccountsMetadataMetrics_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List the metadata for the metrics available to this AdExchange account.
+ * (metrics.listAccountsMetadataMetrics)
+ *
+ * @param string $accountId Account with visibility to the metrics.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdExchangeSeller_Metadata
+ */
+ public function listAccountsMetadataMetrics($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdExchangeSeller_Metadata");
+ }
+}
+/**
+ * The "preferreddeals" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangesellerService = new Postman_Google_Service_AdExchangeSeller(...);
+ * $preferreddeals = $adexchangesellerService->preferreddeals;
+ * </code>
+ */
+class Postman_Google_Service_AdExchangeSeller_AccountsPreferreddeals_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Get information about the selected Ad Exchange Preferred Deal.
+ * (preferreddeals.get)
+ *
+ * @param string $accountId Account owning the deal.
+ * @param string $dealId Preferred deal to get information about.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdExchangeSeller_PreferredDeal
+ */
+ public function get($accountId, $dealId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'dealId' => $dealId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AdExchangeSeller_PreferredDeal");
+ }
+
+ /**
+ * List the preferred deals for this Ad Exchange account.
+ * (preferreddeals.listAccountsPreferreddeals)
+ *
+ * @param string $accountId Account owning the deals.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdExchangeSeller_PreferredDeals
+ */
+ public function listAccountsPreferreddeals($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdExchangeSeller_PreferredDeals");
+ }
+}
+/**
+ * The "reports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangesellerService = new Postman_Google_Service_AdExchangeSeller(...);
+ * $reports = $adexchangesellerService->reports;
+ * </code>
+ */
+class Postman_Google_Service_AdExchangeSeller_AccountsReports_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Generate an Ad Exchange report based on the report request sent in the query
+ * parameters. Returns the result as JSON; to retrieve output in CSV format
+ * specify "alt=csv" as a query parameter. (reports.generate)
+ *
+ * @param string $accountId Account which owns the generated report.
+ * @param string $startDate Start of the date range to report on in "YYYY-MM-DD"
+ * format, inclusive.
+ * @param string $endDate End of the date range to report on in "YYYY-MM-DD"
+ * format, inclusive.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string sort The name of a dimension or metric to sort the
+ * resulting report on, optionally prefixed with "+" to sort ascending or "-" to
+ * sort descending. If no prefix is specified, the column is sorted ascending.
+ * @opt_param string locale Optional locale to use for translating report output
+ * to a local language. Defaults to "en_US" if not specified.
+ * @opt_param string metric Numeric columns to include in the report.
+ * @opt_param string maxResults The maximum number of rows of report data to
+ * return.
+ * @opt_param string filter Filters to be run on the report.
+ * @opt_param string startIndex Index of the first row of report data to return.
+ * @opt_param string dimension Dimensions to base the report on.
+ * @return Postman_Google_Service_AdExchangeSeller_Report
+ */
+ public function generate($accountId, $startDate, $endDate, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate);
+ $params = array_merge($params, $optParams);
+ return $this->call('generate', array($params), "Postman_Google_Service_AdExchangeSeller_Report");
+ }
+}
+
+/**
+ * The "saved" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangesellerService = new Postman_Google_Service_AdExchangeSeller(...);
+ * $saved = $adexchangesellerService->saved;
+ * </code>
+ */
+class Postman_Google_Service_AdExchangeSeller_AccountsReportsSaved_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Generate an Ad Exchange report based on the saved report ID sent in the query
+ * parameters. (saved.generate)
+ *
+ * @param string $accountId Account owning the saved report.
+ * @param string $savedReportId The saved report to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string locale Optional locale to use for translating report output
+ * to a local language. Defaults to "en_US" if not specified.
+ * @opt_param int startIndex Index of the first row of report data to return.
+ * @opt_param int maxResults The maximum number of rows of report data to
+ * return.
+ * @return Postman_Google_Service_AdExchangeSeller_Report
+ */
+ public function generate($accountId, $savedReportId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'savedReportId' => $savedReportId);
+ $params = array_merge($params, $optParams);
+ return $this->call('generate', array($params), "Postman_Google_Service_AdExchangeSeller_Report");
+ }
+
+ /**
+ * List all saved reports in this Ad Exchange account.
+ * (saved.listAccountsReportsSaved)
+ *
+ * @param string $accountId Account owning the saved reports.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A continuation token, used to page through saved
+ * reports. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param int maxResults The maximum number of saved reports to include in
+ * the response, used for paging.
+ * @return Postman_Google_Service_AdExchangeSeller_SavedReports
+ */
+ public function listAccountsReportsSaved($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdExchangeSeller_SavedReports");
+ }
+}
+/**
+ * The "urlchannels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adexchangesellerService = new Postman_Google_Service_AdExchangeSeller(...);
+ * $urlchannels = $adexchangesellerService->urlchannels;
+ * </code>
+ */
+class Postman_Google_Service_AdExchangeSeller_AccountsUrlchannels_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List all URL channels in the specified ad client for this Ad Exchange
+ * account. (urlchannels.listAccountsUrlchannels)
+ *
+ * @param string $accountId Account to which the ad client belongs.
+ * @param string $adClientId Ad client for which to list URL channels.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A continuation token, used to page through URL
+ * channels. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param string maxResults The maximum number of URL channels to include in
+ * the response, used for paging.
+ * @return Postman_Google_Service_AdExchangeSeller_UrlChannels
+ */
+ public function listAccountsUrlchannels($accountId, $adClientId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdExchangeSeller_UrlChannels");
+ }
+}
+
+
+
+
+class Postman_Google_Service_AdExchangeSeller_Account extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $name;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_AdExchangeSeller_Accounts extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_AdExchangeSeller_Account';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_AdExchangeSeller_AdClient extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $arcOptIn;
+ public $id;
+ public $kind;
+ public $productCode;
+ public $supportsReporting;
+
+
+ public function setArcOptIn($arcOptIn)
+ {
+ $this->arcOptIn = $arcOptIn;
+ }
+ public function getArcOptIn()
+ {
+ return $this->arcOptIn;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setProductCode($productCode)
+ {
+ $this->productCode = $productCode;
+ }
+ public function getProductCode()
+ {
+ return $this->productCode;
+ }
+ public function setSupportsReporting($supportsReporting)
+ {
+ $this->supportsReporting = $supportsReporting;
+ }
+ public function getSupportsReporting()
+ {
+ return $this->supportsReporting;
+ }
+}
+
+class Postman_Google_Service_AdExchangeSeller_AdClients extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_AdExchangeSeller_AdClient';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_AdExchangeSeller_Alert extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $message;
+ public $severity;
+ public $type;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+ public function setSeverity($severity)
+ {
+ $this->severity = $severity;
+ }
+ public function getSeverity()
+ {
+ return $this->severity;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_AdExchangeSeller_Alerts extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_AdExchangeSeller_Alert';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_AdExchangeSeller_CustomChannel extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $id;
+ public $kind;
+ public $name;
+ protected $targetingInfoType = 'Postman_Google_Service_AdExchangeSeller_CustomChannelTargetingInfo';
+ protected $targetingInfoDataType = '';
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setTargetingInfo(Postman_Google_Service_AdExchangeSeller_CustomChannelTargetingInfo $targetingInfo)
+ {
+ $this->targetingInfo = $targetingInfo;
+ }
+ public function getTargetingInfo()
+ {
+ return $this->targetingInfo;
+ }
+}
+
+class Postman_Google_Service_AdExchangeSeller_CustomChannelTargetingInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $adsAppearOn;
+ public $description;
+ public $location;
+ public $siteLanguage;
+
+
+ public function setAdsAppearOn($adsAppearOn)
+ {
+ $this->adsAppearOn = $adsAppearOn;
+ }
+ public function getAdsAppearOn()
+ {
+ return $this->adsAppearOn;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setSiteLanguage($siteLanguage)
+ {
+ $this->siteLanguage = $siteLanguage;
+ }
+ public function getSiteLanguage()
+ {
+ return $this->siteLanguage;
+ }
+}
+
+class Postman_Google_Service_AdExchangeSeller_CustomChannels extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_AdExchangeSeller_CustomChannel';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_AdExchangeSeller_Metadata extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_AdExchangeSeller_ReportingMetadataEntry';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_AdExchangeSeller_PreferredDeal extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $advertiserName;
+ public $buyerNetworkName;
+ public $currencyCode;
+ public $endTime;
+ public $fixedCpm;
+ public $id;
+ public $kind;
+ public $startTime;
+
+
+ public function setAdvertiserName($advertiserName)
+ {
+ $this->advertiserName = $advertiserName;
+ }
+ public function getAdvertiserName()
+ {
+ return $this->advertiserName;
+ }
+ public function setBuyerNetworkName($buyerNetworkName)
+ {
+ $this->buyerNetworkName = $buyerNetworkName;
+ }
+ public function getBuyerNetworkName()
+ {
+ return $this->buyerNetworkName;
+ }
+ public function setCurrencyCode($currencyCode)
+ {
+ $this->currencyCode = $currencyCode;
+ }
+ public function getCurrencyCode()
+ {
+ return $this->currencyCode;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setFixedCpm($fixedCpm)
+ {
+ $this->fixedCpm = $fixedCpm;
+ }
+ public function getFixedCpm()
+ {
+ return $this->fixedCpm;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+}
+
+class Postman_Google_Service_AdExchangeSeller_PreferredDeals extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_AdExchangeSeller_PreferredDeal';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_AdExchangeSeller_Report extends Postman_Google_Collection
+{
+ protected $collection_key = 'warnings';
+ protected $internal_gapi_mappings = array(
+ );
+ public $averages;
+ protected $headersType = 'Postman_Google_Service_AdExchangeSeller_ReportHeaders';
+ protected $headersDataType = 'array';
+ public $kind;
+ public $rows;
+ public $totalMatchedRows;
+ public $totals;
+ public $warnings;
+
+
+ public function setAverages($averages)
+ {
+ $this->averages = $averages;
+ }
+ public function getAverages()
+ {
+ return $this->averages;
+ }
+ public function setHeaders($headers)
+ {
+ $this->headers = $headers;
+ }
+ public function getHeaders()
+ {
+ return $this->headers;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRows($rows)
+ {
+ $this->rows = $rows;
+ }
+ public function getRows()
+ {
+ return $this->rows;
+ }
+ public function setTotalMatchedRows($totalMatchedRows)
+ {
+ $this->totalMatchedRows = $totalMatchedRows;
+ }
+ public function getTotalMatchedRows()
+ {
+ return $this->totalMatchedRows;
+ }
+ public function setTotals($totals)
+ {
+ $this->totals = $totals;
+ }
+ public function getTotals()
+ {
+ return $this->totals;
+ }
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
+
+class Postman_Google_Service_AdExchangeSeller_ReportHeaders extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $currency;
+ public $name;
+ public $type;
+
+
+ public function setCurrency($currency)
+ {
+ $this->currency = $currency;
+ }
+ public function getCurrency()
+ {
+ return $this->currency;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_AdExchangeSeller_ReportingMetadataEntry extends Postman_Google_Collection
+{
+ protected $collection_key = 'supportedProducts';
+ protected $internal_gapi_mappings = array(
+ );
+ public $compatibleDimensions;
+ public $compatibleMetrics;
+ public $id;
+ public $kind;
+ public $requiredDimensions;
+ public $requiredMetrics;
+ public $supportedProducts;
+
+
+ public function setCompatibleDimensions($compatibleDimensions)
+ {
+ $this->compatibleDimensions = $compatibleDimensions;
+ }
+ public function getCompatibleDimensions()
+ {
+ return $this->compatibleDimensions;
+ }
+ public function setCompatibleMetrics($compatibleMetrics)
+ {
+ $this->compatibleMetrics = $compatibleMetrics;
+ }
+ public function getCompatibleMetrics()
+ {
+ return $this->compatibleMetrics;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRequiredDimensions($requiredDimensions)
+ {
+ $this->requiredDimensions = $requiredDimensions;
+ }
+ public function getRequiredDimensions()
+ {
+ return $this->requiredDimensions;
+ }
+ public function setRequiredMetrics($requiredMetrics)
+ {
+ $this->requiredMetrics = $requiredMetrics;
+ }
+ public function getRequiredMetrics()
+ {
+ return $this->requiredMetrics;
+ }
+ public function setSupportedProducts($supportedProducts)
+ {
+ $this->supportedProducts = $supportedProducts;
+ }
+ public function getSupportedProducts()
+ {
+ return $this->supportedProducts;
+ }
+}
+
+class Postman_Google_Service_AdExchangeSeller_SavedReport extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $name;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_AdExchangeSeller_SavedReports extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_AdExchangeSeller_SavedReport';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_AdExchangeSeller_UrlChannel extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $urlPattern;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUrlPattern($urlPattern)
+ {
+ $this->urlPattern = $urlPattern;
+ }
+ public function getUrlPattern()
+ {
+ return $this->urlPattern;
+ }
+}
+
+class Postman_Google_Service_AdExchangeSeller_UrlChannels extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_AdExchangeSeller_UrlChannel';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AdSense.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AdSense.php
new file mode 100644
index 0000000..d744467
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AdSense.php
@@ -0,0 +1,3585 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for AdSense (v1.4).
+ *
+ * <p>
+ * Gives AdSense publishers access to their inventory and the ability to
+ * generate reports</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/adsense/management/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_AdSense extends Postman_Google_Service
+{
+ /** View and manage your AdSense data. */
+ const ADSENSE =
+ "https://www.googleapis.com/auth/adsense";
+ /** View your AdSense data. */
+ const ADSENSE_READONLY =
+ "https://www.googleapis.com/auth/adsense.readonly";
+
+ public $accounts;
+ public $accounts_adclients;
+ public $accounts_adunits;
+ public $accounts_adunits_customchannels;
+ public $accounts_alerts;
+ public $accounts_customchannels;
+ public $accounts_customchannels_adunits;
+ public $accounts_payments;
+ public $accounts_reports;
+ public $accounts_reports_saved;
+ public $accounts_savedadstyles;
+ public $accounts_urlchannels;
+ public $adclients;
+ public $adunits;
+ public $adunits_customchannels;
+ public $alerts;
+ public $customchannels;
+ public $customchannels_adunits;
+ public $metadata_dimensions;
+ public $metadata_metrics;
+ public $payments;
+ public $reports;
+ public $reports_saved;
+ public $savedadstyles;
+ public $urlchannels;
+
+
+ /**
+ * Constructs the internal representation of the AdSense service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'adsense/v1.4/';
+ $this->version = 'v1.4';
+ $this->serviceName = 'adsense';
+
+ $this->accounts = new Postman_Google_Service_AdSense_Accounts_Resource(
+ $this,
+ $this->serviceName,
+ 'accounts',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'accounts/{accountId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'tree' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_adclients = new Postman_Google_Service_AdSense_AccountsAdclients_Resource(
+ $this,
+ $this->serviceName,
+ 'adclients',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'accounts/{accountId}/adclients',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_adunits = new Postman_Google_Service_AdSense_AccountsAdunits_Resource(
+ $this,
+ $this->serviceName,
+ 'adunits',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adUnitId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getAdCode' => array(
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adUnitId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'includeInactive' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_adunits_customchannels = new Postman_Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource(
+ $this,
+ $this->serviceName,
+ 'customchannels',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/customchannels',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adUnitId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_alerts = new Postman_Google_Service_AdSense_AccountsAlerts_Resource(
+ $this,
+ $this->serviceName,
+ 'alerts',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'accounts/{accountId}/alerts/{alertId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'alertId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts/{accountId}/alerts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_customchannels = new Postman_Google_Service_AdSense_AccountsCustomchannels_Resource(
+ $this,
+ $this->serviceName,
+ 'customchannels',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customChannelId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_customchannels_adunits = new Postman_Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource(
+ $this,
+ $this->serviceName,
+ 'adunits',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}/adunits',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customChannelId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'includeInactive' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_payments = new Postman_Google_Service_AdSense_AccountsPayments_Resource(
+ $this,
+ $this->serviceName,
+ 'payments',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'accounts/{accountId}/payments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_reports = new Postman_Google_Service_AdSense_AccountsReports_Resource(
+ $this,
+ $this->serviceName,
+ 'reports',
+ array(
+ 'methods' => array(
+ 'generate' => array(
+ 'path' => 'accounts/{accountId}/reports',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'startDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'endDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sort' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'metric' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'currency' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'useTimezoneReporting' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'dimension' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_reports_saved = new Postman_Google_Service_AdSense_AccountsReportsSaved_Resource(
+ $this,
+ $this->serviceName,
+ 'saved',
+ array(
+ 'methods' => array(
+ 'generate' => array(
+ 'path' => 'accounts/{accountId}/reports/{savedReportId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'savedReportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts/{accountId}/reports/saved',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_savedadstyles = new Postman_Google_Service_AdSense_AccountsSavedadstyles_Resource(
+ $this,
+ $this->serviceName,
+ 'savedadstyles',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'accounts/{accountId}/savedadstyles/{savedAdStyleId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'savedAdStyleId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts/{accountId}/savedadstyles',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_urlchannels = new Postman_Google_Service_AdSense_AccountsUrlchannels_Resource(
+ $this,
+ $this->serviceName,
+ 'urlchannels',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/urlchannels',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->adclients = new Postman_Google_Service_AdSense_Adclients_Resource(
+ $this,
+ $this->serviceName,
+ 'adclients',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'adclients',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->adunits = new Postman_Google_Service_AdSense_Adunits_Resource(
+ $this,
+ $this->serviceName,
+ 'adunits',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'adclients/{adClientId}/adunits/{adUnitId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adUnitId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getAdCode' => array(
+ 'path' => 'adclients/{adClientId}/adunits/{adUnitId}/adcode',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adUnitId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'adclients/{adClientId}/adunits',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'includeInactive' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->adunits_customchannels = new Postman_Google_Service_AdSense_AdunitsCustomchannels_Resource(
+ $this,
+ $this->serviceName,
+ 'customchannels',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'adclients/{adClientId}/adunits/{adUnitId}/customchannels',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adUnitId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->alerts = new Postman_Google_Service_AdSense_Alerts_Resource(
+ $this,
+ $this->serviceName,
+ 'alerts',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'alerts/{alertId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'alertId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'alerts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->customchannels = new Postman_Google_Service_AdSense_Customchannels_Resource(
+ $this,
+ $this->serviceName,
+ 'customchannels',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customChannelId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'adclients/{adClientId}/customchannels',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->customchannels_adunits = new Postman_Google_Service_AdSense_CustomchannelsAdunits_Resource(
+ $this,
+ $this->serviceName,
+ 'adunits',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}/adunits',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customChannelId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'includeInactive' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->metadata_dimensions = new Postman_Google_Service_AdSense_MetadataDimensions_Resource(
+ $this,
+ $this->serviceName,
+ 'dimensions',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'metadata/dimensions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->metadata_metrics = new Postman_Google_Service_AdSense_MetadataMetrics_Resource(
+ $this,
+ $this->serviceName,
+ 'metrics',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'metadata/metrics',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->payments = new Postman_Google_Service_AdSense_Payments_Resource(
+ $this,
+ $this->serviceName,
+ 'payments',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'payments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->reports = new Postman_Google_Service_AdSense_Reports_Resource(
+ $this,
+ $this->serviceName,
+ 'reports',
+ array(
+ 'methods' => array(
+ 'generate' => array(
+ 'path' => 'reports',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'startDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'endDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sort' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'metric' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'currency' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'useTimezoneReporting' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'dimension' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->reports_saved = new Postman_Google_Service_AdSense_ReportsSaved_Resource(
+ $this,
+ $this->serviceName,
+ 'saved',
+ array(
+ 'methods' => array(
+ 'generate' => array(
+ 'path' => 'reports/{savedReportId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'savedReportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'reports/saved',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->savedadstyles = new Postman_Google_Service_AdSense_Savedadstyles_Resource(
+ $this,
+ $this->serviceName,
+ 'savedadstyles',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'savedadstyles/{savedAdStyleId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'savedAdStyleId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'savedadstyles',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->urlchannels = new Postman_Google_Service_AdSense_Urlchannels_Resource(
+ $this,
+ $this->serviceName,
+ 'urlchannels',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'adclients/{adClientId}/urlchannels',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $accounts = $adsenseService->accounts;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_Accounts_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Get information about the selected AdSense account. (accounts.get)
+ *
+ * @param string $accountId Account to get information about.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool tree Whether the tree of sub accounts should be returned.
+ * @return Postman_Google_Service_AdSense_Account
+ */
+ public function get($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AdSense_Account");
+ }
+
+ /**
+ * List all accounts available to this AdSense account. (accounts.listAccounts)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A continuation token, used to page through
+ * accounts. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param int maxResults The maximum number of accounts to include in the
+ * response, used for paging.
+ * @return Postman_Google_Service_AdSense_Accounts
+ */
+ public function listAccounts($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSense_Accounts");
+ }
+}
+
+/**
+ * The "adclients" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $adclients = $adsenseService->adclients;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_AccountsAdclients_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List all ad clients in the specified account.
+ * (adclients.listAccountsAdclients)
+ *
+ * @param string $accountId Account for which to list ad clients.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A continuation token, used to page through ad
+ * clients. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param int maxResults The maximum number of ad clients to include in the
+ * response, used for paging.
+ * @return Postman_Google_Service_AdSense_AdClients
+ */
+ public function listAccountsAdclients($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSense_AdClients");
+ }
+}
+/**
+ * The "adunits" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $adunits = $adsenseService->adunits;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_AccountsAdunits_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets the specified ad unit in the specified ad client for the specified
+ * account. (adunits.get)
+ *
+ * @param string $accountId Account to which the ad client belongs.
+ * @param string $adClientId Ad client for which to get the ad unit.
+ * @param string $adUnitId Ad unit to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSense_AdUnit
+ */
+ public function get($accountId, $adClientId, $adUnitId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AdSense_AdUnit");
+ }
+
+ /**
+ * Get ad code for the specified ad unit. (adunits.getAdCode)
+ *
+ * @param string $accountId Account which contains the ad client.
+ * @param string $adClientId Ad client with contains the ad unit.
+ * @param string $adUnitId Ad unit to get the code for.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSense_AdCode
+ */
+ public function getAdCode($accountId, $adClientId, $adUnitId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getAdCode', array($params), "Postman_Google_Service_AdSense_AdCode");
+ }
+
+ /**
+ * List all ad units in the specified ad client for the specified account.
+ * (adunits.listAccountsAdunits)
+ *
+ * @param string $accountId Account to which the ad client belongs.
+ * @param string $adClientId Ad client for which to list ad units.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool includeInactive Whether to include inactive ad units.
+ * Default: true.
+ * @opt_param string pageToken A continuation token, used to page through ad
+ * units. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param int maxResults The maximum number of ad units to include in the
+ * response, used for paging.
+ * @return Postman_Google_Service_AdSense_AdUnits
+ */
+ public function listAccountsAdunits($accountId, $adClientId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSense_AdUnits");
+ }
+}
+
+/**
+ * The "customchannels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $customchannels = $adsenseService->customchannels;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List all custom channels which the specified ad unit belongs to.
+ * (customchannels.listAccountsAdunitsCustomchannels)
+ *
+ * @param string $accountId Account to which the ad client belongs.
+ * @param string $adClientId Ad client which contains the ad unit.
+ * @param string $adUnitId Ad unit for which to list custom channels.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A continuation token, used to page through custom
+ * channels. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param int maxResults The maximum number of custom channels to include in
+ * the response, used for paging.
+ * @return Postman_Google_Service_AdSense_CustomChannels
+ */
+ public function listAccountsAdunitsCustomchannels($accountId, $adClientId, $adUnitId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSense_CustomChannels");
+ }
+}
+/**
+ * The "alerts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $alerts = $adsenseService->alerts;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_AccountsAlerts_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Dismiss (delete) the specified alert from the specified publisher AdSense
+ * account. (alerts.delete)
+ *
+ * @param string $accountId Account which contains the ad unit.
+ * @param string $alertId Alert to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $alertId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'alertId' => $alertId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * List the alerts for the specified AdSense account.
+ * (alerts.listAccountsAlerts)
+ *
+ * @param string $accountId Account for which to retrieve the alerts.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string locale The locale to use for translating alert messages.
+ * The account locale will be used if this is not supplied. The AdSense default
+ * (English) will be used if the supplied locale is invalid or unsupported.
+ * @return Postman_Google_Service_AdSense_Alerts
+ */
+ public function listAccountsAlerts($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSense_Alerts");
+ }
+}
+/**
+ * The "customchannels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $customchannels = $adsenseService->customchannels;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_AccountsCustomchannels_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Get the specified custom channel from the specified ad client for the
+ * specified account. (customchannels.get)
+ *
+ * @param string $accountId Account to which the ad client belongs.
+ * @param string $adClientId Ad client which contains the custom channel.
+ * @param string $customChannelId Custom channel to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSense_CustomChannel
+ */
+ public function get($accountId, $adClientId, $customChannelId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AdSense_CustomChannel");
+ }
+
+ /**
+ * List all custom channels in the specified ad client for the specified
+ * account. (customchannels.listAccountsCustomchannels)
+ *
+ * @param string $accountId Account to which the ad client belongs.
+ * @param string $adClientId Ad client for which to list custom channels.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A continuation token, used to page through custom
+ * channels. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param int maxResults The maximum number of custom channels to include in
+ * the response, used for paging.
+ * @return Postman_Google_Service_AdSense_CustomChannels
+ */
+ public function listAccountsCustomchannels($accountId, $adClientId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSense_CustomChannels");
+ }
+}
+
+/**
+ * The "adunits" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $adunits = $adsenseService->adunits;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List all ad units in the specified custom channel.
+ * (adunits.listAccountsCustomchannelsAdunits)
+ *
+ * @param string $accountId Account to which the ad client belongs.
+ * @param string $adClientId Ad client which contains the custom channel.
+ * @param string $customChannelId Custom channel for which to list ad units.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool includeInactive Whether to include inactive ad units.
+ * Default: true.
+ * @opt_param int maxResults The maximum number of ad units to include in the
+ * response, used for paging.
+ * @opt_param string pageToken A continuation token, used to page through ad
+ * units. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @return Postman_Google_Service_AdSense_AdUnits
+ */
+ public function listAccountsCustomchannelsAdunits($accountId, $adClientId, $customChannelId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSense_AdUnits");
+ }
+}
+/**
+ * The "payments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $payments = $adsenseService->payments;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_AccountsPayments_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List the payments for the specified AdSense account.
+ * (payments.listAccountsPayments)
+ *
+ * @param string $accountId Account for which to retrieve the payments.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSense_Payments
+ */
+ public function listAccountsPayments($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSense_Payments");
+ }
+}
+/**
+ * The "reports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $reports = $adsenseService->reports;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_AccountsReports_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Generate an AdSense report based on the report request sent in the query
+ * parameters. Returns the result as JSON; to retrieve output in CSV format
+ * specify "alt=csv" as a query parameter. (reports.generate)
+ *
+ * @param string $accountId Account upon which to report.
+ * @param string $startDate Start of the date range to report on in "YYYY-MM-DD"
+ * format, inclusive.
+ * @param string $endDate End of the date range to report on in "YYYY-MM-DD"
+ * format, inclusive.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string sort The name of a dimension or metric to sort the
+ * resulting report on, optionally prefixed with "+" to sort ascending or "-" to
+ * sort descending. If no prefix is specified, the column is sorted ascending.
+ * @opt_param string locale Optional locale to use for translating report output
+ * to a local language. Defaults to "en_US" if not specified.
+ * @opt_param string metric Numeric columns to include in the report.
+ * @opt_param int maxResults The maximum number of rows of report data to
+ * return.
+ * @opt_param string filter Filters to be run on the report.
+ * @opt_param string currency Optional currency to use when reporting on
+ * monetary metrics. Defaults to the account's currency if not set.
+ * @opt_param int startIndex Index of the first row of report data to return.
+ * @opt_param bool useTimezoneReporting Whether the report should be generated
+ * in the AdSense account's local timezone. If false default PST/PDT timezone
+ * will be used.
+ * @opt_param string dimension Dimensions to base the report on.
+ * @return Postman_Google_Service_AdSense_AdsenseReportsGenerateResponse
+ */
+ public function generate($accountId, $startDate, $endDate, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate);
+ $params = array_merge($params, $optParams);
+ return $this->call('generate', array($params), "Postman_Google_Service_AdSense_AdsenseReportsGenerateResponse");
+ }
+}
+
+/**
+ * The "saved" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $saved = $adsenseService->saved;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_AccountsReportsSaved_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Generate an AdSense report based on the saved report ID sent in the query
+ * parameters. (saved.generate)
+ *
+ * @param string $accountId Account to which the saved reports belong.
+ * @param string $savedReportId The saved report to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string locale Optional locale to use for translating report output
+ * to a local language. Defaults to "en_US" if not specified.
+ * @opt_param int startIndex Index of the first row of report data to return.
+ * @opt_param int maxResults The maximum number of rows of report data to
+ * return.
+ * @return Postman_Google_Service_AdSense_AdsenseReportsGenerateResponse
+ */
+ public function generate($accountId, $savedReportId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'savedReportId' => $savedReportId);
+ $params = array_merge($params, $optParams);
+ return $this->call('generate', array($params), "Postman_Google_Service_AdSense_AdsenseReportsGenerateResponse");
+ }
+
+ /**
+ * List all saved reports in the specified AdSense account.
+ * (saved.listAccountsReportsSaved)
+ *
+ * @param string $accountId Account to which the saved reports belong.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A continuation token, used to page through saved
+ * reports. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param int maxResults The maximum number of saved reports to include in
+ * the response, used for paging.
+ * @return Postman_Google_Service_AdSense_SavedReports
+ */
+ public function listAccountsReportsSaved($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSense_SavedReports");
+ }
+}
+/**
+ * The "savedadstyles" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $savedadstyles = $adsenseService->savedadstyles;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_AccountsSavedadstyles_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List a specific saved ad style for the specified account. (savedadstyles.get)
+ *
+ * @param string $accountId Account for which to get the saved ad style.
+ * @param string $savedAdStyleId Saved ad style to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSense_SavedAdStyle
+ */
+ public function get($accountId, $savedAdStyleId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'savedAdStyleId' => $savedAdStyleId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AdSense_SavedAdStyle");
+ }
+
+ /**
+ * List all saved ad styles in the specified account.
+ * (savedadstyles.listAccountsSavedadstyles)
+ *
+ * @param string $accountId Account for which to list saved ad styles.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A continuation token, used to page through saved
+ * ad styles. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param int maxResults The maximum number of saved ad styles to include in
+ * the response, used for paging.
+ * @return Postman_Google_Service_AdSense_SavedAdStyles
+ */
+ public function listAccountsSavedadstyles($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSense_SavedAdStyles");
+ }
+}
+/**
+ * The "urlchannels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $urlchannels = $adsenseService->urlchannels;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_AccountsUrlchannels_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List all URL channels in the specified ad client for the specified account.
+ * (urlchannels.listAccountsUrlchannels)
+ *
+ * @param string $accountId Account to which the ad client belongs.
+ * @param string $adClientId Ad client for which to list URL channels.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A continuation token, used to page through URL
+ * channels. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param int maxResults The maximum number of URL channels to include in
+ * the response, used for paging.
+ * @return Postman_Google_Service_AdSense_UrlChannels
+ */
+ public function listAccountsUrlchannels($accountId, $adClientId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSense_UrlChannels");
+ }
+}
+
+/**
+ * The "adclients" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $adclients = $adsenseService->adclients;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_Adclients_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List all ad clients in this AdSense account. (adclients.listAdclients)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A continuation token, used to page through ad
+ * clients. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param int maxResults The maximum number of ad clients to include in the
+ * response, used for paging.
+ * @return Postman_Google_Service_AdSense_AdClients
+ */
+ public function listAdclients($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSense_AdClients");
+ }
+}
+
+/**
+ * The "adunits" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $adunits = $adsenseService->adunits;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_Adunits_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets the specified ad unit in the specified ad client. (adunits.get)
+ *
+ * @param string $adClientId Ad client for which to get the ad unit.
+ * @param string $adUnitId Ad unit to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSense_AdUnit
+ */
+ public function get($adClientId, $adUnitId, $optParams = array())
+ {
+ $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AdSense_AdUnit");
+ }
+
+ /**
+ * Get ad code for the specified ad unit. (adunits.getAdCode)
+ *
+ * @param string $adClientId Ad client with contains the ad unit.
+ * @param string $adUnitId Ad unit to get the code for.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSense_AdCode
+ */
+ public function getAdCode($adClientId, $adUnitId, $optParams = array())
+ {
+ $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getAdCode', array($params), "Postman_Google_Service_AdSense_AdCode");
+ }
+
+ /**
+ * List all ad units in the specified ad client for this AdSense account.
+ * (adunits.listAdunits)
+ *
+ * @param string $adClientId Ad client for which to list ad units.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool includeInactive Whether to include inactive ad units.
+ * Default: true.
+ * @opt_param string pageToken A continuation token, used to page through ad
+ * units. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param int maxResults The maximum number of ad units to include in the
+ * response, used for paging.
+ * @return Postman_Google_Service_AdSense_AdUnits
+ */
+ public function listAdunits($adClientId, $optParams = array())
+ {
+ $params = array('adClientId' => $adClientId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSense_AdUnits");
+ }
+}
+
+/**
+ * The "customchannels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $customchannels = $adsenseService->customchannels;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_AdunitsCustomchannels_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List all custom channels which the specified ad unit belongs to.
+ * (customchannels.listAdunitsCustomchannels)
+ *
+ * @param string $adClientId Ad client which contains the ad unit.
+ * @param string $adUnitId Ad unit for which to list custom channels.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A continuation token, used to page through custom
+ * channels. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param int maxResults The maximum number of custom channels to include in
+ * the response, used for paging.
+ * @return Postman_Google_Service_AdSense_CustomChannels
+ */
+ public function listAdunitsCustomchannels($adClientId, $adUnitId, $optParams = array())
+ {
+ $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSense_CustomChannels");
+ }
+}
+
+/**
+ * The "alerts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $alerts = $adsenseService->alerts;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_Alerts_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Dismiss (delete) the specified alert from the publisher's AdSense account.
+ * (alerts.delete)
+ *
+ * @param string $alertId Alert to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($alertId, $optParams = array())
+ {
+ $params = array('alertId' => $alertId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * List the alerts for this AdSense account. (alerts.listAlerts)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string locale The locale to use for translating alert messages.
+ * The account locale will be used if this is not supplied. The AdSense default
+ * (English) will be used if the supplied locale is invalid or unsupported.
+ * @return Postman_Google_Service_AdSense_Alerts
+ */
+ public function listAlerts($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSense_Alerts");
+ }
+}
+
+/**
+ * The "customchannels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $customchannels = $adsenseService->customchannels;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_Customchannels_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Get the specified custom channel from the specified ad client.
+ * (customchannels.get)
+ *
+ * @param string $adClientId Ad client which contains the custom channel.
+ * @param string $customChannelId Custom channel to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSense_CustomChannel
+ */
+ public function get($adClientId, $customChannelId, $optParams = array())
+ {
+ $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AdSense_CustomChannel");
+ }
+
+ /**
+ * List all custom channels in the specified ad client for this AdSense account.
+ * (customchannels.listCustomchannels)
+ *
+ * @param string $adClientId Ad client for which to list custom channels.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A continuation token, used to page through custom
+ * channels. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param int maxResults The maximum number of custom channels to include in
+ * the response, used for paging.
+ * @return Postman_Google_Service_AdSense_CustomChannels
+ */
+ public function listCustomchannels($adClientId, $optParams = array())
+ {
+ $params = array('adClientId' => $adClientId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSense_CustomChannels");
+ }
+}
+
+/**
+ * The "adunits" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $adunits = $adsenseService->adunits;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_CustomchannelsAdunits_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List all ad units in the specified custom channel.
+ * (adunits.listCustomchannelsAdunits)
+ *
+ * @param string $adClientId Ad client which contains the custom channel.
+ * @param string $customChannelId Custom channel for which to list ad units.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool includeInactive Whether to include inactive ad units.
+ * Default: true.
+ * @opt_param string pageToken A continuation token, used to page through ad
+ * units. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param int maxResults The maximum number of ad units to include in the
+ * response, used for paging.
+ * @return Postman_Google_Service_AdSense_AdUnits
+ */
+ public function listCustomchannelsAdunits($adClientId, $customChannelId, $optParams = array())
+ {
+ $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSense_AdUnits");
+ }
+}
+
+/**
+ * The "metadata" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $metadata = $adsenseService->metadata;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_Metadata_Resource extends Postman_Google_Service_Resource
+{
+}
+
+/**
+ * The "dimensions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $dimensions = $adsenseService->dimensions;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_MetadataDimensions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List the metadata for the dimensions available to this AdSense account.
+ * (dimensions.listMetadataDimensions)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSense_Metadata
+ */
+ public function listMetadataDimensions($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSense_Metadata");
+ }
+}
+/**
+ * The "metrics" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $metrics = $adsenseService->metrics;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_MetadataMetrics_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List the metadata for the metrics available to this AdSense account.
+ * (metrics.listMetadataMetrics)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSense_Metadata
+ */
+ public function listMetadataMetrics($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSense_Metadata");
+ }
+}
+
+/**
+ * The "payments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $payments = $adsenseService->payments;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_Payments_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List the payments for this AdSense account. (payments.listPayments)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSense_Payments
+ */
+ public function listPayments($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSense_Payments");
+ }
+}
+
+/**
+ * The "reports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $reports = $adsenseService->reports;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_Reports_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Generate an AdSense report based on the report request sent in the query
+ * parameters. Returns the result as JSON; to retrieve output in CSV format
+ * specify "alt=csv" as a query parameter. (reports.generate)
+ *
+ * @param string $startDate Start of the date range to report on in "YYYY-MM-DD"
+ * format, inclusive.
+ * @param string $endDate End of the date range to report on in "YYYY-MM-DD"
+ * format, inclusive.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string sort The name of a dimension or metric to sort the
+ * resulting report on, optionally prefixed with "+" to sort ascending or "-" to
+ * sort descending. If no prefix is specified, the column is sorted ascending.
+ * @opt_param string locale Optional locale to use for translating report output
+ * to a local language. Defaults to "en_US" if not specified.
+ * @opt_param string metric Numeric columns to include in the report.
+ * @opt_param int maxResults The maximum number of rows of report data to
+ * return.
+ * @opt_param string filter Filters to be run on the report.
+ * @opt_param string currency Optional currency to use when reporting on
+ * monetary metrics. Defaults to the account's currency if not set.
+ * @opt_param int startIndex Index of the first row of report data to return.
+ * @opt_param bool useTimezoneReporting Whether the report should be generated
+ * in the AdSense account's local timezone. If false default PST/PDT timezone
+ * will be used.
+ * @opt_param string dimension Dimensions to base the report on.
+ * @opt_param string accountId Accounts upon which to report.
+ * @return Postman_Google_Service_AdSense_AdsenseReportsGenerateResponse
+ */
+ public function generate($startDate, $endDate, $optParams = array())
+ {
+ $params = array('startDate' => $startDate, 'endDate' => $endDate);
+ $params = array_merge($params, $optParams);
+ return $this->call('generate', array($params), "Postman_Google_Service_AdSense_AdsenseReportsGenerateResponse");
+ }
+}
+
+/**
+ * The "saved" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $saved = $adsenseService->saved;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_ReportsSaved_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Generate an AdSense report based on the saved report ID sent in the query
+ * parameters. (saved.generate)
+ *
+ * @param string $savedReportId The saved report to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string locale Optional locale to use for translating report output
+ * to a local language. Defaults to "en_US" if not specified.
+ * @opt_param int startIndex Index of the first row of report data to return.
+ * @opt_param int maxResults The maximum number of rows of report data to
+ * return.
+ * @return Postman_Google_Service_AdSense_AdsenseReportsGenerateResponse
+ */
+ public function generate($savedReportId, $optParams = array())
+ {
+ $params = array('savedReportId' => $savedReportId);
+ $params = array_merge($params, $optParams);
+ return $this->call('generate', array($params), "Postman_Google_Service_AdSense_AdsenseReportsGenerateResponse");
+ }
+
+ /**
+ * List all saved reports in this AdSense account. (saved.listReportsSaved)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A continuation token, used to page through saved
+ * reports. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param int maxResults The maximum number of saved reports to include in
+ * the response, used for paging.
+ * @return Postman_Google_Service_AdSense_SavedReports
+ */
+ public function listReportsSaved($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSense_SavedReports");
+ }
+}
+
+/**
+ * The "savedadstyles" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $savedadstyles = $adsenseService->savedadstyles;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_Savedadstyles_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Get a specific saved ad style from the user's account. (savedadstyles.get)
+ *
+ * @param string $savedAdStyleId Saved ad style to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSense_SavedAdStyle
+ */
+ public function get($savedAdStyleId, $optParams = array())
+ {
+ $params = array('savedAdStyleId' => $savedAdStyleId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AdSense_SavedAdStyle");
+ }
+
+ /**
+ * List all saved ad styles in the user's account.
+ * (savedadstyles.listSavedadstyles)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A continuation token, used to page through saved
+ * ad styles. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param int maxResults The maximum number of saved ad styles to include in
+ * the response, used for paging.
+ * @return Postman_Google_Service_AdSense_SavedAdStyles
+ */
+ public function listSavedadstyles($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSense_SavedAdStyles");
+ }
+}
+
+/**
+ * The "urlchannels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsenseService = new Postman_Google_Service_AdSense(...);
+ * $urlchannels = $adsenseService->urlchannels;
+ * </code>
+ */
+class Postman_Google_Service_AdSense_Urlchannels_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List all URL channels in the specified ad client for this AdSense account.
+ * (urlchannels.listUrlchannels)
+ *
+ * @param string $adClientId Ad client for which to list URL channels.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A continuation token, used to page through URL
+ * channels. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param int maxResults The maximum number of URL channels to include in
+ * the response, used for paging.
+ * @return Postman_Google_Service_AdSense_UrlChannels
+ */
+ public function listUrlchannels($adClientId, $optParams = array())
+ {
+ $params = array('adClientId' => $adClientId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSense_UrlChannels");
+ }
+}
+
+
+
+
+class Postman_Google_Service_AdSense_Account extends Postman_Google_Collection
+{
+ protected $collection_key = 'subAccounts';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $name;
+ public $premium;
+ protected $subAccountsType = 'Postman_Google_Service_AdSense_Account';
+ protected $subAccountsDataType = 'array';
+ public $timezone;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPremium($premium)
+ {
+ $this->premium = $premium;
+ }
+ public function getPremium()
+ {
+ return $this->premium;
+ }
+ public function setSubAccounts($subAccounts)
+ {
+ $this->subAccounts = $subAccounts;
+ }
+ public function getSubAccounts()
+ {
+ return $this->subAccounts;
+ }
+ public function setTimezone($timezone)
+ {
+ $this->timezone = $timezone;
+ }
+ public function getTimezone()
+ {
+ return $this->timezone;
+ }
+}
+
+class Postman_Google_Service_AdSense_Accounts extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_AdSense_Account';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_AdSense_AdClient extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $arcOptIn;
+ public $arcReviewMode;
+ public $id;
+ public $kind;
+ public $productCode;
+ public $supportsReporting;
+
+
+ public function setArcOptIn($arcOptIn)
+ {
+ $this->arcOptIn = $arcOptIn;
+ }
+ public function getArcOptIn()
+ {
+ return $this->arcOptIn;
+ }
+ public function setArcReviewMode($arcReviewMode)
+ {
+ $this->arcReviewMode = $arcReviewMode;
+ }
+ public function getArcReviewMode()
+ {
+ return $this->arcReviewMode;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setProductCode($productCode)
+ {
+ $this->productCode = $productCode;
+ }
+ public function getProductCode()
+ {
+ return $this->productCode;
+ }
+ public function setSupportsReporting($supportsReporting)
+ {
+ $this->supportsReporting = $supportsReporting;
+ }
+ public function getSupportsReporting()
+ {
+ return $this->supportsReporting;
+ }
+}
+
+class Postman_Google_Service_AdSense_AdClients extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_AdSense_AdClient';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_AdSense_AdCode extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $adCode;
+ public $kind;
+
+
+ public function setAdCode($adCode)
+ {
+ $this->adCode = $adCode;
+ }
+ public function getAdCode()
+ {
+ return $this->adCode;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_AdSense_AdStyle extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $colorsType = 'Postman_Google_Service_AdSense_AdStyleColors';
+ protected $colorsDataType = '';
+ public $corners;
+ protected $fontType = 'Postman_Google_Service_AdSense_AdStyleFont';
+ protected $fontDataType = '';
+ public $kind;
+
+
+ public function setColors(Postman_Google_Service_AdSense_AdStyleColors $colors)
+ {
+ $this->colors = $colors;
+ }
+ public function getColors()
+ {
+ return $this->colors;
+ }
+ public function setCorners($corners)
+ {
+ $this->corners = $corners;
+ }
+ public function getCorners()
+ {
+ return $this->corners;
+ }
+ public function setFont(Postman_Google_Service_AdSense_AdStyleFont $font)
+ {
+ $this->font = $font;
+ }
+ public function getFont()
+ {
+ return $this->font;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_AdSense_AdStyleColors extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $background;
+ public $border;
+ public $text;
+ public $title;
+ public $url;
+
+
+ public function setBackground($background)
+ {
+ $this->background = $background;
+ }
+ public function getBackground()
+ {
+ return $this->background;
+ }
+ public function setBorder($border)
+ {
+ $this->border = $border;
+ }
+ public function getBorder()
+ {
+ return $this->border;
+ }
+ public function setText($text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_AdSense_AdStyleFont extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $family;
+ public $size;
+
+
+ public function setFamily($family)
+ {
+ $this->family = $family;
+ }
+ public function getFamily()
+ {
+ return $this->family;
+ }
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+}
+
+class Postman_Google_Service_AdSense_AdUnit extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $contentAdsSettingsType = 'Postman_Google_Service_AdSense_AdUnitContentAdsSettings';
+ protected $contentAdsSettingsDataType = '';
+ protected $customStyleType = 'Postman_Google_Service_AdSense_AdStyle';
+ protected $customStyleDataType = '';
+ protected $feedAdsSettingsType = 'Postman_Google_Service_AdSense_AdUnitFeedAdsSettings';
+ protected $feedAdsSettingsDataType = '';
+ public $id;
+ public $kind;
+ protected $mobileContentAdsSettingsType = 'Postman_Google_Service_AdSense_AdUnitMobileContentAdsSettings';
+ protected $mobileContentAdsSettingsDataType = '';
+ public $name;
+ public $savedStyleId;
+ public $status;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setContentAdsSettings(Postman_Google_Service_AdSense_AdUnitContentAdsSettings $contentAdsSettings)
+ {
+ $this->contentAdsSettings = $contentAdsSettings;
+ }
+ public function getContentAdsSettings()
+ {
+ return $this->contentAdsSettings;
+ }
+ public function setCustomStyle(Postman_Google_Service_AdSense_AdStyle $customStyle)
+ {
+ $this->customStyle = $customStyle;
+ }
+ public function getCustomStyle()
+ {
+ return $this->customStyle;
+ }
+ public function setFeedAdsSettings(Postman_Google_Service_AdSense_AdUnitFeedAdsSettings $feedAdsSettings)
+ {
+ $this->feedAdsSettings = $feedAdsSettings;
+ }
+ public function getFeedAdsSettings()
+ {
+ return $this->feedAdsSettings;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMobileContentAdsSettings(Postman_Google_Service_AdSense_AdUnitMobileContentAdsSettings $mobileContentAdsSettings)
+ {
+ $this->mobileContentAdsSettings = $mobileContentAdsSettings;
+ }
+ public function getMobileContentAdsSettings()
+ {
+ return $this->mobileContentAdsSettings;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSavedStyleId($savedStyleId)
+ {
+ $this->savedStyleId = $savedStyleId;
+ }
+ public function getSavedStyleId()
+ {
+ return $this->savedStyleId;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Postman_Google_Service_AdSense_AdUnitContentAdsSettings extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $backupOptionType = 'Postman_Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption';
+ protected $backupOptionDataType = '';
+ public $size;
+ public $type;
+
+
+ public function setBackupOption(Postman_Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption $backupOption)
+ {
+ $this->backupOption = $backupOption;
+ }
+ public function getBackupOption()
+ {
+ return $this->backupOption;
+ }
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_AdSense_AdUnitContentAdsSettingsBackupOption extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $color;
+ public $type;
+ public $url;
+
+
+ public function setColor($color)
+ {
+ $this->color = $color;
+ }
+ public function getColor()
+ {
+ return $this->color;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_AdSense_AdUnitFeedAdsSettings extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $adPosition;
+ public $frequency;
+ public $minimumWordCount;
+ public $type;
+
+
+ public function setAdPosition($adPosition)
+ {
+ $this->adPosition = $adPosition;
+ }
+ public function getAdPosition()
+ {
+ return $this->adPosition;
+ }
+ public function setFrequency($frequency)
+ {
+ $this->frequency = $frequency;
+ }
+ public function getFrequency()
+ {
+ return $this->frequency;
+ }
+ public function setMinimumWordCount($minimumWordCount)
+ {
+ $this->minimumWordCount = $minimumWordCount;
+ }
+ public function getMinimumWordCount()
+ {
+ return $this->minimumWordCount;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_AdSense_AdUnitMobileContentAdsSettings extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $markupLanguage;
+ public $scriptingLanguage;
+ public $size;
+ public $type;
+
+
+ public function setMarkupLanguage($markupLanguage)
+ {
+ $this->markupLanguage = $markupLanguage;
+ }
+ public function getMarkupLanguage()
+ {
+ return $this->markupLanguage;
+ }
+ public function setScriptingLanguage($scriptingLanguage)
+ {
+ $this->scriptingLanguage = $scriptingLanguage;
+ }
+ public function getScriptingLanguage()
+ {
+ return $this->scriptingLanguage;
+ }
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_AdSense_AdUnits extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_AdSense_AdUnit';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_AdSense_AdsenseReportsGenerateResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'warnings';
+ protected $internal_gapi_mappings = array(
+ );
+ public $averages;
+ public $endDate;
+ protected $headersType = 'Postman_Google_Service_AdSense_AdsenseReportsGenerateResponseHeaders';
+ protected $headersDataType = 'array';
+ public $kind;
+ public $rows;
+ public $startDate;
+ public $totalMatchedRows;
+ public $totals;
+ public $warnings;
+
+
+ public function setAverages($averages)
+ {
+ $this->averages = $averages;
+ }
+ public function getAverages()
+ {
+ return $this->averages;
+ }
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setHeaders($headers)
+ {
+ $this->headers = $headers;
+ }
+ public function getHeaders()
+ {
+ return $this->headers;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRows($rows)
+ {
+ $this->rows = $rows;
+ }
+ public function getRows()
+ {
+ return $this->rows;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+ public function setTotalMatchedRows($totalMatchedRows)
+ {
+ $this->totalMatchedRows = $totalMatchedRows;
+ }
+ public function getTotalMatchedRows()
+ {
+ return $this->totalMatchedRows;
+ }
+ public function setTotals($totals)
+ {
+ $this->totals = $totals;
+ }
+ public function getTotals()
+ {
+ return $this->totals;
+ }
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
+
+class Postman_Google_Service_AdSense_AdsenseReportsGenerateResponseHeaders extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $currency;
+ public $name;
+ public $type;
+
+
+ public function setCurrency($currency)
+ {
+ $this->currency = $currency;
+ }
+ public function getCurrency()
+ {
+ return $this->currency;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_AdSense_Alert extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $isDismissible;
+ public $kind;
+ public $message;
+ public $severity;
+ public $type;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIsDismissible($isDismissible)
+ {
+ $this->isDismissible = $isDismissible;
+ }
+ public function getIsDismissible()
+ {
+ return $this->isDismissible;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+ public function setSeverity($severity)
+ {
+ $this->severity = $severity;
+ }
+ public function getSeverity()
+ {
+ return $this->severity;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_AdSense_Alerts extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_AdSense_Alert';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_AdSense_CustomChannel extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $id;
+ public $kind;
+ public $name;
+ protected $targetingInfoType = 'Postman_Google_Service_AdSense_CustomChannelTargetingInfo';
+ protected $targetingInfoDataType = '';
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setTargetingInfo(Postman_Google_Service_AdSense_CustomChannelTargetingInfo $targetingInfo)
+ {
+ $this->targetingInfo = $targetingInfo;
+ }
+ public function getTargetingInfo()
+ {
+ return $this->targetingInfo;
+ }
+}
+
+class Postman_Google_Service_AdSense_CustomChannelTargetingInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $adsAppearOn;
+ public $description;
+ public $location;
+ public $siteLanguage;
+
+
+ public function setAdsAppearOn($adsAppearOn)
+ {
+ $this->adsAppearOn = $adsAppearOn;
+ }
+ public function getAdsAppearOn()
+ {
+ return $this->adsAppearOn;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setSiteLanguage($siteLanguage)
+ {
+ $this->siteLanguage = $siteLanguage;
+ }
+ public function getSiteLanguage()
+ {
+ return $this->siteLanguage;
+ }
+}
+
+class Postman_Google_Service_AdSense_CustomChannels extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_AdSense_CustomChannel';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_AdSense_Metadata extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_AdSense_ReportingMetadataEntry';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_AdSense_Payment extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $paymentAmount;
+ public $paymentAmountCurrencyCode;
+ public $paymentDate;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPaymentAmount($paymentAmount)
+ {
+ $this->paymentAmount = $paymentAmount;
+ }
+ public function getPaymentAmount()
+ {
+ return $this->paymentAmount;
+ }
+ public function setPaymentAmountCurrencyCode($paymentAmountCurrencyCode)
+ {
+ $this->paymentAmountCurrencyCode = $paymentAmountCurrencyCode;
+ }
+ public function getPaymentAmountCurrencyCode()
+ {
+ return $this->paymentAmountCurrencyCode;
+ }
+ public function setPaymentDate($paymentDate)
+ {
+ $this->paymentDate = $paymentDate;
+ }
+ public function getPaymentDate()
+ {
+ return $this->paymentDate;
+ }
+}
+
+class Postman_Google_Service_AdSense_Payments extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_AdSense_Payment';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_AdSense_ReportingMetadataEntry extends Postman_Google_Collection
+{
+ protected $collection_key = 'supportedProducts';
+ protected $internal_gapi_mappings = array(
+ );
+ public $compatibleDimensions;
+ public $compatibleMetrics;
+ public $id;
+ public $kind;
+ public $requiredDimensions;
+ public $requiredMetrics;
+ public $supportedProducts;
+
+
+ public function setCompatibleDimensions($compatibleDimensions)
+ {
+ $this->compatibleDimensions = $compatibleDimensions;
+ }
+ public function getCompatibleDimensions()
+ {
+ return $this->compatibleDimensions;
+ }
+ public function setCompatibleMetrics($compatibleMetrics)
+ {
+ $this->compatibleMetrics = $compatibleMetrics;
+ }
+ public function getCompatibleMetrics()
+ {
+ return $this->compatibleMetrics;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRequiredDimensions($requiredDimensions)
+ {
+ $this->requiredDimensions = $requiredDimensions;
+ }
+ public function getRequiredDimensions()
+ {
+ return $this->requiredDimensions;
+ }
+ public function setRequiredMetrics($requiredMetrics)
+ {
+ $this->requiredMetrics = $requiredMetrics;
+ }
+ public function getRequiredMetrics()
+ {
+ return $this->requiredMetrics;
+ }
+ public function setSupportedProducts($supportedProducts)
+ {
+ $this->supportedProducts = $supportedProducts;
+ }
+ public function getSupportedProducts()
+ {
+ return $this->supportedProducts;
+ }
+}
+
+class Postman_Google_Service_AdSense_SavedAdStyle extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $adStyleType = 'Postman_Google_Service_AdSense_AdStyle';
+ protected $adStyleDataType = '';
+ public $id;
+ public $kind;
+ public $name;
+
+
+ public function setAdStyle(Postman_Google_Service_AdSense_AdStyle $adStyle)
+ {
+ $this->adStyle = $adStyle;
+ }
+ public function getAdStyle()
+ {
+ return $this->adStyle;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_AdSense_SavedAdStyles extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_AdSense_SavedAdStyle';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_AdSense_SavedReport extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $name;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_AdSense_SavedReports extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_AdSense_SavedReport';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_AdSense_UrlChannel extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $urlPattern;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUrlPattern($urlPattern)
+ {
+ $this->urlPattern = $urlPattern;
+ }
+ public function getUrlPattern()
+ {
+ return $this->urlPattern;
+ }
+}
+
+class Postman_Google_Service_AdSense_UrlChannels extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_AdSense_UrlChannel';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AdSenseHost.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AdSenseHost.php
new file mode 100644
index 0000000..decfb1f
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AdSenseHost.php
@@ -0,0 +1,2165 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for AdSenseHost (v4.1).
+ *
+ * <p>
+ * Gives AdSense Hosts access to report generation, ad code generation, and
+ * publisher management capabilities.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/adsense/host/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_AdSenseHost extends Postman_Google_Service
+{
+ /** View and manage your AdSense host data and associated accounts. */
+ const ADSENSEHOST =
+ "https://www.googleapis.com/auth/adsensehost";
+
+ public $accounts;
+ public $accounts_adclients;
+ public $accounts_adunits;
+ public $accounts_reports;
+ public $adclients;
+ public $associationsessions;
+ public $customchannels;
+ public $reports;
+ public $urlchannels;
+
+
+ /**
+ * Constructs the internal representation of the AdSenseHost service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'adsensehost/v4.1/';
+ $this->version = 'v4.1';
+ $this->serviceName = 'adsensehost';
+
+ $this->accounts = new Postman_Google_Service_AdSenseHost_Accounts_Resource(
+ $this,
+ $this->serviceName,
+ 'accounts',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'accounts/{accountId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'filterAdClientId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_adclients = new Postman_Google_Service_AdSenseHost_AccountsAdclients_Resource(
+ $this,
+ $this->serviceName,
+ 'adclients',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts/{accountId}/adclients',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_adunits = new Postman_Google_Service_AdSenseHost_AccountsAdunits_Resource(
+ $this,
+ $this->serviceName,
+ 'adunits',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adUnitId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adUnitId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getAdCode' => array(
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adUnitId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'hostCustomChannelId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'includeInactive' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adUnitId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/adunits',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_reports = new Postman_Google_Service_AdSenseHost_AccountsReports_Resource(
+ $this,
+ $this->serviceName,
+ 'reports',
+ array(
+ 'methods' => array(
+ 'generate' => array(
+ 'path' => 'accounts/{accountId}/reports',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'startDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'endDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sort' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'metric' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'dimension' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->adclients = new Postman_Google_Service_AdSenseHost_Adclients_Resource(
+ $this,
+ $this->serviceName,
+ 'adclients',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'adclients/{adClientId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'adclients',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->associationsessions = new Postman_Google_Service_AdSenseHost_Associationsessions_Resource(
+ $this,
+ $this->serviceName,
+ 'associationsessions',
+ array(
+ 'methods' => array(
+ 'start' => array(
+ 'path' => 'associationsessions/start',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'productCode' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ 'required' => true,
+ ),
+ 'websiteUrl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'websiteLocale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'userLocale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'verify' => array(
+ 'path' => 'associationsessions/verify',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'token' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->customchannels = new Postman_Google_Service_AdSenseHost_Customchannels_Resource(
+ $this,
+ $this->serviceName,
+ 'customchannels',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customChannelId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customChannelId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'adclients/{adClientId}/customchannels',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'adclients/{adClientId}/customchannels',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'adclients/{adClientId}/customchannels',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customChannelId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'adclients/{adClientId}/customchannels',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->reports = new Postman_Google_Service_AdSenseHost_Reports_Resource(
+ $this,
+ $this->serviceName,
+ 'reports',
+ array(
+ 'methods' => array(
+ 'generate' => array(
+ 'path' => 'reports',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'startDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'endDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sort' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'metric' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'dimension' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->urlchannels = new Postman_Google_Service_AdSenseHost_Urlchannels_Resource(
+ $this,
+ $this->serviceName,
+ 'urlchannels',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'adclients/{adClientId}/urlchannels/{urlChannelId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'urlChannelId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'adclients/{adClientId}/urlchannels',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'adclients/{adClientId}/urlchannels',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'adClientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsensehostService = new Postman_Google_Service_AdSenseHost(...);
+ * $accounts = $adsensehostService->accounts;
+ * </code>
+ */
+class Postman_Google_Service_AdSenseHost_Accounts_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Get information about the selected associated AdSense account. (accounts.get)
+ *
+ * @param string $accountId Account to get information about.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSenseHost_Account
+ */
+ public function get($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AdSenseHost_Account");
+ }
+
+ /**
+ * List hosted accounts associated with this AdSense account by ad client id.
+ * (accounts.listAccounts)
+ *
+ * @param string $filterAdClientId Ad clients to list accounts for.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSenseHost_Accounts
+ */
+ public function listAccounts($filterAdClientId, $optParams = array())
+ {
+ $params = array('filterAdClientId' => $filterAdClientId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSenseHost_Accounts");
+ }
+}
+
+/**
+ * The "adclients" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsensehostService = new Postman_Google_Service_AdSenseHost(...);
+ * $adclients = $adsensehostService->adclients;
+ * </code>
+ */
+class Postman_Google_Service_AdSenseHost_AccountsAdclients_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Get information about one of the ad clients in the specified publisher's
+ * AdSense account. (adclients.get)
+ *
+ * @param string $accountId Account which contains the ad client.
+ * @param string $adClientId Ad client to get.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSenseHost_AdClient
+ */
+ public function get($accountId, $adClientId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AdSenseHost_AdClient");
+ }
+
+ /**
+ * List all hosted ad clients in the specified hosted account.
+ * (adclients.listAccountsAdclients)
+ *
+ * @param string $accountId Account for which to list ad clients.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A continuation token, used to page through ad
+ * clients. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param string maxResults The maximum number of ad clients to include in
+ * the response, used for paging.
+ * @return Postman_Google_Service_AdSenseHost_AdClients
+ */
+ public function listAccountsAdclients($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSenseHost_AdClients");
+ }
+}
+/**
+ * The "adunits" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsensehostService = new Postman_Google_Service_AdSenseHost(...);
+ * $adunits = $adsensehostService->adunits;
+ * </code>
+ */
+class Postman_Google_Service_AdSenseHost_AccountsAdunits_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Delete the specified ad unit from the specified publisher AdSense account.
+ * (adunits.delete)
+ *
+ * @param string $accountId Account which contains the ad unit.
+ * @param string $adClientId Ad client for which to get ad unit.
+ * @param string $adUnitId Ad unit to delete.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSenseHost_AdUnit
+ */
+ public function delete($accountId, $adClientId, $adUnitId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_AdSenseHost_AdUnit");
+ }
+
+ /**
+ * Get the specified host ad unit in this AdSense account. (adunits.get)
+ *
+ * @param string $accountId Account which contains the ad unit.
+ * @param string $adClientId Ad client for which to get ad unit.
+ * @param string $adUnitId Ad unit to get.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSenseHost_AdUnit
+ */
+ public function get($accountId, $adClientId, $adUnitId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AdSenseHost_AdUnit");
+ }
+
+ /**
+ * Get ad code for the specified ad unit, attaching the specified host custom
+ * channels. (adunits.getAdCode)
+ *
+ * @param string $accountId Account which contains the ad client.
+ * @param string $adClientId Ad client with contains the ad unit.
+ * @param string $adUnitId Ad unit to get the code for.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string hostCustomChannelId Host custom channel to attach to the ad
+ * code.
+ * @return Postman_Google_Service_AdSenseHost_AdCode
+ */
+ public function getAdCode($accountId, $adClientId, $adUnitId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getAdCode', array($params), "Postman_Google_Service_AdSenseHost_AdCode");
+ }
+
+ /**
+ * Insert the supplied ad unit into the specified publisher AdSense account.
+ * (adunits.insert)
+ *
+ * @param string $accountId Account which will contain the ad unit.
+ * @param string $adClientId Ad client into which to insert the ad unit.
+ * @param Postman_Google_AdUnit $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSenseHost_AdUnit
+ */
+ public function insert($accountId, $adClientId, Postman_Google_Service_AdSenseHost_AdUnit $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_AdSenseHost_AdUnit");
+ }
+
+ /**
+ * List all ad units in the specified publisher's AdSense account.
+ * (adunits.listAccountsAdunits)
+ *
+ * @param string $accountId Account which contains the ad client.
+ * @param string $adClientId Ad client for which to list ad units.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool includeInactive Whether to include inactive ad units.
+ * Default: true.
+ * @opt_param string pageToken A continuation token, used to page through ad
+ * units. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param string maxResults The maximum number of ad units to include in the
+ * response, used for paging.
+ * @return Postman_Google_Service_AdSenseHost_AdUnits
+ */
+ public function listAccountsAdunits($accountId, $adClientId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSenseHost_AdUnits");
+ }
+
+ /**
+ * Update the supplied ad unit in the specified publisher AdSense account. This
+ * method supports patch semantics. (adunits.patch)
+ *
+ * @param string $accountId Account which contains the ad client.
+ * @param string $adClientId Ad client which contains the ad unit.
+ * @param string $adUnitId Ad unit to get.
+ * @param Postman_Google_AdUnit $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSenseHost_AdUnit
+ */
+ public function patch($accountId, $adClientId, $adUnitId, Postman_Google_Service_AdSenseHost_AdUnit $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'adUnitId' => $adUnitId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_AdSenseHost_AdUnit");
+ }
+
+ /**
+ * Update the supplied ad unit in the specified publisher AdSense account.
+ * (adunits.update)
+ *
+ * @param string $accountId Account which contains the ad client.
+ * @param string $adClientId Ad client which contains the ad unit.
+ * @param Postman_Google_AdUnit $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSenseHost_AdUnit
+ */
+ public function update($accountId, $adClientId, Postman_Google_Service_AdSenseHost_AdUnit $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_AdSenseHost_AdUnit");
+ }
+}
+/**
+ * The "reports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsensehostService = new Postman_Google_Service_AdSenseHost(...);
+ * $reports = $adsensehostService->reports;
+ * </code>
+ */
+class Postman_Google_Service_AdSenseHost_AccountsReports_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Generate an AdSense report based on the report request sent in the query
+ * parameters. Returns the result as JSON; to retrieve output in CSV format
+ * specify "alt=csv" as a query parameter. (reports.generate)
+ *
+ * @param string $accountId Hosted account upon which to report.
+ * @param string $startDate Start of the date range to report on in "YYYY-MM-DD"
+ * format, inclusive.
+ * @param string $endDate End of the date range to report on in "YYYY-MM-DD"
+ * format, inclusive.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string sort The name of a dimension or metric to sort the
+ * resulting report on, optionally prefixed with "+" to sort ascending or "-" to
+ * sort descending. If no prefix is specified, the column is sorted ascending.
+ * @opt_param string locale Optional locale to use for translating report output
+ * to a local language. Defaults to "en_US" if not specified.
+ * @opt_param string metric Numeric columns to include in the report.
+ * @opt_param string maxResults The maximum number of rows of report data to
+ * return.
+ * @opt_param string filter Filters to be run on the report.
+ * @opt_param string startIndex Index of the first row of report data to return.
+ * @opt_param string dimension Dimensions to base the report on.
+ * @return Postman_Google_Service_AdSenseHost_Report
+ */
+ public function generate($accountId, $startDate, $endDate, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate);
+ $params = array_merge($params, $optParams);
+ return $this->call('generate', array($params), "Postman_Google_Service_AdSenseHost_Report");
+ }
+}
+
+/**
+ * The "adclients" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsensehostService = new Postman_Google_Service_AdSenseHost(...);
+ * $adclients = $adsensehostService->adclients;
+ * </code>
+ */
+class Postman_Google_Service_AdSenseHost_Adclients_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Get information about one of the ad clients in the Host AdSense account.
+ * (adclients.get)
+ *
+ * @param string $adClientId Ad client to get.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSenseHost_AdClient
+ */
+ public function get($adClientId, $optParams = array())
+ {
+ $params = array('adClientId' => $adClientId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AdSenseHost_AdClient");
+ }
+
+ /**
+ * List all host ad clients in this AdSense account. (adclients.listAdclients)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A continuation token, used to page through ad
+ * clients. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param string maxResults The maximum number of ad clients to include in
+ * the response, used for paging.
+ * @return Postman_Google_Service_AdSenseHost_AdClients
+ */
+ public function listAdclients($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSenseHost_AdClients");
+ }
+}
+
+/**
+ * The "associationsessions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsensehostService = new Postman_Google_Service_AdSenseHost(...);
+ * $associationsessions = $adsensehostService->associationsessions;
+ * </code>
+ */
+class Postman_Google_Service_AdSenseHost_Associationsessions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Create an association session for initiating an association with an AdSense
+ * user. (associationsessions.start)
+ *
+ * @param string $productCode Products to associate with the user.
+ * @param string $websiteUrl The URL of the user's hosted website.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string websiteLocale The locale of the user's hosted website.
+ * @opt_param string userLocale The preferred locale of the user.
+ * @return Postman_Google_Service_AdSenseHost_AssociationSession
+ */
+ public function start($productCode, $websiteUrl, $optParams = array())
+ {
+ $params = array('productCode' => $productCode, 'websiteUrl' => $websiteUrl);
+ $params = array_merge($params, $optParams);
+ return $this->call('start', array($params), "Postman_Google_Service_AdSenseHost_AssociationSession");
+ }
+
+ /**
+ * Verify an association session after the association callback returns from
+ * AdSense signup. (associationsessions.verify)
+ *
+ * @param string $token The token returned to the association callback URL.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSenseHost_AssociationSession
+ */
+ public function verify($token, $optParams = array())
+ {
+ $params = array('token' => $token);
+ $params = array_merge($params, $optParams);
+ return $this->call('verify', array($params), "Postman_Google_Service_AdSenseHost_AssociationSession");
+ }
+}
+
+/**
+ * The "customchannels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsensehostService = new Postman_Google_Service_AdSenseHost(...);
+ * $customchannels = $adsensehostService->customchannels;
+ * </code>
+ */
+class Postman_Google_Service_AdSenseHost_Customchannels_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Delete a specific custom channel from the host AdSense account.
+ * (customchannels.delete)
+ *
+ * @param string $adClientId Ad client from which to delete the custom channel.
+ * @param string $customChannelId Custom channel to delete.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSenseHost_CustomChannel
+ */
+ public function delete($adClientId, $customChannelId, $optParams = array())
+ {
+ $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_AdSenseHost_CustomChannel");
+ }
+
+ /**
+ * Get a specific custom channel from the host AdSense account.
+ * (customchannels.get)
+ *
+ * @param string $adClientId Ad client from which to get the custom channel.
+ * @param string $customChannelId Custom channel to get.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSenseHost_CustomChannel
+ */
+ public function get($adClientId, $customChannelId, $optParams = array())
+ {
+ $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AdSenseHost_CustomChannel");
+ }
+
+ /**
+ * Add a new custom channel to the host AdSense account. (customchannels.insert)
+ *
+ * @param string $adClientId Ad client to which the new custom channel will be
+ * added.
+ * @param Postman_Google_CustomChannel $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSenseHost_CustomChannel
+ */
+ public function insert($adClientId, Postman_Google_Service_AdSenseHost_CustomChannel $postBody, $optParams = array())
+ {
+ $params = array('adClientId' => $adClientId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_AdSenseHost_CustomChannel");
+ }
+
+ /**
+ * List all host custom channels in this AdSense account.
+ * (customchannels.listCustomchannels)
+ *
+ * @param string $adClientId Ad client for which to list custom channels.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A continuation token, used to page through custom
+ * channels. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param string maxResults The maximum number of custom channels to include
+ * in the response, used for paging.
+ * @return Postman_Google_Service_AdSenseHost_CustomChannels
+ */
+ public function listCustomchannels($adClientId, $optParams = array())
+ {
+ $params = array('adClientId' => $adClientId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSenseHost_CustomChannels");
+ }
+
+ /**
+ * Update a custom channel in the host AdSense account. This method supports
+ * patch semantics. (customchannels.patch)
+ *
+ * @param string $adClientId Ad client in which the custom channel will be
+ * updated.
+ * @param string $customChannelId Custom channel to get.
+ * @param Postman_Google_CustomChannel $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSenseHost_CustomChannel
+ */
+ public function patch($adClientId, $customChannelId, Postman_Google_Service_AdSenseHost_CustomChannel $postBody, $optParams = array())
+ {
+ $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_AdSenseHost_CustomChannel");
+ }
+
+ /**
+ * Update a custom channel in the host AdSense account. (customchannels.update)
+ *
+ * @param string $adClientId Ad client in which the custom channel will be
+ * updated.
+ * @param Postman_Google_CustomChannel $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSenseHost_CustomChannel
+ */
+ public function update($adClientId, Postman_Google_Service_AdSenseHost_CustomChannel $postBody, $optParams = array())
+ {
+ $params = array('adClientId' => $adClientId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_AdSenseHost_CustomChannel");
+ }
+}
+
+/**
+ * The "reports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsensehostService = new Postman_Google_Service_AdSenseHost(...);
+ * $reports = $adsensehostService->reports;
+ * </code>
+ */
+class Postman_Google_Service_AdSenseHost_Reports_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Generate an AdSense report based on the report request sent in the query
+ * parameters. Returns the result as JSON; to retrieve output in CSV format
+ * specify "alt=csv" as a query parameter. (reports.generate)
+ *
+ * @param string $startDate Start of the date range to report on in "YYYY-MM-DD"
+ * format, inclusive.
+ * @param string $endDate End of the date range to report on in "YYYY-MM-DD"
+ * format, inclusive.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string sort The name of a dimension or metric to sort the
+ * resulting report on, optionally prefixed with "+" to sort ascending or "-" to
+ * sort descending. If no prefix is specified, the column is sorted ascending.
+ * @opt_param string locale Optional locale to use for translating report output
+ * to a local language. Defaults to "en_US" if not specified.
+ * @opt_param string metric Numeric columns to include in the report.
+ * @opt_param string maxResults The maximum number of rows of report data to
+ * return.
+ * @opt_param string filter Filters to be run on the report.
+ * @opt_param string startIndex Index of the first row of report data to return.
+ * @opt_param string dimension Dimensions to base the report on.
+ * @return Postman_Google_Service_AdSenseHost_Report
+ */
+ public function generate($startDate, $endDate, $optParams = array())
+ {
+ $params = array('startDate' => $startDate, 'endDate' => $endDate);
+ $params = array_merge($params, $optParams);
+ return $this->call('generate', array($params), "Postman_Google_Service_AdSenseHost_Report");
+ }
+}
+
+/**
+ * The "urlchannels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adsensehostService = new Postman_Google_Service_AdSenseHost(...);
+ * $urlchannels = $adsensehostService->urlchannels;
+ * </code>
+ */
+class Postman_Google_Service_AdSenseHost_Urlchannels_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Delete a URL channel from the host AdSense account. (urlchannels.delete)
+ *
+ * @param string $adClientId Ad client from which to delete the URL channel.
+ * @param string $urlChannelId URL channel to delete.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSenseHost_UrlChannel
+ */
+ public function delete($adClientId, $urlChannelId, $optParams = array())
+ {
+ $params = array('adClientId' => $adClientId, 'urlChannelId' => $urlChannelId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_AdSenseHost_UrlChannel");
+ }
+
+ /**
+ * Add a new URL channel to the host AdSense account. (urlchannels.insert)
+ *
+ * @param string $adClientId Ad client to which the new URL channel will be
+ * added.
+ * @param Postman_Google_UrlChannel $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AdSenseHost_UrlChannel
+ */
+ public function insert($adClientId, Postman_Google_Service_AdSenseHost_UrlChannel $postBody, $optParams = array())
+ {
+ $params = array('adClientId' => $adClientId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_AdSenseHost_UrlChannel");
+ }
+
+ /**
+ * List all host URL channels in the host AdSense account.
+ * (urlchannels.listUrlchannels)
+ *
+ * @param string $adClientId Ad client for which to list URL channels.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A continuation token, used to page through URL
+ * channels. To retrieve the next page, set this parameter to the value of
+ * "nextPageToken" from the previous response.
+ * @opt_param string maxResults The maximum number of URL channels to include in
+ * the response, used for paging.
+ * @return Postman_Google_Service_AdSenseHost_UrlChannels
+ */
+ public function listUrlchannels($adClientId, $optParams = array())
+ {
+ $params = array('adClientId' => $adClientId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AdSenseHost_UrlChannels");
+ }
+}
+
+
+
+
+class Postman_Google_Service_AdSenseHost_Account extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $name;
+ public $status;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Postman_Google_Service_AdSenseHost_Accounts extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_AdSenseHost_Account';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_AdSenseHost_AdClient extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $arcOptIn;
+ public $id;
+ public $kind;
+ public $productCode;
+ public $supportsReporting;
+
+
+ public function setArcOptIn($arcOptIn)
+ {
+ $this->arcOptIn = $arcOptIn;
+ }
+ public function getArcOptIn()
+ {
+ return $this->arcOptIn;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setProductCode($productCode)
+ {
+ $this->productCode = $productCode;
+ }
+ public function getProductCode()
+ {
+ return $this->productCode;
+ }
+ public function setSupportsReporting($supportsReporting)
+ {
+ $this->supportsReporting = $supportsReporting;
+ }
+ public function getSupportsReporting()
+ {
+ return $this->supportsReporting;
+ }
+}
+
+class Postman_Google_Service_AdSenseHost_AdClients extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_AdSenseHost_AdClient';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_AdSenseHost_AdCode extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $adCode;
+ public $kind;
+
+
+ public function setAdCode($adCode)
+ {
+ $this->adCode = $adCode;
+ }
+ public function getAdCode()
+ {
+ return $this->adCode;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_AdSenseHost_AdStyle extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $colorsType = 'Postman_Google_Service_AdSenseHost_AdStyleColors';
+ protected $colorsDataType = '';
+ public $corners;
+ protected $fontType = 'Postman_Google_Service_AdSenseHost_AdStyleFont';
+ protected $fontDataType = '';
+ public $kind;
+
+
+ public function setColors(Postman_Google_Service_AdSenseHost_AdStyleColors $colors)
+ {
+ $this->colors = $colors;
+ }
+ public function getColors()
+ {
+ return $this->colors;
+ }
+ public function setCorners($corners)
+ {
+ $this->corners = $corners;
+ }
+ public function getCorners()
+ {
+ return $this->corners;
+ }
+ public function setFont(Postman_Google_Service_AdSenseHost_AdStyleFont $font)
+ {
+ $this->font = $font;
+ }
+ public function getFont()
+ {
+ return $this->font;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_AdSenseHost_AdStyleColors extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $background;
+ public $border;
+ public $text;
+ public $title;
+ public $url;
+
+
+ public function setBackground($background)
+ {
+ $this->background = $background;
+ }
+ public function getBackground()
+ {
+ return $this->background;
+ }
+ public function setBorder($border)
+ {
+ $this->border = $border;
+ }
+ public function getBorder()
+ {
+ return $this->border;
+ }
+ public function setText($text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_AdSenseHost_AdStyleFont extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $family;
+ public $size;
+
+
+ public function setFamily($family)
+ {
+ $this->family = $family;
+ }
+ public function getFamily()
+ {
+ return $this->family;
+ }
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+}
+
+class Postman_Google_Service_AdSenseHost_AdUnit extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $contentAdsSettingsType = 'Postman_Google_Service_AdSenseHost_AdUnitContentAdsSettings';
+ protected $contentAdsSettingsDataType = '';
+ protected $customStyleType = 'Postman_Google_Service_AdSenseHost_AdStyle';
+ protected $customStyleDataType = '';
+ public $id;
+ public $kind;
+ protected $mobileContentAdsSettingsType = 'Postman_Google_Service_AdSenseHost_AdUnitMobileContentAdsSettings';
+ protected $mobileContentAdsSettingsDataType = '';
+ public $name;
+ public $status;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setContentAdsSettings(Postman_Google_Service_AdSenseHost_AdUnitContentAdsSettings $contentAdsSettings)
+ {
+ $this->contentAdsSettings = $contentAdsSettings;
+ }
+ public function getContentAdsSettings()
+ {
+ return $this->contentAdsSettings;
+ }
+ public function setCustomStyle(Postman_Google_Service_AdSenseHost_AdStyle $customStyle)
+ {
+ $this->customStyle = $customStyle;
+ }
+ public function getCustomStyle()
+ {
+ return $this->customStyle;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMobileContentAdsSettings(Postman_Google_Service_AdSenseHost_AdUnitMobileContentAdsSettings $mobileContentAdsSettings)
+ {
+ $this->mobileContentAdsSettings = $mobileContentAdsSettings;
+ }
+ public function getMobileContentAdsSettings()
+ {
+ return $this->mobileContentAdsSettings;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Postman_Google_Service_AdSenseHost_AdUnitContentAdsSettings extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $backupOptionType = 'Postman_Google_Service_AdSenseHost_AdUnitContentAdsSettingsBackupOption';
+ protected $backupOptionDataType = '';
+ public $size;
+ public $type;
+
+
+ public function setBackupOption(Postman_Google_Service_AdSenseHost_AdUnitContentAdsSettingsBackupOption $backupOption)
+ {
+ $this->backupOption = $backupOption;
+ }
+ public function getBackupOption()
+ {
+ return $this->backupOption;
+ }
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_AdSenseHost_AdUnitContentAdsSettingsBackupOption extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $color;
+ public $type;
+ public $url;
+
+
+ public function setColor($color)
+ {
+ $this->color = $color;
+ }
+ public function getColor()
+ {
+ return $this->color;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_AdSenseHost_AdUnitMobileContentAdsSettings extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $markupLanguage;
+ public $scriptingLanguage;
+ public $size;
+ public $type;
+
+
+ public function setMarkupLanguage($markupLanguage)
+ {
+ $this->markupLanguage = $markupLanguage;
+ }
+ public function getMarkupLanguage()
+ {
+ return $this->markupLanguage;
+ }
+ public function setScriptingLanguage($scriptingLanguage)
+ {
+ $this->scriptingLanguage = $scriptingLanguage;
+ }
+ public function getScriptingLanguage()
+ {
+ return $this->scriptingLanguage;
+ }
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_AdSenseHost_AdUnits extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_AdSenseHost_AdUnit';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_AdSenseHost_AssociationSession extends Postman_Google_Collection
+{
+ protected $collection_key = 'productCodes';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $id;
+ public $kind;
+ public $productCodes;
+ public $redirectUrl;
+ public $status;
+ public $userLocale;
+ public $websiteLocale;
+ public $websiteUrl;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setProductCodes($productCodes)
+ {
+ $this->productCodes = $productCodes;
+ }
+ public function getProductCodes()
+ {
+ return $this->productCodes;
+ }
+ public function setRedirectUrl($redirectUrl)
+ {
+ $this->redirectUrl = $redirectUrl;
+ }
+ public function getRedirectUrl()
+ {
+ return $this->redirectUrl;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setUserLocale($userLocale)
+ {
+ $this->userLocale = $userLocale;
+ }
+ public function getUserLocale()
+ {
+ return $this->userLocale;
+ }
+ public function setWebsiteLocale($websiteLocale)
+ {
+ $this->websiteLocale = $websiteLocale;
+ }
+ public function getWebsiteLocale()
+ {
+ return $this->websiteLocale;
+ }
+ public function setWebsiteUrl($websiteUrl)
+ {
+ $this->websiteUrl = $websiteUrl;
+ }
+ public function getWebsiteUrl()
+ {
+ return $this->websiteUrl;
+ }
+}
+
+class Postman_Google_Service_AdSenseHost_CustomChannel extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $id;
+ public $kind;
+ public $name;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_AdSenseHost_CustomChannels extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_AdSenseHost_CustomChannel';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_AdSenseHost_Report extends Postman_Google_Collection
+{
+ protected $collection_key = 'warnings';
+ protected $internal_gapi_mappings = array(
+ );
+ public $averages;
+ protected $headersType = 'Postman_Google_Service_AdSenseHost_ReportHeaders';
+ protected $headersDataType = 'array';
+ public $kind;
+ public $rows;
+ public $totalMatchedRows;
+ public $totals;
+ public $warnings;
+
+
+ public function setAverages($averages)
+ {
+ $this->averages = $averages;
+ }
+ public function getAverages()
+ {
+ return $this->averages;
+ }
+ public function setHeaders($headers)
+ {
+ $this->headers = $headers;
+ }
+ public function getHeaders()
+ {
+ return $this->headers;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRows($rows)
+ {
+ $this->rows = $rows;
+ }
+ public function getRows()
+ {
+ return $this->rows;
+ }
+ public function setTotalMatchedRows($totalMatchedRows)
+ {
+ $this->totalMatchedRows = $totalMatchedRows;
+ }
+ public function getTotalMatchedRows()
+ {
+ return $this->totalMatchedRows;
+ }
+ public function setTotals($totals)
+ {
+ $this->totals = $totals;
+ }
+ public function getTotals()
+ {
+ return $this->totals;
+ }
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
+
+class Postman_Google_Service_AdSenseHost_ReportHeaders extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $currency;
+ public $name;
+ public $type;
+
+
+ public function setCurrency($currency)
+ {
+ $this->currency = $currency;
+ }
+ public function getCurrency()
+ {
+ return $this->currency;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_AdSenseHost_UrlChannel extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $urlPattern;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUrlPattern($urlPattern)
+ {
+ $this->urlPattern = $urlPattern;
+ }
+ public function getUrlPattern()
+ {
+ return $this->urlPattern;
+ }
+}
+
+class Postman_Google_Service_AdSenseHost_UrlChannels extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_AdSenseHost_UrlChannel';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Admin.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Admin.php
new file mode 100644
index 0000000..e0e08e2
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Admin.php
@@ -0,0 +1,193 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Admin (email_migration_v2).
+ *
+ * <p>
+ * Email Migration API lets you migrate emails of users to Google backends.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/admin-sdk/email-migration/v2/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Admin extends Postman_Google_Service
+{
+ /** Manage email messages of users on your domain. */
+ const EMAIL_MIGRATION =
+ "https://www.googleapis.com/auth/email.migration";
+
+ public $mail;
+
+
+ /**
+ * Constructs the internal representation of the Admin service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'email/v2/users/';
+ $this->version = 'email_migration_v2';
+ $this->serviceName = 'admin';
+
+ $this->mail = new Postman_Google_Service_Admin_Mail_Resource(
+ $this,
+ $this->serviceName,
+ 'mail',
+ array(
+ 'methods' => array(
+ 'insert' => array(
+ 'path' => '{userKey}/mail',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "mail" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Postman_Google_Service_Admin(...);
+ * $mail = $adminService->mail;
+ * </code>
+ */
+class Postman_Google_Service_Admin_Mail_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Insert Mail into Google's Gmail backends (mail.insert)
+ *
+ * @param string $userKey The email or immutable id of the user
+ * @param Postman_Google_MailItem $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function insert($userKey, Postman_Google_Service_Admin_MailItem $postBody, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params));
+ }
+}
+
+
+
+
+class Postman_Google_Service_Admin_MailItem extends Postman_Google_Collection
+{
+ protected $collection_key = 'labels';
+ protected $internal_gapi_mappings = array(
+ );
+ public $isDeleted;
+ public $isDraft;
+ public $isInbox;
+ public $isSent;
+ public $isStarred;
+ public $isTrash;
+ public $isUnread;
+ public $kind;
+ public $labels;
+
+
+ public function setIsDeleted($isDeleted)
+ {
+ $this->isDeleted = $isDeleted;
+ }
+ public function getIsDeleted()
+ {
+ return $this->isDeleted;
+ }
+ public function setIsDraft($isDraft)
+ {
+ $this->isDraft = $isDraft;
+ }
+ public function getIsDraft()
+ {
+ return $this->isDraft;
+ }
+ public function setIsInbox($isInbox)
+ {
+ $this->isInbox = $isInbox;
+ }
+ public function getIsInbox()
+ {
+ return $this->isInbox;
+ }
+ public function setIsSent($isSent)
+ {
+ $this->isSent = $isSent;
+ }
+ public function getIsSent()
+ {
+ return $this->isSent;
+ }
+ public function setIsStarred($isStarred)
+ {
+ $this->isStarred = $isStarred;
+ }
+ public function getIsStarred()
+ {
+ return $this->isStarred;
+ }
+ public function setIsTrash($isTrash)
+ {
+ $this->isTrash = $isTrash;
+ }
+ public function getIsTrash()
+ {
+ return $this->isTrash;
+ }
+ public function setIsUnread($isUnread)
+ {
+ $this->isUnread = $isUnread;
+ }
+ public function getIsUnread()
+ {
+ return $this->isUnread;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Analytics.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Analytics.php
new file mode 100644
index 0000000..ec53e3b
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Analytics.php
@@ -0,0 +1,9447 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Analytics (v3).
+ *
+ * <p>
+ * View and manage your Google Analytics data</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/analytics/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Analytics extends Postman_Google_Service
+{
+ /** View and manage your Google Analytics data. */
+ const ANALYTICS =
+ "https://www.googleapis.com/auth/analytics";
+ /** Edit Google Analytics management entities. */
+ const ANALYTICS_EDIT =
+ "https://www.googleapis.com/auth/analytics.edit";
+ /** Manage Google Analytics Account users by email address. */
+ const ANALYTICS_MANAGE_USERS =
+ "https://www.googleapis.com/auth/analytics.manage.users";
+ /** View Google Analytics user permissions. */
+ const ANALYTICS_MANAGE_USERS_READONLY =
+ "https://www.googleapis.com/auth/analytics.manage.users.readonly";
+ /** Create a new Google Analytics account along with its default property and view. */
+ const ANALYTICS_PROVISION =
+ "https://www.googleapis.com/auth/analytics.provision";
+ /** View your Google Analytics data. */
+ const ANALYTICS_READONLY =
+ "https://www.googleapis.com/auth/analytics.readonly";
+
+ public $data_ga;
+ public $data_mcf;
+ public $data_realtime;
+ public $management_accountSummaries;
+ public $management_accountUserLinks;
+ public $management_accounts;
+ public $management_customDataSources;
+ public $management_dailyUploads;
+ public $management_experiments;
+ public $management_filters;
+ public $management_goals;
+ public $management_profileFilterLinks;
+ public $management_profileUserLinks;
+ public $management_profiles;
+ public $management_segments;
+ public $management_unsampledReports;
+ public $management_uploads;
+ public $management_webPropertyAdWordsLinks;
+ public $management_webproperties;
+ public $management_webpropertyUserLinks;
+ public $metadata_columns;
+ public $provisioning;
+
+
+ /**
+ * Constructs the internal representation of the Analytics service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'analytics/v3/';
+ $this->version = 'v3';
+ $this->serviceName = 'analytics';
+
+ $this->data_ga = new Postman_Google_Service_Analytics_DataGa_Resource(
+ $this,
+ $this->serviceName,
+ 'ga',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'data/ga',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'start-date' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'end-date' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'metrics' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'sort' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'dimensions' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'segment' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'samplingLevel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'filters' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'output' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->data_mcf = new Postman_Google_Service_Analytics_DataMcf_Resource(
+ $this,
+ $this->serviceName,
+ 'mcf',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'data/mcf',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'start-date' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'end-date' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'metrics' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'sort' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'dimensions' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'samplingLevel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'filters' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->data_realtime = new Postman_Google_Service_Analytics_DataRealtime_Resource(
+ $this,
+ $this->serviceName,
+ 'realtime',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'data/realtime',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'metrics' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'sort' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'dimensions' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'filters' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_accountSummaries = new Postman_Google_Service_Analytics_ManagementAccountSummaries_Resource(
+ $this,
+ $this->serviceName,
+ 'accountSummaries',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'management/accountSummaries',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_accountUserLinks = new Postman_Google_Service_Analytics_ManagementAccountUserLinks_Resource(
+ $this,
+ $this->serviceName,
+ 'accountUserLinks',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'linkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'management/accounts/{accountId}/entityUserLinks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'management/accounts/{accountId}/entityUserLinks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'linkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_accounts = new Postman_Google_Service_Analytics_ManagementAccounts_Resource(
+ $this,
+ $this->serviceName,
+ 'accounts',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'management/accounts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_customDataSources = new Postman_Google_Service_Analytics_ManagementCustomDataSources_Resource(
+ $this,
+ $this->serviceName,
+ 'customDataSources',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_dailyUploads = new Postman_Google_Service_Analytics_ManagementDailyUploads_Resource(
+ $this,
+ $this->serviceName,
+ 'dailyUploads',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customDataSourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'date' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'type' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customDataSourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'start-date' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'end-date' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'upload' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}/uploads',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customDataSourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'date' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'appendNumber' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'type' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'reset' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_experiments = new Postman_Google_Service_Analytics_ManagementExperiments_Resource(
+ $this,
+ $this->serviceName,
+ 'experiments',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'experimentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'experimentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'experimentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'experimentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_filters = new Postman_Google_Service_Analytics_ManagementFilters_Resource(
+ $this,
+ $this->serviceName,
+ 'filters',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'management/accounts/{accountId}/filters/{filterId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filterId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'management/accounts/{accountId}/filters/{filterId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filterId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'management/accounts/{accountId}/filters',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'management/accounts/{accountId}/filters',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'management/accounts/{accountId}/filters/{filterId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filterId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'management/accounts/{accountId}/filters/{filterId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filterId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_goals = new Postman_Google_Service_Analytics_ManagementGoals_Resource(
+ $this,
+ $this->serviceName,
+ 'goals',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'goalId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'goalId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'goalId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_profileFilterLinks = new Postman_Google_Service_Analytics_ManagementProfileFilterLinks_Resource(
+ $this,
+ $this->serviceName,
+ 'profileFilterLinks',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'linkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'linkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'linkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'linkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_profileUserLinks = new Postman_Google_Service_Analytics_ManagementProfileUserLinks_Resource(
+ $this,
+ $this->serviceName,
+ 'profileUserLinks',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'linkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'linkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_profiles = new Postman_Google_Service_Analytics_ManagementProfiles_Resource(
+ $this,
+ $this->serviceName,
+ 'profiles',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_segments = new Postman_Google_Service_Analytics_ManagementSegments_Resource(
+ $this,
+ $this->serviceName,
+ 'segments',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'management/segments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_unsampledReports = new Postman_Google_Service_Analytics_ManagementUnsampledReports_Resource(
+ $this,
+ $this->serviceName,
+ 'unsampledReports',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'unsampledReportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_uploads = new Postman_Google_Service_Analytics_ManagementUploads_Resource(
+ $this,
+ $this->serviceName,
+ 'uploads',
+ array(
+ 'methods' => array(
+ 'deleteUploadData' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customDataSourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customDataSourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'uploadId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customDataSourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'migrateDataImport' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/migrateDataImport',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customDataSourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'uploadData' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customDataSourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_webPropertyAdWordsLinks = new Postman_Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource(
+ $this,
+ $this->serviceName,
+ 'webPropertyAdWordsLinks',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyAdWordsLinkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyAdWordsLinkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyAdWordsLinkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyAdWordsLinkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_webproperties = new Postman_Google_Service_Analytics_ManagementWebproperties_Resource(
+ $this,
+ $this->serviceName,
+ 'webproperties',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_webpropertyUserLinks = new Postman_Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource(
+ $this,
+ $this->serviceName,
+ 'webpropertyUserLinks',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'linkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'linkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->metadata_columns = new Postman_Google_Service_Analytics_MetadataColumns_Resource(
+ $this,
+ $this->serviceName,
+ 'columns',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'metadata/{reportType}/columns',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'reportType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->provisioning = new Postman_Google_Service_Analytics_Provisioning_Resource(
+ $this,
+ $this->serviceName,
+ 'provisioning',
+ array(
+ 'methods' => array(
+ 'createAccountTicket' => array(
+ 'path' => 'provisioning/createAccountTicket',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "data" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $data = $analyticsService->data;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_Data_Resource extends Postman_Google_Service_Resource
+{
+}
+
+/**
+ * The "ga" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $ga = $analyticsService->ga;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_DataGa_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns Analytics data for a view (profile). (ga.get)
+ *
+ * @param string $ids Unique table ID for retrieving Analytics data. Table ID is
+ * of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
+ * @param string $startDate Start date for fetching Analytics data. Requests can
+ * specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g.,
+ * today, yesterday, or 7daysAgo). The default value is 7daysAgo.
+ * @param string $endDate End date for fetching Analytics data. Request can
+ * should specify an end date formatted as YYYY-MM-DD, or as a relative date
+ * (e.g., today, yesterday, or 7daysAgo). The default value is yesterday.
+ * @param string $metrics A comma-separated list of Analytics metrics. E.g.,
+ * 'ga:sessions,ga:pageviews'. At least one metric must be specified.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of entries to include in this
+ * feed.
+ * @opt_param string sort A comma-separated list of dimensions or metrics that
+ * determine the sort order for Analytics data.
+ * @opt_param string dimensions A comma-separated list of Analytics dimensions.
+ * E.g., 'ga:browser,ga:city'.
+ * @opt_param int start-index An index of the first entity to retrieve. Use this
+ * parameter as a pagination mechanism along with the max-results parameter.
+ * @opt_param string segment An Analytics segment to be applied to data.
+ * @opt_param string samplingLevel The desired sampling level.
+ * @opt_param string filters A comma-separated list of dimension or metric
+ * filters to be applied to Analytics data.
+ * @opt_param string output The selected format for the response. Default format
+ * is JSON.
+ * @return Postman_Google_Service_Analytics_GaData
+ */
+ public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
+ {
+ $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Analytics_GaData");
+ }
+}
+/**
+ * The "mcf" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $mcf = $analyticsService->mcf;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_DataMcf_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns Analytics Multi-Channel Funnels data for a view (profile). (mcf.get)
+ *
+ * @param string $ids Unique table ID for retrieving Analytics data. Table ID is
+ * of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
+ * @param string $startDate Start date for fetching Analytics data. Requests can
+ * specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g.,
+ * today, yesterday, or 7daysAgo). The default value is 7daysAgo.
+ * @param string $endDate End date for fetching Analytics data. Requests can
+ * specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g.,
+ * today, yesterday, or 7daysAgo). The default value is 7daysAgo.
+ * @param string $metrics A comma-separated list of Multi-Channel Funnels
+ * metrics. E.g., 'mcf:totalConversions,mcf:totalConversionValue'. At least one
+ * metric must be specified.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of entries to include in this
+ * feed.
+ * @opt_param string sort A comma-separated list of dimensions or metrics that
+ * determine the sort order for the Analytics data.
+ * @opt_param string dimensions A comma-separated list of Multi-Channel Funnels
+ * dimensions. E.g., 'mcf:source,mcf:medium'.
+ * @opt_param int start-index An index of the first entity to retrieve. Use this
+ * parameter as a pagination mechanism along with the max-results parameter.
+ * @opt_param string samplingLevel The desired sampling level.
+ * @opt_param string filters A comma-separated list of dimension or metric
+ * filters to be applied to the Analytics data.
+ * @return Postman_Google_Service_Analytics_McfData
+ */
+ public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
+ {
+ $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Analytics_McfData");
+ }
+}
+/**
+ * The "realtime" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $realtime = $analyticsService->realtime;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_DataRealtime_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns real time data for a view (profile). (realtime.get)
+ *
+ * @param string $ids Unique table ID for retrieving real time data. Table ID is
+ * of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
+ * @param string $metrics A comma-separated list of real time metrics. E.g.,
+ * 'rt:activeUsers'. At least one metric must be specified.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of entries to include in this
+ * feed.
+ * @opt_param string sort A comma-separated list of dimensions or metrics that
+ * determine the sort order for real time data.
+ * @opt_param string dimensions A comma-separated list of real time dimensions.
+ * E.g., 'rt:medium,rt:city'.
+ * @opt_param string filters A comma-separated list of dimension or metric
+ * filters to be applied to real time data.
+ * @return Postman_Google_Service_Analytics_RealtimeData
+ */
+ public function get($ids, $metrics, $optParams = array())
+ {
+ $params = array('ids' => $ids, 'metrics' => $metrics);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Analytics_RealtimeData");
+ }
+}
+
+/**
+ * The "management" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $management = $analyticsService->management;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_Management_Resource extends Postman_Google_Service_Resource
+{
+}
+
+/**
+ * The "accountSummaries" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $accountSummaries = $analyticsService->accountSummaries;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_ManagementAccountSummaries_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Lists account summaries (lightweight tree comprised of
+ * accounts/properties/profiles) to which the user has access.
+ * (accountSummaries.listManagementAccountSummaries)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of account summaries to include
+ * in this response, where the largest acceptable value is 1000.
+ * @opt_param int start-index An index of the first entity to retrieve. Use this
+ * parameter as a pagination mechanism along with the max-results parameter.
+ * @return Postman_Google_Service_Analytics_AccountSummaries
+ */
+ public function listManagementAccountSummaries($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Analytics_AccountSummaries");
+ }
+}
+/**
+ * The "accountUserLinks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $accountUserLinks = $analyticsService->accountUserLinks;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_ManagementAccountUserLinks_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Removes a user from the given account. (accountUserLinks.delete)
+ *
+ * @param string $accountId Account ID to delete the user link for.
+ * @param string $linkId Link ID to delete the user link for.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $linkId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'linkId' => $linkId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Adds a new user to the given account. (accountUserLinks.insert)
+ *
+ * @param string $accountId Account ID to create the user link for.
+ * @param Postman_Google_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_EntityUserLink
+ */
+ public function insert($accountId, Postman_Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Analytics_EntityUserLink");
+ }
+
+ /**
+ * Lists account-user links for a given account.
+ * (accountUserLinks.listManagementAccountUserLinks)
+ *
+ * @param string $accountId Account ID to retrieve the user links for.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of account-user links to
+ * include in this response.
+ * @opt_param int start-index An index of the first account-user link to
+ * retrieve. Use this parameter as a pagination mechanism along with the max-
+ * results parameter.
+ * @return Postman_Google_Service_Analytics_EntityUserLinks
+ */
+ public function listManagementAccountUserLinks($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Analytics_EntityUserLinks");
+ }
+
+ /**
+ * Updates permissions for an existing user on the given account.
+ * (accountUserLinks.update)
+ *
+ * @param string $accountId Account ID to update the account-user link for.
+ * @param string $linkId Link ID to update the account-user link for.
+ * @param Postman_Google_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_EntityUserLink
+ */
+ public function update($accountId, $linkId, Postman_Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'linkId' => $linkId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Analytics_EntityUserLink");
+ }
+}
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $accounts = $analyticsService->accounts;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_ManagementAccounts_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Lists all accounts to which the user has access.
+ * (accounts.listManagementAccounts)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of accounts to include in this
+ * response.
+ * @opt_param int start-index An index of the first account to retrieve. Use
+ * this parameter as a pagination mechanism along with the max-results
+ * parameter.
+ * @return Postman_Google_Service_Analytics_Accounts
+ */
+ public function listManagementAccounts($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Analytics_Accounts");
+ }
+}
+/**
+ * The "customDataSources" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $customDataSources = $analyticsService->customDataSources;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_ManagementCustomDataSources_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List custom data sources to which the user has access.
+ * (customDataSources.listManagementCustomDataSources)
+ *
+ * @param string $accountId Account Id for the custom data sources to retrieve.
+ * @param string $webPropertyId Web property Id for the custom data sources to
+ * retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of custom data sources to
+ * include in this response.
+ * @opt_param int start-index A 1-based index of the first custom data source to
+ * retrieve. Use this parameter as a pagination mechanism along with the max-
+ * results parameter.
+ * @return Postman_Google_Service_Analytics_CustomDataSources
+ */
+ public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Analytics_CustomDataSources");
+ }
+}
+/**
+ * The "dailyUploads" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $dailyUploads = $analyticsService->dailyUploads;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_ManagementDailyUploads_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Delete uploaded data for the given date. (dailyUploads.delete)
+ *
+ * @param string $accountId Account Id associated with daily upload delete.
+ * @param string $webPropertyId Web property Id associated with daily upload
+ * delete.
+ * @param string $customDataSourceId Custom data source Id associated with daily
+ * upload delete.
+ * @param string $date Date for which data is to be deleted. Date should be
+ * formatted as YYYY-MM-DD.
+ * @param string $type Type of data for this delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $webPropertyId, $customDataSourceId, $date, $type, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'type' => $type);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * List daily uploads to which the user has access.
+ * (dailyUploads.listManagementDailyUploads)
+ *
+ * @param string $accountId Account Id for the daily uploads to retrieve.
+ * @param string $webPropertyId Web property Id for the daily uploads to
+ * retrieve.
+ * @param string $customDataSourceId Custom data source Id for daily uploads to
+ * retrieve.
+ * @param string $startDate Start date of the form YYYY-MM-DD.
+ * @param string $endDate End date of the form YYYY-MM-DD.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of custom data sources to
+ * include in this response.
+ * @opt_param int start-index A 1-based index of the first daily upload to
+ * retrieve. Use this parameter as a pagination mechanism along with the max-
+ * results parameter.
+ * @return Postman_Google_Service_Analytics_DailyUploads
+ */
+ public function listManagementDailyUploads($accountId, $webPropertyId, $customDataSourceId, $startDate, $endDate, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'start-date' => $startDate, 'end-date' => $endDate);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Analytics_DailyUploads");
+ }
+
+ /**
+ * Update/Overwrite data for a custom data source. (dailyUploads.upload)
+ *
+ * @param string $accountId Account Id associated with daily upload.
+ * @param string $webPropertyId Web property Id associated with daily upload.
+ * @param string $customDataSourceId Custom data source Id to which the data
+ * being uploaded belongs.
+ * @param string $date Date for which data is uploaded. Date should be formatted
+ * as YYYY-MM-DD.
+ * @param int $appendNumber Append number for this upload indexed from 1.
+ * @param string $type Type of data for this upload.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool reset Reset/Overwrite all previous appends for this date and
+ * start over with this file as the first upload.
+ * @return Postman_Google_Service_Analytics_DailyUploadAppend
+ */
+ public function upload($accountId, $webPropertyId, $customDataSourceId, $date, $appendNumber, $type, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'appendNumber' => $appendNumber, 'type' => $type);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Postman_Google_Service_Analytics_DailyUploadAppend");
+ }
+}
+/**
+ * The "experiments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $experiments = $analyticsService->experiments;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_ManagementExperiments_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Delete an experiment. (experiments.delete)
+ *
+ * @param string $accountId Account ID to which the experiment belongs
+ * @param string $webPropertyId Web property ID to which the experiment belongs
+ * @param string $profileId View (Profile) ID to which the experiment belongs
+ * @param string $experimentId ID of the experiment to delete
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Returns an experiment to which the user has access. (experiments.get)
+ *
+ * @param string $accountId Account ID to retrieve the experiment for.
+ * @param string $webPropertyId Web property ID to retrieve the experiment for.
+ * @param string $profileId View (Profile) ID to retrieve the experiment for.
+ * @param string $experimentId Experiment ID to retrieve the experiment for.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Experiment
+ */
+ public function get($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Analytics_Experiment");
+ }
+
+ /**
+ * Create a new experiment. (experiments.insert)
+ *
+ * @param string $accountId Account ID to create the experiment for.
+ * @param string $webPropertyId Web property ID to create the experiment for.
+ * @param string $profileId View (Profile) ID to create the experiment for.
+ * @param Postman_Google_Experiment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Experiment
+ */
+ public function insert($accountId, $webPropertyId, $profileId, Postman_Google_Service_Analytics_Experiment $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Analytics_Experiment");
+ }
+
+ /**
+ * Lists experiments to which the user has access.
+ * (experiments.listManagementExperiments)
+ *
+ * @param string $accountId Account ID to retrieve experiments for.
+ * @param string $webPropertyId Web property ID to retrieve experiments for.
+ * @param string $profileId View (Profile) ID to retrieve experiments for.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of experiments to include in
+ * this response.
+ * @opt_param int start-index An index of the first experiment to retrieve. Use
+ * this parameter as a pagination mechanism along with the max-results
+ * parameter.
+ * @return Postman_Google_Service_Analytics_Experiments
+ */
+ public function listManagementExperiments($accountId, $webPropertyId, $profileId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Analytics_Experiments");
+ }
+
+ /**
+ * Update an existing experiment. This method supports patch semantics.
+ * (experiments.patch)
+ *
+ * @param string $accountId Account ID of the experiment to update.
+ * @param string $webPropertyId Web property ID of the experiment to update.
+ * @param string $profileId View (Profile) ID of the experiment to update.
+ * @param string $experimentId Experiment ID of the experiment to update.
+ * @param Postman_Google_Experiment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Experiment
+ */
+ public function patch($accountId, $webPropertyId, $profileId, $experimentId, Postman_Google_Service_Analytics_Experiment $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Analytics_Experiment");
+ }
+
+ /**
+ * Update an existing experiment. (experiments.update)
+ *
+ * @param string $accountId Account ID of the experiment to update.
+ * @param string $webPropertyId Web property ID of the experiment to update.
+ * @param string $profileId View (Profile) ID of the experiment to update.
+ * @param string $experimentId Experiment ID of the experiment to update.
+ * @param Postman_Google_Experiment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Experiment
+ */
+ public function update($accountId, $webPropertyId, $profileId, $experimentId, Postman_Google_Service_Analytics_Experiment $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Analytics_Experiment");
+ }
+}
+/**
+ * The "filters" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $filters = $analyticsService->filters;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_ManagementFilters_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Delete a filter. (filters.delete)
+ *
+ * @param string $accountId Account ID to delete the filter for.
+ * @param string $filterId ID of the filter to be deleted.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Filter
+ */
+ public function delete($accountId, $filterId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'filterId' => $filterId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_Analytics_Filter");
+ }
+
+ /**
+ * Returns a filters to which the user has access. (filters.get)
+ *
+ * @param string $accountId Account ID to retrieve filters for.
+ * @param string $filterId Filter ID to retrieve filters for.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Filter
+ */
+ public function get($accountId, $filterId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'filterId' => $filterId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Analytics_Filter");
+ }
+
+ /**
+ * Create a new filter. (filters.insert)
+ *
+ * @param string $accountId Account ID to create filter for.
+ * @param Postman_Google_Filter $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Filter
+ */
+ public function insert($accountId, Postman_Google_Service_Analytics_Filter $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Analytics_Filter");
+ }
+
+ /**
+ * Lists all filters for an account (filters.listManagementFilters)
+ *
+ * @param string $accountId Account ID to retrieve filters for.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of filters to include in this
+ * response.
+ * @opt_param int start-index An index of the first entity to retrieve. Use this
+ * parameter as a pagination mechanism along with the max-results parameter.
+ * @return Postman_Google_Service_Analytics_Filters
+ */
+ public function listManagementFilters($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Analytics_Filters");
+ }
+
+ /**
+ * Updates an existing filter. This method supports patch semantics.
+ * (filters.patch)
+ *
+ * @param string $accountId Account ID to which the filter belongs.
+ * @param string $filterId ID of the filter to be updated.
+ * @param Postman_Google_Filter $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Filter
+ */
+ public function patch($accountId, $filterId, Postman_Google_Service_Analytics_Filter $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Analytics_Filter");
+ }
+
+ /**
+ * Updates an existing filter. (filters.update)
+ *
+ * @param string $accountId Account ID to which the filter belongs.
+ * @param string $filterId ID of the filter to be updated.
+ * @param Postman_Google_Filter $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Filter
+ */
+ public function update($accountId, $filterId, Postman_Google_Service_Analytics_Filter $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Analytics_Filter");
+ }
+}
+/**
+ * The "goals" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $goals = $analyticsService->goals;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_ManagementGoals_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets a goal to which the user has access. (goals.get)
+ *
+ * @param string $accountId Account ID to retrieve the goal for.
+ * @param string $webPropertyId Web property ID to retrieve the goal for.
+ * @param string $profileId View (Profile) ID to retrieve the goal for.
+ * @param string $goalId Goal ID to retrieve the goal for.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Goal
+ */
+ public function get($accountId, $webPropertyId, $profileId, $goalId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Analytics_Goal");
+ }
+
+ /**
+ * Create a new goal. (goals.insert)
+ *
+ * @param string $accountId Account ID to create the goal for.
+ * @param string $webPropertyId Web property ID to create the goal for.
+ * @param string $profileId View (Profile) ID to create the goal for.
+ * @param Postman_Google_Goal $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Goal
+ */
+ public function insert($accountId, $webPropertyId, $profileId, Postman_Google_Service_Analytics_Goal $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Analytics_Goal");
+ }
+
+ /**
+ * Lists goals to which the user has access. (goals.listManagementGoals)
+ *
+ * @param string $accountId Account ID to retrieve goals for. Can either be a
+ * specific account ID or '~all', which refers to all the accounts that user has
+ * access to.
+ * @param string $webPropertyId Web property ID to retrieve goals for. Can
+ * either be a specific web property ID or '~all', which refers to all the web
+ * properties that user has access to.
+ * @param string $profileId View (Profile) ID to retrieve goals for. Can either
+ * be a specific view (profile) ID or '~all', which refers to all the views
+ * (profiles) that user has access to.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of goals to include in this
+ * response.
+ * @opt_param int start-index An index of the first goal to retrieve. Use this
+ * parameter as a pagination mechanism along with the max-results parameter.
+ * @return Postman_Google_Service_Analytics_Goals
+ */
+ public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Analytics_Goals");
+ }
+
+ /**
+ * Updates an existing view (profile). This method supports patch semantics.
+ * (goals.patch)
+ *
+ * @param string $accountId Account ID to update the goal.
+ * @param string $webPropertyId Web property ID to update the goal.
+ * @param string $profileId View (Profile) ID to update the goal.
+ * @param string $goalId Index of the goal to be updated.
+ * @param Postman_Google_Goal $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Goal
+ */
+ public function patch($accountId, $webPropertyId, $profileId, $goalId, Postman_Google_Service_Analytics_Goal $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Analytics_Goal");
+ }
+
+ /**
+ * Updates an existing view (profile). (goals.update)
+ *
+ * @param string $accountId Account ID to update the goal.
+ * @param string $webPropertyId Web property ID to update the goal.
+ * @param string $profileId View (Profile) ID to update the goal.
+ * @param string $goalId Index of the goal to be updated.
+ * @param Postman_Google_Goal $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Goal
+ */
+ public function update($accountId, $webPropertyId, $profileId, $goalId, Postman_Google_Service_Analytics_Goal $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Analytics_Goal");
+ }
+}
+/**
+ * The "profileFilterLinks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $profileFilterLinks = $analyticsService->profileFilterLinks;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_ManagementProfileFilterLinks_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Delete a profile filter link. (profileFilterLinks.delete)
+ *
+ * @param string $accountId Account ID to which the profile filter link belongs.
+ * @param string $webPropertyId Web property Id to which the profile filter link
+ * belongs.
+ * @param string $profileId Profile ID to which the filter link belongs.
+ * @param string $linkId ID of the profile filter link to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Returns a single profile filter link. (profileFilterLinks.get)
+ *
+ * @param string $accountId Account ID to retrieve profile filter link for.
+ * @param string $webPropertyId Web property Id to retrieve profile filter link
+ * for.
+ * @param string $profileId Profile ID to retrieve filter link for.
+ * @param string $linkId ID of the profile filter link.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_ProfileFilterLink
+ */
+ public function get($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Analytics_ProfileFilterLink");
+ }
+
+ /**
+ * Create a new profile filter link. (profileFilterLinks.insert)
+ *
+ * @param string $accountId Account ID to create profile filter link for.
+ * @param string $webPropertyId Web property Id to create profile filter link
+ * for.
+ * @param string $profileId Profile ID to create filter link for.
+ * @param Postman_Google_ProfileFilterLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_ProfileFilterLink
+ */
+ public function insert($accountId, $webPropertyId, $profileId, Postman_Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Analytics_ProfileFilterLink");
+ }
+
+ /**
+ * Lists all profile filter links for a profile.
+ * (profileFilterLinks.listManagementProfileFilterLinks)
+ *
+ * @param string $accountId Account ID to retrieve profile filter links for.
+ * @param string $webPropertyId Web property Id for profile filter links for.
+ * Can either be a specific web property ID or '~all', which refers to all the
+ * web properties that user has access to.
+ * @param string $profileId Profile ID to retrieve filter links for. Can either
+ * be a specific profile ID or '~all', which refers to all the profiles that
+ * user has access to.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of profile filter links to
+ * include in this response.
+ * @opt_param int start-index An index of the first entity to retrieve. Use this
+ * parameter as a pagination mechanism along with the max-results parameter.
+ * @return Postman_Google_Service_Analytics_ProfileFilterLinks
+ */
+ public function listManagementProfileFilterLinks($accountId, $webPropertyId, $profileId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Analytics_ProfileFilterLinks");
+ }
+
+ /**
+ * Update an existing profile filter link. This method supports patch semantics.
+ * (profileFilterLinks.patch)
+ *
+ * @param string $accountId Account ID to which profile filter link belongs.
+ * @param string $webPropertyId Web property Id to which profile filter link
+ * belongs
+ * @param string $profileId Profile ID to which filter link belongs
+ * @param string $linkId ID of the profile filter link to be updated.
+ * @param Postman_Google_ProfileFilterLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_ProfileFilterLink
+ */
+ public function patch($accountId, $webPropertyId, $profileId, $linkId, Postman_Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Analytics_ProfileFilterLink");
+ }
+
+ /**
+ * Update an existing profile filter link. (profileFilterLinks.update)
+ *
+ * @param string $accountId Account ID to which profile filter link belongs.
+ * @param string $webPropertyId Web property Id to which profile filter link
+ * belongs
+ * @param string $profileId Profile ID to which filter link belongs
+ * @param string $linkId ID of the profile filter link to be updated.
+ * @param Postman_Google_ProfileFilterLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_ProfileFilterLink
+ */
+ public function update($accountId, $webPropertyId, $profileId, $linkId, Postman_Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Analytics_ProfileFilterLink");
+ }
+}
+/**
+ * The "profileUserLinks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $profileUserLinks = $analyticsService->profileUserLinks;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_ManagementProfileUserLinks_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Removes a user from the given view (profile). (profileUserLinks.delete)
+ *
+ * @param string $accountId Account ID to delete the user link for.
+ * @param string $webPropertyId Web Property ID to delete the user link for.
+ * @param string $profileId View (Profile) ID to delete the user link for.
+ * @param string $linkId Link ID to delete the user link for.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Adds a new user to the given view (profile). (profileUserLinks.insert)
+ *
+ * @param string $accountId Account ID to create the user link for.
+ * @param string $webPropertyId Web Property ID to create the user link for.
+ * @param string $profileId View (Profile) ID to create the user link for.
+ * @param Postman_Google_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_EntityUserLink
+ */
+ public function insert($accountId, $webPropertyId, $profileId, Postman_Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Analytics_EntityUserLink");
+ }
+
+ /**
+ * Lists profile-user links for a given view (profile).
+ * (profileUserLinks.listManagementProfileUserLinks)
+ *
+ * @param string $accountId Account ID which the given view (profile) belongs
+ * to.
+ * @param string $webPropertyId Web Property ID which the given view (profile)
+ * belongs to. Can either be a specific web property ID or '~all', which refers
+ * to all the web properties that user has access to.
+ * @param string $profileId View (Profile) ID to retrieve the profile-user links
+ * for. Can either be a specific profile ID or '~all', which refers to all the
+ * profiles that user has access to.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of profile-user links to
+ * include in this response.
+ * @opt_param int start-index An index of the first profile-user link to
+ * retrieve. Use this parameter as a pagination mechanism along with the max-
+ * results parameter.
+ * @return Postman_Google_Service_Analytics_EntityUserLinks
+ */
+ public function listManagementProfileUserLinks($accountId, $webPropertyId, $profileId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Analytics_EntityUserLinks");
+ }
+
+ /**
+ * Updates permissions for an existing user on the given view (profile).
+ * (profileUserLinks.update)
+ *
+ * @param string $accountId Account ID to update the user link for.
+ * @param string $webPropertyId Web Property ID to update the user link for.
+ * @param string $profileId View (Profile ID) to update the user link for.
+ * @param string $linkId Link ID to update the user link for.
+ * @param Postman_Google_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_EntityUserLink
+ */
+ public function update($accountId, $webPropertyId, $profileId, $linkId, Postman_Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Analytics_EntityUserLink");
+ }
+}
+/**
+ * The "profiles" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $profiles = $analyticsService->profiles;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_ManagementProfiles_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes a view (profile). (profiles.delete)
+ *
+ * @param string $accountId Account ID to delete the view (profile) for.
+ * @param string $webPropertyId Web property ID to delete the view (profile)
+ * for.
+ * @param string $profileId ID of the view (profile) to be deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $webPropertyId, $profileId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a view (profile) to which the user has access. (profiles.get)
+ *
+ * @param string $accountId Account ID to retrieve the goal for.
+ * @param string $webPropertyId Web property ID to retrieve the goal for.
+ * @param string $profileId View (Profile) ID to retrieve the goal for.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Profile
+ */
+ public function get($accountId, $webPropertyId, $profileId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Analytics_Profile");
+ }
+
+ /**
+ * Create a new view (profile). (profiles.insert)
+ *
+ * @param string $accountId Account ID to create the view (profile) for.
+ * @param string $webPropertyId Web property ID to create the view (profile)
+ * for.
+ * @param Postman_Google_Profile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Profile
+ */
+ public function insert($accountId, $webPropertyId, Postman_Google_Service_Analytics_Profile $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Analytics_Profile");
+ }
+
+ /**
+ * Lists views (profiles) to which the user has access.
+ * (profiles.listManagementProfiles)
+ *
+ * @param string $accountId Account ID for the view (profiles) to retrieve. Can
+ * either be a specific account ID or '~all', which refers to all the accounts
+ * to which the user has access.
+ * @param string $webPropertyId Web property ID for the views (profiles) to
+ * retrieve. Can either be a specific web property ID or '~all', which refers to
+ * all the web properties to which the user has access.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of views (profiles) to include
+ * in this response.
+ * @opt_param int start-index An index of the first entity to retrieve. Use this
+ * parameter as a pagination mechanism along with the max-results parameter.
+ * @return Postman_Google_Service_Analytics_Profiles
+ */
+ public function listManagementProfiles($accountId, $webPropertyId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Analytics_Profiles");
+ }
+
+ /**
+ * Updates an existing view (profile). This method supports patch semantics.
+ * (profiles.patch)
+ *
+ * @param string $accountId Account ID to which the view (profile) belongs
+ * @param string $webPropertyId Web property ID to which the view (profile)
+ * belongs
+ * @param string $profileId ID of the view (profile) to be updated.
+ * @param Postman_Google_Profile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Profile
+ */
+ public function patch($accountId, $webPropertyId, $profileId, Postman_Google_Service_Analytics_Profile $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Analytics_Profile");
+ }
+
+ /**
+ * Updates an existing view (profile). (profiles.update)
+ *
+ * @param string $accountId Account ID to which the view (profile) belongs
+ * @param string $webPropertyId Web property ID to which the view (profile)
+ * belongs
+ * @param string $profileId ID of the view (profile) to be updated.
+ * @param Postman_Google_Profile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Profile
+ */
+ public function update($accountId, $webPropertyId, $profileId, Postman_Google_Service_Analytics_Profile $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Analytics_Profile");
+ }
+}
+/**
+ * The "segments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $segments = $analyticsService->segments;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_ManagementSegments_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Lists segments to which the user has access.
+ * (segments.listManagementSegments)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of segments to include in this
+ * response.
+ * @opt_param int start-index An index of the first segment to retrieve. Use
+ * this parameter as a pagination mechanism along with the max-results
+ * parameter.
+ * @return Postman_Google_Service_Analytics_Segments
+ */
+ public function listManagementSegments($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Analytics_Segments");
+ }
+}
+/**
+ * The "unsampledReports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $unsampledReports = $analyticsService->unsampledReports;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_ManagementUnsampledReports_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns a single unsampled report. (unsampledReports.get)
+ *
+ * @param string $accountId Account ID to retrieve unsampled report for.
+ * @param string $webPropertyId Web property ID to retrieve unsampled reports
+ * for.
+ * @param string $profileId View (Profile) ID to retrieve unsampled report for.
+ * @param string $unsampledReportId ID of the unsampled report to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_UnsampledReport
+ */
+ public function get($accountId, $webPropertyId, $profileId, $unsampledReportId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'unsampledReportId' => $unsampledReportId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Analytics_UnsampledReport");
+ }
+
+ /**
+ * Create a new unsampled report. (unsampledReports.insert)
+ *
+ * @param string $accountId Account ID to create the unsampled report for.
+ * @param string $webPropertyId Web property ID to create the unsampled report
+ * for.
+ * @param string $profileId View (Profile) ID to create the unsampled report
+ * for.
+ * @param Postman_Google_UnsampledReport $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_UnsampledReport
+ */
+ public function insert($accountId, $webPropertyId, $profileId, Postman_Google_Service_Analytics_UnsampledReport $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Analytics_UnsampledReport");
+ }
+
+ /**
+ * Lists unsampled reports to which the user has access.
+ * (unsampledReports.listManagementUnsampledReports)
+ *
+ * @param string $accountId Account ID to retrieve unsampled reports for. Must
+ * be a specific account ID, ~all is not supported.
+ * @param string $webPropertyId Web property ID to retrieve unsampled reports
+ * for. Must be a specific web property ID, ~all is not supported.
+ * @param string $profileId View (Profile) ID to retrieve unsampled reports for.
+ * Must be a specific view (profile) ID, ~all is not supported.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of unsampled reports to include
+ * in this response.
+ * @opt_param int start-index An index of the first unsampled report to
+ * retrieve. Use this parameter as a pagination mechanism along with the max-
+ * results parameter.
+ * @return Postman_Google_Service_Analytics_UnsampledReports
+ */
+ public function listManagementUnsampledReports($accountId, $webPropertyId, $profileId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Analytics_UnsampledReports");
+ }
+}
+/**
+ * The "uploads" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $uploads = $analyticsService->uploads;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_ManagementUploads_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Delete data associated with a previous upload. (uploads.deleteUploadData)
+ *
+ * @param string $accountId Account Id for the uploads to be deleted.
+ * @param string $webPropertyId Web property Id for the uploads to be deleted.
+ * @param string $customDataSourceId Custom data source Id for the uploads to be
+ * deleted.
+ * @param Postman_Google_AnalyticsDataimportDeleteUploadDataRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function deleteUploadData($accountId, $webPropertyId, $customDataSourceId, Postman_Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('deleteUploadData', array($params));
+ }
+
+ /**
+ * List uploads to which the user has access. (uploads.get)
+ *
+ * @param string $accountId Account Id for the upload to retrieve.
+ * @param string $webPropertyId Web property Id for the upload to retrieve.
+ * @param string $customDataSourceId Custom data source Id for upload to
+ * retrieve.
+ * @param string $uploadId Upload Id to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Upload
+ */
+ public function get($accountId, $webPropertyId, $customDataSourceId, $uploadId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'uploadId' => $uploadId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Analytics_Upload");
+ }
+
+ /**
+ * List uploads to which the user has access. (uploads.listManagementUploads)
+ *
+ * @param string $accountId Account Id for the uploads to retrieve.
+ * @param string $webPropertyId Web property Id for the uploads to retrieve.
+ * @param string $customDataSourceId Custom data source Id for uploads to
+ * retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of uploads to include in this
+ * response.
+ * @opt_param int start-index A 1-based index of the first upload to retrieve.
+ * Use this parameter as a pagination mechanism along with the max-results
+ * parameter.
+ * @return Postman_Google_Service_Analytics_Uploads
+ */
+ public function listManagementUploads($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Analytics_Uploads");
+ }
+
+ /**
+ * Migrate custom data source and data imports to latest version.
+ * (uploads.migrateDataImport)
+ *
+ * @param string $accountId Account Id for migration.
+ * @param string $webPropertyId Web property Id for migration.
+ * @param string $customDataSourceId Custom data source Id for migration.
+ * @param array $optParams Optional parameters.
+ */
+ public function migrateDataImport($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('migrateDataImport', array($params));
+ }
+
+ /**
+ * Upload data for a custom data source. (uploads.uploadData)
+ *
+ * @param string $accountId Account Id associated with the upload.
+ * @param string $webPropertyId Web property UA-string associated with the
+ * upload.
+ * @param string $customDataSourceId Custom data source Id to which the data
+ * being uploaded belongs.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Upload
+ */
+ public function uploadData($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('uploadData', array($params), "Postman_Google_Service_Analytics_Upload");
+ }
+}
+/**
+ * The "webPropertyAdWordsLinks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $webPropertyAdWordsLinks = $analyticsService->webPropertyAdWordsLinks;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes a web property-AdWords link. (webPropertyAdWordsLinks.delete)
+ *
+ * @param string $accountId ID of the account which the given web property
+ * belongs to.
+ * @param string $webPropertyId Web property ID to delete the AdWords link for.
+ * @param string $webPropertyAdWordsLinkId Web property AdWords link ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Returns a web property-AdWords link to which the user has access.
+ * (webPropertyAdWordsLinks.get)
+ *
+ * @param string $accountId ID of the account which the given web property
+ * belongs to.
+ * @param string $webPropertyId Web property ID to retrieve the AdWords link
+ * for.
+ * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_EntityAdWordsLink
+ */
+ public function get($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Analytics_EntityAdWordsLink");
+ }
+
+ /**
+ * Creates a webProperty-AdWords link. (webPropertyAdWordsLinks.insert)
+ *
+ * @param string $accountId ID of the Google Analytics account to create the
+ * link for.
+ * @param string $webPropertyId Web property ID to create the link for.
+ * @param Postman_Google_EntityAdWordsLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_EntityAdWordsLink
+ */
+ public function insert($accountId, $webPropertyId, Postman_Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Analytics_EntityAdWordsLink");
+ }
+
+ /**
+ * Lists webProperty-AdWords links for a given web property.
+ * (webPropertyAdWordsLinks.listManagementWebPropertyAdWordsLinks)
+ *
+ * @param string $accountId ID of the account which the given web property
+ * belongs to.
+ * @param string $webPropertyId Web property ID to retrieve the AdWords links
+ * for.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of webProperty-AdWords links to
+ * include in this response.
+ * @opt_param int start-index An index of the first webProperty-AdWords link to
+ * retrieve. Use this parameter as a pagination mechanism along with the max-
+ * results parameter.
+ * @return Postman_Google_Service_Analytics_EntityAdWordsLinks
+ */
+ public function listManagementWebPropertyAdWordsLinks($accountId, $webPropertyId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Analytics_EntityAdWordsLinks");
+ }
+
+ /**
+ * Updates an existing webProperty-AdWords link. This method supports patch
+ * semantics. (webPropertyAdWordsLinks.patch)
+ *
+ * @param string $accountId ID of the account which the given web property
+ * belongs to.
+ * @param string $webPropertyId Web property ID to retrieve the AdWords link
+ * for.
+ * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID.
+ * @param Postman_Google_EntityAdWordsLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_EntityAdWordsLink
+ */
+ public function patch($accountId, $webPropertyId, $webPropertyAdWordsLinkId, Postman_Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Analytics_EntityAdWordsLink");
+ }
+
+ /**
+ * Updates an existing webProperty-AdWords link.
+ * (webPropertyAdWordsLinks.update)
+ *
+ * @param string $accountId ID of the account which the given web property
+ * belongs to.
+ * @param string $webPropertyId Web property ID to retrieve the AdWords link
+ * for.
+ * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID.
+ * @param Postman_Google_EntityAdWordsLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_EntityAdWordsLink
+ */
+ public function update($accountId, $webPropertyId, $webPropertyAdWordsLinkId, Postman_Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Analytics_EntityAdWordsLink");
+ }
+}
+/**
+ * The "webproperties" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $webproperties = $analyticsService->webproperties;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_ManagementWebproperties_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets a web property to which the user has access. (webproperties.get)
+ *
+ * @param string $accountId Account ID to retrieve the web property for.
+ * @param string $webPropertyId ID to retrieve the web property for.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Webproperty
+ */
+ public function get($accountId, $webPropertyId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Analytics_Webproperty");
+ }
+
+ /**
+ * Create a new property if the account has fewer than 20 properties. Web
+ * properties are visible in the Google Analytics interface only if they have at
+ * least one profile. (webproperties.insert)
+ *
+ * @param string $accountId Account ID to create the web property for.
+ * @param Postman_Google_Webproperty $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Webproperty
+ */
+ public function insert($accountId, Postman_Google_Service_Analytics_Webproperty $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Analytics_Webproperty");
+ }
+
+ /**
+ * Lists web properties to which the user has access.
+ * (webproperties.listManagementWebproperties)
+ *
+ * @param string $accountId Account ID to retrieve web properties for. Can
+ * either be a specific account ID or '~all', which refers to all the accounts
+ * that user has access to.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of web properties to include in
+ * this response.
+ * @opt_param int start-index An index of the first entity to retrieve. Use this
+ * parameter as a pagination mechanism along with the max-results parameter.
+ * @return Postman_Google_Service_Analytics_Webproperties
+ */
+ public function listManagementWebproperties($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Analytics_Webproperties");
+ }
+
+ /**
+ * Updates an existing web property. This method supports patch semantics.
+ * (webproperties.patch)
+ *
+ * @param string $accountId Account ID to which the web property belongs
+ * @param string $webPropertyId Web property ID
+ * @param Postman_Google_Webproperty $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Webproperty
+ */
+ public function patch($accountId, $webPropertyId, Postman_Google_Service_Analytics_Webproperty $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Analytics_Webproperty");
+ }
+
+ /**
+ * Updates an existing web property. (webproperties.update)
+ *
+ * @param string $accountId Account ID to which the web property belongs
+ * @param string $webPropertyId Web property ID
+ * @param Postman_Google_Webproperty $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Webproperty
+ */
+ public function update($accountId, $webPropertyId, Postman_Google_Service_Analytics_Webproperty $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Analytics_Webproperty");
+ }
+}
+/**
+ * The "webpropertyUserLinks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $webpropertyUserLinks = $analyticsService->webpropertyUserLinks;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Removes a user from the given web property. (webpropertyUserLinks.delete)
+ *
+ * @param string $accountId Account ID to delete the user link for.
+ * @param string $webPropertyId Web Property ID to delete the user link for.
+ * @param string $linkId Link ID to delete the user link for.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $webPropertyId, $linkId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Adds a new user to the given web property. (webpropertyUserLinks.insert)
+ *
+ * @param string $accountId Account ID to create the user link for.
+ * @param string $webPropertyId Web Property ID to create the user link for.
+ * @param Postman_Google_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_EntityUserLink
+ */
+ public function insert($accountId, $webPropertyId, Postman_Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Analytics_EntityUserLink");
+ }
+
+ /**
+ * Lists webProperty-user links for a given web property.
+ * (webpropertyUserLinks.listManagementWebpropertyUserLinks)
+ *
+ * @param string $accountId Account ID which the given web property belongs to.
+ * @param string $webPropertyId Web Property ID for the webProperty-user links
+ * to retrieve. Can either be a specific web property ID or '~all', which refers
+ * to all the web properties that user has access to.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of webProperty-user Links to
+ * include in this response.
+ * @opt_param int start-index An index of the first webProperty-user link to
+ * retrieve. Use this parameter as a pagination mechanism along with the max-
+ * results parameter.
+ * @return Postman_Google_Service_Analytics_EntityUserLinks
+ */
+ public function listManagementWebpropertyUserLinks($accountId, $webPropertyId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Analytics_EntityUserLinks");
+ }
+
+ /**
+ * Updates permissions for an existing user on the given web property.
+ * (webpropertyUserLinks.update)
+ *
+ * @param string $accountId Account ID to update the account-user link for.
+ * @param string $webPropertyId Web property ID to update the account-user link
+ * for.
+ * @param string $linkId Link ID to update the account-user link for.
+ * @param Postman_Google_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_EntityUserLink
+ */
+ public function update($accountId, $webPropertyId, $linkId, Postman_Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Analytics_EntityUserLink");
+ }
+}
+
+/**
+ * The "metadata" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $metadata = $analyticsService->metadata;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_Metadata_Resource extends Postman_Google_Service_Resource
+{
+}
+
+/**
+ * The "columns" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $columns = $analyticsService->columns;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_MetadataColumns_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Lists all columns for a report type (columns.listMetadataColumns)
+ *
+ * @param string $reportType Report type. Allowed Values: 'ga'. Where 'ga'
+ * corresponds to the Core Reporting API
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_Columns
+ */
+ public function listMetadataColumns($reportType, $optParams = array())
+ {
+ $params = array('reportType' => $reportType);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Analytics_Columns");
+ }
+}
+
+/**
+ * The "provisioning" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $analyticsService = new Postman_Google_Service_Analytics(...);
+ * $provisioning = $analyticsService->provisioning;
+ * </code>
+ */
+class Postman_Google_Service_Analytics_Provisioning_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Creates an account ticket. (provisioning.createAccountTicket)
+ *
+ * @param Postman_Google_AccountTicket $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Analytics_AccountTicket
+ */
+ public function createAccountTicket(Postman_Google_Service_Analytics_AccountTicket $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('createAccountTicket', array($params), "Postman_Google_Service_Analytics_AccountTicket");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Analytics_Account extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $childLinkType = 'Postman_Google_Service_Analytics_AccountChildLink';
+ protected $childLinkDataType = '';
+ public $created;
+ public $id;
+ public $kind;
+ public $name;
+ protected $permissionsType = 'Postman_Google_Service_Analytics_AccountPermissions';
+ protected $permissionsDataType = '';
+ public $selfLink;
+ public $updated;
+
+
+ public function setChildLink(Postman_Google_Service_Analytics_AccountChildLink $childLink)
+ {
+ $this->childLink = $childLink;
+ }
+ public function getChildLink()
+ {
+ return $this->childLink;
+ }
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+ public function getCreated()
+ {
+ return $this->created;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPermissions(Postman_Google_Service_Analytics_AccountPermissions $permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+}
+
+class Postman_Google_Service_Analytics_AccountChildLink extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $href;
+ public $type;
+
+
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+ public function getHref()
+ {
+ return $this->href;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Analytics_AccountPermissions extends Postman_Google_Collection
+{
+ protected $collection_key = 'effective';
+ protected $internal_gapi_mappings = array(
+ );
+ public $effective;
+
+
+ public function setEffective($effective)
+ {
+ $this->effective = $effective;
+ }
+ public function getEffective()
+ {
+ return $this->effective;
+ }
+}
+
+class Postman_Google_Service_Analytics_AccountRef extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $href;
+ public $id;
+ public $kind;
+ public $name;
+
+
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+ public function getHref()
+ {
+ return $this->href;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_Analytics_AccountSummaries extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Analytics_AccountSummary';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
+
+class Postman_Google_Service_Analytics_AccountSummary extends Postman_Google_Collection
+{
+ protected $collection_key = 'webProperties';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $name;
+ protected $webPropertiesType = 'Postman_Google_Service_Analytics_WebPropertySummary';
+ protected $webPropertiesDataType = 'array';
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setWebProperties($webProperties)
+ {
+ $this->webProperties = $webProperties;
+ }
+ public function getWebProperties()
+ {
+ return $this->webProperties;
+ }
+}
+
+class Postman_Google_Service_Analytics_AccountTicket extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $accountType = 'Postman_Google_Service_Analytics_Account';
+ protected $accountDataType = '';
+ public $id;
+ public $kind;
+ protected $profileType = 'Postman_Google_Service_Analytics_Profile';
+ protected $profileDataType = '';
+ public $redirectUri;
+ protected $webpropertyType = 'Postman_Google_Service_Analytics_Webproperty';
+ protected $webpropertyDataType = '';
+
+
+ public function setAccount(Postman_Google_Service_Analytics_Account $account)
+ {
+ $this->account = $account;
+ }
+ public function getAccount()
+ {
+ return $this->account;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setProfile(Postman_Google_Service_Analytics_Profile $profile)
+ {
+ $this->profile = $profile;
+ }
+ public function getProfile()
+ {
+ return $this->profile;
+ }
+ public function setRedirectUri($redirectUri)
+ {
+ $this->redirectUri = $redirectUri;
+ }
+ public function getRedirectUri()
+ {
+ return $this->redirectUri;
+ }
+ public function setWebproperty(Postman_Google_Service_Analytics_Webproperty $webproperty)
+ {
+ $this->webproperty = $webproperty;
+ }
+ public function getWebproperty()
+ {
+ return $this->webproperty;
+ }
+}
+
+class Postman_Google_Service_Analytics_Accounts extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Analytics_Account';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
+
+class Postman_Google_Service_Analytics_AdWordsAccount extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $autoTaggingEnabled;
+ public $customerId;
+ public $kind;
+
+
+ public function setAutoTaggingEnabled($autoTaggingEnabled)
+ {
+ $this->autoTaggingEnabled = $autoTaggingEnabled;
+ }
+ public function getAutoTaggingEnabled()
+ {
+ return $this->autoTaggingEnabled;
+ }
+ public function setCustomerId($customerId)
+ {
+ $this->customerId = $customerId;
+ }
+ public function getCustomerId()
+ {
+ return $this->customerId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'customDataImportUids';
+ protected $internal_gapi_mappings = array(
+ );
+ public $customDataImportUids;
+
+
+ public function setCustomDataImportUids($customDataImportUids)
+ {
+ $this->customDataImportUids = $customDataImportUids;
+ }
+ public function getCustomDataImportUids()
+ {
+ return $this->customDataImportUids;
+ }
+}
+
+class Postman_Google_Service_Analytics_Column extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $attributes;
+ public $id;
+ public $kind;
+
+
+ public function setAttributes($attributes)
+ {
+ $this->attributes = $attributes;
+ }
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Analytics_ColumnAttributes extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Analytics_Columns extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $attributeNames;
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Analytics_Column';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $totalResults;
+
+
+ public function setAttributeNames($attributeNames)
+ {
+ $this->attributeNames = $attributeNames;
+ }
+ public function getAttributeNames()
+ {
+ return $this->attributeNames;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+}
+
+class Postman_Google_Service_Analytics_CustomDataSource extends Postman_Google_Collection
+{
+ protected $collection_key = 'profilesLinked';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ protected $childLinkType = 'Postman_Google_Service_Analytics_CustomDataSourceChildLink';
+ protected $childLinkDataType = '';
+ public $created;
+ public $description;
+ public $id;
+ public $importBehavior;
+ public $kind;
+ public $name;
+ protected $parentLinkType = 'Postman_Google_Service_Analytics_CustomDataSourceParentLink';
+ protected $parentLinkDataType = '';
+ public $profilesLinked;
+ public $selfLink;
+ public $type;
+ public $updated;
+ public $uploadType;
+ public $webPropertyId;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setChildLink(Postman_Google_Service_Analytics_CustomDataSourceChildLink $childLink)
+ {
+ $this->childLink = $childLink;
+ }
+ public function getChildLink()
+ {
+ return $this->childLink;
+ }
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+ public function getCreated()
+ {
+ return $this->created;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImportBehavior($importBehavior)
+ {
+ $this->importBehavior = $importBehavior;
+ }
+ public function getImportBehavior()
+ {
+ return $this->importBehavior;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setParentLink(Postman_Google_Service_Analytics_CustomDataSourceParentLink $parentLink)
+ {
+ $this->parentLink = $parentLink;
+ }
+ public function getParentLink()
+ {
+ return $this->parentLink;
+ }
+ public function setProfilesLinked($profilesLinked)
+ {
+ $this->profilesLinked = $profilesLinked;
+ }
+ public function getProfilesLinked()
+ {
+ return $this->profilesLinked;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setUploadType($uploadType)
+ {
+ $this->uploadType = $uploadType;
+ }
+ public function getUploadType()
+ {
+ return $this->uploadType;
+ }
+ public function setWebPropertyId($webPropertyId)
+ {
+ $this->webPropertyId = $webPropertyId;
+ }
+ public function getWebPropertyId()
+ {
+ return $this->webPropertyId;
+ }
+}
+
+class Postman_Google_Service_Analytics_CustomDataSourceChildLink extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $href;
+ public $type;
+
+
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+ public function getHref()
+ {
+ return $this->href;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Analytics_CustomDataSourceParentLink extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $href;
+ public $type;
+
+
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+ public function getHref()
+ {
+ return $this->href;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Analytics_CustomDataSources extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Analytics_CustomDataSource';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
+
+class Postman_Google_Service_Analytics_DailyUpload extends Postman_Google_Collection
+{
+ protected $collection_key = 'recentChanges';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $appendCount;
+ public $createdTime;
+ public $customDataSourceId;
+ public $date;
+ public $kind;
+ public $modifiedTime;
+ protected $parentLinkType = 'Postman_Google_Service_Analytics_DailyUploadParentLink';
+ protected $parentLinkDataType = '';
+ protected $recentChangesType = 'Postman_Google_Service_Analytics_DailyUploadRecentChanges';
+ protected $recentChangesDataType = 'array';
+ public $selfLink;
+ public $webPropertyId;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAppendCount($appendCount)
+ {
+ $this->appendCount = $appendCount;
+ }
+ public function getAppendCount()
+ {
+ return $this->appendCount;
+ }
+ public function setCreatedTime($createdTime)
+ {
+ $this->createdTime = $createdTime;
+ }
+ public function getCreatedTime()
+ {
+ return $this->createdTime;
+ }
+ public function setCustomDataSourceId($customDataSourceId)
+ {
+ $this->customDataSourceId = $customDataSourceId;
+ }
+ public function getCustomDataSourceId()
+ {
+ return $this->customDataSourceId;
+ }
+ public function setDate($date)
+ {
+ $this->date = $date;
+ }
+ public function getDate()
+ {
+ return $this->date;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setModifiedTime($modifiedTime)
+ {
+ $this->modifiedTime = $modifiedTime;
+ }
+ public function getModifiedTime()
+ {
+ return $this->modifiedTime;
+ }
+ public function setParentLink(Postman_Google_Service_Analytics_DailyUploadParentLink $parentLink)
+ {
+ $this->parentLink = $parentLink;
+ }
+ public function getParentLink()
+ {
+ return $this->parentLink;
+ }
+ public function setRecentChanges($recentChanges)
+ {
+ $this->recentChanges = $recentChanges;
+ }
+ public function getRecentChanges()
+ {
+ return $this->recentChanges;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setWebPropertyId($webPropertyId)
+ {
+ $this->webPropertyId = $webPropertyId;
+ }
+ public function getWebPropertyId()
+ {
+ return $this->webPropertyId;
+ }
+}
+
+class Postman_Google_Service_Analytics_DailyUploadAppend extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $appendNumber;
+ public $customDataSourceId;
+ public $date;
+ public $kind;
+ public $nextAppendLink;
+ public $webPropertyId;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAppendNumber($appendNumber)
+ {
+ $this->appendNumber = $appendNumber;
+ }
+ public function getAppendNumber()
+ {
+ return $this->appendNumber;
+ }
+ public function setCustomDataSourceId($customDataSourceId)
+ {
+ $this->customDataSourceId = $customDataSourceId;
+ }
+ public function getCustomDataSourceId()
+ {
+ return $this->customDataSourceId;
+ }
+ public function setDate($date)
+ {
+ $this->date = $date;
+ }
+ public function getDate()
+ {
+ return $this->date;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextAppendLink($nextAppendLink)
+ {
+ $this->nextAppendLink = $nextAppendLink;
+ }
+ public function getNextAppendLink()
+ {
+ return $this->nextAppendLink;
+ }
+ public function setWebPropertyId($webPropertyId)
+ {
+ $this->webPropertyId = $webPropertyId;
+ }
+ public function getWebPropertyId()
+ {
+ return $this->webPropertyId;
+ }
+}
+
+class Postman_Google_Service_Analytics_DailyUploadParentLink extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $href;
+ public $type;
+
+
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+ public function getHref()
+ {
+ return $this->href;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Analytics_DailyUploadRecentChanges extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $change;
+ public $time;
+
+
+ public function setChange($change)
+ {
+ $this->change = $change;
+ }
+ public function getChange()
+ {
+ return $this->change;
+ }
+ public function setTime($time)
+ {
+ $this->time = $time;
+ }
+ public function getTime()
+ {
+ return $this->time;
+ }
+}
+
+class Postman_Google_Service_Analytics_DailyUploads extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Analytics_DailyUpload';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
+
+class Postman_Google_Service_Analytics_EntityAdWordsLink extends Postman_Google_Collection
+{
+ protected $collection_key = 'profileIds';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $adWordsAccountsType = 'Postman_Google_Service_Analytics_AdWordsAccount';
+ protected $adWordsAccountsDataType = 'array';
+ protected $entityType = 'Postman_Google_Service_Analytics_EntityAdWordsLinkEntity';
+ protected $entityDataType = '';
+ public $id;
+ public $kind;
+ public $name;
+ public $profileIds;
+ public $selfLink;
+
+
+ public function setAdWordsAccounts($adWordsAccounts)
+ {
+ $this->adWordsAccounts = $adWordsAccounts;
+ }
+ public function getAdWordsAccounts()
+ {
+ return $this->adWordsAccounts;
+ }
+ public function setEntity(Postman_Google_Service_Analytics_EntityAdWordsLinkEntity $entity)
+ {
+ $this->entity = $entity;
+ }
+ public function getEntity()
+ {
+ return $this->entity;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProfileIds($profileIds)
+ {
+ $this->profileIds = $profileIds;
+ }
+ public function getProfileIds()
+ {
+ return $this->profileIds;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Analytics_EntityAdWordsLinkEntity extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $webPropertyRefType = 'Postman_Google_Service_Analytics_WebPropertyRef';
+ protected $webPropertyRefDataType = '';
+
+
+ public function setWebPropertyRef(Postman_Google_Service_Analytics_WebPropertyRef $webPropertyRef)
+ {
+ $this->webPropertyRef = $webPropertyRef;
+ }
+ public function getWebPropertyRef()
+ {
+ return $this->webPropertyRef;
+ }
+}
+
+class Postman_Google_Service_Analytics_EntityAdWordsLinks extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Analytics_EntityAdWordsLink';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+}
+
+class Postman_Google_Service_Analytics_EntityUserLink extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entityType = 'Postman_Google_Service_Analytics_EntityUserLinkEntity';
+ protected $entityDataType = '';
+ public $id;
+ public $kind;
+ protected $permissionsType = 'Postman_Google_Service_Analytics_EntityUserLinkPermissions';
+ protected $permissionsDataType = '';
+ public $selfLink;
+ protected $userRefType = 'Postman_Google_Service_Analytics_UserRef';
+ protected $userRefDataType = '';
+
+
+ public function setEntity(Postman_Google_Service_Analytics_EntityUserLinkEntity $entity)
+ {
+ $this->entity = $entity;
+ }
+ public function getEntity()
+ {
+ return $this->entity;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPermissions(Postman_Google_Service_Analytics_EntityUserLinkPermissions $permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setUserRef(Postman_Google_Service_Analytics_UserRef $userRef)
+ {
+ $this->userRef = $userRef;
+ }
+ public function getUserRef()
+ {
+ return $this->userRef;
+ }
+}
+
+class Postman_Google_Service_Analytics_EntityUserLinkEntity extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $accountRefType = 'Postman_Google_Service_Analytics_AccountRef';
+ protected $accountRefDataType = '';
+ protected $profileRefType = 'Postman_Google_Service_Analytics_ProfileRef';
+ protected $profileRefDataType = '';
+ protected $webPropertyRefType = 'Postman_Google_Service_Analytics_WebPropertyRef';
+ protected $webPropertyRefDataType = '';
+
+
+ public function setAccountRef(Postman_Google_Service_Analytics_AccountRef $accountRef)
+ {
+ $this->accountRef = $accountRef;
+ }
+ public function getAccountRef()
+ {
+ return $this->accountRef;
+ }
+ public function setProfileRef(Postman_Google_Service_Analytics_ProfileRef $profileRef)
+ {
+ $this->profileRef = $profileRef;
+ }
+ public function getProfileRef()
+ {
+ return $this->profileRef;
+ }
+ public function setWebPropertyRef(Postman_Google_Service_Analytics_WebPropertyRef $webPropertyRef)
+ {
+ $this->webPropertyRef = $webPropertyRef;
+ }
+ public function getWebPropertyRef()
+ {
+ return $this->webPropertyRef;
+ }
+}
+
+class Postman_Google_Service_Analytics_EntityUserLinkPermissions extends Postman_Google_Collection
+{
+ protected $collection_key = 'local';
+ protected $internal_gapi_mappings = array(
+ );
+ public $effective;
+ public $local;
+
+
+ public function setEffective($effective)
+ {
+ $this->effective = $effective;
+ }
+ public function getEffective()
+ {
+ return $this->effective;
+ }
+ public function setLocal($local)
+ {
+ $this->local = $local;
+ }
+ public function getLocal()
+ {
+ return $this->local;
+ }
+}
+
+class Postman_Google_Service_Analytics_EntityUserLinks extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Analytics_EntityUserLink';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+}
+
+class Postman_Google_Service_Analytics_Experiment extends Postman_Google_Collection
+{
+ protected $collection_key = 'variations';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $created;
+ public $description;
+ public $editableInGaUi;
+ public $endTime;
+ public $equalWeighting;
+ public $id;
+ public $internalWebPropertyId;
+ public $kind;
+ public $minimumExperimentLengthInDays;
+ public $name;
+ public $objectiveMetric;
+ public $optimizationType;
+ protected $parentLinkType = 'Postman_Google_Service_Analytics_ExperimentParentLink';
+ protected $parentLinkDataType = '';
+ public $profileId;
+ public $reasonExperimentEnded;
+ public $rewriteVariationUrlsAsOriginal;
+ public $selfLink;
+ public $servingFramework;
+ public $snippet;
+ public $startTime;
+ public $status;
+ public $trafficCoverage;
+ public $updated;
+ protected $variationsType = 'Postman_Google_Service_Analytics_ExperimentVariations';
+ protected $variationsDataType = 'array';
+ public $webPropertyId;
+ public $winnerConfidenceLevel;
+ public $winnerFound;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+ public function getCreated()
+ {
+ return $this->created;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEditableInGaUi($editableInGaUi)
+ {
+ $this->editableInGaUi = $editableInGaUi;
+ }
+ public function getEditableInGaUi()
+ {
+ return $this->editableInGaUi;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setEqualWeighting($equalWeighting)
+ {
+ $this->equalWeighting = $equalWeighting;
+ }
+ public function getEqualWeighting()
+ {
+ return $this->equalWeighting;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInternalWebPropertyId($internalWebPropertyId)
+ {
+ $this->internalWebPropertyId = $internalWebPropertyId;
+ }
+ public function getInternalWebPropertyId()
+ {
+ return $this->internalWebPropertyId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMinimumExperimentLengthInDays($minimumExperimentLengthInDays)
+ {
+ $this->minimumExperimentLengthInDays = $minimumExperimentLengthInDays;
+ }
+ public function getMinimumExperimentLengthInDays()
+ {
+ return $this->minimumExperimentLengthInDays;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setObjectiveMetric($objectiveMetric)
+ {
+ $this->objectiveMetric = $objectiveMetric;
+ }
+ public function getObjectiveMetric()
+ {
+ return $this->objectiveMetric;
+ }
+ public function setOptimizationType($optimizationType)
+ {
+ $this->optimizationType = $optimizationType;
+ }
+ public function getOptimizationType()
+ {
+ return $this->optimizationType;
+ }
+ public function setParentLink(Postman_Google_Service_Analytics_ExperimentParentLink $parentLink)
+ {
+ $this->parentLink = $parentLink;
+ }
+ public function getParentLink()
+ {
+ return $this->parentLink;
+ }
+ public function setProfileId($profileId)
+ {
+ $this->profileId = $profileId;
+ }
+ public function getProfileId()
+ {
+ return $this->profileId;
+ }
+ public function setReasonExperimentEnded($reasonExperimentEnded)
+ {
+ $this->reasonExperimentEnded = $reasonExperimentEnded;
+ }
+ public function getReasonExperimentEnded()
+ {
+ return $this->reasonExperimentEnded;
+ }
+ public function setRewriteVariationUrlsAsOriginal($rewriteVariationUrlsAsOriginal)
+ {
+ $this->rewriteVariationUrlsAsOriginal = $rewriteVariationUrlsAsOriginal;
+ }
+ public function getRewriteVariationUrlsAsOriginal()
+ {
+ return $this->rewriteVariationUrlsAsOriginal;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setServingFramework($servingFramework)
+ {
+ $this->servingFramework = $servingFramework;
+ }
+ public function getServingFramework()
+ {
+ return $this->servingFramework;
+ }
+ public function setSnippet($snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setTrafficCoverage($trafficCoverage)
+ {
+ $this->trafficCoverage = $trafficCoverage;
+ }
+ public function getTrafficCoverage()
+ {
+ return $this->trafficCoverage;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setVariations($variations)
+ {
+ $this->variations = $variations;
+ }
+ public function getVariations()
+ {
+ return $this->variations;
+ }
+ public function setWebPropertyId($webPropertyId)
+ {
+ $this->webPropertyId = $webPropertyId;
+ }
+ public function getWebPropertyId()
+ {
+ return $this->webPropertyId;
+ }
+ public function setWinnerConfidenceLevel($winnerConfidenceLevel)
+ {
+ $this->winnerConfidenceLevel = $winnerConfidenceLevel;
+ }
+ public function getWinnerConfidenceLevel()
+ {
+ return $this->winnerConfidenceLevel;
+ }
+ public function setWinnerFound($winnerFound)
+ {
+ $this->winnerFound = $winnerFound;
+ }
+ public function getWinnerFound()
+ {
+ return $this->winnerFound;
+ }
+}
+
+class Postman_Google_Service_Analytics_ExperimentParentLink extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $href;
+ public $type;
+
+
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+ public function getHref()
+ {
+ return $this->href;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Analytics_ExperimentVariations extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+ public $status;
+ public $url;
+ public $weight;
+ public $won;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setWeight($weight)
+ {
+ $this->weight = $weight;
+ }
+ public function getWeight()
+ {
+ return $this->weight;
+ }
+ public function setWon($won)
+ {
+ $this->won = $won;
+ }
+ public function getWon()
+ {
+ return $this->won;
+ }
+}
+
+class Postman_Google_Service_Analytics_Experiments extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Analytics_Experiment';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
+
+class Postman_Google_Service_Analytics_Filter extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ protected $advancedDetailsType = 'Postman_Google_Service_Analytics_FilterAdvancedDetails';
+ protected $advancedDetailsDataType = '';
+ public $created;
+ protected $excludeDetailsType = 'Postman_Google_Service_Analytics_FilterExpression';
+ protected $excludeDetailsDataType = '';
+ public $id;
+ protected $includeDetailsType = 'Postman_Google_Service_Analytics_FilterExpression';
+ protected $includeDetailsDataType = '';
+ public $kind;
+ protected $lowercaseDetailsType = 'Postman_Google_Service_Analytics_FilterLowercaseDetails';
+ protected $lowercaseDetailsDataType = '';
+ public $name;
+ protected $parentLinkType = 'Postman_Google_Service_Analytics_FilterParentLink';
+ protected $parentLinkDataType = '';
+ protected $searchAndReplaceDetailsType = 'Postman_Google_Service_Analytics_FilterSearchAndReplaceDetails';
+ protected $searchAndReplaceDetailsDataType = '';
+ public $selfLink;
+ public $type;
+ public $updated;
+ protected $uppercaseDetailsType = 'Postman_Google_Service_Analytics_FilterUppercaseDetails';
+ protected $uppercaseDetailsDataType = '';
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAdvancedDetails(Postman_Google_Service_Analytics_FilterAdvancedDetails $advancedDetails)
+ {
+ $this->advancedDetails = $advancedDetails;
+ }
+ public function getAdvancedDetails()
+ {
+ return $this->advancedDetails;
+ }
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+ public function getCreated()
+ {
+ return $this->created;
+ }
+ public function setExcludeDetails(Postman_Google_Service_Analytics_FilterExpression $excludeDetails)
+ {
+ $this->excludeDetails = $excludeDetails;
+ }
+ public function getExcludeDetails()
+ {
+ return $this->excludeDetails;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIncludeDetails(Postman_Google_Service_Analytics_FilterExpression $includeDetails)
+ {
+ $this->includeDetails = $includeDetails;
+ }
+ public function getIncludeDetails()
+ {
+ return $this->includeDetails;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLowercaseDetails(Postman_Google_Service_Analytics_FilterLowercaseDetails $lowercaseDetails)
+ {
+ $this->lowercaseDetails = $lowercaseDetails;
+ }
+ public function getLowercaseDetails()
+ {
+ return $this->lowercaseDetails;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setParentLink(Postman_Google_Service_Analytics_FilterParentLink $parentLink)
+ {
+ $this->parentLink = $parentLink;
+ }
+ public function getParentLink()
+ {
+ return $this->parentLink;
+ }
+ public function setSearchAndReplaceDetails(Postman_Google_Service_Analytics_FilterSearchAndReplaceDetails $searchAndReplaceDetails)
+ {
+ $this->searchAndReplaceDetails = $searchAndReplaceDetails;
+ }
+ public function getSearchAndReplaceDetails()
+ {
+ return $this->searchAndReplaceDetails;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setUppercaseDetails(Postman_Google_Service_Analytics_FilterUppercaseDetails $uppercaseDetails)
+ {
+ $this->uppercaseDetails = $uppercaseDetails;
+ }
+ public function getUppercaseDetails()
+ {
+ return $this->uppercaseDetails;
+ }
+}
+
+class Postman_Google_Service_Analytics_FilterAdvancedDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $caseSensitive;
+ public $extractA;
+ public $extractB;
+ public $fieldA;
+ public $fieldARequired;
+ public $fieldB;
+ public $fieldBRequired;
+ public $outputConstructor;
+ public $outputToField;
+ public $overrideOutputField;
+
+
+ public function setCaseSensitive($caseSensitive)
+ {
+ $this->caseSensitive = $caseSensitive;
+ }
+ public function getCaseSensitive()
+ {
+ return $this->caseSensitive;
+ }
+ public function setExtractA($extractA)
+ {
+ $this->extractA = $extractA;
+ }
+ public function getExtractA()
+ {
+ return $this->extractA;
+ }
+ public function setExtractB($extractB)
+ {
+ $this->extractB = $extractB;
+ }
+ public function getExtractB()
+ {
+ return $this->extractB;
+ }
+ public function setFieldA($fieldA)
+ {
+ $this->fieldA = $fieldA;
+ }
+ public function getFieldA()
+ {
+ return $this->fieldA;
+ }
+ public function setFieldARequired($fieldARequired)
+ {
+ $this->fieldARequired = $fieldARequired;
+ }
+ public function getFieldARequired()
+ {
+ return $this->fieldARequired;
+ }
+ public function setFieldB($fieldB)
+ {
+ $this->fieldB = $fieldB;
+ }
+ public function getFieldB()
+ {
+ return $this->fieldB;
+ }
+ public function setFieldBRequired($fieldBRequired)
+ {
+ $this->fieldBRequired = $fieldBRequired;
+ }
+ public function getFieldBRequired()
+ {
+ return $this->fieldBRequired;
+ }
+ public function setOutputConstructor($outputConstructor)
+ {
+ $this->outputConstructor = $outputConstructor;
+ }
+ public function getOutputConstructor()
+ {
+ return $this->outputConstructor;
+ }
+ public function setOutputToField($outputToField)
+ {
+ $this->outputToField = $outputToField;
+ }
+ public function getOutputToField()
+ {
+ return $this->outputToField;
+ }
+ public function setOverrideOutputField($overrideOutputField)
+ {
+ $this->overrideOutputField = $overrideOutputField;
+ }
+ public function getOverrideOutputField()
+ {
+ return $this->overrideOutputField;
+ }
+}
+
+class Postman_Google_Service_Analytics_FilterExpression extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $caseSensitive;
+ public $expressionValue;
+ public $field;
+ public $kind;
+ public $matchType;
+
+
+ public function setCaseSensitive($caseSensitive)
+ {
+ $this->caseSensitive = $caseSensitive;
+ }
+ public function getCaseSensitive()
+ {
+ return $this->caseSensitive;
+ }
+ public function setExpressionValue($expressionValue)
+ {
+ $this->expressionValue = $expressionValue;
+ }
+ public function getExpressionValue()
+ {
+ return $this->expressionValue;
+ }
+ public function setField($field)
+ {
+ $this->field = $field;
+ }
+ public function getField()
+ {
+ return $this->field;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMatchType($matchType)
+ {
+ $this->matchType = $matchType;
+ }
+ public function getMatchType()
+ {
+ return $this->matchType;
+ }
+}
+
+class Postman_Google_Service_Analytics_FilterLowercaseDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $field;
+
+
+ public function setField($field)
+ {
+ $this->field = $field;
+ }
+ public function getField()
+ {
+ return $this->field;
+ }
+}
+
+class Postman_Google_Service_Analytics_FilterParentLink extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $href;
+ public $type;
+
+
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+ public function getHref()
+ {
+ return $this->href;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Analytics_FilterRef extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $href;
+ public $id;
+ public $kind;
+ public $name;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+ public function getHref()
+ {
+ return $this->href;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_Analytics_FilterSearchAndReplaceDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $caseSensitive;
+ public $field;
+ public $replaceString;
+ public $searchString;
+
+
+ public function setCaseSensitive($caseSensitive)
+ {
+ $this->caseSensitive = $caseSensitive;
+ }
+ public function getCaseSensitive()
+ {
+ return $this->caseSensitive;
+ }
+ public function setField($field)
+ {
+ $this->field = $field;
+ }
+ public function getField()
+ {
+ return $this->field;
+ }
+ public function setReplaceString($replaceString)
+ {
+ $this->replaceString = $replaceString;
+ }
+ public function getReplaceString()
+ {
+ return $this->replaceString;
+ }
+ public function setSearchString($searchString)
+ {
+ $this->searchString = $searchString;
+ }
+ public function getSearchString()
+ {
+ return $this->searchString;
+ }
+}
+
+class Postman_Google_Service_Analytics_FilterUppercaseDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $field;
+
+
+ public function setField($field)
+ {
+ $this->field = $field;
+ }
+ public function getField()
+ {
+ return $this->field;
+ }
+}
+
+class Postman_Google_Service_Analytics_Filters extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Analytics_Filter';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
+
+class Postman_Google_Service_Analytics_GaData extends Postman_Google_Collection
+{
+ protected $collection_key = 'rows';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $columnHeadersType = 'Postman_Google_Service_Analytics_GaDataColumnHeaders';
+ protected $columnHeadersDataType = 'array';
+ public $containsSampledData;
+ protected $dataTableType = 'Postman_Google_Service_Analytics_GaDataDataTable';
+ protected $dataTableDataType = '';
+ public $id;
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ protected $profileInfoType = 'Postman_Google_Service_Analytics_GaDataProfileInfo';
+ protected $profileInfoDataType = '';
+ protected $queryType = 'Postman_Google_Service_Analytics_GaDataQuery';
+ protected $queryDataType = '';
+ public $rows;
+ public $sampleSize;
+ public $sampleSpace;
+ public $selfLink;
+ public $totalResults;
+ public $totalsForAllResults;
+
+
+ public function setColumnHeaders($columnHeaders)
+ {
+ $this->columnHeaders = $columnHeaders;
+ }
+ public function getColumnHeaders()
+ {
+ return $this->columnHeaders;
+ }
+ public function setContainsSampledData($containsSampledData)
+ {
+ $this->containsSampledData = $containsSampledData;
+ }
+ public function getContainsSampledData()
+ {
+ return $this->containsSampledData;
+ }
+ public function setDataTable(Postman_Google_Service_Analytics_GaDataDataTable $dataTable)
+ {
+ $this->dataTable = $dataTable;
+ }
+ public function getDataTable()
+ {
+ return $this->dataTable;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+ public function setProfileInfo(Postman_Google_Service_Analytics_GaDataProfileInfo $profileInfo)
+ {
+ $this->profileInfo = $profileInfo;
+ }
+ public function getProfileInfo()
+ {
+ return $this->profileInfo;
+ }
+ public function setQuery(Postman_Google_Service_Analytics_GaDataQuery $query)
+ {
+ $this->query = $query;
+ }
+ public function getQuery()
+ {
+ return $this->query;
+ }
+ public function setRows($rows)
+ {
+ $this->rows = $rows;
+ }
+ public function getRows()
+ {
+ return $this->rows;
+ }
+ public function setSampleSize($sampleSize)
+ {
+ $this->sampleSize = $sampleSize;
+ }
+ public function getSampleSize()
+ {
+ return $this->sampleSize;
+ }
+ public function setSampleSpace($sampleSpace)
+ {
+ $this->sampleSpace = $sampleSpace;
+ }
+ public function getSampleSpace()
+ {
+ return $this->sampleSpace;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+ public function setTotalsForAllResults($totalsForAllResults)
+ {
+ $this->totalsForAllResults = $totalsForAllResults;
+ }
+ public function getTotalsForAllResults()
+ {
+ return $this->totalsForAllResults;
+ }
+}
+
+class Postman_Google_Service_Analytics_GaDataColumnHeaders extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $columnType;
+ public $dataType;
+ public $name;
+
+
+ public function setColumnType($columnType)
+ {
+ $this->columnType = $columnType;
+ }
+ public function getColumnType()
+ {
+ return $this->columnType;
+ }
+ public function setDataType($dataType)
+ {
+ $this->dataType = $dataType;
+ }
+ public function getDataType()
+ {
+ return $this->dataType;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_Analytics_GaDataDataTable extends Postman_Google_Collection
+{
+ protected $collection_key = 'rows';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $colsType = 'Postman_Google_Service_Analytics_GaDataDataTableCols';
+ protected $colsDataType = 'array';
+ protected $rowsType = 'Postman_Google_Service_Analytics_GaDataDataTableRows';
+ protected $rowsDataType = 'array';
+
+
+ public function setCols($cols)
+ {
+ $this->cols = $cols;
+ }
+ public function getCols()
+ {
+ return $this->cols;
+ }
+ public function setRows($rows)
+ {
+ $this->rows = $rows;
+ }
+ public function getRows()
+ {
+ return $this->rows;
+ }
+}
+
+class Postman_Google_Service_Analytics_GaDataDataTableCols extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $label;
+ public $type;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Analytics_GaDataDataTableRows extends Postman_Google_Collection
+{
+ protected $collection_key = 'c';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $cType = 'Postman_Google_Service_Analytics_GaDataDataTableRowsC';
+ protected $cDataType = 'array';
+
+
+ public function setC($c)
+ {
+ $this->c = $c;
+ }
+ public function getC()
+ {
+ return $this->c;
+ }
+}
+
+class Postman_Google_Service_Analytics_GaDataDataTableRowsC extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $v;
+
+
+ public function setV($v)
+ {
+ $this->v = $v;
+ }
+ public function getV()
+ {
+ return $this->v;
+ }
+}
+
+class Postman_Google_Service_Analytics_GaDataProfileInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $internalWebPropertyId;
+ public $profileId;
+ public $profileName;
+ public $tableId;
+ public $webPropertyId;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setInternalWebPropertyId($internalWebPropertyId)
+ {
+ $this->internalWebPropertyId = $internalWebPropertyId;
+ }
+ public function getInternalWebPropertyId()
+ {
+ return $this->internalWebPropertyId;
+ }
+ public function setProfileId($profileId)
+ {
+ $this->profileId = $profileId;
+ }
+ public function getProfileId()
+ {
+ return $this->profileId;
+ }
+ public function setProfileName($profileName)
+ {
+ $this->profileName = $profileName;
+ }
+ public function getProfileName()
+ {
+ return $this->profileName;
+ }
+ public function setTableId($tableId)
+ {
+ $this->tableId = $tableId;
+ }
+ public function getTableId()
+ {
+ return $this->tableId;
+ }
+ public function setWebPropertyId($webPropertyId)
+ {
+ $this->webPropertyId = $webPropertyId;
+ }
+ public function getWebPropertyId()
+ {
+ return $this->webPropertyId;
+ }
+}
+
+class Postman_Google_Service_Analytics_GaDataQuery extends Postman_Google_Collection
+{
+ protected $collection_key = 'sort';
+ protected $internal_gapi_mappings = array(
+ "endDate" => "end-date",
+ "maxResults" => "max-results",
+ "startDate" => "start-date",
+ "startIndex" => "start-index",
+ );
+ public $dimensions;
+ public $endDate;
+ public $filters;
+ public $ids;
+ public $maxResults;
+ public $metrics;
+ public $samplingLevel;
+ public $segment;
+ public $sort;
+ public $startDate;
+ public $startIndex;
+
+
+ public function setDimensions($dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setFilters($filters)
+ {
+ $this->filters = $filters;
+ }
+ public function getFilters()
+ {
+ return $this->filters;
+ }
+ public function setIds($ids)
+ {
+ $this->ids = $ids;
+ }
+ public function getIds()
+ {
+ return $this->ids;
+ }
+ public function setMaxResults($maxResults)
+ {
+ $this->maxResults = $maxResults;
+ }
+ public function getMaxResults()
+ {
+ return $this->maxResults;
+ }
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+ public function setSamplingLevel($samplingLevel)
+ {
+ $this->samplingLevel = $samplingLevel;
+ }
+ public function getSamplingLevel()
+ {
+ return $this->samplingLevel;
+ }
+ public function setSegment($segment)
+ {
+ $this->segment = $segment;
+ }
+ public function getSegment()
+ {
+ return $this->segment;
+ }
+ public function setSort($sort)
+ {
+ $this->sort = $sort;
+ }
+ public function getSort()
+ {
+ return $this->sort;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+}
+
+class Postman_Google_Service_Analytics_GaDataTotalsForAllResults extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Analytics_Goal extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $active;
+ public $created;
+ protected $eventDetailsType = 'Postman_Google_Service_Analytics_GoalEventDetails';
+ protected $eventDetailsDataType = '';
+ public $id;
+ public $internalWebPropertyId;
+ public $kind;
+ public $name;
+ protected $parentLinkType = 'Postman_Google_Service_Analytics_GoalParentLink';
+ protected $parentLinkDataType = '';
+ public $profileId;
+ public $selfLink;
+ public $type;
+ public $updated;
+ protected $urlDestinationDetailsType = 'Postman_Google_Service_Analytics_GoalUrlDestinationDetails';
+ protected $urlDestinationDetailsDataType = '';
+ public $value;
+ protected $visitNumPagesDetailsType = 'Postman_Google_Service_Analytics_GoalVisitNumPagesDetails';
+ protected $visitNumPagesDetailsDataType = '';
+ protected $visitTimeOnSiteDetailsType = 'Postman_Google_Service_Analytics_GoalVisitTimeOnSiteDetails';
+ protected $visitTimeOnSiteDetailsDataType = '';
+ public $webPropertyId;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+ public function getCreated()
+ {
+ return $this->created;
+ }
+ public function setEventDetails(Postman_Google_Service_Analytics_GoalEventDetails $eventDetails)
+ {
+ $this->eventDetails = $eventDetails;
+ }
+ public function getEventDetails()
+ {
+ return $this->eventDetails;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInternalWebPropertyId($internalWebPropertyId)
+ {
+ $this->internalWebPropertyId = $internalWebPropertyId;
+ }
+ public function getInternalWebPropertyId()
+ {
+ return $this->internalWebPropertyId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setParentLink(Postman_Google_Service_Analytics_GoalParentLink $parentLink)
+ {
+ $this->parentLink = $parentLink;
+ }
+ public function getParentLink()
+ {
+ return $this->parentLink;
+ }
+ public function setProfileId($profileId)
+ {
+ $this->profileId = $profileId;
+ }
+ public function getProfileId()
+ {
+ return $this->profileId;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setUrlDestinationDetails(Postman_Google_Service_Analytics_GoalUrlDestinationDetails $urlDestinationDetails)
+ {
+ $this->urlDestinationDetails = $urlDestinationDetails;
+ }
+ public function getUrlDestinationDetails()
+ {
+ return $this->urlDestinationDetails;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+ public function setVisitNumPagesDetails(Postman_Google_Service_Analytics_GoalVisitNumPagesDetails $visitNumPagesDetails)
+ {
+ $this->visitNumPagesDetails = $visitNumPagesDetails;
+ }
+ public function getVisitNumPagesDetails()
+ {
+ return $this->visitNumPagesDetails;
+ }
+ public function setVisitTimeOnSiteDetails(Postman_Google_Service_Analytics_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails)
+ {
+ $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails;
+ }
+ public function getVisitTimeOnSiteDetails()
+ {
+ return $this->visitTimeOnSiteDetails;
+ }
+ public function setWebPropertyId($webPropertyId)
+ {
+ $this->webPropertyId = $webPropertyId;
+ }
+ public function getWebPropertyId()
+ {
+ return $this->webPropertyId;
+ }
+}
+
+class Postman_Google_Service_Analytics_GoalEventDetails extends Postman_Google_Collection
+{
+ protected $collection_key = 'eventConditions';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $eventConditionsType = 'Postman_Google_Service_Analytics_GoalEventDetailsEventConditions';
+ protected $eventConditionsDataType = 'array';
+ public $useEventValue;
+
+
+ public function setEventConditions($eventConditions)
+ {
+ $this->eventConditions = $eventConditions;
+ }
+ public function getEventConditions()
+ {
+ return $this->eventConditions;
+ }
+ public function setUseEventValue($useEventValue)
+ {
+ $this->useEventValue = $useEventValue;
+ }
+ public function getUseEventValue()
+ {
+ return $this->useEventValue;
+ }
+}
+
+class Postman_Google_Service_Analytics_GoalEventDetailsEventConditions extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $comparisonType;
+ public $comparisonValue;
+ public $expression;
+ public $matchType;
+ public $type;
+
+
+ public function setComparisonType($comparisonType)
+ {
+ $this->comparisonType = $comparisonType;
+ }
+ public function getComparisonType()
+ {
+ return $this->comparisonType;
+ }
+ public function setComparisonValue($comparisonValue)
+ {
+ $this->comparisonValue = $comparisonValue;
+ }
+ public function getComparisonValue()
+ {
+ return $this->comparisonValue;
+ }
+ public function setExpression($expression)
+ {
+ $this->expression = $expression;
+ }
+ public function getExpression()
+ {
+ return $this->expression;
+ }
+ public function setMatchType($matchType)
+ {
+ $this->matchType = $matchType;
+ }
+ public function getMatchType()
+ {
+ return $this->matchType;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Analytics_GoalParentLink extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $href;
+ public $type;
+
+
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+ public function getHref()
+ {
+ return $this->href;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Analytics_GoalUrlDestinationDetails extends Postman_Google_Collection
+{
+ protected $collection_key = 'steps';
+ protected $internal_gapi_mappings = array(
+ );
+ public $caseSensitive;
+ public $firstStepRequired;
+ public $matchType;
+ protected $stepsType = 'Postman_Google_Service_Analytics_GoalUrlDestinationDetailsSteps';
+ protected $stepsDataType = 'array';
+ public $url;
+
+
+ public function setCaseSensitive($caseSensitive)
+ {
+ $this->caseSensitive = $caseSensitive;
+ }
+ public function getCaseSensitive()
+ {
+ return $this->caseSensitive;
+ }
+ public function setFirstStepRequired($firstStepRequired)
+ {
+ $this->firstStepRequired = $firstStepRequired;
+ }
+ public function getFirstStepRequired()
+ {
+ return $this->firstStepRequired;
+ }
+ public function setMatchType($matchType)
+ {
+ $this->matchType = $matchType;
+ }
+ public function getMatchType()
+ {
+ return $this->matchType;
+ }
+ public function setSteps($steps)
+ {
+ $this->steps = $steps;
+ }
+ public function getSteps()
+ {
+ return $this->steps;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Analytics_GoalUrlDestinationDetailsSteps extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+ public $number;
+ public $url;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNumber($number)
+ {
+ $this->number = $number;
+ }
+ public function getNumber()
+ {
+ return $this->number;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Analytics_GoalVisitNumPagesDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $comparisonType;
+ public $comparisonValue;
+
+
+ public function setComparisonType($comparisonType)
+ {
+ $this->comparisonType = $comparisonType;
+ }
+ public function getComparisonType()
+ {
+ return $this->comparisonType;
+ }
+ public function setComparisonValue($comparisonValue)
+ {
+ $this->comparisonValue = $comparisonValue;
+ }
+ public function getComparisonValue()
+ {
+ return $this->comparisonValue;
+ }
+}
+
+class Postman_Google_Service_Analytics_GoalVisitTimeOnSiteDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $comparisonType;
+ public $comparisonValue;
+
+
+ public function setComparisonType($comparisonType)
+ {
+ $this->comparisonType = $comparisonType;
+ }
+ public function getComparisonType()
+ {
+ return $this->comparisonType;
+ }
+ public function setComparisonValue($comparisonValue)
+ {
+ $this->comparisonValue = $comparisonValue;
+ }
+ public function getComparisonValue()
+ {
+ return $this->comparisonValue;
+ }
+}
+
+class Postman_Google_Service_Analytics_Goals extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Analytics_Goal';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
+
+class Postman_Google_Service_Analytics_McfData extends Postman_Google_Collection
+{
+ protected $collection_key = 'rows';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $columnHeadersType = 'Postman_Google_Service_Analytics_McfDataColumnHeaders';
+ protected $columnHeadersDataType = 'array';
+ public $containsSampledData;
+ public $id;
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ protected $profileInfoType = 'Postman_Google_Service_Analytics_McfDataProfileInfo';
+ protected $profileInfoDataType = '';
+ protected $queryType = 'Postman_Google_Service_Analytics_McfDataQuery';
+ protected $queryDataType = '';
+ protected $rowsType = 'Postman_Google_Service_Analytics_McfDataRows';
+ protected $rowsDataType = 'array';
+ public $sampleSize;
+ public $sampleSpace;
+ public $selfLink;
+ public $totalResults;
+ public $totalsForAllResults;
+
+
+ public function setColumnHeaders($columnHeaders)
+ {
+ $this->columnHeaders = $columnHeaders;
+ }
+ public function getColumnHeaders()
+ {
+ return $this->columnHeaders;
+ }
+ public function setContainsSampledData($containsSampledData)
+ {
+ $this->containsSampledData = $containsSampledData;
+ }
+ public function getContainsSampledData()
+ {
+ return $this->containsSampledData;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+ public function setProfileInfo(Postman_Google_Service_Analytics_McfDataProfileInfo $profileInfo)
+ {
+ $this->profileInfo = $profileInfo;
+ }
+ public function getProfileInfo()
+ {
+ return $this->profileInfo;
+ }
+ public function setQuery(Postman_Google_Service_Analytics_McfDataQuery $query)
+ {
+ $this->query = $query;
+ }
+ public function getQuery()
+ {
+ return $this->query;
+ }
+ public function setRows($rows)
+ {
+ $this->rows = $rows;
+ }
+ public function getRows()
+ {
+ return $this->rows;
+ }
+ public function setSampleSize($sampleSize)
+ {
+ $this->sampleSize = $sampleSize;
+ }
+ public function getSampleSize()
+ {
+ return $this->sampleSize;
+ }
+ public function setSampleSpace($sampleSpace)
+ {
+ $this->sampleSpace = $sampleSpace;
+ }
+ public function getSampleSpace()
+ {
+ return $this->sampleSpace;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+ public function setTotalsForAllResults($totalsForAllResults)
+ {
+ $this->totalsForAllResults = $totalsForAllResults;
+ }
+ public function getTotalsForAllResults()
+ {
+ return $this->totalsForAllResults;
+ }
+}
+
+class Postman_Google_Service_Analytics_McfDataColumnHeaders extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $columnType;
+ public $dataType;
+ public $name;
+
+
+ public function setColumnType($columnType)
+ {
+ $this->columnType = $columnType;
+ }
+ public function getColumnType()
+ {
+ return $this->columnType;
+ }
+ public function setDataType($dataType)
+ {
+ $this->dataType = $dataType;
+ }
+ public function getDataType()
+ {
+ return $this->dataType;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_Analytics_McfDataProfileInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $internalWebPropertyId;
+ public $profileId;
+ public $profileName;
+ public $tableId;
+ public $webPropertyId;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setInternalWebPropertyId($internalWebPropertyId)
+ {
+ $this->internalWebPropertyId = $internalWebPropertyId;
+ }
+ public function getInternalWebPropertyId()
+ {
+ return $this->internalWebPropertyId;
+ }
+ public function setProfileId($profileId)
+ {
+ $this->profileId = $profileId;
+ }
+ public function getProfileId()
+ {
+ return $this->profileId;
+ }
+ public function setProfileName($profileName)
+ {
+ $this->profileName = $profileName;
+ }
+ public function getProfileName()
+ {
+ return $this->profileName;
+ }
+ public function setTableId($tableId)
+ {
+ $this->tableId = $tableId;
+ }
+ public function getTableId()
+ {
+ return $this->tableId;
+ }
+ public function setWebPropertyId($webPropertyId)
+ {
+ $this->webPropertyId = $webPropertyId;
+ }
+ public function getWebPropertyId()
+ {
+ return $this->webPropertyId;
+ }
+}
+
+class Postman_Google_Service_Analytics_McfDataQuery extends Postman_Google_Collection
+{
+ protected $collection_key = 'sort';
+ protected $internal_gapi_mappings = array(
+ "endDate" => "end-date",
+ "maxResults" => "max-results",
+ "startDate" => "start-date",
+ "startIndex" => "start-index",
+ );
+ public $dimensions;
+ public $endDate;
+ public $filters;
+ public $ids;
+ public $maxResults;
+ public $metrics;
+ public $samplingLevel;
+ public $segment;
+ public $sort;
+ public $startDate;
+ public $startIndex;
+
+
+ public function setDimensions($dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setFilters($filters)
+ {
+ $this->filters = $filters;
+ }
+ public function getFilters()
+ {
+ return $this->filters;
+ }
+ public function setIds($ids)
+ {
+ $this->ids = $ids;
+ }
+ public function getIds()
+ {
+ return $this->ids;
+ }
+ public function setMaxResults($maxResults)
+ {
+ $this->maxResults = $maxResults;
+ }
+ public function getMaxResults()
+ {
+ return $this->maxResults;
+ }
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+ public function setSamplingLevel($samplingLevel)
+ {
+ $this->samplingLevel = $samplingLevel;
+ }
+ public function getSamplingLevel()
+ {
+ return $this->samplingLevel;
+ }
+ public function setSegment($segment)
+ {
+ $this->segment = $segment;
+ }
+ public function getSegment()
+ {
+ return $this->segment;
+ }
+ public function setSort($sort)
+ {
+ $this->sort = $sort;
+ }
+ public function getSort()
+ {
+ return $this->sort;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+}
+
+class Postman_Google_Service_Analytics_McfDataRows extends Postman_Google_Collection
+{
+ protected $collection_key = 'conversionPathValue';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $conversionPathValueType = 'Postman_Google_Service_Analytics_McfDataRowsConversionPathValue';
+ protected $conversionPathValueDataType = 'array';
+ public $primitiveValue;
+
+
+ public function setConversionPathValue($conversionPathValue)
+ {
+ $this->conversionPathValue = $conversionPathValue;
+ }
+ public function getConversionPathValue()
+ {
+ return $this->conversionPathValue;
+ }
+ public function setPrimitiveValue($primitiveValue)
+ {
+ $this->primitiveValue = $primitiveValue;
+ }
+ public function getPrimitiveValue()
+ {
+ return $this->primitiveValue;
+ }
+}
+
+class Postman_Google_Service_Analytics_McfDataRowsConversionPathValue extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $interactionType;
+ public $nodeValue;
+
+
+ public function setInteractionType($interactionType)
+ {
+ $this->interactionType = $interactionType;
+ }
+ public function getInteractionType()
+ {
+ return $this->interactionType;
+ }
+ public function setNodeValue($nodeValue)
+ {
+ $this->nodeValue = $nodeValue;
+ }
+ public function getNodeValue()
+ {
+ return $this->nodeValue;
+ }
+}
+
+class Postman_Google_Service_Analytics_McfDataTotalsForAllResults extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Analytics_Profile extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ protected $childLinkType = 'Postman_Google_Service_Analytics_ProfileChildLink';
+ protected $childLinkDataType = '';
+ public $created;
+ public $currency;
+ public $defaultPage;
+ public $eCommerceTracking;
+ public $enhancedECommerceTracking;
+ public $excludeQueryParameters;
+ public $id;
+ public $internalWebPropertyId;
+ public $kind;
+ public $name;
+ protected $parentLinkType = 'Postman_Google_Service_Analytics_ProfileParentLink';
+ protected $parentLinkDataType = '';
+ protected $permissionsType = 'Postman_Google_Service_Analytics_ProfilePermissions';
+ protected $permissionsDataType = '';
+ public $selfLink;
+ public $siteSearchCategoryParameters;
+ public $siteSearchQueryParameters;
+ public $stripSiteSearchCategoryParameters;
+ public $stripSiteSearchQueryParameters;
+ public $timezone;
+ public $type;
+ public $updated;
+ public $webPropertyId;
+ public $websiteUrl;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setChildLink(Postman_Google_Service_Analytics_ProfileChildLink $childLink)
+ {
+ $this->childLink = $childLink;
+ }
+ public function getChildLink()
+ {
+ return $this->childLink;
+ }
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+ public function getCreated()
+ {
+ return $this->created;
+ }
+ public function setCurrency($currency)
+ {
+ $this->currency = $currency;
+ }
+ public function getCurrency()
+ {
+ return $this->currency;
+ }
+ public function setDefaultPage($defaultPage)
+ {
+ $this->defaultPage = $defaultPage;
+ }
+ public function getDefaultPage()
+ {
+ return $this->defaultPage;
+ }
+ public function setECommerceTracking($eCommerceTracking)
+ {
+ $this->eCommerceTracking = $eCommerceTracking;
+ }
+ public function getECommerceTracking()
+ {
+ return $this->eCommerceTracking;
+ }
+ public function setEnhancedECommerceTracking($enhancedECommerceTracking)
+ {
+ $this->enhancedECommerceTracking = $enhancedECommerceTracking;
+ }
+ public function getEnhancedECommerceTracking()
+ {
+ return $this->enhancedECommerceTracking;
+ }
+ public function setExcludeQueryParameters($excludeQueryParameters)
+ {
+ $this->excludeQueryParameters = $excludeQueryParameters;
+ }
+ public function getExcludeQueryParameters()
+ {
+ return $this->excludeQueryParameters;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInternalWebPropertyId($internalWebPropertyId)
+ {
+ $this->internalWebPropertyId = $internalWebPropertyId;
+ }
+ public function getInternalWebPropertyId()
+ {
+ return $this->internalWebPropertyId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setParentLink(Postman_Google_Service_Analytics_ProfileParentLink $parentLink)
+ {
+ $this->parentLink = $parentLink;
+ }
+ public function getParentLink()
+ {
+ return $this->parentLink;
+ }
+ public function setPermissions(Postman_Google_Service_Analytics_ProfilePermissions $permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setSiteSearchCategoryParameters($siteSearchCategoryParameters)
+ {
+ $this->siteSearchCategoryParameters = $siteSearchCategoryParameters;
+ }
+ public function getSiteSearchCategoryParameters()
+ {
+ return $this->siteSearchCategoryParameters;
+ }
+ public function setSiteSearchQueryParameters($siteSearchQueryParameters)
+ {
+ $this->siteSearchQueryParameters = $siteSearchQueryParameters;
+ }
+ public function getSiteSearchQueryParameters()
+ {
+ return $this->siteSearchQueryParameters;
+ }
+ public function setStripSiteSearchCategoryParameters($stripSiteSearchCategoryParameters)
+ {
+ $this->stripSiteSearchCategoryParameters = $stripSiteSearchCategoryParameters;
+ }
+ public function getStripSiteSearchCategoryParameters()
+ {
+ return $this->stripSiteSearchCategoryParameters;
+ }
+ public function setStripSiteSearchQueryParameters($stripSiteSearchQueryParameters)
+ {
+ $this->stripSiteSearchQueryParameters = $stripSiteSearchQueryParameters;
+ }
+ public function getStripSiteSearchQueryParameters()
+ {
+ return $this->stripSiteSearchQueryParameters;
+ }
+ public function setTimezone($timezone)
+ {
+ $this->timezone = $timezone;
+ }
+ public function getTimezone()
+ {
+ return $this->timezone;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setWebPropertyId($webPropertyId)
+ {
+ $this->webPropertyId = $webPropertyId;
+ }
+ public function getWebPropertyId()
+ {
+ return $this->webPropertyId;
+ }
+ public function setWebsiteUrl($websiteUrl)
+ {
+ $this->websiteUrl = $websiteUrl;
+ }
+ public function getWebsiteUrl()
+ {
+ return $this->websiteUrl;
+ }
+}
+
+class Postman_Google_Service_Analytics_ProfileChildLink extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $href;
+ public $type;
+
+
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+ public function getHref()
+ {
+ return $this->href;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Analytics_ProfileFilterLink extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $filterRefType = 'Postman_Google_Service_Analytics_FilterRef';
+ protected $filterRefDataType = '';
+ public $id;
+ public $kind;
+ protected $profileRefType = 'Postman_Google_Service_Analytics_ProfileRef';
+ protected $profileRefDataType = '';
+ public $rank;
+ public $selfLink;
+
+
+ public function setFilterRef(Postman_Google_Service_Analytics_FilterRef $filterRef)
+ {
+ $this->filterRef = $filterRef;
+ }
+ public function getFilterRef()
+ {
+ return $this->filterRef;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setProfileRef(Postman_Google_Service_Analytics_ProfileRef $profileRef)
+ {
+ $this->profileRef = $profileRef;
+ }
+ public function getProfileRef()
+ {
+ return $this->profileRef;
+ }
+ public function setRank($rank)
+ {
+ $this->rank = $rank;
+ }
+ public function getRank()
+ {
+ return $this->rank;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Analytics_ProfileFilterLinks extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Analytics_ProfileFilterLink';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
+
+class Postman_Google_Service_Analytics_ProfileParentLink extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $href;
+ public $type;
+
+
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+ public function getHref()
+ {
+ return $this->href;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Analytics_ProfilePermissions extends Postman_Google_Collection
+{
+ protected $collection_key = 'effective';
+ protected $internal_gapi_mappings = array(
+ );
+ public $effective;
+
+
+ public function setEffective($effective)
+ {
+ $this->effective = $effective;
+ }
+ public function getEffective()
+ {
+ return $this->effective;
+ }
+}
+
+class Postman_Google_Service_Analytics_ProfileRef extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $href;
+ public $id;
+ public $internalWebPropertyId;
+ public $kind;
+ public $name;
+ public $webPropertyId;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+ public function getHref()
+ {
+ return $this->href;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInternalWebPropertyId($internalWebPropertyId)
+ {
+ $this->internalWebPropertyId = $internalWebPropertyId;
+ }
+ public function getInternalWebPropertyId()
+ {
+ return $this->internalWebPropertyId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setWebPropertyId($webPropertyId)
+ {
+ $this->webPropertyId = $webPropertyId;
+ }
+ public function getWebPropertyId()
+ {
+ return $this->webPropertyId;
+ }
+}
+
+class Postman_Google_Service_Analytics_ProfileSummary extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $name;
+ public $type;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Analytics_Profiles extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Analytics_Profile';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
+
+class Postman_Google_Service_Analytics_RealtimeData extends Postman_Google_Collection
+{
+ protected $collection_key = 'rows';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $columnHeadersType = 'Postman_Google_Service_Analytics_RealtimeDataColumnHeaders';
+ protected $columnHeadersDataType = 'array';
+ public $id;
+ public $kind;
+ protected $profileInfoType = 'Postman_Google_Service_Analytics_RealtimeDataProfileInfo';
+ protected $profileInfoDataType = '';
+ protected $queryType = 'Postman_Google_Service_Analytics_RealtimeDataQuery';
+ protected $queryDataType = '';
+ public $rows;
+ public $selfLink;
+ public $totalResults;
+ public $totalsForAllResults;
+
+
+ public function setColumnHeaders($columnHeaders)
+ {
+ $this->columnHeaders = $columnHeaders;
+ }
+ public function getColumnHeaders()
+ {
+ return $this->columnHeaders;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setProfileInfo(Postman_Google_Service_Analytics_RealtimeDataProfileInfo $profileInfo)
+ {
+ $this->profileInfo = $profileInfo;
+ }
+ public function getProfileInfo()
+ {
+ return $this->profileInfo;
+ }
+ public function setQuery(Postman_Google_Service_Analytics_RealtimeDataQuery $query)
+ {
+ $this->query = $query;
+ }
+ public function getQuery()
+ {
+ return $this->query;
+ }
+ public function setRows($rows)
+ {
+ $this->rows = $rows;
+ }
+ public function getRows()
+ {
+ return $this->rows;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+ public function setTotalsForAllResults($totalsForAllResults)
+ {
+ $this->totalsForAllResults = $totalsForAllResults;
+ }
+ public function getTotalsForAllResults()
+ {
+ return $this->totalsForAllResults;
+ }
+}
+
+class Postman_Google_Service_Analytics_RealtimeDataColumnHeaders extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $columnType;
+ public $dataType;
+ public $name;
+
+
+ public function setColumnType($columnType)
+ {
+ $this->columnType = $columnType;
+ }
+ public function getColumnType()
+ {
+ return $this->columnType;
+ }
+ public function setDataType($dataType)
+ {
+ $this->dataType = $dataType;
+ }
+ public function getDataType()
+ {
+ return $this->dataType;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_Analytics_RealtimeDataProfileInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $internalWebPropertyId;
+ public $profileId;
+ public $profileName;
+ public $tableId;
+ public $webPropertyId;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setInternalWebPropertyId($internalWebPropertyId)
+ {
+ $this->internalWebPropertyId = $internalWebPropertyId;
+ }
+ public function getInternalWebPropertyId()
+ {
+ return $this->internalWebPropertyId;
+ }
+ public function setProfileId($profileId)
+ {
+ $this->profileId = $profileId;
+ }
+ public function getProfileId()
+ {
+ return $this->profileId;
+ }
+ public function setProfileName($profileName)
+ {
+ $this->profileName = $profileName;
+ }
+ public function getProfileName()
+ {
+ return $this->profileName;
+ }
+ public function setTableId($tableId)
+ {
+ $this->tableId = $tableId;
+ }
+ public function getTableId()
+ {
+ return $this->tableId;
+ }
+ public function setWebPropertyId($webPropertyId)
+ {
+ $this->webPropertyId = $webPropertyId;
+ }
+ public function getWebPropertyId()
+ {
+ return $this->webPropertyId;
+ }
+}
+
+class Postman_Google_Service_Analytics_RealtimeDataQuery extends Postman_Google_Collection
+{
+ protected $collection_key = 'sort';
+ protected $internal_gapi_mappings = array(
+ "maxResults" => "max-results",
+ );
+ public $dimensions;
+ public $filters;
+ public $ids;
+ public $maxResults;
+ public $metrics;
+ public $sort;
+
+
+ public function setDimensions($dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+ public function setFilters($filters)
+ {
+ $this->filters = $filters;
+ }
+ public function getFilters()
+ {
+ return $this->filters;
+ }
+ public function setIds($ids)
+ {
+ $this->ids = $ids;
+ }
+ public function getIds()
+ {
+ return $this->ids;
+ }
+ public function setMaxResults($maxResults)
+ {
+ $this->maxResults = $maxResults;
+ }
+ public function getMaxResults()
+ {
+ return $this->maxResults;
+ }
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+ public function setSort($sort)
+ {
+ $this->sort = $sort;
+ }
+ public function getSort()
+ {
+ return $this->sort;
+ }
+}
+
+class Postman_Google_Service_Analytics_RealtimeDataTotalsForAllResults extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Analytics_Segment extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $created;
+ public $definition;
+ public $id;
+ public $kind;
+ public $name;
+ public $segmentId;
+ public $selfLink;
+ public $type;
+ public $updated;
+
+
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+ public function getCreated()
+ {
+ return $this->created;
+ }
+ public function setDefinition($definition)
+ {
+ $this->definition = $definition;
+ }
+ public function getDefinition()
+ {
+ return $this->definition;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSegmentId($segmentId)
+ {
+ $this->segmentId = $segmentId;
+ }
+ public function getSegmentId()
+ {
+ return $this->segmentId;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+}
+
+class Postman_Google_Service_Analytics_Segments extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Analytics_Segment';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
+
+class Postman_Google_Service_Analytics_UnsampledReport extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "endDate" => "end-date",
+ "startDate" => "start-date",
+ );
+ public $accountId;
+ protected $cloudStorageDownloadDetailsType = 'Postman_Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails';
+ protected $cloudStorageDownloadDetailsDataType = '';
+ public $created;
+ public $dimensions;
+ public $downloadType;
+ protected $driveDownloadDetailsType = 'Postman_Google_Service_Analytics_UnsampledReportDriveDownloadDetails';
+ protected $driveDownloadDetailsDataType = '';
+ public $endDate;
+ public $filters;
+ public $id;
+ public $kind;
+ public $metrics;
+ public $profileId;
+ public $segment;
+ public $selfLink;
+ public $startDate;
+ public $status;
+ public $title;
+ public $updated;
+ public $webPropertyId;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setCloudStorageDownloadDetails(Postman_Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails $cloudStorageDownloadDetails)
+ {
+ $this->cloudStorageDownloadDetails = $cloudStorageDownloadDetails;
+ }
+ public function getCloudStorageDownloadDetails()
+ {
+ return $this->cloudStorageDownloadDetails;
+ }
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+ public function getCreated()
+ {
+ return $this->created;
+ }
+ public function setDimensions($dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+ public function setDownloadType($downloadType)
+ {
+ $this->downloadType = $downloadType;
+ }
+ public function getDownloadType()
+ {
+ return $this->downloadType;
+ }
+ public function setDriveDownloadDetails(Postman_Google_Service_Analytics_UnsampledReportDriveDownloadDetails $driveDownloadDetails)
+ {
+ $this->driveDownloadDetails = $driveDownloadDetails;
+ }
+ public function getDriveDownloadDetails()
+ {
+ return $this->driveDownloadDetails;
+ }
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setFilters($filters)
+ {
+ $this->filters = $filters;
+ }
+ public function getFilters()
+ {
+ return $this->filters;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+ public function setProfileId($profileId)
+ {
+ $this->profileId = $profileId;
+ }
+ public function getProfileId()
+ {
+ return $this->profileId;
+ }
+ public function setSegment($segment)
+ {
+ $this->segment = $segment;
+ }
+ public function getSegment()
+ {
+ return $this->segment;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setWebPropertyId($webPropertyId)
+ {
+ $this->webPropertyId = $webPropertyId;
+ }
+ public function getWebPropertyId()
+ {
+ return $this->webPropertyId;
+ }
+}
+
+class Postman_Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $bucketId;
+ public $objectId;
+
+
+ public function setBucketId($bucketId)
+ {
+ $this->bucketId = $bucketId;
+ }
+ public function getBucketId()
+ {
+ return $this->bucketId;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+}
+
+class Postman_Google_Service_Analytics_UnsampledReportDriveDownloadDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $documentId;
+
+
+ public function setDocumentId($documentId)
+ {
+ $this->documentId = $documentId;
+ }
+ public function getDocumentId()
+ {
+ return $this->documentId;
+ }
+}
+
+class Postman_Google_Service_Analytics_UnsampledReports extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Analytics_UnsampledReport';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
+
+class Postman_Google_Service_Analytics_Upload extends Postman_Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $customDataSourceId;
+ public $errors;
+ public $id;
+ public $kind;
+ public $status;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setCustomDataSourceId($customDataSourceId)
+ {
+ $this->customDataSourceId = $customDataSourceId;
+ }
+ public function getCustomDataSourceId()
+ {
+ return $this->customDataSourceId;
+ }
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Postman_Google_Service_Analytics_Uploads extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Analytics_Upload';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+}
+
+class Postman_Google_Service_Analytics_UserRef extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $email;
+ public $id;
+ public $kind;
+
+
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Analytics_WebPropertyRef extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $href;
+ public $id;
+ public $internalWebPropertyId;
+ public $kind;
+ public $name;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+ public function getHref()
+ {
+ return $this->href;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInternalWebPropertyId($internalWebPropertyId)
+ {
+ $this->internalWebPropertyId = $internalWebPropertyId;
+ }
+ public function getInternalWebPropertyId()
+ {
+ return $this->internalWebPropertyId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_Analytics_WebPropertySummary extends Postman_Google_Collection
+{
+ protected $collection_key = 'profiles';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $internalWebPropertyId;
+ public $kind;
+ public $level;
+ public $name;
+ protected $profilesType = 'Postman_Google_Service_Analytics_ProfileSummary';
+ protected $profilesDataType = 'array';
+ public $websiteUrl;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInternalWebPropertyId($internalWebPropertyId)
+ {
+ $this->internalWebPropertyId = $internalWebPropertyId;
+ }
+ public function getInternalWebPropertyId()
+ {
+ return $this->internalWebPropertyId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLevel($level)
+ {
+ $this->level = $level;
+ }
+ public function getLevel()
+ {
+ return $this->level;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProfiles($profiles)
+ {
+ $this->profiles = $profiles;
+ }
+ public function getProfiles()
+ {
+ return $this->profiles;
+ }
+ public function setWebsiteUrl($websiteUrl)
+ {
+ $this->websiteUrl = $websiteUrl;
+ }
+ public function getWebsiteUrl()
+ {
+ return $this->websiteUrl;
+ }
+}
+
+class Postman_Google_Service_Analytics_Webproperties extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Analytics_Webproperty';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
+
+class Postman_Google_Service_Analytics_Webproperty extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ protected $childLinkType = 'Postman_Google_Service_Analytics_WebpropertyChildLink';
+ protected $childLinkDataType = '';
+ public $created;
+ public $defaultProfileId;
+ public $id;
+ public $industryVertical;
+ public $internalWebPropertyId;
+ public $kind;
+ public $level;
+ public $name;
+ protected $parentLinkType = 'Postman_Google_Service_Analytics_WebpropertyParentLink';
+ protected $parentLinkDataType = '';
+ protected $permissionsType = 'Postman_Google_Service_Analytics_WebpropertyPermissions';
+ protected $permissionsDataType = '';
+ public $profileCount;
+ public $selfLink;
+ public $updated;
+ public $websiteUrl;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setChildLink(Postman_Google_Service_Analytics_WebpropertyChildLink $childLink)
+ {
+ $this->childLink = $childLink;
+ }
+ public function getChildLink()
+ {
+ return $this->childLink;
+ }
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+ public function getCreated()
+ {
+ return $this->created;
+ }
+ public function setDefaultProfileId($defaultProfileId)
+ {
+ $this->defaultProfileId = $defaultProfileId;
+ }
+ public function getDefaultProfileId()
+ {
+ return $this->defaultProfileId;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIndustryVertical($industryVertical)
+ {
+ $this->industryVertical = $industryVertical;
+ }
+ public function getIndustryVertical()
+ {
+ return $this->industryVertical;
+ }
+ public function setInternalWebPropertyId($internalWebPropertyId)
+ {
+ $this->internalWebPropertyId = $internalWebPropertyId;
+ }
+ public function getInternalWebPropertyId()
+ {
+ return $this->internalWebPropertyId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLevel($level)
+ {
+ $this->level = $level;
+ }
+ public function getLevel()
+ {
+ return $this->level;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setParentLink(Postman_Google_Service_Analytics_WebpropertyParentLink $parentLink)
+ {
+ $this->parentLink = $parentLink;
+ }
+ public function getParentLink()
+ {
+ return $this->parentLink;
+ }
+ public function setPermissions(Postman_Google_Service_Analytics_WebpropertyPermissions $permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+ public function setProfileCount($profileCount)
+ {
+ $this->profileCount = $profileCount;
+ }
+ public function getProfileCount()
+ {
+ return $this->profileCount;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setWebsiteUrl($websiteUrl)
+ {
+ $this->websiteUrl = $websiteUrl;
+ }
+ public function getWebsiteUrl()
+ {
+ return $this->websiteUrl;
+ }
+}
+
+class Postman_Google_Service_Analytics_WebpropertyChildLink extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $href;
+ public $type;
+
+
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+ public function getHref()
+ {
+ return $this->href;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Analytics_WebpropertyParentLink extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $href;
+ public $type;
+
+
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+ public function getHref()
+ {
+ return $this->href;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Analytics_WebpropertyPermissions extends Postman_Google_Collection
+{
+ protected $collection_key = 'effective';
+ protected $internal_gapi_mappings = array(
+ );
+ public $effective;
+
+
+ public function setEffective($effective)
+ {
+ $this->effective = $effective;
+ }
+ public function getEffective()
+ {
+ return $this->effective;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AndroidPublisher.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AndroidPublisher.php
new file mode 100644
index 0000000..13dfe0c
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AndroidPublisher.php
@@ -0,0 +1,3441 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for AndroidPublisher (v2).
+ *
+ * <p>
+ * Lets Android application developers access their Google Play accounts.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/android-publisher" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_AndroidPublisher extends Postman_Google_Service
+{
+ /** View and manage your Google Play Android Developer account. */
+ const ANDROIDPUBLISHER =
+ "https://www.googleapis.com/auth/androidpublisher";
+
+ public $edits;
+ public $edits_apklistings;
+ public $edits_apks;
+ public $edits_details;
+ public $edits_expansionfiles;
+ public $edits_images;
+ public $edits_listings;
+ public $edits_testers;
+ public $edits_tracks;
+ public $inappproducts;
+ public $purchases_products;
+ public $purchases_subscriptions;
+
+
+ /**
+ * Constructs the internal representation of the AndroidPublisher service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'androidpublisher/v2/applications/';
+ $this->version = 'v2';
+ $this->serviceName = 'androidpublisher';
+
+ $this->edits = new Postman_Google_Service_AndroidPublisher_Edits_Resource(
+ $this,
+ $this->serviceName,
+ 'edits',
+ array(
+ 'methods' => array(
+ 'commit' => array(
+ 'path' => '{packageName}/edits/{editId}:commit',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{packageName}/edits/{editId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{packageName}/edits/{editId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{packageName}/edits',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'validate' => array(
+ 'path' => '{packageName}/edits/{editId}:validate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->edits_apklistings = new Postman_Google_Service_AndroidPublisher_EditsApklistings_Resource(
+ $this,
+ $this->serviceName,
+ 'apklistings',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'deleteall' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->edits_apks = new Postman_Google_Service_AndroidPublisher_EditsApks_Resource(
+ $this,
+ $this->serviceName,
+ 'apks',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{packageName}/edits/{editId}/apks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'upload' => array(
+ 'path' => '{packageName}/edits/{editId}/apks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->edits_details = new Postman_Google_Service_AndroidPublisher_EditsDetails_Resource(
+ $this,
+ $this->serviceName,
+ 'details',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{packageName}/edits/{editId}/details',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{packageName}/edits/{editId}/details',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{packageName}/edits/{editId}/details',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->edits_expansionfiles = new Postman_Google_Service_AndroidPublisher_EditsExpansionfiles_Resource(
+ $this,
+ $this->serviceName,
+ 'expansionfiles',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'expansionFileType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'expansionFileType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'expansionFileType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'upload' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'expansionFileType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->edits_images = new Postman_Google_Service_AndroidPublisher_EditsImages_Resource(
+ $this,
+ $this->serviceName,
+ 'images',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'imageType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'imageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'deleteall' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'imageType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'imageType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'upload' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'imageType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->edits_listings = new Postman_Google_Service_AndroidPublisher_EditsListings_Resource(
+ $this,
+ $this->serviceName,
+ 'listings',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'deleteall' => array(
+ 'path' => '{packageName}/edits/{editId}/listings',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{packageName}/edits/{editId}/listings',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->edits_testers = new Postman_Google_Service_AndroidPublisher_EditsTesters_Resource(
+ $this,
+ $this->serviceName,
+ 'testers',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{packageName}/edits/{editId}/testers/{track}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'track' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{packageName}/edits/{editId}/testers/{track}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'track' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{packageName}/edits/{editId}/testers/{track}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'track' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->edits_tracks = new Postman_Google_Service_AndroidPublisher_EditsTracks_Resource(
+ $this,
+ $this->serviceName,
+ 'tracks',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{packageName}/edits/{editId}/tracks/{track}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'track' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{packageName}/edits/{editId}/tracks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{packageName}/edits/{editId}/tracks/{track}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'track' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{packageName}/edits/{editId}/tracks/{track}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'track' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->inappproducts = new Postman_Google_Service_AndroidPublisher_Inappproducts_Resource(
+ $this,
+ $this->serviceName,
+ 'inappproducts',
+ array(
+ 'methods' => array(
+ 'batch' => array(
+ 'path' => 'inappproducts/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => '{packageName}/inappproducts/{sku}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sku' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{packageName}/inappproducts/{sku}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sku' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{packageName}/inappproducts',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoConvertMissingPrices' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{packageName}/inappproducts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'token' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{packageName}/inappproducts/{sku}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sku' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoConvertMissingPrices' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{packageName}/inappproducts/{sku}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sku' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoConvertMissingPrices' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->purchases_products = new Postman_Google_Service_AndroidPublisher_PurchasesProducts_Resource(
+ $this,
+ $this->serviceName,
+ 'products',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{packageName}/purchases/products/{productId}/tokens/{token}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'token' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->purchases_subscriptions = new Postman_Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource(
+ $this,
+ $this->serviceName,
+ 'subscriptions',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'subscriptionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'token' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'defer' => array(
+ 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'subscriptionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'token' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'subscriptionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'token' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'refund' => array(
+ 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'subscriptionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'token' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'revoke' => array(
+ 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'subscriptionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'token' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "edits" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Postman_Google_Service_AndroidPublisher(...);
+ * $edits = $androidpublisherService->edits;
+ * </code>
+ */
+class Postman_Google_Service_AndroidPublisher_Edits_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Commits/applies the changes made in this edit back to the app. (edits.commit)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_AppEdit
+ */
+ public function commit($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('commit', array($params), "Postman_Google_Service_AndroidPublisher_AppEdit");
+ }
+
+ /**
+ * Deletes an edit for an app. Creating a new edit will automatically delete any
+ * of your previous edits so this method need only be called if you want to
+ * preemptively abandon an edit. (edits.delete)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Returns information about the edit specified. Calls will fail if the edit is
+ * no long active (e.g. has been deleted, superseded or expired). (edits.get)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_AppEdit
+ */
+ public function get($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AndroidPublisher_AppEdit");
+ }
+
+ /**
+ * Creates a new edit for an app, populated with the app's current state.
+ * (edits.insert)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param Postman_Google_AppEdit $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_AppEdit
+ */
+ public function insert($packageName, Postman_Google_Service_AndroidPublisher_AppEdit $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_AndroidPublisher_AppEdit");
+ }
+
+ /**
+ * Checks that the edit can be successfully committed. The edit's changes are
+ * not applied to the live app. (edits.validate)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_AppEdit
+ */
+ public function validate($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('validate', array($params), "Postman_Google_Service_AndroidPublisher_AppEdit");
+ }
+}
+
+/**
+ * The "apklistings" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Postman_Google_Service_AndroidPublisher(...);
+ * $apklistings = $androidpublisherService->apklistings;
+ * </code>
+ */
+class Postman_Google_Service_AndroidPublisher_EditsApklistings_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the APK-specific localized listing for a specified APK and language
+ * code. (apklistings.delete)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param int $apkVersionCode The APK version code whose APK-specific listings
+ * should be read or modified.
+ * @param string $language The language code (a BCP-47 language tag) of the APK-
+ * specific localized listing to read or modify. For example, to select Austrian
+ * German, pass "de-AT".
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($packageName, $editId, $apkVersionCode, $language, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Deletes all the APK-specific localized listings for a specified APK.
+ * (apklistings.deleteall)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param int $apkVersionCode The APK version code whose APK-specific listings
+ * should be read or modified.
+ * @param array $optParams Optional parameters.
+ */
+ public function deleteall($packageName, $editId, $apkVersionCode, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode);
+ $params = array_merge($params, $optParams);
+ return $this->call('deleteall', array($params));
+ }
+
+ /**
+ * Fetches the APK-specific localized listing for a specified APK and language
+ * code. (apklistings.get)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param int $apkVersionCode The APK version code whose APK-specific listings
+ * should be read or modified.
+ * @param string $language The language code (a BCP-47 language tag) of the APK-
+ * specific localized listing to read or modify. For example, to select Austrian
+ * German, pass "de-AT".
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_ApkListing
+ */
+ public function get($packageName, $editId, $apkVersionCode, $language, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AndroidPublisher_ApkListing");
+ }
+
+ /**
+ * Lists all the APK-specific localized listings for a specified APK.
+ * (apklistings.listEditsApklistings)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param int $apkVersionCode The APK version code whose APK-specific listings
+ * should be read or modified.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_ApkListingsListResponse
+ */
+ public function listEditsApklistings($packageName, $editId, $apkVersionCode, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AndroidPublisher_ApkListingsListResponse");
+ }
+
+ /**
+ * Updates or creates the APK-specific localized listing for a specified APK and
+ * language code. This method supports patch semantics. (apklistings.patch)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param int $apkVersionCode The APK version code whose APK-specific listings
+ * should be read or modified.
+ * @param string $language The language code (a BCP-47 language tag) of the APK-
+ * specific localized listing to read or modify. For example, to select Austrian
+ * German, pass "de-AT".
+ * @param Postman_Google_ApkListing $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_ApkListing
+ */
+ public function patch($packageName, $editId, $apkVersionCode, $language, Postman_Google_Service_AndroidPublisher_ApkListing $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_AndroidPublisher_ApkListing");
+ }
+
+ /**
+ * Updates or creates the APK-specific localized listing for a specified APK and
+ * language code. (apklistings.update)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param int $apkVersionCode The APK version code whose APK-specific listings
+ * should be read or modified.
+ * @param string $language The language code (a BCP-47 language tag) of the APK-
+ * specific localized listing to read or modify. For example, to select Austrian
+ * German, pass "de-AT".
+ * @param Postman_Google_ApkListing $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_ApkListing
+ */
+ public function update($packageName, $editId, $apkVersionCode, $language, Postman_Google_Service_AndroidPublisher_ApkListing $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_AndroidPublisher_ApkListing");
+ }
+}
+/**
+ * The "apks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Postman_Google_Service_AndroidPublisher(...);
+ * $apks = $androidpublisherService->apks;
+ * </code>
+ */
+class Postman_Google_Service_AndroidPublisher_EditsApks_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * (apks.listEditsApks)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_ApksListResponse
+ */
+ public function listEditsApks($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AndroidPublisher_ApksListResponse");
+ }
+
+ /**
+ * (apks.upload)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_Apk
+ */
+ public function upload($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Postman_Google_Service_AndroidPublisher_Apk");
+ }
+}
+/**
+ * The "details" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Postman_Google_Service_AndroidPublisher(...);
+ * $details = $androidpublisherService->details;
+ * </code>
+ */
+class Postman_Google_Service_AndroidPublisher_EditsDetails_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Fetches app details for this edit. This includes the default language and
+ * developer support contact information. (details.get)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_AppDetails
+ */
+ public function get($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AndroidPublisher_AppDetails");
+ }
+
+ /**
+ * Updates app details for this edit. This method supports patch semantics.
+ * (details.patch)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param Postman_Google_AppDetails $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_AppDetails
+ */
+ public function patch($packageName, $editId, Postman_Google_Service_AndroidPublisher_AppDetails $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_AndroidPublisher_AppDetails");
+ }
+
+ /**
+ * Updates app details for this edit. (details.update)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param Postman_Google_AppDetails $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_AppDetails
+ */
+ public function update($packageName, $editId, Postman_Google_Service_AndroidPublisher_AppDetails $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_AndroidPublisher_AppDetails");
+ }
+}
+/**
+ * The "expansionfiles" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Postman_Google_Service_AndroidPublisher(...);
+ * $expansionfiles = $androidpublisherService->expansionfiles;
+ * </code>
+ */
+class Postman_Google_Service_AndroidPublisher_EditsExpansionfiles_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Fetches the Expansion File configuration for the APK specified.
+ * (expansionfiles.get)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param int $apkVersionCode The version code of the APK whose Expansion File
+ * configuration is being read or modified.
+ * @param string $expansionFileType
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_ExpansionFile
+ */
+ public function get($packageName, $editId, $apkVersionCode, $expansionFileType, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AndroidPublisher_ExpansionFile");
+ }
+
+ /**
+ * Updates the APK's Expansion File configuration to reference another APK's
+ * Expansion Files. To add a new Expansion File use the Upload method. This
+ * method supports patch semantics. (expansionfiles.patch)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param int $apkVersionCode The version code of the APK whose Expansion File
+ * configuration is being read or modified.
+ * @param string $expansionFileType
+ * @param Postman_Google_ExpansionFile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_ExpansionFile
+ */
+ public function patch($packageName, $editId, $apkVersionCode, $expansionFileType, Postman_Google_Service_AndroidPublisher_ExpansionFile $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_AndroidPublisher_ExpansionFile");
+ }
+
+ /**
+ * Updates the APK's Expansion File configuration to reference another APK's
+ * Expansion Files. To add a new Expansion File use the Upload method.
+ * (expansionfiles.update)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param int $apkVersionCode The version code of the APK whose Expansion File
+ * configuration is being read or modified.
+ * @param string $expansionFileType
+ * @param Postman_Google_ExpansionFile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_ExpansionFile
+ */
+ public function update($packageName, $editId, $apkVersionCode, $expansionFileType, Postman_Google_Service_AndroidPublisher_ExpansionFile $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_AndroidPublisher_ExpansionFile");
+ }
+
+ /**
+ * Uploads and attaches a new Expansion File to the APK specified.
+ * (expansionfiles.upload)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param int $apkVersionCode The version code of the APK whose Expansion File
+ * configuration is being read or modified.
+ * @param string $expansionFileType
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_ExpansionFilesUploadResponse
+ */
+ public function upload($packageName, $editId, $apkVersionCode, $expansionFileType, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Postman_Google_Service_AndroidPublisher_ExpansionFilesUploadResponse");
+ }
+}
+/**
+ * The "images" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Postman_Google_Service_AndroidPublisher(...);
+ * $images = $androidpublisherService->images;
+ * </code>
+ */
+class Postman_Google_Service_AndroidPublisher_EditsImages_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the image (specified by id) from the edit. (images.delete)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param string $language The language code (a BCP-47 language tag) of the
+ * localized listing whose images are to read or modified. For example, to
+ * select Austrian German, pass "de-AT".
+ * @param string $imageType
+ * @param string $imageId Unique identifier an image within the set of images
+ * attached to this edit.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($packageName, $editId, $language, $imageType, $imageId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType, 'imageId' => $imageId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Deletes all images for the specified language and image type.
+ * (images.deleteall)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param string $language The language code (a BCP-47 language tag) of the
+ * localized listing whose images are to read or modified. For example, to
+ * select Austrian German, pass "de-AT".
+ * @param string $imageType
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_ImagesDeleteAllResponse
+ */
+ public function deleteall($packageName, $editId, $language, $imageType, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
+ $params = array_merge($params, $optParams);
+ return $this->call('deleteall', array($params), "Postman_Google_Service_AndroidPublisher_ImagesDeleteAllResponse");
+ }
+
+ /**
+ * Lists all images for the specified language and image type.
+ * (images.listEditsImages)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param string $language The language code (a BCP-47 language tag) of the
+ * localized listing whose images are to read or modified. For example, to
+ * select Austrian German, pass "de-AT".
+ * @param string $imageType
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_ImagesListResponse
+ */
+ public function listEditsImages($packageName, $editId, $language, $imageType, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AndroidPublisher_ImagesListResponse");
+ }
+
+ /**
+ * Uploads a new image and adds it to the list of images for the specified
+ * language and image type. (images.upload)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param string $language The language code (a BCP-47 language tag) of the
+ * localized listing whose images are to read or modified. For example, to
+ * select Austrian German, pass "de-AT".
+ * @param string $imageType
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_ImagesUploadResponse
+ */
+ public function upload($packageName, $editId, $language, $imageType, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Postman_Google_Service_AndroidPublisher_ImagesUploadResponse");
+ }
+}
+/**
+ * The "listings" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Postman_Google_Service_AndroidPublisher(...);
+ * $listings = $androidpublisherService->listings;
+ * </code>
+ */
+class Postman_Google_Service_AndroidPublisher_EditsListings_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified localized store listing from an edit. (listings.delete)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param string $language The language code (a BCP-47 language tag) of the
+ * localized listing to read or modify. For example, to select Austrian German,
+ * pass "de-AT".
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($packageName, $editId, $language, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Deletes all localized listings from an edit. (listings.deleteall)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ */
+ public function deleteall($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('deleteall', array($params));
+ }
+
+ /**
+ * Fetches information about a localized store listing. (listings.get)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param string $language The language code (a BCP-47 language tag) of the
+ * localized listing to read or modify. For example, to select Austrian German,
+ * pass "de-AT".
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_Listing
+ */
+ public function get($packageName, $editId, $language, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AndroidPublisher_Listing");
+ }
+
+ /**
+ * Returns all of the localized store listings attached to this edit.
+ * (listings.listEditsListings)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_ListingsListResponse
+ */
+ public function listEditsListings($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AndroidPublisher_ListingsListResponse");
+ }
+
+ /**
+ * Creates or updates a localized store listing. This method supports patch
+ * semantics. (listings.patch)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param string $language The language code (a BCP-47 language tag) of the
+ * localized listing to read or modify. For example, to select Austrian German,
+ * pass "de-AT".
+ * @param Postman_Google_Listing $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_Listing
+ */
+ public function patch($packageName, $editId, $language, Postman_Google_Service_AndroidPublisher_Listing $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_AndroidPublisher_Listing");
+ }
+
+ /**
+ * Creates or updates a localized store listing. (listings.update)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param string $language The language code (a BCP-47 language tag) of the
+ * localized listing to read or modify. For example, to select Austrian German,
+ * pass "de-AT".
+ * @param Postman_Google_Listing $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_Listing
+ */
+ public function update($packageName, $editId, $language, Postman_Google_Service_AndroidPublisher_Listing $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_AndroidPublisher_Listing");
+ }
+}
+/**
+ * The "testers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Postman_Google_Service_AndroidPublisher(...);
+ * $testers = $androidpublisherService->testers;
+ * </code>
+ */
+class Postman_Google_Service_AndroidPublisher_EditsTesters_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * (testers.get)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param string $track
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_Testers
+ */
+ public function get($packageName, $editId, $track, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AndroidPublisher_Testers");
+ }
+
+ /**
+ * (testers.patch)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param string $track
+ * @param Postman_Google_Testers $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_Testers
+ */
+ public function patch($packageName, $editId, $track, Postman_Google_Service_AndroidPublisher_Testers $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_AndroidPublisher_Testers");
+ }
+
+ /**
+ * (testers.update)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param string $track
+ * @param Postman_Google_Testers $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_Testers
+ */
+ public function update($packageName, $editId, $track, Postman_Google_Service_AndroidPublisher_Testers $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_AndroidPublisher_Testers");
+ }
+}
+/**
+ * The "tracks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Postman_Google_Service_AndroidPublisher(...);
+ * $tracks = $androidpublisherService->tracks;
+ * </code>
+ */
+class Postman_Google_Service_AndroidPublisher_EditsTracks_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Fetches the track configuration for the specified track type. Includes the
+ * APK version codes that are in this track. (tracks.get)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param string $track The track type to read or modify.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_Track
+ */
+ public function get($packageName, $editId, $track, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AndroidPublisher_Track");
+ }
+
+ /**
+ * Lists all the track configurations for this edit. (tracks.listEditsTracks)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_TracksListResponse
+ */
+ public function listEditsTracks($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AndroidPublisher_TracksListResponse");
+ }
+
+ /**
+ * Updates the track configuration for the specified track type. This method
+ * supports patch semantics. (tracks.patch)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param string $track The track type to read or modify.
+ * @param Postman_Google_Track $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_Track
+ */
+ public function patch($packageName, $editId, $track, Postman_Google_Service_AndroidPublisher_Track $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_AndroidPublisher_Track");
+ }
+
+ /**
+ * Updates the track configuration for the specified track type. (tracks.update)
+ *
+ * @param string $packageName Unique identifier for the Android app that is
+ * being updated; for example, "com.spiffygame".
+ * @param string $editId Unique identifier for this edit.
+ * @param string $track The track type to read or modify.
+ * @param Postman_Google_Track $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_Track
+ */
+ public function update($packageName, $editId, $track, Postman_Google_Service_AndroidPublisher_Track $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_AndroidPublisher_Track");
+ }
+}
+
+/**
+ * The "inappproducts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Postman_Google_Service_AndroidPublisher(...);
+ * $inappproducts = $androidpublisherService->inappproducts;
+ * </code>
+ */
+class Postman_Google_Service_AndroidPublisher_Inappproducts_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * (inappproducts.batch)
+ *
+ * @param Postman_Google_InappproductsBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_InappproductsBatchResponse
+ */
+ public function batch(Postman_Google_Service_AndroidPublisher_InappproductsBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batch', array($params), "Postman_Google_Service_AndroidPublisher_InappproductsBatchResponse");
+ }
+
+ /**
+ * Delete an in-app product for an app. (inappproducts.delete)
+ *
+ * @param string $packageName Unique identifier for the Android app with the in-
+ * app product; for example, "com.spiffygame".
+ * @param string $sku Unique identifier for the in-app product.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($packageName, $sku, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'sku' => $sku);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Returns information about the in-app product specified. (inappproducts.get)
+ *
+ * @param string $packageName
+ * @param string $sku Unique identifier for the in-app product.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_InAppProduct
+ */
+ public function get($packageName, $sku, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'sku' => $sku);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AndroidPublisher_InAppProduct");
+ }
+
+ /**
+ * Creates a new in-app product for an app. (inappproducts.insert)
+ *
+ * @param string $packageName Unique identifier for the Android app; for
+ * example, "com.spiffygame".
+ * @param Postman_Google_InAppProduct $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool autoConvertMissingPrices If true the prices for all regions
+ * targeted by the parent app that don't have a price specified for this in-app
+ * product will be auto converted to the target currency based on the default
+ * price. Defaults to false.
+ * @return Postman_Google_Service_AndroidPublisher_InAppProduct
+ */
+ public function insert($packageName, Postman_Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_AndroidPublisher_InAppProduct");
+ }
+
+ /**
+ * List all the in-app products for an Android app, both subscriptions and
+ * managed in-app products.. (inappproducts.listInappproducts)
+ *
+ * @param string $packageName Unique identifier for the Android app with in-app
+ * products; for example, "com.spiffygame".
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string token
+ * @opt_param string startIndex
+ * @opt_param string maxResults
+ * @return Postman_Google_Service_AndroidPublisher_InappproductsListResponse
+ */
+ public function listInappproducts($packageName, $optParams = array())
+ {
+ $params = array('packageName' => $packageName);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AndroidPublisher_InappproductsListResponse");
+ }
+
+ /**
+ * Updates the details of an in-app product. This method supports patch
+ * semantics. (inappproducts.patch)
+ *
+ * @param string $packageName Unique identifier for the Android app with the in-
+ * app product; for example, "com.spiffygame".
+ * @param string $sku Unique identifier for the in-app product.
+ * @param Postman_Google_InAppProduct $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool autoConvertMissingPrices If true the prices for all regions
+ * targeted by the parent app that don't have a price specified for this in-app
+ * product will be auto converted to the target currency based on the default
+ * price. Defaults to false.
+ * @return Postman_Google_Service_AndroidPublisher_InAppProduct
+ */
+ public function patch($packageName, $sku, Postman_Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'sku' => $sku, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_AndroidPublisher_InAppProduct");
+ }
+
+ /**
+ * Updates the details of an in-app product. (inappproducts.update)
+ *
+ * @param string $packageName Unique identifier for the Android app with the in-
+ * app product; for example, "com.spiffygame".
+ * @param string $sku Unique identifier for the in-app product.
+ * @param Postman_Google_InAppProduct $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool autoConvertMissingPrices If true the prices for all regions
+ * targeted by the parent app that don't have a price specified for this in-app
+ * product will be auto converted to the target currency based on the default
+ * price. Defaults to false.
+ * @return Postman_Google_Service_AndroidPublisher_InAppProduct
+ */
+ public function update($packageName, $sku, Postman_Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'sku' => $sku, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_AndroidPublisher_InAppProduct");
+ }
+}
+
+/**
+ * The "purchases" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Postman_Google_Service_AndroidPublisher(...);
+ * $purchases = $androidpublisherService->purchases;
+ * </code>
+ */
+class Postman_Google_Service_AndroidPublisher_Purchases_Resource extends Postman_Google_Service_Resource
+{
+}
+
+/**
+ * The "products" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Postman_Google_Service_AndroidPublisher(...);
+ * $products = $androidpublisherService->products;
+ * </code>
+ */
+class Postman_Google_Service_AndroidPublisher_PurchasesProducts_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Checks the purchase and consumption status of an inapp item. (products.get)
+ *
+ * @param string $packageName The package name of the application the inapp
+ * product was sold in (for example, 'com.some.thing').
+ * @param string $productId The inapp product SKU (for example,
+ * 'com.some.thing.inapp1').
+ * @param string $token The token provided to the user's device when the inapp
+ * product was purchased.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_ProductPurchase
+ */
+ public function get($packageName, $productId, $token, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'productId' => $productId, 'token' => $token);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AndroidPublisher_ProductPurchase");
+ }
+}
+/**
+ * The "subscriptions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $androidpublisherService = new Postman_Google_Service_AndroidPublisher(...);
+ * $subscriptions = $androidpublisherService->subscriptions;
+ * </code>
+ */
+class Postman_Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Cancels a user's subscription purchase. The subscription remains valid until
+ * its expiration time. (subscriptions.cancel)
+ *
+ * @param string $packageName The package name of the application for which this
+ * subscription was purchased (for example, 'com.some.thing').
+ * @param string $subscriptionId The purchased subscription ID (for example,
+ * 'monthly001').
+ * @param string $token The token provided to the user's device when the
+ * subscription was purchased.
+ * @param array $optParams Optional parameters.
+ */
+ public function cancel($packageName, $subscriptionId, $token, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params));
+ }
+
+ /**
+ * Defers a user's subscription purchase until a specified future expiration
+ * time. (subscriptions.defer)
+ *
+ * @param string $packageName The package name of the application for which this
+ * subscription was purchased (for example, 'com.some.thing').
+ * @param string $subscriptionId The purchased subscription ID (for example,
+ * 'monthly001').
+ * @param string $token The token provided to the user's device when the
+ * subscription was purchased.
+ * @param Postman_Google_SubscriptionPurchasesDeferRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse
+ */
+ public function defer($packageName, $subscriptionId, $token, Postman_Google_Service_AndroidPublisher_SubscriptionPurchasesDeferRequest $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('defer', array($params), "Postman_Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse");
+ }
+
+ /**
+ * Checks whether a user's subscription purchase is valid and returns its expiry
+ * time. (subscriptions.get)
+ *
+ * @param string $packageName The package name of the application for which this
+ * subscription was purchased (for example, 'com.some.thing').
+ * @param string $subscriptionId The purchased subscription ID (for example,
+ * 'monthly001').
+ * @param string $token The token provided to the user's device when the
+ * subscription was purchased.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AndroidPublisher_SubscriptionPurchase
+ */
+ public function get($packageName, $subscriptionId, $token, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AndroidPublisher_SubscriptionPurchase");
+ }
+
+ /**
+ * Refunds a user's subscription purchase, but the subscription remains valid
+ * until its expiration time and it will continue to recur.
+ * (subscriptions.refund)
+ *
+ * @param string $packageName The package name of the application for which this
+ * subscription was purchased (for example, 'com.some.thing').
+ * @param string $subscriptionId The purchased subscription ID (for example,
+ * 'monthly001').
+ * @param string $token The token provided to the user's device when the
+ * subscription was purchased.
+ * @param array $optParams Optional parameters.
+ */
+ public function refund($packageName, $subscriptionId, $token, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
+ $params = array_merge($params, $optParams);
+ return $this->call('refund', array($params));
+ }
+
+ /**
+ * Refunds and immediately revokes a user's subscription purchase. Access to the
+ * subscription will be terminated immediately and it will stop recurring.
+ * (subscriptions.revoke)
+ *
+ * @param string $packageName The package name of the application for which this
+ * subscription was purchased (for example, 'com.some.thing').
+ * @param string $subscriptionId The purchased subscription ID (for example,
+ * 'monthly001').
+ * @param string $token The token provided to the user's device when the
+ * subscription was purchased.
+ * @param array $optParams Optional parameters.
+ */
+ public function revoke($packageName, $subscriptionId, $token, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
+ $params = array_merge($params, $optParams);
+ return $this->call('revoke', array($params));
+ }
+}
+
+
+
+
+class Postman_Google_Service_AndroidPublisher_Apk extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $binaryType = 'Postman_Google_Service_AndroidPublisher_ApkBinary';
+ protected $binaryDataType = '';
+ public $versionCode;
+
+
+ public function setBinary(Postman_Google_Service_AndroidPublisher_ApkBinary $binary)
+ {
+ $this->binary = $binary;
+ }
+ public function getBinary()
+ {
+ return $this->binary;
+ }
+ public function setVersionCode($versionCode)
+ {
+ $this->versionCode = $versionCode;
+ }
+ public function getVersionCode()
+ {
+ return $this->versionCode;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_ApkBinary extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $sha1;
+
+
+ public function setSha1($sha1)
+ {
+ $this->sha1 = $sha1;
+ }
+ public function getSha1()
+ {
+ return $this->sha1;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_ApkListing extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $language;
+ public $recentChanges;
+
+
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setRecentChanges($recentChanges)
+ {
+ $this->recentChanges = $recentChanges;
+ }
+ public function getRecentChanges()
+ {
+ return $this->recentChanges;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_ApkListingsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'listings';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $listingsType = 'Postman_Google_Service_AndroidPublisher_ApkListing';
+ protected $listingsDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setListings($listings)
+ {
+ $this->listings = $listings;
+ }
+ public function getListings()
+ {
+ return $this->listings;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_ApksListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'apks';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $apksType = 'Postman_Google_Service_AndroidPublisher_Apk';
+ protected $apksDataType = 'array';
+ public $kind;
+
+
+ public function setApks($apks)
+ {
+ $this->apks = $apks;
+ }
+ public function getApks()
+ {
+ return $this->apks;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_AppDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $contactEmail;
+ public $contactPhone;
+ public $contactWebsite;
+ public $defaultLanguage;
+
+
+ public function setContactEmail($contactEmail)
+ {
+ $this->contactEmail = $contactEmail;
+ }
+ public function getContactEmail()
+ {
+ return $this->contactEmail;
+ }
+ public function setContactPhone($contactPhone)
+ {
+ $this->contactPhone = $contactPhone;
+ }
+ public function getContactPhone()
+ {
+ return $this->contactPhone;
+ }
+ public function setContactWebsite($contactWebsite)
+ {
+ $this->contactWebsite = $contactWebsite;
+ }
+ public function getContactWebsite()
+ {
+ return $this->contactWebsite;
+ }
+ public function setDefaultLanguage($defaultLanguage)
+ {
+ $this->defaultLanguage = $defaultLanguage;
+ }
+ public function getDefaultLanguage()
+ {
+ return $this->defaultLanguage;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_AppEdit extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $expiryTimeSeconds;
+ public $id;
+
+
+ public function setExpiryTimeSeconds($expiryTimeSeconds)
+ {
+ $this->expiryTimeSeconds = $expiryTimeSeconds;
+ }
+ public function getExpiryTimeSeconds()
+ {
+ return $this->expiryTimeSeconds;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_ExpansionFile extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $fileSize;
+ public $referencesVersion;
+
+
+ public function setFileSize($fileSize)
+ {
+ $this->fileSize = $fileSize;
+ }
+ public function getFileSize()
+ {
+ return $this->fileSize;
+ }
+ public function setReferencesVersion($referencesVersion)
+ {
+ $this->referencesVersion = $referencesVersion;
+ }
+ public function getReferencesVersion()
+ {
+ return $this->referencesVersion;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_ExpansionFilesUploadResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $expansionFileType = 'Postman_Google_Service_AndroidPublisher_ExpansionFile';
+ protected $expansionFileDataType = '';
+
+
+ public function setExpansionFile(Postman_Google_Service_AndroidPublisher_ExpansionFile $expansionFile)
+ {
+ $this->expansionFile = $expansionFile;
+ }
+ public function getExpansionFile()
+ {
+ return $this->expansionFile;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_Image extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $sha1;
+ public $url;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setSha1($sha1)
+ {
+ $this->sha1 = $sha1;
+ }
+ public function getSha1()
+ {
+ return $this->sha1;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_ImagesDeleteAllResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'deleted';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $deletedType = 'Postman_Google_Service_AndroidPublisher_Image';
+ protected $deletedDataType = 'array';
+
+
+ public function setDeleted($deleted)
+ {
+ $this->deleted = $deleted;
+ }
+ public function getDeleted()
+ {
+ return $this->deleted;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_ImagesListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'images';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $imagesType = 'Postman_Google_Service_AndroidPublisher_Image';
+ protected $imagesDataType = 'array';
+
+
+ public function setImages($images)
+ {
+ $this->images = $images;
+ }
+ public function getImages()
+ {
+ return $this->images;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_ImagesUploadResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $imageType = 'Postman_Google_Service_AndroidPublisher_Image';
+ protected $imageDataType = '';
+
+
+ public function setImage(Postman_Google_Service_AndroidPublisher_Image $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_InAppProduct extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $defaultLanguage;
+ protected $defaultPriceType = 'Postman_Google_Service_AndroidPublisher_Price';
+ protected $defaultPriceDataType = '';
+ protected $listingsType = 'Postman_Google_Service_AndroidPublisher_InAppProductListing';
+ protected $listingsDataType = 'map';
+ public $packageName;
+ protected $pricesType = 'Postman_Google_Service_AndroidPublisher_Price';
+ protected $pricesDataType = 'map';
+ public $purchaseType;
+ protected $seasonType = 'Postman_Google_Service_AndroidPublisher_Season';
+ protected $seasonDataType = '';
+ public $sku;
+ public $status;
+ public $subscriptionPeriod;
+ public $trialPeriod;
+
+
+ public function setDefaultLanguage($defaultLanguage)
+ {
+ $this->defaultLanguage = $defaultLanguage;
+ }
+ public function getDefaultLanguage()
+ {
+ return $this->defaultLanguage;
+ }
+ public function setDefaultPrice(Postman_Google_Service_AndroidPublisher_Price $defaultPrice)
+ {
+ $this->defaultPrice = $defaultPrice;
+ }
+ public function getDefaultPrice()
+ {
+ return $this->defaultPrice;
+ }
+ public function setListings($listings)
+ {
+ $this->listings = $listings;
+ }
+ public function getListings()
+ {
+ return $this->listings;
+ }
+ public function setPackageName($packageName)
+ {
+ $this->packageName = $packageName;
+ }
+ public function getPackageName()
+ {
+ return $this->packageName;
+ }
+ public function setPrices($prices)
+ {
+ $this->prices = $prices;
+ }
+ public function getPrices()
+ {
+ return $this->prices;
+ }
+ public function setPurchaseType($purchaseType)
+ {
+ $this->purchaseType = $purchaseType;
+ }
+ public function getPurchaseType()
+ {
+ return $this->purchaseType;
+ }
+ public function setSeason(Postman_Google_Service_AndroidPublisher_Season $season)
+ {
+ $this->season = $season;
+ }
+ public function getSeason()
+ {
+ return $this->season;
+ }
+ public function setSku($sku)
+ {
+ $this->sku = $sku;
+ }
+ public function getSku()
+ {
+ return $this->sku;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setSubscriptionPeriod($subscriptionPeriod)
+ {
+ $this->subscriptionPeriod = $subscriptionPeriod;
+ }
+ public function getSubscriptionPeriod()
+ {
+ return $this->subscriptionPeriod;
+ }
+ public function setTrialPeriod($trialPeriod)
+ {
+ $this->trialPeriod = $trialPeriod;
+ }
+ public function getTrialPeriod()
+ {
+ return $this->trialPeriod;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_InAppProductListing extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ public $title;
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_InAppProductListings extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_AndroidPublisher_InAppProductPrices extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_AndroidPublisher_InappproductsBatchRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'entrys';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entrysType = 'Postman_Google_Service_AndroidPublisher_InappproductsBatchRequestEntry';
+ protected $entrysDataType = 'array';
+
+
+ public function setEntrys($entrys)
+ {
+ $this->entrys = $entrys;
+ }
+ public function getEntrys()
+ {
+ return $this->entrys;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_InappproductsBatchRequestEntry extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $batchId;
+ protected $inappproductsinsertrequestType = 'Postman_Google_Service_AndroidPublisher_InappproductsInsertRequest';
+ protected $inappproductsinsertrequestDataType = '';
+ protected $inappproductsupdaterequestType = 'Postman_Google_Service_AndroidPublisher_InappproductsUpdateRequest';
+ protected $inappproductsupdaterequestDataType = '';
+ public $methodName;
+
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setInappproductsinsertrequest(Postman_Google_Service_AndroidPublisher_InappproductsInsertRequest $inappproductsinsertrequest)
+ {
+ $this->inappproductsinsertrequest = $inappproductsinsertrequest;
+ }
+ public function getInappproductsinsertrequest()
+ {
+ return $this->inappproductsinsertrequest;
+ }
+ public function setInappproductsupdaterequest(Postman_Google_Service_AndroidPublisher_InappproductsUpdateRequest $inappproductsupdaterequest)
+ {
+ $this->inappproductsupdaterequest = $inappproductsupdaterequest;
+ }
+ public function getInappproductsupdaterequest()
+ {
+ return $this->inappproductsupdaterequest;
+ }
+ public function setMethodName($methodName)
+ {
+ $this->methodName = $methodName;
+ }
+ public function getMethodName()
+ {
+ return $this->methodName;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_InappproductsBatchResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'entrys';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entrysType = 'Postman_Google_Service_AndroidPublisher_InappproductsBatchResponseEntry';
+ protected $entrysDataType = 'array';
+ public $kind;
+
+
+ public function setEntrys($entrys)
+ {
+ $this->entrys = $entrys;
+ }
+ public function getEntrys()
+ {
+ return $this->entrys;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_InappproductsBatchResponseEntry extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $batchId;
+ protected $inappproductsinsertresponseType = 'Postman_Google_Service_AndroidPublisher_InappproductsInsertResponse';
+ protected $inappproductsinsertresponseDataType = '';
+ protected $inappproductsupdateresponseType = 'Postman_Google_Service_AndroidPublisher_InappproductsUpdateResponse';
+ protected $inappproductsupdateresponseDataType = '';
+
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setInappproductsinsertresponse(Postman_Google_Service_AndroidPublisher_InappproductsInsertResponse $inappproductsinsertresponse)
+ {
+ $this->inappproductsinsertresponse = $inappproductsinsertresponse;
+ }
+ public function getInappproductsinsertresponse()
+ {
+ return $this->inappproductsinsertresponse;
+ }
+ public function setInappproductsupdateresponse(Postman_Google_Service_AndroidPublisher_InappproductsUpdateResponse $inappproductsupdateresponse)
+ {
+ $this->inappproductsupdateresponse = $inappproductsupdateresponse;
+ }
+ public function getInappproductsupdateresponse()
+ {
+ return $this->inappproductsupdateresponse;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_InappproductsInsertRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $inappproductType = 'Postman_Google_Service_AndroidPublisher_InAppProduct';
+ protected $inappproductDataType = '';
+
+
+ public function setInappproduct(Postman_Google_Service_AndroidPublisher_InAppProduct $inappproduct)
+ {
+ $this->inappproduct = $inappproduct;
+ }
+ public function getInappproduct()
+ {
+ return $this->inappproduct;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_InappproductsInsertResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $inappproductType = 'Postman_Google_Service_AndroidPublisher_InAppProduct';
+ protected $inappproductDataType = '';
+
+
+ public function setInappproduct(Postman_Google_Service_AndroidPublisher_InAppProduct $inappproduct)
+ {
+ $this->inappproduct = $inappproduct;
+ }
+ public function getInappproduct()
+ {
+ return $this->inappproduct;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_InappproductsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'inappproduct';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $inappproductType = 'Postman_Google_Service_AndroidPublisher_InAppProduct';
+ protected $inappproductDataType = 'array';
+ public $kind;
+ protected $pageInfoType = 'Postman_Google_Service_AndroidPublisher_PageInfo';
+ protected $pageInfoDataType = '';
+ protected $tokenPaginationType = 'Postman_Google_Service_AndroidPublisher_TokenPagination';
+ protected $tokenPaginationDataType = '';
+
+
+ public function setInappproduct($inappproduct)
+ {
+ $this->inappproduct = $inappproduct;
+ }
+ public function getInappproduct()
+ {
+ return $this->inappproduct;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPageInfo(Postman_Google_Service_AndroidPublisher_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setTokenPagination(Postman_Google_Service_AndroidPublisher_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_InappproductsUpdateRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $inappproductType = 'Postman_Google_Service_AndroidPublisher_InAppProduct';
+ protected $inappproductDataType = '';
+
+
+ public function setInappproduct(Postman_Google_Service_AndroidPublisher_InAppProduct $inappproduct)
+ {
+ $this->inappproduct = $inappproduct;
+ }
+ public function getInappproduct()
+ {
+ return $this->inappproduct;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_InappproductsUpdateResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $inappproductType = 'Postman_Google_Service_AndroidPublisher_InAppProduct';
+ protected $inappproductDataType = '';
+
+
+ public function setInappproduct(Postman_Google_Service_AndroidPublisher_InAppProduct $inappproduct)
+ {
+ $this->inappproduct = $inappproduct;
+ }
+ public function getInappproduct()
+ {
+ return $this->inappproduct;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_Listing extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $fullDescription;
+ public $language;
+ public $shortDescription;
+ public $title;
+ public $video;
+
+
+ public function setFullDescription($fullDescription)
+ {
+ $this->fullDescription = $fullDescription;
+ }
+ public function getFullDescription()
+ {
+ return $this->fullDescription;
+ }
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setShortDescription($shortDescription)
+ {
+ $this->shortDescription = $shortDescription;
+ }
+ public function getShortDescription()
+ {
+ return $this->shortDescription;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setVideo($video)
+ {
+ $this->video = $video;
+ }
+ public function getVideo()
+ {
+ return $this->video;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_ListingsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'listings';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $listingsType = 'Postman_Google_Service_AndroidPublisher_Listing';
+ protected $listingsDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setListings($listings)
+ {
+ $this->listings = $listings;
+ }
+ public function getListings()
+ {
+ return $this->listings;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_MonthDay extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $day;
+ public $month;
+
+
+ public function setDay($day)
+ {
+ $this->day = $day;
+ }
+ public function getDay()
+ {
+ return $this->day;
+ }
+ public function setMonth($month)
+ {
+ $this->month = $month;
+ }
+ public function getMonth()
+ {
+ return $this->month;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_PageInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $resultPerPage;
+ public $startIndex;
+ public $totalResults;
+
+
+ public function setResultPerPage($resultPerPage)
+ {
+ $this->resultPerPage = $resultPerPage;
+ }
+ public function getResultPerPage()
+ {
+ return $this->resultPerPage;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_Price extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $currency;
+ public $priceMicros;
+
+
+ public function setCurrency($currency)
+ {
+ $this->currency = $currency;
+ }
+ public function getCurrency()
+ {
+ return $this->currency;
+ }
+ public function setPriceMicros($priceMicros)
+ {
+ $this->priceMicros = $priceMicros;
+ }
+ public function getPriceMicros()
+ {
+ return $this->priceMicros;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_ProductPurchase extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $consumptionState;
+ public $developerPayload;
+ public $kind;
+ public $purchaseState;
+ public $purchaseTimeMillis;
+
+
+ public function setConsumptionState($consumptionState)
+ {
+ $this->consumptionState = $consumptionState;
+ }
+ public function getConsumptionState()
+ {
+ return $this->consumptionState;
+ }
+ public function setDeveloperPayload($developerPayload)
+ {
+ $this->developerPayload = $developerPayload;
+ }
+ public function getDeveloperPayload()
+ {
+ return $this->developerPayload;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPurchaseState($purchaseState)
+ {
+ $this->purchaseState = $purchaseState;
+ }
+ public function getPurchaseState()
+ {
+ return $this->purchaseState;
+ }
+ public function setPurchaseTimeMillis($purchaseTimeMillis)
+ {
+ $this->purchaseTimeMillis = $purchaseTimeMillis;
+ }
+ public function getPurchaseTimeMillis()
+ {
+ return $this->purchaseTimeMillis;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_Season extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $endType = 'Postman_Google_Service_AndroidPublisher_MonthDay';
+ protected $endDataType = '';
+ protected $startType = 'Postman_Google_Service_AndroidPublisher_MonthDay';
+ protected $startDataType = '';
+
+
+ public function setEnd(Postman_Google_Service_AndroidPublisher_MonthDay $end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setStart(Postman_Google_Service_AndroidPublisher_MonthDay $start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_SubscriptionDeferralInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $desiredExpiryTimeMillis;
+ public $expectedExpiryTimeMillis;
+
+
+ public function setDesiredExpiryTimeMillis($desiredExpiryTimeMillis)
+ {
+ $this->desiredExpiryTimeMillis = $desiredExpiryTimeMillis;
+ }
+ public function getDesiredExpiryTimeMillis()
+ {
+ return $this->desiredExpiryTimeMillis;
+ }
+ public function setExpectedExpiryTimeMillis($expectedExpiryTimeMillis)
+ {
+ $this->expectedExpiryTimeMillis = $expectedExpiryTimeMillis;
+ }
+ public function getExpectedExpiryTimeMillis()
+ {
+ return $this->expectedExpiryTimeMillis;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_SubscriptionPurchase extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $autoRenewing;
+ public $expiryTimeMillis;
+ public $kind;
+ public $startTimeMillis;
+
+
+ public function setAutoRenewing($autoRenewing)
+ {
+ $this->autoRenewing = $autoRenewing;
+ }
+ public function getAutoRenewing()
+ {
+ return $this->autoRenewing;
+ }
+ public function setExpiryTimeMillis($expiryTimeMillis)
+ {
+ $this->expiryTimeMillis = $expiryTimeMillis;
+ }
+ public function getExpiryTimeMillis()
+ {
+ return $this->expiryTimeMillis;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setStartTimeMillis($startTimeMillis)
+ {
+ $this->startTimeMillis = $startTimeMillis;
+ }
+ public function getStartTimeMillis()
+ {
+ return $this->startTimeMillis;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_SubscriptionPurchasesDeferRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $deferralInfoType = 'Postman_Google_Service_AndroidPublisher_SubscriptionDeferralInfo';
+ protected $deferralInfoDataType = '';
+
+
+ public function setDeferralInfo(Postman_Google_Service_AndroidPublisher_SubscriptionDeferralInfo $deferralInfo)
+ {
+ $this->deferralInfo = $deferralInfo;
+ }
+ public function getDeferralInfo()
+ {
+ return $this->deferralInfo;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $newExpiryTimeMillis;
+
+
+ public function setNewExpiryTimeMillis($newExpiryTimeMillis)
+ {
+ $this->newExpiryTimeMillis = $newExpiryTimeMillis;
+ }
+ public function getNewExpiryTimeMillis()
+ {
+ return $this->newExpiryTimeMillis;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_Testers extends Postman_Google_Collection
+{
+ protected $collection_key = 'googlePlusCommunities';
+ protected $internal_gapi_mappings = array(
+ );
+ public $googleGroups;
+ public $googlePlusCommunities;
+
+
+ public function setGoogleGroups($googleGroups)
+ {
+ $this->googleGroups = $googleGroups;
+ }
+ public function getGoogleGroups()
+ {
+ return $this->googleGroups;
+ }
+ public function setGooglePlusCommunities($googlePlusCommunities)
+ {
+ $this->googlePlusCommunities = $googlePlusCommunities;
+ }
+ public function getGooglePlusCommunities()
+ {
+ return $this->googlePlusCommunities;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_TokenPagination extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ public $previousPageToken;
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPreviousPageToken($previousPageToken)
+ {
+ $this->previousPageToken = $previousPageToken;
+ }
+ public function getPreviousPageToken()
+ {
+ return $this->previousPageToken;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_Track extends Postman_Google_Collection
+{
+ protected $collection_key = 'versionCodes';
+ protected $internal_gapi_mappings = array(
+ );
+ public $track;
+ public $userFraction;
+ public $versionCodes;
+
+
+ public function setTrack($track)
+ {
+ $this->track = $track;
+ }
+ public function getTrack()
+ {
+ return $this->track;
+ }
+ public function setUserFraction($userFraction)
+ {
+ $this->userFraction = $userFraction;
+ }
+ public function getUserFraction()
+ {
+ return $this->userFraction;
+ }
+ public function setVersionCodes($versionCodes)
+ {
+ $this->versionCodes = $versionCodes;
+ }
+ public function getVersionCodes()
+ {
+ return $this->versionCodes;
+ }
+}
+
+class Postman_Google_Service_AndroidPublisher_TracksListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'tracks';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $tracksType = 'Postman_Google_Service_AndroidPublisher_Track';
+ protected $tracksDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setTracks($tracks)
+ {
+ $this->tracks = $tracks;
+ }
+ public function getTracks()
+ {
+ return $this->tracks;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AppState.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AppState.php
new file mode 100644
index 0000000..f53595d
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/AppState.php
@@ -0,0 +1,368 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for AppState (v1).
+ *
+ * <p>
+ * The Google App State API.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/games/services/web/api/states" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_AppState extends Postman_Google_Service
+{
+ /** View and manage your data for this application. */
+ const APPSTATE =
+ "https://www.googleapis.com/auth/appstate";
+
+ public $states;
+
+
+ /**
+ * Constructs the internal representation of the AppState service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'appstate/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'appstate';
+
+ $this->states = new Postman_Google_Service_AppState_States_Resource(
+ $this,
+ $this->serviceName,
+ 'states',
+ array(
+ 'methods' => array(
+ 'clear' => array(
+ 'path' => 'states/{stateKey}/clear',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'stateKey' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'currentDataVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'states/{stateKey}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'stateKey' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'states/{stateKey}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'stateKey' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'states',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'includeData' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'states/{stateKey}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'stateKey' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'currentStateVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "states" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $appstateService = new Postman_Google_Service_AppState(...);
+ * $states = $appstateService->states;
+ * </code>
+ */
+class Postman_Google_Service_AppState_States_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Clears (sets to empty) the data for the passed key if and only if the passed
+ * version matches the currently stored version. This method results in a
+ * conflict error on version mismatch. (states.clear)
+ *
+ * @param int $stateKey The key for the data to be retrieved.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string currentDataVersion The version of the data to be cleared.
+ * Version strings are returned by the server.
+ * @return Postman_Google_Service_AppState_WriteResult
+ */
+ public function clear($stateKey, $optParams = array())
+ {
+ $params = array('stateKey' => $stateKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('clear', array($params), "Postman_Google_Service_AppState_WriteResult");
+ }
+
+ /**
+ * Deletes a key and the data associated with it. The key is removed and no
+ * longer counts against the key quota. Note that since this method is not safe
+ * in the face of concurrent modifications, it should only be used for
+ * development and testing purposes. Invoking this method in shipping code can
+ * result in data loss and data corruption. (states.delete)
+ *
+ * @param int $stateKey The key for the data to be retrieved.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($stateKey, $optParams = array())
+ {
+ $params = array('stateKey' => $stateKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves the data corresponding to the passed key. If the key does not exist
+ * on the server, an HTTP 404 will be returned. (states.get)
+ *
+ * @param int $stateKey The key for the data to be retrieved.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_AppState_GetResponse
+ */
+ public function get($stateKey, $optParams = array())
+ {
+ $params = array('stateKey' => $stateKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_AppState_GetResponse");
+ }
+
+ /**
+ * Lists all the states keys, and optionally the state data. (states.listStates)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool includeData Whether to include the full data in addition to
+ * the version number
+ * @return Postman_Google_Service_AppState_ListResponse
+ */
+ public function listStates($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_AppState_ListResponse");
+ }
+
+ /**
+ * Update the data associated with the input key if and only if the passed
+ * version matches the currently stored version. This method is safe in the face
+ * of concurrent writes. Maximum per-key size is 128KB. (states.update)
+ *
+ * @param int $stateKey The key for the data to be retrieved.
+ * @param Postman_Google_UpdateRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string currentStateVersion The version of the app state your
+ * application is attempting to update. If this does not match the current
+ * version, this method will return a conflict error. If there is no data stored
+ * on the server for this key, the update will succeed irrespective of the value
+ * of this parameter.
+ * @return Postman_Google_Service_AppState_WriteResult
+ */
+ public function update($stateKey, Postman_Google_Service_AppState_UpdateRequest $postBody, $optParams = array())
+ {
+ $params = array('stateKey' => $stateKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_AppState_WriteResult");
+ }
+}
+
+
+
+
+class Postman_Google_Service_AppState_GetResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $currentStateVersion;
+ public $data;
+ public $kind;
+ public $stateKey;
+
+
+ public function setCurrentStateVersion($currentStateVersion)
+ {
+ $this->currentStateVersion = $currentStateVersion;
+ }
+ public function getCurrentStateVersion()
+ {
+ return $this->currentStateVersion;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setStateKey($stateKey)
+ {
+ $this->stateKey = $stateKey;
+ }
+ public function getStateKey()
+ {
+ return $this->stateKey;
+ }
+}
+
+class Postman_Google_Service_AppState_ListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_AppState_GetResponse';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $maximumKeyCount;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMaximumKeyCount($maximumKeyCount)
+ {
+ $this->maximumKeyCount = $maximumKeyCount;
+ }
+ public function getMaximumKeyCount()
+ {
+ return $this->maximumKeyCount;
+ }
+}
+
+class Postman_Google_Service_AppState_UpdateRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $data;
+ public $kind;
+
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_AppState_WriteResult extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $currentStateVersion;
+ public $kind;
+ public $stateKey;
+
+
+ public function setCurrentStateVersion($currentStateVersion)
+ {
+ $this->currentStateVersion = $currentStateVersion;
+ }
+ public function getCurrentStateVersion()
+ {
+ return $this->currentStateVersion;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setStateKey($stateKey)
+ {
+ $this->stateKey = $stateKey;
+ }
+ public function getStateKey()
+ {
+ return $this->stateKey;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Appsactivity.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Appsactivity.php
new file mode 100644
index 0000000..4e5bd31
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Appsactivity.php
@@ -0,0 +1,566 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Appsactivity (v1).
+ *
+ * <p>
+ * Provides a historical view of activity.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/google-apps/activity/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Appsactivity extends Postman_Google_Service
+{
+ /** View the activity history of your Google Apps. */
+ const ACTIVITY =
+ "https://www.googleapis.com/auth/activity";
+ /** View and manage the files and documents in your Google Drive. */
+ const DRIVE =
+ "https://www.googleapis.com/auth/drive";
+ /** View metadata for files and documents in your Google Drive. */
+ const DRIVE_METADATA_READONLY =
+ "https://www.googleapis.com/auth/drive.metadata.readonly";
+ /** View the files and documents in your Google Drive. */
+ const DRIVE_READONLY =
+ "https://www.googleapis.com/auth/drive.readonly";
+
+ public $activities;
+
+
+ /**
+ * Constructs the internal representation of the Appsactivity service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'appsactivity/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'appsactivity';
+
+ $this->activities = new Postman_Google_Service_Appsactivity_Activities_Resource(
+ $this,
+ $this->serviceName,
+ 'activities',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'activities',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'drive.ancestorId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'userId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'groupingStrategy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'drive.fileId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "activities" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $appsactivityService = new Postman_Google_Service_Appsactivity(...);
+ * $activities = $appsactivityService->activities;
+ * </code>
+ */
+class Postman_Google_Service_Appsactivity_Activities_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns a list of activities visible to the current logged in user. Visible
+ * activities are determined by the visiblity settings of the object that was
+ * acted on, e.g. Drive files a user can see. An activity is a record of past
+ * events. Multiple events may be merged if they are similar. A request is
+ * scoped to activities from a given Google service using the source parameter.
+ * (activities.listActivities)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string drive.ancestorId Identifies the Drive folder containing the
+ * items for which to return activities.
+ * @opt_param int pageSize The maximum number of events to return on a page. The
+ * response includes a continuation token if there are more events.
+ * @opt_param string pageToken A token to retrieve a specific page of results.
+ * @opt_param string userId Indicates the user to return activity for. Use the
+ * special value me to indicate the currently authenticated user.
+ * @opt_param string groupingStrategy Indicates the strategy to use when
+ * grouping singleEvents items in the associated combinedEvent object.
+ * @opt_param string drive.fileId Identifies the Drive item to return activities
+ * for.
+ * @opt_param string source The Google service from which to return activities.
+ * Possible values of source are: - drive.google.com
+ * @return Postman_Google_Service_Appsactivity_ListActivitiesResponse
+ */
+ public function listActivities($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Appsactivity_ListActivitiesResponse");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Appsactivity_Activity extends Postman_Google_Collection
+{
+ protected $collection_key = 'singleEvents';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $combinedEventType = 'Postman_Google_Service_Appsactivity_Event';
+ protected $combinedEventDataType = '';
+ protected $singleEventsType = 'Postman_Google_Service_Appsactivity_Event';
+ protected $singleEventsDataType = 'array';
+
+
+ public function setCombinedEvent(Postman_Google_Service_Appsactivity_Event $combinedEvent)
+ {
+ $this->combinedEvent = $combinedEvent;
+ }
+ public function getCombinedEvent()
+ {
+ return $this->combinedEvent;
+ }
+ public function setSingleEvents($singleEvents)
+ {
+ $this->singleEvents = $singleEvents;
+ }
+ public function getSingleEvents()
+ {
+ return $this->singleEvents;
+ }
+}
+
+class Postman_Google_Service_Appsactivity_Event extends Postman_Google_Collection
+{
+ protected $collection_key = 'permissionChanges';
+ protected $internal_gapi_mappings = array(
+ );
+ public $additionalEventTypes;
+ public $eventTimeMillis;
+ public $fromUserDeletion;
+ protected $moveType = 'Postman_Google_Service_Appsactivity_Move';
+ protected $moveDataType = '';
+ protected $permissionChangesType = 'Postman_Google_Service_Appsactivity_PermissionChange';
+ protected $permissionChangesDataType = 'array';
+ public $primaryEventType;
+ protected $renameType = 'Postman_Google_Service_Appsactivity_Rename';
+ protected $renameDataType = '';
+ protected $targetType = 'Postman_Google_Service_Appsactivity_Target';
+ protected $targetDataType = '';
+ protected $userType = 'Postman_Google_Service_Appsactivity_User';
+ protected $userDataType = '';
+
+
+ public function setAdditionalEventTypes($additionalEventTypes)
+ {
+ $this->additionalEventTypes = $additionalEventTypes;
+ }
+ public function getAdditionalEventTypes()
+ {
+ return $this->additionalEventTypes;
+ }
+ public function setEventTimeMillis($eventTimeMillis)
+ {
+ $this->eventTimeMillis = $eventTimeMillis;
+ }
+ public function getEventTimeMillis()
+ {
+ return $this->eventTimeMillis;
+ }
+ public function setFromUserDeletion($fromUserDeletion)
+ {
+ $this->fromUserDeletion = $fromUserDeletion;
+ }
+ public function getFromUserDeletion()
+ {
+ return $this->fromUserDeletion;
+ }
+ public function setMove(Postman_Google_Service_Appsactivity_Move $move)
+ {
+ $this->move = $move;
+ }
+ public function getMove()
+ {
+ return $this->move;
+ }
+ public function setPermissionChanges($permissionChanges)
+ {
+ $this->permissionChanges = $permissionChanges;
+ }
+ public function getPermissionChanges()
+ {
+ return $this->permissionChanges;
+ }
+ public function setPrimaryEventType($primaryEventType)
+ {
+ $this->primaryEventType = $primaryEventType;
+ }
+ public function getPrimaryEventType()
+ {
+ return $this->primaryEventType;
+ }
+ public function setRename(Postman_Google_Service_Appsactivity_Rename $rename)
+ {
+ $this->rename = $rename;
+ }
+ public function getRename()
+ {
+ return $this->rename;
+ }
+ public function setTarget(Postman_Google_Service_Appsactivity_Target $target)
+ {
+ $this->target = $target;
+ }
+ public function getTarget()
+ {
+ return $this->target;
+ }
+ public function setUser(Postman_Google_Service_Appsactivity_User $user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+}
+
+class Postman_Google_Service_Appsactivity_ListActivitiesResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'activities';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $activitiesType = 'Postman_Google_Service_Appsactivity_Activity';
+ protected $activitiesDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setActivities($activities)
+ {
+ $this->activities = $activities;
+ }
+ public function getActivities()
+ {
+ return $this->activities;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Appsactivity_Move extends Postman_Google_Collection
+{
+ protected $collection_key = 'removedParents';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $addedParentsType = 'Postman_Google_Service_Appsactivity_Parent';
+ protected $addedParentsDataType = 'array';
+ protected $removedParentsType = 'Postman_Google_Service_Appsactivity_Parent';
+ protected $removedParentsDataType = 'array';
+
+
+ public function setAddedParents($addedParents)
+ {
+ $this->addedParents = $addedParents;
+ }
+ public function getAddedParents()
+ {
+ return $this->addedParents;
+ }
+ public function setRemovedParents($removedParents)
+ {
+ $this->removedParents = $removedParents;
+ }
+ public function getRemovedParents()
+ {
+ return $this->removedParents;
+ }
+}
+
+class Postman_Google_Service_Appsactivity_Parent extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $isRoot;
+ public $title;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIsRoot($isRoot)
+ {
+ $this->isRoot = $isRoot;
+ }
+ public function getIsRoot()
+ {
+ return $this->isRoot;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_Appsactivity_Permission extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+ public $permissionId;
+ public $role;
+ public $type;
+ protected $userType = 'Postman_Google_Service_Appsactivity_User';
+ protected $userDataType = '';
+ public $withLink;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPermissionId($permissionId)
+ {
+ $this->permissionId = $permissionId;
+ }
+ public function getPermissionId()
+ {
+ return $this->permissionId;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUser(Postman_Google_Service_Appsactivity_User $user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+ public function setWithLink($withLink)
+ {
+ $this->withLink = $withLink;
+ }
+ public function getWithLink()
+ {
+ return $this->withLink;
+ }
+}
+
+class Postman_Google_Service_Appsactivity_PermissionChange extends Postman_Google_Collection
+{
+ protected $collection_key = 'removedPermissions';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $addedPermissionsType = 'Postman_Google_Service_Appsactivity_Permission';
+ protected $addedPermissionsDataType = 'array';
+ protected $removedPermissionsType = 'Postman_Google_Service_Appsactivity_Permission';
+ protected $removedPermissionsDataType = 'array';
+
+
+ public function setAddedPermissions($addedPermissions)
+ {
+ $this->addedPermissions = $addedPermissions;
+ }
+ public function getAddedPermissions()
+ {
+ return $this->addedPermissions;
+ }
+ public function setRemovedPermissions($removedPermissions)
+ {
+ $this->removedPermissions = $removedPermissions;
+ }
+ public function getRemovedPermissions()
+ {
+ return $this->removedPermissions;
+ }
+}
+
+class Postman_Google_Service_Appsactivity_Photo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $url;
+
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Appsactivity_Rename extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $newTitle;
+ public $oldTitle;
+
+
+ public function setNewTitle($newTitle)
+ {
+ $this->newTitle = $newTitle;
+ }
+ public function getNewTitle()
+ {
+ return $this->newTitle;
+ }
+ public function setOldTitle($oldTitle)
+ {
+ $this->oldTitle = $oldTitle;
+ }
+ public function getOldTitle()
+ {
+ return $this->oldTitle;
+ }
+}
+
+class Postman_Google_Service_Appsactivity_Target extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $mimeType;
+ public $name;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_Appsactivity_User extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+ protected $photoType = 'Postman_Google_Service_Appsactivity_Photo';
+ protected $photoDataType = '';
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPhoto(Postman_Google_Service_Appsactivity_Photo $photo)
+ {
+ $this->photo = $photo;
+ }
+ public function getPhoto()
+ {
+ return $this->photo;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Audit.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Audit.php
new file mode 100644
index 0000000..c4196d4
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Audit.php
@@ -0,0 +1,416 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Audit (v1).
+ *
+ * <p>
+ * Lets you access user activities in your enterprise made through various
+ * applications.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/google-apps/admin-audit/get_started" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Audit extends Postman_Google_Service
+{
+
+
+ public $activities;
+
+
+ /**
+ * Constructs the internal representation of the Audit service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'apps/reporting/audit/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'audit';
+
+ $this->activities = new Postman_Google_Service_Audit_Activities_Resource(
+ $this,
+ $this->serviceName,
+ 'activities',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{customerId}/{applicationId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'applicationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'actorEmail' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'actorApplicationId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'actorIpAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'caller' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'eventName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'continuationToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "activities" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $auditService = new Postman_Google_Service_Audit(...);
+ * $activities = $auditService->activities;
+ * </code>
+ */
+class Postman_Google_Service_Audit_Activities_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves a list of activities for a specific customer and application.
+ * (activities.listActivities)
+ *
+ * @param string $customerId Represents the customer who is the owner of target
+ * object on which action was performed.
+ * @param string $applicationId Application ID of the application on which the
+ * event was performed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string actorEmail Email address of the user who performed the
+ * action.
+ * @opt_param string actorApplicationId Application ID of the application which
+ * interacted on behalf of the user while performing the event.
+ * @opt_param string actorIpAddress IP Address of host where the event was
+ * performed. Supports both IPv4 and IPv6 addresses.
+ * @opt_param string caller Type of the caller.
+ * @opt_param int maxResults Number of activity records to be shown in each
+ * page.
+ * @opt_param string eventName Name of the event being queried.
+ * @opt_param string startTime Return events which occured at or after this
+ * time.
+ * @opt_param string endTime Return events which occured at or before this time.
+ * @opt_param string continuationToken Next page URL.
+ * @return Postman_Google_Service_Audit_Activities
+ */
+ public function listActivities($customerId, $applicationId, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'applicationId' => $applicationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Audit_Activities");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Audit_Activities extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Audit_Activity';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $next;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNext($next)
+ {
+ $this->next = $next;
+ }
+ public function getNext()
+ {
+ return $this->next;
+ }
+}
+
+class Postman_Google_Service_Audit_Activity extends Postman_Google_Collection
+{
+ protected $collection_key = 'events';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $actorType = 'Postman_Google_Service_Audit_ActivityActor';
+ protected $actorDataType = '';
+ protected $eventsType = 'Postman_Google_Service_Audit_ActivityEvents';
+ protected $eventsDataType = 'array';
+ protected $idType = 'Postman_Google_Service_Audit_ActivityId';
+ protected $idDataType = '';
+ public $ipAddress;
+ public $kind;
+ public $ownerDomain;
+
+
+ public function setActor(Postman_Google_Service_Audit_ActivityActor $actor)
+ {
+ $this->actor = $actor;
+ }
+ public function getActor()
+ {
+ return $this->actor;
+ }
+ public function setEvents($events)
+ {
+ $this->events = $events;
+ }
+ public function getEvents()
+ {
+ return $this->events;
+ }
+ public function setId(Postman_Google_Service_Audit_ActivityId $id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIpAddress($ipAddress)
+ {
+ $this->ipAddress = $ipAddress;
+ }
+ public function getIpAddress()
+ {
+ return $this->ipAddress;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOwnerDomain($ownerDomain)
+ {
+ $this->ownerDomain = $ownerDomain;
+ }
+ public function getOwnerDomain()
+ {
+ return $this->ownerDomain;
+ }
+}
+
+class Postman_Google_Service_Audit_ActivityActor extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $applicationId;
+ public $callerType;
+ public $email;
+ public $key;
+
+
+ public function setApplicationId($applicationId)
+ {
+ $this->applicationId = $applicationId;
+ }
+ public function getApplicationId()
+ {
+ return $this->applicationId;
+ }
+ public function setCallerType($callerType)
+ {
+ $this->callerType = $callerType;
+ }
+ public function getCallerType()
+ {
+ return $this->callerType;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+}
+
+class Postman_Google_Service_Audit_ActivityEvents extends Postman_Google_Collection
+{
+ protected $collection_key = 'parameters';
+ protected $internal_gapi_mappings = array(
+ );
+ public $eventType;
+ public $name;
+ protected $parametersType = 'Postman_Google_Service_Audit_ActivityEventsParameters';
+ protected $parametersDataType = 'array';
+
+
+ public function setEventType($eventType)
+ {
+ $this->eventType = $eventType;
+ }
+ public function getEventType()
+ {
+ return $this->eventType;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setParameters($parameters)
+ {
+ $this->parameters = $parameters;
+ }
+ public function getParameters()
+ {
+ return $this->parameters;
+ }
+}
+
+class Postman_Google_Service_Audit_ActivityEventsParameters extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+ public $value;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Audit_ActivityId extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $applicationId;
+ public $customerId;
+ public $time;
+ public $uniqQualifier;
+
+
+ public function setApplicationId($applicationId)
+ {
+ $this->applicationId = $applicationId;
+ }
+ public function getApplicationId()
+ {
+ return $this->applicationId;
+ }
+ public function setCustomerId($customerId)
+ {
+ $this->customerId = $customerId;
+ }
+ public function getCustomerId()
+ {
+ return $this->customerId;
+ }
+ public function setTime($time)
+ {
+ $this->time = $time;
+ }
+ public function getTime()
+ {
+ return $this->time;
+ }
+ public function setUniqQualifier($uniqQualifier)
+ {
+ $this->uniqQualifier = $uniqQualifier;
+ }
+ public function getUniqQualifier()
+ {
+ return $this->uniqQualifier;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Autoscaler.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Autoscaler.php
new file mode 100644
index 0000000..5ee6fdc
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Autoscaler.php
@@ -0,0 +1,1400 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Autoscaler (v1beta2).
+ *
+ * <p>
+ * The Google Compute Engine Autoscaler API provides autoscaling for groups of
+ * Cloud VMs.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="http://developers.google.com/compute/docs/autoscaler" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Autoscaler extends Postman_Google_Service
+{
+ /** View and manage your Google Compute Engine resources. */
+ const COMPUTE =
+ "https://www.googleapis.com/auth/compute";
+ /** View your Google Compute Engine resources. */
+ const COMPUTE_READONLY =
+ "https://www.googleapis.com/auth/compute.readonly";
+
+ public $autoscalers;
+ public $zoneOperations;
+ public $zones;
+
+
+ /**
+ * Constructs the internal representation of the Autoscaler service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'autoscaler/v1beta2/';
+ $this->version = 'v1beta2';
+ $this->serviceName = 'autoscaler';
+
+ $this->autoscalers = new Postman_Google_Service_Autoscaler_Autoscalers_Resource(
+ $this,
+ $this->serviceName,
+ 'autoscalers',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoscaler' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoscaler' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoscaler' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoscaler' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->zoneOperations = new Postman_Google_Service_Autoscaler_ZoneOperations_Resource(
+ $this,
+ $this->serviceName,
+ 'zoneOperations',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/zones/{zone}/operations/{operation}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'operation' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/zones/{zone}/operations/{operation}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'operation' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/zones/{zone}/operations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->zones = new Postman_Google_Service_Autoscaler_Zones_Resource(
+ $this,
+ $this->serviceName,
+ 'zones',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{project}/zones',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "autoscalers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $autoscalerService = new Postman_Google_Service_Autoscaler(...);
+ * $autoscalers = $autoscalerService->autoscalers;
+ * </code>
+ */
+class Postman_Google_Service_Autoscaler_Autoscalers_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified Autoscaler resource. (autoscalers.delete)
+ *
+ * @param string $project Project ID of Autoscaler resource.
+ * @param string $zone Zone name of Autoscaler resource.
+ * @param string $autoscaler Name of the Autoscaler resource.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Autoscaler_Operation
+ */
+ public function delete($project, $zone, $autoscaler, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_Autoscaler_Operation");
+ }
+
+ /**
+ * Gets the specified Autoscaler resource. (autoscalers.get)
+ *
+ * @param string $project Project ID of Autoscaler resource.
+ * @param string $zone Zone name of Autoscaler resource.
+ * @param string $autoscaler Name of the Autoscaler resource.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Autoscaler_Autoscaler
+ */
+ public function get($project, $zone, $autoscaler, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Autoscaler_Autoscaler");
+ }
+
+ /**
+ * Adds new Autoscaler resource. (autoscalers.insert)
+ *
+ * @param string $project Project ID of Autoscaler resource.
+ * @param string $zone Zone name of Autoscaler resource.
+ * @param Postman_Google_Autoscaler $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Autoscaler_Operation
+ */
+ public function insert($project, $zone, Postman_Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Autoscaler_Operation");
+ }
+
+ /**
+ * Lists all Autoscaler resources in this zone. (autoscalers.listAutoscalers)
+ *
+ * @param string $project Project ID of Autoscaler resource.
+ * @param string $zone Zone name of Autoscaler resource.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * @opt_param string pageToken
+ * @opt_param string maxResults
+ * @return Postman_Google_Service_Autoscaler_AutoscalerListResponse
+ */
+ public function listAutoscalers($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Autoscaler_AutoscalerListResponse");
+ }
+
+ /**
+ * Update the entire content of the Autoscaler resource. This method supports
+ * patch semantics. (autoscalers.patch)
+ *
+ * @param string $project Project ID of Autoscaler resource.
+ * @param string $zone Zone name of Autoscaler resource.
+ * @param string $autoscaler Name of the Autoscaler resource.
+ * @param Postman_Google_Autoscaler $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Autoscaler_Operation
+ */
+ public function patch($project, $zone, $autoscaler, Postman_Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Autoscaler_Operation");
+ }
+
+ /**
+ * Update the entire content of the Autoscaler resource. (autoscalers.update)
+ *
+ * @param string $project Project ID of Autoscaler resource.
+ * @param string $zone Zone name of Autoscaler resource.
+ * @param string $autoscaler Name of the Autoscaler resource.
+ * @param Postman_Google_Autoscaler $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Autoscaler_Operation
+ */
+ public function update($project, $zone, $autoscaler, Postman_Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Autoscaler_Operation");
+ }
+}
+
+/**
+ * The "zoneOperations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $autoscalerService = new Postman_Google_Service_Autoscaler(...);
+ * $zoneOperations = $autoscalerService->zoneOperations;
+ * </code>
+ */
+class Postman_Google_Service_Autoscaler_ZoneOperations_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified zone-specific operation resource.
+ * (zoneOperations.delete)
+ *
+ * @param string $project
+ * @param string $zone
+ * @param string $operation
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($project, $zone, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves the specified zone-specific operation resource.
+ * (zoneOperations.get)
+ *
+ * @param string $project
+ * @param string $zone
+ * @param string $operation
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Autoscaler_Operation
+ */
+ public function get($project, $zone, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Autoscaler_Operation");
+ }
+
+ /**
+ * Retrieves the list of operation resources contained within the specified
+ * zone. (zoneOperations.listZoneOperations)
+ *
+ * @param string $project
+ * @param string $zone
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * @opt_param string pageToken
+ * @opt_param string maxResults
+ * @return Postman_Google_Service_Autoscaler_OperationList
+ */
+ public function listZoneOperations($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Autoscaler_OperationList");
+ }
+}
+
+/**
+ * The "zones" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $autoscalerService = new Postman_Google_Service_Autoscaler(...);
+ * $zones = $autoscalerService->zones;
+ * </code>
+ */
+class Postman_Google_Service_Autoscaler_Zones_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * (zones.listZones)
+ *
+ * @param string $project
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * @opt_param string pageToken
+ * @opt_param string maxResults
+ * @return Postman_Google_Service_Autoscaler_ZoneList
+ */
+ public function listZones($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Autoscaler_ZoneList");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Autoscaler_Autoscaler extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $autoscalingPolicyType = 'Postman_Google_Service_Autoscaler_AutoscalingPolicy';
+ protected $autoscalingPolicyDataType = '';
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ public $selfLink;
+ public $target;
+
+
+ public function setAutoscalingPolicy(Postman_Google_Service_Autoscaler_AutoscalingPolicy $autoscalingPolicy)
+ {
+ $this->autoscalingPolicy = $autoscalingPolicy;
+ }
+ public function getAutoscalingPolicy()
+ {
+ return $this->autoscalingPolicy;
+ }
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTarget($target)
+ {
+ $this->target = $target;
+ }
+ public function getTarget()
+ {
+ return $this->target;
+ }
+}
+
+class Postman_Google_Service_Autoscaler_AutoscalerListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Autoscaler_Autoscaler';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Autoscaler_AutoscalingPolicy extends Postman_Google_Collection
+{
+ protected $collection_key = 'customMetricUtilizations';
+ protected $internal_gapi_mappings = array(
+ );
+ public $coolDownPeriodSec;
+ protected $cpuUtilizationType = 'Postman_Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization';
+ protected $cpuUtilizationDataType = '';
+ protected $customMetricUtilizationsType = 'Postman_Google_Service_Autoscaler_AutoscalingPolicyCustomMetricUtilization';
+ protected $customMetricUtilizationsDataType = 'array';
+ protected $loadBalancingUtilizationType = 'Postman_Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization';
+ protected $loadBalancingUtilizationDataType = '';
+ public $maxNumReplicas;
+ public $minNumReplicas;
+
+
+ public function setCoolDownPeriodSec($coolDownPeriodSec)
+ {
+ $this->coolDownPeriodSec = $coolDownPeriodSec;
+ }
+ public function getCoolDownPeriodSec()
+ {
+ return $this->coolDownPeriodSec;
+ }
+ public function setCpuUtilization(Postman_Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization $cpuUtilization)
+ {
+ $this->cpuUtilization = $cpuUtilization;
+ }
+ public function getCpuUtilization()
+ {
+ return $this->cpuUtilization;
+ }
+ public function setCustomMetricUtilizations($customMetricUtilizations)
+ {
+ $this->customMetricUtilizations = $customMetricUtilizations;
+ }
+ public function getCustomMetricUtilizations()
+ {
+ return $this->customMetricUtilizations;
+ }
+ public function setLoadBalancingUtilization(Postman_Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization $loadBalancingUtilization)
+ {
+ $this->loadBalancingUtilization = $loadBalancingUtilization;
+ }
+ public function getLoadBalancingUtilization()
+ {
+ return $this->loadBalancingUtilization;
+ }
+ public function setMaxNumReplicas($maxNumReplicas)
+ {
+ $this->maxNumReplicas = $maxNumReplicas;
+ }
+ public function getMaxNumReplicas()
+ {
+ return $this->maxNumReplicas;
+ }
+ public function setMinNumReplicas($minNumReplicas)
+ {
+ $this->minNumReplicas = $minNumReplicas;
+ }
+ public function getMinNumReplicas()
+ {
+ return $this->minNumReplicas;
+ }
+}
+
+class Postman_Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $utilizationTarget;
+
+
+ public function setUtilizationTarget($utilizationTarget)
+ {
+ $this->utilizationTarget = $utilizationTarget;
+ }
+ public function getUtilizationTarget()
+ {
+ return $this->utilizationTarget;
+ }
+}
+
+class Postman_Google_Service_Autoscaler_AutoscalingPolicyCustomMetricUtilization extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $metric;
+ public $utilizationTarget;
+ public $utilizationTargetType;
+
+
+ public function setMetric($metric)
+ {
+ $this->metric = $metric;
+ }
+ public function getMetric()
+ {
+ return $this->metric;
+ }
+ public function setUtilizationTarget($utilizationTarget)
+ {
+ $this->utilizationTarget = $utilizationTarget;
+ }
+ public function getUtilizationTarget()
+ {
+ return $this->utilizationTarget;
+ }
+ public function setUtilizationTargetType($utilizationTargetType)
+ {
+ $this->utilizationTargetType = $utilizationTargetType;
+ }
+ public function getUtilizationTargetType()
+ {
+ return $this->utilizationTargetType;
+ }
+}
+
+class Postman_Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $utilizationTarget;
+
+
+ public function setUtilizationTarget($utilizationTarget)
+ {
+ $this->utilizationTarget = $utilizationTarget;
+ }
+ public function getUtilizationTarget()
+ {
+ return $this->utilizationTarget;
+ }
+}
+
+class Postman_Google_Service_Autoscaler_DeprecationStatus extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $deleted;
+ public $deprecated;
+ public $obsolete;
+ public $replacement;
+ public $state;
+
+
+ public function setDeleted($deleted)
+ {
+ $this->deleted = $deleted;
+ }
+ public function getDeleted()
+ {
+ return $this->deleted;
+ }
+ public function setDeprecated($deprecated)
+ {
+ $this->deprecated = $deprecated;
+ }
+ public function getDeprecated()
+ {
+ return $this->deprecated;
+ }
+ public function setObsolete($obsolete)
+ {
+ $this->obsolete = $obsolete;
+ }
+ public function getObsolete()
+ {
+ return $this->obsolete;
+ }
+ public function setReplacement($replacement)
+ {
+ $this->replacement = $replacement;
+ }
+ public function getReplacement()
+ {
+ return $this->replacement;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+}
+
+class Postman_Google_Service_Autoscaler_Operation extends Postman_Google_Collection
+{
+ protected $collection_key = 'warnings';
+ protected $internal_gapi_mappings = array(
+ );
+ public $clientOperationId;
+ public $creationTimestamp;
+ public $endTime;
+ protected $errorType = 'Postman_Google_Service_Autoscaler_OperationError';
+ protected $errorDataType = '';
+ public $httpErrorMessage;
+ public $httpErrorStatusCode;
+ public $id;
+ public $insertTime;
+ public $kind;
+ public $name;
+ public $operationType;
+ public $progress;
+ public $region;
+ public $selfLink;
+ public $startTime;
+ public $status;
+ public $statusMessage;
+ public $targetId;
+ public $targetLink;
+ public $user;
+ protected $warningsType = 'Postman_Google_Service_Autoscaler_OperationWarnings';
+ protected $warningsDataType = 'array';
+ public $zone;
+
+
+ public function setClientOperationId($clientOperationId)
+ {
+ $this->clientOperationId = $clientOperationId;
+ }
+ public function getClientOperationId()
+ {
+ return $this->clientOperationId;
+ }
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setError(Postman_Google_Service_Autoscaler_OperationError $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setHttpErrorMessage($httpErrorMessage)
+ {
+ $this->httpErrorMessage = $httpErrorMessage;
+ }
+ public function getHttpErrorMessage()
+ {
+ return $this->httpErrorMessage;
+ }
+ public function setHttpErrorStatusCode($httpErrorStatusCode)
+ {
+ $this->httpErrorStatusCode = $httpErrorStatusCode;
+ }
+ public function getHttpErrorStatusCode()
+ {
+ return $this->httpErrorStatusCode;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInsertTime($insertTime)
+ {
+ $this->insertTime = $insertTime;
+ }
+ public function getInsertTime()
+ {
+ return $this->insertTime;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOperationType($operationType)
+ {
+ $this->operationType = $operationType;
+ }
+ public function getOperationType()
+ {
+ return $this->operationType;
+ }
+ public function setProgress($progress)
+ {
+ $this->progress = $progress;
+ }
+ public function getProgress()
+ {
+ return $this->progress;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setStatusMessage($statusMessage)
+ {
+ $this->statusMessage = $statusMessage;
+ }
+ public function getStatusMessage()
+ {
+ return $this->statusMessage;
+ }
+ public function setTargetId($targetId)
+ {
+ $this->targetId = $targetId;
+ }
+ public function getTargetId()
+ {
+ return $this->targetId;
+ }
+ public function setTargetLink($targetLink)
+ {
+ $this->targetLink = $targetLink;
+ }
+ public function getTargetLink()
+ {
+ return $this->targetLink;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Postman_Google_Service_Autoscaler_OperationError extends Postman_Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $errorsType = 'Postman_Google_Service_Autoscaler_OperationErrorErrors';
+ protected $errorsDataType = 'array';
+
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Postman_Google_Service_Autoscaler_OperationErrorErrors extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $location;
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Postman_Google_Service_Autoscaler_OperationList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Autoscaler_Operation';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Autoscaler_OperationWarnings extends Postman_Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $dataType = 'Postman_Google_Service_Autoscaler_OperationWarningsData';
+ protected $dataDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Postman_Google_Service_Autoscaler_OperationWarningsData extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Autoscaler_Zone extends Postman_Google_Collection
+{
+ protected $collection_key = 'maintenanceWindows';
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ protected $deprecatedType = 'Postman_Google_Service_Autoscaler_DeprecationStatus';
+ protected $deprecatedDataType = '';
+ public $description;
+ public $id;
+ public $kind;
+ protected $maintenanceWindowsType = 'Postman_Google_Service_Autoscaler_ZoneMaintenanceWindows';
+ protected $maintenanceWindowsDataType = 'array';
+ public $name;
+ public $region;
+ public $selfLink;
+ public $status;
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDeprecated(Postman_Google_Service_Autoscaler_DeprecationStatus $deprecated)
+ {
+ $this->deprecated = $deprecated;
+ }
+ public function getDeprecated()
+ {
+ return $this->deprecated;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMaintenanceWindows($maintenanceWindows)
+ {
+ $this->maintenanceWindows = $maintenanceWindows;
+ }
+ public function getMaintenanceWindows()
+ {
+ return $this->maintenanceWindows;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Postman_Google_Service_Autoscaler_ZoneList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Autoscaler_Zone';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Autoscaler_ZoneMaintenanceWindows extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $beginTime;
+ public $description;
+ public $endTime;
+ public $name;
+
+
+ public function setBeginTime($beginTime)
+ {
+ $this->beginTime = $beginTime;
+ }
+ public function getBeginTime()
+ {
+ return $this->beginTime;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Bigquery.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Bigquery.php
new file mode 100644
index 0000000..04243cb
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Bigquery.php
@@ -0,0 +1,3203 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Bigquery (v2).
+ *
+ * <p>
+ * A data platform for customers to create, manage, share and query data.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/bigquery/docs/overview" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Bigquery extends Postman_Google_Service
+{
+ /** View and manage your data in Google BigQuery. */
+ const BIGQUERY =
+ "https://www.googleapis.com/auth/bigquery";
+ /** Insert data into Google BigQuery. */
+ const BIGQUERY_INSERTDATA =
+ "https://www.googleapis.com/auth/bigquery.insertdata";
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** Manage your data and permissions in Google Cloud Storage. */
+ const DEVSTORAGE_FULL_CONTROL =
+ "https://www.googleapis.com/auth/devstorage.full_control";
+ /** View your data in Google Cloud Storage. */
+ const DEVSTORAGE_READ_ONLY =
+ "https://www.googleapis.com/auth/devstorage.read_only";
+ /** Manage your data in Google Cloud Storage. */
+ const DEVSTORAGE_READ_WRITE =
+ "https://www.googleapis.com/auth/devstorage.read_write";
+
+ public $datasets;
+ public $jobs;
+ public $projects;
+ public $tabledata;
+ public $tables;
+
+
+ /**
+ * Constructs the internal representation of the Bigquery service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'bigquery/v2/';
+ $this->version = 'v2';
+ $this->serviceName = 'bigquery';
+
+ $this->datasets = new Postman_Google_Service_Bigquery_Datasets_Resource(
+ $this,
+ $this->serviceName,
+ 'datasets',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'projects/{projectId}/datasets/{datasetId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deleteContents' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'projects/{projectId}/datasets/{datasetId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'projects/{projectId}/datasets',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'projects/{projectId}/datasets',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'all' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'projects/{projectId}/datasets/{datasetId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'projects/{projectId}/datasets/{datasetId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->jobs = new Postman_Google_Service_Bigquery_Jobs_Resource(
+ $this,
+ $this->serviceName,
+ 'jobs',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'projects/{projectId}/jobs/{jobId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getQueryResults' => array(
+ 'path' => 'projects/{projectId}/queries/{jobId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'timeoutMs' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'projects/{projectId}/jobs',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'projects/{projectId}/jobs',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'stateFilter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'allUsers' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'query' => array(
+ 'path' => 'projects/{projectId}/queries',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects = new Postman_Google_Service_Bigquery_Projects_Resource(
+ $this,
+ $this->serviceName,
+ 'projects',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'projects',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->tabledata = new Postman_Google_Service_Bigquery_Tabledata_Resource(
+ $this,
+ $this->serviceName,
+ 'tabledata',
+ array(
+ 'methods' => array(
+ 'insertAll' => array(
+ 'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/insertAll',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/data',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->tables = new Postman_Google_Service_Bigquery_Tables_Resource(
+ $this,
+ $this->serviceName,
+ 'tables',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'projects/{projectId}/datasets/{datasetId}/tables',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'projects/{projectId}/datasets/{datasetId}/tables',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "datasets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bigqueryService = new Postman_Google_Service_Bigquery(...);
+ * $datasets = $bigqueryService->datasets;
+ * </code>
+ */
+class Postman_Google_Service_Bigquery_Datasets_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the dataset specified by the datasetId value. Before you can delete a
+ * dataset, you must delete all its tables, either manually or by specifying
+ * deleteContents. Immediately after deletion, you can create another dataset
+ * with the same name. (datasets.delete)
+ *
+ * @param string $projectId Project ID of the dataset being deleted
+ * @param string $datasetId Dataset ID of dataset being deleted
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool deleteContents If True, delete all the tables in the dataset.
+ * If False and the dataset contains tables, the request will fail. Default is
+ * False
+ */
+ public function delete($projectId, $datasetId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'datasetId' => $datasetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Returns the dataset specified by datasetID. (datasets.get)
+ *
+ * @param string $projectId Project ID of the requested dataset
+ * @param string $datasetId Dataset ID of the requested dataset
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Bigquery_Dataset
+ */
+ public function get($projectId, $datasetId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'datasetId' => $datasetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Bigquery_Dataset");
+ }
+
+ /**
+ * Creates a new empty dataset. (datasets.insert)
+ *
+ * @param string $projectId Project ID of the new dataset
+ * @param Postman_Google_Dataset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Bigquery_Dataset
+ */
+ public function insert($projectId, Postman_Google_Service_Bigquery_Dataset $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Bigquery_Dataset");
+ }
+
+ /**
+ * Lists all the datasets in the specified project to which the caller has read
+ * access; however, a project owner can list (but not necessarily get) all
+ * datasets in his project. (datasets.listDatasets)
+ *
+ * @param string $projectId Project ID of the datasets to be listed
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Page token, returned by a previous call, to
+ * request the next page of results
+ * @opt_param bool all Whether to list all datasets, including hidden ones
+ * @opt_param string maxResults The maximum number of results to return
+ * @return Postman_Google_Service_Bigquery_DatasetList
+ */
+ public function listDatasets($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Bigquery_DatasetList");
+ }
+
+ /**
+ * Updates information in an existing dataset. The update method replaces the
+ * entire dataset resource, whereas the patch method only replaces fields that
+ * are provided in the submitted dataset resource. This method supports patch
+ * semantics. (datasets.patch)
+ *
+ * @param string $projectId Project ID of the dataset being updated
+ * @param string $datasetId Dataset ID of the dataset being updated
+ * @param Postman_Google_Dataset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Bigquery_Dataset
+ */
+ public function patch($projectId, $datasetId, Postman_Google_Service_Bigquery_Dataset $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Bigquery_Dataset");
+ }
+
+ /**
+ * Updates information in an existing dataset. The update method replaces the
+ * entire dataset resource, whereas the patch method only replaces fields that
+ * are provided in the submitted dataset resource. (datasets.update)
+ *
+ * @param string $projectId Project ID of the dataset being updated
+ * @param string $datasetId Dataset ID of the dataset being updated
+ * @param Postman_Google_Dataset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Bigquery_Dataset
+ */
+ public function update($projectId, $datasetId, Postman_Google_Service_Bigquery_Dataset $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Bigquery_Dataset");
+ }
+}
+
+/**
+ * The "jobs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bigqueryService = new Postman_Google_Service_Bigquery(...);
+ * $jobs = $bigqueryService->jobs;
+ * </code>
+ */
+class Postman_Google_Service_Bigquery_Jobs_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves the specified job by ID. (jobs.get)
+ *
+ * @param string $projectId Project ID of the requested job
+ * @param string $jobId Job ID of the requested job
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Bigquery_Job
+ */
+ public function get($projectId, $jobId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Bigquery_Job");
+ }
+
+ /**
+ * Retrieves the results of a query job. (jobs.getQueryResults)
+ *
+ * @param string $projectId Project ID of the query job
+ * @param string $jobId Job ID of the query job
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string timeoutMs How long to wait for the query to complete, in
+ * milliseconds, before returning. Default is to return immediately. If the
+ * timeout passes before the job completes, the request will fail with a TIMEOUT
+ * error
+ * @opt_param string maxResults Maximum number of results to read
+ * @opt_param string pageToken Page token, returned by a previous call, to
+ * request the next page of results
+ * @opt_param string startIndex Zero-based index of the starting row
+ * @return Postman_Google_Service_Bigquery_GetQueryResultsResponse
+ */
+ public function getQueryResults($projectId, $jobId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getQueryResults', array($params), "Postman_Google_Service_Bigquery_GetQueryResultsResponse");
+ }
+
+ /**
+ * Starts a new asynchronous job. (jobs.insert)
+ *
+ * @param string $projectId Project ID of the project that will be billed for
+ * the job
+ * @param Postman_Google_Job $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Bigquery_Job
+ */
+ public function insert($projectId, Postman_Google_Service_Bigquery_Job $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Bigquery_Job");
+ }
+
+ /**
+ * Lists all the Jobs in the specified project that were started by the user.
+ * The job list returns in reverse chronological order of when the jobs were
+ * created, starting with the most recent job created. (jobs.listJobs)
+ *
+ * @param string $projectId Project ID of the jobs to list
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projection Restrict information returned to a set of
+ * selected fields
+ * @opt_param string stateFilter Filter for job state
+ * @opt_param bool allUsers Whether to display jobs owned by all users in the
+ * project. Default false
+ * @opt_param string maxResults Maximum number of results to return
+ * @opt_param string pageToken Page token, returned by a previous call, to
+ * request the next page of results
+ * @return Postman_Google_Service_Bigquery_JobList
+ */
+ public function listJobs($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Bigquery_JobList");
+ }
+
+ /**
+ * Runs a BigQuery SQL query synchronously and returns query results if the
+ * query completes within a specified timeout. (jobs.query)
+ *
+ * @param string $projectId Project ID of the project billed for the query
+ * @param Postman_Google_QueryRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Bigquery_QueryResponse
+ */
+ public function query($projectId, Postman_Google_Service_Bigquery_QueryRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('query', array($params), "Postman_Google_Service_Bigquery_QueryResponse");
+ }
+}
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bigqueryService = new Postman_Google_Service_Bigquery(...);
+ * $projects = $bigqueryService->projects;
+ * </code>
+ */
+class Postman_Google_Service_Bigquery_Projects_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Lists the projects to which you have at least read access.
+ * (projects.listProjects)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Page token, returned by a previous call, to
+ * request the next page of results
+ * @opt_param string maxResults Maximum number of results to return
+ * @return Postman_Google_Service_Bigquery_ProjectList
+ */
+ public function listProjects($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Bigquery_ProjectList");
+ }
+}
+
+/**
+ * The "tabledata" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bigqueryService = new Postman_Google_Service_Bigquery(...);
+ * $tabledata = $bigqueryService->tabledata;
+ * </code>
+ */
+class Postman_Google_Service_Bigquery_Tabledata_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Streams data into BigQuery one record at a time without needing to run a load
+ * job. (tabledata.insertAll)
+ *
+ * @param string $projectId Project ID of the destination table.
+ * @param string $datasetId Dataset ID of the destination table.
+ * @param string $tableId Table ID of the destination table.
+ * @param Postman_Google_TableDataInsertAllRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Bigquery_TableDataInsertAllResponse
+ */
+ public function insertAll($projectId, $datasetId, $tableId, Postman_Google_Service_Bigquery_TableDataInsertAllRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insertAll', array($params), "Postman_Google_Service_Bigquery_TableDataInsertAllResponse");
+ }
+
+ /**
+ * Retrieves table data from a specified set of rows. (tabledata.listTabledata)
+ *
+ * @param string $projectId Project ID of the table to read
+ * @param string $datasetId Dataset ID of the table to read
+ * @param string $tableId Table ID of the table to read
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults Maximum number of results to return
+ * @opt_param string pageToken Page token, returned by a previous call,
+ * identifying the result set
+ * @opt_param string startIndex Zero-based index of the starting row to read
+ * @return Postman_Google_Service_Bigquery_TableDataList
+ */
+ public function listTabledata($projectId, $datasetId, $tableId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Bigquery_TableDataList");
+ }
+}
+
+/**
+ * The "tables" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bigqueryService = new Postman_Google_Service_Bigquery(...);
+ * $tables = $bigqueryService->tables;
+ * </code>
+ */
+class Postman_Google_Service_Bigquery_Tables_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the table specified by tableId from the dataset. If the table
+ * contains data, all the data will be deleted. (tables.delete)
+ *
+ * @param string $projectId Project ID of the table to delete
+ * @param string $datasetId Dataset ID of the table to delete
+ * @param string $tableId Table ID of the table to delete
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($projectId, $datasetId, $tableId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets the specified table resource by table ID. This method does not return
+ * the data in the table, it only returns the table resource, which describes
+ * the structure of this table. (tables.get)
+ *
+ * @param string $projectId Project ID of the requested table
+ * @param string $datasetId Dataset ID of the requested table
+ * @param string $tableId Table ID of the requested table
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Bigquery_Table
+ */
+ public function get($projectId, $datasetId, $tableId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Bigquery_Table");
+ }
+
+ /**
+ * Creates a new, empty table in the dataset. (tables.insert)
+ *
+ * @param string $projectId Project ID of the new table
+ * @param string $datasetId Dataset ID of the new table
+ * @param Postman_Google_Table $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Bigquery_Table
+ */
+ public function insert($projectId, $datasetId, Postman_Google_Service_Bigquery_Table $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Bigquery_Table");
+ }
+
+ /**
+ * Lists all tables in the specified dataset. (tables.listTables)
+ *
+ * @param string $projectId Project ID of the tables to list
+ * @param string $datasetId Dataset ID of the tables to list
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Page token, returned by a previous call, to
+ * request the next page of results
+ * @opt_param string maxResults Maximum number of results to return
+ * @return Postman_Google_Service_Bigquery_TableList
+ */
+ public function listTables($projectId, $datasetId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'datasetId' => $datasetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Bigquery_TableList");
+ }
+
+ /**
+ * Updates information in an existing table. The update method replaces the
+ * entire table resource, whereas the patch method only replaces fields that are
+ * provided in the submitted table resource. This method supports patch
+ * semantics. (tables.patch)
+ *
+ * @param string $projectId Project ID of the table to update
+ * @param string $datasetId Dataset ID of the table to update
+ * @param string $tableId Table ID of the table to update
+ * @param Postman_Google_Table $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Bigquery_Table
+ */
+ public function patch($projectId, $datasetId, $tableId, Postman_Google_Service_Bigquery_Table $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Bigquery_Table");
+ }
+
+ /**
+ * Updates information in an existing table. The update method replaces the
+ * entire table resource, whereas the patch method only replaces fields that are
+ * provided in the submitted table resource. (tables.update)
+ *
+ * @param string $projectId Project ID of the table to update
+ * @param string $datasetId Dataset ID of the table to update
+ * @param string $tableId Table ID of the table to update
+ * @param Postman_Google_Table $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Bigquery_Table
+ */
+ public function update($projectId, $datasetId, $tableId, Postman_Google_Service_Bigquery_Table $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'datasetId' => $datasetId, 'tableId' => $tableId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Bigquery_Table");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Bigquery_Dataset extends Postman_Google_Collection
+{
+ protected $collection_key = 'access';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $accessType = 'Postman_Google_Service_Bigquery_DatasetAccess';
+ protected $accessDataType = 'array';
+ public $creationTime;
+ protected $datasetReferenceType = 'Postman_Google_Service_Bigquery_DatasetReference';
+ protected $datasetReferenceDataType = '';
+ public $description;
+ public $etag;
+ public $friendlyName;
+ public $id;
+ public $kind;
+ public $lastModifiedTime;
+ public $selfLink;
+
+
+ public function setAccess($access)
+ {
+ $this->access = $access;
+ }
+ public function getAccess()
+ {
+ return $this->access;
+ }
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setDatasetReference(Postman_Google_Service_Bigquery_DatasetReference $datasetReference)
+ {
+ $this->datasetReference = $datasetReference;
+ }
+ public function getDatasetReference()
+ {
+ return $this->datasetReference;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setFriendlyName($friendlyName)
+ {
+ $this->friendlyName = $friendlyName;
+ }
+ public function getFriendlyName()
+ {
+ return $this->friendlyName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Bigquery_DatasetAccess extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $domain;
+ public $groupByEmail;
+ public $role;
+ public $specialGroup;
+ public $userByEmail;
+ protected $viewType = 'Postman_Google_Service_Bigquery_TableReference';
+ protected $viewDataType = '';
+
+
+ public function setDomain($domain)
+ {
+ $this->domain = $domain;
+ }
+ public function getDomain()
+ {
+ return $this->domain;
+ }
+ public function setGroupByEmail($groupByEmail)
+ {
+ $this->groupByEmail = $groupByEmail;
+ }
+ public function getGroupByEmail()
+ {
+ return $this->groupByEmail;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+ public function setSpecialGroup($specialGroup)
+ {
+ $this->specialGroup = $specialGroup;
+ }
+ public function getSpecialGroup()
+ {
+ return $this->specialGroup;
+ }
+ public function setUserByEmail($userByEmail)
+ {
+ $this->userByEmail = $userByEmail;
+ }
+ public function getUserByEmail()
+ {
+ return $this->userByEmail;
+ }
+ public function setView(Postman_Google_Service_Bigquery_TableReference $view)
+ {
+ $this->view = $view;
+ }
+ public function getView()
+ {
+ return $this->view;
+ }
+}
+
+class Postman_Google_Service_Bigquery_DatasetList extends Postman_Google_Collection
+{
+ protected $collection_key = 'datasets';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $datasetsType = 'Postman_Google_Service_Bigquery_DatasetListDatasets';
+ protected $datasetsDataType = 'array';
+ public $etag;
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setDatasets($datasets)
+ {
+ $this->datasets = $datasets;
+ }
+ public function getDatasets()
+ {
+ return $this->datasets;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Bigquery_DatasetListDatasets extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $datasetReferenceType = 'Postman_Google_Service_Bigquery_DatasetReference';
+ protected $datasetReferenceDataType = '';
+ public $friendlyName;
+ public $id;
+ public $kind;
+
+
+ public function setDatasetReference(Postman_Google_Service_Bigquery_DatasetReference $datasetReference)
+ {
+ $this->datasetReference = $datasetReference;
+ }
+ public function getDatasetReference()
+ {
+ return $this->datasetReference;
+ }
+ public function setFriendlyName($friendlyName)
+ {
+ $this->friendlyName = $friendlyName;
+ }
+ public function getFriendlyName()
+ {
+ return $this->friendlyName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Bigquery_DatasetReference extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $datasetId;
+ public $projectId;
+
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+}
+
+class Postman_Google_Service_Bigquery_ErrorProto extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $debugInfo;
+ public $location;
+ public $message;
+ public $reason;
+
+
+ public function setDebugInfo($debugInfo)
+ {
+ $this->debugInfo = $debugInfo;
+ }
+ public function getDebugInfo()
+ {
+ return $this->debugInfo;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+}
+
+class Postman_Google_Service_Bigquery_GetQueryResultsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'rows';
+ protected $internal_gapi_mappings = array(
+ );
+ public $cacheHit;
+ public $etag;
+ public $jobComplete;
+ protected $jobReferenceType = 'Postman_Google_Service_Bigquery_JobReference';
+ protected $jobReferenceDataType = '';
+ public $kind;
+ public $pageToken;
+ protected $rowsType = 'Postman_Google_Service_Bigquery_TableRow';
+ protected $rowsDataType = 'array';
+ protected $schemaType = 'Postman_Google_Service_Bigquery_TableSchema';
+ protected $schemaDataType = '';
+ public $totalBytesProcessed;
+ public $totalRows;
+
+
+ public function setCacheHit($cacheHit)
+ {
+ $this->cacheHit = $cacheHit;
+ }
+ public function getCacheHit()
+ {
+ return $this->cacheHit;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setJobComplete($jobComplete)
+ {
+ $this->jobComplete = $jobComplete;
+ }
+ public function getJobComplete()
+ {
+ return $this->jobComplete;
+ }
+ public function setJobReference(Postman_Google_Service_Bigquery_JobReference $jobReference)
+ {
+ $this->jobReference = $jobReference;
+ }
+ public function getJobReference()
+ {
+ return $this->jobReference;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+ public function setRows($rows)
+ {
+ $this->rows = $rows;
+ }
+ public function getRows()
+ {
+ return $this->rows;
+ }
+ public function setSchema(Postman_Google_Service_Bigquery_TableSchema $schema)
+ {
+ $this->schema = $schema;
+ }
+ public function getSchema()
+ {
+ return $this->schema;
+ }
+ public function setTotalBytesProcessed($totalBytesProcessed)
+ {
+ $this->totalBytesProcessed = $totalBytesProcessed;
+ }
+ public function getTotalBytesProcessed()
+ {
+ return $this->totalBytesProcessed;
+ }
+ public function setTotalRows($totalRows)
+ {
+ $this->totalRows = $totalRows;
+ }
+ public function getTotalRows()
+ {
+ return $this->totalRows;
+ }
+}
+
+class Postman_Google_Service_Bigquery_Job extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $configurationType = 'Postman_Google_Service_Bigquery_JobConfiguration';
+ protected $configurationDataType = '';
+ public $etag;
+ public $id;
+ protected $jobReferenceType = 'Postman_Google_Service_Bigquery_JobReference';
+ protected $jobReferenceDataType = '';
+ public $kind;
+ public $selfLink;
+ protected $statisticsType = 'Postman_Google_Service_Bigquery_JobStatistics';
+ protected $statisticsDataType = '';
+ protected $statusType = 'Postman_Google_Service_Bigquery_JobStatus';
+ protected $statusDataType = '';
+
+
+ public function setConfiguration(Postman_Google_Service_Bigquery_JobConfiguration $configuration)
+ {
+ $this->configuration = $configuration;
+ }
+ public function getConfiguration()
+ {
+ return $this->configuration;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setJobReference(Postman_Google_Service_Bigquery_JobReference $jobReference)
+ {
+ $this->jobReference = $jobReference;
+ }
+ public function getJobReference()
+ {
+ return $this->jobReference;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStatistics(Postman_Google_Service_Bigquery_JobStatistics $statistics)
+ {
+ $this->statistics = $statistics;
+ }
+ public function getStatistics()
+ {
+ return $this->statistics;
+ }
+ public function setStatus(Postman_Google_Service_Bigquery_JobStatus $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Postman_Google_Service_Bigquery_JobConfiguration extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $copyType = 'Postman_Google_Service_Bigquery_JobConfigurationTableCopy';
+ protected $copyDataType = '';
+ public $dryRun;
+ protected $extractType = 'Postman_Google_Service_Bigquery_JobConfigurationExtract';
+ protected $extractDataType = '';
+ protected $linkType = 'Postman_Google_Service_Bigquery_JobConfigurationLink';
+ protected $linkDataType = '';
+ protected $loadType = 'Postman_Google_Service_Bigquery_JobConfigurationLoad';
+ protected $loadDataType = '';
+ protected $queryType = 'Postman_Google_Service_Bigquery_JobConfigurationQuery';
+ protected $queryDataType = '';
+
+
+ public function setCopy(Postman_Google_Service_Bigquery_JobConfigurationTableCopy $copy)
+ {
+ $this->copy = $copy;
+ }
+ public function getCopy()
+ {
+ return $this->copy;
+ }
+ public function setDryRun($dryRun)
+ {
+ $this->dryRun = $dryRun;
+ }
+ public function getDryRun()
+ {
+ return $this->dryRun;
+ }
+ public function setExtract(Postman_Google_Service_Bigquery_JobConfigurationExtract $extract)
+ {
+ $this->extract = $extract;
+ }
+ public function getExtract()
+ {
+ return $this->extract;
+ }
+ public function setLink(Postman_Google_Service_Bigquery_JobConfigurationLink $link)
+ {
+ $this->link = $link;
+ }
+ public function getLink()
+ {
+ return $this->link;
+ }
+ public function setLoad(Postman_Google_Service_Bigquery_JobConfigurationLoad $load)
+ {
+ $this->load = $load;
+ }
+ public function getLoad()
+ {
+ return $this->load;
+ }
+ public function setQuery(Postman_Google_Service_Bigquery_JobConfigurationQuery $query)
+ {
+ $this->query = $query;
+ }
+ public function getQuery()
+ {
+ return $this->query;
+ }
+}
+
+class Postman_Google_Service_Bigquery_JobConfigurationExtract extends Postman_Google_Collection
+{
+ protected $collection_key = 'destinationUris';
+ protected $internal_gapi_mappings = array(
+ );
+ public $compression;
+ public $destinationFormat;
+ public $destinationUri;
+ public $destinationUris;
+ public $fieldDelimiter;
+ public $printHeader;
+ protected $sourceTableType = 'Postman_Google_Service_Bigquery_TableReference';
+ protected $sourceTableDataType = '';
+
+
+ public function setCompression($compression)
+ {
+ $this->compression = $compression;
+ }
+ public function getCompression()
+ {
+ return $this->compression;
+ }
+ public function setDestinationFormat($destinationFormat)
+ {
+ $this->destinationFormat = $destinationFormat;
+ }
+ public function getDestinationFormat()
+ {
+ return $this->destinationFormat;
+ }
+ public function setDestinationUri($destinationUri)
+ {
+ $this->destinationUri = $destinationUri;
+ }
+ public function getDestinationUri()
+ {
+ return $this->destinationUri;
+ }
+ public function setDestinationUris($destinationUris)
+ {
+ $this->destinationUris = $destinationUris;
+ }
+ public function getDestinationUris()
+ {
+ return $this->destinationUris;
+ }
+ public function setFieldDelimiter($fieldDelimiter)
+ {
+ $this->fieldDelimiter = $fieldDelimiter;
+ }
+ public function getFieldDelimiter()
+ {
+ return $this->fieldDelimiter;
+ }
+ public function setPrintHeader($printHeader)
+ {
+ $this->printHeader = $printHeader;
+ }
+ public function getPrintHeader()
+ {
+ return $this->printHeader;
+ }
+ public function setSourceTable(Postman_Google_Service_Bigquery_TableReference $sourceTable)
+ {
+ $this->sourceTable = $sourceTable;
+ }
+ public function getSourceTable()
+ {
+ return $this->sourceTable;
+ }
+}
+
+class Postman_Google_Service_Bigquery_JobConfigurationLink extends Postman_Google_Collection
+{
+ protected $collection_key = 'sourceUri';
+ protected $internal_gapi_mappings = array(
+ );
+ public $createDisposition;
+ protected $destinationTableType = 'Postman_Google_Service_Bigquery_TableReference';
+ protected $destinationTableDataType = '';
+ public $sourceUri;
+ public $writeDisposition;
+
+
+ public function setCreateDisposition($createDisposition)
+ {
+ $this->createDisposition = $createDisposition;
+ }
+ public function getCreateDisposition()
+ {
+ return $this->createDisposition;
+ }
+ public function setDestinationTable(Postman_Google_Service_Bigquery_TableReference $destinationTable)
+ {
+ $this->destinationTable = $destinationTable;
+ }
+ public function getDestinationTable()
+ {
+ return $this->destinationTable;
+ }
+ public function setSourceUri($sourceUri)
+ {
+ $this->sourceUri = $sourceUri;
+ }
+ public function getSourceUri()
+ {
+ return $this->sourceUri;
+ }
+ public function setWriteDisposition($writeDisposition)
+ {
+ $this->writeDisposition = $writeDisposition;
+ }
+ public function getWriteDisposition()
+ {
+ return $this->writeDisposition;
+ }
+}
+
+class Postman_Google_Service_Bigquery_JobConfigurationLoad extends Postman_Google_Collection
+{
+ protected $collection_key = 'sourceUris';
+ protected $internal_gapi_mappings = array(
+ );
+ public $allowJaggedRows;
+ public $allowQuotedNewlines;
+ public $createDisposition;
+ protected $destinationTableType = 'Postman_Google_Service_Bigquery_TableReference';
+ protected $destinationTableDataType = '';
+ public $encoding;
+ public $fieldDelimiter;
+ public $ignoreUnknownValues;
+ public $maxBadRecords;
+ public $quote;
+ protected $schemaType = 'Postman_Google_Service_Bigquery_TableSchema';
+ protected $schemaDataType = '';
+ public $schemaInline;
+ public $schemaInlineFormat;
+ public $skipLeadingRows;
+ public $sourceFormat;
+ public $sourceUris;
+ public $writeDisposition;
+
+
+ public function setAllowJaggedRows($allowJaggedRows)
+ {
+ $this->allowJaggedRows = $allowJaggedRows;
+ }
+ public function getAllowJaggedRows()
+ {
+ return $this->allowJaggedRows;
+ }
+ public function setAllowQuotedNewlines($allowQuotedNewlines)
+ {
+ $this->allowQuotedNewlines = $allowQuotedNewlines;
+ }
+ public function getAllowQuotedNewlines()
+ {
+ return $this->allowQuotedNewlines;
+ }
+ public function setCreateDisposition($createDisposition)
+ {
+ $this->createDisposition = $createDisposition;
+ }
+ public function getCreateDisposition()
+ {
+ return $this->createDisposition;
+ }
+ public function setDestinationTable(Postman_Google_Service_Bigquery_TableReference $destinationTable)
+ {
+ $this->destinationTable = $destinationTable;
+ }
+ public function getDestinationTable()
+ {
+ return $this->destinationTable;
+ }
+ public function setEncoding($encoding)
+ {
+ $this->encoding = $encoding;
+ }
+ public function getEncoding()
+ {
+ return $this->encoding;
+ }
+ public function setFieldDelimiter($fieldDelimiter)
+ {
+ $this->fieldDelimiter = $fieldDelimiter;
+ }
+ public function getFieldDelimiter()
+ {
+ return $this->fieldDelimiter;
+ }
+ public function setIgnoreUnknownValues($ignoreUnknownValues)
+ {
+ $this->ignoreUnknownValues = $ignoreUnknownValues;
+ }
+ public function getIgnoreUnknownValues()
+ {
+ return $this->ignoreUnknownValues;
+ }
+ public function setMaxBadRecords($maxBadRecords)
+ {
+ $this->maxBadRecords = $maxBadRecords;
+ }
+ public function getMaxBadRecords()
+ {
+ return $this->maxBadRecords;
+ }
+ public function setQuote($quote)
+ {
+ $this->quote = $quote;
+ }
+ public function getQuote()
+ {
+ return $this->quote;
+ }
+ public function setSchema(Postman_Google_Service_Bigquery_TableSchema $schema)
+ {
+ $this->schema = $schema;
+ }
+ public function getSchema()
+ {
+ return $this->schema;
+ }
+ public function setSchemaInline($schemaInline)
+ {
+ $this->schemaInline = $schemaInline;
+ }
+ public function getSchemaInline()
+ {
+ return $this->schemaInline;
+ }
+ public function setSchemaInlineFormat($schemaInlineFormat)
+ {
+ $this->schemaInlineFormat = $schemaInlineFormat;
+ }
+ public function getSchemaInlineFormat()
+ {
+ return $this->schemaInlineFormat;
+ }
+ public function setSkipLeadingRows($skipLeadingRows)
+ {
+ $this->skipLeadingRows = $skipLeadingRows;
+ }
+ public function getSkipLeadingRows()
+ {
+ return $this->skipLeadingRows;
+ }
+ public function setSourceFormat($sourceFormat)
+ {
+ $this->sourceFormat = $sourceFormat;
+ }
+ public function getSourceFormat()
+ {
+ return $this->sourceFormat;
+ }
+ public function setSourceUris($sourceUris)
+ {
+ $this->sourceUris = $sourceUris;
+ }
+ public function getSourceUris()
+ {
+ return $this->sourceUris;
+ }
+ public function setWriteDisposition($writeDisposition)
+ {
+ $this->writeDisposition = $writeDisposition;
+ }
+ public function getWriteDisposition()
+ {
+ return $this->writeDisposition;
+ }
+}
+
+class Postman_Google_Service_Bigquery_JobConfigurationQuery extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $allowLargeResults;
+ public $createDisposition;
+ protected $defaultDatasetType = 'Postman_Google_Service_Bigquery_DatasetReference';
+ protected $defaultDatasetDataType = '';
+ protected $destinationTableType = 'Postman_Google_Service_Bigquery_TableReference';
+ protected $destinationTableDataType = '';
+ public $flattenResults;
+ public $preserveNulls;
+ public $priority;
+ public $query;
+ public $useQueryCache;
+ public $writeDisposition;
+
+
+ public function setAllowLargeResults($allowLargeResults)
+ {
+ $this->allowLargeResults = $allowLargeResults;
+ }
+ public function getAllowLargeResults()
+ {
+ return $this->allowLargeResults;
+ }
+ public function setCreateDisposition($createDisposition)
+ {
+ $this->createDisposition = $createDisposition;
+ }
+ public function getCreateDisposition()
+ {
+ return $this->createDisposition;
+ }
+ public function setDefaultDataset(Postman_Google_Service_Bigquery_DatasetReference $defaultDataset)
+ {
+ $this->defaultDataset = $defaultDataset;
+ }
+ public function getDefaultDataset()
+ {
+ return $this->defaultDataset;
+ }
+ public function setDestinationTable(Postman_Google_Service_Bigquery_TableReference $destinationTable)
+ {
+ $this->destinationTable = $destinationTable;
+ }
+ public function getDestinationTable()
+ {
+ return $this->destinationTable;
+ }
+ public function setFlattenResults($flattenResults)
+ {
+ $this->flattenResults = $flattenResults;
+ }
+ public function getFlattenResults()
+ {
+ return $this->flattenResults;
+ }
+ public function setPreserveNulls($preserveNulls)
+ {
+ $this->preserveNulls = $preserveNulls;
+ }
+ public function getPreserveNulls()
+ {
+ return $this->preserveNulls;
+ }
+ public function setPriority($priority)
+ {
+ $this->priority = $priority;
+ }
+ public function getPriority()
+ {
+ return $this->priority;
+ }
+ public function setQuery($query)
+ {
+ $this->query = $query;
+ }
+ public function getQuery()
+ {
+ return $this->query;
+ }
+ public function setUseQueryCache($useQueryCache)
+ {
+ $this->useQueryCache = $useQueryCache;
+ }
+ public function getUseQueryCache()
+ {
+ return $this->useQueryCache;
+ }
+ public function setWriteDisposition($writeDisposition)
+ {
+ $this->writeDisposition = $writeDisposition;
+ }
+ public function getWriteDisposition()
+ {
+ return $this->writeDisposition;
+ }
+}
+
+class Postman_Google_Service_Bigquery_JobConfigurationTableCopy extends Postman_Google_Collection
+{
+ protected $collection_key = 'sourceTables';
+ protected $internal_gapi_mappings = array(
+ );
+ public $createDisposition;
+ protected $destinationTableType = 'Postman_Google_Service_Bigquery_TableReference';
+ protected $destinationTableDataType = '';
+ protected $sourceTableType = 'Postman_Google_Service_Bigquery_TableReference';
+ protected $sourceTableDataType = '';
+ protected $sourceTablesType = 'Postman_Google_Service_Bigquery_TableReference';
+ protected $sourceTablesDataType = 'array';
+ public $writeDisposition;
+
+
+ public function setCreateDisposition($createDisposition)
+ {
+ $this->createDisposition = $createDisposition;
+ }
+ public function getCreateDisposition()
+ {
+ return $this->createDisposition;
+ }
+ public function setDestinationTable(Postman_Google_Service_Bigquery_TableReference $destinationTable)
+ {
+ $this->destinationTable = $destinationTable;
+ }
+ public function getDestinationTable()
+ {
+ return $this->destinationTable;
+ }
+ public function setSourceTable(Postman_Google_Service_Bigquery_TableReference $sourceTable)
+ {
+ $this->sourceTable = $sourceTable;
+ }
+ public function getSourceTable()
+ {
+ return $this->sourceTable;
+ }
+ public function setSourceTables($sourceTables)
+ {
+ $this->sourceTables = $sourceTables;
+ }
+ public function getSourceTables()
+ {
+ return $this->sourceTables;
+ }
+ public function setWriteDisposition($writeDisposition)
+ {
+ $this->writeDisposition = $writeDisposition;
+ }
+ public function getWriteDisposition()
+ {
+ return $this->writeDisposition;
+ }
+}
+
+class Postman_Google_Service_Bigquery_JobList extends Postman_Google_Collection
+{
+ protected $collection_key = 'jobs';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $jobsType = 'Postman_Google_Service_Bigquery_JobListJobs';
+ protected $jobsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $totalItems;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setJobs($jobs)
+ {
+ $this->jobs = $jobs;
+ }
+ public function getJobs()
+ {
+ return $this->jobs;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_Bigquery_JobListJobs extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "userEmail" => "user_email",
+ );
+ protected $configurationType = 'Postman_Google_Service_Bigquery_JobConfiguration';
+ protected $configurationDataType = '';
+ protected $errorResultType = 'Postman_Google_Service_Bigquery_ErrorProto';
+ protected $errorResultDataType = '';
+ public $id;
+ protected $jobReferenceType = 'Postman_Google_Service_Bigquery_JobReference';
+ protected $jobReferenceDataType = '';
+ public $kind;
+ public $state;
+ protected $statisticsType = 'Postman_Google_Service_Bigquery_JobStatistics';
+ protected $statisticsDataType = '';
+ protected $statusType = 'Postman_Google_Service_Bigquery_JobStatus';
+ protected $statusDataType = '';
+ public $userEmail;
+
+
+ public function setConfiguration(Postman_Google_Service_Bigquery_JobConfiguration $configuration)
+ {
+ $this->configuration = $configuration;
+ }
+ public function getConfiguration()
+ {
+ return $this->configuration;
+ }
+ public function setErrorResult(Postman_Google_Service_Bigquery_ErrorProto $errorResult)
+ {
+ $this->errorResult = $errorResult;
+ }
+ public function getErrorResult()
+ {
+ return $this->errorResult;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setJobReference(Postman_Google_Service_Bigquery_JobReference $jobReference)
+ {
+ $this->jobReference = $jobReference;
+ }
+ public function getJobReference()
+ {
+ return $this->jobReference;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setStatistics(Postman_Google_Service_Bigquery_JobStatistics $statistics)
+ {
+ $this->statistics = $statistics;
+ }
+ public function getStatistics()
+ {
+ return $this->statistics;
+ }
+ public function setStatus(Postman_Google_Service_Bigquery_JobStatus $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setUserEmail($userEmail)
+ {
+ $this->userEmail = $userEmail;
+ }
+ public function getUserEmail()
+ {
+ return $this->userEmail;
+ }
+}
+
+class Postman_Google_Service_Bigquery_JobReference extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $jobId;
+ public $projectId;
+
+
+ public function setJobId($jobId)
+ {
+ $this->jobId = $jobId;
+ }
+ public function getJobId()
+ {
+ return $this->jobId;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+}
+
+class Postman_Google_Service_Bigquery_JobStatistics extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTime;
+ public $endTime;
+ protected $extractType = 'Postman_Google_Service_Bigquery_JobStatistics4';
+ protected $extractDataType = '';
+ protected $loadType = 'Postman_Google_Service_Bigquery_JobStatistics3';
+ protected $loadDataType = '';
+ protected $queryType = 'Postman_Google_Service_Bigquery_JobStatistics2';
+ protected $queryDataType = '';
+ public $startTime;
+ public $totalBytesProcessed;
+
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setExtract(Postman_Google_Service_Bigquery_JobStatistics4 $extract)
+ {
+ $this->extract = $extract;
+ }
+ public function getExtract()
+ {
+ return $this->extract;
+ }
+ public function setLoad(Postman_Google_Service_Bigquery_JobStatistics3 $load)
+ {
+ $this->load = $load;
+ }
+ public function getLoad()
+ {
+ return $this->load;
+ }
+ public function setQuery(Postman_Google_Service_Bigquery_JobStatistics2 $query)
+ {
+ $this->query = $query;
+ }
+ public function getQuery()
+ {
+ return $this->query;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setTotalBytesProcessed($totalBytesProcessed)
+ {
+ $this->totalBytesProcessed = $totalBytesProcessed;
+ }
+ public function getTotalBytesProcessed()
+ {
+ return $this->totalBytesProcessed;
+ }
+}
+
+class Postman_Google_Service_Bigquery_JobStatistics2 extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $cacheHit;
+ public $totalBytesProcessed;
+
+
+ public function setCacheHit($cacheHit)
+ {
+ $this->cacheHit = $cacheHit;
+ }
+ public function getCacheHit()
+ {
+ return $this->cacheHit;
+ }
+ public function setTotalBytesProcessed($totalBytesProcessed)
+ {
+ $this->totalBytesProcessed = $totalBytesProcessed;
+ }
+ public function getTotalBytesProcessed()
+ {
+ return $this->totalBytesProcessed;
+ }
+}
+
+class Postman_Google_Service_Bigquery_JobStatistics3 extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $inputFileBytes;
+ public $inputFiles;
+ public $outputBytes;
+ public $outputRows;
+
+
+ public function setInputFileBytes($inputFileBytes)
+ {
+ $this->inputFileBytes = $inputFileBytes;
+ }
+ public function getInputFileBytes()
+ {
+ return $this->inputFileBytes;
+ }
+ public function setInputFiles($inputFiles)
+ {
+ $this->inputFiles = $inputFiles;
+ }
+ public function getInputFiles()
+ {
+ return $this->inputFiles;
+ }
+ public function setOutputBytes($outputBytes)
+ {
+ $this->outputBytes = $outputBytes;
+ }
+ public function getOutputBytes()
+ {
+ return $this->outputBytes;
+ }
+ public function setOutputRows($outputRows)
+ {
+ $this->outputRows = $outputRows;
+ }
+ public function getOutputRows()
+ {
+ return $this->outputRows;
+ }
+}
+
+class Postman_Google_Service_Bigquery_JobStatistics4 extends Postman_Google_Collection
+{
+ protected $collection_key = 'destinationUriFileCounts';
+ protected $internal_gapi_mappings = array(
+ );
+ public $destinationUriFileCounts;
+
+
+ public function setDestinationUriFileCounts($destinationUriFileCounts)
+ {
+ $this->destinationUriFileCounts = $destinationUriFileCounts;
+ }
+ public function getDestinationUriFileCounts()
+ {
+ return $this->destinationUriFileCounts;
+ }
+}
+
+class Postman_Google_Service_Bigquery_JobStatus extends Postman_Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $errorResultType = 'Postman_Google_Service_Bigquery_ErrorProto';
+ protected $errorResultDataType = '';
+ protected $errorsType = 'Postman_Google_Service_Bigquery_ErrorProto';
+ protected $errorsDataType = 'array';
+ public $state;
+
+
+ public function setErrorResult(Postman_Google_Service_Bigquery_ErrorProto $errorResult)
+ {
+ $this->errorResult = $errorResult;
+ }
+ public function getErrorResult()
+ {
+ return $this->errorResult;
+ }
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+}
+
+class Postman_Google_Service_Bigquery_JsonObject extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Bigquery_ProjectList extends Postman_Google_Collection
+{
+ protected $collection_key = 'projects';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $kind;
+ public $nextPageToken;
+ protected $projectsType = 'Postman_Google_Service_Bigquery_ProjectListProjects';
+ protected $projectsDataType = 'array';
+ public $totalItems;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setProjects($projects)
+ {
+ $this->projects = $projects;
+ }
+ public function getProjects()
+ {
+ return $this->projects;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_Bigquery_ProjectListProjects extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $friendlyName;
+ public $id;
+ public $kind;
+ public $numericId;
+ protected $projectReferenceType = 'Postman_Google_Service_Bigquery_ProjectReference';
+ protected $projectReferenceDataType = '';
+
+
+ public function setFriendlyName($friendlyName)
+ {
+ $this->friendlyName = $friendlyName;
+ }
+ public function getFriendlyName()
+ {
+ return $this->friendlyName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNumericId($numericId)
+ {
+ $this->numericId = $numericId;
+ }
+ public function getNumericId()
+ {
+ return $this->numericId;
+ }
+ public function setProjectReference(Postman_Google_Service_Bigquery_ProjectReference $projectReference)
+ {
+ $this->projectReference = $projectReference;
+ }
+ public function getProjectReference()
+ {
+ return $this->projectReference;
+ }
+}
+
+class Postman_Google_Service_Bigquery_ProjectReference extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $projectId;
+
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+}
+
+class Postman_Google_Service_Bigquery_QueryRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $defaultDatasetType = 'Postman_Google_Service_Bigquery_DatasetReference';
+ protected $defaultDatasetDataType = '';
+ public $dryRun;
+ public $kind;
+ public $maxResults;
+ public $preserveNulls;
+ public $query;
+ public $timeoutMs;
+ public $useQueryCache;
+
+
+ public function setDefaultDataset(Postman_Google_Service_Bigquery_DatasetReference $defaultDataset)
+ {
+ $this->defaultDataset = $defaultDataset;
+ }
+ public function getDefaultDataset()
+ {
+ return $this->defaultDataset;
+ }
+ public function setDryRun($dryRun)
+ {
+ $this->dryRun = $dryRun;
+ }
+ public function getDryRun()
+ {
+ return $this->dryRun;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMaxResults($maxResults)
+ {
+ $this->maxResults = $maxResults;
+ }
+ public function getMaxResults()
+ {
+ return $this->maxResults;
+ }
+ public function setPreserveNulls($preserveNulls)
+ {
+ $this->preserveNulls = $preserveNulls;
+ }
+ public function getPreserveNulls()
+ {
+ return $this->preserveNulls;
+ }
+ public function setQuery($query)
+ {
+ $this->query = $query;
+ }
+ public function getQuery()
+ {
+ return $this->query;
+ }
+ public function setTimeoutMs($timeoutMs)
+ {
+ $this->timeoutMs = $timeoutMs;
+ }
+ public function getTimeoutMs()
+ {
+ return $this->timeoutMs;
+ }
+ public function setUseQueryCache($useQueryCache)
+ {
+ $this->useQueryCache = $useQueryCache;
+ }
+ public function getUseQueryCache()
+ {
+ return $this->useQueryCache;
+ }
+}
+
+class Postman_Google_Service_Bigquery_QueryResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'rows';
+ protected $internal_gapi_mappings = array(
+ );
+ public $cacheHit;
+ public $jobComplete;
+ protected $jobReferenceType = 'Postman_Google_Service_Bigquery_JobReference';
+ protected $jobReferenceDataType = '';
+ public $kind;
+ public $pageToken;
+ protected $rowsType = 'Postman_Google_Service_Bigquery_TableRow';
+ protected $rowsDataType = 'array';
+ protected $schemaType = 'Postman_Google_Service_Bigquery_TableSchema';
+ protected $schemaDataType = '';
+ public $totalBytesProcessed;
+ public $totalRows;
+
+
+ public function setCacheHit($cacheHit)
+ {
+ $this->cacheHit = $cacheHit;
+ }
+ public function getCacheHit()
+ {
+ return $this->cacheHit;
+ }
+ public function setJobComplete($jobComplete)
+ {
+ $this->jobComplete = $jobComplete;
+ }
+ public function getJobComplete()
+ {
+ return $this->jobComplete;
+ }
+ public function setJobReference(Postman_Google_Service_Bigquery_JobReference $jobReference)
+ {
+ $this->jobReference = $jobReference;
+ }
+ public function getJobReference()
+ {
+ return $this->jobReference;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+ public function setRows($rows)
+ {
+ $this->rows = $rows;
+ }
+ public function getRows()
+ {
+ return $this->rows;
+ }
+ public function setSchema(Postman_Google_Service_Bigquery_TableSchema $schema)
+ {
+ $this->schema = $schema;
+ }
+ public function getSchema()
+ {
+ return $this->schema;
+ }
+ public function setTotalBytesProcessed($totalBytesProcessed)
+ {
+ $this->totalBytesProcessed = $totalBytesProcessed;
+ }
+ public function getTotalBytesProcessed()
+ {
+ return $this->totalBytesProcessed;
+ }
+ public function setTotalRows($totalRows)
+ {
+ $this->totalRows = $totalRows;
+ }
+ public function getTotalRows()
+ {
+ return $this->totalRows;
+ }
+}
+
+class Postman_Google_Service_Bigquery_Table extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTime;
+ public $description;
+ public $etag;
+ public $expirationTime;
+ public $friendlyName;
+ public $id;
+ public $kind;
+ public $lastModifiedTime;
+ public $numBytes;
+ public $numRows;
+ protected $schemaType = 'Postman_Google_Service_Bigquery_TableSchema';
+ protected $schemaDataType = '';
+ public $selfLink;
+ protected $tableReferenceType = 'Postman_Google_Service_Bigquery_TableReference';
+ protected $tableReferenceDataType = '';
+ public $type;
+ protected $viewType = 'Postman_Google_Service_Bigquery_ViewDefinition';
+ protected $viewDataType = '';
+
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setExpirationTime($expirationTime)
+ {
+ $this->expirationTime = $expirationTime;
+ }
+ public function getExpirationTime()
+ {
+ return $this->expirationTime;
+ }
+ public function setFriendlyName($friendlyName)
+ {
+ $this->friendlyName = $friendlyName;
+ }
+ public function getFriendlyName()
+ {
+ return $this->friendlyName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+ public function setNumBytes($numBytes)
+ {
+ $this->numBytes = $numBytes;
+ }
+ public function getNumBytes()
+ {
+ return $this->numBytes;
+ }
+ public function setNumRows($numRows)
+ {
+ $this->numRows = $numRows;
+ }
+ public function getNumRows()
+ {
+ return $this->numRows;
+ }
+ public function setSchema(Postman_Google_Service_Bigquery_TableSchema $schema)
+ {
+ $this->schema = $schema;
+ }
+ public function getSchema()
+ {
+ return $this->schema;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTableReference(Postman_Google_Service_Bigquery_TableReference $tableReference)
+ {
+ $this->tableReference = $tableReference;
+ }
+ public function getTableReference()
+ {
+ return $this->tableReference;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setView(Postman_Google_Service_Bigquery_ViewDefinition $view)
+ {
+ $this->view = $view;
+ }
+ public function getView()
+ {
+ return $this->view;
+ }
+}
+
+class Postman_Google_Service_Bigquery_TableCell extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $v;
+
+
+ public function setV($v)
+ {
+ $this->v = $v;
+ }
+ public function getV()
+ {
+ return $this->v;
+ }
+}
+
+class Postman_Google_Service_Bigquery_TableDataInsertAllRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'rows';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $rowsType = 'Postman_Google_Service_Bigquery_TableDataInsertAllRequestRows';
+ protected $rowsDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRows($rows)
+ {
+ $this->rows = $rows;
+ }
+ public function getRows()
+ {
+ return $this->rows;
+ }
+}
+
+class Postman_Google_Service_Bigquery_TableDataInsertAllRequestRows extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $insertId;
+ public $json;
+
+
+ public function setInsertId($insertId)
+ {
+ $this->insertId = $insertId;
+ }
+ public function getInsertId()
+ {
+ return $this->insertId;
+ }
+ public function setJson($json)
+ {
+ $this->json = $json;
+ }
+ public function getJson()
+ {
+ return $this->json;
+ }
+}
+
+class Postman_Google_Service_Bigquery_TableDataInsertAllResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'insertErrors';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $insertErrorsType = 'Postman_Google_Service_Bigquery_TableDataInsertAllResponseInsertErrors';
+ protected $insertErrorsDataType = 'array';
+ public $kind;
+
+
+ public function setInsertErrors($insertErrors)
+ {
+ $this->insertErrors = $insertErrors;
+ }
+ public function getInsertErrors()
+ {
+ return $this->insertErrors;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Bigquery_TableDataInsertAllResponseInsertErrors extends Postman_Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $errorsType = 'Postman_Google_Service_Bigquery_ErrorProto';
+ protected $errorsDataType = 'array';
+ public $index;
+
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setIndex($index)
+ {
+ $this->index = $index;
+ }
+ public function getIndex()
+ {
+ return $this->index;
+ }
+}
+
+class Postman_Google_Service_Bigquery_TableDataList extends Postman_Google_Collection
+{
+ protected $collection_key = 'rows';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $kind;
+ public $pageToken;
+ protected $rowsType = 'Postman_Google_Service_Bigquery_TableRow';
+ protected $rowsDataType = 'array';
+ public $totalRows;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+ public function setRows($rows)
+ {
+ $this->rows = $rows;
+ }
+ public function getRows()
+ {
+ return $this->rows;
+ }
+ public function setTotalRows($totalRows)
+ {
+ $this->totalRows = $totalRows;
+ }
+ public function getTotalRows()
+ {
+ return $this->totalRows;
+ }
+}
+
+class Postman_Google_Service_Bigquery_TableFieldSchema extends Postman_Google_Collection
+{
+ protected $collection_key = 'fields';
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ protected $fieldsType = 'Postman_Google_Service_Bigquery_TableFieldSchema';
+ protected $fieldsDataType = 'array';
+ public $mode;
+ public $name;
+ public $type;
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setMode($mode)
+ {
+ $this->mode = $mode;
+ }
+ public function getMode()
+ {
+ return $this->mode;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Bigquery_TableList extends Postman_Google_Collection
+{
+ protected $collection_key = 'tables';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $kind;
+ public $nextPageToken;
+ protected $tablesType = 'Postman_Google_Service_Bigquery_TableListTables';
+ protected $tablesDataType = 'array';
+ public $totalItems;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTables($tables)
+ {
+ $this->tables = $tables;
+ }
+ public function getTables()
+ {
+ return $this->tables;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_Bigquery_TableListTables extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $friendlyName;
+ public $id;
+ public $kind;
+ protected $tableReferenceType = 'Postman_Google_Service_Bigquery_TableReference';
+ protected $tableReferenceDataType = '';
+ public $type;
+
+
+ public function setFriendlyName($friendlyName)
+ {
+ $this->friendlyName = $friendlyName;
+ }
+ public function getFriendlyName()
+ {
+ return $this->friendlyName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setTableReference(Postman_Google_Service_Bigquery_TableReference $tableReference)
+ {
+ $this->tableReference = $tableReference;
+ }
+ public function getTableReference()
+ {
+ return $this->tableReference;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Bigquery_TableReference extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $datasetId;
+ public $projectId;
+ public $tableId;
+
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setTableId($tableId)
+ {
+ $this->tableId = $tableId;
+ }
+ public function getTableId()
+ {
+ return $this->tableId;
+ }
+}
+
+class Postman_Google_Service_Bigquery_TableRow extends Postman_Google_Collection
+{
+ protected $collection_key = 'f';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $fType = 'Postman_Google_Service_Bigquery_TableCell';
+ protected $fDataType = 'array';
+
+
+ public function setF($f)
+ {
+ $this->f = $f;
+ }
+ public function getF()
+ {
+ return $this->f;
+ }
+}
+
+class Postman_Google_Service_Bigquery_TableSchema extends Postman_Google_Collection
+{
+ protected $collection_key = 'fields';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $fieldsType = 'Postman_Google_Service_Bigquery_TableFieldSchema';
+ protected $fieldsDataType = 'array';
+
+
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+}
+
+class Postman_Google_Service_Bigquery_ViewDefinition extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $query;
+
+
+ public function setQuery($query)
+ {
+ $this->query = $query;
+ }
+ public function getQuery()
+ {
+ return $this->query;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Blogger.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Blogger.php
new file mode 100644
index 0000000..016aebb
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Blogger.php
@@ -0,0 +1,3277 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Blogger (v3).
+ *
+ * <p>
+ * API for access to the data within Blogger.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/blogger/docs/3.0/getting_started" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Blogger extends Postman_Google_Service
+{
+ /** Manage your Blogger account. */
+ const BLOGGER =
+ "https://www.googleapis.com/auth/blogger";
+ /** View your Blogger account. */
+ const BLOGGER_READONLY =
+ "https://www.googleapis.com/auth/blogger.readonly";
+
+ public $blogUserInfos;
+ public $blogs;
+ public $comments;
+ public $pageViews;
+ public $pages;
+ public $postUserInfos;
+ public $posts;
+ public $users;
+
+
+ /**
+ * Constructs the internal representation of the Blogger service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'blogger/v3/';
+ $this->version = 'v3';
+ $this->serviceName = 'blogger';
+
+ $this->blogUserInfos = new Postman_Google_Service_Blogger_BlogUserInfos_Resource(
+ $this,
+ $this->serviceName,
+ 'blogUserInfos',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'users/{userId}/blogs/{blogId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxPosts' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->blogs = new Postman_Google_Service_Blogger_Blogs_Resource(
+ $this,
+ $this->serviceName,
+ 'blogs',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'blogs/{blogId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxPosts' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'getByUrl' => array(
+ 'path' => 'blogs/byurl',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'url' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'listByUser' => array(
+ 'path' => 'users/{userId}/blogs',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fetchUserInfo' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'role' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->comments = new Postman_Google_Service_Blogger_Comments_Resource(
+ $this,
+ $this->serviceName,
+ 'comments',
+ array(
+ 'methods' => array(
+ 'approve' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/approve',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/comments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'startDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'listByBlog' => array(
+ 'path' => 'blogs/{blogId}/comments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'startDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'markAsSpam' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/spam',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'removeContent' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->pageViews = new Postman_Google_Service_Blogger_PageViews_Resource(
+ $this,
+ $this->serviceName,
+ 'pageViews',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'blogs/{blogId}/pageviews',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'range' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->pages = new Postman_Google_Service_Blogger_Pages_Resource(
+ $this,
+ $this->serviceName,
+ 'pages',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'blogs/{blogId}/pages/{pageId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'blogs/{blogId}/pages/{pageId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'blogs/{blogId}/pages',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'isDraft' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'blogs/{blogId}/pages',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'blogs/{blogId}/pages/{pageId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'revert' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'publish' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'publish' => array(
+ 'path' => 'blogs/{blogId}/pages/{pageId}/publish',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'revert' => array(
+ 'path' => 'blogs/{blogId}/pages/{pageId}/revert',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'blogs/{blogId}/pages/{pageId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'revert' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'publish' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->postUserInfos = new Postman_Google_Service_Blogger_PostUserInfos_Resource(
+ $this,
+ $this->serviceName,
+ 'postUserInfos',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'users/{userId}/blogs/{blogId}/posts/{postId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxComments' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'users/{userId}/blogs/{blogId}/posts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'labels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->posts = new Postman_Google_Service_Blogger_Posts_Resource(
+ $this,
+ $this->serviceName,
+ 'posts',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fetchBody' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxComments' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'fetchImages' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'getByPath' => array(
+ 'path' => 'blogs/{blogId}/posts/bypath',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'path' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxComments' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'blogs/{blogId}/posts',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fetchImages' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'isDraft' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'fetchBody' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'blogs/{blogId}/posts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'labels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'fetchImages' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'revert' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'publish' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'fetchBody' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxComments' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'fetchImages' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'publish' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/publish',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'publishDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'revert' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/revert',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'blogs/{blogId}/posts/search',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'revert' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'publish' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'fetchBody' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxComments' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'fetchImages' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users = new Postman_Google_Service_Blogger_Users_Resource(
+ $this,
+ $this->serviceName,
+ 'users',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'users/{userId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "blogUserInfos" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bloggerService = new Postman_Google_Service_Blogger(...);
+ * $blogUserInfos = $bloggerService->blogUserInfos;
+ * </code>
+ */
+class Postman_Google_Service_Blogger_BlogUserInfos_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets one blog and user info pair by blogId and userId. (blogUserInfos.get)
+ *
+ * @param string $userId ID of the user whose blogs are to be fetched. Either
+ * the word 'self' (sans quote marks) or the user's profile identifier.
+ * @param string $blogId The ID of the blog to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxPosts Maximum number of posts to pull back with the
+ * blog.
+ * @return Postman_Google_Service_Blogger_BlogUserInfo
+ */
+ public function get($userId, $blogId, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'blogId' => $blogId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Blogger_BlogUserInfo");
+ }
+}
+
+/**
+ * The "blogs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bloggerService = new Postman_Google_Service_Blogger(...);
+ * $blogs = $bloggerService->blogs;
+ * </code>
+ */
+class Postman_Google_Service_Blogger_Blogs_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets one blog by ID. (blogs.get)
+ *
+ * @param string $blogId The ID of the blog to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxPosts Maximum number of posts to pull back with the
+ * blog.
+ * @opt_param string view Access level with which to view the blog. Note that
+ * some fields require elevated access.
+ * @return Postman_Google_Service_Blogger_Blog
+ */
+ public function get($blogId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Blogger_Blog");
+ }
+
+ /**
+ * Retrieve a Blog by URL. (blogs.getByUrl)
+ *
+ * @param string $url The URL of the blog to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string view Access level with which to view the blog. Note that
+ * some fields require elevated access.
+ * @return Postman_Google_Service_Blogger_Blog
+ */
+ public function getByUrl($url, $optParams = array())
+ {
+ $params = array('url' => $url);
+ $params = array_merge($params, $optParams);
+ return $this->call('getByUrl', array($params), "Postman_Google_Service_Blogger_Blog");
+ }
+
+ /**
+ * Retrieves a list of blogs, possibly filtered. (blogs.listByUser)
+ *
+ * @param string $userId ID of the user whose blogs are to be fetched. Either
+ * the word 'self' (sans quote marks) or the user's profile identifier.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool fetchUserInfo Whether the response is a list of blogs with
+ * per-user information instead of just blogs.
+ * @opt_param string status Blog statuses to include in the result (default:
+ * Live blogs only). Note that ADMIN access is required to view deleted blogs.
+ * @opt_param string role User access types for blogs to include in the results,
+ * e.g. AUTHOR will return blogs where the user has author level access. If no
+ * roles are specified, defaults to ADMIN and AUTHOR roles.
+ * @opt_param string view Access level with which to view the blogs. Note that
+ * some fields require elevated access.
+ * @return Postman_Google_Service_Blogger_BlogList
+ */
+ public function listByUser($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('listByUser', array($params), "Postman_Google_Service_Blogger_BlogList");
+ }
+}
+
+/**
+ * The "comments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bloggerService = new Postman_Google_Service_Blogger(...);
+ * $comments = $bloggerService->comments;
+ * </code>
+ */
+class Postman_Google_Service_Blogger_Comments_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Marks a comment as not spam. (comments.approve)
+ *
+ * @param string $blogId The ID of the Blog.
+ * @param string $postId The ID of the Post.
+ * @param string $commentId The ID of the comment to mark as not spam.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Blogger_Comment
+ */
+ public function approve($blogId, $postId, $commentId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('approve', array($params), "Postman_Google_Service_Blogger_Comment");
+ }
+
+ /**
+ * Delete a comment by ID. (comments.delete)
+ *
+ * @param string $blogId The ID of the Blog.
+ * @param string $postId The ID of the Post.
+ * @param string $commentId The ID of the comment to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($blogId, $postId, $commentId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets one comment by ID. (comments.get)
+ *
+ * @param string $blogId ID of the blog to containing the comment.
+ * @param string $postId ID of the post to fetch posts from.
+ * @param string $commentId The ID of the comment to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string view Access level for the requested comment (default:
+ * READER). Note that some comments will require elevated permissions, for
+ * example comments where the parent posts which is in a draft state, or
+ * comments that are pending moderation.
+ * @return Postman_Google_Service_Blogger_Comment
+ */
+ public function get($blogId, $postId, $commentId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Blogger_Comment");
+ }
+
+ /**
+ * Retrieves the comments for a post, possibly filtered. (comments.listComments)
+ *
+ * @param string $blogId ID of the blog to fetch comments from.
+ * @param string $postId ID of the post to fetch posts from.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string status
+ * @opt_param string startDate Earliest date of comment to fetch, a date-time
+ * with RFC 3339 formatting.
+ * @opt_param string endDate Latest date of comment to fetch, a date-time with
+ * RFC 3339 formatting.
+ * @opt_param string maxResults Maximum number of comments to include in the
+ * result.
+ * @opt_param string pageToken Continuation token if request is paged.
+ * @opt_param bool fetchBodies Whether the body content of the comments is
+ * included.
+ * @opt_param string view Access level with which to view the returned result.
+ * Note that some fields require elevated access.
+ * @return Postman_Google_Service_Blogger_CommentList
+ */
+ public function listComments($blogId, $postId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Blogger_CommentList");
+ }
+
+ /**
+ * Retrieves the comments for a blog, across all posts, possibly filtered.
+ * (comments.listByBlog)
+ *
+ * @param string $blogId ID of the blog to fetch comments from.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string startDate Earliest date of comment to fetch, a date-time
+ * with RFC 3339 formatting.
+ * @opt_param string endDate Latest date of comment to fetch, a date-time with
+ * RFC 3339 formatting.
+ * @opt_param string maxResults Maximum number of comments to include in the
+ * result.
+ * @opt_param string pageToken Continuation token if request is paged.
+ * @opt_param bool fetchBodies Whether the body content of the comments is
+ * included.
+ * @return Postman_Google_Service_Blogger_CommentList
+ */
+ public function listByBlog($blogId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId);
+ $params = array_merge($params, $optParams);
+ return $this->call('listByBlog', array($params), "Postman_Google_Service_Blogger_CommentList");
+ }
+
+ /**
+ * Marks a comment as spam. (comments.markAsSpam)
+ *
+ * @param string $blogId The ID of the Blog.
+ * @param string $postId The ID of the Post.
+ * @param string $commentId The ID of the comment to mark as spam.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Blogger_Comment
+ */
+ public function markAsSpam($blogId, $postId, $commentId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('markAsSpam', array($params), "Postman_Google_Service_Blogger_Comment");
+ }
+
+ /**
+ * Removes the content of a comment. (comments.removeContent)
+ *
+ * @param string $blogId The ID of the Blog.
+ * @param string $postId The ID of the Post.
+ * @param string $commentId The ID of the comment to delete content from.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Blogger_Comment
+ */
+ public function removeContent($blogId, $postId, $commentId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('removeContent', array($params), "Postman_Google_Service_Blogger_Comment");
+ }
+}
+
+/**
+ * The "pageViews" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bloggerService = new Postman_Google_Service_Blogger(...);
+ * $pageViews = $bloggerService->pageViews;
+ * </code>
+ */
+class Postman_Google_Service_Blogger_PageViews_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieve pageview stats for a Blog. (pageViews.get)
+ *
+ * @param string $blogId The ID of the blog to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string range
+ * @return Postman_Google_Service_Blogger_Pageviews
+ */
+ public function get($blogId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Blogger_Pageviews");
+ }
+}
+
+/**
+ * The "pages" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bloggerService = new Postman_Google_Service_Blogger(...);
+ * $pages = $bloggerService->pages;
+ * </code>
+ */
+class Postman_Google_Service_Blogger_Pages_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Delete a page by ID. (pages.delete)
+ *
+ * @param string $blogId The ID of the Blog.
+ * @param string $pageId The ID of the Page.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($blogId, $pageId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'pageId' => $pageId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets one blog page by ID. (pages.get)
+ *
+ * @param string $blogId ID of the blog containing the page.
+ * @param string $pageId The ID of the page to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string view
+ * @return Postman_Google_Service_Blogger_Page
+ */
+ public function get($blogId, $pageId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'pageId' => $pageId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Blogger_Page");
+ }
+
+ /**
+ * Add a page. (pages.insert)
+ *
+ * @param string $blogId ID of the blog to add the page to.
+ * @param Postman_Google_Page $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool isDraft Whether to create the page as a draft (default:
+ * false).
+ * @return Postman_Google_Service_Blogger_Page
+ */
+ public function insert($blogId, Postman_Google_Service_Blogger_Page $postBody, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Blogger_Page");
+ }
+
+ /**
+ * Retrieves the pages for a blog, optionally including non-LIVE statuses.
+ * (pages.listPages)
+ *
+ * @param string $blogId ID of the blog to fetch pages from.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string status
+ * @opt_param bool fetchBodies Whether to retrieve the Page bodies.
+ * @opt_param string view Access level with which to view the returned result.
+ * Note that some fields require elevated access.
+ * @return Postman_Google_Service_Blogger_PageList
+ */
+ public function listPages($blogId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Blogger_PageList");
+ }
+
+ /**
+ * Update a page. This method supports patch semantics. (pages.patch)
+ *
+ * @param string $blogId The ID of the Blog.
+ * @param string $pageId The ID of the Page.
+ * @param Postman_Google_Page $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool revert Whether a revert action should be performed when the
+ * page is updated (default: false).
+ * @opt_param bool publish Whether a publish action should be performed when the
+ * page is updated (default: false).
+ * @return Postman_Google_Service_Blogger_Page
+ */
+ public function patch($blogId, $pageId, Postman_Google_Service_Blogger_Page $postBody, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'pageId' => $pageId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Blogger_Page");
+ }
+
+ /**
+ * Publishes a draft page. (pages.publish)
+ *
+ * @param string $blogId The ID of the blog.
+ * @param string $pageId The ID of the page.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Blogger_Page
+ */
+ public function publish($blogId, $pageId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'pageId' => $pageId);
+ $params = array_merge($params, $optParams);
+ return $this->call('publish', array($params), "Postman_Google_Service_Blogger_Page");
+ }
+
+ /**
+ * Revert a published or scheduled page to draft state. (pages.revert)
+ *
+ * @param string $blogId The ID of the blog.
+ * @param string $pageId The ID of the page.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Blogger_Page
+ */
+ public function revert($blogId, $pageId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'pageId' => $pageId);
+ $params = array_merge($params, $optParams);
+ return $this->call('revert', array($params), "Postman_Google_Service_Blogger_Page");
+ }
+
+ /**
+ * Update a page. (pages.update)
+ *
+ * @param string $blogId The ID of the Blog.
+ * @param string $pageId The ID of the Page.
+ * @param Postman_Google_Page $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool revert Whether a revert action should be performed when the
+ * page is updated (default: false).
+ * @opt_param bool publish Whether a publish action should be performed when the
+ * page is updated (default: false).
+ * @return Postman_Google_Service_Blogger_Page
+ */
+ public function update($blogId, $pageId, Postman_Google_Service_Blogger_Page $postBody, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'pageId' => $pageId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Blogger_Page");
+ }
+}
+
+/**
+ * The "postUserInfos" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bloggerService = new Postman_Google_Service_Blogger(...);
+ * $postUserInfos = $bloggerService->postUserInfos;
+ * </code>
+ */
+class Postman_Google_Service_Blogger_PostUserInfos_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets one post and user info pair, by post ID and user ID. The post user info
+ * contains per-user information about the post, such as access rights, specific
+ * to the user. (postUserInfos.get)
+ *
+ * @param string $userId ID of the user for the per-user information to be
+ * fetched. Either the word 'self' (sans quote marks) or the user's profile
+ * identifier.
+ * @param string $blogId The ID of the blog.
+ * @param string $postId The ID of the post to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxComments Maximum number of comments to pull back on a
+ * post.
+ * @return Postman_Google_Service_Blogger_PostUserInfo
+ */
+ public function get($userId, $blogId, $postId, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'blogId' => $blogId, 'postId' => $postId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Blogger_PostUserInfo");
+ }
+
+ /**
+ * Retrieves a list of post and post user info pairs, possibly filtered. The
+ * post user info contains per-user information about the post, such as access
+ * rights, specific to the user. (postUserInfos.listPostUserInfos)
+ *
+ * @param string $userId ID of the user for the per-user information to be
+ * fetched. Either the word 'self' (sans quote marks) or the user's profile
+ * identifier.
+ * @param string $blogId ID of the blog to fetch posts from.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy Sort order applied to search results. Default is
+ * published.
+ * @opt_param string startDate Earliest post date to fetch, a date-time with RFC
+ * 3339 formatting.
+ * @opt_param string endDate Latest post date to fetch, a date-time with RFC
+ * 3339 formatting.
+ * @opt_param string labels Comma-separated list of labels to search for.
+ * @opt_param string maxResults Maximum number of posts to fetch.
+ * @opt_param string pageToken Continuation token if the request is paged.
+ * @opt_param string status
+ * @opt_param bool fetchBodies Whether the body content of posts is included.
+ * Default is false.
+ * @opt_param string view Access level with which to view the returned result.
+ * Note that some fields require elevated access.
+ * @return Postman_Google_Service_Blogger_PostUserInfosList
+ */
+ public function listPostUserInfos($userId, $blogId, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'blogId' => $blogId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Blogger_PostUserInfosList");
+ }
+}
+
+/**
+ * The "posts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bloggerService = new Postman_Google_Service_Blogger(...);
+ * $posts = $bloggerService->posts;
+ * </code>
+ */
+class Postman_Google_Service_Blogger_Posts_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Delete a post by ID. (posts.delete)
+ *
+ * @param string $blogId The ID of the Blog.
+ * @param string $postId The ID of the Post.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($blogId, $postId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Get a post by ID. (posts.get)
+ *
+ * @param string $blogId ID of the blog to fetch the post from.
+ * @param string $postId The ID of the post
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool fetchBody Whether the body content of the post is included
+ * (default: true). This should be set to false when the post bodies are not
+ * required, to help minimize traffic.
+ * @opt_param string maxComments Maximum number of comments to pull back on a
+ * post.
+ * @opt_param bool fetchImages Whether image URL metadata for each post is
+ * included (default: false).
+ * @opt_param string view Access level with which to view the returned result.
+ * Note that some fields require elevated access.
+ * @return Postman_Google_Service_Blogger_Post
+ */
+ public function get($blogId, $postId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Blogger_Post");
+ }
+
+ /**
+ * Retrieve a Post by Path. (posts.getByPath)
+ *
+ * @param string $blogId ID of the blog to fetch the post from.
+ * @param string $path Path of the Post to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxComments Maximum number of comments to pull back on a
+ * post.
+ * @opt_param string view Access level with which to view the returned result.
+ * Note that some fields require elevated access.
+ * @return Postman_Google_Service_Blogger_Post
+ */
+ public function getByPath($blogId, $path, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'path' => $path);
+ $params = array_merge($params, $optParams);
+ return $this->call('getByPath', array($params), "Postman_Google_Service_Blogger_Post");
+ }
+
+ /**
+ * Add a post. (posts.insert)
+ *
+ * @param string $blogId ID of the blog to add the post to.
+ * @param Postman_Google_Post $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool fetchImages Whether image URL metadata for each post is
+ * included in the returned result (default: false).
+ * @opt_param bool isDraft Whether to create the post as a draft (default:
+ * false).
+ * @opt_param bool fetchBody Whether the body content of the post is included
+ * with the result (default: true).
+ * @return Postman_Google_Service_Blogger_Post
+ */
+ public function insert($blogId, Postman_Google_Service_Blogger_Post $postBody, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Blogger_Post");
+ }
+
+ /**
+ * Retrieves a list of posts, possibly filtered. (posts.listPosts)
+ *
+ * @param string $blogId ID of the blog to fetch posts from.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy Sort search results
+ * @opt_param string startDate Earliest post date to fetch, a date-time with RFC
+ * 3339 formatting.
+ * @opt_param string endDate Latest post date to fetch, a date-time with RFC
+ * 3339 formatting.
+ * @opt_param string labels Comma-separated list of labels to search for.
+ * @opt_param string maxResults Maximum number of posts to fetch.
+ * @opt_param bool fetchImages Whether image URL metadata for each post is
+ * included.
+ * @opt_param string pageToken Continuation token if the request is paged.
+ * @opt_param string status Statuses to include in the results.
+ * @opt_param bool fetchBodies Whether the body content of posts is included
+ * (default: true). This should be set to false when the post bodies are not
+ * required, to help minimize traffic.
+ * @opt_param string view Access level with which to view the returned result.
+ * Note that some fields require escalated access.
+ * @return Postman_Google_Service_Blogger_PostList
+ */
+ public function listPosts($blogId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Blogger_PostList");
+ }
+
+ /**
+ * Update a post. This method supports patch semantics. (posts.patch)
+ *
+ * @param string $blogId The ID of the Blog.
+ * @param string $postId The ID of the Post.
+ * @param Postman_Google_Post $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool revert Whether a revert action should be performed when the
+ * post is updated (default: false).
+ * @opt_param bool publish Whether a publish action should be performed when the
+ * post is updated (default: false).
+ * @opt_param bool fetchBody Whether the body content of the post is included
+ * with the result (default: true).
+ * @opt_param string maxComments Maximum number of comments to retrieve with the
+ * returned post.
+ * @opt_param bool fetchImages Whether image URL metadata for each post is
+ * included in the returned result (default: false).
+ * @return Postman_Google_Service_Blogger_Post
+ */
+ public function patch($blogId, $postId, Postman_Google_Service_Blogger_Post $postBody, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Blogger_Post");
+ }
+
+ /**
+ * Publishes a draft post, optionally at the specific time of the given
+ * publishDate parameter. (posts.publish)
+ *
+ * @param string $blogId The ID of the Blog.
+ * @param string $postId The ID of the Post.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string publishDate Optional date and time to schedule the
+ * publishing of the Blog. If no publishDate parameter is given, the post is
+ * either published at the a previously saved schedule date (if present), or the
+ * current time. If a future date is given, the post will be scheduled to be
+ * published.
+ * @return Postman_Google_Service_Blogger_Post
+ */
+ public function publish($blogId, $postId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId);
+ $params = array_merge($params, $optParams);
+ return $this->call('publish', array($params), "Postman_Google_Service_Blogger_Post");
+ }
+
+ /**
+ * Revert a published or scheduled post to draft state. (posts.revert)
+ *
+ * @param string $blogId The ID of the Blog.
+ * @param string $postId The ID of the Post.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Blogger_Post
+ */
+ public function revert($blogId, $postId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId);
+ $params = array_merge($params, $optParams);
+ return $this->call('revert', array($params), "Postman_Google_Service_Blogger_Post");
+ }
+
+ /**
+ * Search for a post. (posts.search)
+ *
+ * @param string $blogId ID of the blog to fetch the post from.
+ * @param string $q Query terms to search this blog for matching posts.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy Sort search results
+ * @opt_param bool fetchBodies Whether the body content of posts is included
+ * (default: true). This should be set to false when the post bodies are not
+ * required, to help minimize traffic.
+ * @return Postman_Google_Service_Blogger_PostList
+ */
+ public function search($blogId, $q, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'q' => $q);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Postman_Google_Service_Blogger_PostList");
+ }
+
+ /**
+ * Update a post. (posts.update)
+ *
+ * @param string $blogId The ID of the Blog.
+ * @param string $postId The ID of the Post.
+ * @param Postman_Google_Post $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool revert Whether a revert action should be performed when the
+ * post is updated (default: false).
+ * @opt_param bool publish Whether a publish action should be performed when the
+ * post is updated (default: false).
+ * @opt_param bool fetchBody Whether the body content of the post is included
+ * with the result (default: true).
+ * @opt_param string maxComments Maximum number of comments to retrieve with the
+ * returned post.
+ * @opt_param bool fetchImages Whether image URL metadata for each post is
+ * included in the returned result (default: false).
+ * @return Postman_Google_Service_Blogger_Post
+ */
+ public function update($blogId, $postId, Postman_Google_Service_Blogger_Post $postBody, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Blogger_Post");
+ }
+}
+
+/**
+ * The "users" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $bloggerService = new Postman_Google_Service_Blogger(...);
+ * $users = $bloggerService->users;
+ * </code>
+ */
+class Postman_Google_Service_Blogger_Users_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets one user by ID. (users.get)
+ *
+ * @param string $userId The ID of the user to get.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Blogger_User
+ */
+ public function get($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Blogger_User");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Blogger_Blog extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $customMetaData;
+ public $description;
+ public $id;
+ public $kind;
+ protected $localeType = 'Postman_Google_Service_Blogger_BlogLocale';
+ protected $localeDataType = '';
+ public $name;
+ protected $pagesType = 'Postman_Google_Service_Blogger_BlogPages';
+ protected $pagesDataType = '';
+ protected $postsType = 'Postman_Google_Service_Blogger_BlogPosts';
+ protected $postsDataType = '';
+ public $published;
+ public $selfLink;
+ public $status;
+ public $updated;
+ public $url;
+
+
+ public function setCustomMetaData($customMetaData)
+ {
+ $this->customMetaData = $customMetaData;
+ }
+ public function getCustomMetaData()
+ {
+ return $this->customMetaData;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLocale(Postman_Google_Service_Blogger_BlogLocale $locale)
+ {
+ $this->locale = $locale;
+ }
+ public function getLocale()
+ {
+ return $this->locale;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPages(Postman_Google_Service_Blogger_BlogPages $pages)
+ {
+ $this->pages = $pages;
+ }
+ public function getPages()
+ {
+ return $this->pages;
+ }
+ public function setPosts(Postman_Google_Service_Blogger_BlogPosts $posts)
+ {
+ $this->posts = $posts;
+ }
+ public function getPosts()
+ {
+ return $this->posts;
+ }
+ public function setPublished($published)
+ {
+ $this->published = $published;
+ }
+ public function getPublished()
+ {
+ return $this->published;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Blogger_BlogList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $blogUserInfosType = 'Postman_Google_Service_Blogger_BlogUserInfo';
+ protected $blogUserInfosDataType = 'array';
+ protected $itemsType = 'Postman_Google_Service_Blogger_Blog';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setBlogUserInfos($blogUserInfos)
+ {
+ $this->blogUserInfos = $blogUserInfos;
+ }
+ public function getBlogUserInfos()
+ {
+ return $this->blogUserInfos;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Blogger_BlogLocale extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $country;
+ public $language;
+ public $variant;
+
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setVariant($variant)
+ {
+ $this->variant = $variant;
+ }
+ public function getVariant()
+ {
+ return $this->variant;
+ }
+}
+
+class Postman_Google_Service_Blogger_BlogPages extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $selfLink;
+ public $totalItems;
+
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_Blogger_BlogPerUserInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $blogId;
+ public $hasAdminAccess;
+ public $kind;
+ public $photosAlbumKey;
+ public $role;
+ public $userId;
+
+
+ public function setBlogId($blogId)
+ {
+ $this->blogId = $blogId;
+ }
+ public function getBlogId()
+ {
+ return $this->blogId;
+ }
+ public function setHasAdminAccess($hasAdminAccess)
+ {
+ $this->hasAdminAccess = $hasAdminAccess;
+ }
+ public function getHasAdminAccess()
+ {
+ return $this->hasAdminAccess;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPhotosAlbumKey($photosAlbumKey)
+ {
+ $this->photosAlbumKey = $photosAlbumKey;
+ }
+ public function getPhotosAlbumKey()
+ {
+ return $this->photosAlbumKey;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+ }
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+}
+
+class Postman_Google_Service_Blogger_BlogPosts extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Blogger_Post';
+ protected $itemsDataType = 'array';
+ public $selfLink;
+ public $totalItems;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_Blogger_BlogUserInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "blogUserInfo" => "blog_user_info",
+ );
+ protected $blogType = 'Postman_Google_Service_Blogger_Blog';
+ protected $blogDataType = '';
+ protected $blogUserInfoType = 'Postman_Google_Service_Blogger_BlogPerUserInfo';
+ protected $blogUserInfoDataType = '';
+ public $kind;
+
+
+ public function setBlog(Postman_Google_Service_Blogger_Blog $blog)
+ {
+ $this->blog = $blog;
+ }
+ public function getBlog()
+ {
+ return $this->blog;
+ }
+ public function setBlogUserInfo(Postman_Google_Service_Blogger_BlogPerUserInfo $blogUserInfo)
+ {
+ $this->blogUserInfo = $blogUserInfo;
+ }
+ public function getBlogUserInfo()
+ {
+ return $this->blogUserInfo;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Blogger_Comment extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $authorType = 'Postman_Google_Service_Blogger_CommentAuthor';
+ protected $authorDataType = '';
+ protected $blogType = 'Postman_Google_Service_Blogger_CommentBlog';
+ protected $blogDataType = '';
+ public $content;
+ public $id;
+ protected $inReplyToType = 'Postman_Google_Service_Blogger_CommentInReplyTo';
+ protected $inReplyToDataType = '';
+ public $kind;
+ protected $postType = 'Postman_Google_Service_Blogger_CommentPost';
+ protected $postDataType = '';
+ public $published;
+ public $selfLink;
+ public $status;
+ public $updated;
+
+
+ public function setAuthor(Postman_Google_Service_Blogger_CommentAuthor $author)
+ {
+ $this->author = $author;
+ }
+ public function getAuthor()
+ {
+ return $this->author;
+ }
+ public function setBlog(Postman_Google_Service_Blogger_CommentBlog $blog)
+ {
+ $this->blog = $blog;
+ }
+ public function getBlog()
+ {
+ return $this->blog;
+ }
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInReplyTo(Postman_Google_Service_Blogger_CommentInReplyTo $inReplyTo)
+ {
+ $this->inReplyTo = $inReplyTo;
+ }
+ public function getInReplyTo()
+ {
+ return $this->inReplyTo;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPost(Postman_Google_Service_Blogger_CommentPost $post)
+ {
+ $this->post = $post;
+ }
+ public function getPost()
+ {
+ return $this->post;
+ }
+ public function setPublished($published)
+ {
+ $this->published = $published;
+ }
+ public function getPublished()
+ {
+ return $this->published;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+}
+
+class Postman_Google_Service_Blogger_CommentAuthor extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+ public $id;
+ protected $imageType = 'Postman_Google_Service_Blogger_CommentAuthorImage';
+ protected $imageDataType = '';
+ public $url;
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImage(Postman_Google_Service_Blogger_CommentAuthorImage $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Blogger_CommentAuthorImage extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $url;
+
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Blogger_CommentBlog extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Postman_Google_Service_Blogger_CommentInReplyTo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Postman_Google_Service_Blogger_CommentList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Blogger_Comment';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $prevPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPrevPageToken($prevPageToken)
+ {
+ $this->prevPageToken = $prevPageToken;
+ }
+ public function getPrevPageToken()
+ {
+ return $this->prevPageToken;
+ }
+}
+
+class Postman_Google_Service_Blogger_CommentPost extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Postman_Google_Service_Blogger_Page extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $authorType = 'Postman_Google_Service_Blogger_PageAuthor';
+ protected $authorDataType = '';
+ protected $blogType = 'Postman_Google_Service_Blogger_PageBlog';
+ protected $blogDataType = '';
+ public $content;
+ public $etag;
+ public $id;
+ public $kind;
+ public $published;
+ public $selfLink;
+ public $status;
+ public $title;
+ public $updated;
+ public $url;
+
+
+ public function setAuthor(Postman_Google_Service_Blogger_PageAuthor $author)
+ {
+ $this->author = $author;
+ }
+ public function getAuthor()
+ {
+ return $this->author;
+ }
+ public function setBlog(Postman_Google_Service_Blogger_PageBlog $blog)
+ {
+ $this->blog = $blog;
+ }
+ public function getBlog()
+ {
+ return $this->blog;
+ }
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPublished($published)
+ {
+ $this->published = $published;
+ }
+ public function getPublished()
+ {
+ return $this->published;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Blogger_PageAuthor extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+ public $id;
+ protected $imageType = 'Postman_Google_Service_Blogger_PageAuthorImage';
+ protected $imageDataType = '';
+ public $url;
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImage(Postman_Google_Service_Blogger_PageAuthorImage $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Blogger_PageAuthorImage extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $url;
+
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Blogger_PageBlog extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Postman_Google_Service_Blogger_PageList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Blogger_Page';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Blogger_Pageviews extends Postman_Google_Collection
+{
+ protected $collection_key = 'counts';
+ protected $internal_gapi_mappings = array(
+ );
+ public $blogId;
+ protected $countsType = 'Postman_Google_Service_Blogger_PageviewsCounts';
+ protected $countsDataType = 'array';
+ public $kind;
+
+
+ public function setBlogId($blogId)
+ {
+ $this->blogId = $blogId;
+ }
+ public function getBlogId()
+ {
+ return $this->blogId;
+ }
+ public function setCounts($counts)
+ {
+ $this->counts = $counts;
+ }
+ public function getCounts()
+ {
+ return $this->counts;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Blogger_PageviewsCounts extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $count;
+ public $timeRange;
+
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+ public function setTimeRange($timeRange)
+ {
+ $this->timeRange = $timeRange;
+ }
+ public function getTimeRange()
+ {
+ return $this->timeRange;
+ }
+}
+
+class Postman_Google_Service_Blogger_Post extends Postman_Google_Collection
+{
+ protected $collection_key = 'labels';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $authorType = 'Postman_Google_Service_Blogger_PostAuthor';
+ protected $authorDataType = '';
+ protected $blogType = 'Postman_Google_Service_Blogger_PostBlog';
+ protected $blogDataType = '';
+ public $content;
+ public $customMetaData;
+ public $etag;
+ public $id;
+ protected $imagesType = 'Postman_Google_Service_Blogger_PostImages';
+ protected $imagesDataType = 'array';
+ public $kind;
+ public $labels;
+ protected $locationType = 'Postman_Google_Service_Blogger_PostLocation';
+ protected $locationDataType = '';
+ public $published;
+ public $readerComments;
+ protected $repliesType = 'Postman_Google_Service_Blogger_PostReplies';
+ protected $repliesDataType = '';
+ public $selfLink;
+ public $status;
+ public $title;
+ public $titleLink;
+ public $updated;
+ public $url;
+
+
+ public function setAuthor(Postman_Google_Service_Blogger_PostAuthor $author)
+ {
+ $this->author = $author;
+ }
+ public function getAuthor()
+ {
+ return $this->author;
+ }
+ public function setBlog(Postman_Google_Service_Blogger_PostBlog $blog)
+ {
+ $this->blog = $blog;
+ }
+ public function getBlog()
+ {
+ return $this->blog;
+ }
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setCustomMetaData($customMetaData)
+ {
+ $this->customMetaData = $customMetaData;
+ }
+ public function getCustomMetaData()
+ {
+ return $this->customMetaData;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImages($images)
+ {
+ $this->images = $images;
+ }
+ public function getImages()
+ {
+ return $this->images;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setLocation(Postman_Google_Service_Blogger_PostLocation $location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setPublished($published)
+ {
+ $this->published = $published;
+ }
+ public function getPublished()
+ {
+ return $this->published;
+ }
+ public function setReaderComments($readerComments)
+ {
+ $this->readerComments = $readerComments;
+ }
+ public function getReaderComments()
+ {
+ return $this->readerComments;
+ }
+ public function setReplies(Postman_Google_Service_Blogger_PostReplies $replies)
+ {
+ $this->replies = $replies;
+ }
+ public function getReplies()
+ {
+ return $this->replies;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setTitleLink($titleLink)
+ {
+ $this->titleLink = $titleLink;
+ }
+ public function getTitleLink()
+ {
+ return $this->titleLink;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Blogger_PostAuthor extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+ public $id;
+ protected $imageType = 'Postman_Google_Service_Blogger_PostAuthorImage';
+ protected $imageDataType = '';
+ public $url;
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImage(Postman_Google_Service_Blogger_PostAuthorImage $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Blogger_PostAuthorImage extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $url;
+
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Blogger_PostBlog extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Postman_Google_Service_Blogger_PostImages extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $url;
+
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Blogger_PostList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Blogger_Post';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Blogger_PostLocation extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $lat;
+ public $lng;
+ public $name;
+ public $span;
+
+
+ public function setLat($lat)
+ {
+ $this->lat = $lat;
+ }
+ public function getLat()
+ {
+ return $this->lat;
+ }
+ public function setLng($lng)
+ {
+ $this->lng = $lng;
+ }
+ public function getLng()
+ {
+ return $this->lng;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSpan($span)
+ {
+ $this->span = $span;
+ }
+ public function getSpan()
+ {
+ return $this->span;
+ }
+}
+
+class Postman_Google_Service_Blogger_PostPerUserInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $blogId;
+ public $hasEditAccess;
+ public $kind;
+ public $postId;
+ public $userId;
+
+
+ public function setBlogId($blogId)
+ {
+ $this->blogId = $blogId;
+ }
+ public function getBlogId()
+ {
+ return $this->blogId;
+ }
+ public function setHasEditAccess($hasEditAccess)
+ {
+ $this->hasEditAccess = $hasEditAccess;
+ }
+ public function getHasEditAccess()
+ {
+ return $this->hasEditAccess;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPostId($postId)
+ {
+ $this->postId = $postId;
+ }
+ public function getPostId()
+ {
+ return $this->postId;
+ }
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+ }
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+}
+
+class Postman_Google_Service_Blogger_PostReplies extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Blogger_Comment';
+ protected $itemsDataType = 'array';
+ public $selfLink;
+ public $totalItems;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_Blogger_PostUserInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "postUserInfo" => "post_user_info",
+ );
+ public $kind;
+ protected $postType = 'Postman_Google_Service_Blogger_Post';
+ protected $postDataType = '';
+ protected $postUserInfoType = 'Postman_Google_Service_Blogger_PostPerUserInfo';
+ protected $postUserInfoDataType = '';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPost(Postman_Google_Service_Blogger_Post $post)
+ {
+ $this->post = $post;
+ }
+ public function getPost()
+ {
+ return $this->post;
+ }
+ public function setPostUserInfo(Postman_Google_Service_Blogger_PostPerUserInfo $postUserInfo)
+ {
+ $this->postUserInfo = $postUserInfo;
+ }
+ public function getPostUserInfo()
+ {
+ return $this->postUserInfo;
+ }
+}
+
+class Postman_Google_Service_Blogger_PostUserInfosList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Blogger_PostUserInfo';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Blogger_User extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $about;
+ protected $blogsType = 'Postman_Google_Service_Blogger_UserBlogs';
+ protected $blogsDataType = '';
+ public $created;
+ public $displayName;
+ public $id;
+ public $kind;
+ protected $localeType = 'Postman_Google_Service_Blogger_UserLocale';
+ protected $localeDataType = '';
+ public $selfLink;
+ public $url;
+
+
+ public function setAbout($about)
+ {
+ $this->about = $about;
+ }
+ public function getAbout()
+ {
+ return $this->about;
+ }
+ public function setBlogs(Postman_Google_Service_Blogger_UserBlogs $blogs)
+ {
+ $this->blogs = $blogs;
+ }
+ public function getBlogs()
+ {
+ return $this->blogs;
+ }
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+ public function getCreated()
+ {
+ return $this->created;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLocale(Postman_Google_Service_Blogger_UserLocale $locale)
+ {
+ $this->locale = $locale;
+ }
+ public function getLocale()
+ {
+ return $this->locale;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Blogger_UserBlogs extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $selfLink;
+
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Blogger_UserLocale extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $country;
+ public $language;
+ public $variant;
+
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setVariant($variant)
+ {
+ $this->variant = $variant;
+ }
+ public function getVariant()
+ {
+ return $this->variant;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Books.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Books.php
new file mode 100644
index 0000000..48f61b3
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Books.php
@@ -0,0 +1,6411 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Books (v1).
+ *
+ * <p>
+ * Lets you search for books and manage your Google Books library.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/books/docs/v1/getting_started" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Books extends Postman_Google_Service
+{
+ /** Manage your books. */
+ const BOOKS =
+ "https://www.googleapis.com/auth/books";
+
+ public $bookshelves;
+ public $bookshelves_volumes;
+ public $cloudloading;
+ public $dictionary;
+ public $layers;
+ public $layers_annotationData;
+ public $layers_volumeAnnotations;
+ public $myconfig;
+ public $mylibrary_annotations;
+ public $mylibrary_bookshelves;
+ public $mylibrary_bookshelves_volumes;
+ public $mylibrary_readingpositions;
+ public $promooffer;
+ public $volumes;
+ public $volumes_associated;
+ public $volumes_mybooks;
+ public $volumes_recommended;
+ public $volumes_useruploaded;
+
+
+ /**
+ * Constructs the internal representation of the Books service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'books/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'books';
+
+ $this->bookshelves = new Postman_Google_Service_Books_Bookshelves_Resource(
+ $this,
+ $this->serviceName,
+ 'bookshelves',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'users/{userId}/bookshelves/{shelf}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'shelf' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'users/{userId}/bookshelves',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->bookshelves_volumes = new Postman_Google_Service_Books_BookshelvesVolumes_Resource(
+ $this,
+ $this->serviceName,
+ 'volumes',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'users/{userId}/bookshelves/{shelf}/volumes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'shelf' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'showPreorders' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->cloudloading = new Postman_Google_Service_Books_Cloudloading_Resource(
+ $this,
+ $this->serviceName,
+ 'cloudloading',
+ array(
+ 'methods' => array(
+ 'addBook' => array(
+ 'path' => 'cloudloading/addBook',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'upload_client_token' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'drive_document_id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'mime_type' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'name' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'deleteBook' => array(
+ 'path' => 'cloudloading/deleteBook',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'volumeId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'updateBook' => array(
+ 'path' => 'cloudloading/updateBook',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->dictionary = new Postman_Google_Service_Books_Dictionary_Resource(
+ $this,
+ $this->serviceName,
+ 'dictionary',
+ array(
+ 'methods' => array(
+ 'listOfflineMetadata' => array(
+ 'path' => 'dictionary/listOfflineMetadata',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'cpksver' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->layers = new Postman_Google_Service_Books_Layers_Resource(
+ $this,
+ $this->serviceName,
+ 'layers',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'volumes/{volumeId}/layersummary/{summaryId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'volumeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'summaryId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'contentVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'volumes/{volumeId}/layersummary',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'volumeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'contentVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->layers_annotationData = new Postman_Google_Service_Books_LayersAnnotationData_Resource(
+ $this,
+ $this->serviceName,
+ 'annotationData',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'volumeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'layerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'annotationDataId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'contentVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'scale' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'allowWebDefinitions' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'h' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'w' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'volumes/{volumeId}/layers/{layerId}/data',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'volumeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'layerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'contentVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'scale' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'h' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'updatedMax' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'annotationDataId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'w' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'updatedMin' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->layers_volumeAnnotations = new Postman_Google_Service_Books_LayersVolumeAnnotations_Resource(
+ $this,
+ $this->serviceName,
+ 'volumeAnnotations',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'volumes/{volumeId}/layers/{layerId}/annotations/{annotationId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'volumeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'layerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'annotationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'volumes/{volumeId}/layers/{layerId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'volumeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'layerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'contentVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'volumeAnnotationsVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endPosition' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endOffset' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'updatedMin' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'updatedMax' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startOffset' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startPosition' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->myconfig = new Postman_Google_Service_Books_Myconfig_Resource(
+ $this,
+ $this->serviceName,
+ 'myconfig',
+ array(
+ 'methods' => array(
+ 'releaseDownloadAccess' => array(
+ 'path' => 'myconfig/releaseDownloadAccess',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'volumeIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ 'required' => true,
+ ),
+ 'cpksver' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'requestAccess' => array(
+ 'path' => 'myconfig/requestAccess',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'volumeId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'nonce' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'cpksver' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'licenseTypes' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'syncVolumeLicenses' => array(
+ 'path' => 'myconfig/syncVolumeLicenses',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'nonce' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'cpksver' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'features' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showPreorders' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'volumeIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->mylibrary_annotations = new Postman_Google_Service_Books_MylibraryAnnotations_Resource(
+ $this,
+ $this->serviceName,
+ 'annotations',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'mylibrary/annotations/{annotationId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'annotationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'mylibrary/annotations/{annotationId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'annotationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'mylibrary/annotations',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'country' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showOnlySummaryInResponse' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'mylibrary/annotations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'updatedMin' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'layerIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'volumeId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'contentVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'layerId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'updatedMax' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'summary' => array(
+ 'path' => 'mylibrary/annotations/summary',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'layerIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ 'required' => true,
+ ),
+ 'volumeId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'mylibrary/annotations/{annotationId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'annotationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->mylibrary_bookshelves = new Postman_Google_Service_Books_MylibraryBookshelves_Resource(
+ $this,
+ $this->serviceName,
+ 'bookshelves',
+ array(
+ 'methods' => array(
+ 'addVolume' => array(
+ 'path' => 'mylibrary/bookshelves/{shelf}/addVolume',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'shelf' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'volumeId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'clearVolumes' => array(
+ 'path' => 'mylibrary/bookshelves/{shelf}/clearVolumes',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'shelf' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'mylibrary/bookshelves/{shelf}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'shelf' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'mylibrary/bookshelves',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'moveVolume' => array(
+ 'path' => 'mylibrary/bookshelves/{shelf}/moveVolume',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'shelf' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'volumeId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'volumePosition' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'removeVolume' => array(
+ 'path' => 'mylibrary/bookshelves/{shelf}/removeVolume',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'shelf' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'volumeId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->mylibrary_bookshelves_volumes = new Postman_Google_Service_Books_MylibraryBookshelvesVolumes_Resource(
+ $this,
+ $this->serviceName,
+ 'volumes',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'mylibrary/bookshelves/{shelf}/volumes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'shelf' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'country' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showPreorders' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->mylibrary_readingpositions = new Postman_Google_Service_Books_MylibraryReadingpositions_Resource(
+ $this,
+ $this->serviceName,
+ 'readingpositions',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'mylibrary/readingpositions/{volumeId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'volumeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'contentVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'setPosition' => array(
+ 'path' => 'mylibrary/readingpositions/{volumeId}/setPosition',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'volumeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'timestamp' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'position' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deviceCookie' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'contentVersion' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'action' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->promooffer = new Postman_Google_Service_Books_Promooffer_Resource(
+ $this,
+ $this->serviceName,
+ 'promooffer',
+ array(
+ 'methods' => array(
+ 'accept' => array(
+ 'path' => 'promooffer/accept',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'product' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'volumeId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'offerId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'androidId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'device' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'model' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'serial' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'manufacturer' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'dismiss' => array(
+ 'path' => 'promooffer/dismiss',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'product' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'offerId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'androidId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'device' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'model' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'serial' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'manufacturer' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'promooffer/get',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'product' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'androidId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'device' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'model' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'serial' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'manufacturer' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->volumes = new Postman_Google_Service_Books_Volumes_Resource(
+ $this,
+ $this->serviceName,
+ 'volumes',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'volumes/{volumeId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'volumeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'country' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'partner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'volumes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'libraryRestrict' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'langRestrict' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showPreorders' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'printType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'download' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'partner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->volumes_associated = new Postman_Google_Service_Books_VolumesAssociated_Resource(
+ $this,
+ $this->serviceName,
+ 'associated',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'volumes/{volumeId}/associated',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'volumeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'association' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->volumes_mybooks = new Postman_Google_Service_Books_VolumesMybooks_Resource(
+ $this,
+ $this->serviceName,
+ 'mybooks',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'volumes/mybooks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'acquireMethod' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'processingState' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->volumes_recommended = new Postman_Google_Service_Books_VolumesRecommended_Resource(
+ $this,
+ $this->serviceName,
+ 'recommended',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'volumes/recommended',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'rate' => array(
+ 'path' => 'volumes/recommended/rate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'rating' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'volumeId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->volumes_useruploaded = new Postman_Google_Service_Books_VolumesUseruploaded_Resource(
+ $this,
+ $this->serviceName,
+ 'useruploaded',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'volumes/useruploaded',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'volumeId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'processingState' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "bookshelves" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Postman_Google_Service_Books(...);
+ * $bookshelves = $booksService->bookshelves;
+ * </code>
+ */
+class Postman_Google_Service_Books_Bookshelves_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves metadata for a specific bookshelf for the specified user.
+ * (bookshelves.get)
+ *
+ * @param string $userId ID of user for whom to retrieve bookshelves.
+ * @param string $shelf ID of bookshelf to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string source String to identify the originator of this request.
+ * @return Postman_Google_Service_Books_Bookshelf
+ */
+ public function get($userId, $shelf, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'shelf' => $shelf);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Books_Bookshelf");
+ }
+
+ /**
+ * Retrieves a list of public bookshelves for the specified user.
+ * (bookshelves.listBookshelves)
+ *
+ * @param string $userId ID of user for whom to retrieve bookshelves.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string source String to identify the originator of this request.
+ * @return Postman_Google_Service_Books_Bookshelves
+ */
+ public function listBookshelves($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Books_Bookshelves");
+ }
+}
+
+/**
+ * The "volumes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Postman_Google_Service_Books(...);
+ * $volumes = $booksService->volumes;
+ * </code>
+ */
+class Postman_Google_Service_Books_BookshelvesVolumes_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves volumes in a specific bookshelf for the specified user.
+ * (volumes.listBookshelvesVolumes)
+ *
+ * @param string $userId ID of user for whom to retrieve bookshelf volumes.
+ * @param string $shelf ID of bookshelf to retrieve volumes.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults
+ * to false.
+ * @opt_param string maxResults Maximum number of results to return
+ * @opt_param string source String to identify the originator of this request.
+ * @opt_param string startIndex Index of the first element to return (starts at
+ * 0)
+ * @return Postman_Google_Service_Books_Volumes
+ */
+ public function listBookshelvesVolumes($userId, $shelf, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'shelf' => $shelf);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Books_Volumes");
+ }
+}
+
+/**
+ * The "cloudloading" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Postman_Google_Service_Books(...);
+ * $cloudloading = $booksService->cloudloading;
+ * </code>
+ */
+class Postman_Google_Service_Books_Cloudloading_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * (cloudloading.addBook)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string upload_client_token
+ * @opt_param string drive_document_id A drive document id. The
+ * upload_client_token must not be set.
+ * @opt_param string mime_type The document MIME type. It can be set only if the
+ * drive_document_id is set.
+ * @opt_param string name The document name. It can be set only if the
+ * drive_document_id is set.
+ * @return Postman_Google_Service_Books_BooksCloudloadingResource
+ */
+ public function addBook($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('addBook', array($params), "Postman_Google_Service_Books_BooksCloudloadingResource");
+ }
+
+ /**
+ * Remove the book and its contents (cloudloading.deleteBook)
+ *
+ * @param string $volumeId The id of the book to be removed.
+ * @param array $optParams Optional parameters.
+ */
+ public function deleteBook($volumeId, $optParams = array())
+ {
+ $params = array('volumeId' => $volumeId);
+ $params = array_merge($params, $optParams);
+ return $this->call('deleteBook', array($params));
+ }
+
+ /**
+ * (cloudloading.updateBook)
+ *
+ * @param Postman_Google_BooksCloudloadingResource $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Books_BooksCloudloadingResource
+ */
+ public function updateBook(Postman_Google_Service_Books_BooksCloudloadingResource $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updateBook', array($params), "Postman_Google_Service_Books_BooksCloudloadingResource");
+ }
+}
+
+/**
+ * The "dictionary" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Postman_Google_Service_Books(...);
+ * $dictionary = $booksService->dictionary;
+ * </code>
+ */
+class Postman_Google_Service_Books_Dictionary_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns a list of offline dictionary meatadata available
+ * (dictionary.listOfflineMetadata)
+ *
+ * @param string $cpksver The device/version ID from which to request the data.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Books_Metadata
+ */
+ public function listOfflineMetadata($cpksver, $optParams = array())
+ {
+ $params = array('cpksver' => $cpksver);
+ $params = array_merge($params, $optParams);
+ return $this->call('listOfflineMetadata', array($params), "Postman_Google_Service_Books_Metadata");
+ }
+}
+
+/**
+ * The "layers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Postman_Google_Service_Books(...);
+ * $layers = $booksService->layers;
+ * </code>
+ */
+class Postman_Google_Service_Books_Layers_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets the layer summary for a volume. (layers.get)
+ *
+ * @param string $volumeId The volume to retrieve layers for.
+ * @param string $summaryId The ID for the layer to get the summary for.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string source String to identify the originator of this request.
+ * @opt_param string contentVersion The content version for the requested
+ * volume.
+ * @return Postman_Google_Service_Books_Layersummary
+ */
+ public function get($volumeId, $summaryId, $optParams = array())
+ {
+ $params = array('volumeId' => $volumeId, 'summaryId' => $summaryId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Books_Layersummary");
+ }
+
+ /**
+ * List the layer summaries for a volume. (layers.listLayers)
+ *
+ * @param string $volumeId The volume to retrieve layers for.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The value of the nextToken from the previous
+ * page.
+ * @opt_param string contentVersion The content version for the requested
+ * volume.
+ * @opt_param string maxResults Maximum number of results to return
+ * @opt_param string source String to identify the originator of this request.
+ * @return Postman_Google_Service_Books_Layersummaries
+ */
+ public function listLayers($volumeId, $optParams = array())
+ {
+ $params = array('volumeId' => $volumeId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Books_Layersummaries");
+ }
+}
+
+/**
+ * The "annotationData" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Postman_Google_Service_Books(...);
+ * $annotationData = $booksService->annotationData;
+ * </code>
+ */
+class Postman_Google_Service_Books_LayersAnnotationData_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets the annotation data. (annotationData.get)
+ *
+ * @param string $volumeId The volume to retrieve annotations for.
+ * @param string $layerId The ID for the layer to get the annotations.
+ * @param string $annotationDataId The ID of the annotation data to retrieve.
+ * @param string $contentVersion The content version for the volume you are
+ * trying to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int scale The requested scale for the image.
+ * @opt_param string source String to identify the originator of this request.
+ * @opt_param bool allowWebDefinitions For the dictionary layer. Whether or not
+ * to allow web definitions.
+ * @opt_param int h The requested pixel height for any images. If height is
+ * provided width must also be provided.
+ * @opt_param string locale The locale information for the data. ISO-639-1
+ * language and ISO-3166-1 country code. Ex: 'en_US'.
+ * @opt_param int w The requested pixel width for any images. If width is
+ * provided height must also be provided.
+ * @return Postman_Google_Service_Books_Annotationdata
+ */
+ public function get($volumeId, $layerId, $annotationDataId, $contentVersion, $optParams = array())
+ {
+ $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'annotationDataId' => $annotationDataId, 'contentVersion' => $contentVersion);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Books_Annotationdata");
+ }
+
+ /**
+ * Gets the annotation data for a volume and layer.
+ * (annotationData.listLayersAnnotationData)
+ *
+ * @param string $volumeId The volume to retrieve annotation data for.
+ * @param string $layerId The ID for the layer to get the annotation data.
+ * @param string $contentVersion The content version for the requested volume.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int scale The requested scale for the image.
+ * @opt_param string source String to identify the originator of this request.
+ * @opt_param string locale The locale information for the data. ISO-639-1
+ * language and ISO-3166-1 country code. Ex: 'en_US'.
+ * @opt_param int h The requested pixel height for any images. If height is
+ * provided width must also be provided.
+ * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated
+ * prior to this timestamp (exclusive).
+ * @opt_param string maxResults Maximum number of results to return
+ * @opt_param string annotationDataId The list of Annotation Data Ids to
+ * retrieve. Pagination is ignored if this is set.
+ * @opt_param string pageToken The value of the nextToken from the previous
+ * page.
+ * @opt_param int w The requested pixel width for any images. If width is
+ * provided height must also be provided.
+ * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated
+ * since this timestamp (inclusive).
+ * @return Postman_Google_Service_Books_Annotationsdata
+ */
+ public function listLayersAnnotationData($volumeId, $layerId, $contentVersion, $optParams = array())
+ {
+ $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Books_Annotationsdata");
+ }
+}
+/**
+ * The "volumeAnnotations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Postman_Google_Service_Books(...);
+ * $volumeAnnotations = $booksService->volumeAnnotations;
+ * </code>
+ */
+class Postman_Google_Service_Books_LayersVolumeAnnotations_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets the volume annotation. (volumeAnnotations.get)
+ *
+ * @param string $volumeId The volume to retrieve annotations for.
+ * @param string $layerId The ID for the layer to get the annotations.
+ * @param string $annotationId The ID of the volume annotation to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string locale The locale information for the data. ISO-639-1
+ * language and ISO-3166-1 country code. Ex: 'en_US'.
+ * @opt_param string source String to identify the originator of this request.
+ * @return Postman_Google_Service_Books_Volumeannotation
+ */
+ public function get($volumeId, $layerId, $annotationId, $optParams = array())
+ {
+ $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'annotationId' => $annotationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Books_Volumeannotation");
+ }
+
+ /**
+ * Gets the volume annotations for a volume and layer.
+ * (volumeAnnotations.listLayersVolumeAnnotations)
+ *
+ * @param string $volumeId The volume to retrieve annotations for.
+ * @param string $layerId The ID for the layer to get the annotations.
+ * @param string $contentVersion The content version for the requested volume.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool showDeleted Set to true to return deleted annotations.
+ * updatedMin must be in the request to use this. Defaults to false.
+ * @opt_param string volumeAnnotationsVersion The version of the volume
+ * annotations that you are requesting.
+ * @opt_param string endPosition The end position to end retrieving data from.
+ * @opt_param string endOffset The end offset to end retrieving data from.
+ * @opt_param string locale The locale information for the data. ISO-639-1
+ * language and ISO-3166-1 country code. Ex: 'en_US'.
+ * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated
+ * since this timestamp (inclusive).
+ * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated
+ * prior to this timestamp (exclusive).
+ * @opt_param string maxResults Maximum number of results to return
+ * @opt_param string pageToken The value of the nextToken from the previous
+ * page.
+ * @opt_param string source String to identify the originator of this request.
+ * @opt_param string startOffset The start offset to start retrieving data from.
+ * @opt_param string startPosition The start position to start retrieving data
+ * from.
+ * @return Postman_Google_Service_Books_Volumeannotations
+ */
+ public function listLayersVolumeAnnotations($volumeId, $layerId, $contentVersion, $optParams = array())
+ {
+ $params = array('volumeId' => $volumeId, 'layerId' => $layerId, 'contentVersion' => $contentVersion);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Books_Volumeannotations");
+ }
+}
+
+/**
+ * The "myconfig" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Postman_Google_Service_Books(...);
+ * $myconfig = $booksService->myconfig;
+ * </code>
+ */
+class Postman_Google_Service_Books_Myconfig_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Release downloaded content access restriction.
+ * (myconfig.releaseDownloadAccess)
+ *
+ * @param string $volumeIds The volume(s) to release restrictions for.
+ * @param string $cpksver The device/version ID from which to release the
+ * restriction.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message
+ * localization, i.e. en_US.
+ * @opt_param string source String to identify the originator of this request.
+ * @return Postman_Google_Service_Books_DownloadAccesses
+ */
+ public function releaseDownloadAccess($volumeIds, $cpksver, $optParams = array())
+ {
+ $params = array('volumeIds' => $volumeIds, 'cpksver' => $cpksver);
+ $params = array_merge($params, $optParams);
+ return $this->call('releaseDownloadAccess', array($params), "Postman_Google_Service_Books_DownloadAccesses");
+ }
+
+ /**
+ * Request concurrent and download access restrictions. (myconfig.requestAccess)
+ *
+ * @param string $source String to identify the originator of this request.
+ * @param string $volumeId The volume to request concurrent/download
+ * restrictions for.
+ * @param string $nonce The client nonce value.
+ * @param string $cpksver The device/version ID from which to request the
+ * restrictions.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string licenseTypes The type of access license to request. If not
+ * specified, the default is BOTH.
+ * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message
+ * localization, i.e. en_US.
+ * @return Postman_Google_Service_Books_RequestAccess
+ */
+ public function requestAccess($source, $volumeId, $nonce, $cpksver, $optParams = array())
+ {
+ $params = array('source' => $source, 'volumeId' => $volumeId, 'nonce' => $nonce, 'cpksver' => $cpksver);
+ $params = array_merge($params, $optParams);
+ return $this->call('requestAccess', array($params), "Postman_Google_Service_Books_RequestAccess");
+ }
+
+ /**
+ * Request downloaded content access for specified volumes on the My eBooks
+ * shelf. (myconfig.syncVolumeLicenses)
+ *
+ * @param string $source String to identify the originator of this request.
+ * @param string $nonce The client nonce value.
+ * @param string $cpksver The device/version ID from which to release the
+ * restriction.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string features List of features supported by the client, i.e.,
+ * 'RENTALS'
+ * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message
+ * localization, i.e. en_US.
+ * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults
+ * to false.
+ * @opt_param string volumeIds The volume(s) to request download restrictions
+ * for.
+ * @return Postman_Google_Service_Books_Volumes
+ */
+ public function syncVolumeLicenses($source, $nonce, $cpksver, $optParams = array())
+ {
+ $params = array('source' => $source, 'nonce' => $nonce, 'cpksver' => $cpksver);
+ $params = array_merge($params, $optParams);
+ return $this->call('syncVolumeLicenses', array($params), "Postman_Google_Service_Books_Volumes");
+ }
+}
+
+/**
+ * The "mylibrary" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Postman_Google_Service_Books(...);
+ * $mylibrary = $booksService->mylibrary;
+ * </code>
+ */
+class Postman_Google_Service_Books_Mylibrary_Resource extends Postman_Google_Service_Resource
+{
+}
+
+/**
+ * The "annotations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Postman_Google_Service_Books(...);
+ * $annotations = $booksService->annotations;
+ * </code>
+ */
+class Postman_Google_Service_Books_MylibraryAnnotations_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes an annotation. (annotations.delete)
+ *
+ * @param string $annotationId The ID for the annotation to delete.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string source String to identify the originator of this request.
+ */
+ public function delete($annotationId, $optParams = array())
+ {
+ $params = array('annotationId' => $annotationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets an annotation by its ID. (annotations.get)
+ *
+ * @param string $annotationId The ID for the annotation to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string source String to identify the originator of this request.
+ * @return Postman_Google_Service_Books_Annotation
+ */
+ public function get($annotationId, $optParams = array())
+ {
+ $params = array('annotationId' => $annotationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Books_Annotation");
+ }
+
+ /**
+ * Inserts a new annotation. (annotations.insert)
+ *
+ * @param Postman_Google_Annotation $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string country ISO-3166-1 code to override the IP-based location.
+ * @opt_param bool showOnlySummaryInResponse Requests that only the summary of
+ * the specified layer be provided in the response.
+ * @opt_param string source String to identify the originator of this request.
+ * @return Postman_Google_Service_Books_Annotation
+ */
+ public function insert(Postman_Google_Service_Books_Annotation $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Books_Annotation");
+ }
+
+ /**
+ * Retrieves a list of annotations, possibly filtered.
+ * (annotations.listMylibraryAnnotations)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool showDeleted Set to true to return deleted annotations.
+ * updatedMin must be in the request to use this. Defaults to false.
+ * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated
+ * since this timestamp (inclusive).
+ * @opt_param string layerIds The layer ID(s) to limit annotation by.
+ * @opt_param string volumeId The volume to restrict annotations to.
+ * @opt_param string maxResults Maximum number of results to return
+ * @opt_param string pageToken The value of the nextToken from the previous
+ * page.
+ * @opt_param string pageIds The page ID(s) for the volume that is being
+ * queried.
+ * @opt_param string contentVersion The content version for the requested
+ * volume.
+ * @opt_param string source String to identify the originator of this request.
+ * @opt_param string layerId The layer ID to limit annotation by.
+ * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated
+ * prior to this timestamp (exclusive).
+ * @return Postman_Google_Service_Books_Annotations
+ */
+ public function listMylibraryAnnotations($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Books_Annotations");
+ }
+
+ /**
+ * Gets the summary of specified layers. (annotations.summary)
+ *
+ * @param string $layerIds Array of layer IDs to get the summary for.
+ * @param string $volumeId Volume id to get the summary for.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Books_AnnotationsSummary
+ */
+ public function summary($layerIds, $volumeId, $optParams = array())
+ {
+ $params = array('layerIds' => $layerIds, 'volumeId' => $volumeId);
+ $params = array_merge($params, $optParams);
+ return $this->call('summary', array($params), "Postman_Google_Service_Books_AnnotationsSummary");
+ }
+
+ /**
+ * Updates an existing annotation. (annotations.update)
+ *
+ * @param string $annotationId The ID for the annotation to update.
+ * @param Postman_Google_Annotation $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string source String to identify the originator of this request.
+ * @return Postman_Google_Service_Books_Annotation
+ */
+ public function update($annotationId, Postman_Google_Service_Books_Annotation $postBody, $optParams = array())
+ {
+ $params = array('annotationId' => $annotationId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Books_Annotation");
+ }
+}
+/**
+ * The "bookshelves" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Postman_Google_Service_Books(...);
+ * $bookshelves = $booksService->bookshelves;
+ * </code>
+ */
+class Postman_Google_Service_Books_MylibraryBookshelves_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Adds a volume to a bookshelf. (bookshelves.addVolume)
+ *
+ * @param string $shelf ID of bookshelf to which to add a volume.
+ * @param string $volumeId ID of volume to add.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string source String to identify the originator of this request.
+ */
+ public function addVolume($shelf, $volumeId, $optParams = array())
+ {
+ $params = array('shelf' => $shelf, 'volumeId' => $volumeId);
+ $params = array_merge($params, $optParams);
+ return $this->call('addVolume', array($params));
+ }
+
+ /**
+ * Clears all volumes from a bookshelf. (bookshelves.clearVolumes)
+ *
+ * @param string $shelf ID of bookshelf from which to remove a volume.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string source String to identify the originator of this request.
+ */
+ public function clearVolumes($shelf, $optParams = array())
+ {
+ $params = array('shelf' => $shelf);
+ $params = array_merge($params, $optParams);
+ return $this->call('clearVolumes', array($params));
+ }
+
+ /**
+ * Retrieves metadata for a specific bookshelf belonging to the authenticated
+ * user. (bookshelves.get)
+ *
+ * @param string $shelf ID of bookshelf to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string source String to identify the originator of this request.
+ * @return Postman_Google_Service_Books_Bookshelf
+ */
+ public function get($shelf, $optParams = array())
+ {
+ $params = array('shelf' => $shelf);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Books_Bookshelf");
+ }
+
+ /**
+ * Retrieves a list of bookshelves belonging to the authenticated user.
+ * (bookshelves.listMylibraryBookshelves)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string source String to identify the originator of this request.
+ * @return Postman_Google_Service_Books_Bookshelves
+ */
+ public function listMylibraryBookshelves($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Books_Bookshelves");
+ }
+
+ /**
+ * Moves a volume within a bookshelf. (bookshelves.moveVolume)
+ *
+ * @param string $shelf ID of bookshelf with the volume.
+ * @param string $volumeId ID of volume to move.
+ * @param int $volumePosition Position on shelf to move the item (0 puts the
+ * item before the current first item, 1 puts it between the first and the
+ * second and so on.)
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string source String to identify the originator of this request.
+ */
+ public function moveVolume($shelf, $volumeId, $volumePosition, $optParams = array())
+ {
+ $params = array('shelf' => $shelf, 'volumeId' => $volumeId, 'volumePosition' => $volumePosition);
+ $params = array_merge($params, $optParams);
+ return $this->call('moveVolume', array($params));
+ }
+
+ /**
+ * Removes a volume from a bookshelf. (bookshelves.removeVolume)
+ *
+ * @param string $shelf ID of bookshelf from which to remove a volume.
+ * @param string $volumeId ID of volume to remove.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string source String to identify the originator of this request.
+ */
+ public function removeVolume($shelf, $volumeId, $optParams = array())
+ {
+ $params = array('shelf' => $shelf, 'volumeId' => $volumeId);
+ $params = array_merge($params, $optParams);
+ return $this->call('removeVolume', array($params));
+ }
+}
+
+/**
+ * The "volumes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Postman_Google_Service_Books(...);
+ * $volumes = $booksService->volumes;
+ * </code>
+ */
+class Postman_Google_Service_Books_MylibraryBookshelvesVolumes_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets volume information for volumes on a bookshelf.
+ * (volumes.listMylibraryBookshelvesVolumes)
+ *
+ * @param string $shelf The bookshelf ID or name retrieve volumes for.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projection Restrict information returned to a set of
+ * selected fields.
+ * @opt_param string country ISO-3166-1 code to override the IP-based location.
+ * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults
+ * to false.
+ * @opt_param string maxResults Maximum number of results to return
+ * @opt_param string q Full-text search query string in this bookshelf.
+ * @opt_param string source String to identify the originator of this request.
+ * @opt_param string startIndex Index of the first element to return (starts at
+ * 0)
+ * @return Postman_Google_Service_Books_Volumes
+ */
+ public function listMylibraryBookshelvesVolumes($shelf, $optParams = array())
+ {
+ $params = array('shelf' => $shelf);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Books_Volumes");
+ }
+}
+/**
+ * The "readingpositions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Postman_Google_Service_Books(...);
+ * $readingpositions = $booksService->readingpositions;
+ * </code>
+ */
+class Postman_Google_Service_Books_MylibraryReadingpositions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves my reading position information for a volume.
+ * (readingpositions.get)
+ *
+ * @param string $volumeId ID of volume for which to retrieve a reading
+ * position.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string source String to identify the originator of this request.
+ * @opt_param string contentVersion Volume content version for which this
+ * reading position is requested.
+ * @return Postman_Google_Service_Books_ReadingPosition
+ */
+ public function get($volumeId, $optParams = array())
+ {
+ $params = array('volumeId' => $volumeId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Books_ReadingPosition");
+ }
+
+ /**
+ * Sets my reading position information for a volume.
+ * (readingpositions.setPosition)
+ *
+ * @param string $volumeId ID of volume for which to update the reading
+ * position.
+ * @param string $timestamp RFC 3339 UTC format timestamp associated with this
+ * reading position.
+ * @param string $position Position string for the new volume reading position.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string deviceCookie Random persistent device cookie optional on
+ * set position.
+ * @opt_param string source String to identify the originator of this request.
+ * @opt_param string contentVersion Volume content version for which this
+ * reading position applies.
+ * @opt_param string action Action that caused this reading position to be set.
+ */
+ public function setPosition($volumeId, $timestamp, $position, $optParams = array())
+ {
+ $params = array('volumeId' => $volumeId, 'timestamp' => $timestamp, 'position' => $position);
+ $params = array_merge($params, $optParams);
+ return $this->call('setPosition', array($params));
+ }
+}
+
+/**
+ * The "promooffer" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Postman_Google_Service_Books(...);
+ * $promooffer = $booksService->promooffer;
+ * </code>
+ */
+class Postman_Google_Service_Books_Promooffer_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * (promooffer.accept)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string product device product
+ * @opt_param string volumeId Volume id to exercise the offer
+ * @opt_param string offerId
+ * @opt_param string androidId device android_id
+ * @opt_param string device device device
+ * @opt_param string model device model
+ * @opt_param string serial device serial
+ * @opt_param string manufacturer device manufacturer
+ */
+ public function accept($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('accept', array($params));
+ }
+
+ /**
+ * (promooffer.dismiss)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string product device product
+ * @opt_param string offerId Offer to dimiss
+ * @opt_param string androidId device android_id
+ * @opt_param string device device device
+ * @opt_param string model device model
+ * @opt_param string serial device serial
+ * @opt_param string manufacturer device manufacturer
+ */
+ public function dismiss($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('dismiss', array($params));
+ }
+
+ /**
+ * Returns a list of promo offers available to the user (promooffer.get)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string product device product
+ * @opt_param string androidId device android_id
+ * @opt_param string device device device
+ * @opt_param string model device model
+ * @opt_param string serial device serial
+ * @opt_param string manufacturer device manufacturer
+ * @return Postman_Google_Service_Books_Offers
+ */
+ public function get($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Books_Offers");
+ }
+}
+
+/**
+ * The "volumes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Postman_Google_Service_Books(...);
+ * $volumes = $booksService->volumes;
+ * </code>
+ */
+class Postman_Google_Service_Books_Volumes_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets volume information for a single volume. (volumes.get)
+ *
+ * @param string $volumeId ID of volume to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string source String to identify the originator of this request.
+ * @opt_param string country ISO-3166-1 code to override the IP-based location.
+ * @opt_param string projection Restrict information returned to a set of
+ * selected fields.
+ * @opt_param string partner Brand results for partner ID.
+ * @return Postman_Google_Service_Books_Volume
+ */
+ public function get($volumeId, $optParams = array())
+ {
+ $params = array('volumeId' => $volumeId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Books_Volume");
+ }
+
+ /**
+ * Performs a book search. (volumes.listVolumes)
+ *
+ * @param string $q Full-text search query string.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy Sort search results.
+ * @opt_param string projection Restrict information returned to a set of
+ * selected fields.
+ * @opt_param string libraryRestrict Restrict search to this user's library.
+ * @opt_param string langRestrict Restrict results to books with this language
+ * code.
+ * @opt_param bool showPreorders Set to true to show books available for
+ * preorder. Defaults to false.
+ * @opt_param string printType Restrict to books or magazines.
+ * @opt_param string maxResults Maximum number of results to return.
+ * @opt_param string filter Filter search results.
+ * @opt_param string source String to identify the originator of this request.
+ * @opt_param string startIndex Index of the first result to return (starts at
+ * 0)
+ * @opt_param string download Restrict to volumes by download availability.
+ * @opt_param string partner Restrict and brand results for partner ID.
+ * @return Postman_Google_Service_Books_Volumes
+ */
+ public function listVolumes($q, $optParams = array())
+ {
+ $params = array('q' => $q);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Books_Volumes");
+ }
+}
+
+/**
+ * The "associated" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Postman_Google_Service_Books(...);
+ * $associated = $booksService->associated;
+ * </code>
+ */
+class Postman_Google_Service_Books_VolumesAssociated_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Return a list of associated books. (associated.listVolumesAssociated)
+ *
+ * @param string $volumeId ID of the source volume.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
+ * 'en_US'. Used for generating recommendations.
+ * @opt_param string source String to identify the originator of this request.
+ * @opt_param string association Association type.
+ * @return Postman_Google_Service_Books_Volumes
+ */
+ public function listVolumesAssociated($volumeId, $optParams = array())
+ {
+ $params = array('volumeId' => $volumeId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Books_Volumes");
+ }
+}
+/**
+ * The "mybooks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Postman_Google_Service_Books(...);
+ * $mybooks = $booksService->mybooks;
+ * </code>
+ */
+class Postman_Google_Service_Books_VolumesMybooks_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Return a list of books in My Library. (mybooks.listVolumesMybooks)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code.
+ * Ex:'en_US'. Used for generating recommendations.
+ * @opt_param string startIndex Index of the first result to return (starts at
+ * 0)
+ * @opt_param string maxResults Maximum number of results to return.
+ * @opt_param string source String to identify the originator of this request.
+ * @opt_param string acquireMethod How the book was aquired
+ * @opt_param string processingState The processing state of the user uploaded
+ * volumes to be returned. Applicable only if the UPLOADED is specified in the
+ * acquireMethod.
+ * @return Postman_Google_Service_Books_Volumes
+ */
+ public function listVolumesMybooks($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Books_Volumes");
+ }
+}
+/**
+ * The "recommended" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Postman_Google_Service_Books(...);
+ * $recommended = $booksService->recommended;
+ * </code>
+ */
+class Postman_Google_Service_Books_VolumesRecommended_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Return a list of recommended books for the current user.
+ * (recommended.listVolumesRecommended)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
+ * 'en_US'. Used for generating recommendations.
+ * @opt_param string source String to identify the originator of this request.
+ * @return Postman_Google_Service_Books_Volumes
+ */
+ public function listVolumesRecommended($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Books_Volumes");
+ }
+
+ /**
+ * Rate a recommended book for the current user. (recommended.rate)
+ *
+ * @param string $rating Rating to be given to the volume.
+ * @param string $volumeId ID of the source volume.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
+ * 'en_US'. Used for generating recommendations.
+ * @opt_param string source String to identify the originator of this request.
+ * @return Postman_Google_Service_Books_BooksVolumesRecommendedRateResponse
+ */
+ public function rate($rating, $volumeId, $optParams = array())
+ {
+ $params = array('rating' => $rating, 'volumeId' => $volumeId);
+ $params = array_merge($params, $optParams);
+ return $this->call('rate', array($params), "Postman_Google_Service_Books_BooksVolumesRecommendedRateResponse");
+ }
+}
+/**
+ * The "useruploaded" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $booksService = new Postman_Google_Service_Books(...);
+ * $useruploaded = $booksService->useruploaded;
+ * </code>
+ */
+class Postman_Google_Service_Books_VolumesUseruploaded_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Return a list of books uploaded by the current user.
+ * (useruploaded.listVolumesUseruploaded)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
+ * 'en_US'. Used for generating recommendations.
+ * @opt_param string volumeId The ids of the volumes to be returned. If not
+ * specified all that match the processingState are returned.
+ * @opt_param string maxResults Maximum number of results to return.
+ * @opt_param string source String to identify the originator of this request.
+ * @opt_param string startIndex Index of the first result to return (starts at
+ * 0)
+ * @opt_param string processingState The processing state of the user uploaded
+ * volumes to be returned.
+ * @return Postman_Google_Service_Books_Volumes
+ */
+ public function listVolumesUseruploaded($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Books_Volumes");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Books_Annotation extends Postman_Google_Collection
+{
+ protected $collection_key = 'pageIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $afterSelectedText;
+ public $beforeSelectedText;
+ protected $clientVersionRangesType = 'Postman_Google_Service_Books_AnnotationClientVersionRanges';
+ protected $clientVersionRangesDataType = '';
+ public $created;
+ protected $currentVersionRangesType = 'Postman_Google_Service_Books_AnnotationCurrentVersionRanges';
+ protected $currentVersionRangesDataType = '';
+ public $data;
+ public $deleted;
+ public $highlightStyle;
+ public $id;
+ public $kind;
+ public $layerId;
+ protected $layerSummaryType = 'Postman_Google_Service_Books_AnnotationLayerSummary';
+ protected $layerSummaryDataType = '';
+ public $pageIds;
+ public $selectedText;
+ public $selfLink;
+ public $updated;
+ public $volumeId;
+
+
+ public function setAfterSelectedText($afterSelectedText)
+ {
+ $this->afterSelectedText = $afterSelectedText;
+ }
+ public function getAfterSelectedText()
+ {
+ return $this->afterSelectedText;
+ }
+ public function setBeforeSelectedText($beforeSelectedText)
+ {
+ $this->beforeSelectedText = $beforeSelectedText;
+ }
+ public function getBeforeSelectedText()
+ {
+ return $this->beforeSelectedText;
+ }
+ public function setClientVersionRanges(Postman_Google_Service_Books_AnnotationClientVersionRanges $clientVersionRanges)
+ {
+ $this->clientVersionRanges = $clientVersionRanges;
+ }
+ public function getClientVersionRanges()
+ {
+ return $this->clientVersionRanges;
+ }
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+ public function getCreated()
+ {
+ return $this->created;
+ }
+ public function setCurrentVersionRanges(Postman_Google_Service_Books_AnnotationCurrentVersionRanges $currentVersionRanges)
+ {
+ $this->currentVersionRanges = $currentVersionRanges;
+ }
+ public function getCurrentVersionRanges()
+ {
+ return $this->currentVersionRanges;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setDeleted($deleted)
+ {
+ $this->deleted = $deleted;
+ }
+ public function getDeleted()
+ {
+ return $this->deleted;
+ }
+ public function setHighlightStyle($highlightStyle)
+ {
+ $this->highlightStyle = $highlightStyle;
+ }
+ public function getHighlightStyle()
+ {
+ return $this->highlightStyle;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLayerId($layerId)
+ {
+ $this->layerId = $layerId;
+ }
+ public function getLayerId()
+ {
+ return $this->layerId;
+ }
+ public function setLayerSummary(Postman_Google_Service_Books_AnnotationLayerSummary $layerSummary)
+ {
+ $this->layerSummary = $layerSummary;
+ }
+ public function getLayerSummary()
+ {
+ return $this->layerSummary;
+ }
+ public function setPageIds($pageIds)
+ {
+ $this->pageIds = $pageIds;
+ }
+ public function getPageIds()
+ {
+ return $this->pageIds;
+ }
+ public function setSelectedText($selectedText)
+ {
+ $this->selectedText = $selectedText;
+ }
+ public function getSelectedText()
+ {
+ return $this->selectedText;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setVolumeId($volumeId)
+ {
+ $this->volumeId = $volumeId;
+ }
+ public function getVolumeId()
+ {
+ return $this->volumeId;
+ }
+}
+
+class Postman_Google_Service_Books_AnnotationClientVersionRanges extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $cfiRangeType = 'Postman_Google_Service_Books_BooksAnnotationsRange';
+ protected $cfiRangeDataType = '';
+ public $contentVersion;
+ protected $gbImageRangeType = 'Postman_Google_Service_Books_BooksAnnotationsRange';
+ protected $gbImageRangeDataType = '';
+ protected $gbTextRangeType = 'Postman_Google_Service_Books_BooksAnnotationsRange';
+ protected $gbTextRangeDataType = '';
+ protected $imageCfiRangeType = 'Postman_Google_Service_Books_BooksAnnotationsRange';
+ protected $imageCfiRangeDataType = '';
+
+
+ public function setCfiRange(Postman_Google_Service_Books_BooksAnnotationsRange $cfiRange)
+ {
+ $this->cfiRange = $cfiRange;
+ }
+ public function getCfiRange()
+ {
+ return $this->cfiRange;
+ }
+ public function setContentVersion($contentVersion)
+ {
+ $this->contentVersion = $contentVersion;
+ }
+ public function getContentVersion()
+ {
+ return $this->contentVersion;
+ }
+ public function setGbImageRange(Postman_Google_Service_Books_BooksAnnotationsRange $gbImageRange)
+ {
+ $this->gbImageRange = $gbImageRange;
+ }
+ public function getGbImageRange()
+ {
+ return $this->gbImageRange;
+ }
+ public function setGbTextRange(Postman_Google_Service_Books_BooksAnnotationsRange $gbTextRange)
+ {
+ $this->gbTextRange = $gbTextRange;
+ }
+ public function getGbTextRange()
+ {
+ return $this->gbTextRange;
+ }
+ public function setImageCfiRange(Postman_Google_Service_Books_BooksAnnotationsRange $imageCfiRange)
+ {
+ $this->imageCfiRange = $imageCfiRange;
+ }
+ public function getImageCfiRange()
+ {
+ return $this->imageCfiRange;
+ }
+}
+
+class Postman_Google_Service_Books_AnnotationCurrentVersionRanges extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $cfiRangeType = 'Postman_Google_Service_Books_BooksAnnotationsRange';
+ protected $cfiRangeDataType = '';
+ public $contentVersion;
+ protected $gbImageRangeType = 'Postman_Google_Service_Books_BooksAnnotationsRange';
+ protected $gbImageRangeDataType = '';
+ protected $gbTextRangeType = 'Postman_Google_Service_Books_BooksAnnotationsRange';
+ protected $gbTextRangeDataType = '';
+ protected $imageCfiRangeType = 'Postman_Google_Service_Books_BooksAnnotationsRange';
+ protected $imageCfiRangeDataType = '';
+
+
+ public function setCfiRange(Postman_Google_Service_Books_BooksAnnotationsRange $cfiRange)
+ {
+ $this->cfiRange = $cfiRange;
+ }
+ public function getCfiRange()
+ {
+ return $this->cfiRange;
+ }
+ public function setContentVersion($contentVersion)
+ {
+ $this->contentVersion = $contentVersion;
+ }
+ public function getContentVersion()
+ {
+ return $this->contentVersion;
+ }
+ public function setGbImageRange(Postman_Google_Service_Books_BooksAnnotationsRange $gbImageRange)
+ {
+ $this->gbImageRange = $gbImageRange;
+ }
+ public function getGbImageRange()
+ {
+ return $this->gbImageRange;
+ }
+ public function setGbTextRange(Postman_Google_Service_Books_BooksAnnotationsRange $gbTextRange)
+ {
+ $this->gbTextRange = $gbTextRange;
+ }
+ public function getGbTextRange()
+ {
+ return $this->gbTextRange;
+ }
+ public function setImageCfiRange(Postman_Google_Service_Books_BooksAnnotationsRange $imageCfiRange)
+ {
+ $this->imageCfiRange = $imageCfiRange;
+ }
+ public function getImageCfiRange()
+ {
+ return $this->imageCfiRange;
+ }
+}
+
+class Postman_Google_Service_Books_AnnotationLayerSummary extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $allowedCharacterCount;
+ public $limitType;
+ public $remainingCharacterCount;
+
+
+ public function setAllowedCharacterCount($allowedCharacterCount)
+ {
+ $this->allowedCharacterCount = $allowedCharacterCount;
+ }
+ public function getAllowedCharacterCount()
+ {
+ return $this->allowedCharacterCount;
+ }
+ public function setLimitType($limitType)
+ {
+ $this->limitType = $limitType;
+ }
+ public function getLimitType()
+ {
+ return $this->limitType;
+ }
+ public function setRemainingCharacterCount($remainingCharacterCount)
+ {
+ $this->remainingCharacterCount = $remainingCharacterCount;
+ }
+ public function getRemainingCharacterCount()
+ {
+ return $this->remainingCharacterCount;
+ }
+}
+
+class Postman_Google_Service_Books_Annotationdata extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "encodedData" => "encoded_data",
+ );
+ public $annotationType;
+ public $data;
+ public $encodedData;
+ public $id;
+ public $kind;
+ public $layerId;
+ public $selfLink;
+ public $updated;
+ public $volumeId;
+
+
+ public function setAnnotationType($annotationType)
+ {
+ $this->annotationType = $annotationType;
+ }
+ public function getAnnotationType()
+ {
+ return $this->annotationType;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setEncodedData($encodedData)
+ {
+ $this->encodedData = $encodedData;
+ }
+ public function getEncodedData()
+ {
+ return $this->encodedData;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLayerId($layerId)
+ {
+ $this->layerId = $layerId;
+ }
+ public function getLayerId()
+ {
+ return $this->layerId;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setVolumeId($volumeId)
+ {
+ $this->volumeId = $volumeId;
+ }
+ public function getVolumeId()
+ {
+ return $this->volumeId;
+ }
+}
+
+class Postman_Google_Service_Books_Annotations extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Books_Annotation';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $totalItems;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_Books_AnnotationsSummary extends Postman_Google_Collection
+{
+ protected $collection_key = 'layers';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $layersType = 'Postman_Google_Service_Books_AnnotationsSummaryLayers';
+ protected $layersDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLayers($layers)
+ {
+ $this->layers = $layers;
+ }
+ public function getLayers()
+ {
+ return $this->layers;
+ }
+}
+
+class Postman_Google_Service_Books_AnnotationsSummaryLayers extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $allowedCharacterCount;
+ public $layerId;
+ public $limitType;
+ public $remainingCharacterCount;
+ public $updated;
+
+
+ public function setAllowedCharacterCount($allowedCharacterCount)
+ {
+ $this->allowedCharacterCount = $allowedCharacterCount;
+ }
+ public function getAllowedCharacterCount()
+ {
+ return $this->allowedCharacterCount;
+ }
+ public function setLayerId($layerId)
+ {
+ $this->layerId = $layerId;
+ }
+ public function getLayerId()
+ {
+ return $this->layerId;
+ }
+ public function setLimitType($limitType)
+ {
+ $this->limitType = $limitType;
+ }
+ public function getLimitType()
+ {
+ return $this->limitType;
+ }
+ public function setRemainingCharacterCount($remainingCharacterCount)
+ {
+ $this->remainingCharacterCount = $remainingCharacterCount;
+ }
+ public function getRemainingCharacterCount()
+ {
+ return $this->remainingCharacterCount;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+}
+
+class Postman_Google_Service_Books_Annotationsdata extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Books_Annotationdata';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $totalItems;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_Books_BooksAnnotationsRange extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $endOffset;
+ public $endPosition;
+ public $startOffset;
+ public $startPosition;
+
+
+ public function setEndOffset($endOffset)
+ {
+ $this->endOffset = $endOffset;
+ }
+ public function getEndOffset()
+ {
+ return $this->endOffset;
+ }
+ public function setEndPosition($endPosition)
+ {
+ $this->endPosition = $endPosition;
+ }
+ public function getEndPosition()
+ {
+ return $this->endPosition;
+ }
+ public function setStartOffset($startOffset)
+ {
+ $this->startOffset = $startOffset;
+ }
+ public function getStartOffset()
+ {
+ return $this->startOffset;
+ }
+ public function setStartPosition($startPosition)
+ {
+ $this->startPosition = $startPosition;
+ }
+ public function getStartPosition()
+ {
+ return $this->startPosition;
+ }
+}
+
+class Postman_Google_Service_Books_BooksCloudloadingResource extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $author;
+ public $processingState;
+ public $title;
+ public $volumeId;
+
+
+ public function setAuthor($author)
+ {
+ $this->author = $author;
+ }
+ public function getAuthor()
+ {
+ return $this->author;
+ }
+ public function setProcessingState($processingState)
+ {
+ $this->processingState = $processingState;
+ }
+ public function getProcessingState()
+ {
+ return $this->processingState;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setVolumeId($volumeId)
+ {
+ $this->volumeId = $volumeId;
+ }
+ public function getVolumeId()
+ {
+ return $this->volumeId;
+ }
+}
+
+class Postman_Google_Service_Books_BooksVolumesRecommendedRateResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "consistencyToken" => "consistency_token",
+ );
+ public $consistencyToken;
+
+
+ public function setConsistencyToken($consistencyToken)
+ {
+ $this->consistencyToken = $consistencyToken;
+ }
+ public function getConsistencyToken()
+ {
+ return $this->consistencyToken;
+ }
+}
+
+class Postman_Google_Service_Books_Bookshelf extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $access;
+ public $created;
+ public $description;
+ public $id;
+ public $kind;
+ public $selfLink;
+ public $title;
+ public $updated;
+ public $volumeCount;
+ public $volumesLastUpdated;
+
+
+ public function setAccess($access)
+ {
+ $this->access = $access;
+ }
+ public function getAccess()
+ {
+ return $this->access;
+ }
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+ public function getCreated()
+ {
+ return $this->created;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setVolumeCount($volumeCount)
+ {
+ $this->volumeCount = $volumeCount;
+ }
+ public function getVolumeCount()
+ {
+ return $this->volumeCount;
+ }
+ public function setVolumesLastUpdated($volumesLastUpdated)
+ {
+ $this->volumesLastUpdated = $volumesLastUpdated;
+ }
+ public function getVolumesLastUpdated()
+ {
+ return $this->volumesLastUpdated;
+ }
+}
+
+class Postman_Google_Service_Books_Bookshelves extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Books_Bookshelf';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Books_ConcurrentAccessRestriction extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $deviceAllowed;
+ public $kind;
+ public $maxConcurrentDevices;
+ public $message;
+ public $nonce;
+ public $reasonCode;
+ public $restricted;
+ public $signature;
+ public $source;
+ public $timeWindowSeconds;
+ public $volumeId;
+
+
+ public function setDeviceAllowed($deviceAllowed)
+ {
+ $this->deviceAllowed = $deviceAllowed;
+ }
+ public function getDeviceAllowed()
+ {
+ return $this->deviceAllowed;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMaxConcurrentDevices($maxConcurrentDevices)
+ {
+ $this->maxConcurrentDevices = $maxConcurrentDevices;
+ }
+ public function getMaxConcurrentDevices()
+ {
+ return $this->maxConcurrentDevices;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+ public function setNonce($nonce)
+ {
+ $this->nonce = $nonce;
+ }
+ public function getNonce()
+ {
+ return $this->nonce;
+ }
+ public function setReasonCode($reasonCode)
+ {
+ $this->reasonCode = $reasonCode;
+ }
+ public function getReasonCode()
+ {
+ return $this->reasonCode;
+ }
+ public function setRestricted($restricted)
+ {
+ $this->restricted = $restricted;
+ }
+ public function getRestricted()
+ {
+ return $this->restricted;
+ }
+ public function setSignature($signature)
+ {
+ $this->signature = $signature;
+ }
+ public function getSignature()
+ {
+ return $this->signature;
+ }
+ public function setSource($source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+ public function setTimeWindowSeconds($timeWindowSeconds)
+ {
+ $this->timeWindowSeconds = $timeWindowSeconds;
+ }
+ public function getTimeWindowSeconds()
+ {
+ return $this->timeWindowSeconds;
+ }
+ public function setVolumeId($volumeId)
+ {
+ $this->volumeId = $volumeId;
+ }
+ public function getVolumeId()
+ {
+ return $this->volumeId;
+ }
+}
+
+class Postman_Google_Service_Books_Dictlayerdata extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $commonType = 'Postman_Google_Service_Books_DictlayerdataCommon';
+ protected $commonDataType = '';
+ protected $dictType = 'Postman_Google_Service_Books_DictlayerdataDict';
+ protected $dictDataType = '';
+ public $kind;
+
+
+ public function setCommon(Postman_Google_Service_Books_DictlayerdataCommon $common)
+ {
+ $this->common = $common;
+ }
+ public function getCommon()
+ {
+ return $this->common;
+ }
+ public function setDict(Postman_Google_Service_Books_DictlayerdataDict $dict)
+ {
+ $this->dict = $dict;
+ }
+ public function getDict()
+ {
+ return $this->dict;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Books_DictlayerdataCommon extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $title;
+
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_Books_DictlayerdataDict extends Postman_Google_Collection
+{
+ protected $collection_key = 'words';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $sourceType = 'Postman_Google_Service_Books_DictlayerdataDictSource';
+ protected $sourceDataType = '';
+ protected $wordsType = 'Postman_Google_Service_Books_DictlayerdataDictWords';
+ protected $wordsDataType = 'array';
+
+
+ public function setSource(Postman_Google_Service_Books_DictlayerdataDictSource $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+ public function setWords($words)
+ {
+ $this->words = $words;
+ }
+ public function getWords()
+ {
+ return $this->words;
+ }
+}
+
+class Postman_Google_Service_Books_DictlayerdataDictSource extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $attribution;
+ public $url;
+
+
+ public function setAttribution($attribution)
+ {
+ $this->attribution = $attribution;
+ }
+ public function getAttribution()
+ {
+ return $this->attribution;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Books_DictlayerdataDictWords extends Postman_Google_Collection
+{
+ protected $collection_key = 'senses';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $derivativesType = 'Postman_Google_Service_Books_DictlayerdataDictWordsDerivatives';
+ protected $derivativesDataType = 'array';
+ protected $examplesType = 'Postman_Google_Service_Books_DictlayerdataDictWordsExamples';
+ protected $examplesDataType = 'array';
+ protected $sensesType = 'Postman_Google_Service_Books_DictlayerdataDictWordsSenses';
+ protected $sensesDataType = 'array';
+ protected $sourceType = 'Postman_Google_Service_Books_DictlayerdataDictWordsSource';
+ protected $sourceDataType = '';
+
+
+ public function setDerivatives($derivatives)
+ {
+ $this->derivatives = $derivatives;
+ }
+ public function getDerivatives()
+ {
+ return $this->derivatives;
+ }
+ public function setExamples($examples)
+ {
+ $this->examples = $examples;
+ }
+ public function getExamples()
+ {
+ return $this->examples;
+ }
+ public function setSenses($senses)
+ {
+ $this->senses = $senses;
+ }
+ public function getSenses()
+ {
+ return $this->senses;
+ }
+ public function setSource(Postman_Google_Service_Books_DictlayerdataDictWordsSource $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
+
+class Postman_Google_Service_Books_DictlayerdataDictWordsDerivatives extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $sourceType = 'Postman_Google_Service_Books_DictlayerdataDictWordsDerivativesSource';
+ protected $sourceDataType = '';
+ public $text;
+
+
+ public function setSource(Postman_Google_Service_Books_DictlayerdataDictWordsDerivativesSource $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+ public function setText($text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
+
+class Postman_Google_Service_Books_DictlayerdataDictWordsDerivativesSource extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $attribution;
+ public $url;
+
+
+ public function setAttribution($attribution)
+ {
+ $this->attribution = $attribution;
+ }
+ public function getAttribution()
+ {
+ return $this->attribution;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Books_DictlayerdataDictWordsExamples extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $sourceType = 'Postman_Google_Service_Books_DictlayerdataDictWordsExamplesSource';
+ protected $sourceDataType = '';
+ public $text;
+
+
+ public function setSource(Postman_Google_Service_Books_DictlayerdataDictWordsExamplesSource $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+ public function setText($text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
+
+class Postman_Google_Service_Books_DictlayerdataDictWordsExamplesSource extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $attribution;
+ public $url;
+
+
+ public function setAttribution($attribution)
+ {
+ $this->attribution = $attribution;
+ }
+ public function getAttribution()
+ {
+ return $this->attribution;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Books_DictlayerdataDictWordsSenses extends Postman_Google_Collection
+{
+ protected $collection_key = 'synonyms';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $conjugationsType = 'Postman_Google_Service_Books_DictlayerdataDictWordsSensesConjugations';
+ protected $conjugationsDataType = 'array';
+ protected $definitionsType = 'Postman_Google_Service_Books_DictlayerdataDictWordsSensesDefinitions';
+ protected $definitionsDataType = 'array';
+ public $partOfSpeech;
+ public $pronunciation;
+ public $pronunciationUrl;
+ protected $sourceType = 'Postman_Google_Service_Books_DictlayerdataDictWordsSensesSource';
+ protected $sourceDataType = '';
+ public $syllabification;
+ protected $synonymsType = 'Postman_Google_Service_Books_DictlayerdataDictWordsSensesSynonyms';
+ protected $synonymsDataType = 'array';
+
+
+ public function setConjugations($conjugations)
+ {
+ $this->conjugations = $conjugations;
+ }
+ public function getConjugations()
+ {
+ return $this->conjugations;
+ }
+ public function setDefinitions($definitions)
+ {
+ $this->definitions = $definitions;
+ }
+ public function getDefinitions()
+ {
+ return $this->definitions;
+ }
+ public function setPartOfSpeech($partOfSpeech)
+ {
+ $this->partOfSpeech = $partOfSpeech;
+ }
+ public function getPartOfSpeech()
+ {
+ return $this->partOfSpeech;
+ }
+ public function setPronunciation($pronunciation)
+ {
+ $this->pronunciation = $pronunciation;
+ }
+ public function getPronunciation()
+ {
+ return $this->pronunciation;
+ }
+ public function setPronunciationUrl($pronunciationUrl)
+ {
+ $this->pronunciationUrl = $pronunciationUrl;
+ }
+ public function getPronunciationUrl()
+ {
+ return $this->pronunciationUrl;
+ }
+ public function setSource(Postman_Google_Service_Books_DictlayerdataDictWordsSensesSource $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+ public function setSyllabification($syllabification)
+ {
+ $this->syllabification = $syllabification;
+ }
+ public function getSyllabification()
+ {
+ return $this->syllabification;
+ }
+ public function setSynonyms($synonyms)
+ {
+ $this->synonyms = $synonyms;
+ }
+ public function getSynonyms()
+ {
+ return $this->synonyms;
+ }
+}
+
+class Postman_Google_Service_Books_DictlayerdataDictWordsSensesConjugations extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $type;
+ public $value;
+
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Books_DictlayerdataDictWordsSensesDefinitions extends Postman_Google_Collection
+{
+ protected $collection_key = 'examples';
+ protected $internal_gapi_mappings = array(
+ );
+ public $definition;
+ protected $examplesType = 'Postman_Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples';
+ protected $examplesDataType = 'array';
+
+
+ public function setDefinition($definition)
+ {
+ $this->definition = $definition;
+ }
+ public function getDefinition()
+ {
+ return $this->definition;
+ }
+ public function setExamples($examples)
+ {
+ $this->examples = $examples;
+ }
+ public function getExamples()
+ {
+ return $this->examples;
+ }
+}
+
+class Postman_Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $sourceType = 'Postman_Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource';
+ protected $sourceDataType = '';
+ public $text;
+
+
+ public function setSource(Postman_Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+ public function setText($text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
+
+class Postman_Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $attribution;
+ public $url;
+
+
+ public function setAttribution($attribution)
+ {
+ $this->attribution = $attribution;
+ }
+ public function getAttribution()
+ {
+ return $this->attribution;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Books_DictlayerdataDictWordsSensesSource extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $attribution;
+ public $url;
+
+
+ public function setAttribution($attribution)
+ {
+ $this->attribution = $attribution;
+ }
+ public function getAttribution()
+ {
+ return $this->attribution;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Books_DictlayerdataDictWordsSensesSynonyms extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $sourceType = 'Postman_Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource';
+ protected $sourceDataType = '';
+ public $text;
+
+
+ public function setSource(Postman_Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+ public function setText($text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
+
+class Postman_Google_Service_Books_DictlayerdataDictWordsSensesSynonymsSource extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $attribution;
+ public $url;
+
+
+ public function setAttribution($attribution)
+ {
+ $this->attribution = $attribution;
+ }
+ public function getAttribution()
+ {
+ return $this->attribution;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Books_DictlayerdataDictWordsSource extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $attribution;
+ public $url;
+
+
+ public function setAttribution($attribution)
+ {
+ $this->attribution = $attribution;
+ }
+ public function getAttribution()
+ {
+ return $this->attribution;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Books_DownloadAccessRestriction extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $deviceAllowed;
+ public $downloadsAcquired;
+ public $justAcquired;
+ public $kind;
+ public $maxDownloadDevices;
+ public $message;
+ public $nonce;
+ public $reasonCode;
+ public $restricted;
+ public $signature;
+ public $source;
+ public $volumeId;
+
+
+ public function setDeviceAllowed($deviceAllowed)
+ {
+ $this->deviceAllowed = $deviceAllowed;
+ }
+ public function getDeviceAllowed()
+ {
+ return $this->deviceAllowed;
+ }
+ public function setDownloadsAcquired($downloadsAcquired)
+ {
+ $this->downloadsAcquired = $downloadsAcquired;
+ }
+ public function getDownloadsAcquired()
+ {
+ return $this->downloadsAcquired;
+ }
+ public function setJustAcquired($justAcquired)
+ {
+ $this->justAcquired = $justAcquired;
+ }
+ public function getJustAcquired()
+ {
+ return $this->justAcquired;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMaxDownloadDevices($maxDownloadDevices)
+ {
+ $this->maxDownloadDevices = $maxDownloadDevices;
+ }
+ public function getMaxDownloadDevices()
+ {
+ return $this->maxDownloadDevices;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+ public function setNonce($nonce)
+ {
+ $this->nonce = $nonce;
+ }
+ public function getNonce()
+ {
+ return $this->nonce;
+ }
+ public function setReasonCode($reasonCode)
+ {
+ $this->reasonCode = $reasonCode;
+ }
+ public function getReasonCode()
+ {
+ return $this->reasonCode;
+ }
+ public function setRestricted($restricted)
+ {
+ $this->restricted = $restricted;
+ }
+ public function getRestricted()
+ {
+ return $this->restricted;
+ }
+ public function setSignature($signature)
+ {
+ $this->signature = $signature;
+ }
+ public function getSignature()
+ {
+ return $this->signature;
+ }
+ public function setSource($source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+ public function setVolumeId($volumeId)
+ {
+ $this->volumeId = $volumeId;
+ }
+ public function getVolumeId()
+ {
+ return $this->volumeId;
+ }
+}
+
+class Postman_Google_Service_Books_DownloadAccesses extends Postman_Google_Collection
+{
+ protected $collection_key = 'downloadAccessList';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $downloadAccessListType = 'Postman_Google_Service_Books_DownloadAccessRestriction';
+ protected $downloadAccessListDataType = 'array';
+ public $kind;
+
+
+ public function setDownloadAccessList($downloadAccessList)
+ {
+ $this->downloadAccessList = $downloadAccessList;
+ }
+ public function getDownloadAccessList()
+ {
+ return $this->downloadAccessList;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Books_Geolayerdata extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $commonType = 'Postman_Google_Service_Books_GeolayerdataCommon';
+ protected $commonDataType = '';
+ protected $geoType = 'Postman_Google_Service_Books_GeolayerdataGeo';
+ protected $geoDataType = '';
+ public $kind;
+
+
+ public function setCommon(Postman_Google_Service_Books_GeolayerdataCommon $common)
+ {
+ $this->common = $common;
+ }
+ public function getCommon()
+ {
+ return $this->common;
+ }
+ public function setGeo(Postman_Google_Service_Books_GeolayerdataGeo $geo)
+ {
+ $this->geo = $geo;
+ }
+ public function getGeo()
+ {
+ return $this->geo;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Books_GeolayerdataCommon extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $lang;
+ public $previewImageUrl;
+ public $snippet;
+ public $snippetUrl;
+ public $title;
+
+
+ public function setLang($lang)
+ {
+ $this->lang = $lang;
+ }
+ public function getLang()
+ {
+ return $this->lang;
+ }
+ public function setPreviewImageUrl($previewImageUrl)
+ {
+ $this->previewImageUrl = $previewImageUrl;
+ }
+ public function getPreviewImageUrl()
+ {
+ return $this->previewImageUrl;
+ }
+ public function setSnippet($snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+ public function setSnippetUrl($snippetUrl)
+ {
+ $this->snippetUrl = $snippetUrl;
+ }
+ public function getSnippetUrl()
+ {
+ return $this->snippetUrl;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_Books_GeolayerdataGeo extends Postman_Google_Collection
+{
+ protected $collection_key = 'boundary';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $boundaryType = 'Postman_Google_Service_Books_GeolayerdataGeoBoundary';
+ protected $boundaryDataType = 'array';
+ public $cachePolicy;
+ public $countryCode;
+ public $latitude;
+ public $longitude;
+ public $mapType;
+ protected $viewportType = 'Postman_Google_Service_Books_GeolayerdataGeoViewport';
+ protected $viewportDataType = '';
+ public $zoom;
+
+
+ public function setBoundary($boundary)
+ {
+ $this->boundary = $boundary;
+ }
+ public function getBoundary()
+ {
+ return $this->boundary;
+ }
+ public function setCachePolicy($cachePolicy)
+ {
+ $this->cachePolicy = $cachePolicy;
+ }
+ public function getCachePolicy()
+ {
+ return $this->cachePolicy;
+ }
+ public function setCountryCode($countryCode)
+ {
+ $this->countryCode = $countryCode;
+ }
+ public function getCountryCode()
+ {
+ return $this->countryCode;
+ }
+ public function setLatitude($latitude)
+ {
+ $this->latitude = $latitude;
+ }
+ public function getLatitude()
+ {
+ return $this->latitude;
+ }
+ public function setLongitude($longitude)
+ {
+ $this->longitude = $longitude;
+ }
+ public function getLongitude()
+ {
+ return $this->longitude;
+ }
+ public function setMapType($mapType)
+ {
+ $this->mapType = $mapType;
+ }
+ public function getMapType()
+ {
+ return $this->mapType;
+ }
+ public function setViewport(Postman_Google_Service_Books_GeolayerdataGeoViewport $viewport)
+ {
+ $this->viewport = $viewport;
+ }
+ public function getViewport()
+ {
+ return $this->viewport;
+ }
+ public function setZoom($zoom)
+ {
+ $this->zoom = $zoom;
+ }
+ public function getZoom()
+ {
+ return $this->zoom;
+ }
+}
+
+class Postman_Google_Service_Books_GeolayerdataGeoBoundary extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $latitude;
+ public $longitude;
+
+
+ public function setLatitude($latitude)
+ {
+ $this->latitude = $latitude;
+ }
+ public function getLatitude()
+ {
+ return $this->latitude;
+ }
+ public function setLongitude($longitude)
+ {
+ $this->longitude = $longitude;
+ }
+ public function getLongitude()
+ {
+ return $this->longitude;
+ }
+}
+
+class Postman_Google_Service_Books_GeolayerdataGeoViewport extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $hiType = 'Postman_Google_Service_Books_GeolayerdataGeoViewportHi';
+ protected $hiDataType = '';
+ protected $loType = 'Postman_Google_Service_Books_GeolayerdataGeoViewportLo';
+ protected $loDataType = '';
+
+
+ public function setHi(Postman_Google_Service_Books_GeolayerdataGeoViewportHi $hi)
+ {
+ $this->hi = $hi;
+ }
+ public function getHi()
+ {
+ return $this->hi;
+ }
+ public function setLo(Postman_Google_Service_Books_GeolayerdataGeoViewportLo $lo)
+ {
+ $this->lo = $lo;
+ }
+ public function getLo()
+ {
+ return $this->lo;
+ }
+}
+
+class Postman_Google_Service_Books_GeolayerdataGeoViewportHi extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $latitude;
+ public $longitude;
+
+
+ public function setLatitude($latitude)
+ {
+ $this->latitude = $latitude;
+ }
+ public function getLatitude()
+ {
+ return $this->latitude;
+ }
+ public function setLongitude($longitude)
+ {
+ $this->longitude = $longitude;
+ }
+ public function getLongitude()
+ {
+ return $this->longitude;
+ }
+}
+
+class Postman_Google_Service_Books_GeolayerdataGeoViewportLo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $latitude;
+ public $longitude;
+
+
+ public function setLatitude($latitude)
+ {
+ $this->latitude = $latitude;
+ }
+ public function getLatitude()
+ {
+ return $this->latitude;
+ }
+ public function setLongitude($longitude)
+ {
+ $this->longitude = $longitude;
+ }
+ public function getLongitude()
+ {
+ return $this->longitude;
+ }
+}
+
+class Postman_Google_Service_Books_Layersummaries extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Books_Layersummary';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $totalItems;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_Books_Layersummary extends Postman_Google_Collection
+{
+ protected $collection_key = 'annotationTypes';
+ protected $internal_gapi_mappings = array(
+ );
+ public $annotationCount;
+ public $annotationTypes;
+ public $annotationsDataLink;
+ public $annotationsLink;
+ public $contentVersion;
+ public $dataCount;
+ public $id;
+ public $kind;
+ public $layerId;
+ public $selfLink;
+ public $updated;
+ public $volumeAnnotationsVersion;
+ public $volumeId;
+
+
+ public function setAnnotationCount($annotationCount)
+ {
+ $this->annotationCount = $annotationCount;
+ }
+ public function getAnnotationCount()
+ {
+ return $this->annotationCount;
+ }
+ public function setAnnotationTypes($annotationTypes)
+ {
+ $this->annotationTypes = $annotationTypes;
+ }
+ public function getAnnotationTypes()
+ {
+ return $this->annotationTypes;
+ }
+ public function setAnnotationsDataLink($annotationsDataLink)
+ {
+ $this->annotationsDataLink = $annotationsDataLink;
+ }
+ public function getAnnotationsDataLink()
+ {
+ return $this->annotationsDataLink;
+ }
+ public function setAnnotationsLink($annotationsLink)
+ {
+ $this->annotationsLink = $annotationsLink;
+ }
+ public function getAnnotationsLink()
+ {
+ return $this->annotationsLink;
+ }
+ public function setContentVersion($contentVersion)
+ {
+ $this->contentVersion = $contentVersion;
+ }
+ public function getContentVersion()
+ {
+ return $this->contentVersion;
+ }
+ public function setDataCount($dataCount)
+ {
+ $this->dataCount = $dataCount;
+ }
+ public function getDataCount()
+ {
+ return $this->dataCount;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLayerId($layerId)
+ {
+ $this->layerId = $layerId;
+ }
+ public function getLayerId()
+ {
+ return $this->layerId;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setVolumeAnnotationsVersion($volumeAnnotationsVersion)
+ {
+ $this->volumeAnnotationsVersion = $volumeAnnotationsVersion;
+ }
+ public function getVolumeAnnotationsVersion()
+ {
+ return $this->volumeAnnotationsVersion;
+ }
+ public function setVolumeId($volumeId)
+ {
+ $this->volumeId = $volumeId;
+ }
+ public function getVolumeId()
+ {
+ return $this->volumeId;
+ }
+}
+
+class Postman_Google_Service_Books_Metadata extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Books_MetadataItems';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Books_MetadataItems extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "downloadUrl" => "download_url",
+ "encryptedKey" => "encrypted_key",
+ );
+ public $downloadUrl;
+ public $encryptedKey;
+ public $language;
+ public $size;
+ public $version;
+
+
+ public function setDownloadUrl($downloadUrl)
+ {
+ $this->downloadUrl = $downloadUrl;
+ }
+ public function getDownloadUrl()
+ {
+ return $this->downloadUrl;
+ }
+ public function setEncryptedKey($encryptedKey)
+ {
+ $this->encryptedKey = $encryptedKey;
+ }
+ public function getEncryptedKey()
+ {
+ return $this->encryptedKey;
+ }
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Postman_Google_Service_Books_Offers extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Books_OffersItems';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Books_OffersItems extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $artUrl;
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Books_OffersItemsItems';
+ protected $itemsDataType = 'array';
+
+
+ public function setArtUrl($artUrl)
+ {
+ $this->artUrl = $artUrl;
+ }
+ public function getArtUrl()
+ {
+ return $this->artUrl;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+}
+
+class Postman_Google_Service_Books_OffersItemsItems extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $author;
+ public $canonicalVolumeLink;
+ public $coverUrl;
+ public $description;
+ public $title;
+ public $volumeId;
+
+
+ public function setAuthor($author)
+ {
+ $this->author = $author;
+ }
+ public function getAuthor()
+ {
+ return $this->author;
+ }
+ public function setCanonicalVolumeLink($canonicalVolumeLink)
+ {
+ $this->canonicalVolumeLink = $canonicalVolumeLink;
+ }
+ public function getCanonicalVolumeLink()
+ {
+ return $this->canonicalVolumeLink;
+ }
+ public function setCoverUrl($coverUrl)
+ {
+ $this->coverUrl = $coverUrl;
+ }
+ public function getCoverUrl()
+ {
+ return $this->coverUrl;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setVolumeId($volumeId)
+ {
+ $this->volumeId = $volumeId;
+ }
+ public function getVolumeId()
+ {
+ return $this->volumeId;
+ }
+}
+
+class Postman_Google_Service_Books_ReadingPosition extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $epubCfiPosition;
+ public $gbImagePosition;
+ public $gbTextPosition;
+ public $kind;
+ public $pdfPosition;
+ public $updated;
+ public $volumeId;
+
+
+ public function setEpubCfiPosition($epubCfiPosition)
+ {
+ $this->epubCfiPosition = $epubCfiPosition;
+ }
+ public function getEpubCfiPosition()
+ {
+ return $this->epubCfiPosition;
+ }
+ public function setGbImagePosition($gbImagePosition)
+ {
+ $this->gbImagePosition = $gbImagePosition;
+ }
+ public function getGbImagePosition()
+ {
+ return $this->gbImagePosition;
+ }
+ public function setGbTextPosition($gbTextPosition)
+ {
+ $this->gbTextPosition = $gbTextPosition;
+ }
+ public function getGbTextPosition()
+ {
+ return $this->gbTextPosition;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPdfPosition($pdfPosition)
+ {
+ $this->pdfPosition = $pdfPosition;
+ }
+ public function getPdfPosition()
+ {
+ return $this->pdfPosition;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setVolumeId($volumeId)
+ {
+ $this->volumeId = $volumeId;
+ }
+ public function getVolumeId()
+ {
+ return $this->volumeId;
+ }
+}
+
+class Postman_Google_Service_Books_RequestAccess extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $concurrentAccessType = 'Postman_Google_Service_Books_ConcurrentAccessRestriction';
+ protected $concurrentAccessDataType = '';
+ protected $downloadAccessType = 'Postman_Google_Service_Books_DownloadAccessRestriction';
+ protected $downloadAccessDataType = '';
+ public $kind;
+
+
+ public function setConcurrentAccess(Postman_Google_Service_Books_ConcurrentAccessRestriction $concurrentAccess)
+ {
+ $this->concurrentAccess = $concurrentAccess;
+ }
+ public function getConcurrentAccess()
+ {
+ return $this->concurrentAccess;
+ }
+ public function setDownloadAccess(Postman_Google_Service_Books_DownloadAccessRestriction $downloadAccess)
+ {
+ $this->downloadAccess = $downloadAccess;
+ }
+ public function getDownloadAccess()
+ {
+ return $this->downloadAccess;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Books_Review extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $authorType = 'Postman_Google_Service_Books_ReviewAuthor';
+ protected $authorDataType = '';
+ public $content;
+ public $date;
+ public $fullTextUrl;
+ public $kind;
+ public $rating;
+ protected $sourceType = 'Postman_Google_Service_Books_ReviewSource';
+ protected $sourceDataType = '';
+ public $title;
+ public $type;
+ public $volumeId;
+
+
+ public function setAuthor(Postman_Google_Service_Books_ReviewAuthor $author)
+ {
+ $this->author = $author;
+ }
+ public function getAuthor()
+ {
+ return $this->author;
+ }
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setDate($date)
+ {
+ $this->date = $date;
+ }
+ public function getDate()
+ {
+ return $this->date;
+ }
+ public function setFullTextUrl($fullTextUrl)
+ {
+ $this->fullTextUrl = $fullTextUrl;
+ }
+ public function getFullTextUrl()
+ {
+ return $this->fullTextUrl;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRating($rating)
+ {
+ $this->rating = $rating;
+ }
+ public function getRating()
+ {
+ return $this->rating;
+ }
+ public function setSource(Postman_Google_Service_Books_ReviewSource $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setVolumeId($volumeId)
+ {
+ $this->volumeId = $volumeId;
+ }
+ public function getVolumeId()
+ {
+ return $this->volumeId;
+ }
+}
+
+class Postman_Google_Service_Books_ReviewAuthor extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+}
+
+class Postman_Google_Service_Books_ReviewSource extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ public $extraDescription;
+ public $url;
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setExtraDescription($extraDescription)
+ {
+ $this->extraDescription = $extraDescription;
+ }
+ public function getExtraDescription()
+ {
+ return $this->extraDescription;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Books_Volume extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $accessInfoType = 'Postman_Google_Service_Books_VolumeAccessInfo';
+ protected $accessInfoDataType = '';
+ public $etag;
+ public $id;
+ public $kind;
+ protected $layerInfoType = 'Postman_Google_Service_Books_VolumeLayerInfo';
+ protected $layerInfoDataType = '';
+ protected $recommendedInfoType = 'Postman_Google_Service_Books_VolumeRecommendedInfo';
+ protected $recommendedInfoDataType = '';
+ protected $saleInfoType = 'Postman_Google_Service_Books_VolumeSaleInfo';
+ protected $saleInfoDataType = '';
+ protected $searchInfoType = 'Postman_Google_Service_Books_VolumeSearchInfo';
+ protected $searchInfoDataType = '';
+ public $selfLink;
+ protected $userInfoType = 'Postman_Google_Service_Books_VolumeUserInfo';
+ protected $userInfoDataType = '';
+ protected $volumeInfoType = 'Postman_Google_Service_Books_VolumeVolumeInfo';
+ protected $volumeInfoDataType = '';
+
+
+ public function setAccessInfo(Postman_Google_Service_Books_VolumeAccessInfo $accessInfo)
+ {
+ $this->accessInfo = $accessInfo;
+ }
+ public function getAccessInfo()
+ {
+ return $this->accessInfo;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLayerInfo(Postman_Google_Service_Books_VolumeLayerInfo $layerInfo)
+ {
+ $this->layerInfo = $layerInfo;
+ }
+ public function getLayerInfo()
+ {
+ return $this->layerInfo;
+ }
+ public function setRecommendedInfo(Postman_Google_Service_Books_VolumeRecommendedInfo $recommendedInfo)
+ {
+ $this->recommendedInfo = $recommendedInfo;
+ }
+ public function getRecommendedInfo()
+ {
+ return $this->recommendedInfo;
+ }
+ public function setSaleInfo(Postman_Google_Service_Books_VolumeSaleInfo $saleInfo)
+ {
+ $this->saleInfo = $saleInfo;
+ }
+ public function getSaleInfo()
+ {
+ return $this->saleInfo;
+ }
+ public function setSearchInfo(Postman_Google_Service_Books_VolumeSearchInfo $searchInfo)
+ {
+ $this->searchInfo = $searchInfo;
+ }
+ public function getSearchInfo()
+ {
+ return $this->searchInfo;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setUserInfo(Postman_Google_Service_Books_VolumeUserInfo $userInfo)
+ {
+ $this->userInfo = $userInfo;
+ }
+ public function getUserInfo()
+ {
+ return $this->userInfo;
+ }
+ public function setVolumeInfo(Postman_Google_Service_Books_VolumeVolumeInfo $volumeInfo)
+ {
+ $this->volumeInfo = $volumeInfo;
+ }
+ public function getVolumeInfo()
+ {
+ return $this->volumeInfo;
+ }
+}
+
+class Postman_Google_Service_Books_VolumeAccessInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accessViewStatus;
+ public $country;
+ protected $downloadAccessType = 'Postman_Google_Service_Books_DownloadAccessRestriction';
+ protected $downloadAccessDataType = '';
+ public $driveImportedContentLink;
+ public $embeddable;
+ protected $epubType = 'Postman_Google_Service_Books_VolumeAccessInfoEpub';
+ protected $epubDataType = '';
+ public $explicitOfflineLicenseManagement;
+ protected $pdfType = 'Postman_Google_Service_Books_VolumeAccessInfoPdf';
+ protected $pdfDataType = '';
+ public $publicDomain;
+ public $quoteSharingAllowed;
+ public $textToSpeechPermission;
+ public $viewOrderUrl;
+ public $viewability;
+ public $webReaderLink;
+
+
+ public function setAccessViewStatus($accessViewStatus)
+ {
+ $this->accessViewStatus = $accessViewStatus;
+ }
+ public function getAccessViewStatus()
+ {
+ return $this->accessViewStatus;
+ }
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setDownloadAccess(Postman_Google_Service_Books_DownloadAccessRestriction $downloadAccess)
+ {
+ $this->downloadAccess = $downloadAccess;
+ }
+ public function getDownloadAccess()
+ {
+ return $this->downloadAccess;
+ }
+ public function setDriveImportedContentLink($driveImportedContentLink)
+ {
+ $this->driveImportedContentLink = $driveImportedContentLink;
+ }
+ public function getDriveImportedContentLink()
+ {
+ return $this->driveImportedContentLink;
+ }
+ public function setEmbeddable($embeddable)
+ {
+ $this->embeddable = $embeddable;
+ }
+ public function getEmbeddable()
+ {
+ return $this->embeddable;
+ }
+ public function setEpub(Postman_Google_Service_Books_VolumeAccessInfoEpub $epub)
+ {
+ $this->epub = $epub;
+ }
+ public function getEpub()
+ {
+ return $this->epub;
+ }
+ public function setExplicitOfflineLicenseManagement($explicitOfflineLicenseManagement)
+ {
+ $this->explicitOfflineLicenseManagement = $explicitOfflineLicenseManagement;
+ }
+ public function getExplicitOfflineLicenseManagement()
+ {
+ return $this->explicitOfflineLicenseManagement;
+ }
+ public function setPdf(Postman_Google_Service_Books_VolumeAccessInfoPdf $pdf)
+ {
+ $this->pdf = $pdf;
+ }
+ public function getPdf()
+ {
+ return $this->pdf;
+ }
+ public function setPublicDomain($publicDomain)
+ {
+ $this->publicDomain = $publicDomain;
+ }
+ public function getPublicDomain()
+ {
+ return $this->publicDomain;
+ }
+ public function setQuoteSharingAllowed($quoteSharingAllowed)
+ {
+ $this->quoteSharingAllowed = $quoteSharingAllowed;
+ }
+ public function getQuoteSharingAllowed()
+ {
+ return $this->quoteSharingAllowed;
+ }
+ public function setTextToSpeechPermission($textToSpeechPermission)
+ {
+ $this->textToSpeechPermission = $textToSpeechPermission;
+ }
+ public function getTextToSpeechPermission()
+ {
+ return $this->textToSpeechPermission;
+ }
+ public function setViewOrderUrl($viewOrderUrl)
+ {
+ $this->viewOrderUrl = $viewOrderUrl;
+ }
+ public function getViewOrderUrl()
+ {
+ return $this->viewOrderUrl;
+ }
+ public function setViewability($viewability)
+ {
+ $this->viewability = $viewability;
+ }
+ public function getViewability()
+ {
+ return $this->viewability;
+ }
+ public function setWebReaderLink($webReaderLink)
+ {
+ $this->webReaderLink = $webReaderLink;
+ }
+ public function getWebReaderLink()
+ {
+ return $this->webReaderLink;
+ }
+}
+
+class Postman_Google_Service_Books_VolumeAccessInfoEpub extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $acsTokenLink;
+ public $downloadLink;
+ public $isAvailable;
+
+
+ public function setAcsTokenLink($acsTokenLink)
+ {
+ $this->acsTokenLink = $acsTokenLink;
+ }
+ public function getAcsTokenLink()
+ {
+ return $this->acsTokenLink;
+ }
+ public function setDownloadLink($downloadLink)
+ {
+ $this->downloadLink = $downloadLink;
+ }
+ public function getDownloadLink()
+ {
+ return $this->downloadLink;
+ }
+ public function setIsAvailable($isAvailable)
+ {
+ $this->isAvailable = $isAvailable;
+ }
+ public function getIsAvailable()
+ {
+ return $this->isAvailable;
+ }
+}
+
+class Postman_Google_Service_Books_VolumeAccessInfoPdf extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $acsTokenLink;
+ public $downloadLink;
+ public $isAvailable;
+
+
+ public function setAcsTokenLink($acsTokenLink)
+ {
+ $this->acsTokenLink = $acsTokenLink;
+ }
+ public function getAcsTokenLink()
+ {
+ return $this->acsTokenLink;
+ }
+ public function setDownloadLink($downloadLink)
+ {
+ $this->downloadLink = $downloadLink;
+ }
+ public function getDownloadLink()
+ {
+ return $this->downloadLink;
+ }
+ public function setIsAvailable($isAvailable)
+ {
+ $this->isAvailable = $isAvailable;
+ }
+ public function getIsAvailable()
+ {
+ return $this->isAvailable;
+ }
+}
+
+class Postman_Google_Service_Books_VolumeLayerInfo extends Postman_Google_Collection
+{
+ protected $collection_key = 'layers';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $layersType = 'Postman_Google_Service_Books_VolumeLayerInfoLayers';
+ protected $layersDataType = 'array';
+
+
+ public function setLayers($layers)
+ {
+ $this->layers = $layers;
+ }
+ public function getLayers()
+ {
+ return $this->layers;
+ }
+}
+
+class Postman_Google_Service_Books_VolumeLayerInfoLayers extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $layerId;
+ public $volumeAnnotationsVersion;
+
+
+ public function setLayerId($layerId)
+ {
+ $this->layerId = $layerId;
+ }
+ public function getLayerId()
+ {
+ return $this->layerId;
+ }
+ public function setVolumeAnnotationsVersion($volumeAnnotationsVersion)
+ {
+ $this->volumeAnnotationsVersion = $volumeAnnotationsVersion;
+ }
+ public function getVolumeAnnotationsVersion()
+ {
+ return $this->volumeAnnotationsVersion;
+ }
+}
+
+class Postman_Google_Service_Books_VolumeRecommendedInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $explanation;
+
+
+ public function setExplanation($explanation)
+ {
+ $this->explanation = $explanation;
+ }
+ public function getExplanation()
+ {
+ return $this->explanation;
+ }
+}
+
+class Postman_Google_Service_Books_VolumeSaleInfo extends Postman_Google_Collection
+{
+ protected $collection_key = 'offers';
+ protected $internal_gapi_mappings = array(
+ );
+ public $buyLink;
+ public $country;
+ public $isEbook;
+ protected $listPriceType = 'Postman_Google_Service_Books_VolumeSaleInfoListPrice';
+ protected $listPriceDataType = '';
+ protected $offersType = 'Postman_Google_Service_Books_VolumeSaleInfoOffers';
+ protected $offersDataType = 'array';
+ public $onSaleDate;
+ protected $retailPriceType = 'Postman_Google_Service_Books_VolumeSaleInfoRetailPrice';
+ protected $retailPriceDataType = '';
+ public $saleability;
+
+
+ public function setBuyLink($buyLink)
+ {
+ $this->buyLink = $buyLink;
+ }
+ public function getBuyLink()
+ {
+ return $this->buyLink;
+ }
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setIsEbook($isEbook)
+ {
+ $this->isEbook = $isEbook;
+ }
+ public function getIsEbook()
+ {
+ return $this->isEbook;
+ }
+ public function setListPrice(Postman_Google_Service_Books_VolumeSaleInfoListPrice $listPrice)
+ {
+ $this->listPrice = $listPrice;
+ }
+ public function getListPrice()
+ {
+ return $this->listPrice;
+ }
+ public function setOffers($offers)
+ {
+ $this->offers = $offers;
+ }
+ public function getOffers()
+ {
+ return $this->offers;
+ }
+ public function setOnSaleDate($onSaleDate)
+ {
+ $this->onSaleDate = $onSaleDate;
+ }
+ public function getOnSaleDate()
+ {
+ return $this->onSaleDate;
+ }
+ public function setRetailPrice(Postman_Google_Service_Books_VolumeSaleInfoRetailPrice $retailPrice)
+ {
+ $this->retailPrice = $retailPrice;
+ }
+ public function getRetailPrice()
+ {
+ return $this->retailPrice;
+ }
+ public function setSaleability($saleability)
+ {
+ $this->saleability = $saleability;
+ }
+ public function getSaleability()
+ {
+ return $this->saleability;
+ }
+}
+
+class Postman_Google_Service_Books_VolumeSaleInfoListPrice extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $amount;
+ public $currencyCode;
+
+
+ public function setAmount($amount)
+ {
+ $this->amount = $amount;
+ }
+ public function getAmount()
+ {
+ return $this->amount;
+ }
+ public function setCurrencyCode($currencyCode)
+ {
+ $this->currencyCode = $currencyCode;
+ }
+ public function getCurrencyCode()
+ {
+ return $this->currencyCode;
+ }
+}
+
+class Postman_Google_Service_Books_VolumeSaleInfoOffers extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $finskyOfferType;
+ protected $listPriceType = 'Postman_Google_Service_Books_VolumeSaleInfoOffersListPrice';
+ protected $listPriceDataType = '';
+ protected $rentalDurationType = 'Postman_Google_Service_Books_VolumeSaleInfoOffersRentalDuration';
+ protected $rentalDurationDataType = '';
+ protected $retailPriceType = 'Postman_Google_Service_Books_VolumeSaleInfoOffersRetailPrice';
+ protected $retailPriceDataType = '';
+
+
+ public function setFinskyOfferType($finskyOfferType)
+ {
+ $this->finskyOfferType = $finskyOfferType;
+ }
+ public function getFinskyOfferType()
+ {
+ return $this->finskyOfferType;
+ }
+ public function setListPrice(Postman_Google_Service_Books_VolumeSaleInfoOffersListPrice $listPrice)
+ {
+ $this->listPrice = $listPrice;
+ }
+ public function getListPrice()
+ {
+ return $this->listPrice;
+ }
+ public function setRentalDuration(Postman_Google_Service_Books_VolumeSaleInfoOffersRentalDuration $rentalDuration)
+ {
+ $this->rentalDuration = $rentalDuration;
+ }
+ public function getRentalDuration()
+ {
+ return $this->rentalDuration;
+ }
+ public function setRetailPrice(Postman_Google_Service_Books_VolumeSaleInfoOffersRetailPrice $retailPrice)
+ {
+ $this->retailPrice = $retailPrice;
+ }
+ public function getRetailPrice()
+ {
+ return $this->retailPrice;
+ }
+}
+
+class Postman_Google_Service_Books_VolumeSaleInfoOffersListPrice extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $amountInMicros;
+ public $currencyCode;
+
+
+ public function setAmountInMicros($amountInMicros)
+ {
+ $this->amountInMicros = $amountInMicros;
+ }
+ public function getAmountInMicros()
+ {
+ return $this->amountInMicros;
+ }
+ public function setCurrencyCode($currencyCode)
+ {
+ $this->currencyCode = $currencyCode;
+ }
+ public function getCurrencyCode()
+ {
+ return $this->currencyCode;
+ }
+}
+
+class Postman_Google_Service_Books_VolumeSaleInfoOffersRentalDuration extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $count;
+ public $unit;
+
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+ public function setUnit($unit)
+ {
+ $this->unit = $unit;
+ }
+ public function getUnit()
+ {
+ return $this->unit;
+ }
+}
+
+class Postman_Google_Service_Books_VolumeSaleInfoOffersRetailPrice extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $amountInMicros;
+ public $currencyCode;
+
+
+ public function setAmountInMicros($amountInMicros)
+ {
+ $this->amountInMicros = $amountInMicros;
+ }
+ public function getAmountInMicros()
+ {
+ return $this->amountInMicros;
+ }
+ public function setCurrencyCode($currencyCode)
+ {
+ $this->currencyCode = $currencyCode;
+ }
+ public function getCurrencyCode()
+ {
+ return $this->currencyCode;
+ }
+}
+
+class Postman_Google_Service_Books_VolumeSaleInfoRetailPrice extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $amount;
+ public $currencyCode;
+
+
+ public function setAmount($amount)
+ {
+ $this->amount = $amount;
+ }
+ public function getAmount()
+ {
+ return $this->amount;
+ }
+ public function setCurrencyCode($currencyCode)
+ {
+ $this->currencyCode = $currencyCode;
+ }
+ public function getCurrencyCode()
+ {
+ return $this->currencyCode;
+ }
+}
+
+class Postman_Google_Service_Books_VolumeSearchInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $textSnippet;
+
+
+ public function setTextSnippet($textSnippet)
+ {
+ $this->textSnippet = $textSnippet;
+ }
+ public function getTextSnippet()
+ {
+ return $this->textSnippet;
+ }
+}
+
+class Postman_Google_Service_Books_VolumeUserInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $copyType = 'Postman_Google_Service_Books_VolumeUserInfoCopy';
+ protected $copyDataType = '';
+ public $isInMyBooks;
+ public $isPreordered;
+ public $isPurchased;
+ public $isUploaded;
+ protected $readingPositionType = 'Postman_Google_Service_Books_ReadingPosition';
+ protected $readingPositionDataType = '';
+ protected $rentalPeriodType = 'Postman_Google_Service_Books_VolumeUserInfoRentalPeriod';
+ protected $rentalPeriodDataType = '';
+ public $rentalState;
+ protected $reviewType = 'Postman_Google_Service_Books_Review';
+ protected $reviewDataType = '';
+ public $updated;
+ protected $userUploadedVolumeInfoType = 'Postman_Google_Service_Books_VolumeUserInfoUserUploadedVolumeInfo';
+ protected $userUploadedVolumeInfoDataType = '';
+
+
+ public function setCopy(Postman_Google_Service_Books_VolumeUserInfoCopy $copy)
+ {
+ $this->copy = $copy;
+ }
+ public function getCopy()
+ {
+ return $this->copy;
+ }
+ public function setIsInMyBooks($isInMyBooks)
+ {
+ $this->isInMyBooks = $isInMyBooks;
+ }
+ public function getIsInMyBooks()
+ {
+ return $this->isInMyBooks;
+ }
+ public function setIsPreordered($isPreordered)
+ {
+ $this->isPreordered = $isPreordered;
+ }
+ public function getIsPreordered()
+ {
+ return $this->isPreordered;
+ }
+ public function setIsPurchased($isPurchased)
+ {
+ $this->isPurchased = $isPurchased;
+ }
+ public function getIsPurchased()
+ {
+ return $this->isPurchased;
+ }
+ public function setIsUploaded($isUploaded)
+ {
+ $this->isUploaded = $isUploaded;
+ }
+ public function getIsUploaded()
+ {
+ return $this->isUploaded;
+ }
+ public function setReadingPosition(Postman_Google_Service_Books_ReadingPosition $readingPosition)
+ {
+ $this->readingPosition = $readingPosition;
+ }
+ public function getReadingPosition()
+ {
+ return $this->readingPosition;
+ }
+ public function setRentalPeriod(Postman_Google_Service_Books_VolumeUserInfoRentalPeriod $rentalPeriod)
+ {
+ $this->rentalPeriod = $rentalPeriod;
+ }
+ public function getRentalPeriod()
+ {
+ return $this->rentalPeriod;
+ }
+ public function setRentalState($rentalState)
+ {
+ $this->rentalState = $rentalState;
+ }
+ public function getRentalState()
+ {
+ return $this->rentalState;
+ }
+ public function setReview(Postman_Google_Service_Books_Review $review)
+ {
+ $this->review = $review;
+ }
+ public function getReview()
+ {
+ return $this->review;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setUserUploadedVolumeInfo(Postman_Google_Service_Books_VolumeUserInfoUserUploadedVolumeInfo $userUploadedVolumeInfo)
+ {
+ $this->userUploadedVolumeInfo = $userUploadedVolumeInfo;
+ }
+ public function getUserUploadedVolumeInfo()
+ {
+ return $this->userUploadedVolumeInfo;
+ }
+}
+
+class Postman_Google_Service_Books_VolumeUserInfoCopy extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $allowedCharacterCount;
+ public $limitType;
+ public $remainingCharacterCount;
+ public $updated;
+
+
+ public function setAllowedCharacterCount($allowedCharacterCount)
+ {
+ $this->allowedCharacterCount = $allowedCharacterCount;
+ }
+ public function getAllowedCharacterCount()
+ {
+ return $this->allowedCharacterCount;
+ }
+ public function setLimitType($limitType)
+ {
+ $this->limitType = $limitType;
+ }
+ public function getLimitType()
+ {
+ return $this->limitType;
+ }
+ public function setRemainingCharacterCount($remainingCharacterCount)
+ {
+ $this->remainingCharacterCount = $remainingCharacterCount;
+ }
+ public function getRemainingCharacterCount()
+ {
+ return $this->remainingCharacterCount;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+}
+
+class Postman_Google_Service_Books_VolumeUserInfoRentalPeriod extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $endUtcSec;
+ public $startUtcSec;
+
+
+ public function setEndUtcSec($endUtcSec)
+ {
+ $this->endUtcSec = $endUtcSec;
+ }
+ public function getEndUtcSec()
+ {
+ return $this->endUtcSec;
+ }
+ public function setStartUtcSec($startUtcSec)
+ {
+ $this->startUtcSec = $startUtcSec;
+ }
+ public function getStartUtcSec()
+ {
+ return $this->startUtcSec;
+ }
+}
+
+class Postman_Google_Service_Books_VolumeUserInfoUserUploadedVolumeInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $processingState;
+
+
+ public function setProcessingState($processingState)
+ {
+ $this->processingState = $processingState;
+ }
+ public function getProcessingState()
+ {
+ return $this->processingState;
+ }
+}
+
+class Postman_Google_Service_Books_VolumeVolumeInfo extends Postman_Google_Collection
+{
+ protected $collection_key = 'industryIdentifiers';
+ protected $internal_gapi_mappings = array(
+ );
+ public $authors;
+ public $averageRating;
+ public $canonicalVolumeLink;
+ public $categories;
+ public $contentVersion;
+ public $description;
+ protected $dimensionsType = 'Postman_Google_Service_Books_VolumeVolumeInfoDimensions';
+ protected $dimensionsDataType = '';
+ protected $imageLinksType = 'Postman_Google_Service_Books_VolumeVolumeInfoImageLinks';
+ protected $imageLinksDataType = '';
+ protected $industryIdentifiersType = 'Postman_Google_Service_Books_VolumeVolumeInfoIndustryIdentifiers';
+ protected $industryIdentifiersDataType = 'array';
+ public $infoLink;
+ public $language;
+ public $mainCategory;
+ public $pageCount;
+ public $previewLink;
+ public $printType;
+ public $printedPageCount;
+ public $publishedDate;
+ public $publisher;
+ public $ratingsCount;
+ public $readingModes;
+ public $subtitle;
+ public $title;
+
+
+ public function setAuthors($authors)
+ {
+ $this->authors = $authors;
+ }
+ public function getAuthors()
+ {
+ return $this->authors;
+ }
+ public function setAverageRating($averageRating)
+ {
+ $this->averageRating = $averageRating;
+ }
+ public function getAverageRating()
+ {
+ return $this->averageRating;
+ }
+ public function setCanonicalVolumeLink($canonicalVolumeLink)
+ {
+ $this->canonicalVolumeLink = $canonicalVolumeLink;
+ }
+ public function getCanonicalVolumeLink()
+ {
+ return $this->canonicalVolumeLink;
+ }
+ public function setCategories($categories)
+ {
+ $this->categories = $categories;
+ }
+ public function getCategories()
+ {
+ return $this->categories;
+ }
+ public function setContentVersion($contentVersion)
+ {
+ $this->contentVersion = $contentVersion;
+ }
+ public function getContentVersion()
+ {
+ return $this->contentVersion;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDimensions(Postman_Google_Service_Books_VolumeVolumeInfoDimensions $dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+ public function setImageLinks(Postman_Google_Service_Books_VolumeVolumeInfoImageLinks $imageLinks)
+ {
+ $this->imageLinks = $imageLinks;
+ }
+ public function getImageLinks()
+ {
+ return $this->imageLinks;
+ }
+ public function setIndustryIdentifiers($industryIdentifiers)
+ {
+ $this->industryIdentifiers = $industryIdentifiers;
+ }
+ public function getIndustryIdentifiers()
+ {
+ return $this->industryIdentifiers;
+ }
+ public function setInfoLink($infoLink)
+ {
+ $this->infoLink = $infoLink;
+ }
+ public function getInfoLink()
+ {
+ return $this->infoLink;
+ }
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setMainCategory($mainCategory)
+ {
+ $this->mainCategory = $mainCategory;
+ }
+ public function getMainCategory()
+ {
+ return $this->mainCategory;
+ }
+ public function setPageCount($pageCount)
+ {
+ $this->pageCount = $pageCount;
+ }
+ public function getPageCount()
+ {
+ return $this->pageCount;
+ }
+ public function setPreviewLink($previewLink)
+ {
+ $this->previewLink = $previewLink;
+ }
+ public function getPreviewLink()
+ {
+ return $this->previewLink;
+ }
+ public function setPrintType($printType)
+ {
+ $this->printType = $printType;
+ }
+ public function getPrintType()
+ {
+ return $this->printType;
+ }
+ public function setPrintedPageCount($printedPageCount)
+ {
+ $this->printedPageCount = $printedPageCount;
+ }
+ public function getPrintedPageCount()
+ {
+ return $this->printedPageCount;
+ }
+ public function setPublishedDate($publishedDate)
+ {
+ $this->publishedDate = $publishedDate;
+ }
+ public function getPublishedDate()
+ {
+ return $this->publishedDate;
+ }
+ public function setPublisher($publisher)
+ {
+ $this->publisher = $publisher;
+ }
+ public function getPublisher()
+ {
+ return $this->publisher;
+ }
+ public function setRatingsCount($ratingsCount)
+ {
+ $this->ratingsCount = $ratingsCount;
+ }
+ public function getRatingsCount()
+ {
+ return $this->ratingsCount;
+ }
+ public function setReadingModes($readingModes)
+ {
+ $this->readingModes = $readingModes;
+ }
+ public function getReadingModes()
+ {
+ return $this->readingModes;
+ }
+ public function setSubtitle($subtitle)
+ {
+ $this->subtitle = $subtitle;
+ }
+ public function getSubtitle()
+ {
+ return $this->subtitle;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_Books_VolumeVolumeInfoDimensions extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $height;
+ public $thickness;
+ public $width;
+
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setThickness($thickness)
+ {
+ $this->thickness = $thickness;
+ }
+ public function getThickness()
+ {
+ return $this->thickness;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_Books_VolumeVolumeInfoImageLinks extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $extraLarge;
+ public $large;
+ public $medium;
+ public $small;
+ public $smallThumbnail;
+ public $thumbnail;
+
+
+ public function setExtraLarge($extraLarge)
+ {
+ $this->extraLarge = $extraLarge;
+ }
+ public function getExtraLarge()
+ {
+ return $this->extraLarge;
+ }
+ public function setLarge($large)
+ {
+ $this->large = $large;
+ }
+ public function getLarge()
+ {
+ return $this->large;
+ }
+ public function setMedium($medium)
+ {
+ $this->medium = $medium;
+ }
+ public function getMedium()
+ {
+ return $this->medium;
+ }
+ public function setSmall($small)
+ {
+ $this->small = $small;
+ }
+ public function getSmall()
+ {
+ return $this->small;
+ }
+ public function setSmallThumbnail($smallThumbnail)
+ {
+ $this->smallThumbnail = $smallThumbnail;
+ }
+ public function getSmallThumbnail()
+ {
+ return $this->smallThumbnail;
+ }
+ public function setThumbnail($thumbnail)
+ {
+ $this->thumbnail = $thumbnail;
+ }
+ public function getThumbnail()
+ {
+ return $this->thumbnail;
+ }
+}
+
+class Postman_Google_Service_Books_VolumeVolumeInfoIndustryIdentifiers extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $identifier;
+ public $type;
+
+
+ public function setIdentifier($identifier)
+ {
+ $this->identifier = $identifier;
+ }
+ public function getIdentifier()
+ {
+ return $this->identifier;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Books_Volumeannotation extends Postman_Google_Collection
+{
+ protected $collection_key = 'pageIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $annotationDataId;
+ public $annotationDataLink;
+ public $annotationType;
+ protected $contentRangesType = 'Postman_Google_Service_Books_VolumeannotationContentRanges';
+ protected $contentRangesDataType = '';
+ public $data;
+ public $deleted;
+ public $id;
+ public $kind;
+ public $layerId;
+ public $pageIds;
+ public $selectedText;
+ public $selfLink;
+ public $updated;
+ public $volumeId;
+
+
+ public function setAnnotationDataId($annotationDataId)
+ {
+ $this->annotationDataId = $annotationDataId;
+ }
+ public function getAnnotationDataId()
+ {
+ return $this->annotationDataId;
+ }
+ public function setAnnotationDataLink($annotationDataLink)
+ {
+ $this->annotationDataLink = $annotationDataLink;
+ }
+ public function getAnnotationDataLink()
+ {
+ return $this->annotationDataLink;
+ }
+ public function setAnnotationType($annotationType)
+ {
+ $this->annotationType = $annotationType;
+ }
+ public function getAnnotationType()
+ {
+ return $this->annotationType;
+ }
+ public function setContentRanges(Postman_Google_Service_Books_VolumeannotationContentRanges $contentRanges)
+ {
+ $this->contentRanges = $contentRanges;
+ }
+ public function getContentRanges()
+ {
+ return $this->contentRanges;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setDeleted($deleted)
+ {
+ $this->deleted = $deleted;
+ }
+ public function getDeleted()
+ {
+ return $this->deleted;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLayerId($layerId)
+ {
+ $this->layerId = $layerId;
+ }
+ public function getLayerId()
+ {
+ return $this->layerId;
+ }
+ public function setPageIds($pageIds)
+ {
+ $this->pageIds = $pageIds;
+ }
+ public function getPageIds()
+ {
+ return $this->pageIds;
+ }
+ public function setSelectedText($selectedText)
+ {
+ $this->selectedText = $selectedText;
+ }
+ public function getSelectedText()
+ {
+ return $this->selectedText;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setVolumeId($volumeId)
+ {
+ $this->volumeId = $volumeId;
+ }
+ public function getVolumeId()
+ {
+ return $this->volumeId;
+ }
+}
+
+class Postman_Google_Service_Books_VolumeannotationContentRanges extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $cfiRangeType = 'Postman_Google_Service_Books_BooksAnnotationsRange';
+ protected $cfiRangeDataType = '';
+ public $contentVersion;
+ protected $gbImageRangeType = 'Postman_Google_Service_Books_BooksAnnotationsRange';
+ protected $gbImageRangeDataType = '';
+ protected $gbTextRangeType = 'Postman_Google_Service_Books_BooksAnnotationsRange';
+ protected $gbTextRangeDataType = '';
+
+
+ public function setCfiRange(Postman_Google_Service_Books_BooksAnnotationsRange $cfiRange)
+ {
+ $this->cfiRange = $cfiRange;
+ }
+ public function getCfiRange()
+ {
+ return $this->cfiRange;
+ }
+ public function setContentVersion($contentVersion)
+ {
+ $this->contentVersion = $contentVersion;
+ }
+ public function getContentVersion()
+ {
+ return $this->contentVersion;
+ }
+ public function setGbImageRange(Postman_Google_Service_Books_BooksAnnotationsRange $gbImageRange)
+ {
+ $this->gbImageRange = $gbImageRange;
+ }
+ public function getGbImageRange()
+ {
+ return $this->gbImageRange;
+ }
+ public function setGbTextRange(Postman_Google_Service_Books_BooksAnnotationsRange $gbTextRange)
+ {
+ $this->gbTextRange = $gbTextRange;
+ }
+ public function getGbTextRange()
+ {
+ return $this->gbTextRange;
+ }
+}
+
+class Postman_Google_Service_Books_Volumeannotations extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Books_Volumeannotation';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $totalItems;
+ public $version;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Postman_Google_Service_Books_Volumes extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Books_Volume';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $totalItems;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Calendar.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Calendar.php
new file mode 100644
index 0000000..bc2c893
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Calendar.php
@@ -0,0 +1,3751 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Calendar (v3).
+ *
+ * <p>
+ * Lets you manipulate events and other calendar data.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/google-apps/calendar/firstapp" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Calendar extends Postman_Google_Service
+{
+ /** Manage your calendars. */
+ const CALENDAR =
+ "https://www.googleapis.com/auth/calendar";
+ /** View your calendars. */
+ const CALENDAR_READONLY =
+ "https://www.googleapis.com/auth/calendar.readonly";
+
+ public $acl;
+ public $calendarList;
+ public $calendars;
+ public $channels;
+ public $colors;
+ public $events;
+ public $freebusy;
+ public $settings;
+
+
+ /**
+ * Constructs the internal representation of the Calendar service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'calendar/v3/';
+ $this->version = 'v3';
+ $this->serviceName = 'calendar';
+
+ $this->acl = new Postman_Google_Service_Calendar_Acl_Resource(
+ $this,
+ $this->serviceName,
+ 'acl',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'calendars/{calendarId}/acl/{ruleId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ruleId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'calendars/{calendarId}/acl/{ruleId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ruleId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'calendars/{calendarId}/acl',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'calendars/{calendarId}/acl',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'syncToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'calendars/{calendarId}/acl/{ruleId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ruleId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'calendars/{calendarId}/acl/{ruleId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ruleId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'watch' => array(
+ 'path' => 'calendars/{calendarId}/acl/watch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'syncToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->calendarList = new Postman_Google_Service_Calendar_CalendarList_Resource(
+ $this,
+ $this->serviceName,
+ 'calendarList',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'users/me/calendarList/{calendarId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'users/me/calendarList/{calendarId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'users/me/calendarList',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'colorRgbFormat' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'users/me/calendarList',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'syncToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'minAccessRole' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showHidden' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'users/me/calendarList/{calendarId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'colorRgbFormat' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'users/me/calendarList/{calendarId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'colorRgbFormat' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'watch' => array(
+ 'path' => 'users/me/calendarList/watch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'syncToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'minAccessRole' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showHidden' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->calendars = new Postman_Google_Service_Calendar_Calendars_Resource(
+ $this,
+ $this->serviceName,
+ 'calendars',
+ array(
+ 'methods' => array(
+ 'clear' => array(
+ 'path' => 'calendars/{calendarId}/clear',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'calendars/{calendarId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'calendars/{calendarId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'calendars',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'patch' => array(
+ 'path' => 'calendars/{calendarId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'calendars/{calendarId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->channels = new Postman_Google_Service_Calendar_Channels_Resource(
+ $this,
+ $this->serviceName,
+ 'channels',
+ array(
+ 'methods' => array(
+ 'stop' => array(
+ 'path' => 'channels/stop',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->colors = new Postman_Google_Service_Calendar_Colors_Resource(
+ $this,
+ $this->serviceName,
+ 'colors',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'colors',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->events = new Postman_Google_Service_Calendar_Events_Resource(
+ $this,
+ $this->serviceName,
+ 'events',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'calendars/{calendarId}/events/{eventId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'eventId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sendNotifications' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'calendars/{calendarId}/events/{eventId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'eventId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'timeZone' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'alwaysIncludeEmail' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxAttendees' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'import' => array(
+ 'path' => 'calendars/{calendarId}/events/import',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'calendars/{calendarId}/events',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sendNotifications' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxAttendees' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'instances' => array(
+ 'path' => 'calendars/{calendarId}/events/{eventId}/instances',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'eventId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'timeMax' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'alwaysIncludeEmail' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'timeMin' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'timeZone' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'originalStart' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxAttendees' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'calendars/{calendarId}/events',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showHiddenInvitations' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'syncToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'iCalUID' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'updatedMin' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'singleEvents' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'timeMax' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'alwaysIncludeEmail' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'timeMin' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'timeZone' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'privateExtendedProperty' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'sharedExtendedProperty' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxAttendees' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'move' => array(
+ 'path' => 'calendars/{calendarId}/events/{eventId}/move',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'eventId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'destination' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sendNotifications' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'calendars/{calendarId}/events/{eventId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'eventId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sendNotifications' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'alwaysIncludeEmail' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxAttendees' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'quickAdd' => array(
+ 'path' => 'calendars/{calendarId}/events/quickAdd',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'text' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sendNotifications' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'calendars/{calendarId}/events/{eventId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'eventId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sendNotifications' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'alwaysIncludeEmail' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxAttendees' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'watch' => array(
+ 'path' => 'calendars/{calendarId}/events/watch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'calendarId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showHiddenInvitations' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'syncToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'iCalUID' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'updatedMin' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'singleEvents' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'timeMax' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'alwaysIncludeEmail' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'timeMin' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'timeZone' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'privateExtendedProperty' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'sharedExtendedProperty' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxAttendees' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->freebusy = new Postman_Google_Service_Calendar_Freebusy_Resource(
+ $this,
+ $this->serviceName,
+ 'freebusy',
+ array(
+ 'methods' => array(
+ 'query' => array(
+ 'path' => 'freeBusy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->settings = new Postman_Google_Service_Calendar_Settings_Resource(
+ $this,
+ $this->serviceName,
+ 'settings',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'users/me/settings/{setting}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'setting' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'users/me/settings',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'syncToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'watch' => array(
+ 'path' => 'users/me/settings/watch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'syncToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "acl" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $calendarService = new Postman_Google_Service_Calendar(...);
+ * $acl = $calendarService->acl;
+ * </code>
+ */
+class Postman_Google_Service_Calendar_Acl_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes an access control rule. (acl.delete)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param string $ruleId ACL rule identifier.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($calendarId, $ruleId, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'ruleId' => $ruleId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Returns an access control rule. (acl.get)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param string $ruleId ACL rule identifier.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Calendar_AclRule
+ */
+ public function get($calendarId, $ruleId, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'ruleId' => $ruleId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Calendar_AclRule");
+ }
+
+ /**
+ * Creates an access control rule. (acl.insert)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param Postman_Google_AclRule $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Calendar_AclRule
+ */
+ public function insert($calendarId, Postman_Google_Service_Calendar_AclRule $postBody, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Calendar_AclRule");
+ }
+
+ /**
+ * Returns the rules in the access control list for the calendar. (acl.listAcl)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Token specifying which result page to return.
+ * Optional.
+ * @opt_param string syncToken Token obtained from the nextSyncToken field
+ * returned on the last page of results from the previous list request. It makes
+ * the result of this list request contain only entries that have changed since
+ * then. All entries deleted since the previous list request will always be in
+ * the result set and it is not allowed to set showDeleted to False. If the
+ * syncToken expires, the server will respond with a 410 GONE response code and
+ * the client should clear its storage and perform a full synchronization
+ * without any syncToken. Learn more about incremental synchronization.
+ * Optional. The default is to return all entries.
+ * @opt_param int maxResults Maximum number of entries returned on one result
+ * page. By default the value is 100 entries. The page size can never be larger
+ * than 250 entries. Optional.
+ * @opt_param bool showDeleted Whether to include deleted ACLs in the result.
+ * Deleted ACLs are represented by role equal to "none". Deleted ACLs will
+ * always be included if syncToken is provided. Optional. The default is False.
+ * @return Postman_Google_Service_Calendar_Acl
+ */
+ public function listAcl($calendarId, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Calendar_Acl");
+ }
+
+ /**
+ * Updates an access control rule. This method supports patch semantics.
+ * (acl.patch)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param string $ruleId ACL rule identifier.
+ * @param Postman_Google_AclRule $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Calendar_AclRule
+ */
+ public function patch($calendarId, $ruleId, Postman_Google_Service_Calendar_AclRule $postBody, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'ruleId' => $ruleId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Calendar_AclRule");
+ }
+
+ /**
+ * Updates an access control rule. (acl.update)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param string $ruleId ACL rule identifier.
+ * @param Postman_Google_AclRule $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Calendar_AclRule
+ */
+ public function update($calendarId, $ruleId, Postman_Google_Service_Calendar_AclRule $postBody, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'ruleId' => $ruleId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Calendar_AclRule");
+ }
+
+ /**
+ * Watch for changes to ACL resources. (acl.watch)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param Postman_Google_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Token specifying which result page to return.
+ * Optional.
+ * @opt_param string syncToken Token obtained from the nextSyncToken field
+ * returned on the last page of results from the previous list request. It makes
+ * the result of this list request contain only entries that have changed since
+ * then. All entries deleted since the previous list request will always be in
+ * the result set and it is not allowed to set showDeleted to False. If the
+ * syncToken expires, the server will respond with a 410 GONE response code and
+ * the client should clear its storage and perform a full synchronization
+ * without any syncToken. Learn more about incremental synchronization.
+ * Optional. The default is to return all entries.
+ * @opt_param int maxResults Maximum number of entries returned on one result
+ * page. By default the value is 100 entries. The page size can never be larger
+ * than 250 entries. Optional.
+ * @opt_param bool showDeleted Whether to include deleted ACLs in the result.
+ * Deleted ACLs are represented by role equal to "none". Deleted ACLs will
+ * always be included if syncToken is provided. Optional. The default is False.
+ * @return Postman_Google_Service_Calendar_Channel
+ */
+ public function watch($calendarId, Postman_Google_Service_Calendar_Channel $postBody, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Postman_Google_Service_Calendar_Channel");
+ }
+}
+
+/**
+ * The "calendarList" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $calendarService = new Postman_Google_Service_Calendar(...);
+ * $calendarList = $calendarService->calendarList;
+ * </code>
+ */
+class Postman_Google_Service_Calendar_CalendarList_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes an entry on the user's calendar list. (calendarList.delete)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($calendarId, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Returns an entry on the user's calendar list. (calendarList.get)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Calendar_CalendarListEntry
+ */
+ public function get($calendarId, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Calendar_CalendarListEntry");
+ }
+
+ /**
+ * Adds an entry to the user's calendar list. (calendarList.insert)
+ *
+ * @param Postman_Google_CalendarListEntry $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool colorRgbFormat Whether to use the foregroundColor and
+ * backgroundColor fields to write the calendar colors (RGB). If this feature is
+ * used, the index-based colorId field will be set to the best matching option
+ * automatically. Optional. The default is False.
+ * @return Postman_Google_Service_Calendar_CalendarListEntry
+ */
+ public function insert(Postman_Google_Service_Calendar_CalendarListEntry $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Calendar_CalendarListEntry");
+ }
+
+ /**
+ * Returns entries on the user's calendar list. (calendarList.listCalendarList)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string syncToken Token obtained from the nextSyncToken field
+ * returned on the last page of results from the previous list request. It makes
+ * the result of this list request contain only entries that have changed since
+ * then. If only read-only fields such as calendar properties or ACLs have
+ * changed, the entry won't be returned. All entries deleted and hidden since
+ * the previous list request will always be in the result set and it is not
+ * allowed to set showDeleted neither showHidden to False. To ensure client
+ * state consistency minAccessRole query parameter cannot be specified together
+ * with nextSyncToken. If the syncToken expires, the server will respond with a
+ * 410 GONE response code and the client should clear its storage and perform a
+ * full synchronization without any syncToken. Learn more about incremental
+ * synchronization. Optional. The default is to return all entries.
+ * @opt_param bool showDeleted Whether to include deleted calendar list entries
+ * in the result. Optional. The default is False.
+ * @opt_param string minAccessRole The minimum access role for the user in the
+ * returned entires. Optional. The default is no restriction.
+ * @opt_param int maxResults Maximum number of entries returned on one result
+ * page. By default the value is 100 entries. The page size can never be larger
+ * than 250 entries. Optional.
+ * @opt_param string pageToken Token specifying which result page to return.
+ * Optional.
+ * @opt_param bool showHidden Whether to show hidden entries. Optional. The
+ * default is False.
+ * @return Postman_Google_Service_Calendar_CalendarList
+ */
+ public function listCalendarList($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Calendar_CalendarList");
+ }
+
+ /**
+ * Updates an entry on the user's calendar list. This method supports patch
+ * semantics. (calendarList.patch)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param Postman_Google_CalendarListEntry $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool colorRgbFormat Whether to use the foregroundColor and
+ * backgroundColor fields to write the calendar colors (RGB). If this feature is
+ * used, the index-based colorId field will be set to the best matching option
+ * automatically. Optional. The default is False.
+ * @return Postman_Google_Service_Calendar_CalendarListEntry
+ */
+ public function patch($calendarId, Postman_Google_Service_Calendar_CalendarListEntry $postBody, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Calendar_CalendarListEntry");
+ }
+
+ /**
+ * Updates an entry on the user's calendar list. (calendarList.update)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param Postman_Google_CalendarListEntry $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool colorRgbFormat Whether to use the foregroundColor and
+ * backgroundColor fields to write the calendar colors (RGB). If this feature is
+ * used, the index-based colorId field will be set to the best matching option
+ * automatically. Optional. The default is False.
+ * @return Postman_Google_Service_Calendar_CalendarListEntry
+ */
+ public function update($calendarId, Postman_Google_Service_Calendar_CalendarListEntry $postBody, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Calendar_CalendarListEntry");
+ }
+
+ /**
+ * Watch for changes to CalendarList resources. (calendarList.watch)
+ *
+ * @param Postman_Google_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string syncToken Token obtained from the nextSyncToken field
+ * returned on the last page of results from the previous list request. It makes
+ * the result of this list request contain only entries that have changed since
+ * then. If only read-only fields such as calendar properties or ACLs have
+ * changed, the entry won't be returned. All entries deleted and hidden since
+ * the previous list request will always be in the result set and it is not
+ * allowed to set showDeleted neither showHidden to False. To ensure client
+ * state consistency minAccessRole query parameter cannot be specified together
+ * with nextSyncToken. If the syncToken expires, the server will respond with a
+ * 410 GONE response code and the client should clear its storage and perform a
+ * full synchronization without any syncToken. Learn more about incremental
+ * synchronization. Optional. The default is to return all entries.
+ * @opt_param bool showDeleted Whether to include deleted calendar list entries
+ * in the result. Optional. The default is False.
+ * @opt_param string minAccessRole The minimum access role for the user in the
+ * returned entires. Optional. The default is no restriction.
+ * @opt_param int maxResults Maximum number of entries returned on one result
+ * page. By default the value is 100 entries. The page size can never be larger
+ * than 250 entries. Optional.
+ * @opt_param string pageToken Token specifying which result page to return.
+ * Optional.
+ * @opt_param bool showHidden Whether to show hidden entries. Optional. The
+ * default is False.
+ * @return Postman_Google_Service_Calendar_Channel
+ */
+ public function watch(Postman_Google_Service_Calendar_Channel $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Postman_Google_Service_Calendar_Channel");
+ }
+}
+
+/**
+ * The "calendars" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $calendarService = new Postman_Google_Service_Calendar(...);
+ * $calendars = $calendarService->calendars;
+ * </code>
+ */
+class Postman_Google_Service_Calendar_Calendars_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Clears a primary calendar. This operation deletes all data associated with
+ * the primary calendar of an account and cannot be undone. (calendars.clear)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param array $optParams Optional parameters.
+ */
+ public function clear($calendarId, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId);
+ $params = array_merge($params, $optParams);
+ return $this->call('clear', array($params));
+ }
+
+ /**
+ * Deletes a secondary calendar. (calendars.delete)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($calendarId, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Returns metadata for a calendar. (calendars.get)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Calendar_Calendar
+ */
+ public function get($calendarId, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Calendar_Calendar");
+ }
+
+ /**
+ * Creates a secondary calendar. (calendars.insert)
+ *
+ * @param Postman_Google_Calendar $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Calendar_Calendar
+ */
+ public function insert(Postman_Google_Service_Calendar_Calendar $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Calendar_Calendar");
+ }
+
+ /**
+ * Updates metadata for a calendar. This method supports patch semantics.
+ * (calendars.patch)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param Postman_Google_Calendar $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Calendar_Calendar
+ */
+ public function patch($calendarId, Postman_Google_Service_Calendar_Calendar $postBody, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Calendar_Calendar");
+ }
+
+ /**
+ * Updates metadata for a calendar. (calendars.update)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param Postman_Google_Calendar $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Calendar_Calendar
+ */
+ public function update($calendarId, Postman_Google_Service_Calendar_Calendar $postBody, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Calendar_Calendar");
+ }
+}
+
+/**
+ * The "channels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $calendarService = new Postman_Google_Service_Calendar(...);
+ * $channels = $calendarService->channels;
+ * </code>
+ */
+class Postman_Google_Service_Calendar_Channels_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Stop watching resources through this channel (channels.stop)
+ *
+ * @param Postman_Google_Channel $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function stop(Postman_Google_Service_Calendar_Channel $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('stop', array($params));
+ }
+}
+
+/**
+ * The "colors" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $calendarService = new Postman_Google_Service_Calendar(...);
+ * $colors = $calendarService->colors;
+ * </code>
+ */
+class Postman_Google_Service_Calendar_Colors_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns the color definitions for calendars and events. (colors.get)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Calendar_Colors
+ */
+ public function get($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Calendar_Colors");
+ }
+}
+
+/**
+ * The "events" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $calendarService = new Postman_Google_Service_Calendar(...);
+ * $events = $calendarService->events;
+ * </code>
+ */
+class Postman_Google_Service_Calendar_Events_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes an event. (events.delete)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param string $eventId Event identifier.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool sendNotifications Whether to send notifications about the
+ * deletion of the event. Optional. The default is False.
+ */
+ public function delete($calendarId, $eventId, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'eventId' => $eventId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Returns an event. (events.get)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param string $eventId Event identifier.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string timeZone Time zone used in the response. Optional. The
+ * default is the time zone of the calendar.
+ * @opt_param bool alwaysIncludeEmail Whether to always include a value in the
+ * email field for the organizer, creator and attendees, even if no real email
+ * is available (i.e. a generated, non-working value will be provided). The use
+ * of this option is discouraged and should only be used by clients which cannot
+ * handle the absence of an email address value in the mentioned places.
+ * Optional. The default is False.
+ * @opt_param int maxAttendees The maximum number of attendees to include in the
+ * response. If there are more than the specified number of attendees, only the
+ * participant is returned. Optional.
+ * @return Postman_Google_Service_Calendar_Event
+ */
+ public function get($calendarId, $eventId, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'eventId' => $eventId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Calendar_Event");
+ }
+
+ /**
+ * Imports an event. This operation is used to add a private copy of an existing
+ * event to a calendar. (events.import)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param Postman_Google_Event $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Calendar_Event
+ */
+ public function import($calendarId, Postman_Google_Service_Calendar_Event $postBody, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('import', array($params), "Postman_Google_Service_Calendar_Event");
+ }
+
+ /**
+ * Creates an event. (events.insert)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param Postman_Google_Event $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool sendNotifications Whether to send notifications about the
+ * creation of the new event. Optional. The default is False.
+ * @opt_param int maxAttendees The maximum number of attendees to include in the
+ * response. If there are more than the specified number of attendees, only the
+ * participant is returned. Optional.
+ * @return Postman_Google_Service_Calendar_Event
+ */
+ public function insert($calendarId, Postman_Google_Service_Calendar_Event $postBody, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Calendar_Event");
+ }
+
+ /**
+ * Returns instances of the specified recurring event. (events.instances)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param string $eventId Recurring event identifier.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool showDeleted Whether to include deleted events (with status
+ * equals "cancelled") in the result. Cancelled instances of recurring events
+ * will still be included if singleEvents is False. Optional. The default is
+ * False.
+ * @opt_param string timeMax Upper bound (exclusive) for an event's start time
+ * to filter by. Optional. The default is not to filter by start time.
+ * @opt_param bool alwaysIncludeEmail Whether to always include a value in the
+ * email field for the organizer, creator and attendees, even if no real email
+ * is available (i.e. a generated, non-working value will be provided). The use
+ * of this option is discouraged and should only be used by clients which cannot
+ * handle the absence of an email address value in the mentioned places.
+ * Optional. The default is False.
+ * @opt_param int maxResults Maximum number of events returned on one result
+ * page. By default the value is 250 events. The page size can never be larger
+ * than 2500 events. Optional.
+ * @opt_param string pageToken Token specifying which result page to return.
+ * Optional.
+ * @opt_param string timeMin Lower bound (inclusive) for an event's end time to
+ * filter by. Optional. The default is not to filter by end time.
+ * @opt_param string timeZone Time zone used in the response. Optional. The
+ * default is the time zone of the calendar.
+ * @opt_param string originalStart The original start time of the instance in
+ * the result. Optional.
+ * @opt_param int maxAttendees The maximum number of attendees to include in the
+ * response. If there are more than the specified number of attendees, only the
+ * participant is returned. Optional.
+ * @return Postman_Google_Service_Calendar_Events
+ */
+ public function instances($calendarId, $eventId, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'eventId' => $eventId);
+ $params = array_merge($params, $optParams);
+ return $this->call('instances', array($params), "Postman_Google_Service_Calendar_Events");
+ }
+
+ /**
+ * Returns events on the specified calendar. (events.listEvents)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy The order of the events returned in the result.
+ * Optional. The default is an unspecified, stable order.
+ * @opt_param bool showHiddenInvitations Whether to include hidden invitations
+ * in the result. Optional. The default is False.
+ * @opt_param string syncToken Token obtained from the nextSyncToken field
+ * returned on the last page of results from the previous list request. It makes
+ * the result of this list request contain only entries that have changed since
+ * then. All events deleted since the previous list request will always be in
+ * the result set and it is not allowed to set showDeleted to False. There are
+ * several query parameters that cannot be specified together with nextSyncToken
+ * to ensure consistency of the client state.
+ *
+ * These are: - iCalUID - orderBy - privateExtendedProperty - q -
+ * sharedExtendedProperty - timeMin - timeMax - updatedMin If the syncToken
+ * expires, the server will respond with a 410 GONE response code and the client
+ * should clear its storage and perform a full synchronization without any
+ * syncToken. Learn more about incremental synchronization. Optional. The
+ * default is to return all entries.
+ * @opt_param bool showDeleted Whether to include deleted events (with status
+ * equals "cancelled") in the result. Cancelled instances of recurring events
+ * (but not the underlying recurring event) will still be included if
+ * showDeleted and singleEvents are both False. If showDeleted and singleEvents
+ * are both True, only single instances of deleted events (but not the
+ * underlying recurring events) are returned. Optional. The default is False.
+ * @opt_param string iCalUID Specifies event ID in the iCalendar format to be
+ * included in the response. Optional.
+ * @opt_param string updatedMin Lower bound for an event's last modification
+ * time (as a RFC 3339 timestamp) to filter by. When specified, entries deleted
+ * since this time will always be included regardless of showDeleted. Optional.
+ * The default is not to filter by last modification time.
+ * @opt_param bool singleEvents Whether to expand recurring events into
+ * instances and only return single one-off events and instances of recurring
+ * events, but not the underlying recurring events themselves. Optional. The
+ * default is False.
+ * @opt_param string timeMax Upper bound (exclusive) for an event's start time
+ * to filter by. Optional. The default is not to filter by start time.
+ * @opt_param bool alwaysIncludeEmail Whether to always include a value in the
+ * email field for the organizer, creator and attendees, even if no real email
+ * is available (i.e. a generated, non-working value will be provided). The use
+ * of this option is discouraged and should only be used by clients which cannot
+ * handle the absence of an email address value in the mentioned places.
+ * Optional. The default is False.
+ * @opt_param int maxResults Maximum number of events returned on one result
+ * page. By default the value is 250 events. The page size can never be larger
+ * than 2500 events. Optional.
+ * @opt_param string q Free text search terms to find events that match these
+ * terms in any field, except for extended properties. Optional.
+ * @opt_param string pageToken Token specifying which result page to return.
+ * Optional.
+ * @opt_param string timeMin Lower bound (inclusive) for an event's end time to
+ * filter by. Optional. The default is not to filter by end time.
+ * @opt_param string timeZone Time zone used in the response. Optional. The
+ * default is the time zone of the calendar.
+ * @opt_param string privateExtendedProperty Extended properties constraint
+ * specified as propertyName=value. Matches only private properties. This
+ * parameter might be repeated multiple times to return events that match all
+ * given constraints.
+ * @opt_param string sharedExtendedProperty Extended properties constraint
+ * specified as propertyName=value. Matches only shared properties. This
+ * parameter might be repeated multiple times to return events that match all
+ * given constraints.
+ * @opt_param int maxAttendees The maximum number of attendees to include in the
+ * response. If there are more than the specified number of attendees, only the
+ * participant is returned. Optional.
+ * @return Postman_Google_Service_Calendar_Events
+ */
+ public function listEvents($calendarId, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Calendar_Events");
+ }
+
+ /**
+ * Moves an event to another calendar, i.e. changes an event's organizer.
+ * (events.move)
+ *
+ * @param string $calendarId Calendar identifier of the source calendar where
+ * the event currently is on.
+ * @param string $eventId Event identifier.
+ * @param string $destination Calendar identifier of the target calendar where
+ * the event is to be moved to.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool sendNotifications Whether to send notifications about the
+ * change of the event's organizer. Optional. The default is False.
+ * @return Postman_Google_Service_Calendar_Event
+ */
+ public function move($calendarId, $eventId, $destination, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'eventId' => $eventId, 'destination' => $destination);
+ $params = array_merge($params, $optParams);
+ return $this->call('move', array($params), "Postman_Google_Service_Calendar_Event");
+ }
+
+ /**
+ * Updates an event. This method supports patch semantics. (events.patch)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param string $eventId Event identifier.
+ * @param Postman_Google_Event $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool sendNotifications Whether to send notifications about the
+ * event update (e.g. attendee's responses, title changes, etc.). Optional. The
+ * default is False.
+ * @opt_param bool alwaysIncludeEmail Whether to always include a value in the
+ * email field for the organizer, creator and attendees, even if no real email
+ * is available (i.e. a generated, non-working value will be provided). The use
+ * of this option is discouraged and should only be used by clients which cannot
+ * handle the absence of an email address value in the mentioned places.
+ * Optional. The default is False.
+ * @opt_param int maxAttendees The maximum number of attendees to include in the
+ * response. If there are more than the specified number of attendees, only the
+ * participant is returned. Optional.
+ * @return Postman_Google_Service_Calendar_Event
+ */
+ public function patch($calendarId, $eventId, Postman_Google_Service_Calendar_Event $postBody, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'eventId' => $eventId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Calendar_Event");
+ }
+
+ /**
+ * Creates an event based on a simple text string. (events.quickAdd)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param string $text The text describing the event to be created.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool sendNotifications Whether to send notifications about the
+ * creation of the event. Optional. The default is False.
+ * @return Postman_Google_Service_Calendar_Event
+ */
+ public function quickAdd($calendarId, $text, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'text' => $text);
+ $params = array_merge($params, $optParams);
+ return $this->call('quickAdd', array($params), "Postman_Google_Service_Calendar_Event");
+ }
+
+ /**
+ * Updates an event. (events.update)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param string $eventId Event identifier.
+ * @param Postman_Google_Event $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool sendNotifications Whether to send notifications about the
+ * event update (e.g. attendee's responses, title changes, etc.). Optional. The
+ * default is False.
+ * @opt_param bool alwaysIncludeEmail Whether to always include a value in the
+ * email field for the organizer, creator and attendees, even if no real email
+ * is available (i.e. a generated, non-working value will be provided). The use
+ * of this option is discouraged and should only be used by clients which cannot
+ * handle the absence of an email address value in the mentioned places.
+ * Optional. The default is False.
+ * @opt_param int maxAttendees The maximum number of attendees to include in the
+ * response. If there are more than the specified number of attendees, only the
+ * participant is returned. Optional.
+ * @return Postman_Google_Service_Calendar_Event
+ */
+ public function update($calendarId, $eventId, Postman_Google_Service_Calendar_Event $postBody, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'eventId' => $eventId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Calendar_Event");
+ }
+
+ /**
+ * Watch for changes to Events resources. (events.watch)
+ *
+ * @param string $calendarId Calendar identifier.
+ * @param Postman_Google_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy The order of the events returned in the result.
+ * Optional. The default is an unspecified, stable order.
+ * @opt_param bool showHiddenInvitations Whether to include hidden invitations
+ * in the result. Optional. The default is False.
+ * @opt_param string syncToken Token obtained from the nextSyncToken field
+ * returned on the last page of results from the previous list request. It makes
+ * the result of this list request contain only entries that have changed since
+ * then. All events deleted since the previous list request will always be in
+ * the result set and it is not allowed to set showDeleted to False. There are
+ * several query parameters that cannot be specified together with nextSyncToken
+ * to ensure consistency of the client state.
+ *
+ * These are: - iCalUID - orderBy - privateExtendedProperty - q -
+ * sharedExtendedProperty - timeMin - timeMax - updatedMin If the syncToken
+ * expires, the server will respond with a 410 GONE response code and the client
+ * should clear its storage and perform a full synchronization without any
+ * syncToken. Learn more about incremental synchronization. Optional. The
+ * default is to return all entries.
+ * @opt_param bool showDeleted Whether to include deleted events (with status
+ * equals "cancelled") in the result. Cancelled instances of recurring events
+ * (but not the underlying recurring event) will still be included if
+ * showDeleted and singleEvents are both False. If showDeleted and singleEvents
+ * are both True, only single instances of deleted events (but not the
+ * underlying recurring events) are returned. Optional. The default is False.
+ * @opt_param string iCalUID Specifies event ID in the iCalendar format to be
+ * included in the response. Optional.
+ * @opt_param string updatedMin Lower bound for an event's last modification
+ * time (as a RFC 3339 timestamp) to filter by. When specified, entries deleted
+ * since this time will always be included regardless of showDeleted. Optional.
+ * The default is not to filter by last modification time.
+ * @opt_param bool singleEvents Whether to expand recurring events into
+ * instances and only return single one-off events and instances of recurring
+ * events, but not the underlying recurring events themselves. Optional. The
+ * default is False.
+ * @opt_param string timeMax Upper bound (exclusive) for an event's start time
+ * to filter by. Optional. The default is not to filter by start time.
+ * @opt_param bool alwaysIncludeEmail Whether to always include a value in the
+ * email field for the organizer, creator and attendees, even if no real email
+ * is available (i.e. a generated, non-working value will be provided). The use
+ * of this option is discouraged and should only be used by clients which cannot
+ * handle the absence of an email address value in the mentioned places.
+ * Optional. The default is False.
+ * @opt_param int maxResults Maximum number of events returned on one result
+ * page. By default the value is 250 events. The page size can never be larger
+ * than 2500 events. Optional.
+ * @opt_param string q Free text search terms to find events that match these
+ * terms in any field, except for extended properties. Optional.
+ * @opt_param string pageToken Token specifying which result page to return.
+ * Optional.
+ * @opt_param string timeMin Lower bound (inclusive) for an event's end time to
+ * filter by. Optional. The default is not to filter by end time.
+ * @opt_param string timeZone Time zone used in the response. Optional. The
+ * default is the time zone of the calendar.
+ * @opt_param string privateExtendedProperty Extended properties constraint
+ * specified as propertyName=value. Matches only private properties. This
+ * parameter might be repeated multiple times to return events that match all
+ * given constraints.
+ * @opt_param string sharedExtendedProperty Extended properties constraint
+ * specified as propertyName=value. Matches only shared properties. This
+ * parameter might be repeated multiple times to return events that match all
+ * given constraints.
+ * @opt_param int maxAttendees The maximum number of attendees to include in the
+ * response. If there are more than the specified number of attendees, only the
+ * participant is returned. Optional.
+ * @return Postman_Google_Service_Calendar_Channel
+ */
+ public function watch($calendarId, Postman_Google_Service_Calendar_Channel $postBody, $optParams = array())
+ {
+ $params = array('calendarId' => $calendarId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Postman_Google_Service_Calendar_Channel");
+ }
+}
+
+/**
+ * The "freebusy" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $calendarService = new Postman_Google_Service_Calendar(...);
+ * $freebusy = $calendarService->freebusy;
+ * </code>
+ */
+class Postman_Google_Service_Calendar_Freebusy_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns free/busy information for a set of calendars. (freebusy.query)
+ *
+ * @param Postman_Google_FreeBusyRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Calendar_FreeBusyResponse
+ */
+ public function query(Postman_Google_Service_Calendar_FreeBusyRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('query', array($params), "Postman_Google_Service_Calendar_FreeBusyResponse");
+ }
+}
+
+/**
+ * The "settings" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $calendarService = new Postman_Google_Service_Calendar(...);
+ * $settings = $calendarService->settings;
+ * </code>
+ */
+class Postman_Google_Service_Calendar_Settings_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns a single user setting. (settings.get)
+ *
+ * @param string $setting The id of the user setting.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Calendar_Setting
+ */
+ public function get($setting, $optParams = array())
+ {
+ $params = array('setting' => $setting);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Calendar_Setting");
+ }
+
+ /**
+ * Returns all user settings for the authenticated user. (settings.listSettings)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Token specifying which result page to return.
+ * Optional.
+ * @opt_param int maxResults Maximum number of entries returned on one result
+ * page. By default the value is 100 entries. The page size can never be larger
+ * than 250 entries. Optional.
+ * @opt_param string syncToken Token obtained from the nextSyncToken field
+ * returned on the last page of results from the previous list request. It makes
+ * the result of this list request contain only entries that have changed since
+ * then. If the syncToken expires, the server will respond with a 410 GONE
+ * response code and the client should clear its storage and perform a full
+ * synchronization without any syncToken. Learn more about incremental
+ * synchronization. Optional. The default is to return all entries.
+ * @return Postman_Google_Service_Calendar_Settings
+ */
+ public function listSettings($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Calendar_Settings");
+ }
+
+ /**
+ * Watch for changes to Settings resources. (settings.watch)
+ *
+ * @param Postman_Google_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Token specifying which result page to return.
+ * Optional.
+ * @opt_param int maxResults Maximum number of entries returned on one result
+ * page. By default the value is 100 entries. The page size can never be larger
+ * than 250 entries. Optional.
+ * @opt_param string syncToken Token obtained from the nextSyncToken field
+ * returned on the last page of results from the previous list request. It makes
+ * the result of this list request contain only entries that have changed since
+ * then. If the syncToken expires, the server will respond with a 410 GONE
+ * response code and the client should clear its storage and perform a full
+ * synchronization without any syncToken. Learn more about incremental
+ * synchronization. Optional. The default is to return all entries.
+ * @return Postman_Google_Service_Calendar_Channel
+ */
+ public function watch(Postman_Google_Service_Calendar_Channel $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Postman_Google_Service_Calendar_Channel");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Calendar_Acl extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Calendar_AclRule';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $nextSyncToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setNextSyncToken($nextSyncToken)
+ {
+ $this->nextSyncToken = $nextSyncToken;
+ }
+ public function getNextSyncToken()
+ {
+ return $this->nextSyncToken;
+ }
+}
+
+class Postman_Google_Service_Calendar_AclRule extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $id;
+ public $kind;
+ public $role;
+ protected $scopeType = 'Postman_Google_Service_Calendar_AclRuleScope';
+ protected $scopeDataType = '';
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+ public function setScope(Postman_Google_Service_Calendar_AclRuleScope $scope)
+ {
+ $this->scope = $scope;
+ }
+ public function getScope()
+ {
+ return $this->scope;
+ }
+}
+
+class Postman_Google_Service_Calendar_AclRuleScope extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $type;
+ public $value;
+
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Calendar_Calendar extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ public $etag;
+ public $id;
+ public $kind;
+ public $location;
+ public $summary;
+ public $timeZone;
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setSummary($summary)
+ {
+ $this->summary = $summary;
+ }
+ public function getSummary()
+ {
+ return $this->summary;
+ }
+ public function setTimeZone($timeZone)
+ {
+ $this->timeZone = $timeZone;
+ }
+ public function getTimeZone()
+ {
+ return $this->timeZone;
+ }
+}
+
+class Postman_Google_Service_Calendar_CalendarList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Calendar_CalendarListEntry';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $nextSyncToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setNextSyncToken($nextSyncToken)
+ {
+ $this->nextSyncToken = $nextSyncToken;
+ }
+ public function getNextSyncToken()
+ {
+ return $this->nextSyncToken;
+ }
+}
+
+class Postman_Google_Service_Calendar_CalendarListEntry extends Postman_Google_Collection
+{
+ protected $collection_key = 'defaultReminders';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accessRole;
+ public $backgroundColor;
+ public $colorId;
+ protected $defaultRemindersType = 'Postman_Google_Service_Calendar_EventReminder';
+ protected $defaultRemindersDataType = 'array';
+ public $deleted;
+ public $description;
+ public $etag;
+ public $foregroundColor;
+ public $hidden;
+ public $id;
+ public $kind;
+ public $location;
+ protected $notificationSettingsType = 'Postman_Google_Service_Calendar_CalendarListEntryNotificationSettings';
+ protected $notificationSettingsDataType = '';
+ public $primary;
+ public $selected;
+ public $summary;
+ public $summaryOverride;
+ public $timeZone;
+
+
+ public function setAccessRole($accessRole)
+ {
+ $this->accessRole = $accessRole;
+ }
+ public function getAccessRole()
+ {
+ return $this->accessRole;
+ }
+ public function setBackgroundColor($backgroundColor)
+ {
+ $this->backgroundColor = $backgroundColor;
+ }
+ public function getBackgroundColor()
+ {
+ return $this->backgroundColor;
+ }
+ public function setColorId($colorId)
+ {
+ $this->colorId = $colorId;
+ }
+ public function getColorId()
+ {
+ return $this->colorId;
+ }
+ public function setDefaultReminders($defaultReminders)
+ {
+ $this->defaultReminders = $defaultReminders;
+ }
+ public function getDefaultReminders()
+ {
+ return $this->defaultReminders;
+ }
+ public function setDeleted($deleted)
+ {
+ $this->deleted = $deleted;
+ }
+ public function getDeleted()
+ {
+ return $this->deleted;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setForegroundColor($foregroundColor)
+ {
+ $this->foregroundColor = $foregroundColor;
+ }
+ public function getForegroundColor()
+ {
+ return $this->foregroundColor;
+ }
+ public function setHidden($hidden)
+ {
+ $this->hidden = $hidden;
+ }
+ public function getHidden()
+ {
+ return $this->hidden;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setNotificationSettings(Postman_Google_Service_Calendar_CalendarListEntryNotificationSettings $notificationSettings)
+ {
+ $this->notificationSettings = $notificationSettings;
+ }
+ public function getNotificationSettings()
+ {
+ return $this->notificationSettings;
+ }
+ public function setPrimary($primary)
+ {
+ $this->primary = $primary;
+ }
+ public function getPrimary()
+ {
+ return $this->primary;
+ }
+ public function setSelected($selected)
+ {
+ $this->selected = $selected;
+ }
+ public function getSelected()
+ {
+ return $this->selected;
+ }
+ public function setSummary($summary)
+ {
+ $this->summary = $summary;
+ }
+ public function getSummary()
+ {
+ return $this->summary;
+ }
+ public function setSummaryOverride($summaryOverride)
+ {
+ $this->summaryOverride = $summaryOverride;
+ }
+ public function getSummaryOverride()
+ {
+ return $this->summaryOverride;
+ }
+ public function setTimeZone($timeZone)
+ {
+ $this->timeZone = $timeZone;
+ }
+ public function getTimeZone()
+ {
+ return $this->timeZone;
+ }
+}
+
+class Postman_Google_Service_Calendar_CalendarListEntryNotificationSettings extends Postman_Google_Collection
+{
+ protected $collection_key = 'notifications';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $notificationsType = 'Postman_Google_Service_Calendar_CalendarNotification';
+ protected $notificationsDataType = 'array';
+
+
+ public function setNotifications($notifications)
+ {
+ $this->notifications = $notifications;
+ }
+ public function getNotifications()
+ {
+ return $this->notifications;
+ }
+}
+
+class Postman_Google_Service_Calendar_CalendarNotification extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $method;
+ public $type;
+
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+ public function getMethod()
+ {
+ return $this->method;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Calendar_Channel extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $address;
+ public $expiration;
+ public $id;
+ public $kind;
+ public $params;
+ public $payload;
+ public $resourceId;
+ public $resourceUri;
+ public $token;
+ public $type;
+
+
+ public function setAddress($address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
+ public function setExpiration($expiration)
+ {
+ $this->expiration = $expiration;
+ }
+ public function getExpiration()
+ {
+ return $this->expiration;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setParams($params)
+ {
+ $this->params = $params;
+ }
+ public function getParams()
+ {
+ return $this->params;
+ }
+ public function setPayload($payload)
+ {
+ $this->payload = $payload;
+ }
+ public function getPayload()
+ {
+ return $this->payload;
+ }
+ public function setResourceId($resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+ public function setResourceUri($resourceUri)
+ {
+ $this->resourceUri = $resourceUri;
+ }
+ public function getResourceUri()
+ {
+ return $this->resourceUri;
+ }
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+ public function getToken()
+ {
+ return $this->token;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Calendar_ChannelParams extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Calendar_ColorDefinition extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $background;
+ public $foreground;
+
+
+ public function setBackground($background)
+ {
+ $this->background = $background;
+ }
+ public function getBackground()
+ {
+ return $this->background;
+ }
+ public function setForeground($foreground)
+ {
+ $this->foreground = $foreground;
+ }
+ public function getForeground()
+ {
+ return $this->foreground;
+ }
+}
+
+class Postman_Google_Service_Calendar_Colors extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $calendarType = 'Postman_Google_Service_Calendar_ColorDefinition';
+ protected $calendarDataType = 'map';
+ protected $eventType = 'Postman_Google_Service_Calendar_ColorDefinition';
+ protected $eventDataType = 'map';
+ public $kind;
+ public $updated;
+
+
+ public function setCalendar($calendar)
+ {
+ $this->calendar = $calendar;
+ }
+ public function getCalendar()
+ {
+ return $this->calendar;
+ }
+ public function setEvent($event)
+ {
+ $this->event = $event;
+ }
+ public function getEvent()
+ {
+ return $this->event;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+}
+
+class Postman_Google_Service_Calendar_ColorsCalendar extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Calendar_ColorsEvent extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Calendar_Error extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $domain;
+ public $reason;
+
+
+ public function setDomain($domain)
+ {
+ $this->domain = $domain;
+ }
+ public function getDomain()
+ {
+ return $this->domain;
+ }
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+}
+
+class Postman_Google_Service_Calendar_Event extends Postman_Google_Collection
+{
+ protected $collection_key = 'recurrence';
+ protected $internal_gapi_mappings = array(
+ );
+ public $anyoneCanAddSelf;
+ protected $attendeesType = 'Postman_Google_Service_Calendar_EventAttendee';
+ protected $attendeesDataType = 'array';
+ public $attendeesOmitted;
+ public $colorId;
+ public $created;
+ protected $creatorType = 'Postman_Google_Service_Calendar_EventCreator';
+ protected $creatorDataType = '';
+ public $description;
+ protected $endType = 'Postman_Google_Service_Calendar_EventDateTime';
+ protected $endDataType = '';
+ public $endTimeUnspecified;
+ public $etag;
+ protected $extendedPropertiesType = 'Postman_Google_Service_Calendar_EventExtendedProperties';
+ protected $extendedPropertiesDataType = '';
+ protected $gadgetType = 'Postman_Google_Service_Calendar_EventGadget';
+ protected $gadgetDataType = '';
+ public $guestsCanInviteOthers;
+ public $guestsCanModify;
+ public $guestsCanSeeOtherGuests;
+ public $hangoutLink;
+ public $htmlLink;
+ public $iCalUID;
+ public $id;
+ public $kind;
+ public $location;
+ public $locked;
+ protected $organizerType = 'Postman_Google_Service_Calendar_EventOrganizer';
+ protected $organizerDataType = '';
+ protected $originalStartTimeType = 'Postman_Google_Service_Calendar_EventDateTime';
+ protected $originalStartTimeDataType = '';
+ public $privateCopy;
+ public $recurrence;
+ public $recurringEventId;
+ protected $remindersType = 'Postman_Google_Service_Calendar_EventReminders';
+ protected $remindersDataType = '';
+ public $sequence;
+ protected $sourceType = 'Postman_Google_Service_Calendar_EventSource';
+ protected $sourceDataType = '';
+ protected $startType = 'Postman_Google_Service_Calendar_EventDateTime';
+ protected $startDataType = '';
+ public $status;
+ public $summary;
+ public $transparency;
+ public $updated;
+ public $visibility;
+
+
+ public function setAnyoneCanAddSelf($anyoneCanAddSelf)
+ {
+ $this->anyoneCanAddSelf = $anyoneCanAddSelf;
+ }
+ public function getAnyoneCanAddSelf()
+ {
+ return $this->anyoneCanAddSelf;
+ }
+ public function setAttendees($attendees)
+ {
+ $this->attendees = $attendees;
+ }
+ public function getAttendees()
+ {
+ return $this->attendees;
+ }
+ public function setAttendeesOmitted($attendeesOmitted)
+ {
+ $this->attendeesOmitted = $attendeesOmitted;
+ }
+ public function getAttendeesOmitted()
+ {
+ return $this->attendeesOmitted;
+ }
+ public function setColorId($colorId)
+ {
+ $this->colorId = $colorId;
+ }
+ public function getColorId()
+ {
+ return $this->colorId;
+ }
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+ public function getCreated()
+ {
+ return $this->created;
+ }
+ public function setCreator(Postman_Google_Service_Calendar_EventCreator $creator)
+ {
+ $this->creator = $creator;
+ }
+ public function getCreator()
+ {
+ return $this->creator;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEnd(Postman_Google_Service_Calendar_EventDateTime $end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setEndTimeUnspecified($endTimeUnspecified)
+ {
+ $this->endTimeUnspecified = $endTimeUnspecified;
+ }
+ public function getEndTimeUnspecified()
+ {
+ return $this->endTimeUnspecified;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setExtendedProperties(Postman_Google_Service_Calendar_EventExtendedProperties $extendedProperties)
+ {
+ $this->extendedProperties = $extendedProperties;
+ }
+ public function getExtendedProperties()
+ {
+ return $this->extendedProperties;
+ }
+ public function setGadget(Postman_Google_Service_Calendar_EventGadget $gadget)
+ {
+ $this->gadget = $gadget;
+ }
+ public function getGadget()
+ {
+ return $this->gadget;
+ }
+ public function setGuestsCanInviteOthers($guestsCanInviteOthers)
+ {
+ $this->guestsCanInviteOthers = $guestsCanInviteOthers;
+ }
+ public function getGuestsCanInviteOthers()
+ {
+ return $this->guestsCanInviteOthers;
+ }
+ public function setGuestsCanModify($guestsCanModify)
+ {
+ $this->guestsCanModify = $guestsCanModify;
+ }
+ public function getGuestsCanModify()
+ {
+ return $this->guestsCanModify;
+ }
+ public function setGuestsCanSeeOtherGuests($guestsCanSeeOtherGuests)
+ {
+ $this->guestsCanSeeOtherGuests = $guestsCanSeeOtherGuests;
+ }
+ public function getGuestsCanSeeOtherGuests()
+ {
+ return $this->guestsCanSeeOtherGuests;
+ }
+ public function setHangoutLink($hangoutLink)
+ {
+ $this->hangoutLink = $hangoutLink;
+ }
+ public function getHangoutLink()
+ {
+ return $this->hangoutLink;
+ }
+ public function setHtmlLink($htmlLink)
+ {
+ $this->htmlLink = $htmlLink;
+ }
+ public function getHtmlLink()
+ {
+ return $this->htmlLink;
+ }
+ public function setICalUID($iCalUID)
+ {
+ $this->iCalUID = $iCalUID;
+ }
+ public function getICalUID()
+ {
+ return $this->iCalUID;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setLocked($locked)
+ {
+ $this->locked = $locked;
+ }
+ public function getLocked()
+ {
+ return $this->locked;
+ }
+ public function setOrganizer(Postman_Google_Service_Calendar_EventOrganizer $organizer)
+ {
+ $this->organizer = $organizer;
+ }
+ public function getOrganizer()
+ {
+ return $this->organizer;
+ }
+ public function setOriginalStartTime(Postman_Google_Service_Calendar_EventDateTime $originalStartTime)
+ {
+ $this->originalStartTime = $originalStartTime;
+ }
+ public function getOriginalStartTime()
+ {
+ return $this->originalStartTime;
+ }
+ public function setPrivateCopy($privateCopy)
+ {
+ $this->privateCopy = $privateCopy;
+ }
+ public function getPrivateCopy()
+ {
+ return $this->privateCopy;
+ }
+ public function setRecurrence($recurrence)
+ {
+ $this->recurrence = $recurrence;
+ }
+ public function getRecurrence()
+ {
+ return $this->recurrence;
+ }
+ public function setRecurringEventId($recurringEventId)
+ {
+ $this->recurringEventId = $recurringEventId;
+ }
+ public function getRecurringEventId()
+ {
+ return $this->recurringEventId;
+ }
+ public function setReminders(Postman_Google_Service_Calendar_EventReminders $reminders)
+ {
+ $this->reminders = $reminders;
+ }
+ public function getReminders()
+ {
+ return $this->reminders;
+ }
+ public function setSequence($sequence)
+ {
+ $this->sequence = $sequence;
+ }
+ public function getSequence()
+ {
+ return $this->sequence;
+ }
+ public function setSource(Postman_Google_Service_Calendar_EventSource $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+ public function setStart(Postman_Google_Service_Calendar_EventDateTime $start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setSummary($summary)
+ {
+ $this->summary = $summary;
+ }
+ public function getSummary()
+ {
+ return $this->summary;
+ }
+ public function setTransparency($transparency)
+ {
+ $this->transparency = $transparency;
+ }
+ public function getTransparency()
+ {
+ return $this->transparency;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Postman_Google_Service_Calendar_EventAttachment extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $title;
+
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_Calendar_EventAttendee extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $additionalGuests;
+ public $comment;
+ public $displayName;
+ public $email;
+ public $id;
+ public $optional;
+ public $organizer;
+ public $resource;
+ public $responseStatus;
+ public $self;
+
+
+ public function setAdditionalGuests($additionalGuests)
+ {
+ $this->additionalGuests = $additionalGuests;
+ }
+ public function getAdditionalGuests()
+ {
+ return $this->additionalGuests;
+ }
+ public function setComment($comment)
+ {
+ $this->comment = $comment;
+ }
+ public function getComment()
+ {
+ return $this->comment;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setOptional($optional)
+ {
+ $this->optional = $optional;
+ }
+ public function getOptional()
+ {
+ return $this->optional;
+ }
+ public function setOrganizer($organizer)
+ {
+ $this->organizer = $organizer;
+ }
+ public function getOrganizer()
+ {
+ return $this->organizer;
+ }
+ public function setResource($resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+ public function setResponseStatus($responseStatus)
+ {
+ $this->responseStatus = $responseStatus;
+ }
+ public function getResponseStatus()
+ {
+ return $this->responseStatus;
+ }
+ public function setSelf($self)
+ {
+ $this->self = $self;
+ }
+ public function getSelf()
+ {
+ return $this->self;
+ }
+}
+
+class Postman_Google_Service_Calendar_EventCreator extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+ public $email;
+ public $id;
+ public $self;
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setSelf($self)
+ {
+ $this->self = $self;
+ }
+ public function getSelf()
+ {
+ return $this->self;
+ }
+}
+
+class Postman_Google_Service_Calendar_EventDateTime extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $date;
+ public $dateTime;
+ public $timeZone;
+
+
+ public function setDate($date)
+ {
+ $this->date = $date;
+ }
+ public function getDate()
+ {
+ return $this->date;
+ }
+ public function setDateTime($dateTime)
+ {
+ $this->dateTime = $dateTime;
+ }
+ public function getDateTime()
+ {
+ return $this->dateTime;
+ }
+ public function setTimeZone($timeZone)
+ {
+ $this->timeZone = $timeZone;
+ }
+ public function getTimeZone()
+ {
+ return $this->timeZone;
+ }
+}
+
+class Postman_Google_Service_Calendar_EventExtendedProperties extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $private;
+ public $shared;
+
+
+ public function setPrivate($private)
+ {
+ $this->private = $private;
+ }
+ public function getPrivate()
+ {
+ return $this->private;
+ }
+ public function setShared($shared)
+ {
+ $this->shared = $shared;
+ }
+ public function getShared()
+ {
+ return $this->shared;
+ }
+}
+
+class Postman_Google_Service_Calendar_EventExtendedPropertiesPrivate extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Calendar_EventExtendedPropertiesShared extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Calendar_EventGadget extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $display;
+ public $height;
+ public $iconLink;
+ public $link;
+ public $preferences;
+ public $title;
+ public $type;
+ public $width;
+
+
+ public function setDisplay($display)
+ {
+ $this->display = $display;
+ }
+ public function getDisplay()
+ {
+ return $this->display;
+ }
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setIconLink($iconLink)
+ {
+ $this->iconLink = $iconLink;
+ }
+ public function getIconLink()
+ {
+ return $this->iconLink;
+ }
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+ public function getLink()
+ {
+ return $this->link;
+ }
+ public function setPreferences($preferences)
+ {
+ $this->preferences = $preferences;
+ }
+ public function getPreferences()
+ {
+ return $this->preferences;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_Calendar_EventGadgetPreferences extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Calendar_EventOrganizer extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+ public $email;
+ public $id;
+ public $self;
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setSelf($self)
+ {
+ $this->self = $self;
+ }
+ public function getSelf()
+ {
+ return $this->self;
+ }
+}
+
+class Postman_Google_Service_Calendar_EventReminder extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $method;
+ public $minutes;
+
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+ public function getMethod()
+ {
+ return $this->method;
+ }
+ public function setMinutes($minutes)
+ {
+ $this->minutes = $minutes;
+ }
+ public function getMinutes()
+ {
+ return $this->minutes;
+ }
+}
+
+class Postman_Google_Service_Calendar_EventReminders extends Postman_Google_Collection
+{
+ protected $collection_key = 'overrides';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $overridesType = 'Postman_Google_Service_Calendar_EventReminder';
+ protected $overridesDataType = 'array';
+ public $useDefault;
+
+
+ public function setOverrides($overrides)
+ {
+ $this->overrides = $overrides;
+ }
+ public function getOverrides()
+ {
+ return $this->overrides;
+ }
+ public function setUseDefault($useDefault)
+ {
+ $this->useDefault = $useDefault;
+ }
+ public function getUseDefault()
+ {
+ return $this->useDefault;
+ }
+}
+
+class Postman_Google_Service_Calendar_EventSource extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $title;
+ public $url;
+
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Calendar_Events extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accessRole;
+ protected $defaultRemindersType = 'Postman_Google_Service_Calendar_EventReminder';
+ protected $defaultRemindersDataType = 'array';
+ public $description;
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Calendar_Event';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $nextSyncToken;
+ public $summary;
+ public $timeZone;
+ public $updated;
+
+
+ public function setAccessRole($accessRole)
+ {
+ $this->accessRole = $accessRole;
+ }
+ public function getAccessRole()
+ {
+ return $this->accessRole;
+ }
+ public function setDefaultReminders($defaultReminders)
+ {
+ $this->defaultReminders = $defaultReminders;
+ }
+ public function getDefaultReminders()
+ {
+ return $this->defaultReminders;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setNextSyncToken($nextSyncToken)
+ {
+ $this->nextSyncToken = $nextSyncToken;
+ }
+ public function getNextSyncToken()
+ {
+ return $this->nextSyncToken;
+ }
+ public function setSummary($summary)
+ {
+ $this->summary = $summary;
+ }
+ public function getSummary()
+ {
+ return $this->summary;
+ }
+ public function setTimeZone($timeZone)
+ {
+ $this->timeZone = $timeZone;
+ }
+ public function getTimeZone()
+ {
+ return $this->timeZone;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+}
+
+class Postman_Google_Service_Calendar_FreeBusyCalendar extends Postman_Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $busyType = 'Postman_Google_Service_Calendar_TimePeriod';
+ protected $busyDataType = 'array';
+ protected $errorsType = 'Postman_Google_Service_Calendar_Error';
+ protected $errorsDataType = 'array';
+
+
+ public function setBusy($busy)
+ {
+ $this->busy = $busy;
+ }
+ public function getBusy()
+ {
+ return $this->busy;
+ }
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Postman_Google_Service_Calendar_FreeBusyGroup extends Postman_Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ public $calendars;
+ protected $errorsType = 'Postman_Google_Service_Calendar_Error';
+ protected $errorsDataType = 'array';
+
+
+ public function setCalendars($calendars)
+ {
+ $this->calendars = $calendars;
+ }
+ public function getCalendars()
+ {
+ return $this->calendars;
+ }
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Postman_Google_Service_Calendar_FreeBusyRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $calendarExpansionMax;
+ public $groupExpansionMax;
+ protected $itemsType = 'Postman_Google_Service_Calendar_FreeBusyRequestItem';
+ protected $itemsDataType = 'array';
+ public $timeMax;
+ public $timeMin;
+ public $timeZone;
+
+
+ public function setCalendarExpansionMax($calendarExpansionMax)
+ {
+ $this->calendarExpansionMax = $calendarExpansionMax;
+ }
+ public function getCalendarExpansionMax()
+ {
+ return $this->calendarExpansionMax;
+ }
+ public function setGroupExpansionMax($groupExpansionMax)
+ {
+ $this->groupExpansionMax = $groupExpansionMax;
+ }
+ public function getGroupExpansionMax()
+ {
+ return $this->groupExpansionMax;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setTimeMax($timeMax)
+ {
+ $this->timeMax = $timeMax;
+ }
+ public function getTimeMax()
+ {
+ return $this->timeMax;
+ }
+ public function setTimeMin($timeMin)
+ {
+ $this->timeMin = $timeMin;
+ }
+ public function getTimeMin()
+ {
+ return $this->timeMin;
+ }
+ public function setTimeZone($timeZone)
+ {
+ $this->timeZone = $timeZone;
+ }
+ public function getTimeZone()
+ {
+ return $this->timeZone;
+ }
+}
+
+class Postman_Google_Service_Calendar_FreeBusyRequestItem extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Postman_Google_Service_Calendar_FreeBusyResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $calendarsType = 'Postman_Google_Service_Calendar_FreeBusyCalendar';
+ protected $calendarsDataType = 'map';
+ protected $groupsType = 'Postman_Google_Service_Calendar_FreeBusyGroup';
+ protected $groupsDataType = 'map';
+ public $kind;
+ public $timeMax;
+ public $timeMin;
+
+
+ public function setCalendars($calendars)
+ {
+ $this->calendars = $calendars;
+ }
+ public function getCalendars()
+ {
+ return $this->calendars;
+ }
+ public function setGroups($groups)
+ {
+ $this->groups = $groups;
+ }
+ public function getGroups()
+ {
+ return $this->groups;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setTimeMax($timeMax)
+ {
+ $this->timeMax = $timeMax;
+ }
+ public function getTimeMax()
+ {
+ return $this->timeMax;
+ }
+ public function setTimeMin($timeMin)
+ {
+ $this->timeMin = $timeMin;
+ }
+ public function getTimeMin()
+ {
+ return $this->timeMin;
+ }
+}
+
+class Postman_Google_Service_Calendar_FreeBusyResponseCalendars extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Calendar_FreeBusyResponseGroups extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Calendar_Setting extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $id;
+ public $kind;
+ public $value;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Calendar_Settings extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Calendar_Setting';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $nextSyncToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setNextSyncToken($nextSyncToken)
+ {
+ $this->nextSyncToken = $nextSyncToken;
+ }
+ public function getNextSyncToken()
+ {
+ return $this->nextSyncToken;
+ }
+}
+
+class Postman_Google_Service_Calendar_TimePeriod extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $end;
+ public $start;
+
+
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/CivicInfo.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/CivicInfo.php
new file mode 100644
index 0000000..788df7b
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/CivicInfo.php
@@ -0,0 +1,1568 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for CivicInfo (v2).
+ *
+ * <p>
+ * An API for accessing civic information.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/civic-information" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_CivicInfo extends Postman_Google_Service
+{
+
+
+ public $divisions;
+ public $elections;
+ public $representatives;
+
+
+ /**
+ * Constructs the internal representation of the CivicInfo service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'civicinfo/v2/';
+ $this->version = 'v2';
+ $this->serviceName = 'civicinfo';
+
+ $this->divisions = new Postman_Google_Service_CivicInfo_Divisions_Resource(
+ $this,
+ $this->serviceName,
+ 'divisions',
+ array(
+ 'methods' => array(
+ 'search' => array(
+ 'path' => 'divisions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->elections = new Postman_Google_Service_CivicInfo_Elections_Resource(
+ $this,
+ $this->serviceName,
+ 'elections',
+ array(
+ 'methods' => array(
+ 'electionQuery' => array(
+ 'path' => 'elections',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),'voterInfoQuery' => array(
+ 'path' => 'voterinfo',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'address' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'electionId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'officialOnly' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->representatives = new Postman_Google_Service_CivicInfo_Representatives_Resource(
+ $this,
+ $this->serviceName,
+ 'representatives',
+ array(
+ 'methods' => array(
+ 'representativeInfoByAddress' => array(
+ 'path' => 'representatives',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'includeOffices' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'levels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'roles' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'address' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'representativeInfoByDivision' => array(
+ 'path' => 'representatives/{ocdId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'ocdId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'levels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'recursive' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'roles' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "divisions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $civicinfoService = new Postman_Google_Service_CivicInfo(...);
+ * $divisions = $civicinfoService->divisions;
+ * </code>
+ */
+class Postman_Google_Service_CivicInfo_Divisions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Searches for political divisions by their natural name or OCD ID.
+ * (divisions.search)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string query The search query. Queries can cover any parts of a
+ * OCD ID or a human readable division name. All words given in the query are
+ * treated as required patterns. In addition to that, most query operators of
+ * the Apache Lucene library are supported. See
+ * http://lucene.apache.org/core/2_9_4/queryparsersyntax.html
+ * @return Postman_Google_Service_CivicInfo_DivisionSearchResponse
+ */
+ public function search($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Postman_Google_Service_CivicInfo_DivisionSearchResponse");
+ }
+}
+
+/**
+ * The "elections" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $civicinfoService = new Postman_Google_Service_CivicInfo(...);
+ * $elections = $civicinfoService->elections;
+ * </code>
+ */
+class Postman_Google_Service_CivicInfo_Elections_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List of available elections to query. (elections.electionQuery)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_CivicInfo_ElectionsQueryResponse
+ */
+ public function electionQuery($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('electionQuery', array($params), "Postman_Google_Service_CivicInfo_ElectionsQueryResponse");
+ }
+
+ /**
+ * Looks up information relevant to a voter based on the voter's registered
+ * address. (elections.voterInfoQuery)
+ *
+ * @param string $address The registered address of the voter to look up.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string electionId The unique ID of the election to look up. A list
+ * of election IDs can be obtained at
+ * https://www.googleapis.com/civicinfo/{version}/elections
+ * @opt_param bool officialOnly If set to true, only data from official state
+ * sources will be returned.
+ * @return Postman_Google_Service_CivicInfo_VoterInfoResponse
+ */
+ public function voterInfoQuery($address, $optParams = array())
+ {
+ $params = array('address' => $address);
+ $params = array_merge($params, $optParams);
+ return $this->call('voterInfoQuery', array($params), "Postman_Google_Service_CivicInfo_VoterInfoResponse");
+ }
+}
+
+/**
+ * The "representatives" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $civicinfoService = new Postman_Google_Service_CivicInfo(...);
+ * $representatives = $civicinfoService->representatives;
+ * </code>
+ */
+class Postman_Google_Service_CivicInfo_Representatives_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Looks up political geography and representative information for a single
+ * address. (representatives.representativeInfoByAddress)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool includeOffices Whether to return information about offices
+ * and officials. If false, only the top-level district information will be
+ * returned.
+ * @opt_param string levels A list of office levels to filter by. Only offices
+ * that serve at least one of these levels will be returned. Divisions that
+ * don't contain a matching office will not be returned.
+ * @opt_param string roles A list of office roles to filter by. Only offices
+ * fulfilling one of these roles will be returned. Divisions that don't contain
+ * a matching office will not be returned.
+ * @opt_param string address The address to look up. May only be specified if
+ * the field ocdId is not given in the URL.
+ * @return Postman_Google_Service_CivicInfo_RepresentativeInfoResponse
+ */
+ public function representativeInfoByAddress($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('representativeInfoByAddress', array($params), "Postman_Google_Service_CivicInfo_RepresentativeInfoResponse");
+ }
+
+ /**
+ * Looks up representative information for a single geographic division.
+ * (representatives.representativeInfoByDivision)
+ *
+ * @param string $ocdId The Open Civic Data division identifier of the division
+ * to look up.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string levels A list of office levels to filter by. Only offices
+ * that serve at least one of these levels will be returned. Divisions that
+ * don't contain a matching office will not be returned.
+ * @opt_param bool recursive If true, information about all divisions contained
+ * in the division requested will be included as well. For example, if querying
+ * ocd-division/country:us/district:dc, this would also return all DC's wards
+ * and ANCs.
+ * @opt_param string roles A list of office roles to filter by. Only offices
+ * fulfilling one of these roles will be returned. Divisions that don't contain
+ * a matching office will not be returned.
+ * @return Postman_Google_Service_CivicInfo_RepresentativeInfoData
+ */
+ public function representativeInfoByDivision($ocdId, $optParams = array())
+ {
+ $params = array('ocdId' => $ocdId);
+ $params = array_merge($params, $optParams);
+ return $this->call('representativeInfoByDivision', array($params), "Postman_Google_Service_CivicInfo_RepresentativeInfoData");
+ }
+}
+
+
+
+
+class Postman_Google_Service_CivicInfo_AdministrationRegion extends Postman_Google_Collection
+{
+ protected $collection_key = 'sources';
+ protected $internal_gapi_mappings = array(
+ "localJurisdiction" => "local_jurisdiction",
+ );
+ protected $electionAdministrationBodyType = 'Postman_Google_Service_CivicInfo_AdministrativeBody';
+ protected $electionAdministrationBodyDataType = '';
+ public $id;
+ protected $localJurisdictionType = 'Postman_Google_Service_CivicInfo_AdministrationRegion';
+ protected $localJurisdictionDataType = '';
+ public $name;
+ protected $sourcesType = 'Postman_Google_Service_CivicInfo_Source';
+ protected $sourcesDataType = 'array';
+
+
+ public function setElectionAdministrationBody(Postman_Google_Service_CivicInfo_AdministrativeBody $electionAdministrationBody)
+ {
+ $this->electionAdministrationBody = $electionAdministrationBody;
+ }
+ public function getElectionAdministrationBody()
+ {
+ return $this->electionAdministrationBody;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLocalJurisdiction(Postman_Google_Service_CivicInfo_AdministrationRegion $localJurisdiction)
+ {
+ $this->localJurisdiction = $localJurisdiction;
+ }
+ public function getLocalJurisdiction()
+ {
+ return $this->localJurisdiction;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSources($sources)
+ {
+ $this->sources = $sources;
+ }
+ public function getSources()
+ {
+ return $this->sources;
+ }
+}
+
+class Postman_Google_Service_CivicInfo_AdministrativeBody extends Postman_Google_Collection
+{
+ protected $collection_key = 'voter_services';
+ protected $internal_gapi_mappings = array(
+ "voterServices" => "voter_services",
+ );
+ public $absenteeVotingInfoUrl;
+ public $ballotInfoUrl;
+ protected $correspondenceAddressType = 'Postman_Google_Service_CivicInfo_SimpleAddressType';
+ protected $correspondenceAddressDataType = '';
+ public $electionInfoUrl;
+ protected $electionOfficialsType = 'Postman_Google_Service_CivicInfo_ElectionOfficial';
+ protected $electionOfficialsDataType = 'array';
+ public $electionRegistrationConfirmationUrl;
+ public $electionRegistrationUrl;
+ public $electionRulesUrl;
+ public $hoursOfOperation;
+ public $name;
+ protected $physicalAddressType = 'Postman_Google_Service_CivicInfo_SimpleAddressType';
+ protected $physicalAddressDataType = '';
+ public $voterServices;
+ public $votingLocationFinderUrl;
+
+
+ public function setAbsenteeVotingInfoUrl($absenteeVotingInfoUrl)
+ {
+ $this->absenteeVotingInfoUrl = $absenteeVotingInfoUrl;
+ }
+ public function getAbsenteeVotingInfoUrl()
+ {
+ return $this->absenteeVotingInfoUrl;
+ }
+ public function setBallotInfoUrl($ballotInfoUrl)
+ {
+ $this->ballotInfoUrl = $ballotInfoUrl;
+ }
+ public function getBallotInfoUrl()
+ {
+ return $this->ballotInfoUrl;
+ }
+ public function setCorrespondenceAddress(Postman_Google_Service_CivicInfo_SimpleAddressType $correspondenceAddress)
+ {
+ $this->correspondenceAddress = $correspondenceAddress;
+ }
+ public function getCorrespondenceAddress()
+ {
+ return $this->correspondenceAddress;
+ }
+ public function setElectionInfoUrl($electionInfoUrl)
+ {
+ $this->electionInfoUrl = $electionInfoUrl;
+ }
+ public function getElectionInfoUrl()
+ {
+ return $this->electionInfoUrl;
+ }
+ public function setElectionOfficials($electionOfficials)
+ {
+ $this->electionOfficials = $electionOfficials;
+ }
+ public function getElectionOfficials()
+ {
+ return $this->electionOfficials;
+ }
+ public function setElectionRegistrationConfirmationUrl($electionRegistrationConfirmationUrl)
+ {
+ $this->electionRegistrationConfirmationUrl = $electionRegistrationConfirmationUrl;
+ }
+ public function getElectionRegistrationConfirmationUrl()
+ {
+ return $this->electionRegistrationConfirmationUrl;
+ }
+ public function setElectionRegistrationUrl($electionRegistrationUrl)
+ {
+ $this->electionRegistrationUrl = $electionRegistrationUrl;
+ }
+ public function getElectionRegistrationUrl()
+ {
+ return $this->electionRegistrationUrl;
+ }
+ public function setElectionRulesUrl($electionRulesUrl)
+ {
+ $this->electionRulesUrl = $electionRulesUrl;
+ }
+ public function getElectionRulesUrl()
+ {
+ return $this->electionRulesUrl;
+ }
+ public function setHoursOfOperation($hoursOfOperation)
+ {
+ $this->hoursOfOperation = $hoursOfOperation;
+ }
+ public function getHoursOfOperation()
+ {
+ return $this->hoursOfOperation;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPhysicalAddress(Postman_Google_Service_CivicInfo_SimpleAddressType $physicalAddress)
+ {
+ $this->physicalAddress = $physicalAddress;
+ }
+ public function getPhysicalAddress()
+ {
+ return $this->physicalAddress;
+ }
+ public function setVoterServices($voterServices)
+ {
+ $this->voterServices = $voterServices;
+ }
+ public function getVoterServices()
+ {
+ return $this->voterServices;
+ }
+ public function setVotingLocationFinderUrl($votingLocationFinderUrl)
+ {
+ $this->votingLocationFinderUrl = $votingLocationFinderUrl;
+ }
+ public function getVotingLocationFinderUrl()
+ {
+ return $this->votingLocationFinderUrl;
+ }
+}
+
+class Postman_Google_Service_CivicInfo_Candidate extends Postman_Google_Collection
+{
+ protected $collection_key = 'channels';
+ protected $internal_gapi_mappings = array(
+ );
+ public $candidateUrl;
+ protected $channelsType = 'Postman_Google_Service_CivicInfo_Channel';
+ protected $channelsDataType = 'array';
+ public $email;
+ public $name;
+ public $orderOnBallot;
+ public $party;
+ public $phone;
+ public $photoUrl;
+
+
+ public function setCandidateUrl($candidateUrl)
+ {
+ $this->candidateUrl = $candidateUrl;
+ }
+ public function getCandidateUrl()
+ {
+ return $this->candidateUrl;
+ }
+ public function setChannels($channels)
+ {
+ $this->channels = $channels;
+ }
+ public function getChannels()
+ {
+ return $this->channels;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOrderOnBallot($orderOnBallot)
+ {
+ $this->orderOnBallot = $orderOnBallot;
+ }
+ public function getOrderOnBallot()
+ {
+ return $this->orderOnBallot;
+ }
+ public function setParty($party)
+ {
+ $this->party = $party;
+ }
+ public function getParty()
+ {
+ return $this->party;
+ }
+ public function setPhone($phone)
+ {
+ $this->phone = $phone;
+ }
+ public function getPhone()
+ {
+ return $this->phone;
+ }
+ public function setPhotoUrl($photoUrl)
+ {
+ $this->photoUrl = $photoUrl;
+ }
+ public function getPhotoUrl()
+ {
+ return $this->photoUrl;
+ }
+}
+
+class Postman_Google_Service_CivicInfo_Channel extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $type;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_CivicInfo_Contest extends Postman_Google_Collection
+{
+ protected $collection_key = 'sources';
+ protected $internal_gapi_mappings = array(
+ );
+ public $ballotPlacement;
+ protected $candidatesType = 'Postman_Google_Service_CivicInfo_Candidate';
+ protected $candidatesDataType = 'array';
+ protected $districtType = 'Postman_Google_Service_CivicInfo_ElectoralDistrict';
+ protected $districtDataType = '';
+ public $electorateSpecifications;
+ public $id;
+ public $level;
+ public $numberElected;
+ public $numberVotingFor;
+ public $office;
+ public $primaryParty;
+ public $referendumSubtitle;
+ public $referendumTitle;
+ public $referendumUrl;
+ public $roles;
+ protected $sourcesType = 'Postman_Google_Service_CivicInfo_Source';
+ protected $sourcesDataType = 'array';
+ public $special;
+ public $type;
+
+
+ public function setBallotPlacement($ballotPlacement)
+ {
+ $this->ballotPlacement = $ballotPlacement;
+ }
+ public function getBallotPlacement()
+ {
+ return $this->ballotPlacement;
+ }
+ public function setCandidates($candidates)
+ {
+ $this->candidates = $candidates;
+ }
+ public function getCandidates()
+ {
+ return $this->candidates;
+ }
+ public function setDistrict(Postman_Google_Service_CivicInfo_ElectoralDistrict $district)
+ {
+ $this->district = $district;
+ }
+ public function getDistrict()
+ {
+ return $this->district;
+ }
+ public function setElectorateSpecifications($electorateSpecifications)
+ {
+ $this->electorateSpecifications = $electorateSpecifications;
+ }
+ public function getElectorateSpecifications()
+ {
+ return $this->electorateSpecifications;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLevel($level)
+ {
+ $this->level = $level;
+ }
+ public function getLevel()
+ {
+ return $this->level;
+ }
+ public function setNumberElected($numberElected)
+ {
+ $this->numberElected = $numberElected;
+ }
+ public function getNumberElected()
+ {
+ return $this->numberElected;
+ }
+ public function setNumberVotingFor($numberVotingFor)
+ {
+ $this->numberVotingFor = $numberVotingFor;
+ }
+ public function getNumberVotingFor()
+ {
+ return $this->numberVotingFor;
+ }
+ public function setOffice($office)
+ {
+ $this->office = $office;
+ }
+ public function getOffice()
+ {
+ return $this->office;
+ }
+ public function setPrimaryParty($primaryParty)
+ {
+ $this->primaryParty = $primaryParty;
+ }
+ public function getPrimaryParty()
+ {
+ return $this->primaryParty;
+ }
+ public function setReferendumSubtitle($referendumSubtitle)
+ {
+ $this->referendumSubtitle = $referendumSubtitle;
+ }
+ public function getReferendumSubtitle()
+ {
+ return $this->referendumSubtitle;
+ }
+ public function setReferendumTitle($referendumTitle)
+ {
+ $this->referendumTitle = $referendumTitle;
+ }
+ public function getReferendumTitle()
+ {
+ return $this->referendumTitle;
+ }
+ public function setReferendumUrl($referendumUrl)
+ {
+ $this->referendumUrl = $referendumUrl;
+ }
+ public function getReferendumUrl()
+ {
+ return $this->referendumUrl;
+ }
+ public function setRoles($roles)
+ {
+ $this->roles = $roles;
+ }
+ public function getRoles()
+ {
+ return $this->roles;
+ }
+ public function setSources($sources)
+ {
+ $this->sources = $sources;
+ }
+ public function getSources()
+ {
+ return $this->sources;
+ }
+ public function setSpecial($special)
+ {
+ $this->special = $special;
+ }
+ public function getSpecial()
+ {
+ return $this->special;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_CivicInfo_DivisionSearchResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'results';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $resultsType = 'Postman_Google_Service_CivicInfo_DivisionSearchResult';
+ protected $resultsDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setResults($results)
+ {
+ $this->results = $results;
+ }
+ public function getResults()
+ {
+ return $this->results;
+ }
+}
+
+class Postman_Google_Service_CivicInfo_DivisionSearchResult extends Postman_Google_Collection
+{
+ protected $collection_key = 'aliases';
+ protected $internal_gapi_mappings = array(
+ );
+ public $aliases;
+ public $name;
+ public $ocdId;
+
+
+ public function setAliases($aliases)
+ {
+ $this->aliases = $aliases;
+ }
+ public function getAliases()
+ {
+ return $this->aliases;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOcdId($ocdId)
+ {
+ $this->ocdId = $ocdId;
+ }
+ public function getOcdId()
+ {
+ return $this->ocdId;
+ }
+}
+
+class Postman_Google_Service_CivicInfo_Election extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $electionDay;
+ public $id;
+ public $name;
+
+
+ public function setElectionDay($electionDay)
+ {
+ $this->electionDay = $electionDay;
+ }
+ public function getElectionDay()
+ {
+ return $this->electionDay;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_CivicInfo_ElectionOfficial extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $emailAddress;
+ public $faxNumber;
+ public $name;
+ public $officePhoneNumber;
+ public $title;
+
+
+ public function setEmailAddress($emailAddress)
+ {
+ $this->emailAddress = $emailAddress;
+ }
+ public function getEmailAddress()
+ {
+ return $this->emailAddress;
+ }
+ public function setFaxNumber($faxNumber)
+ {
+ $this->faxNumber = $faxNumber;
+ }
+ public function getFaxNumber()
+ {
+ return $this->faxNumber;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOfficePhoneNumber($officePhoneNumber)
+ {
+ $this->officePhoneNumber = $officePhoneNumber;
+ }
+ public function getOfficePhoneNumber()
+ {
+ return $this->officePhoneNumber;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_CivicInfo_ElectionsQueryResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'elections';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $electionsType = 'Postman_Google_Service_CivicInfo_Election';
+ protected $electionsDataType = 'array';
+ public $kind;
+
+
+ public function setElections($elections)
+ {
+ $this->elections = $elections;
+ }
+ public function getElections()
+ {
+ return $this->elections;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_CivicInfo_ElectoralDistrict extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $name;
+ public $scope;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setScope($scope)
+ {
+ $this->scope = $scope;
+ }
+ public function getScope()
+ {
+ return $this->scope;
+ }
+}
+
+class Postman_Google_Service_CivicInfo_GeographicDivision extends Postman_Google_Collection
+{
+ protected $collection_key = 'officeIndices';
+ protected $internal_gapi_mappings = array(
+ );
+ public $alsoKnownAs;
+ public $name;
+ public $officeIndices;
+
+
+ public function setAlsoKnownAs($alsoKnownAs)
+ {
+ $this->alsoKnownAs = $alsoKnownAs;
+ }
+ public function getAlsoKnownAs()
+ {
+ return $this->alsoKnownAs;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOfficeIndices($officeIndices)
+ {
+ $this->officeIndices = $officeIndices;
+ }
+ public function getOfficeIndices()
+ {
+ return $this->officeIndices;
+ }
+}
+
+class Postman_Google_Service_CivicInfo_Office extends Postman_Google_Collection
+{
+ protected $collection_key = 'sources';
+ protected $internal_gapi_mappings = array(
+ );
+ public $divisionId;
+ public $levels;
+ public $name;
+ public $officialIndices;
+ public $roles;
+ protected $sourcesType = 'Postman_Google_Service_CivicInfo_Source';
+ protected $sourcesDataType = 'array';
+
+
+ public function setDivisionId($divisionId)
+ {
+ $this->divisionId = $divisionId;
+ }
+ public function getDivisionId()
+ {
+ return $this->divisionId;
+ }
+ public function setLevels($levels)
+ {
+ $this->levels = $levels;
+ }
+ public function getLevels()
+ {
+ return $this->levels;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOfficialIndices($officialIndices)
+ {
+ $this->officialIndices = $officialIndices;
+ }
+ public function getOfficialIndices()
+ {
+ return $this->officialIndices;
+ }
+ public function setRoles($roles)
+ {
+ $this->roles = $roles;
+ }
+ public function getRoles()
+ {
+ return $this->roles;
+ }
+ public function setSources($sources)
+ {
+ $this->sources = $sources;
+ }
+ public function getSources()
+ {
+ return $this->sources;
+ }
+}
+
+class Postman_Google_Service_CivicInfo_Official extends Postman_Google_Collection
+{
+ protected $collection_key = 'urls';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $addressType = 'Postman_Google_Service_CivicInfo_SimpleAddressType';
+ protected $addressDataType = 'array';
+ protected $channelsType = 'Postman_Google_Service_CivicInfo_Channel';
+ protected $channelsDataType = 'array';
+ public $emails;
+ public $name;
+ public $party;
+ public $phones;
+ public $photoUrl;
+ public $urls;
+
+
+ public function setAddress($address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
+ public function setChannels($channels)
+ {
+ $this->channels = $channels;
+ }
+ public function getChannels()
+ {
+ return $this->channels;
+ }
+ public function setEmails($emails)
+ {
+ $this->emails = $emails;
+ }
+ public function getEmails()
+ {
+ return $this->emails;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setParty($party)
+ {
+ $this->party = $party;
+ }
+ public function getParty()
+ {
+ return $this->party;
+ }
+ public function setPhones($phones)
+ {
+ $this->phones = $phones;
+ }
+ public function getPhones()
+ {
+ return $this->phones;
+ }
+ public function setPhotoUrl($photoUrl)
+ {
+ $this->photoUrl = $photoUrl;
+ }
+ public function getPhotoUrl()
+ {
+ return $this->photoUrl;
+ }
+ public function setUrls($urls)
+ {
+ $this->urls = $urls;
+ }
+ public function getUrls()
+ {
+ return $this->urls;
+ }
+}
+
+class Postman_Google_Service_CivicInfo_PollingLocation extends Postman_Google_Collection
+{
+ protected $collection_key = 'sources';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $addressType = 'Postman_Google_Service_CivicInfo_SimpleAddressType';
+ protected $addressDataType = '';
+ public $endDate;
+ public $id;
+ public $name;
+ public $notes;
+ public $pollingHours;
+ protected $sourcesType = 'Postman_Google_Service_CivicInfo_Source';
+ protected $sourcesDataType = 'array';
+ public $startDate;
+ public $voterServices;
+
+
+ public function setAddress(Postman_Google_Service_CivicInfo_SimpleAddressType $address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNotes($notes)
+ {
+ $this->notes = $notes;
+ }
+ public function getNotes()
+ {
+ return $this->notes;
+ }
+ public function setPollingHours($pollingHours)
+ {
+ $this->pollingHours = $pollingHours;
+ }
+ public function getPollingHours()
+ {
+ return $this->pollingHours;
+ }
+ public function setSources($sources)
+ {
+ $this->sources = $sources;
+ }
+ public function getSources()
+ {
+ return $this->sources;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+ public function setVoterServices($voterServices)
+ {
+ $this->voterServices = $voterServices;
+ }
+ public function getVoterServices()
+ {
+ return $this->voterServices;
+ }
+}
+
+class Postman_Google_Service_CivicInfo_RepresentativeInfoData extends Postman_Google_Collection
+{
+ protected $collection_key = 'officials';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $divisionsType = 'Postman_Google_Service_CivicInfo_GeographicDivision';
+ protected $divisionsDataType = 'map';
+ protected $officesType = 'Postman_Google_Service_CivicInfo_Office';
+ protected $officesDataType = 'array';
+ protected $officialsType = 'Postman_Google_Service_CivicInfo_Official';
+ protected $officialsDataType = 'array';
+
+
+ public function setDivisions($divisions)
+ {
+ $this->divisions = $divisions;
+ }
+ public function getDivisions()
+ {
+ return $this->divisions;
+ }
+ public function setOffices($offices)
+ {
+ $this->offices = $offices;
+ }
+ public function getOffices()
+ {
+ return $this->offices;
+ }
+ public function setOfficials($officials)
+ {
+ $this->officials = $officials;
+ }
+ public function getOfficials()
+ {
+ return $this->officials;
+ }
+}
+
+class Postman_Google_Service_CivicInfo_RepresentativeInfoDataDivisions extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_CivicInfo_RepresentativeInfoResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'officials';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $divisionsType = 'Postman_Google_Service_CivicInfo_GeographicDivision';
+ protected $divisionsDataType = 'map';
+ public $kind;
+ protected $normalizedInputType = 'Postman_Google_Service_CivicInfo_SimpleAddressType';
+ protected $normalizedInputDataType = '';
+ protected $officesType = 'Postman_Google_Service_CivicInfo_Office';
+ protected $officesDataType = 'array';
+ protected $officialsType = 'Postman_Google_Service_CivicInfo_Official';
+ protected $officialsDataType = 'array';
+
+
+ public function setDivisions($divisions)
+ {
+ $this->divisions = $divisions;
+ }
+ public function getDivisions()
+ {
+ return $this->divisions;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNormalizedInput(Postman_Google_Service_CivicInfo_SimpleAddressType $normalizedInput)
+ {
+ $this->normalizedInput = $normalizedInput;
+ }
+ public function getNormalizedInput()
+ {
+ return $this->normalizedInput;
+ }
+ public function setOffices($offices)
+ {
+ $this->offices = $offices;
+ }
+ public function getOffices()
+ {
+ return $this->offices;
+ }
+ public function setOfficials($officials)
+ {
+ $this->officials = $officials;
+ }
+ public function getOfficials()
+ {
+ return $this->officials;
+ }
+}
+
+class Postman_Google_Service_CivicInfo_RepresentativeInfoResponseDivisions extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_CivicInfo_SimpleAddressType extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $city;
+ public $line1;
+ public $line2;
+ public $line3;
+ public $locationName;
+ public $state;
+ public $zip;
+
+
+ public function setCity($city)
+ {
+ $this->city = $city;
+ }
+ public function getCity()
+ {
+ return $this->city;
+ }
+ public function setLine1($line1)
+ {
+ $this->line1 = $line1;
+ }
+ public function getLine1()
+ {
+ return $this->line1;
+ }
+ public function setLine2($line2)
+ {
+ $this->line2 = $line2;
+ }
+ public function getLine2()
+ {
+ return $this->line2;
+ }
+ public function setLine3($line3)
+ {
+ $this->line3 = $line3;
+ }
+ public function getLine3()
+ {
+ return $this->line3;
+ }
+ public function setLocationName($locationName)
+ {
+ $this->locationName = $locationName;
+ }
+ public function getLocationName()
+ {
+ return $this->locationName;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setZip($zip)
+ {
+ $this->zip = $zip;
+ }
+ public function getZip()
+ {
+ return $this->zip;
+ }
+}
+
+class Postman_Google_Service_CivicInfo_Source extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+ public $official;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOfficial($official)
+ {
+ $this->official = $official;
+ }
+ public function getOfficial()
+ {
+ return $this->official;
+ }
+}
+
+class Postman_Google_Service_CivicInfo_VoterInfoResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'state';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $contestsType = 'Postman_Google_Service_CivicInfo_Contest';
+ protected $contestsDataType = 'array';
+ protected $dropOffLocationsType = 'Postman_Google_Service_CivicInfo_PollingLocation';
+ protected $dropOffLocationsDataType = 'array';
+ protected $earlyVoteSitesType = 'Postman_Google_Service_CivicInfo_PollingLocation';
+ protected $earlyVoteSitesDataType = 'array';
+ protected $electionType = 'Postman_Google_Service_CivicInfo_Election';
+ protected $electionDataType = '';
+ public $kind;
+ protected $normalizedInputType = 'Postman_Google_Service_CivicInfo_SimpleAddressType';
+ protected $normalizedInputDataType = '';
+ protected $otherElectionsType = 'Postman_Google_Service_CivicInfo_Election';
+ protected $otherElectionsDataType = 'array';
+ protected $pollingLocationsType = 'Postman_Google_Service_CivicInfo_PollingLocation';
+ protected $pollingLocationsDataType = 'array';
+ public $precinctId;
+ protected $stateType = 'Postman_Google_Service_CivicInfo_AdministrationRegion';
+ protected $stateDataType = 'array';
+
+
+ public function setContests($contests)
+ {
+ $this->contests = $contests;
+ }
+ public function getContests()
+ {
+ return $this->contests;
+ }
+ public function setDropOffLocations($dropOffLocations)
+ {
+ $this->dropOffLocations = $dropOffLocations;
+ }
+ public function getDropOffLocations()
+ {
+ return $this->dropOffLocations;
+ }
+ public function setEarlyVoteSites($earlyVoteSites)
+ {
+ $this->earlyVoteSites = $earlyVoteSites;
+ }
+ public function getEarlyVoteSites()
+ {
+ return $this->earlyVoteSites;
+ }
+ public function setElection(Postman_Google_Service_CivicInfo_Election $election)
+ {
+ $this->election = $election;
+ }
+ public function getElection()
+ {
+ return $this->election;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNormalizedInput(Postman_Google_Service_CivicInfo_SimpleAddressType $normalizedInput)
+ {
+ $this->normalizedInput = $normalizedInput;
+ }
+ public function getNormalizedInput()
+ {
+ return $this->normalizedInput;
+ }
+ public function setOtherElections($otherElections)
+ {
+ $this->otherElections = $otherElections;
+ }
+ public function getOtherElections()
+ {
+ return $this->otherElections;
+ }
+ public function setPollingLocations($pollingLocations)
+ {
+ $this->pollingLocations = $pollingLocations;
+ }
+ public function getPollingLocations()
+ {
+ return $this->pollingLocations;
+ }
+ public function setPrecinctId($precinctId)
+ {
+ $this->precinctId = $precinctId;
+ }
+ public function getPrecinctId()
+ {
+ return $this->precinctId;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/CloudMonitoring.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/CloudMonitoring.php
new file mode 100644
index 0000000..4c00c46
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/CloudMonitoring.php
@@ -0,0 +1,953 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for CloudMonitoring (v2beta1).
+ *
+ * <p>
+ * API for accessing Google Cloud and API monitoring data.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/cloud-monitoring/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_CloudMonitoring extends Postman_Google_Service
+{
+ /** View monitoring data for all of your Google Cloud and API projects. */
+ const MONITORING_READONLY =
+ "https://www.googleapis.com/auth/monitoring.readonly";
+
+ public $metricDescriptors;
+ public $timeseries;
+ public $timeseriesDescriptors;
+
+
+ /**
+ * Constructs the internal representation of the CloudMonitoring service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'cloudmonitoring/v2beta1/projects/';
+ $this->version = 'v2beta1';
+ $this->serviceName = 'cloudmonitoring';
+
+ $this->metricDescriptors = new Postman_Google_Service_CloudMonitoring_MetricDescriptors_Resource(
+ $this,
+ $this->serviceName,
+ 'metricDescriptors',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{project}/metricDescriptors',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'count' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->timeseries = new Postman_Google_Service_CloudMonitoring_Timeseries_Resource(
+ $this,
+ $this->serviceName,
+ 'timeseries',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{project}/timeseries/{metric}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'metric' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'youngest' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'count' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'timespan' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'labels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'oldest' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->timeseriesDescriptors = new Postman_Google_Service_CloudMonitoring_TimeseriesDescriptors_Resource(
+ $this,
+ $this->serviceName,
+ 'timeseriesDescriptors',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{project}/timeseriesDescriptors/{metric}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'metric' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'youngest' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'count' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'timespan' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'labels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'oldest' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "metricDescriptors" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudmonitoringService = new Postman_Google_Service_CloudMonitoring(...);
+ * $metricDescriptors = $cloudmonitoringService->metricDescriptors;
+ * </code>
+ */
+class Postman_Google_Service_CloudMonitoring_MetricDescriptors_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List metric descriptors that match the query. If the query is not set, then
+ * all of the metric descriptors will be returned. Large responses will be
+ * paginated, use the nextPageToken returned in the response to request
+ * subsequent pages of results by setting the pageToken query parameter to the
+ * value of the nextPageToken. (metricDescriptors.listMetricDescriptors)
+ *
+ * @param string $project The project id. The value can be the numeric project
+ * ID or string-based project name.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int count Maximum number of metric descriptors per page. Used for
+ * pagination. If not specified, count = 100.
+ * @opt_param string pageToken The pagination token, which is used to page
+ * through large result sets. Set this value to the value of the nextPageToken
+ * to retrieve the next page of results.
+ * @opt_param string query The query used to search against existing metrics.
+ * Separate keywords with a space; the service joins all keywords with AND,
+ * meaning that all keywords must match for a metric to be returned. If this
+ * field is omitted, all metrics are returned. If an empty string is passed with
+ * this field, no metrics are returned.
+ * @return Postman_Google_Service_CloudMonitoring_ListMetricDescriptorsResponse
+ */
+ public function listMetricDescriptors($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_CloudMonitoring_ListMetricDescriptorsResponse");
+ }
+}
+
+/**
+ * The "timeseries" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudmonitoringService = new Postman_Google_Service_CloudMonitoring(...);
+ * $timeseries = $cloudmonitoringService->timeseries;
+ * </code>
+ */
+class Postman_Google_Service_CloudMonitoring_Timeseries_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List the data points of the time series that match the metric and labels
+ * values and that have data points in the interval. Large responses are
+ * paginated; use the nextPageToken returned in the response to request
+ * subsequent pages of results by setting the pageToken query parameter to the
+ * value of the nextPageToken. (timeseries.listTimeseries)
+ *
+ * @param string $project The project ID to which this time series belongs. The
+ * value can be the numeric project ID or string-based project name.
+ * @param string $metric Metric names are protocol-free URLs as listed in the
+ * Supported Metrics page. For example,
+ * compute.googleapis.com/instance/disk/read_ops_count.
+ * @param string $youngest End of the time interval (inclusive), which is
+ * expressed as an RFC 3339 timestamp.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int count Maximum number of data points per page, which is used
+ * for pagination of results.
+ * @opt_param string timespan Length of the time interval to query, which is an
+ * alternative way to declare the interval: (youngest - timespan, youngest]. The
+ * timespan and oldest parameters should not be used together. Units: - s:
+ * second - m: minute - h: hour - d: day - w: week Examples: 2s, 3m, 4w.
+ * Only one unit is allowed, for example: 2w3d is not allowed; you should use
+ * 17d instead.
+ *
+ * If neither oldest nor timespan is specified, the default time interval will
+ * be (youngest - 4 hours, youngest].
+ * @opt_param string labels A collection of labels for the matching time series,
+ * which are represented as: - key==value: key equals the value - key=~value:
+ * key regex matches the value - key!=value: key does not equal the value -
+ * key!~value: key regex does not match the value For example, to list all of
+ * the time series descriptors for the region us-central1, you could specify:
+ * label=cloud.googleapis.com%2Flocation=~us-central1.*
+ * @opt_param string pageToken The pagination token, which is used to page
+ * through large result sets. Set this value to the value of the nextPageToken
+ * to retrieve the next page of results.
+ * @opt_param string oldest Start of the time interval (exclusive), which is
+ * expressed as an RFC 3339 timestamp. If neither oldest nor timespan is
+ * specified, the default time interval will be (youngest - 4 hours, youngest]
+ * @return Postman_Google_Service_CloudMonitoring_ListTimeseriesResponse
+ */
+ public function listTimeseries($project, $metric, $youngest, $optParams = array())
+ {
+ $params = array('project' => $project, 'metric' => $metric, 'youngest' => $youngest);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_CloudMonitoring_ListTimeseriesResponse");
+ }
+}
+
+/**
+ * The "timeseriesDescriptors" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $cloudmonitoringService = new Postman_Google_Service_CloudMonitoring(...);
+ * $timeseriesDescriptors = $cloudmonitoringService->timeseriesDescriptors;
+ * </code>
+ */
+class Postman_Google_Service_CloudMonitoring_TimeseriesDescriptors_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List the descriptors of the time series that match the metric and labels
+ * values and that have data points in the interval. Large responses are
+ * paginated; use the nextPageToken returned in the response to request
+ * subsequent pages of results by setting the pageToken query parameter to the
+ * value of the nextPageToken. (timeseriesDescriptors.listTimeseriesDescriptors)
+ *
+ * @param string $project The project ID to which this time series belongs. The
+ * value can be the numeric project ID or string-based project name.
+ * @param string $metric Metric names are protocol-free URLs as listed in the
+ * Supported Metrics page. For example,
+ * compute.googleapis.com/instance/disk/read_ops_count.
+ * @param string $youngest End of the time interval (inclusive), which is
+ * expressed as an RFC 3339 timestamp.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int count Maximum number of time series descriptors per page. Used
+ * for pagination. If not specified, count = 100.
+ * @opt_param string timespan Length of the time interval to query, which is an
+ * alternative way to declare the interval: (youngest - timespan, youngest]. The
+ * timespan and oldest parameters should not be used together. Units: - s:
+ * second - m: minute - h: hour - d: day - w: week Examples: 2s, 3m, 4w.
+ * Only one unit is allowed, for example: 2w3d is not allowed; you should use
+ * 17d instead.
+ *
+ * If neither oldest nor timespan is specified, the default time interval will
+ * be (youngest - 4 hours, youngest].
+ * @opt_param string labels A collection of labels for the matching time series,
+ * which are represented as: - key==value: key equals the value - key=~value:
+ * key regex matches the value - key!=value: key does not equal the value -
+ * key!~value: key regex does not match the value For example, to list all of
+ * the time series descriptors for the region us-central1, you could specify:
+ * label=cloud.googleapis.com%2Flocation=~us-central1.*
+ * @opt_param string pageToken The pagination token, which is used to page
+ * through large result sets. Set this value to the value of the nextPageToken
+ * to retrieve the next page of results.
+ * @opt_param string oldest Start of the time interval (exclusive), which is
+ * expressed as an RFC 3339 timestamp. If neither oldest nor timespan is
+ * specified, the default time interval will be (youngest - 4 hours, youngest]
+ * @return Postman_Google_Service_CloudMonitoring_ListTimeseriesDescriptorsResponse
+ */
+ public function listTimeseriesDescriptors($project, $metric, $youngest, $optParams = array())
+ {
+ $params = array('project' => $project, 'metric' => $metric, 'youngest' => $youngest);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_CloudMonitoring_ListTimeseriesDescriptorsResponse");
+ }
+}
+
+
+
+
+class Postman_Google_Service_CloudMonitoring_ListMetricDescriptorsRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_CloudMonitoring_ListMetricDescriptorsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'metrics';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $metricsType = 'Postman_Google_Service_CloudMonitoring_MetricDescriptor';
+ protected $metricsDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_CloudMonitoring_ListTimeseriesDescriptorsRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_CloudMonitoring_ListTimeseriesDescriptorsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'timeseries';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $nextPageToken;
+ public $oldest;
+ protected $timeseriesType = 'Postman_Google_Service_CloudMonitoring_TimeseriesDescriptor';
+ protected $timeseriesDataType = 'array';
+ public $youngest;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOldest($oldest)
+ {
+ $this->oldest = $oldest;
+ }
+ public function getOldest()
+ {
+ return $this->oldest;
+ }
+ public function setTimeseries($timeseries)
+ {
+ $this->timeseries = $timeseries;
+ }
+ public function getTimeseries()
+ {
+ return $this->timeseries;
+ }
+ public function setYoungest($youngest)
+ {
+ $this->youngest = $youngest;
+ }
+ public function getYoungest()
+ {
+ return $this->youngest;
+ }
+}
+
+class Postman_Google_Service_CloudMonitoring_ListTimeseriesRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_CloudMonitoring_ListTimeseriesResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'timeseries';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $nextPageToken;
+ public $oldest;
+ protected $timeseriesType = 'Postman_Google_Service_CloudMonitoring_Timeseries';
+ protected $timeseriesDataType = 'array';
+ public $youngest;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOldest($oldest)
+ {
+ $this->oldest = $oldest;
+ }
+ public function getOldest()
+ {
+ return $this->oldest;
+ }
+ public function setTimeseries($timeseries)
+ {
+ $this->timeseries = $timeseries;
+ }
+ public function getTimeseries()
+ {
+ return $this->timeseries;
+ }
+ public function setYoungest($youngest)
+ {
+ $this->youngest = $youngest;
+ }
+ public function getYoungest()
+ {
+ return $this->youngest;
+ }
+}
+
+class Postman_Google_Service_CloudMonitoring_MetricDescriptor extends Postman_Google_Collection
+{
+ protected $collection_key = 'labels';
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ protected $labelsType = 'Postman_Google_Service_CloudMonitoring_MetricDescriptorLabelDescriptor';
+ protected $labelsDataType = 'array';
+ public $name;
+ public $project;
+ protected $typeDescriptorType = 'Postman_Google_Service_CloudMonitoring_MetricDescriptorTypeDescriptor';
+ protected $typeDescriptorDataType = '';
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProject($project)
+ {
+ $this->project = $project;
+ }
+ public function getProject()
+ {
+ return $this->project;
+ }
+ public function setTypeDescriptor(Postman_Google_Service_CloudMonitoring_MetricDescriptorTypeDescriptor $typeDescriptor)
+ {
+ $this->typeDescriptor = $typeDescriptor;
+ }
+ public function getTypeDescriptor()
+ {
+ return $this->typeDescriptor;
+ }
+}
+
+class Postman_Google_Service_CloudMonitoring_MetricDescriptorLabelDescriptor extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ public $key;
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+}
+
+class Postman_Google_Service_CloudMonitoring_MetricDescriptorTypeDescriptor extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $metricType;
+ public $valueType;
+
+
+ public function setMetricType($metricType)
+ {
+ $this->metricType = $metricType;
+ }
+ public function getMetricType()
+ {
+ return $this->metricType;
+ }
+ public function setValueType($valueType)
+ {
+ $this->valueType = $valueType;
+ }
+ public function getValueType()
+ {
+ return $this->valueType;
+ }
+}
+
+class Postman_Google_Service_CloudMonitoring_Point extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $boolValue;
+ protected $distributionValueType = 'Postman_Google_Service_CloudMonitoring_PointDistribution';
+ protected $distributionValueDataType = '';
+ public $doubleValue;
+ public $end;
+ public $int64Value;
+ public $start;
+ public $stringValue;
+
+
+ public function setBoolValue($boolValue)
+ {
+ $this->boolValue = $boolValue;
+ }
+ public function getBoolValue()
+ {
+ return $this->boolValue;
+ }
+ public function setDistributionValue(Postman_Google_Service_CloudMonitoring_PointDistribution $distributionValue)
+ {
+ $this->distributionValue = $distributionValue;
+ }
+ public function getDistributionValue()
+ {
+ return $this->distributionValue;
+ }
+ public function setDoubleValue($doubleValue)
+ {
+ $this->doubleValue = $doubleValue;
+ }
+ public function getDoubleValue()
+ {
+ return $this->doubleValue;
+ }
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setInt64Value($int64Value)
+ {
+ $this->int64Value = $int64Value;
+ }
+ public function getInt64Value()
+ {
+ return $this->int64Value;
+ }
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+ public function setStringValue($stringValue)
+ {
+ $this->stringValue = $stringValue;
+ }
+ public function getStringValue()
+ {
+ return $this->stringValue;
+ }
+}
+
+class Postman_Google_Service_CloudMonitoring_PointDistribution extends Postman_Google_Collection
+{
+ protected $collection_key = 'buckets';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $bucketsType = 'Postman_Google_Service_CloudMonitoring_PointDistributionBucket';
+ protected $bucketsDataType = 'array';
+ protected $overflowBucketType = 'Postman_Google_Service_CloudMonitoring_PointDistributionOverflowBucket';
+ protected $overflowBucketDataType = '';
+ protected $underflowBucketType = 'Postman_Google_Service_CloudMonitoring_PointDistributionUnderflowBucket';
+ protected $underflowBucketDataType = '';
+
+
+ public function setBuckets($buckets)
+ {
+ $this->buckets = $buckets;
+ }
+ public function getBuckets()
+ {
+ return $this->buckets;
+ }
+ public function setOverflowBucket(Postman_Google_Service_CloudMonitoring_PointDistributionOverflowBucket $overflowBucket)
+ {
+ $this->overflowBucket = $overflowBucket;
+ }
+ public function getOverflowBucket()
+ {
+ return $this->overflowBucket;
+ }
+ public function setUnderflowBucket(Postman_Google_Service_CloudMonitoring_PointDistributionUnderflowBucket $underflowBucket)
+ {
+ $this->underflowBucket = $underflowBucket;
+ }
+ public function getUnderflowBucket()
+ {
+ return $this->underflowBucket;
+ }
+}
+
+class Postman_Google_Service_CloudMonitoring_PointDistributionBucket extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $count;
+ public $lowerBound;
+ public $upperBound;
+
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+ public function setLowerBound($lowerBound)
+ {
+ $this->lowerBound = $lowerBound;
+ }
+ public function getLowerBound()
+ {
+ return $this->lowerBound;
+ }
+ public function setUpperBound($upperBound)
+ {
+ $this->upperBound = $upperBound;
+ }
+ public function getUpperBound()
+ {
+ return $this->upperBound;
+ }
+}
+
+class Postman_Google_Service_CloudMonitoring_PointDistributionOverflowBucket extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $count;
+ public $lowerBound;
+
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+ public function setLowerBound($lowerBound)
+ {
+ $this->lowerBound = $lowerBound;
+ }
+ public function getLowerBound()
+ {
+ return $this->lowerBound;
+ }
+}
+
+class Postman_Google_Service_CloudMonitoring_PointDistributionUnderflowBucket extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $count;
+ public $upperBound;
+
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+ public function setUpperBound($upperBound)
+ {
+ $this->upperBound = $upperBound;
+ }
+ public function getUpperBound()
+ {
+ return $this->upperBound;
+ }
+}
+
+class Postman_Google_Service_CloudMonitoring_Timeseries extends Postman_Google_Collection
+{
+ protected $collection_key = 'points';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $pointsType = 'Postman_Google_Service_CloudMonitoring_Point';
+ protected $pointsDataType = 'array';
+ protected $timeseriesDescType = 'Postman_Google_Service_CloudMonitoring_TimeseriesDescriptor';
+ protected $timeseriesDescDataType = '';
+
+
+ public function setPoints($points)
+ {
+ $this->points = $points;
+ }
+ public function getPoints()
+ {
+ return $this->points;
+ }
+ public function setTimeseriesDesc(Postman_Google_Service_CloudMonitoring_TimeseriesDescriptor $timeseriesDesc)
+ {
+ $this->timeseriesDesc = $timeseriesDesc;
+ }
+ public function getTimeseriesDesc()
+ {
+ return $this->timeseriesDesc;
+ }
+}
+
+class Postman_Google_Service_CloudMonitoring_TimeseriesDescriptor extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $labels;
+ public $metric;
+ public $project;
+
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setMetric($metric)
+ {
+ $this->metric = $metric;
+ }
+ public function getMetric()
+ {
+ return $this->metric;
+ }
+ public function setProject($project)
+ {
+ $this->project = $project;
+ }
+ public function getProject()
+ {
+ return $this->project;
+ }
+}
+
+class Postman_Google_Service_CloudMonitoring_TimeseriesDescriptorLabel extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_CloudMonitoring_TimeseriesDescriptorLabels extends Postman_Google_Model
+{
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Compute.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Compute.php
new file mode 100644
index 0000000..0905aa1
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Compute.php
@@ -0,0 +1,12150 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Compute (v1).
+ *
+ * <p>
+ * API for the Google Compute Engine service.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/compute/docs/reference/latest/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Compute extends Postman_Google_Service
+{
+ /** View and manage your Google Compute Engine resources. */
+ const COMPUTE =
+ "https://www.googleapis.com/auth/compute";
+ /** View your Google Compute Engine resources. */
+ const COMPUTE_READONLY =
+ "https://www.googleapis.com/auth/compute.readonly";
+ /** Manage your data and permissions in Google Cloud Storage. */
+ const DEVSTORAGE_FULL_CONTROL =
+ "https://www.googleapis.com/auth/devstorage.full_control";
+ /** View your data in Google Cloud Storage. */
+ const DEVSTORAGE_READ_ONLY =
+ "https://www.googleapis.com/auth/devstorage.read_only";
+ /** Manage your data in Google Cloud Storage. */
+ const DEVSTORAGE_READ_WRITE =
+ "https://www.googleapis.com/auth/devstorage.read_write";
+
+ public $addresses;
+ public $backendServices;
+ public $diskTypes;
+ public $disks;
+ public $firewalls;
+ public $forwardingRules;
+ public $globalAddresses;
+ public $globalForwardingRules;
+ public $globalOperations;
+ public $httpHealthChecks;
+ public $images;
+ public $instanceTemplates;
+ public $instances;
+ public $licenses;
+ public $machineTypes;
+ public $networks;
+ public $projects;
+ public $regionOperations;
+ public $regions;
+ public $routes;
+ public $snapshots;
+ public $targetHttpProxies;
+ public $targetInstances;
+ public $targetPools;
+ public $urlMaps;
+ public $zoneOperations;
+ public $zones;
+
+
+ /**
+ * Constructs the internal representation of the Compute service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'compute/v1/projects/';
+ $this->version = 'v1';
+ $this->serviceName = 'compute';
+
+ $this->addresses = new Postman_Google_Service_Compute_Addresses_Resource(
+ $this,
+ $this->serviceName,
+ 'addresses',
+ array(
+ 'methods' => array(
+ 'aggregatedList' => array(
+ 'path' => '{project}/aggregated/addresses',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{project}/regions/{region}/addresses/{address}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'address' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/regions/{region}/addresses/{address}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'address' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/regions/{region}/addresses',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/regions/{region}/addresses',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->backendServices = new Postman_Google_Service_Compute_BackendServices_Resource(
+ $this,
+ $this->serviceName,
+ 'backendServices',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/global/backendServices/{backendService}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'backendService' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/global/backendServices/{backendService}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'backendService' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getHealth' => array(
+ 'path' => '{project}/global/backendServices/{backendService}/getHealth',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'backendService' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/global/backendServices',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/backendServices',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{project}/global/backendServices/{backendService}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'backendService' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{project}/global/backendServices/{backendService}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'backendService' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->diskTypes = new Postman_Google_Service_Compute_DiskTypes_Resource(
+ $this,
+ $this->serviceName,
+ 'diskTypes',
+ array(
+ 'methods' => array(
+ 'aggregatedList' => array(
+ 'path' => '{project}/aggregated/diskTypes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/zones/{zone}/diskTypes/{diskType}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'diskType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/zones/{zone}/diskTypes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->disks = new Postman_Google_Service_Compute_Disks_Resource(
+ $this,
+ $this->serviceName,
+ 'disks',
+ array(
+ 'methods' => array(
+ 'aggregatedList' => array(
+ 'path' => '{project}/aggregated/disks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'createSnapshot' => array(
+ 'path' => '{project}/zones/{zone}/disks/{disk}/createSnapshot',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'disk' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{project}/zones/{zone}/disks/{disk}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'disk' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/zones/{zone}/disks/{disk}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'disk' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/zones/{zone}/disks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sourceImage' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/zones/{zone}/disks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->firewalls = new Postman_Google_Service_Compute_Firewalls_Resource(
+ $this,
+ $this->serviceName,
+ 'firewalls',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/global/firewalls/{firewall}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'firewall' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/global/firewalls/{firewall}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'firewall' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/global/firewalls',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/firewalls',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{project}/global/firewalls/{firewall}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'firewall' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{project}/global/firewalls/{firewall}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'firewall' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->forwardingRules = new Postman_Google_Service_Compute_ForwardingRules_Resource(
+ $this,
+ $this->serviceName,
+ 'forwardingRules',
+ array(
+ 'methods' => array(
+ 'aggregatedList' => array(
+ 'path' => '{project}/aggregated/forwardingRules',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'forwardingRule' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'forwardingRule' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/regions/{region}/forwardingRules',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/regions/{region}/forwardingRules',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'setTarget' => array(
+ 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'forwardingRule' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->globalAddresses = new Postman_Google_Service_Compute_GlobalAddresses_Resource(
+ $this,
+ $this->serviceName,
+ 'globalAddresses',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/global/addresses/{address}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'address' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/global/addresses/{address}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'address' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/global/addresses',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/addresses',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->globalForwardingRules = new Postman_Google_Service_Compute_GlobalForwardingRules_Resource(
+ $this,
+ $this->serviceName,
+ 'globalForwardingRules',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/global/forwardingRules/{forwardingRule}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'forwardingRule' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/global/forwardingRules/{forwardingRule}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'forwardingRule' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/global/forwardingRules',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/forwardingRules',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'setTarget' => array(
+ 'path' => '{project}/global/forwardingRules/{forwardingRule}/setTarget',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'forwardingRule' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->globalOperations = new Postman_Google_Service_Compute_GlobalOperations_Resource(
+ $this,
+ $this->serviceName,
+ 'globalOperations',
+ array(
+ 'methods' => array(
+ 'aggregatedList' => array(
+ 'path' => '{project}/aggregated/operations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{project}/global/operations/{operation}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'operation' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/global/operations/{operation}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'operation' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/operations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->httpHealthChecks = new Postman_Google_Service_Compute_HttpHealthChecks_Resource(
+ $this,
+ $this->serviceName,
+ 'httpHealthChecks',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'httpHealthCheck' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'httpHealthCheck' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/global/httpHealthChecks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/httpHealthChecks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'httpHealthCheck' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'httpHealthCheck' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->images = new Postman_Google_Service_Compute_Images_Resource(
+ $this,
+ $this->serviceName,
+ 'images',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/global/images/{image}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'image' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'deprecate' => array(
+ 'path' => '{project}/global/images/{image}/deprecate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'image' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/global/images/{image}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'image' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/global/images',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/images',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->instanceTemplates = new Postman_Google_Service_Compute_InstanceTemplates_Resource(
+ $this,
+ $this->serviceName,
+ 'instanceTemplates',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/global/instanceTemplates/{instanceTemplate}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceTemplate' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/global/instanceTemplates/{instanceTemplate}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceTemplate' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/global/instanceTemplates',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/instanceTemplates',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->instances = new Postman_Google_Service_Compute_Instances_Resource(
+ $this,
+ $this->serviceName,
+ 'instances',
+ array(
+ 'methods' => array(
+ 'addAccessConfig' => array(
+ 'path' => '{project}/zones/{zone}/instances/{instance}/addAccessConfig',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'networkInterface' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'aggregatedList' => array(
+ 'path' => '{project}/aggregated/instances',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'attachDisk' => array(
+ 'path' => '{project}/zones/{zone}/instances/{instance}/attachDisk',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{project}/zones/{zone}/instances/{instance}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'deleteAccessConfig' => array(
+ 'path' => '{project}/zones/{zone}/instances/{instance}/deleteAccessConfig',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accessConfig' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'networkInterface' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'detachDisk' => array(
+ 'path' => '{project}/zones/{zone}/instances/{instance}/detachDisk',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deviceName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/zones/{zone}/instances/{instance}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getSerialPortOutput' => array(
+ 'path' => '{project}/zones/{zone}/instances/{instance}/serialPort',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/zones/{zone}/instances',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/zones/{zone}/instances',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'reset' => array(
+ 'path' => '{project}/zones/{zone}/instances/{instance}/reset',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setDiskAutoDelete' => array(
+ 'path' => '{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoDelete' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ 'required' => true,
+ ),
+ 'deviceName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setMetadata' => array(
+ 'path' => '{project}/zones/{zone}/instances/{instance}/setMetadata',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setScheduling' => array(
+ 'path' => '{project}/zones/{zone}/instances/{instance}/setScheduling',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setTags' => array(
+ 'path' => '{project}/zones/{zone}/instances/{instance}/setTags',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->licenses = new Postman_Google_Service_Compute_Licenses_Resource(
+ $this,
+ $this->serviceName,
+ 'licenses',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{project}/global/licenses/{license}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'license' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->machineTypes = new Postman_Google_Service_Compute_MachineTypes_Resource(
+ $this,
+ $this->serviceName,
+ 'machineTypes',
+ array(
+ 'methods' => array(
+ 'aggregatedList' => array(
+ 'path' => '{project}/aggregated/machineTypes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/zones/{zone}/machineTypes/{machineType}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'machineType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/zones/{zone}/machineTypes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->networks = new Postman_Google_Service_Compute_Networks_Resource(
+ $this,
+ $this->serviceName,
+ 'networks',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/global/networks/{network}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'network' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/global/networks/{network}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'network' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/global/networks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/networks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects = new Postman_Google_Service_Compute_Projects_Resource(
+ $this,
+ $this->serviceName,
+ 'projects',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{project}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setCommonInstanceMetadata' => array(
+ 'path' => '{project}/setCommonInstanceMetadata',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setUsageExportBucket' => array(
+ 'path' => '{project}/setUsageExportBucket',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->regionOperations = new Postman_Google_Service_Compute_RegionOperations_Resource(
+ $this,
+ $this->serviceName,
+ 'regionOperations',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/regions/{region}/operations/{operation}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'operation' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/regions/{region}/operations/{operation}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'operation' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/regions/{region}/operations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->regions = new Postman_Google_Service_Compute_Regions_Resource(
+ $this,
+ $this->serviceName,
+ 'regions',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{project}/regions/{region}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/regions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->routes = new Postman_Google_Service_Compute_Routes_Resource(
+ $this,
+ $this->serviceName,
+ 'routes',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/global/routes/{route}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'route' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/global/routes/{route}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'route' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/global/routes',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/routes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->snapshots = new Postman_Google_Service_Compute_Snapshots_Resource(
+ $this,
+ $this->serviceName,
+ 'snapshots',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/global/snapshots/{snapshot}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'snapshot' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/global/snapshots/{snapshot}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'snapshot' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/snapshots',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->targetHttpProxies = new Postman_Google_Service_Compute_TargetHttpProxies_Resource(
+ $this,
+ $this->serviceName,
+ 'targetHttpProxies',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/global/targetHttpProxies/{targetHttpProxy}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetHttpProxy' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/global/targetHttpProxies/{targetHttpProxy}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetHttpProxy' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/global/targetHttpProxies',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/targetHttpProxies',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'setUrlMap' => array(
+ 'path' => '{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetHttpProxy' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->targetInstances = new Postman_Google_Service_Compute_TargetInstances_Resource(
+ $this,
+ $this->serviceName,
+ 'targetInstances',
+ array(
+ 'methods' => array(
+ 'aggregatedList' => array(
+ 'path' => '{project}/aggregated/targetInstances',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{project}/zones/{zone}/targetInstances/{targetInstance}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetInstance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/zones/{zone}/targetInstances/{targetInstance}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetInstance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/zones/{zone}/targetInstances',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/zones/{zone}/targetInstances',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->targetPools = new Postman_Google_Service_Compute_TargetPools_Resource(
+ $this,
+ $this->serviceName,
+ 'targetPools',
+ array(
+ 'methods' => array(
+ 'addHealthCheck' => array(
+ 'path' => '{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetPool' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'addInstance' => array(
+ 'path' => '{project}/regions/{region}/targetPools/{targetPool}/addInstance',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetPool' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'aggregatedList' => array(
+ 'path' => '{project}/aggregated/targetPools',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{project}/regions/{region}/targetPools/{targetPool}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetPool' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/regions/{region}/targetPools/{targetPool}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetPool' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getHealth' => array(
+ 'path' => '{project}/regions/{region}/targetPools/{targetPool}/getHealth',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetPool' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/regions/{region}/targetPools',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/regions/{region}/targetPools',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'removeHealthCheck' => array(
+ 'path' => '{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetPool' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'removeInstance' => array(
+ 'path' => '{project}/regions/{region}/targetPools/{targetPool}/removeInstance',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetPool' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setBackup' => array(
+ 'path' => '{project}/regions/{region}/targetPools/{targetPool}/setBackup',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'targetPool' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'failoverRatio' => array(
+ 'location' => 'query',
+ 'type' => 'number',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->urlMaps = new Postman_Google_Service_Compute_UrlMaps_Resource(
+ $this,
+ $this->serviceName,
+ 'urlMaps',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/global/urlMaps/{urlMap}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'urlMap' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/global/urlMaps/{urlMap}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'urlMap' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/global/urlMaps',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/global/urlMaps',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{project}/global/urlMaps/{urlMap}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'urlMap' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{project}/global/urlMaps/{urlMap}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'urlMap' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'validate' => array(
+ 'path' => '{project}/global/urlMaps/{urlMap}/validate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'urlMap' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->zoneOperations = new Postman_Google_Service_Compute_ZoneOperations_Resource(
+ $this,
+ $this->serviceName,
+ 'zoneOperations',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/zones/{zone}/operations/{operation}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'operation' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/zones/{zone}/operations/{operation}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'operation' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/zones/{zone}/operations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->zones = new Postman_Google_Service_Compute_Zones_Resource(
+ $this,
+ $this->serviceName,
+ 'zones',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{project}/zones/{zone}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/zones',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "addresses" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $addresses = $computeService->addresses;
+ * </code>
+ */
+class Postman_Google_Service_Compute_Addresses_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves the list of addresses grouped by scope. (addresses.aggregatedList)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_AddressAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Postman_Google_Service_Compute_AddressAggregatedList");
+ }
+
+ /**
+ * Deletes the specified address resource. (addresses.delete)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $address Name of the address resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function delete($project, $region, $address, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'address' => $address);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Returns the specified address resource. (addresses.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $address Name of the address resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Address
+ */
+ public function get($project, $region, $address, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'address' => $address);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_Address");
+ }
+
+ /**
+ * Creates an address resource in the specified project using the data included
+ * in the request. (addresses.insert)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $region Name of the region scoping this request.
+ * @param Postman_Google_Address $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function insert($project, $region, Postman_Google_Service_Compute_Address $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of address resources contained within the specified
+ * region. (addresses.listAddresses)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $region Name of the region scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_AddressList
+ */
+ public function listAddresses($project, $region, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_AddressList");
+ }
+}
+
+/**
+ * The "backendServices" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $backendServices = $computeService->backendServices;
+ * </code>
+ */
+class Postman_Google_Service_Compute_BackendServices_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified BackendService resource. (backendServices.delete)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $backendService Name of the BackendService resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function delete($project, $backendService, $optParams = array())
+ {
+ $params = array('project' => $project, 'backendService' => $backendService);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Returns the specified BackendService resource. (backendServices.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $backendService Name of the BackendService resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_BackendService
+ */
+ public function get($project, $backendService, $optParams = array())
+ {
+ $params = array('project' => $project, 'backendService' => $backendService);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_BackendService");
+ }
+
+ /**
+ * Gets the most recent health check results for this BackendService.
+ * (backendServices.getHealth)
+ *
+ * @param string $project
+ * @param string $backendService Name of the BackendService resource to which
+ * the queried instance belongs.
+ * @param Postman_Google_ResourceGroupReference $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_BackendServiceGroupHealth
+ */
+ public function getHealth($project, $backendService, Postman_Google_Service_Compute_ResourceGroupReference $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getHealth', array($params), "Postman_Google_Service_Compute_BackendServiceGroupHealth");
+ }
+
+ /**
+ * Creates a BackendService resource in the specified project using the data
+ * included in the request. (backendServices.insert)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param Postman_Google_BackendService $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function insert($project, Postman_Google_Service_Compute_BackendService $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of BackendService resources available to the specified
+ * project. (backendServices.listBackendServices)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_BackendServiceList
+ */
+ public function listBackendServices($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_BackendServiceList");
+ }
+
+ /**
+ * Update the entire content of the BackendService resource. This method
+ * supports patch semantics. (backendServices.patch)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $backendService Name of the BackendService resource to update.
+ * @param Postman_Google_BackendService $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function patch($project, $backendService, Postman_Google_Service_Compute_BackendService $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Update the entire content of the BackendService resource.
+ * (backendServices.update)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $backendService Name of the BackendService resource to update.
+ * @param Postman_Google_BackendService $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function update($project, $backendService, Postman_Google_Service_Compute_BackendService $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+}
+
+/**
+ * The "diskTypes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $diskTypes = $computeService->diskTypes;
+ * </code>
+ */
+class Postman_Google_Service_Compute_DiskTypes_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves the list of disk type resources grouped by scope.
+ * (diskTypes.aggregatedList)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_DiskTypeAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Postman_Google_Service_Compute_DiskTypeAggregatedList");
+ }
+
+ /**
+ * Returns the specified disk type resource. (diskTypes.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $diskType Name of the disk type resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_DiskType
+ */
+ public function get($project, $zone, $diskType, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'diskType' => $diskType);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_DiskType");
+ }
+
+ /**
+ * Retrieves the list of disk type resources available to the specified project.
+ * (diskTypes.listDiskTypes)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_DiskTypeList
+ */
+ public function listDiskTypes($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_DiskTypeList");
+ }
+}
+
+/**
+ * The "disks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $disks = $computeService->disks;
+ * </code>
+ */
+class Postman_Google_Service_Compute_Disks_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves the list of disks grouped by scope. (disks.aggregatedList)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_DiskAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Postman_Google_Service_Compute_DiskAggregatedList");
+ }
+
+ /**
+ * (disks.createSnapshot)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $disk Name of the persistent disk resource to snapshot.
+ * @param Postman_Google_Snapshot $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function createSnapshot($project, $zone, $disk, Postman_Google_Service_Compute_Snapshot $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('createSnapshot', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Deletes the specified persistent disk resource. (disks.delete)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $disk Name of the persistent disk resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function delete($project, $zone, $disk, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Returns the specified persistent disk resource. (disks.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $disk Name of the persistent disk resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Disk
+ */
+ public function get($project, $zone, $disk, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'disk' => $disk);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_Disk");
+ }
+
+ /**
+ * Creates a persistent disk resource in the specified project using the data
+ * included in the request. (disks.insert)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param Postman_Google_Disk $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string sourceImage Optional. Source image to restore onto a disk.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function insert($project, $zone, Postman_Google_Service_Compute_Disk $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of persistent disk resources contained within the
+ * specified zone. (disks.listDisks)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_DiskList
+ */
+ public function listDisks($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_DiskList");
+ }
+}
+
+/**
+ * The "firewalls" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $firewalls = $computeService->firewalls;
+ * </code>
+ */
+class Postman_Google_Service_Compute_Firewalls_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified firewall resource. (firewalls.delete)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $firewall Name of the firewall resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function delete($project, $firewall, $optParams = array())
+ {
+ $params = array('project' => $project, 'firewall' => $firewall);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Returns the specified firewall resource. (firewalls.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $firewall Name of the firewall resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Firewall
+ */
+ public function get($project, $firewall, $optParams = array())
+ {
+ $params = array('project' => $project, 'firewall' => $firewall);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_Firewall");
+ }
+
+ /**
+ * Creates a firewall resource in the specified project using the data included
+ * in the request. (firewalls.insert)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param Postman_Google_Firewall $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function insert($project, Postman_Google_Service_Compute_Firewall $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of firewall resources available to the specified project.
+ * (firewalls.listFirewalls)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_FirewallList
+ */
+ public function listFirewalls($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_FirewallList");
+ }
+
+ /**
+ * Updates the specified firewall resource with the data included in the
+ * request. This method supports patch semantics. (firewalls.patch)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $firewall Name of the firewall resource to update.
+ * @param Postman_Google_Firewall $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function patch($project, $firewall, Postman_Google_Service_Compute_Firewall $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'firewall' => $firewall, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Updates the specified firewall resource with the data included in the
+ * request. (firewalls.update)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $firewall Name of the firewall resource to update.
+ * @param Postman_Google_Firewall $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function update($project, $firewall, Postman_Google_Service_Compute_Firewall $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'firewall' => $firewall, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+}
+
+/**
+ * The "forwardingRules" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $forwardingRules = $computeService->forwardingRules;
+ * </code>
+ */
+class Postman_Google_Service_Compute_ForwardingRules_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves the list of forwarding rules grouped by scope.
+ * (forwardingRules.aggregatedList)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_ForwardingRuleAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Postman_Google_Service_Compute_ForwardingRuleAggregatedList");
+ }
+
+ /**
+ * Deletes the specified ForwardingRule resource. (forwardingRules.delete)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $forwardingRule Name of the ForwardingRule resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function delete($project, $region, $forwardingRule, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'forwardingRule' => $forwardingRule);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Returns the specified ForwardingRule resource. (forwardingRules.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $forwardingRule Name of the ForwardingRule resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_ForwardingRule
+ */
+ public function get($project, $region, $forwardingRule, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'forwardingRule' => $forwardingRule);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_ForwardingRule");
+ }
+
+ /**
+ * Creates a ForwardingRule resource in the specified project and region using
+ * the data included in the request. (forwardingRules.insert)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $region Name of the region scoping this request.
+ * @param Postman_Google_ForwardingRule $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function insert($project, $region, Postman_Google_Service_Compute_ForwardingRule $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of ForwardingRule resources available to the specified
+ * project and region. (forwardingRules.listForwardingRules)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $region Name of the region scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_ForwardingRuleList
+ */
+ public function listForwardingRules($project, $region, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_ForwardingRuleList");
+ }
+
+ /**
+ * Changes target url for forwarding rule. (forwardingRules.setTarget)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $forwardingRule Name of the ForwardingRule resource in which
+ * target is to be set.
+ * @param Postman_Google_TargetReference $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function setTarget($project, $region, $forwardingRule, Postman_Google_Service_Compute_TargetReference $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'forwardingRule' => $forwardingRule, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setTarget', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+}
+
+/**
+ * The "globalAddresses" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $globalAddresses = $computeService->globalAddresses;
+ * </code>
+ */
+class Postman_Google_Service_Compute_GlobalAddresses_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified address resource. (globalAddresses.delete)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $address Name of the address resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function delete($project, $address, $optParams = array())
+ {
+ $params = array('project' => $project, 'address' => $address);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Returns the specified address resource. (globalAddresses.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $address Name of the address resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Address
+ */
+ public function get($project, $address, $optParams = array())
+ {
+ $params = array('project' => $project, 'address' => $address);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_Address");
+ }
+
+ /**
+ * Creates an address resource in the specified project using the data included
+ * in the request. (globalAddresses.insert)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param Postman_Google_Address $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function insert($project, Postman_Google_Service_Compute_Address $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of global address resources.
+ * (globalAddresses.listGlobalAddresses)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_AddressList
+ */
+ public function listGlobalAddresses($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_AddressList");
+ }
+}
+
+/**
+ * The "globalForwardingRules" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $globalForwardingRules = $computeService->globalForwardingRules;
+ * </code>
+ */
+class Postman_Google_Service_Compute_GlobalForwardingRules_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified ForwardingRule resource. (globalForwardingRules.delete)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $forwardingRule Name of the ForwardingRule resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function delete($project, $forwardingRule, $optParams = array())
+ {
+ $params = array('project' => $project, 'forwardingRule' => $forwardingRule);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Returns the specified ForwardingRule resource. (globalForwardingRules.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $forwardingRule Name of the ForwardingRule resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_ForwardingRule
+ */
+ public function get($project, $forwardingRule, $optParams = array())
+ {
+ $params = array('project' => $project, 'forwardingRule' => $forwardingRule);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_ForwardingRule");
+ }
+
+ /**
+ * Creates a ForwardingRule resource in the specified project and region using
+ * the data included in the request. (globalForwardingRules.insert)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param Postman_Google_ForwardingRule $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function insert($project, Postman_Google_Service_Compute_ForwardingRule $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of ForwardingRule resources available to the specified
+ * project. (globalForwardingRules.listGlobalForwardingRules)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_ForwardingRuleList
+ */
+ public function listGlobalForwardingRules($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_ForwardingRuleList");
+ }
+
+ /**
+ * Changes target url for forwarding rule. (globalForwardingRules.setTarget)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $forwardingRule Name of the ForwardingRule resource in which
+ * target is to be set.
+ * @param Postman_Google_TargetReference $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function setTarget($project, $forwardingRule, Postman_Google_Service_Compute_TargetReference $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'forwardingRule' => $forwardingRule, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setTarget', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+}
+
+/**
+ * The "globalOperations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $globalOperations = $computeService->globalOperations;
+ * </code>
+ */
+class Postman_Google_Service_Compute_GlobalOperations_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves the list of all operations grouped by scope.
+ * (globalOperations.aggregatedList)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_OperationAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Postman_Google_Service_Compute_OperationAggregatedList");
+ }
+
+ /**
+ * Deletes the specified operation resource. (globalOperations.delete)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $operation Name of the operation resource to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($project, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves the specified operation resource. (globalOperations.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $operation Name of the operation resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function get($project, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of operation resources contained within the specified
+ * project. (globalOperations.listGlobalOperations)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_OperationList
+ */
+ public function listGlobalOperations($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_OperationList");
+ }
+}
+
+/**
+ * The "httpHealthChecks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $httpHealthChecks = $computeService->httpHealthChecks;
+ * </code>
+ */
+class Postman_Google_Service_Compute_HttpHealthChecks_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified HttpHealthCheck resource. (httpHealthChecks.delete)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $httpHealthCheck Name of the HttpHealthCheck resource to
+ * delete.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function delete($project, $httpHealthCheck, $optParams = array())
+ {
+ $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Returns the specified HttpHealthCheck resource. (httpHealthChecks.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $httpHealthCheck Name of the HttpHealthCheck resource to
+ * return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_HttpHealthCheck
+ */
+ public function get($project, $httpHealthCheck, $optParams = array())
+ {
+ $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_HttpHealthCheck");
+ }
+
+ /**
+ * Creates a HttpHealthCheck resource in the specified project using the data
+ * included in the request. (httpHealthChecks.insert)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param Postman_Google_HttpHealthCheck $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function insert($project, Postman_Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of HttpHealthCheck resources available to the specified
+ * project. (httpHealthChecks.listHttpHealthChecks)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_HttpHealthCheckList
+ */
+ public function listHttpHealthChecks($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_HttpHealthCheckList");
+ }
+
+ /**
+ * Updates a HttpHealthCheck resource in the specified project using the data
+ * included in the request. This method supports patch semantics.
+ * (httpHealthChecks.patch)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $httpHealthCheck Name of the HttpHealthCheck resource to
+ * update.
+ * @param Postman_Google_HttpHealthCheck $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function patch($project, $httpHealthCheck, Postman_Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Updates a HttpHealthCheck resource in the specified project using the data
+ * included in the request. (httpHealthChecks.update)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $httpHealthCheck Name of the HttpHealthCheck resource to
+ * update.
+ * @param Postman_Google_HttpHealthCheck $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function update($project, $httpHealthCheck, Postman_Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+}
+
+/**
+ * The "images" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $images = $computeService->images;
+ * </code>
+ */
+class Postman_Google_Service_Compute_Images_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified image resource. (images.delete)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $image Name of the image resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function delete($project, $image, $optParams = array())
+ {
+ $params = array('project' => $project, 'image' => $image);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Sets the deprecation status of an image. If no message body is given, clears
+ * the deprecation status instead. (images.deprecate)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $image Image name.
+ * @param Postman_Google_DeprecationStatus $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function deprecate($project, $image, Postman_Google_Service_Compute_DeprecationStatus $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'image' => $image, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('deprecate', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Returns the specified image resource. (images.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $image Name of the image resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Image
+ */
+ public function get($project, $image, $optParams = array())
+ {
+ $params = array('project' => $project, 'image' => $image);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_Image");
+ }
+
+ /**
+ * Creates an image resource in the specified project using the data included in
+ * the request. (images.insert)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param Postman_Google_Image $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function insert($project, Postman_Google_Service_Compute_Image $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of image resources available to the specified project.
+ * (images.listImages)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_ImageList
+ */
+ public function listImages($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_ImageList");
+ }
+}
+
+/**
+ * The "instanceTemplates" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $instanceTemplates = $computeService->instanceTemplates;
+ * </code>
+ */
+class Postman_Google_Service_Compute_InstanceTemplates_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified instance template resource. (instanceTemplates.delete)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $instanceTemplate Name of the instance template resource to
+ * delete.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function delete($project, $instanceTemplate, $optParams = array())
+ {
+ $params = array('project' => $project, 'instanceTemplate' => $instanceTemplate);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Returns the specified instance template resource. (instanceTemplates.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $instanceTemplate Name of the instance template resource to
+ * return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_InstanceTemplate
+ */
+ public function get($project, $instanceTemplate, $optParams = array())
+ {
+ $params = array('project' => $project, 'instanceTemplate' => $instanceTemplate);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_InstanceTemplate");
+ }
+
+ /**
+ * Creates an instance template resource in the specified project using the data
+ * included in the request. (instanceTemplates.insert)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param Postman_Google_InstanceTemplate $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function insert($project, Postman_Google_Service_Compute_InstanceTemplate $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of instance template resources contained within the
+ * specified project. (instanceTemplates.listInstanceTemplates)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_InstanceTemplateList
+ */
+ public function listInstanceTemplates($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_InstanceTemplateList");
+ }
+}
+
+/**
+ * The "instances" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $instances = $computeService->instances;
+ * </code>
+ */
+class Postman_Google_Service_Compute_Instances_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Adds an access config to an instance's network interface.
+ * (instances.addAccessConfig)
+ *
+ * @param string $project Project name.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $instance Instance name.
+ * @param string $networkInterface Network interface name.
+ * @param Postman_Google_AccessConfig $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function addAccessConfig($project, $zone, $instance, $networkInterface, Postman_Google_Service_Compute_AccessConfig $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'networkInterface' => $networkInterface, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('addAccessConfig', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * (instances.aggregatedList)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_InstanceAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Postman_Google_Service_Compute_InstanceAggregatedList");
+ }
+
+ /**
+ * Attaches a disk resource to an instance. (instances.attachDisk)
+ *
+ * @param string $project Project name.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $instance Instance name.
+ * @param Postman_Google_AttachedDisk $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function attachDisk($project, $zone, $instance, Postman_Google_Service_Compute_AttachedDisk $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('attachDisk', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Deletes the specified instance resource. (instances.delete)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $instance Name of the instance resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function delete($project, $zone, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Deletes an access config from an instance's network interface.
+ * (instances.deleteAccessConfig)
+ *
+ * @param string $project Project name.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $instance Instance name.
+ * @param string $accessConfig Access config name.
+ * @param string $networkInterface Network interface name.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function deleteAccessConfig($project, $zone, $instance, $accessConfig, $networkInterface, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'accessConfig' => $accessConfig, 'networkInterface' => $networkInterface);
+ $params = array_merge($params, $optParams);
+ return $this->call('deleteAccessConfig', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Detaches a disk from an instance. (instances.detachDisk)
+ *
+ * @param string $project Project name.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $instance Instance name.
+ * @param string $deviceName Disk device name to detach.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function detachDisk($project, $zone, $instance, $deviceName, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'deviceName' => $deviceName);
+ $params = array_merge($params, $optParams);
+ return $this->call('detachDisk', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Returns the specified instance resource. (instances.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $instance Name of the instance resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Instance
+ */
+ public function get($project, $zone, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_Instance");
+ }
+
+ /**
+ * Returns the specified instance's serial port output.
+ * (instances.getSerialPortOutput)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $instance Name of the instance scoping this request.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_SerialPortOutput
+ */
+ public function getSerialPortOutput($project, $zone, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('getSerialPortOutput', array($params), "Postman_Google_Service_Compute_SerialPortOutput");
+ }
+
+ /**
+ * Creates an instance resource in the specified project using the data included
+ * in the request. (instances.insert)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param Postman_Google_Instance $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function insert($project, $zone, Postman_Google_Service_Compute_Instance $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of instance resources contained within the specified zone.
+ * (instances.listInstances)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_InstanceList
+ */
+ public function listInstances($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_InstanceList");
+ }
+
+ /**
+ * Performs a hard reset on the instance. (instances.reset)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $instance Name of the instance scoping this request.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function reset($project, $zone, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('reset', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Sets the auto-delete flag for a disk attached to an instance
+ * (instances.setDiskAutoDelete)
+ *
+ * @param string $project Project name.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $instance Instance name.
+ * @param bool $autoDelete Whether to auto-delete the disk when the instance is
+ * deleted.
+ * @param string $deviceName Disk device name to modify.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function setDiskAutoDelete($project, $zone, $instance, $autoDelete, $deviceName, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'autoDelete' => $autoDelete, 'deviceName' => $deviceName);
+ $params = array_merge($params, $optParams);
+ return $this->call('setDiskAutoDelete', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Sets metadata for the specified instance to the data included in the request.
+ * (instances.setMetadata)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $instance Name of the instance scoping this request.
+ * @param Postman_Google_Metadata $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function setMetadata($project, $zone, $instance, Postman_Google_Service_Compute_Metadata $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setMetadata', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Sets an instance's scheduling options. (instances.setScheduling)
+ *
+ * @param string $project Project name.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $instance Instance name.
+ * @param Postman_Google_Scheduling $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function setScheduling($project, $zone, $instance, Postman_Google_Service_Compute_Scheduling $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setScheduling', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Sets tags for the specified instance to the data included in the request.
+ * (instances.setTags)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $instance Name of the instance scoping this request.
+ * @param Postman_Google_Tags $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function setTags($project, $zone, $instance, Postman_Google_Service_Compute_Tags $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setTags', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+}
+
+/**
+ * The "licenses" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $licenses = $computeService->licenses;
+ * </code>
+ */
+class Postman_Google_Service_Compute_Licenses_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns the specified license resource. (licenses.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $license Name of the license resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_License
+ */
+ public function get($project, $license, $optParams = array())
+ {
+ $params = array('project' => $project, 'license' => $license);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_License");
+ }
+}
+
+/**
+ * The "machineTypes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $machineTypes = $computeService->machineTypes;
+ * </code>
+ */
+class Postman_Google_Service_Compute_MachineTypes_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves the list of machine type resources grouped by scope.
+ * (machineTypes.aggregatedList)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_MachineTypeAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Postman_Google_Service_Compute_MachineTypeAggregatedList");
+ }
+
+ /**
+ * Returns the specified machine type resource. (machineTypes.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $machineType Name of the machine type resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_MachineType
+ */
+ public function get($project, $zone, $machineType, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'machineType' => $machineType);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_MachineType");
+ }
+
+ /**
+ * Retrieves the list of machine type resources available to the specified
+ * project. (machineTypes.listMachineTypes)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_MachineTypeList
+ */
+ public function listMachineTypes($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_MachineTypeList");
+ }
+}
+
+/**
+ * The "networks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $networks = $computeService->networks;
+ * </code>
+ */
+class Postman_Google_Service_Compute_Networks_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified network resource. (networks.delete)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $network Name of the network resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function delete($project, $network, $optParams = array())
+ {
+ $params = array('project' => $project, 'network' => $network);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Returns the specified network resource. (networks.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $network Name of the network resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Network
+ */
+ public function get($project, $network, $optParams = array())
+ {
+ $params = array('project' => $project, 'network' => $network);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_Network");
+ }
+
+ /**
+ * Creates a network resource in the specified project using the data included
+ * in the request. (networks.insert)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param Postman_Google_Network $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function insert($project, Postman_Google_Service_Compute_Network $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of network resources available to the specified project.
+ * (networks.listNetworks)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_NetworkList
+ */
+ public function listNetworks($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_NetworkList");
+ }
+}
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $projects = $computeService->projects;
+ * </code>
+ */
+class Postman_Google_Service_Compute_Projects_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns the specified project resource. (projects.get)
+ *
+ * @param string $project Name of the project resource to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Project
+ */
+ public function get($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_Project");
+ }
+
+ /**
+ * Sets metadata common to all instances within the specified project using the
+ * data included in the request. (projects.setCommonInstanceMetadata)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param Postman_Google_Metadata $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function setCommonInstanceMetadata($project, Postman_Google_Service_Compute_Metadata $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setCommonInstanceMetadata', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Sets usage export location (projects.setUsageExportBucket)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param Postman_Google_UsageExportLocation $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function setUsageExportBucket($project, Postman_Google_Service_Compute_UsageExportLocation $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setUsageExportBucket', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+}
+
+/**
+ * The "regionOperations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $regionOperations = $computeService->regionOperations;
+ * </code>
+ */
+class Postman_Google_Service_Compute_RegionOperations_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified region-specific operation resource.
+ * (regionOperations.delete)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $operation Name of the operation resource to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($project, $region, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves the specified region-specific operation resource.
+ * (regionOperations.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $region Name of the zone scoping this request.
+ * @param string $operation Name of the operation resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function get($project, $region, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of operation resources contained within the specified
+ * region. (regionOperations.listRegionOperations)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $region Name of the region scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_OperationList
+ */
+ public function listRegionOperations($project, $region, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_OperationList");
+ }
+}
+
+/**
+ * The "regions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $regions = $computeService->regions;
+ * </code>
+ */
+class Postman_Google_Service_Compute_Regions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns the specified region resource. (regions.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $region Name of the region resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Region
+ */
+ public function get($project, $region, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_Region");
+ }
+
+ /**
+ * Retrieves the list of region resources available to the specified project.
+ * (regions.listRegions)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_RegionList
+ */
+ public function listRegions($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_RegionList");
+ }
+}
+
+/**
+ * The "routes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $routes = $computeService->routes;
+ * </code>
+ */
+class Postman_Google_Service_Compute_Routes_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified route resource. (routes.delete)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $route Name of the route resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function delete($project, $route, $optParams = array())
+ {
+ $params = array('project' => $project, 'route' => $route);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Returns the specified route resource. (routes.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $route Name of the route resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Route
+ */
+ public function get($project, $route, $optParams = array())
+ {
+ $params = array('project' => $project, 'route' => $route);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_Route");
+ }
+
+ /**
+ * Creates a route resource in the specified project using the data included in
+ * the request. (routes.insert)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param Postman_Google_Route $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function insert($project, Postman_Google_Service_Compute_Route $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of route resources available to the specified project.
+ * (routes.listRoutes)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_RouteList
+ */
+ public function listRoutes($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_RouteList");
+ }
+}
+
+/**
+ * The "snapshots" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $snapshots = $computeService->snapshots;
+ * </code>
+ */
+class Postman_Google_Service_Compute_Snapshots_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified persistent disk snapshot resource. (snapshots.delete)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $snapshot Name of the persistent disk snapshot resource to
+ * delete.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function delete($project, $snapshot, $optParams = array())
+ {
+ $params = array('project' => $project, 'snapshot' => $snapshot);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Returns the specified persistent disk snapshot resource. (snapshots.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $snapshot Name of the persistent disk snapshot resource to
+ * return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Snapshot
+ */
+ public function get($project, $snapshot, $optParams = array())
+ {
+ $params = array('project' => $project, 'snapshot' => $snapshot);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_Snapshot");
+ }
+
+ /**
+ * Retrieves the list of persistent disk snapshot resources contained within the
+ * specified project. (snapshots.listSnapshots)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_SnapshotList
+ */
+ public function listSnapshots($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_SnapshotList");
+ }
+}
+
+/**
+ * The "targetHttpProxies" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $targetHttpProxies = $computeService->targetHttpProxies;
+ * </code>
+ */
+class Postman_Google_Service_Compute_TargetHttpProxies_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified TargetHttpProxy resource. (targetHttpProxies.delete)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $targetHttpProxy Name of the TargetHttpProxy resource to
+ * delete.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function delete($project, $targetHttpProxy, $optParams = array())
+ {
+ $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Returns the specified TargetHttpProxy resource. (targetHttpProxies.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $targetHttpProxy Name of the TargetHttpProxy resource to
+ * return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_TargetHttpProxy
+ */
+ public function get($project, $targetHttpProxy, $optParams = array())
+ {
+ $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_TargetHttpProxy");
+ }
+
+ /**
+ * Creates a TargetHttpProxy resource in the specified project using the data
+ * included in the request. (targetHttpProxies.insert)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param Postman_Google_TargetHttpProxy $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function insert($project, Postman_Google_Service_Compute_TargetHttpProxy $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of TargetHttpProxy resources available to the specified
+ * project. (targetHttpProxies.listTargetHttpProxies)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_TargetHttpProxyList
+ */
+ public function listTargetHttpProxies($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_TargetHttpProxyList");
+ }
+
+ /**
+ * Changes the URL map for TargetHttpProxy. (targetHttpProxies.setUrlMap)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $targetHttpProxy Name of the TargetHttpProxy resource whose URL
+ * map is to be set.
+ * @param Postman_Google_UrlMapReference $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function setUrlMap($project, $targetHttpProxy, Postman_Google_Service_Compute_UrlMapReference $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setUrlMap', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+}
+
+/**
+ * The "targetInstances" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $targetInstances = $computeService->targetInstances;
+ * </code>
+ */
+class Postman_Google_Service_Compute_TargetInstances_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves the list of target instances grouped by scope.
+ * (targetInstances.aggregatedList)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_TargetInstanceAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Postman_Google_Service_Compute_TargetInstanceAggregatedList");
+ }
+
+ /**
+ * Deletes the specified TargetInstance resource. (targetInstances.delete)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $targetInstance Name of the TargetInstance resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function delete($project, $zone, $targetInstance, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'targetInstance' => $targetInstance);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Returns the specified TargetInstance resource. (targetInstances.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $targetInstance Name of the TargetInstance resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_TargetInstance
+ */
+ public function get($project, $zone, $targetInstance, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'targetInstance' => $targetInstance);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_TargetInstance");
+ }
+
+ /**
+ * Creates a TargetInstance resource in the specified project and zone using the
+ * data included in the request. (targetInstances.insert)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param Postman_Google_TargetInstance $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function insert($project, $zone, Postman_Google_Service_Compute_TargetInstance $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of TargetInstance resources available to the specified
+ * project and zone. (targetInstances.listTargetInstances)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_TargetInstanceList
+ */
+ public function listTargetInstances($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_TargetInstanceList");
+ }
+}
+
+/**
+ * The "targetPools" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $targetPools = $computeService->targetPools;
+ * </code>
+ */
+class Postman_Google_Service_Compute_TargetPools_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Adds health check URL to targetPool. (targetPools.addHealthCheck)
+ *
+ * @param string $project
+ * @param string $region Name of the region scoping this request.
+ * @param string $targetPool Name of the TargetPool resource to which
+ * health_check_url is to be added.
+ * @param Postman_Google_TargetPoolsAddHealthCheckRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function addHealthCheck($project, $region, $targetPool, Postman_Google_Service_Compute_TargetPoolsAddHealthCheckRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('addHealthCheck', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Adds instance url to targetPool. (targetPools.addInstance)
+ *
+ * @param string $project
+ * @param string $region Name of the region scoping this request.
+ * @param string $targetPool Name of the TargetPool resource to which
+ * instance_url is to be added.
+ * @param Postman_Google_TargetPoolsAddInstanceRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function addInstance($project, $region, $targetPool, Postman_Google_Service_Compute_TargetPoolsAddInstanceRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('addInstance', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of target pools grouped by scope.
+ * (targetPools.aggregatedList)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_TargetPoolAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Postman_Google_Service_Compute_TargetPoolAggregatedList");
+ }
+
+ /**
+ * Deletes the specified TargetPool resource. (targetPools.delete)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $targetPool Name of the TargetPool resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function delete($project, $region, $targetPool, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Returns the specified TargetPool resource. (targetPools.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $targetPool Name of the TargetPool resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_TargetPool
+ */
+ public function get($project, $region, $targetPool, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_TargetPool");
+ }
+
+ /**
+ * Gets the most recent health check results for each IP for the given instance
+ * that is referenced by given TargetPool. (targetPools.getHealth)
+ *
+ * @param string $project
+ * @param string $region Name of the region scoping this request.
+ * @param string $targetPool Name of the TargetPool resource to which the
+ * queried instance belongs.
+ * @param Postman_Google_InstanceReference $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_TargetPoolInstanceHealth
+ */
+ public function getHealth($project, $region, $targetPool, Postman_Google_Service_Compute_InstanceReference $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getHealth', array($params), "Postman_Google_Service_Compute_TargetPoolInstanceHealth");
+ }
+
+ /**
+ * Creates a TargetPool resource in the specified project and region using the
+ * data included in the request. (targetPools.insert)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $region Name of the region scoping this request.
+ * @param Postman_Google_TargetPool $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function insert($project, $region, Postman_Google_Service_Compute_TargetPool $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of TargetPool resources available to the specified project
+ * and region. (targetPools.listTargetPools)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $region Name of the region scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_TargetPoolList
+ */
+ public function listTargetPools($project, $region, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_TargetPoolList");
+ }
+
+ /**
+ * Removes health check URL from targetPool. (targetPools.removeHealthCheck)
+ *
+ * @param string $project
+ * @param string $region Name of the region scoping this request.
+ * @param string $targetPool Name of the TargetPool resource to which
+ * health_check_url is to be removed.
+ * @param Postman_Google_TargetPoolsRemoveHealthCheckRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function removeHealthCheck($project, $region, $targetPool, Postman_Google_Service_Compute_TargetPoolsRemoveHealthCheckRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('removeHealthCheck', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Removes instance URL from targetPool. (targetPools.removeInstance)
+ *
+ * @param string $project
+ * @param string $region Name of the region scoping this request.
+ * @param string $targetPool Name of the TargetPool resource to which
+ * instance_url is to be removed.
+ * @param Postman_Google_TargetPoolsRemoveInstanceRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function removeInstance($project, $region, $targetPool, Postman_Google_Service_Compute_TargetPoolsRemoveInstanceRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('removeInstance', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Changes backup pool configurations. (targetPools.setBackup)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $region Name of the region scoping this request.
+ * @param string $targetPool Name of the TargetPool resource for which the
+ * backup is to be set.
+ * @param Postman_Google_TargetReference $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param float failoverRatio New failoverRatio value for the containing
+ * target pool.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function setBackup($project, $region, $targetPool, Postman_Google_Service_Compute_TargetReference $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'targetPool' => $targetPool, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setBackup', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+}
+
+/**
+ * The "urlMaps" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $urlMaps = $computeService->urlMaps;
+ * </code>
+ */
+class Postman_Google_Service_Compute_UrlMaps_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified UrlMap resource. (urlMaps.delete)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $urlMap Name of the UrlMap resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function delete($project, $urlMap, $optParams = array())
+ {
+ $params = array('project' => $project, 'urlMap' => $urlMap);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Returns the specified UrlMap resource. (urlMaps.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $urlMap Name of the UrlMap resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_UrlMap
+ */
+ public function get($project, $urlMap, $optParams = array())
+ {
+ $params = array('project' => $project, 'urlMap' => $urlMap);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_UrlMap");
+ }
+
+ /**
+ * Creates a UrlMap resource in the specified project using the data included in
+ * the request. (urlMaps.insert)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param Postman_Google_UrlMap $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function insert($project, Postman_Google_Service_Compute_UrlMap $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of UrlMap resources available to the specified project.
+ * (urlMaps.listUrlMaps)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_UrlMapList
+ */
+ public function listUrlMaps($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_UrlMapList");
+ }
+
+ /**
+ * Update the entire content of the UrlMap resource. This method supports patch
+ * semantics. (urlMaps.patch)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $urlMap Name of the UrlMap resource to update.
+ * @param Postman_Google_UrlMap $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function patch($project, $urlMap, Postman_Google_Service_Compute_UrlMap $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Update the entire content of the UrlMap resource. (urlMaps.update)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $urlMap Name of the UrlMap resource to update.
+ * @param Postman_Google_UrlMap $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function update($project, $urlMap, Postman_Google_Service_Compute_UrlMap $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Run static validation for the UrlMap. In particular, the tests of the
+ * provided UrlMap will be run. Calling this method does NOT create the UrlMap.
+ * (urlMaps.validate)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $urlMap Name of the UrlMap resource to be validated as.
+ * @param Postman_Google_UrlMapsValidateRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_UrlMapsValidateResponse
+ */
+ public function validate($project, $urlMap, Postman_Google_Service_Compute_UrlMapsValidateRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('validate', array($params), "Postman_Google_Service_Compute_UrlMapsValidateResponse");
+ }
+}
+
+/**
+ * The "zoneOperations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $zoneOperations = $computeService->zoneOperations;
+ * </code>
+ */
+class Postman_Google_Service_Compute_ZoneOperations_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified zone-specific operation resource.
+ * (zoneOperations.delete)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $operation Name of the operation resource to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($project, $zone, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves the specified zone-specific operation resource.
+ * (zoneOperations.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $operation Name of the operation resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Operation
+ */
+ public function get($project, $zone, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of operation resources contained within the specified
+ * zone. (zoneOperations.listZoneOperations)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_OperationList
+ */
+ public function listZoneOperations($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_OperationList");
+ }
+}
+
+/**
+ * The "zones" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $computeService = new Postman_Google_Service_Compute(...);
+ * $zones = $computeService->zones;
+ * </code>
+ */
+class Postman_Google_Service_Compute_Zones_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns the specified zone resource. (zones.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Compute_Zone
+ */
+ public function get($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Compute_Zone");
+ }
+
+ /**
+ * Retrieves the list of zone resources available to the specified project.
+ * (zones.listZones)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Compute_ZoneList
+ */
+ public function listZones($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Compute_ZoneList");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Compute_AccessConfig extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $name;
+ public $natIP;
+ public $type;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNatIP($natIP)
+ {
+ $this->natIP = $natIP;
+ }
+ public function getNatIP()
+ {
+ return $this->natIP;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Compute_Address extends Postman_Google_Collection
+{
+ protected $collection_key = 'users';
+ protected $internal_gapi_mappings = array(
+ );
+ public $address;
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ public $region;
+ public $selfLink;
+ public $status;
+ public $users;
+
+
+ public function setAddress($address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setUsers($users)
+ {
+ $this->users = $users;
+ }
+ public function getUsers()
+ {
+ return $this->users;
+ }
+}
+
+class Postman_Google_Service_Compute_AddressAggregatedList extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_AddressesScopedList';
+ protected $itemsDataType = 'map';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_AddressAggregatedListItems extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Compute_AddressList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_Address';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_AddressesScopedList extends Postman_Google_Collection
+{
+ protected $collection_key = 'addresses';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $addressesType = 'Postman_Google_Service_Compute_Address';
+ protected $addressesDataType = 'array';
+ protected $warningType = 'Postman_Google_Service_Compute_AddressesScopedListWarning';
+ protected $warningDataType = '';
+
+
+ public function setAddresses($addresses)
+ {
+ $this->addresses = $addresses;
+ }
+ public function getAddresses()
+ {
+ return $this->addresses;
+ }
+ public function setWarning(Postman_Google_Service_Compute_AddressesScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
+
+class Postman_Google_Service_Compute_AddressesScopedListWarning extends Postman_Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $dataType = 'Postman_Google_Service_Compute_AddressesScopedListWarningData';
+ protected $dataDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Postman_Google_Service_Compute_AddressesScopedListWarningData extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Compute_AttachedDisk extends Postman_Google_Collection
+{
+ protected $collection_key = 'licenses';
+ protected $internal_gapi_mappings = array(
+ );
+ public $autoDelete;
+ public $boot;
+ public $deviceName;
+ public $index;
+ protected $initializeParamsType = 'Postman_Google_Service_Compute_AttachedDiskInitializeParams';
+ protected $initializeParamsDataType = '';
+ public $interface;
+ public $kind;
+ public $licenses;
+ public $mode;
+ public $source;
+ public $type;
+
+
+ public function setAutoDelete($autoDelete)
+ {
+ $this->autoDelete = $autoDelete;
+ }
+ public function getAutoDelete()
+ {
+ return $this->autoDelete;
+ }
+ public function setBoot($boot)
+ {
+ $this->boot = $boot;
+ }
+ public function getBoot()
+ {
+ return $this->boot;
+ }
+ public function setDeviceName($deviceName)
+ {
+ $this->deviceName = $deviceName;
+ }
+ public function getDeviceName()
+ {
+ return $this->deviceName;
+ }
+ public function setIndex($index)
+ {
+ $this->index = $index;
+ }
+ public function getIndex()
+ {
+ return $this->index;
+ }
+ public function setInitializeParams(Postman_Google_Service_Compute_AttachedDiskInitializeParams $initializeParams)
+ {
+ $this->initializeParams = $initializeParams;
+ }
+ public function getInitializeParams()
+ {
+ return $this->initializeParams;
+ }
+ public function setInterface($interface)
+ {
+ $this->interface = $interface;
+ }
+ public function getInterface()
+ {
+ return $this->interface;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLicenses($licenses)
+ {
+ $this->licenses = $licenses;
+ }
+ public function getLicenses()
+ {
+ return $this->licenses;
+ }
+ public function setMode($mode)
+ {
+ $this->mode = $mode;
+ }
+ public function getMode()
+ {
+ return $this->mode;
+ }
+ public function setSource($source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Compute_AttachedDiskInitializeParams extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $diskName;
+ public $diskSizeGb;
+ public $diskType;
+ public $sourceImage;
+
+
+ public function setDiskName($diskName)
+ {
+ $this->diskName = $diskName;
+ }
+ public function getDiskName()
+ {
+ return $this->diskName;
+ }
+ public function setDiskSizeGb($diskSizeGb)
+ {
+ $this->diskSizeGb = $diskSizeGb;
+ }
+ public function getDiskSizeGb()
+ {
+ return $this->diskSizeGb;
+ }
+ public function setDiskType($diskType)
+ {
+ $this->diskType = $diskType;
+ }
+ public function getDiskType()
+ {
+ return $this->diskType;
+ }
+ public function setSourceImage($sourceImage)
+ {
+ $this->sourceImage = $sourceImage;
+ }
+ public function getSourceImage()
+ {
+ return $this->sourceImage;
+ }
+}
+
+class Postman_Google_Service_Compute_Backend extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $balancingMode;
+ public $capacityScaler;
+ public $description;
+ public $group;
+ public $maxRate;
+ public $maxRatePerInstance;
+ public $maxUtilization;
+
+
+ public function setBalancingMode($balancingMode)
+ {
+ $this->balancingMode = $balancingMode;
+ }
+ public function getBalancingMode()
+ {
+ return $this->balancingMode;
+ }
+ public function setCapacityScaler($capacityScaler)
+ {
+ $this->capacityScaler = $capacityScaler;
+ }
+ public function getCapacityScaler()
+ {
+ return $this->capacityScaler;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setGroup($group)
+ {
+ $this->group = $group;
+ }
+ public function getGroup()
+ {
+ return $this->group;
+ }
+ public function setMaxRate($maxRate)
+ {
+ $this->maxRate = $maxRate;
+ }
+ public function getMaxRate()
+ {
+ return $this->maxRate;
+ }
+ public function setMaxRatePerInstance($maxRatePerInstance)
+ {
+ $this->maxRatePerInstance = $maxRatePerInstance;
+ }
+ public function getMaxRatePerInstance()
+ {
+ return $this->maxRatePerInstance;
+ }
+ public function setMaxUtilization($maxUtilization)
+ {
+ $this->maxUtilization = $maxUtilization;
+ }
+ public function getMaxUtilization()
+ {
+ return $this->maxUtilization;
+ }
+}
+
+class Postman_Google_Service_Compute_BackendService extends Postman_Google_Collection
+{
+ protected $collection_key = 'healthChecks';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $backendsType = 'Postman_Google_Service_Compute_Backend';
+ protected $backendsDataType = 'array';
+ public $creationTimestamp;
+ public $description;
+ public $fingerprint;
+ public $healthChecks;
+ public $id;
+ public $kind;
+ public $name;
+ public $port;
+ public $portName;
+ public $protocol;
+ public $selfLink;
+ public $timeoutSec;
+
+
+ public function setBackends($backends)
+ {
+ $this->backends = $backends;
+ }
+ public function getBackends()
+ {
+ return $this->backends;
+ }
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setHealthChecks($healthChecks)
+ {
+ $this->healthChecks = $healthChecks;
+ }
+ public function getHealthChecks()
+ {
+ return $this->healthChecks;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPort($port)
+ {
+ $this->port = $port;
+ }
+ public function getPort()
+ {
+ return $this->port;
+ }
+ public function setPortName($portName)
+ {
+ $this->portName = $portName;
+ }
+ public function getPortName()
+ {
+ return $this->portName;
+ }
+ public function setProtocol($protocol)
+ {
+ $this->protocol = $protocol;
+ }
+ public function getProtocol()
+ {
+ return $this->protocol;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTimeoutSec($timeoutSec)
+ {
+ $this->timeoutSec = $timeoutSec;
+ }
+ public function getTimeoutSec()
+ {
+ return $this->timeoutSec;
+ }
+}
+
+class Postman_Google_Service_Compute_BackendServiceGroupHealth extends Postman_Google_Collection
+{
+ protected $collection_key = 'healthStatus';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $healthStatusType = 'Postman_Google_Service_Compute_HealthStatus';
+ protected $healthStatusDataType = 'array';
+ public $kind;
+
+
+ public function setHealthStatus($healthStatus)
+ {
+ $this->healthStatus = $healthStatus;
+ }
+ public function getHealthStatus()
+ {
+ return $this->healthStatus;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Compute_BackendServiceList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_BackendService';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_DeprecationStatus extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $deleted;
+ public $deprecated;
+ public $obsolete;
+ public $replacement;
+ public $state;
+
+
+ public function setDeleted($deleted)
+ {
+ $this->deleted = $deleted;
+ }
+ public function getDeleted()
+ {
+ return $this->deleted;
+ }
+ public function setDeprecated($deprecated)
+ {
+ $this->deprecated = $deprecated;
+ }
+ public function getDeprecated()
+ {
+ return $this->deprecated;
+ }
+ public function setObsolete($obsolete)
+ {
+ $this->obsolete = $obsolete;
+ }
+ public function getObsolete()
+ {
+ return $this->obsolete;
+ }
+ public function setReplacement($replacement)
+ {
+ $this->replacement = $replacement;
+ }
+ public function getReplacement()
+ {
+ return $this->replacement;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+}
+
+class Postman_Google_Service_Compute_Disk extends Postman_Google_Collection
+{
+ protected $collection_key = 'licenses';
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $licenses;
+ public $name;
+ public $options;
+ public $selfLink;
+ public $sizeGb;
+ public $sourceImage;
+ public $sourceImageId;
+ public $sourceSnapshot;
+ public $sourceSnapshotId;
+ public $status;
+ public $type;
+ public $zone;
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLicenses($licenses)
+ {
+ $this->licenses = $licenses;
+ }
+ public function getLicenses()
+ {
+ return $this->licenses;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOptions($options)
+ {
+ $this->options = $options;
+ }
+ public function getOptions()
+ {
+ return $this->options;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setSizeGb($sizeGb)
+ {
+ $this->sizeGb = $sizeGb;
+ }
+ public function getSizeGb()
+ {
+ return $this->sizeGb;
+ }
+ public function setSourceImage($sourceImage)
+ {
+ $this->sourceImage = $sourceImage;
+ }
+ public function getSourceImage()
+ {
+ return $this->sourceImage;
+ }
+ public function setSourceImageId($sourceImageId)
+ {
+ $this->sourceImageId = $sourceImageId;
+ }
+ public function getSourceImageId()
+ {
+ return $this->sourceImageId;
+ }
+ public function setSourceSnapshot($sourceSnapshot)
+ {
+ $this->sourceSnapshot = $sourceSnapshot;
+ }
+ public function getSourceSnapshot()
+ {
+ return $this->sourceSnapshot;
+ }
+ public function setSourceSnapshotId($sourceSnapshotId)
+ {
+ $this->sourceSnapshotId = $sourceSnapshotId;
+ }
+ public function getSourceSnapshotId()
+ {
+ return $this->sourceSnapshotId;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Postman_Google_Service_Compute_DiskAggregatedList extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_DisksScopedList';
+ protected $itemsDataType = 'map';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_DiskAggregatedListItems extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Compute_DiskList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_Disk';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_DiskType extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ public $defaultDiskSizeGb;
+ protected $deprecatedType = 'Postman_Google_Service_Compute_DeprecationStatus';
+ protected $deprecatedDataType = '';
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ public $selfLink;
+ public $validDiskSize;
+ public $zone;
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDefaultDiskSizeGb($defaultDiskSizeGb)
+ {
+ $this->defaultDiskSizeGb = $defaultDiskSizeGb;
+ }
+ public function getDefaultDiskSizeGb()
+ {
+ return $this->defaultDiskSizeGb;
+ }
+ public function setDeprecated(Postman_Google_Service_Compute_DeprecationStatus $deprecated)
+ {
+ $this->deprecated = $deprecated;
+ }
+ public function getDeprecated()
+ {
+ return $this->deprecated;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setValidDiskSize($validDiskSize)
+ {
+ $this->validDiskSize = $validDiskSize;
+ }
+ public function getValidDiskSize()
+ {
+ return $this->validDiskSize;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Postman_Google_Service_Compute_DiskTypeAggregatedList extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_DiskTypesScopedList';
+ protected $itemsDataType = 'map';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_DiskTypeAggregatedListItems extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Compute_DiskTypeList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_DiskType';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_DiskTypesScopedList extends Postman_Google_Collection
+{
+ protected $collection_key = 'diskTypes';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $diskTypesType = 'Postman_Google_Service_Compute_DiskType';
+ protected $diskTypesDataType = 'array';
+ protected $warningType = 'Postman_Google_Service_Compute_DiskTypesScopedListWarning';
+ protected $warningDataType = '';
+
+
+ public function setDiskTypes($diskTypes)
+ {
+ $this->diskTypes = $diskTypes;
+ }
+ public function getDiskTypes()
+ {
+ return $this->diskTypes;
+ }
+ public function setWarning(Postman_Google_Service_Compute_DiskTypesScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
+
+class Postman_Google_Service_Compute_DiskTypesScopedListWarning extends Postman_Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $dataType = 'Postman_Google_Service_Compute_DiskTypesScopedListWarningData';
+ protected $dataDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Postman_Google_Service_Compute_DiskTypesScopedListWarningData extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Compute_DisksScopedList extends Postman_Google_Collection
+{
+ protected $collection_key = 'disks';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $disksType = 'Postman_Google_Service_Compute_Disk';
+ protected $disksDataType = 'array';
+ protected $warningType = 'Postman_Google_Service_Compute_DisksScopedListWarning';
+ protected $warningDataType = '';
+
+
+ public function setDisks($disks)
+ {
+ $this->disks = $disks;
+ }
+ public function getDisks()
+ {
+ return $this->disks;
+ }
+ public function setWarning(Postman_Google_Service_Compute_DisksScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
+
+class Postman_Google_Service_Compute_DisksScopedListWarning extends Postman_Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $dataType = 'Postman_Google_Service_Compute_DisksScopedListWarningData';
+ protected $dataDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Postman_Google_Service_Compute_DisksScopedListWarningData extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Compute_Firewall extends Postman_Google_Collection
+{
+ protected $collection_key = 'targetTags';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $allowedType = 'Postman_Google_Service_Compute_FirewallAllowed';
+ protected $allowedDataType = 'array';
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ public $network;
+ public $selfLink;
+ public $sourceRanges;
+ public $sourceTags;
+ public $targetTags;
+
+
+ public function setAllowed($allowed)
+ {
+ $this->allowed = $allowed;
+ }
+ public function getAllowed()
+ {
+ return $this->allowed;
+ }
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNetwork($network)
+ {
+ $this->network = $network;
+ }
+ public function getNetwork()
+ {
+ return $this->network;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setSourceRanges($sourceRanges)
+ {
+ $this->sourceRanges = $sourceRanges;
+ }
+ public function getSourceRanges()
+ {
+ return $this->sourceRanges;
+ }
+ public function setSourceTags($sourceTags)
+ {
+ $this->sourceTags = $sourceTags;
+ }
+ public function getSourceTags()
+ {
+ return $this->sourceTags;
+ }
+ public function setTargetTags($targetTags)
+ {
+ $this->targetTags = $targetTags;
+ }
+ public function getTargetTags()
+ {
+ return $this->targetTags;
+ }
+}
+
+class Postman_Google_Service_Compute_FirewallAllowed extends Postman_Google_Collection
+{
+ protected $collection_key = 'ports';
+ protected $internal_gapi_mappings = array(
+ "iPProtocol" => "IPProtocol",
+ );
+ public $iPProtocol;
+ public $ports;
+
+
+ public function setIPProtocol($iPProtocol)
+ {
+ $this->iPProtocol = $iPProtocol;
+ }
+ public function getIPProtocol()
+ {
+ return $this->iPProtocol;
+ }
+ public function setPorts($ports)
+ {
+ $this->ports = $ports;
+ }
+ public function getPorts()
+ {
+ return $this->ports;
+ }
+}
+
+class Postman_Google_Service_Compute_FirewallList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_Firewall';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_ForwardingRule extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "iPAddress" => "IPAddress",
+ "iPProtocol" => "IPProtocol",
+ );
+ public $iPAddress;
+ public $iPProtocol;
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ public $portRange;
+ public $region;
+ public $selfLink;
+ public $target;
+
+
+ public function setIPAddress($iPAddress)
+ {
+ $this->iPAddress = $iPAddress;
+ }
+ public function getIPAddress()
+ {
+ return $this->iPAddress;
+ }
+ public function setIPProtocol($iPProtocol)
+ {
+ $this->iPProtocol = $iPProtocol;
+ }
+ public function getIPProtocol()
+ {
+ return $this->iPProtocol;
+ }
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPortRange($portRange)
+ {
+ $this->portRange = $portRange;
+ }
+ public function getPortRange()
+ {
+ return $this->portRange;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTarget($target)
+ {
+ $this->target = $target;
+ }
+ public function getTarget()
+ {
+ return $this->target;
+ }
+}
+
+class Postman_Google_Service_Compute_ForwardingRuleAggregatedList extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_ForwardingRulesScopedList';
+ protected $itemsDataType = 'map';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_ForwardingRuleAggregatedListItems extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Compute_ForwardingRuleList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_ForwardingRule';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_ForwardingRulesScopedList extends Postman_Google_Collection
+{
+ protected $collection_key = 'forwardingRules';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $forwardingRulesType = 'Postman_Google_Service_Compute_ForwardingRule';
+ protected $forwardingRulesDataType = 'array';
+ protected $warningType = 'Postman_Google_Service_Compute_ForwardingRulesScopedListWarning';
+ protected $warningDataType = '';
+
+
+ public function setForwardingRules($forwardingRules)
+ {
+ $this->forwardingRules = $forwardingRules;
+ }
+ public function getForwardingRules()
+ {
+ return $this->forwardingRules;
+ }
+ public function setWarning(Postman_Google_Service_Compute_ForwardingRulesScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
+
+class Postman_Google_Service_Compute_ForwardingRulesScopedListWarning extends Postman_Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $dataType = 'Postman_Google_Service_Compute_ForwardingRulesScopedListWarningData';
+ protected $dataDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Postman_Google_Service_Compute_ForwardingRulesScopedListWarningData extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Compute_HealthCheckReference extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $healthCheck;
+
+
+ public function setHealthCheck($healthCheck)
+ {
+ $this->healthCheck = $healthCheck;
+ }
+ public function getHealthCheck()
+ {
+ return $this->healthCheck;
+ }
+}
+
+class Postman_Google_Service_Compute_HealthStatus extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $healthState;
+ public $instance;
+ public $ipAddress;
+ public $port;
+
+
+ public function setHealthState($healthState)
+ {
+ $this->healthState = $healthState;
+ }
+ public function getHealthState()
+ {
+ return $this->healthState;
+ }
+ public function setInstance($instance)
+ {
+ $this->instance = $instance;
+ }
+ public function getInstance()
+ {
+ return $this->instance;
+ }
+ public function setIpAddress($ipAddress)
+ {
+ $this->ipAddress = $ipAddress;
+ }
+ public function getIpAddress()
+ {
+ return $this->ipAddress;
+ }
+ public function setPort($port)
+ {
+ $this->port = $port;
+ }
+ public function getPort()
+ {
+ return $this->port;
+ }
+}
+
+class Postman_Google_Service_Compute_HostRule extends Postman_Google_Collection
+{
+ protected $collection_key = 'hosts';
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ public $hosts;
+ public $pathMatcher;
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setHosts($hosts)
+ {
+ $this->hosts = $hosts;
+ }
+ public function getHosts()
+ {
+ return $this->hosts;
+ }
+ public function setPathMatcher($pathMatcher)
+ {
+ $this->pathMatcher = $pathMatcher;
+ }
+ public function getPathMatcher()
+ {
+ return $this->pathMatcher;
+ }
+}
+
+class Postman_Google_Service_Compute_HttpHealthCheck extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $checkIntervalSec;
+ public $creationTimestamp;
+ public $description;
+ public $healthyThreshold;
+ public $host;
+ public $id;
+ public $kind;
+ public $name;
+ public $port;
+ public $requestPath;
+ public $selfLink;
+ public $timeoutSec;
+ public $unhealthyThreshold;
+
+
+ public function setCheckIntervalSec($checkIntervalSec)
+ {
+ $this->checkIntervalSec = $checkIntervalSec;
+ }
+ public function getCheckIntervalSec()
+ {
+ return $this->checkIntervalSec;
+ }
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setHealthyThreshold($healthyThreshold)
+ {
+ $this->healthyThreshold = $healthyThreshold;
+ }
+ public function getHealthyThreshold()
+ {
+ return $this->healthyThreshold;
+ }
+ public function setHost($host)
+ {
+ $this->host = $host;
+ }
+ public function getHost()
+ {
+ return $this->host;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPort($port)
+ {
+ $this->port = $port;
+ }
+ public function getPort()
+ {
+ return $this->port;
+ }
+ public function setRequestPath($requestPath)
+ {
+ $this->requestPath = $requestPath;
+ }
+ public function getRequestPath()
+ {
+ return $this->requestPath;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTimeoutSec($timeoutSec)
+ {
+ $this->timeoutSec = $timeoutSec;
+ }
+ public function getTimeoutSec()
+ {
+ return $this->timeoutSec;
+ }
+ public function setUnhealthyThreshold($unhealthyThreshold)
+ {
+ $this->unhealthyThreshold = $unhealthyThreshold;
+ }
+ public function getUnhealthyThreshold()
+ {
+ return $this->unhealthyThreshold;
+ }
+}
+
+class Postman_Google_Service_Compute_HttpHealthCheckList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_HttpHealthCheck';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_Image extends Postman_Google_Collection
+{
+ protected $collection_key = 'licenses';
+ protected $internal_gapi_mappings = array(
+ );
+ public $archiveSizeBytes;
+ public $creationTimestamp;
+ protected $deprecatedType = 'Postman_Google_Service_Compute_DeprecationStatus';
+ protected $deprecatedDataType = '';
+ public $description;
+ public $diskSizeGb;
+ public $id;
+ public $kind;
+ public $licenses;
+ public $name;
+ protected $rawDiskType = 'Postman_Google_Service_Compute_ImageRawDisk';
+ protected $rawDiskDataType = '';
+ public $selfLink;
+ public $sourceDisk;
+ public $sourceDiskId;
+ public $sourceType;
+ public $status;
+
+
+ public function setArchiveSizeBytes($archiveSizeBytes)
+ {
+ $this->archiveSizeBytes = $archiveSizeBytes;
+ }
+ public function getArchiveSizeBytes()
+ {
+ return $this->archiveSizeBytes;
+ }
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDeprecated(Postman_Google_Service_Compute_DeprecationStatus $deprecated)
+ {
+ $this->deprecated = $deprecated;
+ }
+ public function getDeprecated()
+ {
+ return $this->deprecated;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDiskSizeGb($diskSizeGb)
+ {
+ $this->diskSizeGb = $diskSizeGb;
+ }
+ public function getDiskSizeGb()
+ {
+ return $this->diskSizeGb;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLicenses($licenses)
+ {
+ $this->licenses = $licenses;
+ }
+ public function getLicenses()
+ {
+ return $this->licenses;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setRawDisk(Postman_Google_Service_Compute_ImageRawDisk $rawDisk)
+ {
+ $this->rawDisk = $rawDisk;
+ }
+ public function getRawDisk()
+ {
+ return $this->rawDisk;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setSourceDisk($sourceDisk)
+ {
+ $this->sourceDisk = $sourceDisk;
+ }
+ public function getSourceDisk()
+ {
+ return $this->sourceDisk;
+ }
+ public function setSourceDiskId($sourceDiskId)
+ {
+ $this->sourceDiskId = $sourceDiskId;
+ }
+ public function getSourceDiskId()
+ {
+ return $this->sourceDiskId;
+ }
+ public function setSourceType($sourceType)
+ {
+ $this->sourceType = $sourceType;
+ }
+ public function getSourceType()
+ {
+ return $this->sourceType;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Postman_Google_Service_Compute_ImageList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_Image';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_ImageRawDisk extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $containerType;
+ public $sha1Checksum;
+ public $source;
+
+
+ public function setContainerType($containerType)
+ {
+ $this->containerType = $containerType;
+ }
+ public function getContainerType()
+ {
+ return $this->containerType;
+ }
+ public function setSha1Checksum($sha1Checksum)
+ {
+ $this->sha1Checksum = $sha1Checksum;
+ }
+ public function getSha1Checksum()
+ {
+ return $this->sha1Checksum;
+ }
+ public function setSource($source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
+
+class Postman_Google_Service_Compute_Instance extends Postman_Google_Collection
+{
+ protected $collection_key = 'serviceAccounts';
+ protected $internal_gapi_mappings = array(
+ );
+ public $canIpForward;
+ public $creationTimestamp;
+ public $description;
+ protected $disksType = 'Postman_Google_Service_Compute_AttachedDisk';
+ protected $disksDataType = 'array';
+ public $id;
+ public $kind;
+ public $machineType;
+ protected $metadataType = 'Postman_Google_Service_Compute_Metadata';
+ protected $metadataDataType = '';
+ public $name;
+ protected $networkInterfacesType = 'Postman_Google_Service_Compute_NetworkInterface';
+ protected $networkInterfacesDataType = 'array';
+ protected $schedulingType = 'Postman_Google_Service_Compute_Scheduling';
+ protected $schedulingDataType = '';
+ public $selfLink;
+ protected $serviceAccountsType = 'Postman_Google_Service_Compute_ServiceAccount';
+ protected $serviceAccountsDataType = 'array';
+ public $status;
+ public $statusMessage;
+ protected $tagsType = 'Postman_Google_Service_Compute_Tags';
+ protected $tagsDataType = '';
+ public $zone;
+
+
+ public function setCanIpForward($canIpForward)
+ {
+ $this->canIpForward = $canIpForward;
+ }
+ public function getCanIpForward()
+ {
+ return $this->canIpForward;
+ }
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDisks($disks)
+ {
+ $this->disks = $disks;
+ }
+ public function getDisks()
+ {
+ return $this->disks;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMachineType($machineType)
+ {
+ $this->machineType = $machineType;
+ }
+ public function getMachineType()
+ {
+ return $this->machineType;
+ }
+ public function setMetadata(Postman_Google_Service_Compute_Metadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNetworkInterfaces($networkInterfaces)
+ {
+ $this->networkInterfaces = $networkInterfaces;
+ }
+ public function getNetworkInterfaces()
+ {
+ return $this->networkInterfaces;
+ }
+ public function setScheduling(Postman_Google_Service_Compute_Scheduling $scheduling)
+ {
+ $this->scheduling = $scheduling;
+ }
+ public function getScheduling()
+ {
+ return $this->scheduling;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setServiceAccounts($serviceAccounts)
+ {
+ $this->serviceAccounts = $serviceAccounts;
+ }
+ public function getServiceAccounts()
+ {
+ return $this->serviceAccounts;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setStatusMessage($statusMessage)
+ {
+ $this->statusMessage = $statusMessage;
+ }
+ public function getStatusMessage()
+ {
+ return $this->statusMessage;
+ }
+ public function setTags(Postman_Google_Service_Compute_Tags $tags)
+ {
+ $this->tags = $tags;
+ }
+ public function getTags()
+ {
+ return $this->tags;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Postman_Google_Service_Compute_InstanceAggregatedList extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_InstancesScopedList';
+ protected $itemsDataType = 'map';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_InstanceAggregatedListItems extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Compute_InstanceList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_Instance';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_InstanceProperties extends Postman_Google_Collection
+{
+ protected $collection_key = 'serviceAccounts';
+ protected $internal_gapi_mappings = array(
+ );
+ public $canIpForward;
+ public $description;
+ protected $disksType = 'Postman_Google_Service_Compute_AttachedDisk';
+ protected $disksDataType = 'array';
+ public $machineType;
+ protected $metadataType = 'Postman_Google_Service_Compute_Metadata';
+ protected $metadataDataType = '';
+ protected $networkInterfacesType = 'Postman_Google_Service_Compute_NetworkInterface';
+ protected $networkInterfacesDataType = 'array';
+ protected $schedulingType = 'Postman_Google_Service_Compute_Scheduling';
+ protected $schedulingDataType = '';
+ protected $serviceAccountsType = 'Postman_Google_Service_Compute_ServiceAccount';
+ protected $serviceAccountsDataType = 'array';
+ protected $tagsType = 'Postman_Google_Service_Compute_Tags';
+ protected $tagsDataType = '';
+
+
+ public function setCanIpForward($canIpForward)
+ {
+ $this->canIpForward = $canIpForward;
+ }
+ public function getCanIpForward()
+ {
+ return $this->canIpForward;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDisks($disks)
+ {
+ $this->disks = $disks;
+ }
+ public function getDisks()
+ {
+ return $this->disks;
+ }
+ public function setMachineType($machineType)
+ {
+ $this->machineType = $machineType;
+ }
+ public function getMachineType()
+ {
+ return $this->machineType;
+ }
+ public function setMetadata(Postman_Google_Service_Compute_Metadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setNetworkInterfaces($networkInterfaces)
+ {
+ $this->networkInterfaces = $networkInterfaces;
+ }
+ public function getNetworkInterfaces()
+ {
+ return $this->networkInterfaces;
+ }
+ public function setScheduling(Postman_Google_Service_Compute_Scheduling $scheduling)
+ {
+ $this->scheduling = $scheduling;
+ }
+ public function getScheduling()
+ {
+ return $this->scheduling;
+ }
+ public function setServiceAccounts($serviceAccounts)
+ {
+ $this->serviceAccounts = $serviceAccounts;
+ }
+ public function getServiceAccounts()
+ {
+ return $this->serviceAccounts;
+ }
+ public function setTags(Postman_Google_Service_Compute_Tags $tags)
+ {
+ $this->tags = $tags;
+ }
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Postman_Google_Service_Compute_InstanceReference extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $instance;
+
+
+ public function setInstance($instance)
+ {
+ $this->instance = $instance;
+ }
+ public function getInstance()
+ {
+ return $this->instance;
+ }
+}
+
+class Postman_Google_Service_Compute_InstanceTemplate extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ protected $propertiesType = 'Postman_Google_Service_Compute_InstanceProperties';
+ protected $propertiesDataType = '';
+ public $selfLink;
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProperties(Postman_Google_Service_Compute_InstanceProperties $properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_InstanceTemplateList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_InstanceTemplate';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_InstancesScopedList extends Postman_Google_Collection
+{
+ protected $collection_key = 'instances';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $instancesType = 'Postman_Google_Service_Compute_Instance';
+ protected $instancesDataType = 'array';
+ protected $warningType = 'Postman_Google_Service_Compute_InstancesScopedListWarning';
+ protected $warningDataType = '';
+
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+ public function setWarning(Postman_Google_Service_Compute_InstancesScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
+
+class Postman_Google_Service_Compute_InstancesScopedListWarning extends Postman_Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $dataType = 'Postman_Google_Service_Compute_InstancesScopedListWarningData';
+ protected $dataDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Postman_Google_Service_Compute_InstancesScopedListWarningData extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Compute_License extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $chargesUseFee;
+ public $kind;
+ public $name;
+ public $selfLink;
+
+
+ public function setChargesUseFee($chargesUseFee)
+ {
+ $this->chargesUseFee = $chargesUseFee;
+ }
+ public function getChargesUseFee()
+ {
+ return $this->chargesUseFee;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_MachineType extends Postman_Google_Collection
+{
+ protected $collection_key = 'scratchDisks';
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ protected $deprecatedType = 'Postman_Google_Service_Compute_DeprecationStatus';
+ protected $deprecatedDataType = '';
+ public $description;
+ public $guestCpus;
+ public $id;
+ public $imageSpaceGb;
+ public $kind;
+ public $maximumPersistentDisks;
+ public $maximumPersistentDisksSizeGb;
+ public $memoryMb;
+ public $name;
+ protected $scratchDisksType = 'Postman_Google_Service_Compute_MachineTypeScratchDisks';
+ protected $scratchDisksDataType = 'array';
+ public $selfLink;
+ public $zone;
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDeprecated(Postman_Google_Service_Compute_DeprecationStatus $deprecated)
+ {
+ $this->deprecated = $deprecated;
+ }
+ public function getDeprecated()
+ {
+ return $this->deprecated;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setGuestCpus($guestCpus)
+ {
+ $this->guestCpus = $guestCpus;
+ }
+ public function getGuestCpus()
+ {
+ return $this->guestCpus;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImageSpaceGb($imageSpaceGb)
+ {
+ $this->imageSpaceGb = $imageSpaceGb;
+ }
+ public function getImageSpaceGb()
+ {
+ return $this->imageSpaceGb;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMaximumPersistentDisks($maximumPersistentDisks)
+ {
+ $this->maximumPersistentDisks = $maximumPersistentDisks;
+ }
+ public function getMaximumPersistentDisks()
+ {
+ return $this->maximumPersistentDisks;
+ }
+ public function setMaximumPersistentDisksSizeGb($maximumPersistentDisksSizeGb)
+ {
+ $this->maximumPersistentDisksSizeGb = $maximumPersistentDisksSizeGb;
+ }
+ public function getMaximumPersistentDisksSizeGb()
+ {
+ return $this->maximumPersistentDisksSizeGb;
+ }
+ public function setMemoryMb($memoryMb)
+ {
+ $this->memoryMb = $memoryMb;
+ }
+ public function getMemoryMb()
+ {
+ return $this->memoryMb;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setScratchDisks($scratchDisks)
+ {
+ $this->scratchDisks = $scratchDisks;
+ }
+ public function getScratchDisks()
+ {
+ return $this->scratchDisks;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Postman_Google_Service_Compute_MachineTypeAggregatedList extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_MachineTypesScopedList';
+ protected $itemsDataType = 'map';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_MachineTypeAggregatedListItems extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Compute_MachineTypeList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_MachineType';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_MachineTypeScratchDisks extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $diskGb;
+
+
+ public function setDiskGb($diskGb)
+ {
+ $this->diskGb = $diskGb;
+ }
+ public function getDiskGb()
+ {
+ return $this->diskGb;
+ }
+}
+
+class Postman_Google_Service_Compute_MachineTypesScopedList extends Postman_Google_Collection
+{
+ protected $collection_key = 'machineTypes';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $machineTypesType = 'Postman_Google_Service_Compute_MachineType';
+ protected $machineTypesDataType = 'array';
+ protected $warningType = 'Postman_Google_Service_Compute_MachineTypesScopedListWarning';
+ protected $warningDataType = '';
+
+
+ public function setMachineTypes($machineTypes)
+ {
+ $this->machineTypes = $machineTypes;
+ }
+ public function getMachineTypes()
+ {
+ return $this->machineTypes;
+ }
+ public function setWarning(Postman_Google_Service_Compute_MachineTypesScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
+
+class Postman_Google_Service_Compute_MachineTypesScopedListWarning extends Postman_Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $dataType = 'Postman_Google_Service_Compute_MachineTypesScopedListWarningData';
+ protected $dataDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Postman_Google_Service_Compute_MachineTypesScopedListWarningData extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Compute_Metadata extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $fingerprint;
+ protected $itemsType = 'Postman_Google_Service_Compute_MetadataItems';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Compute_MetadataItems extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Compute_Network extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "iPv4Range" => "IPv4Range",
+ );
+ public $iPv4Range;
+ public $creationTimestamp;
+ public $description;
+ public $gatewayIPv4;
+ public $id;
+ public $kind;
+ public $name;
+ public $selfLink;
+
+
+ public function setIPv4Range($iPv4Range)
+ {
+ $this->iPv4Range = $iPv4Range;
+ }
+ public function getIPv4Range()
+ {
+ return $this->iPv4Range;
+ }
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setGatewayIPv4($gatewayIPv4)
+ {
+ $this->gatewayIPv4 = $gatewayIPv4;
+ }
+ public function getGatewayIPv4()
+ {
+ return $this->gatewayIPv4;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_NetworkInterface extends Postman_Google_Collection
+{
+ protected $collection_key = 'accessConfigs';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $accessConfigsType = 'Postman_Google_Service_Compute_AccessConfig';
+ protected $accessConfigsDataType = 'array';
+ public $name;
+ public $network;
+ public $networkIP;
+
+
+ public function setAccessConfigs($accessConfigs)
+ {
+ $this->accessConfigs = $accessConfigs;
+ }
+ public function getAccessConfigs()
+ {
+ return $this->accessConfigs;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNetwork($network)
+ {
+ $this->network = $network;
+ }
+ public function getNetwork()
+ {
+ return $this->network;
+ }
+ public function setNetworkIP($networkIP)
+ {
+ $this->networkIP = $networkIP;
+ }
+ public function getNetworkIP()
+ {
+ return $this->networkIP;
+ }
+}
+
+class Postman_Google_Service_Compute_NetworkList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_Network';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_Operation extends Postman_Google_Collection
+{
+ protected $collection_key = 'warnings';
+ protected $internal_gapi_mappings = array(
+ );
+ public $clientOperationId;
+ public $creationTimestamp;
+ public $endTime;
+ protected $errorType = 'Postman_Google_Service_Compute_OperationError';
+ protected $errorDataType = '';
+ public $httpErrorMessage;
+ public $httpErrorStatusCode;
+ public $id;
+ public $insertTime;
+ public $kind;
+ public $name;
+ public $operationType;
+ public $progress;
+ public $region;
+ public $selfLink;
+ public $startTime;
+ public $status;
+ public $statusMessage;
+ public $targetId;
+ public $targetLink;
+ public $user;
+ protected $warningsType = 'Postman_Google_Service_Compute_OperationWarnings';
+ protected $warningsDataType = 'array';
+ public $zone;
+
+
+ public function setClientOperationId($clientOperationId)
+ {
+ $this->clientOperationId = $clientOperationId;
+ }
+ public function getClientOperationId()
+ {
+ return $this->clientOperationId;
+ }
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setError(Postman_Google_Service_Compute_OperationError $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setHttpErrorMessage($httpErrorMessage)
+ {
+ $this->httpErrorMessage = $httpErrorMessage;
+ }
+ public function getHttpErrorMessage()
+ {
+ return $this->httpErrorMessage;
+ }
+ public function setHttpErrorStatusCode($httpErrorStatusCode)
+ {
+ $this->httpErrorStatusCode = $httpErrorStatusCode;
+ }
+ public function getHttpErrorStatusCode()
+ {
+ return $this->httpErrorStatusCode;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInsertTime($insertTime)
+ {
+ $this->insertTime = $insertTime;
+ }
+ public function getInsertTime()
+ {
+ return $this->insertTime;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOperationType($operationType)
+ {
+ $this->operationType = $operationType;
+ }
+ public function getOperationType()
+ {
+ return $this->operationType;
+ }
+ public function setProgress($progress)
+ {
+ $this->progress = $progress;
+ }
+ public function getProgress()
+ {
+ return $this->progress;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setStatusMessage($statusMessage)
+ {
+ $this->statusMessage = $statusMessage;
+ }
+ public function getStatusMessage()
+ {
+ return $this->statusMessage;
+ }
+ public function setTargetId($targetId)
+ {
+ $this->targetId = $targetId;
+ }
+ public function getTargetId()
+ {
+ return $this->targetId;
+ }
+ public function setTargetLink($targetLink)
+ {
+ $this->targetLink = $targetLink;
+ }
+ public function getTargetLink()
+ {
+ return $this->targetLink;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Postman_Google_Service_Compute_OperationAggregatedList extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_OperationsScopedList';
+ protected $itemsDataType = 'map';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_OperationAggregatedListItems extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Compute_OperationError extends Postman_Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $errorsType = 'Postman_Google_Service_Compute_OperationErrorErrors';
+ protected $errorsDataType = 'array';
+
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Postman_Google_Service_Compute_OperationErrorErrors extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $location;
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Postman_Google_Service_Compute_OperationList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_Operation';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_OperationWarnings extends Postman_Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $dataType = 'Postman_Google_Service_Compute_OperationWarningsData';
+ protected $dataDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Postman_Google_Service_Compute_OperationWarningsData extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Compute_OperationsScopedList extends Postman_Google_Collection
+{
+ protected $collection_key = 'operations';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $operationsType = 'Postman_Google_Service_Compute_Operation';
+ protected $operationsDataType = 'array';
+ protected $warningType = 'Postman_Google_Service_Compute_OperationsScopedListWarning';
+ protected $warningDataType = '';
+
+
+ public function setOperations($operations)
+ {
+ $this->operations = $operations;
+ }
+ public function getOperations()
+ {
+ return $this->operations;
+ }
+ public function setWarning(Postman_Google_Service_Compute_OperationsScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
+
+class Postman_Google_Service_Compute_OperationsScopedListWarning extends Postman_Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $dataType = 'Postman_Google_Service_Compute_OperationsScopedListWarningData';
+ protected $dataDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Postman_Google_Service_Compute_OperationsScopedListWarningData extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Compute_PathMatcher extends Postman_Google_Collection
+{
+ protected $collection_key = 'pathRules';
+ protected $internal_gapi_mappings = array(
+ );
+ public $defaultService;
+ public $description;
+ public $name;
+ protected $pathRulesType = 'Postman_Google_Service_Compute_PathRule';
+ protected $pathRulesDataType = 'array';
+
+
+ public function setDefaultService($defaultService)
+ {
+ $this->defaultService = $defaultService;
+ }
+ public function getDefaultService()
+ {
+ return $this->defaultService;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPathRules($pathRules)
+ {
+ $this->pathRules = $pathRules;
+ }
+ public function getPathRules()
+ {
+ return $this->pathRules;
+ }
+}
+
+class Postman_Google_Service_Compute_PathRule extends Postman_Google_Collection
+{
+ protected $collection_key = 'paths';
+ protected $internal_gapi_mappings = array(
+ );
+ public $paths;
+ public $service;
+
+
+ public function setPaths($paths)
+ {
+ $this->paths = $paths;
+ }
+ public function getPaths()
+ {
+ return $this->paths;
+ }
+ public function setService($service)
+ {
+ $this->service = $service;
+ }
+ public function getService()
+ {
+ return $this->service;
+ }
+}
+
+class Postman_Google_Service_Compute_Project extends Postman_Google_Collection
+{
+ protected $collection_key = 'quotas';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $commonInstanceMetadataType = 'Postman_Google_Service_Compute_Metadata';
+ protected $commonInstanceMetadataDataType = '';
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ protected $quotasType = 'Postman_Google_Service_Compute_Quota';
+ protected $quotasDataType = 'array';
+ public $selfLink;
+ protected $usageExportLocationType = 'Postman_Google_Service_Compute_UsageExportLocation';
+ protected $usageExportLocationDataType = '';
+
+
+ public function setCommonInstanceMetadata(Postman_Google_Service_Compute_Metadata $commonInstanceMetadata)
+ {
+ $this->commonInstanceMetadata = $commonInstanceMetadata;
+ }
+ public function getCommonInstanceMetadata()
+ {
+ return $this->commonInstanceMetadata;
+ }
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setQuotas($quotas)
+ {
+ $this->quotas = $quotas;
+ }
+ public function getQuotas()
+ {
+ return $this->quotas;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setUsageExportLocation(Postman_Google_Service_Compute_UsageExportLocation $usageExportLocation)
+ {
+ $this->usageExportLocation = $usageExportLocation;
+ }
+ public function getUsageExportLocation()
+ {
+ return $this->usageExportLocation;
+ }
+}
+
+class Postman_Google_Service_Compute_Quota extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $limit;
+ public $metric;
+ public $usage;
+
+
+ public function setLimit($limit)
+ {
+ $this->limit = $limit;
+ }
+ public function getLimit()
+ {
+ return $this->limit;
+ }
+ public function setMetric($metric)
+ {
+ $this->metric = $metric;
+ }
+ public function getMetric()
+ {
+ return $this->metric;
+ }
+ public function setUsage($usage)
+ {
+ $this->usage = $usage;
+ }
+ public function getUsage()
+ {
+ return $this->usage;
+ }
+}
+
+class Postman_Google_Service_Compute_Region extends Postman_Google_Collection
+{
+ protected $collection_key = 'zones';
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ protected $deprecatedType = 'Postman_Google_Service_Compute_DeprecationStatus';
+ protected $deprecatedDataType = '';
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ protected $quotasType = 'Postman_Google_Service_Compute_Quota';
+ protected $quotasDataType = 'array';
+ public $selfLink;
+ public $status;
+ public $zones;
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDeprecated(Postman_Google_Service_Compute_DeprecationStatus $deprecated)
+ {
+ $this->deprecated = $deprecated;
+ }
+ public function getDeprecated()
+ {
+ return $this->deprecated;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setQuotas($quotas)
+ {
+ $this->quotas = $quotas;
+ }
+ public function getQuotas()
+ {
+ return $this->quotas;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setZones($zones)
+ {
+ $this->zones = $zones;
+ }
+ public function getZones()
+ {
+ return $this->zones;
+ }
+}
+
+class Postman_Google_Service_Compute_RegionList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_Region';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_ResourceGroupReference extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $group;
+
+
+ public function setGroup($group)
+ {
+ $this->group = $group;
+ }
+ public function getGroup()
+ {
+ return $this->group;
+ }
+}
+
+class Postman_Google_Service_Compute_Route extends Postman_Google_Collection
+{
+ protected $collection_key = 'warnings';
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ public $description;
+ public $destRange;
+ public $id;
+ public $kind;
+ public $name;
+ public $network;
+ public $nextHopGateway;
+ public $nextHopInstance;
+ public $nextHopIp;
+ public $nextHopNetwork;
+ public $priority;
+ public $selfLink;
+ public $tags;
+ protected $warningsType = 'Postman_Google_Service_Compute_RouteWarnings';
+ protected $warningsDataType = 'array';
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDestRange($destRange)
+ {
+ $this->destRange = $destRange;
+ }
+ public function getDestRange()
+ {
+ return $this->destRange;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNetwork($network)
+ {
+ $this->network = $network;
+ }
+ public function getNetwork()
+ {
+ return $this->network;
+ }
+ public function setNextHopGateway($nextHopGateway)
+ {
+ $this->nextHopGateway = $nextHopGateway;
+ }
+ public function getNextHopGateway()
+ {
+ return $this->nextHopGateway;
+ }
+ public function setNextHopInstance($nextHopInstance)
+ {
+ $this->nextHopInstance = $nextHopInstance;
+ }
+ public function getNextHopInstance()
+ {
+ return $this->nextHopInstance;
+ }
+ public function setNextHopIp($nextHopIp)
+ {
+ $this->nextHopIp = $nextHopIp;
+ }
+ public function getNextHopIp()
+ {
+ return $this->nextHopIp;
+ }
+ public function setNextHopNetwork($nextHopNetwork)
+ {
+ $this->nextHopNetwork = $nextHopNetwork;
+ }
+ public function getNextHopNetwork()
+ {
+ return $this->nextHopNetwork;
+ }
+ public function setPriority($priority)
+ {
+ $this->priority = $priority;
+ }
+ public function getPriority()
+ {
+ return $this->priority;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+ public function getTags()
+ {
+ return $this->tags;
+ }
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
+
+class Postman_Google_Service_Compute_RouteList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_Route';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_RouteWarnings extends Postman_Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $dataType = 'Postman_Google_Service_Compute_RouteWarningsData';
+ protected $dataDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Postman_Google_Service_Compute_RouteWarningsData extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Compute_Scheduling extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $automaticRestart;
+ public $onHostMaintenance;
+
+
+ public function setAutomaticRestart($automaticRestart)
+ {
+ $this->automaticRestart = $automaticRestart;
+ }
+ public function getAutomaticRestart()
+ {
+ return $this->automaticRestart;
+ }
+ public function setOnHostMaintenance($onHostMaintenance)
+ {
+ $this->onHostMaintenance = $onHostMaintenance;
+ }
+ public function getOnHostMaintenance()
+ {
+ return $this->onHostMaintenance;
+ }
+}
+
+class Postman_Google_Service_Compute_SerialPortOutput extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $contents;
+ public $kind;
+ public $selfLink;
+
+
+ public function setContents($contents)
+ {
+ $this->contents = $contents;
+ }
+ public function getContents()
+ {
+ return $this->contents;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_ServiceAccount extends Postman_Google_Collection
+{
+ protected $collection_key = 'scopes';
+ protected $internal_gapi_mappings = array(
+ );
+ public $email;
+ public $scopes;
+
+
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setScopes($scopes)
+ {
+ $this->scopes = $scopes;
+ }
+ public function getScopes()
+ {
+ return $this->scopes;
+ }
+}
+
+class Postman_Google_Service_Compute_Snapshot extends Postman_Google_Collection
+{
+ protected $collection_key = 'licenses';
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ public $description;
+ public $diskSizeGb;
+ public $id;
+ public $kind;
+ public $licenses;
+ public $name;
+ public $selfLink;
+ public $sourceDisk;
+ public $sourceDiskId;
+ public $status;
+ public $storageBytes;
+ public $storageBytesStatus;
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDiskSizeGb($diskSizeGb)
+ {
+ $this->diskSizeGb = $diskSizeGb;
+ }
+ public function getDiskSizeGb()
+ {
+ return $this->diskSizeGb;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLicenses($licenses)
+ {
+ $this->licenses = $licenses;
+ }
+ public function getLicenses()
+ {
+ return $this->licenses;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setSourceDisk($sourceDisk)
+ {
+ $this->sourceDisk = $sourceDisk;
+ }
+ public function getSourceDisk()
+ {
+ return $this->sourceDisk;
+ }
+ public function setSourceDiskId($sourceDiskId)
+ {
+ $this->sourceDiskId = $sourceDiskId;
+ }
+ public function getSourceDiskId()
+ {
+ return $this->sourceDiskId;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setStorageBytes($storageBytes)
+ {
+ $this->storageBytes = $storageBytes;
+ }
+ public function getStorageBytes()
+ {
+ return $this->storageBytes;
+ }
+ public function setStorageBytesStatus($storageBytesStatus)
+ {
+ $this->storageBytesStatus = $storageBytesStatus;
+ }
+ public function getStorageBytesStatus()
+ {
+ return $this->storageBytesStatus;
+ }
+}
+
+class Postman_Google_Service_Compute_SnapshotList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_Snapshot';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_Tags extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $fingerprint;
+ public $items;
+
+
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+}
+
+class Postman_Google_Service_Compute_TargetHttpProxy extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ public $selfLink;
+ public $urlMap;
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setUrlMap($urlMap)
+ {
+ $this->urlMap = $urlMap;
+ }
+ public function getUrlMap()
+ {
+ return $this->urlMap;
+ }
+}
+
+class Postman_Google_Service_Compute_TargetHttpProxyList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_TargetHttpProxy';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_TargetInstance extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $instance;
+ public $kind;
+ public $name;
+ public $natPolicy;
+ public $selfLink;
+ public $zone;
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInstance($instance)
+ {
+ $this->instance = $instance;
+ }
+ public function getInstance()
+ {
+ return $this->instance;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNatPolicy($natPolicy)
+ {
+ $this->natPolicy = $natPolicy;
+ }
+ public function getNatPolicy()
+ {
+ return $this->natPolicy;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Postman_Google_Service_Compute_TargetInstanceAggregatedList extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_TargetInstancesScopedList';
+ protected $itemsDataType = 'map';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_TargetInstanceAggregatedListItems extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Compute_TargetInstanceList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_TargetInstance';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_TargetInstancesScopedList extends Postman_Google_Collection
+{
+ protected $collection_key = 'targetInstances';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $targetInstancesType = 'Postman_Google_Service_Compute_TargetInstance';
+ protected $targetInstancesDataType = 'array';
+ protected $warningType = 'Postman_Google_Service_Compute_TargetInstancesScopedListWarning';
+ protected $warningDataType = '';
+
+
+ public function setTargetInstances($targetInstances)
+ {
+ $this->targetInstances = $targetInstances;
+ }
+ public function getTargetInstances()
+ {
+ return $this->targetInstances;
+ }
+ public function setWarning(Postman_Google_Service_Compute_TargetInstancesScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
+
+class Postman_Google_Service_Compute_TargetInstancesScopedListWarning extends Postman_Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $dataType = 'Postman_Google_Service_Compute_TargetInstancesScopedListWarningData';
+ protected $dataDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Postman_Google_Service_Compute_TargetInstancesScopedListWarningData extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Compute_TargetPool extends Postman_Google_Collection
+{
+ protected $collection_key = 'instances';
+ protected $internal_gapi_mappings = array(
+ );
+ public $backupPool;
+ public $creationTimestamp;
+ public $description;
+ public $failoverRatio;
+ public $healthChecks;
+ public $id;
+ public $instances;
+ public $kind;
+ public $name;
+ public $region;
+ public $selfLink;
+ public $sessionAffinity;
+
+
+ public function setBackupPool($backupPool)
+ {
+ $this->backupPool = $backupPool;
+ }
+ public function getBackupPool()
+ {
+ return $this->backupPool;
+ }
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setFailoverRatio($failoverRatio)
+ {
+ $this->failoverRatio = $failoverRatio;
+ }
+ public function getFailoverRatio()
+ {
+ return $this->failoverRatio;
+ }
+ public function setHealthChecks($healthChecks)
+ {
+ $this->healthChecks = $healthChecks;
+ }
+ public function getHealthChecks()
+ {
+ return $this->healthChecks;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setSessionAffinity($sessionAffinity)
+ {
+ $this->sessionAffinity = $sessionAffinity;
+ }
+ public function getSessionAffinity()
+ {
+ return $this->sessionAffinity;
+ }
+}
+
+class Postman_Google_Service_Compute_TargetPoolAggregatedList extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_TargetPoolsScopedList';
+ protected $itemsDataType = 'map';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_TargetPoolAggregatedListItems extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Compute_TargetPoolInstanceHealth extends Postman_Google_Collection
+{
+ protected $collection_key = 'healthStatus';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $healthStatusType = 'Postman_Google_Service_Compute_HealthStatus';
+ protected $healthStatusDataType = 'array';
+ public $kind;
+
+
+ public function setHealthStatus($healthStatus)
+ {
+ $this->healthStatus = $healthStatus;
+ }
+ public function getHealthStatus()
+ {
+ return $this->healthStatus;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Compute_TargetPoolList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_TargetPool';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_TargetPoolsAddHealthCheckRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'healthChecks';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $healthChecksType = 'Postman_Google_Service_Compute_HealthCheckReference';
+ protected $healthChecksDataType = 'array';
+
+
+ public function setHealthChecks($healthChecks)
+ {
+ $this->healthChecks = $healthChecks;
+ }
+ public function getHealthChecks()
+ {
+ return $this->healthChecks;
+ }
+}
+
+class Postman_Google_Service_Compute_TargetPoolsAddInstanceRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'instances';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $instancesType = 'Postman_Google_Service_Compute_InstanceReference';
+ protected $instancesDataType = 'array';
+
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+}
+
+class Postman_Google_Service_Compute_TargetPoolsRemoveHealthCheckRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'healthChecks';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $healthChecksType = 'Postman_Google_Service_Compute_HealthCheckReference';
+ protected $healthChecksDataType = 'array';
+
+
+ public function setHealthChecks($healthChecks)
+ {
+ $this->healthChecks = $healthChecks;
+ }
+ public function getHealthChecks()
+ {
+ return $this->healthChecks;
+ }
+}
+
+class Postman_Google_Service_Compute_TargetPoolsRemoveInstanceRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'instances';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $instancesType = 'Postman_Google_Service_Compute_InstanceReference';
+ protected $instancesDataType = 'array';
+
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+}
+
+class Postman_Google_Service_Compute_TargetPoolsScopedList extends Postman_Google_Collection
+{
+ protected $collection_key = 'targetPools';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $targetPoolsType = 'Postman_Google_Service_Compute_TargetPool';
+ protected $targetPoolsDataType = 'array';
+ protected $warningType = 'Postman_Google_Service_Compute_TargetPoolsScopedListWarning';
+ protected $warningDataType = '';
+
+
+ public function setTargetPools($targetPools)
+ {
+ $this->targetPools = $targetPools;
+ }
+ public function getTargetPools()
+ {
+ return $this->targetPools;
+ }
+ public function setWarning(Postman_Google_Service_Compute_TargetPoolsScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
+
+class Postman_Google_Service_Compute_TargetPoolsScopedListWarning extends Postman_Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $dataType = 'Postman_Google_Service_Compute_TargetPoolsScopedListWarningData';
+ protected $dataDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Postman_Google_Service_Compute_TargetPoolsScopedListWarningData extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Compute_TargetReference extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $target;
+
+
+ public function setTarget($target)
+ {
+ $this->target = $target;
+ }
+ public function getTarget()
+ {
+ return $this->target;
+ }
+}
+
+class Postman_Google_Service_Compute_TestFailure extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $actualService;
+ public $expectedService;
+ public $host;
+ public $path;
+
+
+ public function setActualService($actualService)
+ {
+ $this->actualService = $actualService;
+ }
+ public function getActualService()
+ {
+ return $this->actualService;
+ }
+ public function setExpectedService($expectedService)
+ {
+ $this->expectedService = $expectedService;
+ }
+ public function getExpectedService()
+ {
+ return $this->expectedService;
+ }
+ public function setHost($host)
+ {
+ $this->host = $host;
+ }
+ public function getHost()
+ {
+ return $this->host;
+ }
+ public function setPath($path)
+ {
+ $this->path = $path;
+ }
+ public function getPath()
+ {
+ return $this->path;
+ }
+}
+
+class Postman_Google_Service_Compute_UrlMap extends Postman_Google_Collection
+{
+ protected $collection_key = 'tests';
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ public $defaultService;
+ public $description;
+ public $fingerprint;
+ protected $hostRulesType = 'Postman_Google_Service_Compute_HostRule';
+ protected $hostRulesDataType = 'array';
+ public $id;
+ public $kind;
+ public $name;
+ protected $pathMatchersType = 'Postman_Google_Service_Compute_PathMatcher';
+ protected $pathMatchersDataType = 'array';
+ public $selfLink;
+ protected $testsType = 'Postman_Google_Service_Compute_UrlMapTest';
+ protected $testsDataType = 'array';
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDefaultService($defaultService)
+ {
+ $this->defaultService = $defaultService;
+ }
+ public function getDefaultService()
+ {
+ return $this->defaultService;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setHostRules($hostRules)
+ {
+ $this->hostRules = $hostRules;
+ }
+ public function getHostRules()
+ {
+ return $this->hostRules;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPathMatchers($pathMatchers)
+ {
+ $this->pathMatchers = $pathMatchers;
+ }
+ public function getPathMatchers()
+ {
+ return $this->pathMatchers;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTests($tests)
+ {
+ $this->tests = $tests;
+ }
+ public function getTests()
+ {
+ return $this->tests;
+ }
+}
+
+class Postman_Google_Service_Compute_UrlMapList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_UrlMap';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_UrlMapReference extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $urlMap;
+
+
+ public function setUrlMap($urlMap)
+ {
+ $this->urlMap = $urlMap;
+ }
+ public function getUrlMap()
+ {
+ return $this->urlMap;
+ }
+}
+
+class Postman_Google_Service_Compute_UrlMapTest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ public $host;
+ public $path;
+ public $service;
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setHost($host)
+ {
+ $this->host = $host;
+ }
+ public function getHost()
+ {
+ return $this->host;
+ }
+ public function setPath($path)
+ {
+ $this->path = $path;
+ }
+ public function getPath()
+ {
+ return $this->path;
+ }
+ public function setService($service)
+ {
+ $this->service = $service;
+ }
+ public function getService()
+ {
+ return $this->service;
+ }
+}
+
+class Postman_Google_Service_Compute_UrlMapValidationResult extends Postman_Google_Collection
+{
+ protected $collection_key = 'testFailures';
+ protected $internal_gapi_mappings = array(
+ );
+ public $loadErrors;
+ public $loadSucceeded;
+ protected $testFailuresType = 'Postman_Google_Service_Compute_TestFailure';
+ protected $testFailuresDataType = 'array';
+ public $testPassed;
+
+
+ public function setLoadErrors($loadErrors)
+ {
+ $this->loadErrors = $loadErrors;
+ }
+ public function getLoadErrors()
+ {
+ return $this->loadErrors;
+ }
+ public function setLoadSucceeded($loadSucceeded)
+ {
+ $this->loadSucceeded = $loadSucceeded;
+ }
+ public function getLoadSucceeded()
+ {
+ return $this->loadSucceeded;
+ }
+ public function setTestFailures($testFailures)
+ {
+ $this->testFailures = $testFailures;
+ }
+ public function getTestFailures()
+ {
+ return $this->testFailures;
+ }
+ public function setTestPassed($testPassed)
+ {
+ $this->testPassed = $testPassed;
+ }
+ public function getTestPassed()
+ {
+ return $this->testPassed;
+ }
+}
+
+class Postman_Google_Service_Compute_UrlMapsValidateRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $resourceType = 'Postman_Google_Service_Compute_UrlMap';
+ protected $resourceDataType = '';
+
+
+ public function setResource(Postman_Google_Service_Compute_UrlMap $resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Postman_Google_Service_Compute_UrlMapsValidateResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $resultType = 'Postman_Google_Service_Compute_UrlMapValidationResult';
+ protected $resultDataType = '';
+
+
+ public function setResult(Postman_Google_Service_Compute_UrlMapValidationResult $result)
+ {
+ $this->result = $result;
+ }
+ public function getResult()
+ {
+ return $this->result;
+ }
+}
+
+class Postman_Google_Service_Compute_UsageExportLocation extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $bucketName;
+ public $reportNamePrefix;
+
+
+ public function setBucketName($bucketName)
+ {
+ $this->bucketName = $bucketName;
+ }
+ public function getBucketName()
+ {
+ return $this->bucketName;
+ }
+ public function setReportNamePrefix($reportNamePrefix)
+ {
+ $this->reportNamePrefix = $reportNamePrefix;
+ }
+ public function getReportNamePrefix()
+ {
+ return $this->reportNamePrefix;
+ }
+}
+
+class Postman_Google_Service_Compute_Zone extends Postman_Google_Collection
+{
+ protected $collection_key = 'maintenanceWindows';
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ protected $deprecatedType = 'Postman_Google_Service_Compute_DeprecationStatus';
+ protected $deprecatedDataType = '';
+ public $description;
+ public $id;
+ public $kind;
+ protected $maintenanceWindowsType = 'Postman_Google_Service_Compute_ZoneMaintenanceWindows';
+ protected $maintenanceWindowsDataType = 'array';
+ public $name;
+ public $region;
+ public $selfLink;
+ public $status;
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDeprecated(Postman_Google_Service_Compute_DeprecationStatus $deprecated)
+ {
+ $this->deprecated = $deprecated;
+ }
+ public function getDeprecated()
+ {
+ return $this->deprecated;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMaintenanceWindows($maintenanceWindows)
+ {
+ $this->maintenanceWindows = $maintenanceWindows;
+ }
+ public function getMaintenanceWindows()
+ {
+ return $this->maintenanceWindows;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Postman_Google_Service_Compute_ZoneList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Compute_Zone';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Compute_ZoneMaintenanceWindows extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $beginTime;
+ public $description;
+ public $endTime;
+ public $name;
+
+
+ public function setBeginTime($beginTime)
+ {
+ $this->beginTime = $beginTime;
+ }
+ public function getBeginTime()
+ {
+ return $this->beginTime;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Container.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Container.php
new file mode 100644
index 0000000..42a7a36
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Container.php
@@ -0,0 +1,794 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Container (v1beta1).
+ *
+ * <p>
+ * The Google Container Engine API is used for building and managing container
+ * based applications, powered by the open source Kubernetes technology.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Container extends Postman_Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ public $projects_clusters;
+ public $projects_operations;
+ public $projects_zones_clusters;
+ public $projects_zones_operations;
+
+
+ /**
+ * Constructs the internal representation of the Container service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'container/v1beta1/projects/';
+ $this->version = 'v1beta1';
+ $this->serviceName = 'container';
+
+ $this->projects_clusters = new Postman_Google_Service_Container_ProjectsClusters_Resource(
+ $this,
+ $this->serviceName,
+ 'clusters',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{projectId}/clusters',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_operations = new Postman_Google_Service_Container_ProjectsOperations_Resource(
+ $this,
+ $this->serviceName,
+ 'operations',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{projectId}/operations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_zones_clusters = new Postman_Google_Service_Container_ProjectsZonesClusters_Resource(
+ $this,
+ $this->serviceName,
+ 'clusters',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => '{projectId}/zones/{zoneId}/clusters',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zoneId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{projectId}/zones/{zoneId}/clusters/{clusterId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zoneId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clusterId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{projectId}/zones/{zoneId}/clusters/{clusterId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zoneId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clusterId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{projectId}/zones/{zoneId}/clusters',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zoneId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects_zones_operations = new Postman_Google_Service_Container_ProjectsZonesOperations_Resource(
+ $this,
+ $this->serviceName,
+ 'operations',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{projectId}/zones/{zoneId}/operations/{operationId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zoneId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'operationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{projectId}/zones/{zoneId}/operations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zoneId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $containerService = new Postman_Google_Service_Container(...);
+ * $projects = $containerService->projects;
+ * </code>
+ */
+class Postman_Google_Service_Container_Projects_Resource extends Postman_Google_Service_Resource
+{
+}
+
+/**
+ * The "clusters" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $containerService = new Postman_Google_Service_Container(...);
+ * $clusters = $containerService->clusters;
+ * </code>
+ */
+class Postman_Google_Service_Container_ProjectsClusters_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Lists all clusters owned by a project across all zones.
+ * (clusters.listProjectsClusters)
+ *
+ * @param string $projectId The Google Developers Console project ID or project
+ * number.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Container_ListAggregatedClustersResponse
+ */
+ public function listProjectsClusters($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Container_ListAggregatedClustersResponse");
+ }
+}
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $containerService = new Postman_Google_Service_Container(...);
+ * $operations = $containerService->operations;
+ * </code>
+ */
+class Postman_Google_Service_Container_ProjectsOperations_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Lists all operations in a project, across all zones.
+ * (operations.listProjectsOperations)
+ *
+ * @param string $projectId The Google Developers Console project ID or project
+ * number.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Container_ListAggregatedOperationsResponse
+ */
+ public function listProjectsOperations($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Container_ListAggregatedOperationsResponse");
+ }
+}
+/**
+ * The "zones" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $containerService = new Postman_Google_Service_Container(...);
+ * $zones = $containerService->zones;
+ * </code>
+ */
+class Postman_Google_Service_Container_ProjectsZones_Resource extends Postman_Google_Service_Resource
+{
+}
+
+/**
+ * The "clusters" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $containerService = new Postman_Google_Service_Container(...);
+ * $clusters = $containerService->clusters;
+ * </code>
+ */
+class Postman_Google_Service_Container_ProjectsZonesClusters_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Creates a cluster, consisting of the specified number and type of Google
+ * Compute Engine instances, plus a Kubernetes master instance.
+ *
+ * The cluster is created in the project's default network.
+ *
+ * A firewall is added that allows traffic into port 443 on the master, which
+ * enables HTTPS. A firewall and a route is added for each node to allow the
+ * containers on that node to communicate with all other instances in the
+ * cluster.
+ *
+ * Finally, a route named k8s-iproute-10-xx-0-0 is created to track that the
+ * cluster's 10.xx.0.0/16 CIDR has been assigned. (clusters.create)
+ *
+ * @param string $projectId The Google Developers Console project ID or project
+ * number.
+ * @param string $zoneId The name of the Google Compute Engine zone in which the
+ * cluster resides.
+ * @param Postman_Google_CreateClusterRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Container_Operation
+ */
+ public function create($projectId, $zoneId, Postman_Google_Service_Container_CreateClusterRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'zoneId' => $zoneId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_Container_Operation");
+ }
+
+ /**
+ * Deletes the cluster, including the Kubernetes master and all worker nodes.
+ *
+ * Firewalls and routes that were configured at cluster creation are also
+ * deleted. (clusters.delete)
+ *
+ * @param string $projectId The Google Developers Console project ID or project
+ * number.
+ * @param string $zoneId The name of the Google Compute Engine zone in which the
+ * cluster resides.
+ * @param string $clusterId The name of the cluster to delete.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Container_Operation
+ */
+ public function delete($projectId, $zoneId, $clusterId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'zoneId' => $zoneId, 'clusterId' => $clusterId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_Container_Operation");
+ }
+
+ /**
+ * Gets a specific cluster. (clusters.get)
+ *
+ * @param string $projectId The Google Developers Console project ID or project
+ * number.
+ * @param string $zoneId The name of the Google Compute Engine zone in which the
+ * cluster resides.
+ * @param string $clusterId The name of the cluster to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Container_Cluster
+ */
+ public function get($projectId, $zoneId, $clusterId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'zoneId' => $zoneId, 'clusterId' => $clusterId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Container_Cluster");
+ }
+
+ /**
+ * Lists all clusters owned by a project in the specified zone.
+ * (clusters.listProjectsZonesClusters)
+ *
+ * @param string $projectId The Google Developers Console project ID or project
+ * number.
+ * @param string $zoneId The name of the Google Compute Engine zone in which the
+ * cluster resides.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Container_ListClustersResponse
+ */
+ public function listProjectsZonesClusters($projectId, $zoneId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'zoneId' => $zoneId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Container_ListClustersResponse");
+ }
+}
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $containerService = new Postman_Google_Service_Container(...);
+ * $operations = $containerService->operations;
+ * </code>
+ */
+class Postman_Google_Service_Container_ProjectsZonesOperations_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets the specified operation. (operations.get)
+ *
+ * @param string $projectId The Google Developers Console project ID or project
+ * number.
+ * @param string $zoneId The name of the Google Compute Engine zone in which the
+ * operation resides. This is always the same zone as the cluster with which the
+ * operation is associated.
+ * @param string $operationId The server-assigned name of the operation.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Container_Operation
+ */
+ public function get($projectId, $zoneId, $operationId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'zoneId' => $zoneId, 'operationId' => $operationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Container_Operation");
+ }
+
+ /**
+ * Lists all operations in a project in a specific zone.
+ * (operations.listProjectsZonesOperations)
+ *
+ * @param string $projectId The Google Developers Console project ID or project
+ * number.
+ * @param string $zoneId The name of the Google Compute Engine zone to return
+ * operations for.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Container_ListOperationsResponse
+ */
+ public function listProjectsZonesOperations($projectId, $zoneId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'zoneId' => $zoneId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Container_ListOperationsResponse");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Container_Cluster extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $clusterApiVersion;
+ public $containerIpv4Cidr;
+ public $creationTimestamp;
+ public $description;
+ public $endpoint;
+ protected $masterAuthType = 'Postman_Google_Service_Container_MasterAuth';
+ protected $masterAuthDataType = '';
+ public $name;
+ protected $nodeConfigType = 'Postman_Google_Service_Container_NodeConfig';
+ protected $nodeConfigDataType = '';
+ public $nodeRoutingPrefixSize;
+ public $numNodes;
+ public $servicesIpv4Cidr;
+ public $status;
+ public $statusMessage;
+ public $zone;
+
+
+ public function setClusterApiVersion($clusterApiVersion)
+ {
+ $this->clusterApiVersion = $clusterApiVersion;
+ }
+ public function getClusterApiVersion()
+ {
+ return $this->clusterApiVersion;
+ }
+ public function setContainerIpv4Cidr($containerIpv4Cidr)
+ {
+ $this->containerIpv4Cidr = $containerIpv4Cidr;
+ }
+ public function getContainerIpv4Cidr()
+ {
+ return $this->containerIpv4Cidr;
+ }
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEndpoint($endpoint)
+ {
+ $this->endpoint = $endpoint;
+ }
+ public function getEndpoint()
+ {
+ return $this->endpoint;
+ }
+ public function setMasterAuth(Postman_Google_Service_Container_MasterAuth $masterAuth)
+ {
+ $this->masterAuth = $masterAuth;
+ }
+ public function getMasterAuth()
+ {
+ return $this->masterAuth;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNodeConfig(Postman_Google_Service_Container_NodeConfig $nodeConfig)
+ {
+ $this->nodeConfig = $nodeConfig;
+ }
+ public function getNodeConfig()
+ {
+ return $this->nodeConfig;
+ }
+ public function setNodeRoutingPrefixSize($nodeRoutingPrefixSize)
+ {
+ $this->nodeRoutingPrefixSize = $nodeRoutingPrefixSize;
+ }
+ public function getNodeRoutingPrefixSize()
+ {
+ return $this->nodeRoutingPrefixSize;
+ }
+ public function setNumNodes($numNodes)
+ {
+ $this->numNodes = $numNodes;
+ }
+ public function getNumNodes()
+ {
+ return $this->numNodes;
+ }
+ public function setServicesIpv4Cidr($servicesIpv4Cidr)
+ {
+ $this->servicesIpv4Cidr = $servicesIpv4Cidr;
+ }
+ public function getServicesIpv4Cidr()
+ {
+ return $this->servicesIpv4Cidr;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setStatusMessage($statusMessage)
+ {
+ $this->statusMessage = $statusMessage;
+ }
+ public function getStatusMessage()
+ {
+ return $this->statusMessage;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Postman_Google_Service_Container_CreateClusterRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $clusterType = 'Postman_Google_Service_Container_Cluster';
+ protected $clusterDataType = '';
+
+
+ public function setCluster(Postman_Google_Service_Container_Cluster $cluster)
+ {
+ $this->cluster = $cluster;
+ }
+ public function getCluster()
+ {
+ return $this->cluster;
+ }
+}
+
+class Postman_Google_Service_Container_ListAggregatedClustersResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'clusters';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $clustersType = 'Postman_Google_Service_Container_Cluster';
+ protected $clustersDataType = 'array';
+
+
+ public function setClusters($clusters)
+ {
+ $this->clusters = $clusters;
+ }
+ public function getClusters()
+ {
+ return $this->clusters;
+ }
+}
+
+class Postman_Google_Service_Container_ListAggregatedOperationsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'operations';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $operationsType = 'Postman_Google_Service_Container_Operation';
+ protected $operationsDataType = 'array';
+
+
+ public function setOperations($operations)
+ {
+ $this->operations = $operations;
+ }
+ public function getOperations()
+ {
+ return $this->operations;
+ }
+}
+
+class Postman_Google_Service_Container_ListClustersResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'clusters';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $clustersType = 'Postman_Google_Service_Container_Cluster';
+ protected $clustersDataType = 'array';
+
+
+ public function setClusters($clusters)
+ {
+ $this->clusters = $clusters;
+ }
+ public function getClusters()
+ {
+ return $this->clusters;
+ }
+}
+
+class Postman_Google_Service_Container_ListOperationsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'operations';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $operationsType = 'Postman_Google_Service_Container_Operation';
+ protected $operationsDataType = 'array';
+
+
+ public function setOperations($operations)
+ {
+ $this->operations = $operations;
+ }
+ public function getOperations()
+ {
+ return $this->operations;
+ }
+}
+
+class Postman_Google_Service_Container_MasterAuth extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $password;
+ public $user;
+
+
+ public function setPassword($password)
+ {
+ $this->password = $password;
+ }
+ public function getPassword()
+ {
+ return $this->password;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+}
+
+class Postman_Google_Service_Container_NodeConfig extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $machineType;
+ public $sourceImage;
+
+
+ public function setMachineType($machineType)
+ {
+ $this->machineType = $machineType;
+ }
+ public function getMachineType()
+ {
+ return $this->machineType;
+ }
+ public function setSourceImage($sourceImage)
+ {
+ $this->sourceImage = $sourceImage;
+ }
+ public function getSourceImage()
+ {
+ return $this->sourceImage;
+ }
+}
+
+class Postman_Google_Service_Container_Operation extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $errorMessage;
+ public $name;
+ public $operationType;
+ public $status;
+ public $target;
+ public $zone;
+
+
+ public function setErrorMessage($errorMessage)
+ {
+ $this->errorMessage = $errorMessage;
+ }
+ public function getErrorMessage()
+ {
+ return $this->errorMessage;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOperationType($operationType)
+ {
+ $this->operationType = $operationType;
+ }
+ public function getOperationType()
+ {
+ return $this->operationType;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setTarget($target)
+ {
+ $this->target = $target;
+ }
+ public function getTarget()
+ {
+ return $this->target;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Coordinate.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Coordinate.php
new file mode 100644
index 0000000..cb9189f
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Coordinate.php
@@ -0,0 +1,1382 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Coordinate (v1).
+ *
+ * <p>
+ * Lets you view and manage jobs in a Coordinate team.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/coordinate/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Coordinate extends Postman_Google_Service
+{
+ /** View and manage your Google Maps Coordinate jobs. */
+ const COORDINATE =
+ "https://www.googleapis.com/auth/coordinate";
+ /** View your Google Coordinate jobs. */
+ const COORDINATE_READONLY =
+ "https://www.googleapis.com/auth/coordinate.readonly";
+
+ public $customFieldDef;
+ public $jobs;
+ public $location;
+ public $schedule;
+ public $worker;
+
+
+ /**
+ * Constructs the internal representation of the Coordinate service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'coordinate/v1/teams/';
+ $this->version = 'v1';
+ $this->serviceName = 'coordinate';
+
+ $this->customFieldDef = new Postman_Google_Service_Coordinate_CustomFieldDef_Resource(
+ $this,
+ $this->serviceName,
+ 'customFieldDef',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{teamId}/custom_fields',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'teamId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->jobs = new Postman_Google_Service_Coordinate_Jobs_Resource(
+ $this,
+ $this->serviceName,
+ 'jobs',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{teamId}/jobs/{jobId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'teamId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{teamId}/jobs',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'teamId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'address' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'lat' => array(
+ 'location' => 'query',
+ 'type' => 'number',
+ 'required' => true,
+ ),
+ 'lng' => array(
+ 'location' => 'query',
+ 'type' => 'number',
+ 'required' => true,
+ ),
+ 'title' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customerName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'note' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'assignee' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'customerPhoneNumber' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'customField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{teamId}/jobs',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'teamId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'minModifiedTimestampMs' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{teamId}/jobs/{jobId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'teamId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customerName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'title' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'note' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'assignee' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'customerPhoneNumber' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'address' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'lat' => array(
+ 'location' => 'query',
+ 'type' => 'number',
+ ),
+ 'progress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'lng' => array(
+ 'location' => 'query',
+ 'type' => 'number',
+ ),
+ 'customField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{teamId}/jobs/{jobId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'teamId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customerName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'title' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'note' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'assignee' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'customerPhoneNumber' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'address' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'lat' => array(
+ 'location' => 'query',
+ 'type' => 'number',
+ ),
+ 'progress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'lng' => array(
+ 'location' => 'query',
+ 'type' => 'number',
+ ),
+ 'customField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->location = new Postman_Google_Service_Coordinate_Location_Resource(
+ $this,
+ $this->serviceName,
+ 'location',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{teamId}/workers/{workerEmail}/locations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'teamId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'workerEmail' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'startTimestampMs' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->schedule = new Postman_Google_Service_Coordinate_Schedule_Resource(
+ $this,
+ $this->serviceName,
+ 'schedule',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{teamId}/jobs/{jobId}/schedule',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'teamId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{teamId}/jobs/{jobId}/schedule',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'teamId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'allDay' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'startTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'duration' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{teamId}/jobs/{jobId}/schedule',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'teamId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'allDay' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'startTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'duration' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->worker = new Postman_Google_Service_Coordinate_Worker_Resource(
+ $this,
+ $this->serviceName,
+ 'worker',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{teamId}/workers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'teamId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "customFieldDef" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $coordinateService = new Postman_Google_Service_Coordinate(...);
+ * $customFieldDef = $coordinateService->customFieldDef;
+ * </code>
+ */
+class Postman_Google_Service_Coordinate_CustomFieldDef_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves a list of custom field definitions for a team.
+ * (customFieldDef.listCustomFieldDef)
+ *
+ * @param string $teamId Team ID
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Coordinate_CustomFieldDefListResponse
+ */
+ public function listCustomFieldDef($teamId, $optParams = array())
+ {
+ $params = array('teamId' => $teamId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Coordinate_CustomFieldDefListResponse");
+ }
+}
+
+/**
+ * The "jobs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $coordinateService = new Postman_Google_Service_Coordinate(...);
+ * $jobs = $coordinateService->jobs;
+ * </code>
+ */
+class Postman_Google_Service_Coordinate_Jobs_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves a job, including all the changes made to the job. (jobs.get)
+ *
+ * @param string $teamId Team ID
+ * @param string $jobId Job number
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Coordinate_Job
+ */
+ public function get($teamId, $jobId, $optParams = array())
+ {
+ $params = array('teamId' => $teamId, 'jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Coordinate_Job");
+ }
+
+ /**
+ * Inserts a new job. Only the state field of the job should be set.
+ * (jobs.insert)
+ *
+ * @param string $teamId Team ID
+ * @param string $address Job address as newline (Unix) separated string
+ * @param double $lat The latitude coordinate of this job's location.
+ * @param double $lng The longitude coordinate of this job's location.
+ * @param string $title Job title
+ * @param Postman_Google_Job $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string customerName Customer name
+ * @opt_param string note Job note as newline (Unix) separated string
+ * @opt_param string assignee Assignee email address, or empty string to
+ * unassign.
+ * @opt_param string customerPhoneNumber Customer phone number
+ * @opt_param string customField Map from custom field id (from
+ * /team//custom_fields) to the field value. For example '123=Alice'
+ * @return Postman_Google_Service_Coordinate_Job
+ */
+ public function insert($teamId, $address, $lat, $lng, $title, Postman_Google_Service_Coordinate_Job $postBody, $optParams = array())
+ {
+ $params = array('teamId' => $teamId, 'address' => $address, 'lat' => $lat, 'lng' => $lng, 'title' => $title, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Coordinate_Job");
+ }
+
+ /**
+ * Retrieves jobs created or modified since the given timestamp. (jobs.listJobs)
+ *
+ * @param string $teamId Team ID
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string minModifiedTimestampMs Minimum time a job was modified in
+ * milliseconds since epoch.
+ * @opt_param string maxResults Maximum number of results to return in one page.
+ * @opt_param string pageToken Continuation token
+ * @return Postman_Google_Service_Coordinate_JobListResponse
+ */
+ public function listJobs($teamId, $optParams = array())
+ {
+ $params = array('teamId' => $teamId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Coordinate_JobListResponse");
+ }
+
+ /**
+ * Updates a job. Fields that are set in the job state will be updated. This
+ * method supports patch semantics. (jobs.patch)
+ *
+ * @param string $teamId Team ID
+ * @param string $jobId Job number
+ * @param Postman_Google_Job $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string customerName Customer name
+ * @opt_param string title Job title
+ * @opt_param string note Job note as newline (Unix) separated string
+ * @opt_param string assignee Assignee email address, or empty string to
+ * unassign.
+ * @opt_param string customerPhoneNumber Customer phone number
+ * @opt_param string address Job address as newline (Unix) separated string
+ * @opt_param double lat The latitude coordinate of this job's location.
+ * @opt_param string progress Job progress
+ * @opt_param double lng The longitude coordinate of this job's location.
+ * @opt_param string customField Map from custom field id (from
+ * /team//custom_fields) to the field value. For example '123=Alice'
+ * @return Postman_Google_Service_Coordinate_Job
+ */
+ public function patch($teamId, $jobId, Postman_Google_Service_Coordinate_Job $postBody, $optParams = array())
+ {
+ $params = array('teamId' => $teamId, 'jobId' => $jobId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Coordinate_Job");
+ }
+
+ /**
+ * Updates a job. Fields that are set in the job state will be updated.
+ * (jobs.update)
+ *
+ * @param string $teamId Team ID
+ * @param string $jobId Job number
+ * @param Postman_Google_Job $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string customerName Customer name
+ * @opt_param string title Job title
+ * @opt_param string note Job note as newline (Unix) separated string
+ * @opt_param string assignee Assignee email address, or empty string to
+ * unassign.
+ * @opt_param string customerPhoneNumber Customer phone number
+ * @opt_param string address Job address as newline (Unix) separated string
+ * @opt_param double lat The latitude coordinate of this job's location.
+ * @opt_param string progress Job progress
+ * @opt_param double lng The longitude coordinate of this job's location.
+ * @opt_param string customField Map from custom field id (from
+ * /team//custom_fields) to the field value. For example '123=Alice'
+ * @return Postman_Google_Service_Coordinate_Job
+ */
+ public function update($teamId, $jobId, Postman_Google_Service_Coordinate_Job $postBody, $optParams = array())
+ {
+ $params = array('teamId' => $teamId, 'jobId' => $jobId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Coordinate_Job");
+ }
+}
+
+/**
+ * The "location" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $coordinateService = new Postman_Google_Service_Coordinate(...);
+ * $location = $coordinateService->location;
+ * </code>
+ */
+class Postman_Google_Service_Coordinate_Location_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves a list of locations for a worker. (location.listLocation)
+ *
+ * @param string $teamId Team ID
+ * @param string $workerEmail Worker email address.
+ * @param string $startTimestampMs Start timestamp in milliseconds since the
+ * epoch.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Continuation token
+ * @opt_param string maxResults Maximum number of results to return in one page.
+ * @return Postman_Google_Service_Coordinate_LocationListResponse
+ */
+ public function listLocation($teamId, $workerEmail, $startTimestampMs, $optParams = array())
+ {
+ $params = array('teamId' => $teamId, 'workerEmail' => $workerEmail, 'startTimestampMs' => $startTimestampMs);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Coordinate_LocationListResponse");
+ }
+}
+
+/**
+ * The "schedule" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $coordinateService = new Postman_Google_Service_Coordinate(...);
+ * $schedule = $coordinateService->schedule;
+ * </code>
+ */
+class Postman_Google_Service_Coordinate_Schedule_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves the schedule for a job. (schedule.get)
+ *
+ * @param string $teamId Team ID
+ * @param string $jobId Job number
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Coordinate_Schedule
+ */
+ public function get($teamId, $jobId, $optParams = array())
+ {
+ $params = array('teamId' => $teamId, 'jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Coordinate_Schedule");
+ }
+
+ /**
+ * Replaces the schedule of a job with the provided schedule. This method
+ * supports patch semantics. (schedule.patch)
+ *
+ * @param string $teamId Team ID
+ * @param string $jobId Job number
+ * @param Postman_Google_Schedule $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool allDay Whether the job is scheduled for the whole day. Time
+ * of day in start/end times is ignored if this is true.
+ * @opt_param string startTime Scheduled start time in milliseconds since epoch.
+ * @opt_param string duration Job duration in milliseconds.
+ * @opt_param string endTime Scheduled end time in milliseconds since epoch.
+ * @return Postman_Google_Service_Coordinate_Schedule
+ */
+ public function patch($teamId, $jobId, Postman_Google_Service_Coordinate_Schedule $postBody, $optParams = array())
+ {
+ $params = array('teamId' => $teamId, 'jobId' => $jobId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Coordinate_Schedule");
+ }
+
+ /**
+ * Replaces the schedule of a job with the provided schedule. (schedule.update)
+ *
+ * @param string $teamId Team ID
+ * @param string $jobId Job number
+ * @param Postman_Google_Schedule $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool allDay Whether the job is scheduled for the whole day. Time
+ * of day in start/end times is ignored if this is true.
+ * @opt_param string startTime Scheduled start time in milliseconds since epoch.
+ * @opt_param string duration Job duration in milliseconds.
+ * @opt_param string endTime Scheduled end time in milliseconds since epoch.
+ * @return Postman_Google_Service_Coordinate_Schedule
+ */
+ public function update($teamId, $jobId, Postman_Google_Service_Coordinate_Schedule $postBody, $optParams = array())
+ {
+ $params = array('teamId' => $teamId, 'jobId' => $jobId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Coordinate_Schedule");
+ }
+}
+
+/**
+ * The "worker" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $coordinateService = new Postman_Google_Service_Coordinate(...);
+ * $worker = $coordinateService->worker;
+ * </code>
+ */
+class Postman_Google_Service_Coordinate_Worker_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves a list of workers in a team. (worker.listWorker)
+ *
+ * @param string $teamId Team ID
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Coordinate_WorkerListResponse
+ */
+ public function listWorker($teamId, $optParams = array())
+ {
+ $params = array('teamId' => $teamId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Coordinate_WorkerListResponse");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Coordinate_CustomField extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $customFieldId;
+ public $kind;
+ public $value;
+
+
+ public function setCustomFieldId($customFieldId)
+ {
+ $this->customFieldId = $customFieldId;
+ }
+ public function getCustomFieldId()
+ {
+ return $this->customFieldId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Coordinate_CustomFieldDef extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $enabled;
+ public $id;
+ public $kind;
+ public $name;
+ public $requiredForCheckout;
+ public $type;
+
+
+ public function setEnabled($enabled)
+ {
+ $this->enabled = $enabled;
+ }
+ public function getEnabled()
+ {
+ return $this->enabled;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setRequiredForCheckout($requiredForCheckout)
+ {
+ $this->requiredForCheckout = $requiredForCheckout;
+ }
+ public function getRequiredForCheckout()
+ {
+ return $this->requiredForCheckout;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Coordinate_CustomFieldDefListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Coordinate_CustomFieldDef';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Coordinate_CustomFields extends Postman_Google_Collection
+{
+ protected $collection_key = 'customField';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $customFieldType = 'Postman_Google_Service_Coordinate_CustomField';
+ protected $customFieldDataType = 'array';
+ public $kind;
+
+
+ public function setCustomField($customField)
+ {
+ $this->customField = $customField;
+ }
+ public function getCustomField()
+ {
+ return $this->customField;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Coordinate_Job extends Postman_Google_Collection
+{
+ protected $collection_key = 'jobChange';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $jobChangeType = 'Postman_Google_Service_Coordinate_JobChange';
+ protected $jobChangeDataType = 'array';
+ public $kind;
+ protected $stateType = 'Postman_Google_Service_Coordinate_JobState';
+ protected $stateDataType = '';
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setJobChange($jobChange)
+ {
+ $this->jobChange = $jobChange;
+ }
+ public function getJobChange()
+ {
+ return $this->jobChange;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setState(Postman_Google_Service_Coordinate_JobState $state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+}
+
+class Postman_Google_Service_Coordinate_JobChange extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $stateType = 'Postman_Google_Service_Coordinate_JobState';
+ protected $stateDataType = '';
+ public $timestamp;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setState(Postman_Google_Service_Coordinate_JobState $state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setTimestamp($timestamp)
+ {
+ $this->timestamp = $timestamp;
+ }
+ public function getTimestamp()
+ {
+ return $this->timestamp;
+ }
+}
+
+class Postman_Google_Service_Coordinate_JobListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Coordinate_Job';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Coordinate_JobState extends Postman_Google_Collection
+{
+ protected $collection_key = 'note';
+ protected $internal_gapi_mappings = array(
+ );
+ public $assignee;
+ protected $customFieldsType = 'Postman_Google_Service_Coordinate_CustomFields';
+ protected $customFieldsDataType = '';
+ public $customerName;
+ public $customerPhoneNumber;
+ public $kind;
+ protected $locationType = 'Postman_Google_Service_Coordinate_Location';
+ protected $locationDataType = '';
+ public $note;
+ public $progress;
+ public $title;
+
+
+ public function setAssignee($assignee)
+ {
+ $this->assignee = $assignee;
+ }
+ public function getAssignee()
+ {
+ return $this->assignee;
+ }
+ public function setCustomFields(Postman_Google_Service_Coordinate_CustomFields $customFields)
+ {
+ $this->customFields = $customFields;
+ }
+ public function getCustomFields()
+ {
+ return $this->customFields;
+ }
+ public function setCustomerName($customerName)
+ {
+ $this->customerName = $customerName;
+ }
+ public function getCustomerName()
+ {
+ return $this->customerName;
+ }
+ public function setCustomerPhoneNumber($customerPhoneNumber)
+ {
+ $this->customerPhoneNumber = $customerPhoneNumber;
+ }
+ public function getCustomerPhoneNumber()
+ {
+ return $this->customerPhoneNumber;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLocation(Postman_Google_Service_Coordinate_Location $location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setNote($note)
+ {
+ $this->note = $note;
+ }
+ public function getNote()
+ {
+ return $this->note;
+ }
+ public function setProgress($progress)
+ {
+ $this->progress = $progress;
+ }
+ public function getProgress()
+ {
+ return $this->progress;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_Coordinate_Location extends Postman_Google_Collection
+{
+ protected $collection_key = 'addressLine';
+ protected $internal_gapi_mappings = array(
+ );
+ public $addressLine;
+ public $kind;
+ public $lat;
+ public $lng;
+
+
+ public function setAddressLine($addressLine)
+ {
+ $this->addressLine = $addressLine;
+ }
+ public function getAddressLine()
+ {
+ return $this->addressLine;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLat($lat)
+ {
+ $this->lat = $lat;
+ }
+ public function getLat()
+ {
+ return $this->lat;
+ }
+ public function setLng($lng)
+ {
+ $this->lng = $lng;
+ }
+ public function getLng()
+ {
+ return $this->lng;
+ }
+}
+
+class Postman_Google_Service_Coordinate_LocationListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Coordinate_LocationRecord';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $tokenPaginationType = 'Postman_Google_Service_Coordinate_TokenPagination';
+ protected $tokenPaginationDataType = '';
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTokenPagination(Postman_Google_Service_Coordinate_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+}
+
+class Postman_Google_Service_Coordinate_LocationRecord extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $collectionTime;
+ public $confidenceRadius;
+ public $kind;
+ public $latitude;
+ public $longitude;
+
+
+ public function setCollectionTime($collectionTime)
+ {
+ $this->collectionTime = $collectionTime;
+ }
+ public function getCollectionTime()
+ {
+ return $this->collectionTime;
+ }
+ public function setConfidenceRadius($confidenceRadius)
+ {
+ $this->confidenceRadius = $confidenceRadius;
+ }
+ public function getConfidenceRadius()
+ {
+ return $this->confidenceRadius;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLatitude($latitude)
+ {
+ $this->latitude = $latitude;
+ }
+ public function getLatitude()
+ {
+ return $this->latitude;
+ }
+ public function setLongitude($longitude)
+ {
+ $this->longitude = $longitude;
+ }
+ public function getLongitude()
+ {
+ return $this->longitude;
+ }
+}
+
+class Postman_Google_Service_Coordinate_Schedule extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $allDay;
+ public $duration;
+ public $endTime;
+ public $kind;
+ public $startTime;
+
+
+ public function setAllDay($allDay)
+ {
+ $this->allDay = $allDay;
+ }
+ public function getAllDay()
+ {
+ return $this->allDay;
+ }
+ public function setDuration($duration)
+ {
+ $this->duration = $duration;
+ }
+ public function getDuration()
+ {
+ return $this->duration;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+}
+
+class Postman_Google_Service_Coordinate_TokenPagination extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $nextPageToken;
+ public $previousPageToken;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPreviousPageToken($previousPageToken)
+ {
+ $this->previousPageToken = $previousPageToken;
+ }
+ public function getPreviousPageToken()
+ {
+ return $this->previousPageToken;
+ }
+}
+
+class Postman_Google_Service_Coordinate_Worker extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Coordinate_WorkerListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Coordinate_Worker';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Customsearch.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Customsearch.php
new file mode 100644
index 0000000..9d09a44
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Customsearch.php
@@ -0,0 +1,1276 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Customsearch (v1).
+ *
+ * <p>
+ * Lets you search over a website or collection of websites</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/custom-search/v1/using_rest" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Customsearch extends Postman_Google_Service
+{
+
+
+ public $cse;
+
+
+ /**
+ * Constructs the internal representation of the Customsearch service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'customsearch/';
+ $this->version = 'v1';
+ $this->serviceName = 'customsearch';
+
+ $this->cse = new Postman_Google_Service_Customsearch_Cse_Resource(
+ $this,
+ $this->serviceName,
+ 'cse',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v1',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sort' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'orTerms' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'highRange' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'num' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'cr' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'imgType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'gl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'relatedSite' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'fileType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'start' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'imgDominantColor' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'lr' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'siteSearch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'cref' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'dateRestrict' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'safe' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'c2coff' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'googlehost' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'hq' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'exactTerms' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'hl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'lowRange' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'imgSize' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'imgColorType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'rights' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'excludeTerms' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'linkSite' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'cx' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'siteSearchFilter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "cse" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $customsearchService = new Postman_Google_Service_Customsearch(...);
+ * $cse = $customsearchService->cse;
+ * </code>
+ */
+class Postman_Google_Service_Customsearch_Cse_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns metadata about the search performed, metadata about the custom search
+ * engine used for the search, and the search results. (cse.listCse)
+ *
+ * @param string $q Query
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string sort The sort expression to apply to the results
+ * @opt_param string orTerms Provides additional search terms to check for in a
+ * document, where each document in the search results must contain at least one
+ * of the additional search terms
+ * @opt_param string highRange Creates a range in form as_nlo value..as_nhi
+ * value and attempts to append it to query
+ * @opt_param string num Number of search results to return
+ * @opt_param string cr Country restrict(s).
+ * @opt_param string imgType Returns images of a type, which can be one of:
+ * clipart, face, lineart, news, and photo.
+ * @opt_param string gl Geolocation of end user.
+ * @opt_param string relatedSite Specifies that all search results should be
+ * pages that are related to the specified URL
+ * @opt_param string searchType Specifies the search type: image.
+ * @opt_param string fileType Returns images of a specified type. Some of the
+ * allowed values are: bmp, gif, png, jpg, svg, pdf, ...
+ * @opt_param string start The index of the first result to return
+ * @opt_param string imgDominantColor Returns images of a specific dominant
+ * color: yellow, green, teal, blue, purple, pink, white, gray, black and brown.
+ * @opt_param string lr The language restriction for the search results
+ * @opt_param string siteSearch Specifies all search results should be pages
+ * from a given site
+ * @opt_param string cref The URL of a linked custom search engine
+ * @opt_param string dateRestrict Specifies all search results are from a time
+ * period
+ * @opt_param string safe Search safety level
+ * @opt_param string c2coff Turns off the translation between zh-CN and zh-TW.
+ * @opt_param string googlehost The local Google domain to use to perform the
+ * search.
+ * @opt_param string hq Appends the extra query terms to the query.
+ * @opt_param string exactTerms Identifies a phrase that all documents in the
+ * search results must contain
+ * @opt_param string hl Sets the user interface language.
+ * @opt_param string lowRange Creates a range in form as_nlo value..as_nhi value
+ * and attempts to append it to query
+ * @opt_param string imgSize Returns images of a specified size, where size can
+ * be one of: icon, small, medium, large, xlarge, xxlarge, and huge.
+ * @opt_param string imgColorType Returns black and white, grayscale, or color
+ * images: mono, gray, and color.
+ * @opt_param string rights Filters based on licensing. Supported values
+ * include: cc_publicdomain, cc_attribute, cc_sharealike, cc_noncommercial,
+ * cc_nonderived and combinations of these.
+ * @opt_param string excludeTerms Identifies a word or phrase that should not
+ * appear in any documents in the search results
+ * @opt_param string filter Controls turning on or off the duplicate content
+ * filter.
+ * @opt_param string linkSite Specifies that all search results should contain a
+ * link to a particular URL
+ * @opt_param string cx The custom search engine ID to scope this search query
+ * @opt_param string siteSearchFilter Controls whether to include or exclude
+ * results from the site named in the as_sitesearch parameter
+ * @return Postman_Google_Service_Customsearch_Search
+ */
+ public function listCse($q, $optParams = array())
+ {
+ $params = array('q' => $q);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Customsearch_Search");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Customsearch_Context extends Postman_Google_Collection
+{
+ protected $collection_key = 'facets';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $facetsType = 'Postman_Google_Service_Customsearch_ContextFacets';
+ protected $facetsDataType = 'array';
+ public $title;
+
+
+ public function setFacets($facets)
+ {
+ $this->facets = $facets;
+ }
+ public function getFacets()
+ {
+ return $this->facets;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_Customsearch_ContextFacets extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "labelWithOp" => "label_with_op",
+ );
+ public $anchor;
+ public $label;
+ public $labelWithOp;
+
+
+ public function setAnchor($anchor)
+ {
+ $this->anchor = $anchor;
+ }
+ public function getAnchor()
+ {
+ return $this->anchor;
+ }
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
+ public function setLabelWithOp($labelWithOp)
+ {
+ $this->labelWithOp = $labelWithOp;
+ }
+ public function getLabelWithOp()
+ {
+ return $this->labelWithOp;
+ }
+}
+
+class Postman_Google_Service_Customsearch_Promotion extends Postman_Google_Collection
+{
+ protected $collection_key = 'bodyLines';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $bodyLinesType = 'Postman_Google_Service_Customsearch_PromotionBodyLines';
+ protected $bodyLinesDataType = 'array';
+ public $displayLink;
+ public $htmlTitle;
+ protected $imageType = 'Postman_Google_Service_Customsearch_PromotionImage';
+ protected $imageDataType = '';
+ public $link;
+ public $title;
+
+
+ public function setBodyLines($bodyLines)
+ {
+ $this->bodyLines = $bodyLines;
+ }
+ public function getBodyLines()
+ {
+ return $this->bodyLines;
+ }
+ public function setDisplayLink($displayLink)
+ {
+ $this->displayLink = $displayLink;
+ }
+ public function getDisplayLink()
+ {
+ return $this->displayLink;
+ }
+ public function setHtmlTitle($htmlTitle)
+ {
+ $this->htmlTitle = $htmlTitle;
+ }
+ public function getHtmlTitle()
+ {
+ return $this->htmlTitle;
+ }
+ public function setImage(Postman_Google_Service_Customsearch_PromotionImage $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+ public function getLink()
+ {
+ return $this->link;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_Customsearch_PromotionBodyLines extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $htmlTitle;
+ public $link;
+ public $title;
+ public $url;
+
+
+ public function setHtmlTitle($htmlTitle)
+ {
+ $this->htmlTitle = $htmlTitle;
+ }
+ public function getHtmlTitle()
+ {
+ return $this->htmlTitle;
+ }
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+ public function getLink()
+ {
+ return $this->link;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Customsearch_PromotionImage extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $height;
+ public $source;
+ public $width;
+
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setSource($source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_Customsearch_Query extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $count;
+ public $cr;
+ public $cref;
+ public $cx;
+ public $dateRestrict;
+ public $disableCnTwTranslation;
+ public $exactTerms;
+ public $excludeTerms;
+ public $fileType;
+ public $filter;
+ public $gl;
+ public $googleHost;
+ public $highRange;
+ public $hl;
+ public $hq;
+ public $imgColorType;
+ public $imgDominantColor;
+ public $imgSize;
+ public $imgType;
+ public $inputEncoding;
+ public $language;
+ public $linkSite;
+ public $lowRange;
+ public $orTerms;
+ public $outputEncoding;
+ public $relatedSite;
+ public $rights;
+ public $safe;
+ public $searchTerms;
+ public $searchType;
+ public $siteSearch;
+ public $siteSearchFilter;
+ public $sort;
+ public $startIndex;
+ public $startPage;
+ public $title;
+ public $totalResults;
+
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+ public function setCr($cr)
+ {
+ $this->cr = $cr;
+ }
+ public function getCr()
+ {
+ return $this->cr;
+ }
+ public function setCref($cref)
+ {
+ $this->cref = $cref;
+ }
+ public function getCref()
+ {
+ return $this->cref;
+ }
+ public function setCx($cx)
+ {
+ $this->cx = $cx;
+ }
+ public function getCx()
+ {
+ return $this->cx;
+ }
+ public function setDateRestrict($dateRestrict)
+ {
+ $this->dateRestrict = $dateRestrict;
+ }
+ public function getDateRestrict()
+ {
+ return $this->dateRestrict;
+ }
+ public function setDisableCnTwTranslation($disableCnTwTranslation)
+ {
+ $this->disableCnTwTranslation = $disableCnTwTranslation;
+ }
+ public function getDisableCnTwTranslation()
+ {
+ return $this->disableCnTwTranslation;
+ }
+ public function setExactTerms($exactTerms)
+ {
+ $this->exactTerms = $exactTerms;
+ }
+ public function getExactTerms()
+ {
+ return $this->exactTerms;
+ }
+ public function setExcludeTerms($excludeTerms)
+ {
+ $this->excludeTerms = $excludeTerms;
+ }
+ public function getExcludeTerms()
+ {
+ return $this->excludeTerms;
+ }
+ public function setFileType($fileType)
+ {
+ $this->fileType = $fileType;
+ }
+ public function getFileType()
+ {
+ return $this->fileType;
+ }
+ public function setFilter($filter)
+ {
+ $this->filter = $filter;
+ }
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+ public function setGl($gl)
+ {
+ $this->gl = $gl;
+ }
+ public function getGl()
+ {
+ return $this->gl;
+ }
+ public function setGoogleHost($googleHost)
+ {
+ $this->googleHost = $googleHost;
+ }
+ public function getGoogleHost()
+ {
+ return $this->googleHost;
+ }
+ public function setHighRange($highRange)
+ {
+ $this->highRange = $highRange;
+ }
+ public function getHighRange()
+ {
+ return $this->highRange;
+ }
+ public function setHl($hl)
+ {
+ $this->hl = $hl;
+ }
+ public function getHl()
+ {
+ return $this->hl;
+ }
+ public function setHq($hq)
+ {
+ $this->hq = $hq;
+ }
+ public function getHq()
+ {
+ return $this->hq;
+ }
+ public function setImgColorType($imgColorType)
+ {
+ $this->imgColorType = $imgColorType;
+ }
+ public function getImgColorType()
+ {
+ return $this->imgColorType;
+ }
+ public function setImgDominantColor($imgDominantColor)
+ {
+ $this->imgDominantColor = $imgDominantColor;
+ }
+ public function getImgDominantColor()
+ {
+ return $this->imgDominantColor;
+ }
+ public function setImgSize($imgSize)
+ {
+ $this->imgSize = $imgSize;
+ }
+ public function getImgSize()
+ {
+ return $this->imgSize;
+ }
+ public function setImgType($imgType)
+ {
+ $this->imgType = $imgType;
+ }
+ public function getImgType()
+ {
+ return $this->imgType;
+ }
+ public function setInputEncoding($inputEncoding)
+ {
+ $this->inputEncoding = $inputEncoding;
+ }
+ public function getInputEncoding()
+ {
+ return $this->inputEncoding;
+ }
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setLinkSite($linkSite)
+ {
+ $this->linkSite = $linkSite;
+ }
+ public function getLinkSite()
+ {
+ return $this->linkSite;
+ }
+ public function setLowRange($lowRange)
+ {
+ $this->lowRange = $lowRange;
+ }
+ public function getLowRange()
+ {
+ return $this->lowRange;
+ }
+ public function setOrTerms($orTerms)
+ {
+ $this->orTerms = $orTerms;
+ }
+ public function getOrTerms()
+ {
+ return $this->orTerms;
+ }
+ public function setOutputEncoding($outputEncoding)
+ {
+ $this->outputEncoding = $outputEncoding;
+ }
+ public function getOutputEncoding()
+ {
+ return $this->outputEncoding;
+ }
+ public function setRelatedSite($relatedSite)
+ {
+ $this->relatedSite = $relatedSite;
+ }
+ public function getRelatedSite()
+ {
+ return $this->relatedSite;
+ }
+ public function setRights($rights)
+ {
+ $this->rights = $rights;
+ }
+ public function getRights()
+ {
+ return $this->rights;
+ }
+ public function setSafe($safe)
+ {
+ $this->safe = $safe;
+ }
+ public function getSafe()
+ {
+ return $this->safe;
+ }
+ public function setSearchTerms($searchTerms)
+ {
+ $this->searchTerms = $searchTerms;
+ }
+ public function getSearchTerms()
+ {
+ return $this->searchTerms;
+ }
+ public function setSearchType($searchType)
+ {
+ $this->searchType = $searchType;
+ }
+ public function getSearchType()
+ {
+ return $this->searchType;
+ }
+ public function setSiteSearch($siteSearch)
+ {
+ $this->siteSearch = $siteSearch;
+ }
+ public function getSiteSearch()
+ {
+ return $this->siteSearch;
+ }
+ public function setSiteSearchFilter($siteSearchFilter)
+ {
+ $this->siteSearchFilter = $siteSearchFilter;
+ }
+ public function getSiteSearchFilter()
+ {
+ return $this->siteSearchFilter;
+ }
+ public function setSort($sort)
+ {
+ $this->sort = $sort;
+ }
+ public function getSort()
+ {
+ return $this->sort;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+ public function setStartPage($startPage)
+ {
+ $this->startPage = $startPage;
+ }
+ public function getStartPage()
+ {
+ return $this->startPage;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+}
+
+class Postman_Google_Service_Customsearch_Result extends Postman_Google_Collection
+{
+ protected $collection_key = 'labels';
+ protected $internal_gapi_mappings = array(
+ );
+ public $cacheId;
+ public $displayLink;
+ public $fileFormat;
+ public $formattedUrl;
+ public $htmlFormattedUrl;
+ public $htmlSnippet;
+ public $htmlTitle;
+ protected $imageType = 'Postman_Google_Service_Customsearch_ResultImage';
+ protected $imageDataType = '';
+ public $kind;
+ protected $labelsType = 'Postman_Google_Service_Customsearch_ResultLabels';
+ protected $labelsDataType = 'array';
+ public $link;
+ public $mime;
+ public $pagemap;
+ public $snippet;
+ public $title;
+
+
+ public function setCacheId($cacheId)
+ {
+ $this->cacheId = $cacheId;
+ }
+ public function getCacheId()
+ {
+ return $this->cacheId;
+ }
+ public function setDisplayLink($displayLink)
+ {
+ $this->displayLink = $displayLink;
+ }
+ public function getDisplayLink()
+ {
+ return $this->displayLink;
+ }
+ public function setFileFormat($fileFormat)
+ {
+ $this->fileFormat = $fileFormat;
+ }
+ public function getFileFormat()
+ {
+ return $this->fileFormat;
+ }
+ public function setFormattedUrl($formattedUrl)
+ {
+ $this->formattedUrl = $formattedUrl;
+ }
+ public function getFormattedUrl()
+ {
+ return $this->formattedUrl;
+ }
+ public function setHtmlFormattedUrl($htmlFormattedUrl)
+ {
+ $this->htmlFormattedUrl = $htmlFormattedUrl;
+ }
+ public function getHtmlFormattedUrl()
+ {
+ return $this->htmlFormattedUrl;
+ }
+ public function setHtmlSnippet($htmlSnippet)
+ {
+ $this->htmlSnippet = $htmlSnippet;
+ }
+ public function getHtmlSnippet()
+ {
+ return $this->htmlSnippet;
+ }
+ public function setHtmlTitle($htmlTitle)
+ {
+ $this->htmlTitle = $htmlTitle;
+ }
+ public function getHtmlTitle()
+ {
+ return $this->htmlTitle;
+ }
+ public function setImage(Postman_Google_Service_Customsearch_ResultImage $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+ public function getLink()
+ {
+ return $this->link;
+ }
+ public function setMime($mime)
+ {
+ $this->mime = $mime;
+ }
+ public function getMime()
+ {
+ return $this->mime;
+ }
+ public function setPagemap($pagemap)
+ {
+ $this->pagemap = $pagemap;
+ }
+ public function getPagemap()
+ {
+ return $this->pagemap;
+ }
+ public function setSnippet($snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_Customsearch_ResultImage extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $byteSize;
+ public $contextLink;
+ public $height;
+ public $thumbnailHeight;
+ public $thumbnailLink;
+ public $thumbnailWidth;
+ public $width;
+
+
+ public function setByteSize($byteSize)
+ {
+ $this->byteSize = $byteSize;
+ }
+ public function getByteSize()
+ {
+ return $this->byteSize;
+ }
+ public function setContextLink($contextLink)
+ {
+ $this->contextLink = $contextLink;
+ }
+ public function getContextLink()
+ {
+ return $this->contextLink;
+ }
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setThumbnailHeight($thumbnailHeight)
+ {
+ $this->thumbnailHeight = $thumbnailHeight;
+ }
+ public function getThumbnailHeight()
+ {
+ return $this->thumbnailHeight;
+ }
+ public function setThumbnailLink($thumbnailLink)
+ {
+ $this->thumbnailLink = $thumbnailLink;
+ }
+ public function getThumbnailLink()
+ {
+ return $this->thumbnailLink;
+ }
+ public function setThumbnailWidth($thumbnailWidth)
+ {
+ $this->thumbnailWidth = $thumbnailWidth;
+ }
+ public function getThumbnailWidth()
+ {
+ return $this->thumbnailWidth;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_Customsearch_ResultLabels extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "labelWithOp" => "label_with_op",
+ );
+ public $displayName;
+ public $labelWithOp;
+ public $name;
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setLabelWithOp($labelWithOp)
+ {
+ $this->labelWithOp = $labelWithOp;
+ }
+ public function getLabelWithOp()
+ {
+ return $this->labelWithOp;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_Customsearch_ResultPagemap extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Customsearch_ResultPagemapItemElement extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Customsearch_Search extends Postman_Google_Collection
+{
+ protected $collection_key = 'promotions';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $contextType = 'Postman_Google_Service_Customsearch_Context';
+ protected $contextDataType = '';
+ protected $itemsType = 'Postman_Google_Service_Customsearch_Result';
+ protected $itemsDataType = 'array';
+ public $kind;
+ protected $promotionsType = 'Postman_Google_Service_Customsearch_Promotion';
+ protected $promotionsDataType = 'array';
+ protected $queriesType = 'Postman_Google_Service_Customsearch_Query';
+ protected $queriesDataType = 'map';
+ protected $searchInformationType = 'Postman_Google_Service_Customsearch_SearchSearchInformation';
+ protected $searchInformationDataType = '';
+ protected $spellingType = 'Postman_Google_Service_Customsearch_SearchSpelling';
+ protected $spellingDataType = '';
+ protected $urlType = 'Postman_Google_Service_Customsearch_SearchUrl';
+ protected $urlDataType = '';
+
+
+ public function setContext(Postman_Google_Service_Customsearch_Context $context)
+ {
+ $this->context = $context;
+ }
+ public function getContext()
+ {
+ return $this->context;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPromotions($promotions)
+ {
+ $this->promotions = $promotions;
+ }
+ public function getPromotions()
+ {
+ return $this->promotions;
+ }
+ public function setQueries($queries)
+ {
+ $this->queries = $queries;
+ }
+ public function getQueries()
+ {
+ return $this->queries;
+ }
+ public function setSearchInformation(Postman_Google_Service_Customsearch_SearchSearchInformation $searchInformation)
+ {
+ $this->searchInformation = $searchInformation;
+ }
+ public function getSearchInformation()
+ {
+ return $this->searchInformation;
+ }
+ public function setSpelling(Postman_Google_Service_Customsearch_SearchSpelling $spelling)
+ {
+ $this->spelling = $spelling;
+ }
+ public function getSpelling()
+ {
+ return $this->spelling;
+ }
+ public function setUrl(Postman_Google_Service_Customsearch_SearchUrl $url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Customsearch_SearchQueries extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Customsearch_SearchSearchInformation extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $formattedSearchTime;
+ public $formattedTotalResults;
+ public $searchTime;
+ public $totalResults;
+
+
+ public function setFormattedSearchTime($formattedSearchTime)
+ {
+ $this->formattedSearchTime = $formattedSearchTime;
+ }
+ public function getFormattedSearchTime()
+ {
+ return $this->formattedSearchTime;
+ }
+ public function setFormattedTotalResults($formattedTotalResults)
+ {
+ $this->formattedTotalResults = $formattedTotalResults;
+ }
+ public function getFormattedTotalResults()
+ {
+ return $this->formattedTotalResults;
+ }
+ public function setSearchTime($searchTime)
+ {
+ $this->searchTime = $searchTime;
+ }
+ public function getSearchTime()
+ {
+ return $this->searchTime;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+}
+
+class Postman_Google_Service_Customsearch_SearchSpelling extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $correctedQuery;
+ public $htmlCorrectedQuery;
+
+
+ public function setCorrectedQuery($correctedQuery)
+ {
+ $this->correctedQuery = $correctedQuery;
+ }
+ public function getCorrectedQuery()
+ {
+ return $this->correctedQuery;
+ }
+ public function setHtmlCorrectedQuery($htmlCorrectedQuery)
+ {
+ $this->htmlCorrectedQuery = $htmlCorrectedQuery;
+ }
+ public function getHtmlCorrectedQuery()
+ {
+ return $this->htmlCorrectedQuery;
+ }
+}
+
+class Postman_Google_Service_Customsearch_SearchUrl extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $template;
+ public $type;
+
+
+ public function setTemplate($template)
+ {
+ $this->template = $template;
+ }
+ public function getTemplate()
+ {
+ return $this->template;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Datastore.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Datastore.php
new file mode 100644
index 0000000..99b2219
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Datastore.php
@@ -0,0 +1,1524 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Datastore (v1beta2).
+ *
+ * <p>
+ * API for accessing Google Cloud Datastore.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/datastore/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Datastore extends Postman_Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View and manage your Google Cloud Datastore data. */
+ const DATASTORE =
+ "https://www.googleapis.com/auth/datastore";
+ /** View your email address. */
+ const USERINFO_EMAIL =
+ "https://www.googleapis.com/auth/userinfo.email";
+
+ public $datasets;
+
+
+ /**
+ * Constructs the internal representation of the Datastore service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'datastore/v1beta2/datasets/';
+ $this->version = 'v1beta2';
+ $this->serviceName = 'datastore';
+
+ $this->datasets = new Postman_Google_Service_Datastore_Datasets_Resource(
+ $this,
+ $this->serviceName,
+ 'datasets',
+ array(
+ 'methods' => array(
+ 'allocateIds' => array(
+ 'path' => '{datasetId}/allocateIds',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'beginTransaction' => array(
+ 'path' => '{datasetId}/beginTransaction',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'commit' => array(
+ 'path' => '{datasetId}/commit',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'lookup' => array(
+ 'path' => '{datasetId}/lookup',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'rollback' => array(
+ 'path' => '{datasetId}/rollback',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'runQuery' => array(
+ 'path' => '{datasetId}/runQuery',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "datasets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $datastoreService = new Postman_Google_Service_Datastore(...);
+ * $datasets = $datastoreService->datasets;
+ * </code>
+ */
+class Postman_Google_Service_Datastore_Datasets_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Allocate IDs for incomplete keys (useful for referencing an entity before it
+ * is inserted). (datasets.allocateIds)
+ *
+ * @param string $datasetId Identifies the dataset.
+ * @param Postman_Google_AllocateIdsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Datastore_AllocateIdsResponse
+ */
+ public function allocateIds($datasetId, Postman_Google_Service_Datastore_AllocateIdsRequest $postBody, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('allocateIds', array($params), "Postman_Google_Service_Datastore_AllocateIdsResponse");
+ }
+
+ /**
+ * Begin a new transaction. (datasets.beginTransaction)
+ *
+ * @param string $datasetId Identifies the dataset.
+ * @param Postman_Google_BeginTransactionRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Datastore_BeginTransactionResponse
+ */
+ public function beginTransaction($datasetId, Postman_Google_Service_Datastore_BeginTransactionRequest $postBody, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('beginTransaction', array($params), "Postman_Google_Service_Datastore_BeginTransactionResponse");
+ }
+
+ /**
+ * Commit a transaction, optionally creating, deleting or modifying some
+ * entities. (datasets.commit)
+ *
+ * @param string $datasetId Identifies the dataset.
+ * @param Postman_Google_CommitRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Datastore_CommitResponse
+ */
+ public function commit($datasetId, Postman_Google_Service_Datastore_CommitRequest $postBody, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('commit', array($params), "Postman_Google_Service_Datastore_CommitResponse");
+ }
+
+ /**
+ * Look up some entities by key. (datasets.lookup)
+ *
+ * @param string $datasetId Identifies the dataset.
+ * @param Postman_Google_LookupRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Datastore_LookupResponse
+ */
+ public function lookup($datasetId, Postman_Google_Service_Datastore_LookupRequest $postBody, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('lookup', array($params), "Postman_Google_Service_Datastore_LookupResponse");
+ }
+
+ /**
+ * Roll back a transaction. (datasets.rollback)
+ *
+ * @param string $datasetId Identifies the dataset.
+ * @param Postman_Google_RollbackRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Datastore_RollbackResponse
+ */
+ public function rollback($datasetId, Postman_Google_Service_Datastore_RollbackRequest $postBody, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('rollback', array($params), "Postman_Google_Service_Datastore_RollbackResponse");
+ }
+
+ /**
+ * Query for entities. (datasets.runQuery)
+ *
+ * @param string $datasetId Identifies the dataset.
+ * @param Postman_Google_RunQueryRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Datastore_RunQueryResponse
+ */
+ public function runQuery($datasetId, Postman_Google_Service_Datastore_RunQueryRequest $postBody, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('runQuery', array($params), "Postman_Google_Service_Datastore_RunQueryResponse");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Datastore_AllocateIdsRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'keys';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $keysType = 'Postman_Google_Service_Datastore_Key';
+ protected $keysDataType = 'array';
+
+
+ public function setKeys($keys)
+ {
+ $this->keys = $keys;
+ }
+ public function getKeys()
+ {
+ return $this->keys;
+ }
+}
+
+class Postman_Google_Service_Datastore_AllocateIdsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'keys';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $headerType = 'Postman_Google_Service_Datastore_ResponseHeader';
+ protected $headerDataType = '';
+ protected $keysType = 'Postman_Google_Service_Datastore_Key';
+ protected $keysDataType = 'array';
+
+
+ public function setHeader(Postman_Google_Service_Datastore_ResponseHeader $header)
+ {
+ $this->header = $header;
+ }
+ public function getHeader()
+ {
+ return $this->header;
+ }
+ public function setKeys($keys)
+ {
+ $this->keys = $keys;
+ }
+ public function getKeys()
+ {
+ return $this->keys;
+ }
+}
+
+class Postman_Google_Service_Datastore_BeginTransactionRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $isolationLevel;
+
+
+ public function setIsolationLevel($isolationLevel)
+ {
+ $this->isolationLevel = $isolationLevel;
+ }
+ public function getIsolationLevel()
+ {
+ return $this->isolationLevel;
+ }
+}
+
+class Postman_Google_Service_Datastore_BeginTransactionResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $headerType = 'Postman_Google_Service_Datastore_ResponseHeader';
+ protected $headerDataType = '';
+ public $transaction;
+
+
+ public function setHeader(Postman_Google_Service_Datastore_ResponseHeader $header)
+ {
+ $this->header = $header;
+ }
+ public function getHeader()
+ {
+ return $this->header;
+ }
+ public function setTransaction($transaction)
+ {
+ $this->transaction = $transaction;
+ }
+ public function getTransaction()
+ {
+ return $this->transaction;
+ }
+}
+
+class Postman_Google_Service_Datastore_CommitRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $ignoreReadOnly;
+ public $mode;
+ protected $mutationType = 'Postman_Google_Service_Datastore_Mutation';
+ protected $mutationDataType = '';
+ public $transaction;
+
+
+ public function setIgnoreReadOnly($ignoreReadOnly)
+ {
+ $this->ignoreReadOnly = $ignoreReadOnly;
+ }
+ public function getIgnoreReadOnly()
+ {
+ return $this->ignoreReadOnly;
+ }
+ public function setMode($mode)
+ {
+ $this->mode = $mode;
+ }
+ public function getMode()
+ {
+ return $this->mode;
+ }
+ public function setMutation(Postman_Google_Service_Datastore_Mutation $mutation)
+ {
+ $this->mutation = $mutation;
+ }
+ public function getMutation()
+ {
+ return $this->mutation;
+ }
+ public function setTransaction($transaction)
+ {
+ $this->transaction = $transaction;
+ }
+ public function getTransaction()
+ {
+ return $this->transaction;
+ }
+}
+
+class Postman_Google_Service_Datastore_CommitResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $headerType = 'Postman_Google_Service_Datastore_ResponseHeader';
+ protected $headerDataType = '';
+ protected $mutationResultType = 'Postman_Google_Service_Datastore_MutationResult';
+ protected $mutationResultDataType = '';
+
+
+ public function setHeader(Postman_Google_Service_Datastore_ResponseHeader $header)
+ {
+ $this->header = $header;
+ }
+ public function getHeader()
+ {
+ return $this->header;
+ }
+ public function setMutationResult(Postman_Google_Service_Datastore_MutationResult $mutationResult)
+ {
+ $this->mutationResult = $mutationResult;
+ }
+ public function getMutationResult()
+ {
+ return $this->mutationResult;
+ }
+}
+
+class Postman_Google_Service_Datastore_CompositeFilter extends Postman_Google_Collection
+{
+ protected $collection_key = 'filters';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $filtersType = 'Postman_Google_Service_Datastore_Filter';
+ protected $filtersDataType = 'array';
+ public $operator;
+
+
+ public function setFilters($filters)
+ {
+ $this->filters = $filters;
+ }
+ public function getFilters()
+ {
+ return $this->filters;
+ }
+ public function setOperator($operator)
+ {
+ $this->operator = $operator;
+ }
+ public function getOperator()
+ {
+ return $this->operator;
+ }
+}
+
+class Postman_Google_Service_Datastore_Entity extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $keyType = 'Postman_Google_Service_Datastore_Key';
+ protected $keyDataType = '';
+ protected $propertiesType = 'Postman_Google_Service_Datastore_Property';
+ protected $propertiesDataType = 'map';
+
+
+ public function setKey(Postman_Google_Service_Datastore_Key $key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setProperties($properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+}
+
+class Postman_Google_Service_Datastore_EntityProperties extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Datastore_EntityResult extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entityType = 'Postman_Google_Service_Datastore_Entity';
+ protected $entityDataType = '';
+
+
+ public function setEntity(Postman_Google_Service_Datastore_Entity $entity)
+ {
+ $this->entity = $entity;
+ }
+ public function getEntity()
+ {
+ return $this->entity;
+ }
+}
+
+class Postman_Google_Service_Datastore_Filter extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $compositeFilterType = 'Postman_Google_Service_Datastore_CompositeFilter';
+ protected $compositeFilterDataType = '';
+ protected $propertyFilterType = 'Postman_Google_Service_Datastore_PropertyFilter';
+ protected $propertyFilterDataType = '';
+
+
+ public function setCompositeFilter(Postman_Google_Service_Datastore_CompositeFilter $compositeFilter)
+ {
+ $this->compositeFilter = $compositeFilter;
+ }
+ public function getCompositeFilter()
+ {
+ return $this->compositeFilter;
+ }
+ public function setPropertyFilter(Postman_Google_Service_Datastore_PropertyFilter $propertyFilter)
+ {
+ $this->propertyFilter = $propertyFilter;
+ }
+ public function getPropertyFilter()
+ {
+ return $this->propertyFilter;
+ }
+}
+
+class Postman_Google_Service_Datastore_GqlQuery extends Postman_Google_Collection
+{
+ protected $collection_key = 'numberArgs';
+ protected $internal_gapi_mappings = array(
+ );
+ public $allowLiteral;
+ protected $nameArgsType = 'Postman_Google_Service_Datastore_GqlQueryArg';
+ protected $nameArgsDataType = 'array';
+ protected $numberArgsType = 'Postman_Google_Service_Datastore_GqlQueryArg';
+ protected $numberArgsDataType = 'array';
+ public $queryString;
+
+
+ public function setAllowLiteral($allowLiteral)
+ {
+ $this->allowLiteral = $allowLiteral;
+ }
+ public function getAllowLiteral()
+ {
+ return $this->allowLiteral;
+ }
+ public function setNameArgs($nameArgs)
+ {
+ $this->nameArgs = $nameArgs;
+ }
+ public function getNameArgs()
+ {
+ return $this->nameArgs;
+ }
+ public function setNumberArgs($numberArgs)
+ {
+ $this->numberArgs = $numberArgs;
+ }
+ public function getNumberArgs()
+ {
+ return $this->numberArgs;
+ }
+ public function setQueryString($queryString)
+ {
+ $this->queryString = $queryString;
+ }
+ public function getQueryString()
+ {
+ return $this->queryString;
+ }
+}
+
+class Postman_Google_Service_Datastore_GqlQueryArg extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $cursor;
+ public $name;
+ protected $valueType = 'Postman_Google_Service_Datastore_Value';
+ protected $valueDataType = '';
+
+
+ public function setCursor($cursor)
+ {
+ $this->cursor = $cursor;
+ }
+ public function getCursor()
+ {
+ return $this->cursor;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setValue(Postman_Google_Service_Datastore_Value $value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Datastore_Key extends Postman_Google_Collection
+{
+ protected $collection_key = 'path';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $partitionIdType = 'Postman_Google_Service_Datastore_PartitionId';
+ protected $partitionIdDataType = '';
+ protected $pathType = 'Postman_Google_Service_Datastore_KeyPathElement';
+ protected $pathDataType = 'array';
+
+
+ public function setPartitionId(Postman_Google_Service_Datastore_PartitionId $partitionId)
+ {
+ $this->partitionId = $partitionId;
+ }
+ public function getPartitionId()
+ {
+ return $this->partitionId;
+ }
+ public function setPath($path)
+ {
+ $this->path = $path;
+ }
+ public function getPath()
+ {
+ return $this->path;
+ }
+}
+
+class Postman_Google_Service_Datastore_KeyPathElement extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $name;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_Datastore_KindExpression extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_Datastore_LookupRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'keys';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $keysType = 'Postman_Google_Service_Datastore_Key';
+ protected $keysDataType = 'array';
+ protected $readOptionsType = 'Postman_Google_Service_Datastore_ReadOptions';
+ protected $readOptionsDataType = '';
+
+
+ public function setKeys($keys)
+ {
+ $this->keys = $keys;
+ }
+ public function getKeys()
+ {
+ return $this->keys;
+ }
+ public function setReadOptions(Postman_Google_Service_Datastore_ReadOptions $readOptions)
+ {
+ $this->readOptions = $readOptions;
+ }
+ public function getReadOptions()
+ {
+ return $this->readOptions;
+ }
+}
+
+class Postman_Google_Service_Datastore_LookupResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'missing';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $deferredType = 'Postman_Google_Service_Datastore_Key';
+ protected $deferredDataType = 'array';
+ protected $foundType = 'Postman_Google_Service_Datastore_EntityResult';
+ protected $foundDataType = 'array';
+ protected $headerType = 'Postman_Google_Service_Datastore_ResponseHeader';
+ protected $headerDataType = '';
+ protected $missingType = 'Postman_Google_Service_Datastore_EntityResult';
+ protected $missingDataType = 'array';
+
+
+ public function setDeferred($deferred)
+ {
+ $this->deferred = $deferred;
+ }
+ public function getDeferred()
+ {
+ return $this->deferred;
+ }
+ public function setFound($found)
+ {
+ $this->found = $found;
+ }
+ public function getFound()
+ {
+ return $this->found;
+ }
+ public function setHeader(Postman_Google_Service_Datastore_ResponseHeader $header)
+ {
+ $this->header = $header;
+ }
+ public function getHeader()
+ {
+ return $this->header;
+ }
+ public function setMissing($missing)
+ {
+ $this->missing = $missing;
+ }
+ public function getMissing()
+ {
+ return $this->missing;
+ }
+}
+
+class Postman_Google_Service_Datastore_Mutation extends Postman_Google_Collection
+{
+ protected $collection_key = 'upsert';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $deleteType = 'Postman_Google_Service_Datastore_Key';
+ protected $deleteDataType = 'array';
+ public $force;
+ protected $insertType = 'Postman_Google_Service_Datastore_Entity';
+ protected $insertDataType = 'array';
+ protected $insertAutoIdType = 'Postman_Google_Service_Datastore_Entity';
+ protected $insertAutoIdDataType = 'array';
+ protected $updateType = 'Postman_Google_Service_Datastore_Entity';
+ protected $updateDataType = 'array';
+ protected $upsertType = 'Postman_Google_Service_Datastore_Entity';
+ protected $upsertDataType = 'array';
+
+
+ public function setDelete($delete)
+ {
+ $this->delete = $delete;
+ }
+ public function getDelete()
+ {
+ return $this->delete;
+ }
+ public function setForce($force)
+ {
+ $this->force = $force;
+ }
+ public function getForce()
+ {
+ return $this->force;
+ }
+ public function setInsert($insert)
+ {
+ $this->insert = $insert;
+ }
+ public function getInsert()
+ {
+ return $this->insert;
+ }
+ public function setInsertAutoId($insertAutoId)
+ {
+ $this->insertAutoId = $insertAutoId;
+ }
+ public function getInsertAutoId()
+ {
+ return $this->insertAutoId;
+ }
+ public function setUpdate($update)
+ {
+ $this->update = $update;
+ }
+ public function getUpdate()
+ {
+ return $this->update;
+ }
+ public function setUpsert($upsert)
+ {
+ $this->upsert = $upsert;
+ }
+ public function getUpsert()
+ {
+ return $this->upsert;
+ }
+}
+
+class Postman_Google_Service_Datastore_MutationResult extends Postman_Google_Collection
+{
+ protected $collection_key = 'insertAutoIdKeys';
+ protected $internal_gapi_mappings = array(
+ );
+ public $indexUpdates;
+ protected $insertAutoIdKeysType = 'Postman_Google_Service_Datastore_Key';
+ protected $insertAutoIdKeysDataType = 'array';
+
+
+ public function setIndexUpdates($indexUpdates)
+ {
+ $this->indexUpdates = $indexUpdates;
+ }
+ public function getIndexUpdates()
+ {
+ return $this->indexUpdates;
+ }
+ public function setInsertAutoIdKeys($insertAutoIdKeys)
+ {
+ $this->insertAutoIdKeys = $insertAutoIdKeys;
+ }
+ public function getInsertAutoIdKeys()
+ {
+ return $this->insertAutoIdKeys;
+ }
+}
+
+class Postman_Google_Service_Datastore_PartitionId extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $datasetId;
+ public $namespace;
+
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+ public function setNamespace($namespace)
+ {
+ $this->namespace = $namespace;
+ }
+ public function getNamespace()
+ {
+ return $this->namespace;
+ }
+}
+
+class Postman_Google_Service_Datastore_Property extends Postman_Google_Collection
+{
+ protected $collection_key = 'listValue';
+ protected $internal_gapi_mappings = array(
+ );
+ public $blobKeyValue;
+ public $blobValue;
+ public $booleanValue;
+ public $dateTimeValue;
+ public $doubleValue;
+ protected $entityValueType = 'Postman_Google_Service_Datastore_Entity';
+ protected $entityValueDataType = '';
+ public $indexed;
+ public $integerValue;
+ protected $keyValueType = 'Postman_Google_Service_Datastore_Key';
+ protected $keyValueDataType = '';
+ protected $listValueType = 'Postman_Google_Service_Datastore_Value';
+ protected $listValueDataType = 'array';
+ public $meaning;
+ public $stringValue;
+
+
+ public function setBlobKeyValue($blobKeyValue)
+ {
+ $this->blobKeyValue = $blobKeyValue;
+ }
+ public function getBlobKeyValue()
+ {
+ return $this->blobKeyValue;
+ }
+ public function setBlobValue($blobValue)
+ {
+ $this->blobValue = $blobValue;
+ }
+ public function getBlobValue()
+ {
+ return $this->blobValue;
+ }
+ public function setBooleanValue($booleanValue)
+ {
+ $this->booleanValue = $booleanValue;
+ }
+ public function getBooleanValue()
+ {
+ return $this->booleanValue;
+ }
+ public function setDateTimeValue($dateTimeValue)
+ {
+ $this->dateTimeValue = $dateTimeValue;
+ }
+ public function getDateTimeValue()
+ {
+ return $this->dateTimeValue;
+ }
+ public function setDoubleValue($doubleValue)
+ {
+ $this->doubleValue = $doubleValue;
+ }
+ public function getDoubleValue()
+ {
+ return $this->doubleValue;
+ }
+ public function setEntityValue(Postman_Google_Service_Datastore_Entity $entityValue)
+ {
+ $this->entityValue = $entityValue;
+ }
+ public function getEntityValue()
+ {
+ return $this->entityValue;
+ }
+ public function setIndexed($indexed)
+ {
+ $this->indexed = $indexed;
+ }
+ public function getIndexed()
+ {
+ return $this->indexed;
+ }
+ public function setIntegerValue($integerValue)
+ {
+ $this->integerValue = $integerValue;
+ }
+ public function getIntegerValue()
+ {
+ return $this->integerValue;
+ }
+ public function setKeyValue(Postman_Google_Service_Datastore_Key $keyValue)
+ {
+ $this->keyValue = $keyValue;
+ }
+ public function getKeyValue()
+ {
+ return $this->keyValue;
+ }
+ public function setListValue($listValue)
+ {
+ $this->listValue = $listValue;
+ }
+ public function getListValue()
+ {
+ return $this->listValue;
+ }
+ public function setMeaning($meaning)
+ {
+ $this->meaning = $meaning;
+ }
+ public function getMeaning()
+ {
+ return $this->meaning;
+ }
+ public function setStringValue($stringValue)
+ {
+ $this->stringValue = $stringValue;
+ }
+ public function getStringValue()
+ {
+ return $this->stringValue;
+ }
+}
+
+class Postman_Google_Service_Datastore_PropertyExpression extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $aggregationFunction;
+ protected $propertyType = 'Postman_Google_Service_Datastore_PropertyReference';
+ protected $propertyDataType = '';
+
+
+ public function setAggregationFunction($aggregationFunction)
+ {
+ $this->aggregationFunction = $aggregationFunction;
+ }
+ public function getAggregationFunction()
+ {
+ return $this->aggregationFunction;
+ }
+ public function setProperty(Postman_Google_Service_Datastore_PropertyReference $property)
+ {
+ $this->property = $property;
+ }
+ public function getProperty()
+ {
+ return $this->property;
+ }
+}
+
+class Postman_Google_Service_Datastore_PropertyFilter extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $operator;
+ protected $propertyType = 'Postman_Google_Service_Datastore_PropertyReference';
+ protected $propertyDataType = '';
+ protected $valueType = 'Postman_Google_Service_Datastore_Value';
+ protected $valueDataType = '';
+
+
+ public function setOperator($operator)
+ {
+ $this->operator = $operator;
+ }
+ public function getOperator()
+ {
+ return $this->operator;
+ }
+ public function setProperty(Postman_Google_Service_Datastore_PropertyReference $property)
+ {
+ $this->property = $property;
+ }
+ public function getProperty()
+ {
+ return $this->property;
+ }
+ public function setValue(Postman_Google_Service_Datastore_Value $value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Datastore_PropertyOrder extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $direction;
+ protected $propertyType = 'Postman_Google_Service_Datastore_PropertyReference';
+ protected $propertyDataType = '';
+
+
+ public function setDirection($direction)
+ {
+ $this->direction = $direction;
+ }
+ public function getDirection()
+ {
+ return $this->direction;
+ }
+ public function setProperty(Postman_Google_Service_Datastore_PropertyReference $property)
+ {
+ $this->property = $property;
+ }
+ public function getProperty()
+ {
+ return $this->property;
+ }
+}
+
+class Postman_Google_Service_Datastore_PropertyReference extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_Datastore_Query extends Postman_Google_Collection
+{
+ protected $collection_key = 'projection';
+ protected $internal_gapi_mappings = array(
+ );
+ public $endCursor;
+ protected $filterType = 'Postman_Google_Service_Datastore_Filter';
+ protected $filterDataType = '';
+ protected $groupByType = 'Postman_Google_Service_Datastore_PropertyReference';
+ protected $groupByDataType = 'array';
+ protected $kindsType = 'Postman_Google_Service_Datastore_KindExpression';
+ protected $kindsDataType = 'array';
+ public $limit;
+ public $offset;
+ protected $orderType = 'Postman_Google_Service_Datastore_PropertyOrder';
+ protected $orderDataType = 'array';
+ protected $projectionType = 'Postman_Google_Service_Datastore_PropertyExpression';
+ protected $projectionDataType = 'array';
+ public $startCursor;
+
+
+ public function setEndCursor($endCursor)
+ {
+ $this->endCursor = $endCursor;
+ }
+ public function getEndCursor()
+ {
+ return $this->endCursor;
+ }
+ public function setFilter(Postman_Google_Service_Datastore_Filter $filter)
+ {
+ $this->filter = $filter;
+ }
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+ public function setGroupBy($groupBy)
+ {
+ $this->groupBy = $groupBy;
+ }
+ public function getGroupBy()
+ {
+ return $this->groupBy;
+ }
+ public function setKinds($kinds)
+ {
+ $this->kinds = $kinds;
+ }
+ public function getKinds()
+ {
+ return $this->kinds;
+ }
+ public function setLimit($limit)
+ {
+ $this->limit = $limit;
+ }
+ public function getLimit()
+ {
+ return $this->limit;
+ }
+ public function setOffset($offset)
+ {
+ $this->offset = $offset;
+ }
+ public function getOffset()
+ {
+ return $this->offset;
+ }
+ public function setOrder($order)
+ {
+ $this->order = $order;
+ }
+ public function getOrder()
+ {
+ return $this->order;
+ }
+ public function setProjection($projection)
+ {
+ $this->projection = $projection;
+ }
+ public function getProjection()
+ {
+ return $this->projection;
+ }
+ public function setStartCursor($startCursor)
+ {
+ $this->startCursor = $startCursor;
+ }
+ public function getStartCursor()
+ {
+ return $this->startCursor;
+ }
+}
+
+class Postman_Google_Service_Datastore_QueryResultBatch extends Postman_Google_Collection
+{
+ protected $collection_key = 'entityResults';
+ protected $internal_gapi_mappings = array(
+ );
+ public $endCursor;
+ public $entityResultType;
+ protected $entityResultsType = 'Postman_Google_Service_Datastore_EntityResult';
+ protected $entityResultsDataType = 'array';
+ public $moreResults;
+ public $skippedResults;
+
+
+ public function setEndCursor($endCursor)
+ {
+ $this->endCursor = $endCursor;
+ }
+ public function getEndCursor()
+ {
+ return $this->endCursor;
+ }
+ public function setEntityResultType($entityResultType)
+ {
+ $this->entityResultType = $entityResultType;
+ }
+ public function getEntityResultType()
+ {
+ return $this->entityResultType;
+ }
+ public function setEntityResults($entityResults)
+ {
+ $this->entityResults = $entityResults;
+ }
+ public function getEntityResults()
+ {
+ return $this->entityResults;
+ }
+ public function setMoreResults($moreResults)
+ {
+ $this->moreResults = $moreResults;
+ }
+ public function getMoreResults()
+ {
+ return $this->moreResults;
+ }
+ public function setSkippedResults($skippedResults)
+ {
+ $this->skippedResults = $skippedResults;
+ }
+ public function getSkippedResults()
+ {
+ return $this->skippedResults;
+ }
+}
+
+class Postman_Google_Service_Datastore_ReadOptions extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $readConsistency;
+ public $transaction;
+
+
+ public function setReadConsistency($readConsistency)
+ {
+ $this->readConsistency = $readConsistency;
+ }
+ public function getReadConsistency()
+ {
+ return $this->readConsistency;
+ }
+ public function setTransaction($transaction)
+ {
+ $this->transaction = $transaction;
+ }
+ public function getTransaction()
+ {
+ return $this->transaction;
+ }
+}
+
+class Postman_Google_Service_Datastore_ResponseHeader extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Datastore_RollbackRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $transaction;
+
+
+ public function setTransaction($transaction)
+ {
+ $this->transaction = $transaction;
+ }
+ public function getTransaction()
+ {
+ return $this->transaction;
+ }
+}
+
+class Postman_Google_Service_Datastore_RollbackResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $headerType = 'Postman_Google_Service_Datastore_ResponseHeader';
+ protected $headerDataType = '';
+
+
+ public function setHeader(Postman_Google_Service_Datastore_ResponseHeader $header)
+ {
+ $this->header = $header;
+ }
+ public function getHeader()
+ {
+ return $this->header;
+ }
+}
+
+class Postman_Google_Service_Datastore_RunQueryRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $gqlQueryType = 'Postman_Google_Service_Datastore_GqlQuery';
+ protected $gqlQueryDataType = '';
+ protected $partitionIdType = 'Postman_Google_Service_Datastore_PartitionId';
+ protected $partitionIdDataType = '';
+ protected $queryType = 'Postman_Google_Service_Datastore_Query';
+ protected $queryDataType = '';
+ protected $readOptionsType = 'Postman_Google_Service_Datastore_ReadOptions';
+ protected $readOptionsDataType = '';
+
+
+ public function setGqlQuery(Postman_Google_Service_Datastore_GqlQuery $gqlQuery)
+ {
+ $this->gqlQuery = $gqlQuery;
+ }
+ public function getGqlQuery()
+ {
+ return $this->gqlQuery;
+ }
+ public function setPartitionId(Postman_Google_Service_Datastore_PartitionId $partitionId)
+ {
+ $this->partitionId = $partitionId;
+ }
+ public function getPartitionId()
+ {
+ return $this->partitionId;
+ }
+ public function setQuery(Postman_Google_Service_Datastore_Query $query)
+ {
+ $this->query = $query;
+ }
+ public function getQuery()
+ {
+ return $this->query;
+ }
+ public function setReadOptions(Postman_Google_Service_Datastore_ReadOptions $readOptions)
+ {
+ $this->readOptions = $readOptions;
+ }
+ public function getReadOptions()
+ {
+ return $this->readOptions;
+ }
+}
+
+class Postman_Google_Service_Datastore_RunQueryResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $batchType = 'Postman_Google_Service_Datastore_QueryResultBatch';
+ protected $batchDataType = '';
+ protected $headerType = 'Postman_Google_Service_Datastore_ResponseHeader';
+ protected $headerDataType = '';
+
+
+ public function setBatch(Postman_Google_Service_Datastore_QueryResultBatch $batch)
+ {
+ $this->batch = $batch;
+ }
+ public function getBatch()
+ {
+ return $this->batch;
+ }
+ public function setHeader(Postman_Google_Service_Datastore_ResponseHeader $header)
+ {
+ $this->header = $header;
+ }
+ public function getHeader()
+ {
+ return $this->header;
+ }
+}
+
+class Postman_Google_Service_Datastore_Value extends Postman_Google_Collection
+{
+ protected $collection_key = 'listValue';
+ protected $internal_gapi_mappings = array(
+ );
+ public $blobKeyValue;
+ public $blobValue;
+ public $booleanValue;
+ public $dateTimeValue;
+ public $doubleValue;
+ protected $entityValueType = 'Postman_Google_Service_Datastore_Entity';
+ protected $entityValueDataType = '';
+ public $indexed;
+ public $integerValue;
+ protected $keyValueType = 'Postman_Google_Service_Datastore_Key';
+ protected $keyValueDataType = '';
+ protected $listValueType = 'Postman_Google_Service_Datastore_Value';
+ protected $listValueDataType = 'array';
+ public $meaning;
+ public $stringValue;
+
+
+ public function setBlobKeyValue($blobKeyValue)
+ {
+ $this->blobKeyValue = $blobKeyValue;
+ }
+ public function getBlobKeyValue()
+ {
+ return $this->blobKeyValue;
+ }
+ public function setBlobValue($blobValue)
+ {
+ $this->blobValue = $blobValue;
+ }
+ public function getBlobValue()
+ {
+ return $this->blobValue;
+ }
+ public function setBooleanValue($booleanValue)
+ {
+ $this->booleanValue = $booleanValue;
+ }
+ public function getBooleanValue()
+ {
+ return $this->booleanValue;
+ }
+ public function setDateTimeValue($dateTimeValue)
+ {
+ $this->dateTimeValue = $dateTimeValue;
+ }
+ public function getDateTimeValue()
+ {
+ return $this->dateTimeValue;
+ }
+ public function setDoubleValue($doubleValue)
+ {
+ $this->doubleValue = $doubleValue;
+ }
+ public function getDoubleValue()
+ {
+ return $this->doubleValue;
+ }
+ public function setEntityValue(Postman_Google_Service_Datastore_Entity $entityValue)
+ {
+ $this->entityValue = $entityValue;
+ }
+ public function getEntityValue()
+ {
+ return $this->entityValue;
+ }
+ public function setIndexed($indexed)
+ {
+ $this->indexed = $indexed;
+ }
+ public function getIndexed()
+ {
+ return $this->indexed;
+ }
+ public function setIntegerValue($integerValue)
+ {
+ $this->integerValue = $integerValue;
+ }
+ public function getIntegerValue()
+ {
+ return $this->integerValue;
+ }
+ public function setKeyValue(Postman_Google_Service_Datastore_Key $keyValue)
+ {
+ $this->keyValue = $keyValue;
+ }
+ public function getKeyValue()
+ {
+ return $this->keyValue;
+ }
+ public function setListValue($listValue)
+ {
+ $this->listValue = $listValue;
+ }
+ public function getListValue()
+ {
+ return $this->listValue;
+ }
+ public function setMeaning($meaning)
+ {
+ $this->meaning = $meaning;
+ }
+ public function getMeaning()
+ {
+ return $this->meaning;
+ }
+ public function setStringValue($stringValue)
+ {
+ $this->stringValue = $stringValue;
+ }
+ public function getStringValue()
+ {
+ return $this->stringValue;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Dfareporting.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Dfareporting.php
new file mode 100644
index 0000000..551db48
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Dfareporting.php
@@ -0,0 +1,2698 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Dfareporting (v1.3).
+ *
+ * <p>
+ * Lets you create, run and download reports.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/doubleclick-advertisers/reporting/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Dfareporting extends Postman_Google_Service
+{
+ /** View and manage DoubleClick for Advertisers reports. */
+ const DFAREPORTING =
+ "https://www.googleapis.com/auth/dfareporting";
+
+ public $dimensionValues;
+ public $files;
+ public $reports;
+ public $reports_compatibleFields;
+ public $reports_files;
+ public $userProfiles;
+
+
+ /**
+ * Constructs the internal representation of the Dfareporting service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'dfareporting/v1.3/';
+ $this->version = 'v1.3';
+ $this->serviceName = 'dfareporting';
+
+ $this->dimensionValues = new Postman_Google_Service_Dfareporting_DimensionValues_Resource(
+ $this,
+ $this->serviceName,
+ 'dimensionValues',
+ array(
+ 'methods' => array(
+ 'query' => array(
+ 'path' => 'userprofiles/{profileId}/dimensionvalues/query',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->files = new Postman_Google_Service_Dfareporting_Files_Resource(
+ $this,
+ $this->serviceName,
+ 'files',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'reports/{reportId}/files/{fileId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'reportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/files',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'scope' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->reports = new Postman_Google_Service_Dfareporting_Reports_Resource(
+ $this,
+ $this->serviceName,
+ 'reports',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'userprofiles/{profileId}/reports/{reportId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'reportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'userprofiles/{profileId}/reports/{reportId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'reportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/reports',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/reports',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'scope' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/reports/{reportId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'reportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'run' => array(
+ 'path' => 'userprofiles/{profileId}/reports/{reportId}/run',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'reportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'synchronous' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/reports/{reportId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'reportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->reports_compatibleFields = new Postman_Google_Service_Dfareporting_ReportsCompatibleFields_Resource(
+ $this,
+ $this->serviceName,
+ 'compatibleFields',
+ array(
+ 'methods' => array(
+ 'query' => array(
+ 'path' => 'userprofiles/{profileId}/reports/compatiblefields/query',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->reports_files = new Postman_Google_Service_Dfareporting_ReportsFiles_Resource(
+ $this,
+ $this->serviceName,
+ 'files',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/reports/{reportId}/files/{fileId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'reportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/reports/{reportId}/files',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'reportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->userProfiles = new Postman_Google_Service_Dfareporting_UserProfiles_Resource(
+ $this,
+ $this->serviceName,
+ 'userProfiles',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "dimensionValues" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Postman_Google_Service_Dfareporting(...);
+ * $dimensionValues = $dfareportingService->dimensionValues;
+ * </code>
+ */
+class Postman_Google_Service_Dfareporting_DimensionValues_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves list of report dimension values for a list of filters.
+ * (dimensionValues.query)
+ *
+ * @param string $profileId The DFA user profile ID.
+ * @param Postman_Google_DimensionValueRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The value of the nextToken from the previous
+ * result page.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @return Postman_Google_Service_Dfareporting_DimensionValueList
+ */
+ public function query($profileId, Postman_Google_Service_Dfareporting_DimensionValueRequest $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('query', array($params), "Postman_Google_Service_Dfareporting_DimensionValueList");
+ }
+}
+
+/**
+ * The "files" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Postman_Google_Service_Dfareporting(...);
+ * $files = $dfareportingService->files;
+ * </code>
+ */
+class Postman_Google_Service_Dfareporting_Files_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves a report file by its report ID and file ID. (files.get)
+ *
+ * @param string $reportId The ID of the report.
+ * @param string $fileId The ID of the report file.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Dfareporting_DfareportingFile
+ */
+ public function get($reportId, $fileId, $optParams = array())
+ {
+ $params = array('reportId' => $reportId, 'fileId' => $fileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Dfareporting_DfareportingFile");
+ }
+
+ /**
+ * Lists files for a user profile. (files.listFiles)
+ *
+ * @param string $profileId The DFA profile ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken The value of the nextToken from the previous
+ * result page.
+ * @opt_param string sortOrder Order of sorted results, default is 'DESCENDING'.
+ * @opt_param string scope The scope that defines which results are returned,
+ * default is 'MINE'.
+ * @return Postman_Google_Service_Dfareporting_FileList
+ */
+ public function listFiles($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Dfareporting_FileList");
+ }
+}
+
+/**
+ * The "reports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Postman_Google_Service_Dfareporting(...);
+ * $reports = $dfareportingService->reports;
+ * </code>
+ */
+class Postman_Google_Service_Dfareporting_Reports_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes a report by its ID. (reports.delete)
+ *
+ * @param string $profileId The DFA user profile ID.
+ * @param string $reportId The ID of the report.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($profileId, $reportId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'reportId' => $reportId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves a report by its ID. (reports.get)
+ *
+ * @param string $profileId The DFA user profile ID.
+ * @param string $reportId The ID of the report.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Dfareporting_Report
+ */
+ public function get($profileId, $reportId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'reportId' => $reportId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Dfareporting_Report");
+ }
+
+ /**
+ * Creates a report. (reports.insert)
+ *
+ * @param string $profileId The DFA user profile ID.
+ * @param Postman_Google_Report $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Dfareporting_Report
+ */
+ public function insert($profileId, Postman_Google_Service_Dfareporting_Report $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Dfareporting_Report");
+ }
+
+ /**
+ * Retrieves list of reports. (reports.listReports)
+ *
+ * @param string $profileId The DFA user profile ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken The value of the nextToken from the previous
+ * result page.
+ * @opt_param string sortOrder Order of sorted results, default is 'DESCENDING'.
+ * @opt_param string scope The scope that defines which results are returned,
+ * default is 'MINE'.
+ * @return Postman_Google_Service_Dfareporting_ReportList
+ */
+ public function listReports($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Dfareporting_ReportList");
+ }
+
+ /**
+ * Updates a report. This method supports patch semantics. (reports.patch)
+ *
+ * @param string $profileId The DFA user profile ID.
+ * @param string $reportId The ID of the report.
+ * @param Postman_Google_Report $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Dfareporting_Report
+ */
+ public function patch($profileId, $reportId, Postman_Google_Service_Dfareporting_Report $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'reportId' => $reportId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Dfareporting_Report");
+ }
+
+ /**
+ * Runs a report. (reports.run)
+ *
+ * @param string $profileId The DFA profile ID.
+ * @param string $reportId The ID of the report.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool synchronous If set and true, tries to run the report
+ * synchronously.
+ * @return Postman_Google_Service_Dfareporting_DfareportingFile
+ */
+ public function run($profileId, $reportId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'reportId' => $reportId);
+ $params = array_merge($params, $optParams);
+ return $this->call('run', array($params), "Postman_Google_Service_Dfareporting_DfareportingFile");
+ }
+
+ /**
+ * Updates a report. (reports.update)
+ *
+ * @param string $profileId The DFA user profile ID.
+ * @param string $reportId The ID of the report.
+ * @param Postman_Google_Report $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Dfareporting_Report
+ */
+ public function update($profileId, $reportId, Postman_Google_Service_Dfareporting_Report $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'reportId' => $reportId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Dfareporting_Report");
+ }
+}
+
+/**
+ * The "compatibleFields" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Postman_Google_Service_Dfareporting(...);
+ * $compatibleFields = $dfareportingService->compatibleFields;
+ * </code>
+ */
+class Postman_Google_Service_Dfareporting_ReportsCompatibleFields_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns the fields that are compatible to be selected in the respective
+ * sections of a report criteria, given the fields already selected in the input
+ * report and user permissions. (compatibleFields.query)
+ *
+ * @param string $profileId The DFA user profile ID.
+ * @param Postman_Google_Report $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Dfareporting_CompatibleFields
+ */
+ public function query($profileId, Postman_Google_Service_Dfareporting_Report $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('query', array($params), "Postman_Google_Service_Dfareporting_CompatibleFields");
+ }
+}
+/**
+ * The "files" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Postman_Google_Service_Dfareporting(...);
+ * $files = $dfareportingService->files;
+ * </code>
+ */
+class Postman_Google_Service_Dfareporting_ReportsFiles_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves a report file. (files.get)
+ *
+ * @param string $profileId The DFA profile ID.
+ * @param string $reportId The ID of the report.
+ * @param string $fileId The ID of the report file.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Dfareporting_DfareportingFile
+ */
+ public function get($profileId, $reportId, $fileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'reportId' => $reportId, 'fileId' => $fileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Dfareporting_DfareportingFile");
+ }
+
+ /**
+ * Lists files for a report. (files.listReportsFiles)
+ *
+ * @param string $profileId The DFA profile ID.
+ * @param string $reportId The ID of the parent report.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken The value of the nextToken from the previous
+ * result page.
+ * @opt_param string sortOrder Order of sorted results, default is 'DESCENDING'.
+ * @return Postman_Google_Service_Dfareporting_FileList
+ */
+ public function listReportsFiles($profileId, $reportId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'reportId' => $reportId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Dfareporting_FileList");
+ }
+}
+
+/**
+ * The "userProfiles" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dfareportingService = new Postman_Google_Service_Dfareporting(...);
+ * $userProfiles = $dfareportingService->userProfiles;
+ * </code>
+ */
+class Postman_Google_Service_Dfareporting_UserProfiles_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets one user profile by ID. (userProfiles.get)
+ *
+ * @param string $profileId The user profile ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Dfareporting_UserProfile
+ */
+ public function get($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Dfareporting_UserProfile");
+ }
+
+ /**
+ * Retrieves list of user profiles for a user. (userProfiles.listUserProfiles)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Dfareporting_UserProfileList
+ */
+ public function listUserProfiles($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Dfareporting_UserProfileList");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Dfareporting_Activities extends Postman_Google_Collection
+{
+ protected $collection_key = 'metricNames';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $filtersType = 'Postman_Google_Service_Dfareporting_DimensionValue';
+ protected $filtersDataType = 'array';
+ public $kind;
+ public $metricNames;
+
+
+ public function setFilters($filters)
+ {
+ $this->filters = $filters;
+ }
+ public function getFilters()
+ {
+ return $this->filters;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMetricNames($metricNames)
+ {
+ $this->metricNames = $metricNames;
+ }
+ public function getMetricNames()
+ {
+ return $this->metricNames;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_CompatibleFields extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $crossDimensionReachReportCompatibleFieldsType = 'Postman_Google_Service_Dfareporting_CrossDimensionReachReportCompatibleFields';
+ protected $crossDimensionReachReportCompatibleFieldsDataType = '';
+ protected $floodlightReportCompatibleFieldsType = 'Postman_Google_Service_Dfareporting_FloodlightReportCompatibleFields';
+ protected $floodlightReportCompatibleFieldsDataType = '';
+ public $kind;
+ protected $pathToConversionReportCompatibleFieldsType = 'Postman_Google_Service_Dfareporting_PathToConversionReportCompatibleFields';
+ protected $pathToConversionReportCompatibleFieldsDataType = '';
+ protected $reachReportCompatibleFieldsType = 'Postman_Google_Service_Dfareporting_ReachReportCompatibleFields';
+ protected $reachReportCompatibleFieldsDataType = '';
+ protected $reportCompatibleFieldsType = 'Postman_Google_Service_Dfareporting_ReportCompatibleFields';
+ protected $reportCompatibleFieldsDataType = '';
+
+
+ public function setCrossDimensionReachReportCompatibleFields(Postman_Google_Service_Dfareporting_CrossDimensionReachReportCompatibleFields $crossDimensionReachReportCompatibleFields)
+ {
+ $this->crossDimensionReachReportCompatibleFields = $crossDimensionReachReportCompatibleFields;
+ }
+ public function getCrossDimensionReachReportCompatibleFields()
+ {
+ return $this->crossDimensionReachReportCompatibleFields;
+ }
+ public function setFloodlightReportCompatibleFields(Postman_Google_Service_Dfareporting_FloodlightReportCompatibleFields $floodlightReportCompatibleFields)
+ {
+ $this->floodlightReportCompatibleFields = $floodlightReportCompatibleFields;
+ }
+ public function getFloodlightReportCompatibleFields()
+ {
+ return $this->floodlightReportCompatibleFields;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPathToConversionReportCompatibleFields(Postman_Google_Service_Dfareporting_PathToConversionReportCompatibleFields $pathToConversionReportCompatibleFields)
+ {
+ $this->pathToConversionReportCompatibleFields = $pathToConversionReportCompatibleFields;
+ }
+ public function getPathToConversionReportCompatibleFields()
+ {
+ return $this->pathToConversionReportCompatibleFields;
+ }
+ public function setReachReportCompatibleFields(Postman_Google_Service_Dfareporting_ReachReportCompatibleFields $reachReportCompatibleFields)
+ {
+ $this->reachReportCompatibleFields = $reachReportCompatibleFields;
+ }
+ public function getReachReportCompatibleFields()
+ {
+ return $this->reachReportCompatibleFields;
+ }
+ public function setReportCompatibleFields(Postman_Google_Service_Dfareporting_ReportCompatibleFields $reportCompatibleFields)
+ {
+ $this->reportCompatibleFields = $reportCompatibleFields;
+ }
+ public function getReportCompatibleFields()
+ {
+ return $this->reportCompatibleFields;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_CrossDimensionReachReportCompatibleFields extends Postman_Google_Collection
+{
+ protected $collection_key = 'overlapMetrics';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $breakdownType = 'Postman_Google_Service_Dfareporting_Dimension';
+ protected $breakdownDataType = 'array';
+ protected $dimensionFiltersType = 'Postman_Google_Service_Dfareporting_Dimension';
+ protected $dimensionFiltersDataType = 'array';
+ public $kind;
+ protected $metricsType = 'Postman_Google_Service_Dfareporting_Metric';
+ protected $metricsDataType = 'array';
+ protected $overlapMetricsType = 'Postman_Google_Service_Dfareporting_Metric';
+ protected $overlapMetricsDataType = 'array';
+
+
+ public function setBreakdown($breakdown)
+ {
+ $this->breakdown = $breakdown;
+ }
+ public function getBreakdown()
+ {
+ return $this->breakdown;
+ }
+ public function setDimensionFilters($dimensionFilters)
+ {
+ $this->dimensionFilters = $dimensionFilters;
+ }
+ public function getDimensionFilters()
+ {
+ return $this->dimensionFilters;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+ public function setOverlapMetrics($overlapMetrics)
+ {
+ $this->overlapMetrics = $overlapMetrics;
+ }
+ public function getOverlapMetrics()
+ {
+ return $this->overlapMetrics;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_CustomRichMediaEvents extends Postman_Google_Collection
+{
+ protected $collection_key = 'filteredEventIds';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $filteredEventIdsType = 'Postman_Google_Service_Dfareporting_DimensionValue';
+ protected $filteredEventIdsDataType = 'array';
+ public $kind;
+
+
+ public function setFilteredEventIds($filteredEventIds)
+ {
+ $this->filteredEventIds = $filteredEventIds;
+ }
+ public function getFilteredEventIds()
+ {
+ return $this->filteredEventIds;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_DateRange extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $endDate;
+ public $kind;
+ public $relativeDateRange;
+ public $startDate;
+
+
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRelativeDateRange($relativeDateRange)
+ {
+ $this->relativeDateRange = $relativeDateRange;
+ }
+ public function getRelativeDateRange()
+ {
+ return $this->relativeDateRange;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_DfareportingFile extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $dateRangeType = 'Postman_Google_Service_Dfareporting_DateRange';
+ protected $dateRangeDataType = '';
+ public $etag;
+ public $fileName;
+ public $format;
+ public $id;
+ public $kind;
+ public $lastModifiedTime;
+ public $reportId;
+ public $status;
+ protected $urlsType = 'Postman_Google_Service_Dfareporting_DfareportingFileUrls';
+ protected $urlsDataType = '';
+
+
+ public function setDateRange(Postman_Google_Service_Dfareporting_DateRange $dateRange)
+ {
+ $this->dateRange = $dateRange;
+ }
+ public function getDateRange()
+ {
+ return $this->dateRange;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setFileName($fileName)
+ {
+ $this->fileName = $fileName;
+ }
+ public function getFileName()
+ {
+ return $this->fileName;
+ }
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+ public function setReportId($reportId)
+ {
+ $this->reportId = $reportId;
+ }
+ public function getReportId()
+ {
+ return $this->reportId;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setUrls(Postman_Google_Service_Dfareporting_DfareportingFileUrls $urls)
+ {
+ $this->urls = $urls;
+ }
+ public function getUrls()
+ {
+ return $this->urls;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_DfareportingFileUrls extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $apiUrl;
+ public $browserUrl;
+
+
+ public function setApiUrl($apiUrl)
+ {
+ $this->apiUrl = $apiUrl;
+ }
+ public function getApiUrl()
+ {
+ return $this->apiUrl;
+ }
+ public function setBrowserUrl($browserUrl)
+ {
+ $this->browserUrl = $browserUrl;
+ }
+ public function getBrowserUrl()
+ {
+ return $this->browserUrl;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_Dimension extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $name;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_DimensionFilter extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $dimensionName;
+ public $kind;
+ public $value;
+
+
+ public function setDimensionName($dimensionName)
+ {
+ $this->dimensionName = $dimensionName;
+ }
+ public function getDimensionName()
+ {
+ return $this->dimensionName;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_DimensionValue extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $dimensionName;
+ public $etag;
+ public $id;
+ public $kind;
+ public $matchType;
+ public $value;
+
+
+ public function setDimensionName($dimensionName)
+ {
+ $this->dimensionName = $dimensionName;
+ }
+ public function getDimensionName()
+ {
+ return $this->dimensionName;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMatchType($matchType)
+ {
+ $this->matchType = $matchType;
+ }
+ public function getMatchType()
+ {
+ return $this->matchType;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_DimensionValueList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Dfareporting_DimensionValue';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_DimensionValueRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'filters';
+ protected $internal_gapi_mappings = array(
+ );
+ public $dimensionName;
+ public $endDate;
+ protected $filtersType = 'Postman_Google_Service_Dfareporting_DimensionFilter';
+ protected $filtersDataType = 'array';
+ public $kind;
+ public $startDate;
+
+
+ public function setDimensionName($dimensionName)
+ {
+ $this->dimensionName = $dimensionName;
+ }
+ public function getDimensionName()
+ {
+ return $this->dimensionName;
+ }
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setFilters($filters)
+ {
+ $this->filters = $filters;
+ }
+ public function getFilters()
+ {
+ return $this->filters;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_FileList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Dfareporting_DfareportingFile';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_FloodlightReportCompatibleFields extends Postman_Google_Collection
+{
+ protected $collection_key = 'metrics';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $dimensionFiltersType = 'Postman_Google_Service_Dfareporting_Dimension';
+ protected $dimensionFiltersDataType = 'array';
+ protected $dimensionsType = 'Postman_Google_Service_Dfareporting_Dimension';
+ protected $dimensionsDataType = 'array';
+ public $kind;
+ protected $metricsType = 'Postman_Google_Service_Dfareporting_Metric';
+ protected $metricsDataType = 'array';
+
+
+ public function setDimensionFilters($dimensionFilters)
+ {
+ $this->dimensionFilters = $dimensionFilters;
+ }
+ public function getDimensionFilters()
+ {
+ return $this->dimensionFilters;
+ }
+ public function setDimensions($dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_Metric extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $name;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_PathToConversionReportCompatibleFields extends Postman_Google_Collection
+{
+ protected $collection_key = 'perInteractionDimensions';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $conversionDimensionsType = 'Postman_Google_Service_Dfareporting_Dimension';
+ protected $conversionDimensionsDataType = 'array';
+ protected $customFloodlightVariablesType = 'Postman_Google_Service_Dfareporting_Dimension';
+ protected $customFloodlightVariablesDataType = 'array';
+ public $kind;
+ protected $metricsType = 'Postman_Google_Service_Dfareporting_Metric';
+ protected $metricsDataType = 'array';
+ protected $perInteractionDimensionsType = 'Postman_Google_Service_Dfareporting_Dimension';
+ protected $perInteractionDimensionsDataType = 'array';
+
+
+ public function setConversionDimensions($conversionDimensions)
+ {
+ $this->conversionDimensions = $conversionDimensions;
+ }
+ public function getConversionDimensions()
+ {
+ return $this->conversionDimensions;
+ }
+ public function setCustomFloodlightVariables($customFloodlightVariables)
+ {
+ $this->customFloodlightVariables = $customFloodlightVariables;
+ }
+ public function getCustomFloodlightVariables()
+ {
+ return $this->customFloodlightVariables;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+ public function setPerInteractionDimensions($perInteractionDimensions)
+ {
+ $this->perInteractionDimensions = $perInteractionDimensions;
+ }
+ public function getPerInteractionDimensions()
+ {
+ return $this->perInteractionDimensions;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_ReachReportCompatibleFields extends Postman_Google_Collection
+{
+ protected $collection_key = 'reachByFrequencyMetrics';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $dimensionFiltersType = 'Postman_Google_Service_Dfareporting_Dimension';
+ protected $dimensionFiltersDataType = 'array';
+ protected $dimensionsType = 'Postman_Google_Service_Dfareporting_Dimension';
+ protected $dimensionsDataType = 'array';
+ public $kind;
+ protected $metricsType = 'Postman_Google_Service_Dfareporting_Metric';
+ protected $metricsDataType = 'array';
+ protected $pivotedActivityMetricsType = 'Postman_Google_Service_Dfareporting_Metric';
+ protected $pivotedActivityMetricsDataType = 'array';
+ protected $reachByFrequencyMetricsType = 'Postman_Google_Service_Dfareporting_Metric';
+ protected $reachByFrequencyMetricsDataType = 'array';
+
+
+ public function setDimensionFilters($dimensionFilters)
+ {
+ $this->dimensionFilters = $dimensionFilters;
+ }
+ public function getDimensionFilters()
+ {
+ return $this->dimensionFilters;
+ }
+ public function setDimensions($dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+ public function setPivotedActivityMetrics($pivotedActivityMetrics)
+ {
+ $this->pivotedActivityMetrics = $pivotedActivityMetrics;
+ }
+ public function getPivotedActivityMetrics()
+ {
+ return $this->pivotedActivityMetrics;
+ }
+ public function setReachByFrequencyMetrics($reachByFrequencyMetrics)
+ {
+ $this->reachByFrequencyMetrics = $reachByFrequencyMetrics;
+ }
+ public function getReachByFrequencyMetrics()
+ {
+ return $this->reachByFrequencyMetrics;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_Recipient extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $deliveryType;
+ public $email;
+ public $kind;
+
+
+ public function setDeliveryType($deliveryType)
+ {
+ $this->deliveryType = $deliveryType;
+ }
+ public function getDeliveryType()
+ {
+ return $this->deliveryType;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_Report extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ protected $activeGrpCriteriaType = 'Postman_Google_Service_Dfareporting_ReportActiveGrpCriteria';
+ protected $activeGrpCriteriaDataType = '';
+ protected $criteriaType = 'Postman_Google_Service_Dfareporting_ReportCriteria';
+ protected $criteriaDataType = '';
+ protected $crossDimensionReachCriteriaType = 'Postman_Google_Service_Dfareporting_ReportCrossDimensionReachCriteria';
+ protected $crossDimensionReachCriteriaDataType = '';
+ protected $deliveryType = 'Postman_Google_Service_Dfareporting_ReportDelivery';
+ protected $deliveryDataType = '';
+ public $etag;
+ public $fileName;
+ protected $floodlightCriteriaType = 'Postman_Google_Service_Dfareporting_ReportFloodlightCriteria';
+ protected $floodlightCriteriaDataType = '';
+ public $format;
+ public $id;
+ public $kind;
+ public $lastModifiedTime;
+ public $name;
+ public $ownerProfileId;
+ protected $pathToConversionCriteriaType = 'Postman_Google_Service_Dfareporting_ReportPathToConversionCriteria';
+ protected $pathToConversionCriteriaDataType = '';
+ protected $reachCriteriaType = 'Postman_Google_Service_Dfareporting_ReportReachCriteria';
+ protected $reachCriteriaDataType = '';
+ protected $scheduleType = 'Postman_Google_Service_Dfareporting_ReportSchedule';
+ protected $scheduleDataType = '';
+ public $subAccountId;
+ public $type;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setActiveGrpCriteria(Postman_Google_Service_Dfareporting_ReportActiveGrpCriteria $activeGrpCriteria)
+ {
+ $this->activeGrpCriteria = $activeGrpCriteria;
+ }
+ public function getActiveGrpCriteria()
+ {
+ return $this->activeGrpCriteria;
+ }
+ public function setCriteria(Postman_Google_Service_Dfareporting_ReportCriteria $criteria)
+ {
+ $this->criteria = $criteria;
+ }
+ public function getCriteria()
+ {
+ return $this->criteria;
+ }
+ public function setCrossDimensionReachCriteria(Postman_Google_Service_Dfareporting_ReportCrossDimensionReachCriteria $crossDimensionReachCriteria)
+ {
+ $this->crossDimensionReachCriteria = $crossDimensionReachCriteria;
+ }
+ public function getCrossDimensionReachCriteria()
+ {
+ return $this->crossDimensionReachCriteria;
+ }
+ public function setDelivery(Postman_Google_Service_Dfareporting_ReportDelivery $delivery)
+ {
+ $this->delivery = $delivery;
+ }
+ public function getDelivery()
+ {
+ return $this->delivery;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setFileName($fileName)
+ {
+ $this->fileName = $fileName;
+ }
+ public function getFileName()
+ {
+ return $this->fileName;
+ }
+ public function setFloodlightCriteria(Postman_Google_Service_Dfareporting_ReportFloodlightCriteria $floodlightCriteria)
+ {
+ $this->floodlightCriteria = $floodlightCriteria;
+ }
+ public function getFloodlightCriteria()
+ {
+ return $this->floodlightCriteria;
+ }
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOwnerProfileId($ownerProfileId)
+ {
+ $this->ownerProfileId = $ownerProfileId;
+ }
+ public function getOwnerProfileId()
+ {
+ return $this->ownerProfileId;
+ }
+ public function setPathToConversionCriteria(Postman_Google_Service_Dfareporting_ReportPathToConversionCriteria $pathToConversionCriteria)
+ {
+ $this->pathToConversionCriteria = $pathToConversionCriteria;
+ }
+ public function getPathToConversionCriteria()
+ {
+ return $this->pathToConversionCriteria;
+ }
+ public function setReachCriteria(Postman_Google_Service_Dfareporting_ReportReachCriteria $reachCriteria)
+ {
+ $this->reachCriteria = $reachCriteria;
+ }
+ public function getReachCriteria()
+ {
+ return $this->reachCriteria;
+ }
+ public function setSchedule(Postman_Google_Service_Dfareporting_ReportSchedule $schedule)
+ {
+ $this->schedule = $schedule;
+ }
+ public function getSchedule()
+ {
+ return $this->schedule;
+ }
+ public function setSubAccountId($subAccountId)
+ {
+ $this->subAccountId = $subAccountId;
+ }
+ public function getSubAccountId()
+ {
+ return $this->subAccountId;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_ReportActiveGrpCriteria extends Postman_Google_Collection
+{
+ protected $collection_key = 'metricNames';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $dateRangeType = 'Postman_Google_Service_Dfareporting_DateRange';
+ protected $dateRangeDataType = '';
+ protected $dimensionFiltersType = 'Postman_Google_Service_Dfareporting_DimensionValue';
+ protected $dimensionFiltersDataType = 'array';
+ protected $dimensionsType = 'Postman_Google_Service_Dfareporting_SortedDimension';
+ protected $dimensionsDataType = 'array';
+ public $metricNames;
+
+
+ public function setDateRange(Postman_Google_Service_Dfareporting_DateRange $dateRange)
+ {
+ $this->dateRange = $dateRange;
+ }
+ public function getDateRange()
+ {
+ return $this->dateRange;
+ }
+ public function setDimensionFilters($dimensionFilters)
+ {
+ $this->dimensionFilters = $dimensionFilters;
+ }
+ public function getDimensionFilters()
+ {
+ return $this->dimensionFilters;
+ }
+ public function setDimensions($dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+ public function setMetricNames($metricNames)
+ {
+ $this->metricNames = $metricNames;
+ }
+ public function getMetricNames()
+ {
+ return $this->metricNames;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_ReportCompatibleFields extends Postman_Google_Collection
+{
+ protected $collection_key = 'pivotedActivityMetrics';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $dimensionFiltersType = 'Postman_Google_Service_Dfareporting_Dimension';
+ protected $dimensionFiltersDataType = 'array';
+ protected $dimensionsType = 'Postman_Google_Service_Dfareporting_Dimension';
+ protected $dimensionsDataType = 'array';
+ public $kind;
+ protected $metricsType = 'Postman_Google_Service_Dfareporting_Metric';
+ protected $metricsDataType = 'array';
+ protected $pivotedActivityMetricsType = 'Postman_Google_Service_Dfareporting_Metric';
+ protected $pivotedActivityMetricsDataType = 'array';
+
+
+ public function setDimensionFilters($dimensionFilters)
+ {
+ $this->dimensionFilters = $dimensionFilters;
+ }
+ public function getDimensionFilters()
+ {
+ return $this->dimensionFilters;
+ }
+ public function setDimensions($dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+ public function setPivotedActivityMetrics($pivotedActivityMetrics)
+ {
+ $this->pivotedActivityMetrics = $pivotedActivityMetrics;
+ }
+ public function getPivotedActivityMetrics()
+ {
+ return $this->pivotedActivityMetrics;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_ReportCriteria extends Postman_Google_Collection
+{
+ protected $collection_key = 'metricNames';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $activitiesType = 'Postman_Google_Service_Dfareporting_Activities';
+ protected $activitiesDataType = '';
+ protected $customRichMediaEventsType = 'Postman_Google_Service_Dfareporting_CustomRichMediaEvents';
+ protected $customRichMediaEventsDataType = '';
+ protected $dateRangeType = 'Postman_Google_Service_Dfareporting_DateRange';
+ protected $dateRangeDataType = '';
+ protected $dimensionFiltersType = 'Postman_Google_Service_Dfareporting_DimensionValue';
+ protected $dimensionFiltersDataType = 'array';
+ protected $dimensionsType = 'Postman_Google_Service_Dfareporting_SortedDimension';
+ protected $dimensionsDataType = 'array';
+ public $metricNames;
+
+
+ public function setActivities(Postman_Google_Service_Dfareporting_Activities $activities)
+ {
+ $this->activities = $activities;
+ }
+ public function getActivities()
+ {
+ return $this->activities;
+ }
+ public function setCustomRichMediaEvents(Postman_Google_Service_Dfareporting_CustomRichMediaEvents $customRichMediaEvents)
+ {
+ $this->customRichMediaEvents = $customRichMediaEvents;
+ }
+ public function getCustomRichMediaEvents()
+ {
+ return $this->customRichMediaEvents;
+ }
+ public function setDateRange(Postman_Google_Service_Dfareporting_DateRange $dateRange)
+ {
+ $this->dateRange = $dateRange;
+ }
+ public function getDateRange()
+ {
+ return $this->dateRange;
+ }
+ public function setDimensionFilters($dimensionFilters)
+ {
+ $this->dimensionFilters = $dimensionFilters;
+ }
+ public function getDimensionFilters()
+ {
+ return $this->dimensionFilters;
+ }
+ public function setDimensions($dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+ public function setMetricNames($metricNames)
+ {
+ $this->metricNames = $metricNames;
+ }
+ public function getMetricNames()
+ {
+ return $this->metricNames;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_ReportCrossDimensionReachCriteria extends Postman_Google_Collection
+{
+ protected $collection_key = 'overlapMetricNames';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $breakdownType = 'Postman_Google_Service_Dfareporting_SortedDimension';
+ protected $breakdownDataType = 'array';
+ protected $dateRangeType = 'Postman_Google_Service_Dfareporting_DateRange';
+ protected $dateRangeDataType = '';
+ public $dimension;
+ protected $dimensionFiltersType = 'Postman_Google_Service_Dfareporting_DimensionValue';
+ protected $dimensionFiltersDataType = 'array';
+ public $metricNames;
+ public $overlapMetricNames;
+ public $pivoted;
+
+
+ public function setBreakdown($breakdown)
+ {
+ $this->breakdown = $breakdown;
+ }
+ public function getBreakdown()
+ {
+ return $this->breakdown;
+ }
+ public function setDateRange(Postman_Google_Service_Dfareporting_DateRange $dateRange)
+ {
+ $this->dateRange = $dateRange;
+ }
+ public function getDateRange()
+ {
+ return $this->dateRange;
+ }
+ public function setDimension($dimension)
+ {
+ $this->dimension = $dimension;
+ }
+ public function getDimension()
+ {
+ return $this->dimension;
+ }
+ public function setDimensionFilters($dimensionFilters)
+ {
+ $this->dimensionFilters = $dimensionFilters;
+ }
+ public function getDimensionFilters()
+ {
+ return $this->dimensionFilters;
+ }
+ public function setMetricNames($metricNames)
+ {
+ $this->metricNames = $metricNames;
+ }
+ public function getMetricNames()
+ {
+ return $this->metricNames;
+ }
+ public function setOverlapMetricNames($overlapMetricNames)
+ {
+ $this->overlapMetricNames = $overlapMetricNames;
+ }
+ public function getOverlapMetricNames()
+ {
+ return $this->overlapMetricNames;
+ }
+ public function setPivoted($pivoted)
+ {
+ $this->pivoted = $pivoted;
+ }
+ public function getPivoted()
+ {
+ return $this->pivoted;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_ReportDelivery extends Postman_Google_Collection
+{
+ protected $collection_key = 'recipients';
+ protected $internal_gapi_mappings = array(
+ );
+ public $emailOwner;
+ public $emailOwnerDeliveryType;
+ public $message;
+ protected $recipientsType = 'Postman_Google_Service_Dfareporting_Recipient';
+ protected $recipientsDataType = 'array';
+
+
+ public function setEmailOwner($emailOwner)
+ {
+ $this->emailOwner = $emailOwner;
+ }
+ public function getEmailOwner()
+ {
+ return $this->emailOwner;
+ }
+ public function setEmailOwnerDeliveryType($emailOwnerDeliveryType)
+ {
+ $this->emailOwnerDeliveryType = $emailOwnerDeliveryType;
+ }
+ public function getEmailOwnerDeliveryType()
+ {
+ return $this->emailOwnerDeliveryType;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+ public function setRecipients($recipients)
+ {
+ $this->recipients = $recipients;
+ }
+ public function getRecipients()
+ {
+ return $this->recipients;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_ReportFloodlightCriteria extends Postman_Google_Collection
+{
+ protected $collection_key = 'metricNames';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $customRichMediaEventsType = 'Postman_Google_Service_Dfareporting_DimensionValue';
+ protected $customRichMediaEventsDataType = 'array';
+ protected $dateRangeType = 'Postman_Google_Service_Dfareporting_DateRange';
+ protected $dateRangeDataType = '';
+ protected $dimensionFiltersType = 'Postman_Google_Service_Dfareporting_DimensionValue';
+ protected $dimensionFiltersDataType = 'array';
+ protected $dimensionsType = 'Postman_Google_Service_Dfareporting_SortedDimension';
+ protected $dimensionsDataType = 'array';
+ protected $floodlightConfigIdType = 'Postman_Google_Service_Dfareporting_DimensionValue';
+ protected $floodlightConfigIdDataType = '';
+ public $metricNames;
+ protected $reportPropertiesType = 'Postman_Google_Service_Dfareporting_ReportFloodlightCriteriaReportProperties';
+ protected $reportPropertiesDataType = '';
+
+
+ public function setCustomRichMediaEvents($customRichMediaEvents)
+ {
+ $this->customRichMediaEvents = $customRichMediaEvents;
+ }
+ public function getCustomRichMediaEvents()
+ {
+ return $this->customRichMediaEvents;
+ }
+ public function setDateRange(Postman_Google_Service_Dfareporting_DateRange $dateRange)
+ {
+ $this->dateRange = $dateRange;
+ }
+ public function getDateRange()
+ {
+ return $this->dateRange;
+ }
+ public function setDimensionFilters($dimensionFilters)
+ {
+ $this->dimensionFilters = $dimensionFilters;
+ }
+ public function getDimensionFilters()
+ {
+ return $this->dimensionFilters;
+ }
+ public function setDimensions($dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+ public function setFloodlightConfigId(Postman_Google_Service_Dfareporting_DimensionValue $floodlightConfigId)
+ {
+ $this->floodlightConfigId = $floodlightConfigId;
+ }
+ public function getFloodlightConfigId()
+ {
+ return $this->floodlightConfigId;
+ }
+ public function setMetricNames($metricNames)
+ {
+ $this->metricNames = $metricNames;
+ }
+ public function getMetricNames()
+ {
+ return $this->metricNames;
+ }
+ public function setReportProperties(Postman_Google_Service_Dfareporting_ReportFloodlightCriteriaReportProperties $reportProperties)
+ {
+ $this->reportProperties = $reportProperties;
+ }
+ public function getReportProperties()
+ {
+ return $this->reportProperties;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_ReportFloodlightCriteriaReportProperties extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $includeAttributedIPConversions;
+ public $includeUnattributedCookieConversions;
+ public $includeUnattributedIPConversions;
+
+
+ public function setIncludeAttributedIPConversions($includeAttributedIPConversions)
+ {
+ $this->includeAttributedIPConversions = $includeAttributedIPConversions;
+ }
+ public function getIncludeAttributedIPConversions()
+ {
+ return $this->includeAttributedIPConversions;
+ }
+ public function setIncludeUnattributedCookieConversions($includeUnattributedCookieConversions)
+ {
+ $this->includeUnattributedCookieConversions = $includeUnattributedCookieConversions;
+ }
+ public function getIncludeUnattributedCookieConversions()
+ {
+ return $this->includeUnattributedCookieConversions;
+ }
+ public function setIncludeUnattributedIPConversions($includeUnattributedIPConversions)
+ {
+ $this->includeUnattributedIPConversions = $includeUnattributedIPConversions;
+ }
+ public function getIncludeUnattributedIPConversions()
+ {
+ return $this->includeUnattributedIPConversions;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_ReportList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Dfareporting_Report';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_ReportPathToConversionCriteria extends Postman_Google_Collection
+{
+ protected $collection_key = 'perInteractionDimensions';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $activityFiltersType = 'Postman_Google_Service_Dfareporting_DimensionValue';
+ protected $activityFiltersDataType = 'array';
+ protected $conversionDimensionsType = 'Postman_Google_Service_Dfareporting_SortedDimension';
+ protected $conversionDimensionsDataType = 'array';
+ protected $customFloodlightVariablesType = 'Postman_Google_Service_Dfareporting_SortedDimension';
+ protected $customFloodlightVariablesDataType = 'array';
+ protected $customRichMediaEventsType = 'Postman_Google_Service_Dfareporting_DimensionValue';
+ protected $customRichMediaEventsDataType = 'array';
+ protected $dateRangeType = 'Postman_Google_Service_Dfareporting_DateRange';
+ protected $dateRangeDataType = '';
+ protected $floodlightConfigIdType = 'Postman_Google_Service_Dfareporting_DimensionValue';
+ protected $floodlightConfigIdDataType = '';
+ public $metricNames;
+ protected $perInteractionDimensionsType = 'Postman_Google_Service_Dfareporting_SortedDimension';
+ protected $perInteractionDimensionsDataType = 'array';
+ protected $reportPropertiesType = 'Postman_Google_Service_Dfareporting_ReportPathToConversionCriteriaReportProperties';
+ protected $reportPropertiesDataType = '';
+
+
+ public function setActivityFilters($activityFilters)
+ {
+ $this->activityFilters = $activityFilters;
+ }
+ public function getActivityFilters()
+ {
+ return $this->activityFilters;
+ }
+ public function setConversionDimensions($conversionDimensions)
+ {
+ $this->conversionDimensions = $conversionDimensions;
+ }
+ public function getConversionDimensions()
+ {
+ return $this->conversionDimensions;
+ }
+ public function setCustomFloodlightVariables($customFloodlightVariables)
+ {
+ $this->customFloodlightVariables = $customFloodlightVariables;
+ }
+ public function getCustomFloodlightVariables()
+ {
+ return $this->customFloodlightVariables;
+ }
+ public function setCustomRichMediaEvents($customRichMediaEvents)
+ {
+ $this->customRichMediaEvents = $customRichMediaEvents;
+ }
+ public function getCustomRichMediaEvents()
+ {
+ return $this->customRichMediaEvents;
+ }
+ public function setDateRange(Postman_Google_Service_Dfareporting_DateRange $dateRange)
+ {
+ $this->dateRange = $dateRange;
+ }
+ public function getDateRange()
+ {
+ return $this->dateRange;
+ }
+ public function setFloodlightConfigId(Postman_Google_Service_Dfareporting_DimensionValue $floodlightConfigId)
+ {
+ $this->floodlightConfigId = $floodlightConfigId;
+ }
+ public function getFloodlightConfigId()
+ {
+ return $this->floodlightConfigId;
+ }
+ public function setMetricNames($metricNames)
+ {
+ $this->metricNames = $metricNames;
+ }
+ public function getMetricNames()
+ {
+ return $this->metricNames;
+ }
+ public function setPerInteractionDimensions($perInteractionDimensions)
+ {
+ $this->perInteractionDimensions = $perInteractionDimensions;
+ }
+ public function getPerInteractionDimensions()
+ {
+ return $this->perInteractionDimensions;
+ }
+ public function setReportProperties(Postman_Google_Service_Dfareporting_ReportPathToConversionCriteriaReportProperties $reportProperties)
+ {
+ $this->reportProperties = $reportProperties;
+ }
+ public function getReportProperties()
+ {
+ return $this->reportProperties;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_ReportPathToConversionCriteriaReportProperties extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $clicksLookbackWindow;
+ public $impressionsLookbackWindow;
+ public $includeAttributedIPConversions;
+ public $includeUnattributedCookieConversions;
+ public $includeUnattributedIPConversions;
+ public $maximumClickInteractions;
+ public $maximumImpressionInteractions;
+ public $maximumInteractionGap;
+ public $pivotOnInteractionPath;
+
+
+ public function setClicksLookbackWindow($clicksLookbackWindow)
+ {
+ $this->clicksLookbackWindow = $clicksLookbackWindow;
+ }
+ public function getClicksLookbackWindow()
+ {
+ return $this->clicksLookbackWindow;
+ }
+ public function setImpressionsLookbackWindow($impressionsLookbackWindow)
+ {
+ $this->impressionsLookbackWindow = $impressionsLookbackWindow;
+ }
+ public function getImpressionsLookbackWindow()
+ {
+ return $this->impressionsLookbackWindow;
+ }
+ public function setIncludeAttributedIPConversions($includeAttributedIPConversions)
+ {
+ $this->includeAttributedIPConversions = $includeAttributedIPConversions;
+ }
+ public function getIncludeAttributedIPConversions()
+ {
+ return $this->includeAttributedIPConversions;
+ }
+ public function setIncludeUnattributedCookieConversions($includeUnattributedCookieConversions)
+ {
+ $this->includeUnattributedCookieConversions = $includeUnattributedCookieConversions;
+ }
+ public function getIncludeUnattributedCookieConversions()
+ {
+ return $this->includeUnattributedCookieConversions;
+ }
+ public function setIncludeUnattributedIPConversions($includeUnattributedIPConversions)
+ {
+ $this->includeUnattributedIPConversions = $includeUnattributedIPConversions;
+ }
+ public function getIncludeUnattributedIPConversions()
+ {
+ return $this->includeUnattributedIPConversions;
+ }
+ public function setMaximumClickInteractions($maximumClickInteractions)
+ {
+ $this->maximumClickInteractions = $maximumClickInteractions;
+ }
+ public function getMaximumClickInteractions()
+ {
+ return $this->maximumClickInteractions;
+ }
+ public function setMaximumImpressionInteractions($maximumImpressionInteractions)
+ {
+ $this->maximumImpressionInteractions = $maximumImpressionInteractions;
+ }
+ public function getMaximumImpressionInteractions()
+ {
+ return $this->maximumImpressionInteractions;
+ }
+ public function setMaximumInteractionGap($maximumInteractionGap)
+ {
+ $this->maximumInteractionGap = $maximumInteractionGap;
+ }
+ public function getMaximumInteractionGap()
+ {
+ return $this->maximumInteractionGap;
+ }
+ public function setPivotOnInteractionPath($pivotOnInteractionPath)
+ {
+ $this->pivotOnInteractionPath = $pivotOnInteractionPath;
+ }
+ public function getPivotOnInteractionPath()
+ {
+ return $this->pivotOnInteractionPath;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_ReportReachCriteria extends Postman_Google_Collection
+{
+ protected $collection_key = 'reachByFrequencyMetricNames';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $activitiesType = 'Postman_Google_Service_Dfareporting_Activities';
+ protected $activitiesDataType = '';
+ protected $customRichMediaEventsType = 'Postman_Google_Service_Dfareporting_CustomRichMediaEvents';
+ protected $customRichMediaEventsDataType = '';
+ protected $dateRangeType = 'Postman_Google_Service_Dfareporting_DateRange';
+ protected $dateRangeDataType = '';
+ protected $dimensionFiltersType = 'Postman_Google_Service_Dfareporting_DimensionValue';
+ protected $dimensionFiltersDataType = 'array';
+ protected $dimensionsType = 'Postman_Google_Service_Dfareporting_SortedDimension';
+ protected $dimensionsDataType = 'array';
+ public $metricNames;
+ public $reachByFrequencyMetricNames;
+
+
+ public function setActivities(Postman_Google_Service_Dfareporting_Activities $activities)
+ {
+ $this->activities = $activities;
+ }
+ public function getActivities()
+ {
+ return $this->activities;
+ }
+ public function setCustomRichMediaEvents(Postman_Google_Service_Dfareporting_CustomRichMediaEvents $customRichMediaEvents)
+ {
+ $this->customRichMediaEvents = $customRichMediaEvents;
+ }
+ public function getCustomRichMediaEvents()
+ {
+ return $this->customRichMediaEvents;
+ }
+ public function setDateRange(Postman_Google_Service_Dfareporting_DateRange $dateRange)
+ {
+ $this->dateRange = $dateRange;
+ }
+ public function getDateRange()
+ {
+ return $this->dateRange;
+ }
+ public function setDimensionFilters($dimensionFilters)
+ {
+ $this->dimensionFilters = $dimensionFilters;
+ }
+ public function getDimensionFilters()
+ {
+ return $this->dimensionFilters;
+ }
+ public function setDimensions($dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+ public function setMetricNames($metricNames)
+ {
+ $this->metricNames = $metricNames;
+ }
+ public function getMetricNames()
+ {
+ return $this->metricNames;
+ }
+ public function setReachByFrequencyMetricNames($reachByFrequencyMetricNames)
+ {
+ $this->reachByFrequencyMetricNames = $reachByFrequencyMetricNames;
+ }
+ public function getReachByFrequencyMetricNames()
+ {
+ return $this->reachByFrequencyMetricNames;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_ReportSchedule extends Postman_Google_Collection
+{
+ protected $collection_key = 'repeatsOnWeekDays';
+ protected $internal_gapi_mappings = array(
+ );
+ public $active;
+ public $every;
+ public $expirationDate;
+ public $repeats;
+ public $repeatsOnWeekDays;
+ public $runsOnDayOfMonth;
+ public $startDate;
+
+
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ public function setEvery($every)
+ {
+ $this->every = $every;
+ }
+ public function getEvery()
+ {
+ return $this->every;
+ }
+ public function setExpirationDate($expirationDate)
+ {
+ $this->expirationDate = $expirationDate;
+ }
+ public function getExpirationDate()
+ {
+ return $this->expirationDate;
+ }
+ public function setRepeats($repeats)
+ {
+ $this->repeats = $repeats;
+ }
+ public function getRepeats()
+ {
+ return $this->repeats;
+ }
+ public function setRepeatsOnWeekDays($repeatsOnWeekDays)
+ {
+ $this->repeatsOnWeekDays = $repeatsOnWeekDays;
+ }
+ public function getRepeatsOnWeekDays()
+ {
+ return $this->repeatsOnWeekDays;
+ }
+ public function setRunsOnDayOfMonth($runsOnDayOfMonth)
+ {
+ $this->runsOnDayOfMonth = $runsOnDayOfMonth;
+ }
+ public function getRunsOnDayOfMonth()
+ {
+ return $this->runsOnDayOfMonth;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_SortedDimension extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $name;
+ public $sortOrder;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSortOrder($sortOrder)
+ {
+ $this->sortOrder = $sortOrder;
+ }
+ public function getSortOrder()
+ {
+ return $this->sortOrder;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_UserProfile extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $accountName;
+ public $etag;
+ public $kind;
+ public $profileId;
+ public $subAccountId;
+ public $subAccountName;
+ public $userName;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAccountName($accountName)
+ {
+ $this->accountName = $accountName;
+ }
+ public function getAccountName()
+ {
+ return $this->accountName;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setProfileId($profileId)
+ {
+ $this->profileId = $profileId;
+ }
+ public function getProfileId()
+ {
+ return $this->profileId;
+ }
+ public function setSubAccountId($subAccountId)
+ {
+ $this->subAccountId = $subAccountId;
+ }
+ public function getSubAccountId()
+ {
+ return $this->subAccountId;
+ }
+ public function setSubAccountName($subAccountName)
+ {
+ $this->subAccountName = $subAccountName;
+ }
+ public function getSubAccountName()
+ {
+ return $this->subAccountName;
+ }
+ public function setUserName($userName)
+ {
+ $this->userName = $userName;
+ }
+ public function getUserName()
+ {
+ return $this->userName;
+ }
+}
+
+class Postman_Google_Service_Dfareporting_UserProfileList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Dfareporting_UserProfile';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Directory.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Directory.php
new file mode 100644
index 0000000..04dcaf1
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Directory.php
@@ -0,0 +1,5448 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Directory (directory_v1).
+ *
+ * <p>
+ * The Admin SDK Directory API lets you view and manage enterprise resources
+ * such as users and groups, administrative notifications, security features,
+ * and more.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/admin-sdk/directory/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Directory extends Postman_Google_Service
+{
+ /** View and manage your Chrome OS devices' metadata. */
+ const ADMIN_DIRECTORY_DEVICE_CHROMEOS =
+ "https://www.googleapis.com/auth/admin.directory.device.chromeos";
+ /** View your Chrome OS devices' metadata. */
+ const ADMIN_DIRECTORY_DEVICE_CHROMEOS_READONLY =
+ "https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly";
+ /** View and manage your mobile devices' metadata. */
+ const ADMIN_DIRECTORY_DEVICE_MOBILE =
+ "https://www.googleapis.com/auth/admin.directory.device.mobile";
+ /** Manage your mobile devices by performing administrative tasks. */
+ const ADMIN_DIRECTORY_DEVICE_MOBILE_ACTION =
+ "https://www.googleapis.com/auth/admin.directory.device.mobile.action";
+ /** View your mobile devices' metadata. */
+ const ADMIN_DIRECTORY_DEVICE_MOBILE_READONLY =
+ "https://www.googleapis.com/auth/admin.directory.device.mobile.readonly";
+ /** View and manage the provisioning of groups on your domain. */
+ const ADMIN_DIRECTORY_GROUP =
+ "https://www.googleapis.com/auth/admin.directory.group";
+ /** View and manage group subscriptions on your domain. */
+ const ADMIN_DIRECTORY_GROUP_MEMBER =
+ "https://www.googleapis.com/auth/admin.directory.group.member";
+ /** View group subscriptions on your domain. */
+ const ADMIN_DIRECTORY_GROUP_MEMBER_READONLY =
+ "https://www.googleapis.com/auth/admin.directory.group.member.readonly";
+ /** View groups on your domain. */
+ const ADMIN_DIRECTORY_GROUP_READONLY =
+ "https://www.googleapis.com/auth/admin.directory.group.readonly";
+ /** View and manage notifications received on your domain. */
+ const ADMIN_DIRECTORY_NOTIFICATIONS =
+ "https://www.googleapis.com/auth/admin.directory.notifications";
+ /** View and manage organization units on your domain. */
+ const ADMIN_DIRECTORY_ORGUNIT =
+ "https://www.googleapis.com/auth/admin.directory.orgunit";
+ /** View organization units on your domain. */
+ const ADMIN_DIRECTORY_ORGUNIT_READONLY =
+ "https://www.googleapis.com/auth/admin.directory.orgunit.readonly";
+ /** View and manage the provisioning of users on your domain. */
+ const ADMIN_DIRECTORY_USER =
+ "https://www.googleapis.com/auth/admin.directory.user";
+ /** View and manage user aliases on your domain. */
+ const ADMIN_DIRECTORY_USER_ALIAS =
+ "https://www.googleapis.com/auth/admin.directory.user.alias";
+ /** View user aliases on your domain. */
+ const ADMIN_DIRECTORY_USER_ALIAS_READONLY =
+ "https://www.googleapis.com/auth/admin.directory.user.alias.readonly";
+ /** View users on your domain. */
+ const ADMIN_DIRECTORY_USER_READONLY =
+ "https://www.googleapis.com/auth/admin.directory.user.readonly";
+ /** Manage data access permissions for users on your domain. */
+ const ADMIN_DIRECTORY_USER_SECURITY =
+ "https://www.googleapis.com/auth/admin.directory.user.security";
+ /** View and manage the provisioning of user schemas on your domain. */
+ const ADMIN_DIRECTORY_USERSCHEMA =
+ "https://www.googleapis.com/auth/admin.directory.userschema";
+ /** View user schemas on your domain. */
+ const ADMIN_DIRECTORY_USERSCHEMA_READONLY =
+ "https://www.googleapis.com/auth/admin.directory.userschema.readonly";
+
+ public $asps;
+ public $channels;
+ public $chromeosdevices;
+ public $groups;
+ public $groups_aliases;
+ public $members;
+ public $mobiledevices;
+ public $notifications;
+ public $orgunits;
+ public $schemas;
+ public $tokens;
+ public $users;
+ public $users_aliases;
+ public $users_photos;
+ public $verificationCodes;
+
+
+ /**
+ * Constructs the internal representation of the Directory service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'admin/directory/v1/';
+ $this->version = 'directory_v1';
+ $this->serviceName = 'admin';
+
+ $this->asps = new Postman_Google_Service_Directory_Asps_Resource(
+ $this,
+ $this->serviceName,
+ 'asps',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'users/{userKey}/asps/{codeId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'codeId' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'users/{userKey}/asps/{codeId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'codeId' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'users/{userKey}/asps',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->channels = new Postman_Google_Service_Directory_Channels_Resource(
+ $this,
+ $this->serviceName,
+ 'channels',
+ array(
+ 'methods' => array(
+ 'stop' => array(
+ 'path' => '/admin/directory_v1/channels/stop',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->chromeosdevices = new Postman_Google_Service_Directory_Chromeosdevices_Resource(
+ $this,
+ $this->serviceName,
+ 'chromeosdevices',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deviceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'customer/{customerId}/devices/chromeos',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deviceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'customer/{customerId}/devices/chromeos/{deviceId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deviceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->groups = new Postman_Google_Service_Directory_Groups_Resource(
+ $this,
+ $this->serviceName,
+ 'groups',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'groups/{groupKey}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'groupKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'groups/{groupKey}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'groupKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'groups',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'list' => array(
+ 'path' => 'groups',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'domain' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'userKey' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'groups/{groupKey}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'groupKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'groups/{groupKey}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'groupKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->groups_aliases = new Postman_Google_Service_Directory_GroupsAliases_Resource(
+ $this,
+ $this->serviceName,
+ 'aliases',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'groups/{groupKey}/aliases/{alias}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'groupKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'alias' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'groups/{groupKey}/aliases',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'groupKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'groups/{groupKey}/aliases',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'groupKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->members = new Postman_Google_Service_Directory_Members_Resource(
+ $this,
+ $this->serviceName,
+ 'members',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'groups/{groupKey}/members/{memberKey}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'groupKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'memberKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'groups/{groupKey}/members/{memberKey}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'groupKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'memberKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'groups/{groupKey}/members',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'groupKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'groups/{groupKey}/members',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'groupKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'roles' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'groups/{groupKey}/members/{memberKey}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'groupKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'memberKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'groups/{groupKey}/members/{memberKey}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'groupKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'memberKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->mobiledevices = new Postman_Google_Service_Directory_Mobiledevices_Resource(
+ $this,
+ $this->serviceName,
+ 'mobiledevices',
+ array(
+ 'methods' => array(
+ 'action' => array(
+ 'path' => 'customer/{customerId}/devices/mobile/{resourceId}/action',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'customer/{customerId}/devices/mobile/{resourceId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'customer/{customerId}/devices/mobile/{resourceId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'customer/{customerId}/devices/mobile',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->notifications = new Postman_Google_Service_Directory_Notifications_Resource(
+ $this,
+ $this->serviceName,
+ 'notifications',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'customer/{customer}/notifications/{notificationId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'notificationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'customer/{customer}/notifications/{notificationId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'notificationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'customer/{customer}/notifications',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'customer/{customer}/notifications/{notificationId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'notificationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'customer/{customer}/notifications/{notificationId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'notificationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->orgunits = new Postman_Google_Service_Directory_Orgunits_Resource(
+ $this,
+ $this->serviceName,
+ 'orgunits',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orgUnitPath' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'repeated' => true,
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orgUnitPath' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'repeated' => true,
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'customer/{customerId}/orgunits',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'customer/{customerId}/orgunits',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'type' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'orgUnitPath' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orgUnitPath' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'repeated' => true,
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'customer/{customerId}/orgunits{/orgUnitPath*}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orgUnitPath' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'repeated' => true,
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->schemas = new Postman_Google_Service_Directory_Schemas_Resource(
+ $this,
+ $this->serviceName,
+ 'schemas',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'customer/{customerId}/schemas/{schemaKey}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'schemaKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'customer/{customerId}/schemas/{schemaKey}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'schemaKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'customer/{customerId}/schemas',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'customer/{customerId}/schemas',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'customer/{customerId}/schemas/{schemaKey}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'schemaKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'customer/{customerId}/schemas/{schemaKey}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'schemaKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->tokens = new Postman_Google_Service_Directory_Tokens_Resource(
+ $this,
+ $this->serviceName,
+ 'tokens',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'users/{userKey}/tokens/{clientId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'users/{userKey}/tokens/{clientId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'clientId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'users/{userKey}/tokens',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users = new Postman_Google_Service_Directory_Users_Resource(
+ $this,
+ $this->serviceName,
+ 'users',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'users/{userKey}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'users/{userKey}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'viewType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'customFieldMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'users',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'list' => array(
+ 'path' => 'users',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'domain' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'customFieldMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'viewType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'event' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'makeAdmin' => array(
+ 'path' => 'users/{userKey}/makeAdmin',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'users/{userKey}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'undelete' => array(
+ 'path' => 'users/{userKey}/undelete',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'users/{userKey}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'watch' => array(
+ 'path' => 'users/watch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'customer' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'domain' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'customFieldMask' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'viewType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'event' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users_aliases = new Postman_Google_Service_Directory_UsersAliases_Resource(
+ $this,
+ $this->serviceName,
+ 'aliases',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'users/{userKey}/aliases/{alias}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'alias' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'users/{userKey}/aliases',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'users/{userKey}/aliases',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'event' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'watch' => array(
+ 'path' => 'users/{userKey}/aliases/watch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'event' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users_photos = new Postman_Google_Service_Directory_UsersPhotos_Resource(
+ $this,
+ $this->serviceName,
+ 'photos',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'users/{userKey}/photos/thumbnail',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'users/{userKey}/photos/thumbnail',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'users/{userKey}/photos/thumbnail',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'users/{userKey}/photos/thumbnail',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->verificationCodes = new Postman_Google_Service_Directory_VerificationCodes_Resource(
+ $this,
+ $this->serviceName,
+ 'verificationCodes',
+ array(
+ 'methods' => array(
+ 'generate' => array(
+ 'path' => 'users/{userKey}/verificationCodes/generate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'invalidate' => array(
+ 'path' => 'users/{userKey}/verificationCodes/invalidate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'users/{userKey}/verificationCodes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "asps" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Postman_Google_Service_Directory(...);
+ * $asps = $adminService->asps;
+ * </code>
+ */
+class Postman_Google_Service_Directory_Asps_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Delete an ASP issued by a user. (asps.delete)
+ *
+ * @param string $userKey Identifies the user in the API request. The value can
+ * be the user's primary email address, alias email address, or unique user ID.
+ * @param int $codeId The unique ID of the ASP to be deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($userKey, $codeId, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'codeId' => $codeId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Get information about an ASP issued by a user. (asps.get)
+ *
+ * @param string $userKey Identifies the user in the API request. The value can
+ * be the user's primary email address, alias email address, or unique user ID.
+ * @param int $codeId The unique ID of the ASP.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_Asp
+ */
+ public function get($userKey, $codeId, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'codeId' => $codeId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Directory_Asp");
+ }
+
+ /**
+ * List the ASPs issued by a user. (asps.listAsps)
+ *
+ * @param string $userKey Identifies the user in the API request. The value can
+ * be the user's primary email address, alias email address, or unique user ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_Asps
+ */
+ public function listAsps($userKey, $optParams = array())
+ {
+ $params = array('userKey' => $userKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Directory_Asps");
+ }
+}
+
+/**
+ * The "channels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Postman_Google_Service_Directory(...);
+ * $channels = $adminService->channels;
+ * </code>
+ */
+class Postman_Google_Service_Directory_Channels_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Stop watching resources through this channel (channels.stop)
+ *
+ * @param Postman_Google_Channel $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function stop(Postman_Google_Service_Directory_Channel $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('stop', array($params));
+ }
+}
+
+/**
+ * The "chromeosdevices" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Postman_Google_Service_Directory(...);
+ * $chromeosdevices = $adminService->chromeosdevices;
+ * </code>
+ */
+class Postman_Google_Service_Directory_Chromeosdevices_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieve Chrome OS Device (chromeosdevices.get)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param string $deviceId Immutable id of Chrome OS Device
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projection Restrict information returned to a set of
+ * selected fields.
+ * @return Postman_Google_Service_Directory_ChromeOsDevice
+ */
+ public function get($customerId, $deviceId, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'deviceId' => $deviceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Directory_ChromeOsDevice");
+ }
+
+ /**
+ * Retrieve all Chrome OS Devices of a customer (paginated)
+ * (chromeosdevices.listChromeosdevices)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy Column to use for sorting results
+ * @opt_param string projection Restrict information returned to a set of
+ * selected fields.
+ * @opt_param int maxResults Maximum number of results to return. Default is 100
+ * @opt_param string pageToken Token to specify next page in the list
+ * @opt_param string sortOrder Whether to return results in ascending or
+ * descending order. Only of use when orderBy is also used
+ * @opt_param string query Search string in the format given at
+ * http://support.google.com/chromeos/a/bin/answer.py?hl=en=1698333
+ * @return Postman_Google_Service_Directory_ChromeOsDevices
+ */
+ public function listChromeosdevices($customerId, $optParams = array())
+ {
+ $params = array('customerId' => $customerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Directory_ChromeOsDevices");
+ }
+
+ /**
+ * Update Chrome OS Device. This method supports patch semantics.
+ * (chromeosdevices.patch)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param string $deviceId Immutable id of Chrome OS Device
+ * @param Postman_Google_ChromeOsDevice $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projection Restrict information returned to a set of
+ * selected fields.
+ * @return Postman_Google_Service_Directory_ChromeOsDevice
+ */
+ public function patch($customerId, $deviceId, Postman_Google_Service_Directory_ChromeOsDevice $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'deviceId' => $deviceId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Directory_ChromeOsDevice");
+ }
+
+ /**
+ * Update Chrome OS Device (chromeosdevices.update)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param string $deviceId Immutable id of Chrome OS Device
+ * @param Postman_Google_ChromeOsDevice $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projection Restrict information returned to a set of
+ * selected fields.
+ * @return Postman_Google_Service_Directory_ChromeOsDevice
+ */
+ public function update($customerId, $deviceId, Postman_Google_Service_Directory_ChromeOsDevice $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'deviceId' => $deviceId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Directory_ChromeOsDevice");
+ }
+}
+
+/**
+ * The "groups" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Postman_Google_Service_Directory(...);
+ * $groups = $adminService->groups;
+ * </code>
+ */
+class Postman_Google_Service_Directory_Groups_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Delete Group (groups.delete)
+ *
+ * @param string $groupKey Email or immutable Id of the group
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($groupKey, $optParams = array())
+ {
+ $params = array('groupKey' => $groupKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieve Group (groups.get)
+ *
+ * @param string $groupKey Email or immutable Id of the group
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_Group
+ */
+ public function get($groupKey, $optParams = array())
+ {
+ $params = array('groupKey' => $groupKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Directory_Group");
+ }
+
+ /**
+ * Create Group (groups.insert)
+ *
+ * @param Postman_Google_Group $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_Group
+ */
+ public function insert(Postman_Google_Service_Directory_Group $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Directory_Group");
+ }
+
+ /**
+ * Retrieve all groups in a domain (paginated) (groups.listGroups)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string customer Immutable id of the Google Apps account. In case
+ * of multi-domain, to fetch all groups for a customer, fill this field instead
+ * of domain.
+ * @opt_param string pageToken Token to specify next page in the list
+ * @opt_param string domain Name of the domain. Fill this field to get groups
+ * from only this domain. To return all groups in a multi-domain fill customer
+ * field instead.
+ * @opt_param int maxResults Maximum number of results to return. Default is 200
+ * @opt_param string userKey Email or immutable Id of the user if only those
+ * groups are to be listed, the given user is a member of. If Id, it should
+ * match with id of user object
+ * @return Postman_Google_Service_Directory_Groups
+ */
+ public function listGroups($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Directory_Groups");
+ }
+
+ /**
+ * Update Group. This method supports patch semantics. (groups.patch)
+ *
+ * @param string $groupKey Email or immutable Id of the group. If Id, it should
+ * match with id of group object
+ * @param Postman_Google_Group $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_Group
+ */
+ public function patch($groupKey, Postman_Google_Service_Directory_Group $postBody, $optParams = array())
+ {
+ $params = array('groupKey' => $groupKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Directory_Group");
+ }
+
+ /**
+ * Update Group (groups.update)
+ *
+ * @param string $groupKey Email or immutable Id of the group. If Id, it should
+ * match with id of group object
+ * @param Postman_Google_Group $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_Group
+ */
+ public function update($groupKey, Postman_Google_Service_Directory_Group $postBody, $optParams = array())
+ {
+ $params = array('groupKey' => $groupKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Directory_Group");
+ }
+}
+
+/**
+ * The "aliases" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Postman_Google_Service_Directory(...);
+ * $aliases = $adminService->aliases;
+ * </code>
+ */
+class Postman_Google_Service_Directory_GroupsAliases_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Remove a alias for the group (aliases.delete)
+ *
+ * @param string $groupKey Email or immutable Id of the group
+ * @param string $alias The alias to be removed
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($groupKey, $alias, $optParams = array())
+ {
+ $params = array('groupKey' => $groupKey, 'alias' => $alias);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Add a alias for the group (aliases.insert)
+ *
+ * @param string $groupKey Email or immutable Id of the group
+ * @param Postman_Google_Alias $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_Alias
+ */
+ public function insert($groupKey, Postman_Google_Service_Directory_Alias $postBody, $optParams = array())
+ {
+ $params = array('groupKey' => $groupKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Directory_Alias");
+ }
+
+ /**
+ * List all aliases for a group (aliases.listGroupsAliases)
+ *
+ * @param string $groupKey Email or immutable Id of the group
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_Aliases
+ */
+ public function listGroupsAliases($groupKey, $optParams = array())
+ {
+ $params = array('groupKey' => $groupKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Directory_Aliases");
+ }
+}
+
+/**
+ * The "members" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Postman_Google_Service_Directory(...);
+ * $members = $adminService->members;
+ * </code>
+ */
+class Postman_Google_Service_Directory_Members_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Remove membership. (members.delete)
+ *
+ * @param string $groupKey Email or immutable Id of the group
+ * @param string $memberKey Email or immutable Id of the member
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($groupKey, $memberKey, $optParams = array())
+ {
+ $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieve Group Member (members.get)
+ *
+ * @param string $groupKey Email or immutable Id of the group
+ * @param string $memberKey Email or immutable Id of the member
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_Member
+ */
+ public function get($groupKey, $memberKey, $optParams = array())
+ {
+ $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Directory_Member");
+ }
+
+ /**
+ * Add user to the specified group. (members.insert)
+ *
+ * @param string $groupKey Email or immutable Id of the group
+ * @param Postman_Google_Member $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_Member
+ */
+ public function insert($groupKey, Postman_Google_Service_Directory_Member $postBody, $optParams = array())
+ {
+ $params = array('groupKey' => $groupKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Directory_Member");
+ }
+
+ /**
+ * Retrieve all members in a group (paginated) (members.listMembers)
+ *
+ * @param string $groupKey Email or immutable Id of the group
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Token to specify next page in the list
+ * @opt_param string roles Comma separated role values to filter list results
+ * on.
+ * @opt_param int maxResults Maximum number of results to return. Default is 200
+ * @return Postman_Google_Service_Directory_Members
+ */
+ public function listMembers($groupKey, $optParams = array())
+ {
+ $params = array('groupKey' => $groupKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Directory_Members");
+ }
+
+ /**
+ * Update membership of a user in the specified group. This method supports
+ * patch semantics. (members.patch)
+ *
+ * @param string $groupKey Email or immutable Id of the group. If Id, it should
+ * match with id of group object
+ * @param string $memberKey Email or immutable Id of the user. If Id, it should
+ * match with id of member object
+ * @param Postman_Google_Member $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_Member
+ */
+ public function patch($groupKey, $memberKey, Postman_Google_Service_Directory_Member $postBody, $optParams = array())
+ {
+ $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Directory_Member");
+ }
+
+ /**
+ * Update membership of a user in the specified group. (members.update)
+ *
+ * @param string $groupKey Email or immutable Id of the group. If Id, it should
+ * match with id of group object
+ * @param string $memberKey Email or immutable Id of the user. If Id, it should
+ * match with id of member object
+ * @param Postman_Google_Member $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_Member
+ */
+ public function update($groupKey, $memberKey, Postman_Google_Service_Directory_Member $postBody, $optParams = array())
+ {
+ $params = array('groupKey' => $groupKey, 'memberKey' => $memberKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Directory_Member");
+ }
+}
+
+/**
+ * The "mobiledevices" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Postman_Google_Service_Directory(...);
+ * $mobiledevices = $adminService->mobiledevices;
+ * </code>
+ */
+class Postman_Google_Service_Directory_Mobiledevices_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Take action on Mobile Device (mobiledevices.action)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param string $resourceId Immutable id of Mobile Device
+ * @param Postman_Google_MobileDeviceAction $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function action($customerId, $resourceId, Postman_Google_Service_Directory_MobileDeviceAction $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'resourceId' => $resourceId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('action', array($params));
+ }
+
+ /**
+ * Delete Mobile Device (mobiledevices.delete)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param string $resourceId Immutable id of Mobile Device
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($customerId, $resourceId, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'resourceId' => $resourceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieve Mobile Device (mobiledevices.get)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param string $resourceId Immutable id of Mobile Device
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projection Restrict information returned to a set of
+ * selected fields.
+ * @return Postman_Google_Service_Directory_MobileDevice
+ */
+ public function get($customerId, $resourceId, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'resourceId' => $resourceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Directory_MobileDevice");
+ }
+
+ /**
+ * Retrieve all Mobile Devices of a customer (paginated)
+ * (mobiledevices.listMobiledevices)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy Column to use for sorting results
+ * @opt_param string projection Restrict information returned to a set of
+ * selected fields.
+ * @opt_param int maxResults Maximum number of results to return. Default is 100
+ * @opt_param string pageToken Token to specify next page in the list
+ * @opt_param string sortOrder Whether to return results in ascending or
+ * descending order. Only of use when orderBy is also used
+ * @opt_param string query Search string in the format given at
+ * http://support.google.com/a/bin/answer.py?hl=en=1408863#search
+ * @return Postman_Google_Service_Directory_MobileDevices
+ */
+ public function listMobiledevices($customerId, $optParams = array())
+ {
+ $params = array('customerId' => $customerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Directory_MobileDevices");
+ }
+}
+
+/**
+ * The "notifications" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Postman_Google_Service_Directory(...);
+ * $notifications = $adminService->notifications;
+ * </code>
+ */
+class Postman_Google_Service_Directory_Notifications_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes a notification (notifications.delete)
+ *
+ * @param string $customer The unique ID for the customer's Google account. The
+ * customerId is also returned as part of the Users resource.
+ * @param string $notificationId The unique ID of the notification.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($customer, $notificationId, $optParams = array())
+ {
+ $params = array('customer' => $customer, 'notificationId' => $notificationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves a notification. (notifications.get)
+ *
+ * @param string $customer The unique ID for the customer's Google account. The
+ * customerId is also returned as part of the Users resource.
+ * @param string $notificationId The unique ID of the notification.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_Notification
+ */
+ public function get($customer, $notificationId, $optParams = array())
+ {
+ $params = array('customer' => $customer, 'notificationId' => $notificationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Directory_Notification");
+ }
+
+ /**
+ * Retrieves a list of notifications. (notifications.listNotifications)
+ *
+ * @param string $customer The unique ID for the customer's Google account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token to specify the page of results to
+ * retrieve.
+ * @opt_param string maxResults Maximum number of notifications to return per
+ * page. The default is 100.
+ * @opt_param string language The ISO 639-1 code of the language notifications
+ * are returned in. The default is English (en).
+ * @return Postman_Google_Service_Directory_Notifications
+ */
+ public function listNotifications($customer, $optParams = array())
+ {
+ $params = array('customer' => $customer);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Directory_Notifications");
+ }
+
+ /**
+ * Updates a notification. This method supports patch semantics.
+ * (notifications.patch)
+ *
+ * @param string $customer The unique ID for the customer's Google account.
+ * @param string $notificationId The unique ID of the notification.
+ * @param Postman_Google_Notification $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_Notification
+ */
+ public function patch($customer, $notificationId, Postman_Google_Service_Directory_Notification $postBody, $optParams = array())
+ {
+ $params = array('customer' => $customer, 'notificationId' => $notificationId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Directory_Notification");
+ }
+
+ /**
+ * Updates a notification. (notifications.update)
+ *
+ * @param string $customer The unique ID for the customer's Google account.
+ * @param string $notificationId The unique ID of the notification.
+ * @param Postman_Google_Notification $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_Notification
+ */
+ public function update($customer, $notificationId, Postman_Google_Service_Directory_Notification $postBody, $optParams = array())
+ {
+ $params = array('customer' => $customer, 'notificationId' => $notificationId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Directory_Notification");
+ }
+}
+
+/**
+ * The "orgunits" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Postman_Google_Service_Directory(...);
+ * $orgunits = $adminService->orgunits;
+ * </code>
+ */
+class Postman_Google_Service_Directory_Orgunits_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Remove Organization Unit (orgunits.delete)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param string $orgUnitPath Full path of the organization unit
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($customerId, $orgUnitPath, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieve Organization Unit (orgunits.get)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param string $orgUnitPath Full path of the organization unit
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_OrgUnit
+ */
+ public function get($customerId, $orgUnitPath, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Directory_OrgUnit");
+ }
+
+ /**
+ * Add Organization Unit (orgunits.insert)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param Postman_Google_OrgUnit $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_OrgUnit
+ */
+ public function insert($customerId, Postman_Google_Service_Directory_OrgUnit $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Directory_OrgUnit");
+ }
+
+ /**
+ * Retrieve all Organization Units (orgunits.listOrgunits)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string type Whether to return all sub-organizations or just
+ * immediate children
+ * @opt_param string orgUnitPath the URL-encoded organization unit
+ * @return Postman_Google_Service_Directory_OrgUnits
+ */
+ public function listOrgunits($customerId, $optParams = array())
+ {
+ $params = array('customerId' => $customerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Directory_OrgUnits");
+ }
+
+ /**
+ * Update Organization Unit. This method supports patch semantics.
+ * (orgunits.patch)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param string $orgUnitPath Full path of the organization unit
+ * @param Postman_Google_OrgUnit $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_OrgUnit
+ */
+ public function patch($customerId, $orgUnitPath, Postman_Google_Service_Directory_OrgUnit $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Directory_OrgUnit");
+ }
+
+ /**
+ * Update Organization Unit (orgunits.update)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param string $orgUnitPath Full path of the organization unit
+ * @param Postman_Google_OrgUnit $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_OrgUnit
+ */
+ public function update($customerId, $orgUnitPath, Postman_Google_Service_Directory_OrgUnit $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'orgUnitPath' => $orgUnitPath, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Directory_OrgUnit");
+ }
+}
+
+/**
+ * The "schemas" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Postman_Google_Service_Directory(...);
+ * $schemas = $adminService->schemas;
+ * </code>
+ */
+class Postman_Google_Service_Directory_Schemas_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Delete schema (schemas.delete)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param string $schemaKey Name or immutable Id of the schema
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($customerId, $schemaKey, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieve schema (schemas.get)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param string $schemaKey Name or immutable Id of the schema
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_Schema
+ */
+ public function get($customerId, $schemaKey, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Directory_Schema");
+ }
+
+ /**
+ * Create schema. (schemas.insert)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param Postman_Google_Schema $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_Schema
+ */
+ public function insert($customerId, Postman_Google_Service_Directory_Schema $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Directory_Schema");
+ }
+
+ /**
+ * Retrieve all schemas for a customer (schemas.listSchemas)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_Schemas
+ */
+ public function listSchemas($customerId, $optParams = array())
+ {
+ $params = array('customerId' => $customerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Directory_Schemas");
+ }
+
+ /**
+ * Update schema. This method supports patch semantics. (schemas.patch)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param string $schemaKey Name or immutable Id of the schema.
+ * @param Postman_Google_Schema $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_Schema
+ */
+ public function patch($customerId, $schemaKey, Postman_Google_Service_Directory_Schema $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Directory_Schema");
+ }
+
+ /**
+ * Update schema (schemas.update)
+ *
+ * @param string $customerId Immutable id of the Google Apps account
+ * @param string $schemaKey Name or immutable Id of the schema.
+ * @param Postman_Google_Schema $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_Schema
+ */
+ public function update($customerId, $schemaKey, Postman_Google_Service_Directory_Schema $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'schemaKey' => $schemaKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Directory_Schema");
+ }
+}
+
+/**
+ * The "tokens" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Postman_Google_Service_Directory(...);
+ * $tokens = $adminService->tokens;
+ * </code>
+ */
+class Postman_Google_Service_Directory_Tokens_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Delete all access tokens issued by a user for an application. (tokens.delete)
+ *
+ * @param string $userKey Identifies the user in the API request. The value can
+ * be the user's primary email address, alias email address, or unique user ID.
+ * @param string $clientId The Client ID of the application the token is issued
+ * to.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($userKey, $clientId, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'clientId' => $clientId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Get information about an access token issued by a user. (tokens.get)
+ *
+ * @param string $userKey Identifies the user in the API request. The value can
+ * be the user's primary email address, alias email address, or unique user ID.
+ * @param string $clientId The Client ID of the application the token is issued
+ * to.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_Token
+ */
+ public function get($userKey, $clientId, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'clientId' => $clientId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Directory_Token");
+ }
+
+ /**
+ * Returns the set of tokens specified user has issued to 3rd party
+ * applications. (tokens.listTokens)
+ *
+ * @param string $userKey Identifies the user in the API request. The value can
+ * be the user's primary email address, alias email address, or unique user ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_Tokens
+ */
+ public function listTokens($userKey, $optParams = array())
+ {
+ $params = array('userKey' => $userKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Directory_Tokens");
+ }
+}
+
+/**
+ * The "users" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Postman_Google_Service_Directory(...);
+ * $users = $adminService->users;
+ * </code>
+ */
+class Postman_Google_Service_Directory_Users_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Delete user (users.delete)
+ *
+ * @param string $userKey Email or immutable Id of the user
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($userKey, $optParams = array())
+ {
+ $params = array('userKey' => $userKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * retrieve user (users.get)
+ *
+ * @param string $userKey Email or immutable Id of the user
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string viewType Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC
+ * view of the user.
+ * @opt_param string customFieldMask Comma-separated list of schema names. All
+ * fields from these schemas are fetched. This should only be set when
+ * projection=custom.
+ * @opt_param string projection What subset of fields to fetch for this user.
+ * @return Postman_Google_Service_Directory_User
+ */
+ public function get($userKey, $optParams = array())
+ {
+ $params = array('userKey' => $userKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Directory_User");
+ }
+
+ /**
+ * create user. (users.insert)
+ *
+ * @param Postman_Google_User $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_User
+ */
+ public function insert(Postman_Google_Service_Directory_User $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Directory_User");
+ }
+
+ /**
+ * Retrieve either deleted users or all users in a domain (paginated)
+ * (users.listUsers)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string customer Immutable id of the Google Apps account. In case
+ * of multi-domain, to fetch all users for a customer, fill this field instead
+ * of domain.
+ * @opt_param string orderBy Column to use for sorting results
+ * @opt_param string domain Name of the domain. Fill this field to get users
+ * from only this domain. To return all users in a multi-domain fill customer
+ * field instead.
+ * @opt_param string projection What subset of fields to fetch for this user.
+ * @opt_param string showDeleted If set to true retrieves the list of deleted
+ * users. Default is false
+ * @opt_param string customFieldMask Comma-separated list of schema names. All
+ * fields from these schemas are fetched. This should only be set when
+ * projection=custom.
+ * @opt_param int maxResults Maximum number of results to return. Default is
+ * 100. Max allowed is 500
+ * @opt_param string pageToken Token to specify next page in the list
+ * @opt_param string sortOrder Whether to return results in ascending or
+ * descending order.
+ * @opt_param string query Query string search. Should be of the form "".
+ * Complete documentation is at https://developers.google.com/admin-
+ * sdk/directory/v1/guides/search-users
+ * @opt_param string viewType Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC
+ * view of the user.
+ * @opt_param string event Event on which subscription is intended (if
+ * subscribing)
+ * @return Postman_Google_Service_Directory_Users
+ */
+ public function listUsers($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Directory_Users");
+ }
+
+ /**
+ * change admin status of a user (users.makeAdmin)
+ *
+ * @param string $userKey Email or immutable Id of the user as admin
+ * @param Postman_Google_UserMakeAdmin $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function makeAdmin($userKey, Postman_Google_Service_Directory_UserMakeAdmin $postBody, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('makeAdmin', array($params));
+ }
+
+ /**
+ * update user. This method supports patch semantics. (users.patch)
+ *
+ * @param string $userKey Email or immutable Id of the user. If Id, it should
+ * match with id of user object
+ * @param Postman_Google_User $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_User
+ */
+ public function patch($userKey, Postman_Google_Service_Directory_User $postBody, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Directory_User");
+ }
+
+ /**
+ * Undelete a deleted user (users.undelete)
+ *
+ * @param string $userKey The immutable id of the user
+ * @param Postman_Google_UserUndelete $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function undelete($userKey, Postman_Google_Service_Directory_UserUndelete $postBody, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('undelete', array($params));
+ }
+
+ /**
+ * update user (users.update)
+ *
+ * @param string $userKey Email or immutable Id of the user. If Id, it should
+ * match with id of user object
+ * @param Postman_Google_User $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_User
+ */
+ public function update($userKey, Postman_Google_Service_Directory_User $postBody, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Directory_User");
+ }
+
+ /**
+ * Watch for changes in users list (users.watch)
+ *
+ * @param Postman_Google_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string customer Immutable id of the Google Apps account. In case
+ * of multi-domain, to fetch all users for a customer, fill this field instead
+ * of domain.
+ * @opt_param string orderBy Column to use for sorting results
+ * @opt_param string domain Name of the domain. Fill this field to get users
+ * from only this domain. To return all users in a multi-domain fill customer
+ * field instead.
+ * @opt_param string projection What subset of fields to fetch for this user.
+ * @opt_param string showDeleted If set to true retrieves the list of deleted
+ * users. Default is false
+ * @opt_param string customFieldMask Comma-separated list of schema names. All
+ * fields from these schemas are fetched. This should only be set when
+ * projection=custom.
+ * @opt_param int maxResults Maximum number of results to return. Default is
+ * 100. Max allowed is 500
+ * @opt_param string pageToken Token to specify next page in the list
+ * @opt_param string sortOrder Whether to return results in ascending or
+ * descending order.
+ * @opt_param string query Query string search. Should be of the form "".
+ * Complete documentation is at https://developers.google.com/admin-
+ * sdk/directory/v1/guides/search-users
+ * @opt_param string viewType Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC
+ * view of the user.
+ * @opt_param string event Event on which subscription is intended (if
+ * subscribing)
+ * @return Postman_Google_Service_Directory_Channel
+ */
+ public function watch(Postman_Google_Service_Directory_Channel $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Postman_Google_Service_Directory_Channel");
+ }
+}
+
+/**
+ * The "aliases" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Postman_Google_Service_Directory(...);
+ * $aliases = $adminService->aliases;
+ * </code>
+ */
+class Postman_Google_Service_Directory_UsersAliases_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Remove a alias for the user (aliases.delete)
+ *
+ * @param string $userKey Email or immutable Id of the user
+ * @param string $alias The alias to be removed
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($userKey, $alias, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'alias' => $alias);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Add a alias for the user (aliases.insert)
+ *
+ * @param string $userKey Email or immutable Id of the user
+ * @param Postman_Google_Alias $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_Alias
+ */
+ public function insert($userKey, Postman_Google_Service_Directory_Alias $postBody, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Directory_Alias");
+ }
+
+ /**
+ * List all aliases for a user (aliases.listUsersAliases)
+ *
+ * @param string $userKey Email or immutable Id of the user
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string event Event on which subscription is intended (if
+ * subscribing)
+ * @return Postman_Google_Service_Directory_Aliases
+ */
+ public function listUsersAliases($userKey, $optParams = array())
+ {
+ $params = array('userKey' => $userKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Directory_Aliases");
+ }
+
+ /**
+ * Watch for changes in user aliases list (aliases.watch)
+ *
+ * @param string $userKey Email or immutable Id of the user
+ * @param Postman_Google_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string event Event on which subscription is intended (if
+ * subscribing)
+ * @return Postman_Google_Service_Directory_Channel
+ */
+ public function watch($userKey, Postman_Google_Service_Directory_Channel $postBody, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Postman_Google_Service_Directory_Channel");
+ }
+}
+/**
+ * The "photos" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Postman_Google_Service_Directory(...);
+ * $photos = $adminService->photos;
+ * </code>
+ */
+class Postman_Google_Service_Directory_UsersPhotos_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Remove photos for the user (photos.delete)
+ *
+ * @param string $userKey Email or immutable Id of the user
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($userKey, $optParams = array())
+ {
+ $params = array('userKey' => $userKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieve photo of a user (photos.get)
+ *
+ * @param string $userKey Email or immutable Id of the user
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_UserPhoto
+ */
+ public function get($userKey, $optParams = array())
+ {
+ $params = array('userKey' => $userKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Directory_UserPhoto");
+ }
+
+ /**
+ * Add a photo for the user. This method supports patch semantics.
+ * (photos.patch)
+ *
+ * @param string $userKey Email or immutable Id of the user
+ * @param Postman_Google_UserPhoto $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_UserPhoto
+ */
+ public function patch($userKey, Postman_Google_Service_Directory_UserPhoto $postBody, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Directory_UserPhoto");
+ }
+
+ /**
+ * Add a photo for the user (photos.update)
+ *
+ * @param string $userKey Email or immutable Id of the user
+ * @param Postman_Google_UserPhoto $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_UserPhoto
+ */
+ public function update($userKey, Postman_Google_Service_Directory_UserPhoto $postBody, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Directory_UserPhoto");
+ }
+}
+
+/**
+ * The "verificationCodes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Postman_Google_Service_Directory(...);
+ * $verificationCodes = $adminService->verificationCodes;
+ * </code>
+ */
+class Postman_Google_Service_Directory_VerificationCodes_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Generate new backup verification codes for the user.
+ * (verificationCodes.generate)
+ *
+ * @param string $userKey Email or immutable Id of the user
+ * @param array $optParams Optional parameters.
+ */
+ public function generate($userKey, $optParams = array())
+ {
+ $params = array('userKey' => $userKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('generate', array($params));
+ }
+
+ /**
+ * Invalidate the current backup verification codes for the user.
+ * (verificationCodes.invalidate)
+ *
+ * @param string $userKey Email or immutable Id of the user
+ * @param array $optParams Optional parameters.
+ */
+ public function invalidate($userKey, $optParams = array())
+ {
+ $params = array('userKey' => $userKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('invalidate', array($params));
+ }
+
+ /**
+ * Returns the current set of valid backup verification codes for the specified
+ * user. (verificationCodes.listVerificationCodes)
+ *
+ * @param string $userKey Identifies the user in the API request. The value can
+ * be the user's primary email address, alias email address, or unique user ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Directory_VerificationCodes
+ */
+ public function listVerificationCodes($userKey, $optParams = array())
+ {
+ $params = array('userKey' => $userKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Directory_VerificationCodes");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Directory_Alias extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $alias;
+ public $etag;
+ public $id;
+ public $kind;
+ public $primaryEmail;
+
+
+ public function setAlias($alias)
+ {
+ $this->alias = $alias;
+ }
+ public function getAlias()
+ {
+ return $this->alias;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPrimaryEmail($primaryEmail)
+ {
+ $this->primaryEmail = $primaryEmail;
+ }
+ public function getPrimaryEmail()
+ {
+ return $this->primaryEmail;
+ }
+}
+
+class Postman_Google_Service_Directory_Aliases extends Postman_Google_Collection
+{
+ protected $collection_key = 'aliases';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $aliasesType = 'Postman_Google_Service_Directory_Alias';
+ protected $aliasesDataType = 'array';
+ public $etag;
+ public $kind;
+
+
+ public function setAliases($aliases)
+ {
+ $this->aliases = $aliases;
+ }
+ public function getAliases()
+ {
+ return $this->aliases;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Directory_Asp extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $codeId;
+ public $creationTime;
+ public $etag;
+ public $kind;
+ public $lastTimeUsed;
+ public $name;
+ public $userKey;
+
+
+ public function setCodeId($codeId)
+ {
+ $this->codeId = $codeId;
+ }
+ public function getCodeId()
+ {
+ return $this->codeId;
+ }
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastTimeUsed($lastTimeUsed)
+ {
+ $this->lastTimeUsed = $lastTimeUsed;
+ }
+ public function getLastTimeUsed()
+ {
+ return $this->lastTimeUsed;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setUserKey($userKey)
+ {
+ $this->userKey = $userKey;
+ }
+ public function getUserKey()
+ {
+ return $this->userKey;
+ }
+}
+
+class Postman_Google_Service_Directory_Asps extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Directory_Asp';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Directory_Channel extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $address;
+ public $expiration;
+ public $id;
+ public $kind;
+ public $params;
+ public $payload;
+ public $resourceId;
+ public $resourceUri;
+ public $token;
+ public $type;
+
+
+ public function setAddress($address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
+ public function setExpiration($expiration)
+ {
+ $this->expiration = $expiration;
+ }
+ public function getExpiration()
+ {
+ return $this->expiration;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setParams($params)
+ {
+ $this->params = $params;
+ }
+ public function getParams()
+ {
+ return $this->params;
+ }
+ public function setPayload($payload)
+ {
+ $this->payload = $payload;
+ }
+ public function getPayload()
+ {
+ return $this->payload;
+ }
+ public function setResourceId($resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+ public function setResourceUri($resourceUri)
+ {
+ $this->resourceUri = $resourceUri;
+ }
+ public function getResourceUri()
+ {
+ return $this->resourceUri;
+ }
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+ public function getToken()
+ {
+ return $this->token;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Directory_ChannelParams extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Directory_ChromeOsDevice extends Postman_Google_Collection
+{
+ protected $collection_key = 'recentUsers';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $activeTimeRangesType = 'Postman_Google_Service_Directory_ChromeOsDeviceActiveTimeRanges';
+ protected $activeTimeRangesDataType = 'array';
+ public $annotatedLocation;
+ public $annotatedUser;
+ public $bootMode;
+ public $deviceId;
+ public $etag;
+ public $ethernetMacAddress;
+ public $firmwareVersion;
+ public $kind;
+ public $lastEnrollmentTime;
+ public $lastSync;
+ public $macAddress;
+ public $meid;
+ public $model;
+ public $notes;
+ public $orderNumber;
+ public $orgUnitPath;
+ public $osVersion;
+ public $platformVersion;
+ protected $recentUsersType = 'Postman_Google_Service_Directory_ChromeOsDeviceRecentUsers';
+ protected $recentUsersDataType = 'array';
+ public $serialNumber;
+ public $status;
+ public $supportEndDate;
+ public $willAutoRenew;
+
+
+ public function setActiveTimeRanges($activeTimeRanges)
+ {
+ $this->activeTimeRanges = $activeTimeRanges;
+ }
+ public function getActiveTimeRanges()
+ {
+ return $this->activeTimeRanges;
+ }
+ public function setAnnotatedLocation($annotatedLocation)
+ {
+ $this->annotatedLocation = $annotatedLocation;
+ }
+ public function getAnnotatedLocation()
+ {
+ return $this->annotatedLocation;
+ }
+ public function setAnnotatedUser($annotatedUser)
+ {
+ $this->annotatedUser = $annotatedUser;
+ }
+ public function getAnnotatedUser()
+ {
+ return $this->annotatedUser;
+ }
+ public function setBootMode($bootMode)
+ {
+ $this->bootMode = $bootMode;
+ }
+ public function getBootMode()
+ {
+ return $this->bootMode;
+ }
+ public function setDeviceId($deviceId)
+ {
+ $this->deviceId = $deviceId;
+ }
+ public function getDeviceId()
+ {
+ return $this->deviceId;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setEthernetMacAddress($ethernetMacAddress)
+ {
+ $this->ethernetMacAddress = $ethernetMacAddress;
+ }
+ public function getEthernetMacAddress()
+ {
+ return $this->ethernetMacAddress;
+ }
+ public function setFirmwareVersion($firmwareVersion)
+ {
+ $this->firmwareVersion = $firmwareVersion;
+ }
+ public function getFirmwareVersion()
+ {
+ return $this->firmwareVersion;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastEnrollmentTime($lastEnrollmentTime)
+ {
+ $this->lastEnrollmentTime = $lastEnrollmentTime;
+ }
+ public function getLastEnrollmentTime()
+ {
+ return $this->lastEnrollmentTime;
+ }
+ public function setLastSync($lastSync)
+ {
+ $this->lastSync = $lastSync;
+ }
+ public function getLastSync()
+ {
+ return $this->lastSync;
+ }
+ public function setMacAddress($macAddress)
+ {
+ $this->macAddress = $macAddress;
+ }
+ public function getMacAddress()
+ {
+ return $this->macAddress;
+ }
+ public function setMeid($meid)
+ {
+ $this->meid = $meid;
+ }
+ public function getMeid()
+ {
+ return $this->meid;
+ }
+ public function setModel($model)
+ {
+ $this->model = $model;
+ }
+ public function getModel()
+ {
+ return $this->model;
+ }
+ public function setNotes($notes)
+ {
+ $this->notes = $notes;
+ }
+ public function getNotes()
+ {
+ return $this->notes;
+ }
+ public function setOrderNumber($orderNumber)
+ {
+ $this->orderNumber = $orderNumber;
+ }
+ public function getOrderNumber()
+ {
+ return $this->orderNumber;
+ }
+ public function setOrgUnitPath($orgUnitPath)
+ {
+ $this->orgUnitPath = $orgUnitPath;
+ }
+ public function getOrgUnitPath()
+ {
+ return $this->orgUnitPath;
+ }
+ public function setOsVersion($osVersion)
+ {
+ $this->osVersion = $osVersion;
+ }
+ public function getOsVersion()
+ {
+ return $this->osVersion;
+ }
+ public function setPlatformVersion($platformVersion)
+ {
+ $this->platformVersion = $platformVersion;
+ }
+ public function getPlatformVersion()
+ {
+ return $this->platformVersion;
+ }
+ public function setRecentUsers($recentUsers)
+ {
+ $this->recentUsers = $recentUsers;
+ }
+ public function getRecentUsers()
+ {
+ return $this->recentUsers;
+ }
+ public function setSerialNumber($serialNumber)
+ {
+ $this->serialNumber = $serialNumber;
+ }
+ public function getSerialNumber()
+ {
+ return $this->serialNumber;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setSupportEndDate($supportEndDate)
+ {
+ $this->supportEndDate = $supportEndDate;
+ }
+ public function getSupportEndDate()
+ {
+ return $this->supportEndDate;
+ }
+ public function setWillAutoRenew($willAutoRenew)
+ {
+ $this->willAutoRenew = $willAutoRenew;
+ }
+ public function getWillAutoRenew()
+ {
+ return $this->willAutoRenew;
+ }
+}
+
+class Postman_Google_Service_Directory_ChromeOsDeviceActiveTimeRanges extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $activeTime;
+ public $date;
+
+
+ public function setActiveTime($activeTime)
+ {
+ $this->activeTime = $activeTime;
+ }
+ public function getActiveTime()
+ {
+ return $this->activeTime;
+ }
+ public function setDate($date)
+ {
+ $this->date = $date;
+ }
+ public function getDate()
+ {
+ return $this->date;
+ }
+}
+
+class Postman_Google_Service_Directory_ChromeOsDeviceRecentUsers extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $email;
+ public $type;
+
+
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Directory_ChromeOsDevices extends Postman_Google_Collection
+{
+ protected $collection_key = 'chromeosdevices';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $chromeosdevicesType = 'Postman_Google_Service_Directory_ChromeOsDevice';
+ protected $chromeosdevicesDataType = 'array';
+ public $etag;
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setChromeosdevices($chromeosdevices)
+ {
+ $this->chromeosdevices = $chromeosdevices;
+ }
+ public function getChromeosdevices()
+ {
+ return $this->chromeosdevices;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Directory_Group extends Postman_Google_Collection
+{
+ protected $collection_key = 'nonEditableAliases';
+ protected $internal_gapi_mappings = array(
+ );
+ public $adminCreated;
+ public $aliases;
+ public $description;
+ public $directMembersCount;
+ public $email;
+ public $etag;
+ public $id;
+ public $kind;
+ public $name;
+ public $nonEditableAliases;
+
+
+ public function setAdminCreated($adminCreated)
+ {
+ $this->adminCreated = $adminCreated;
+ }
+ public function getAdminCreated()
+ {
+ return $this->adminCreated;
+ }
+ public function setAliases($aliases)
+ {
+ $this->aliases = $aliases;
+ }
+ public function getAliases()
+ {
+ return $this->aliases;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDirectMembersCount($directMembersCount)
+ {
+ $this->directMembersCount = $directMembersCount;
+ }
+ public function getDirectMembersCount()
+ {
+ return $this->directMembersCount;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNonEditableAliases($nonEditableAliases)
+ {
+ $this->nonEditableAliases = $nonEditableAliases;
+ }
+ public function getNonEditableAliases()
+ {
+ return $this->nonEditableAliases;
+ }
+}
+
+class Postman_Google_Service_Directory_Groups extends Postman_Google_Collection
+{
+ protected $collection_key = 'groups';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $groupsType = 'Postman_Google_Service_Directory_Group';
+ protected $groupsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setGroups($groups)
+ {
+ $this->groups = $groups;
+ }
+ public function getGroups()
+ {
+ return $this->groups;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Directory_Member extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $email;
+ public $etag;
+ public $id;
+ public $kind;
+ public $role;
+ public $type;
+
+
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Directory_Members extends Postman_Google_Collection
+{
+ protected $collection_key = 'members';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $kind;
+ protected $membersType = 'Postman_Google_Service_Directory_Member';
+ protected $membersDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+ public function getMembers()
+ {
+ return $this->members;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Directory_MobileDevice extends Postman_Google_Collection
+{
+ protected $collection_key = 'name';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $applicationsType = 'Postman_Google_Service_Directory_MobileDeviceApplications';
+ protected $applicationsDataType = 'array';
+ public $basebandVersion;
+ public $buildNumber;
+ public $defaultLanguage;
+ public $deviceCompromisedStatus;
+ public $deviceId;
+ public $email;
+ public $etag;
+ public $firstSync;
+ public $hardwareId;
+ public $imei;
+ public $kernelVersion;
+ public $kind;
+ public $lastSync;
+ public $managedAccountIsOnOwnerProfile;
+ public $meid;
+ public $model;
+ public $name;
+ public $networkOperator;
+ public $os;
+ public $resourceId;
+ public $serialNumber;
+ public $status;
+ public $type;
+ public $userAgent;
+ public $wifiMacAddress;
+
+
+ public function setApplications($applications)
+ {
+ $this->applications = $applications;
+ }
+ public function getApplications()
+ {
+ return $this->applications;
+ }
+ public function setBasebandVersion($basebandVersion)
+ {
+ $this->basebandVersion = $basebandVersion;
+ }
+ public function getBasebandVersion()
+ {
+ return $this->basebandVersion;
+ }
+ public function setBuildNumber($buildNumber)
+ {
+ $this->buildNumber = $buildNumber;
+ }
+ public function getBuildNumber()
+ {
+ return $this->buildNumber;
+ }
+ public function setDefaultLanguage($defaultLanguage)
+ {
+ $this->defaultLanguage = $defaultLanguage;
+ }
+ public function getDefaultLanguage()
+ {
+ return $this->defaultLanguage;
+ }
+ public function setDeviceCompromisedStatus($deviceCompromisedStatus)
+ {
+ $this->deviceCompromisedStatus = $deviceCompromisedStatus;
+ }
+ public function getDeviceCompromisedStatus()
+ {
+ return $this->deviceCompromisedStatus;
+ }
+ public function setDeviceId($deviceId)
+ {
+ $this->deviceId = $deviceId;
+ }
+ public function getDeviceId()
+ {
+ return $this->deviceId;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setFirstSync($firstSync)
+ {
+ $this->firstSync = $firstSync;
+ }
+ public function getFirstSync()
+ {
+ return $this->firstSync;
+ }
+ public function setHardwareId($hardwareId)
+ {
+ $this->hardwareId = $hardwareId;
+ }
+ public function getHardwareId()
+ {
+ return $this->hardwareId;
+ }
+ public function setImei($imei)
+ {
+ $this->imei = $imei;
+ }
+ public function getImei()
+ {
+ return $this->imei;
+ }
+ public function setKernelVersion($kernelVersion)
+ {
+ $this->kernelVersion = $kernelVersion;
+ }
+ public function getKernelVersion()
+ {
+ return $this->kernelVersion;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastSync($lastSync)
+ {
+ $this->lastSync = $lastSync;
+ }
+ public function getLastSync()
+ {
+ return $this->lastSync;
+ }
+ public function setManagedAccountIsOnOwnerProfile($managedAccountIsOnOwnerProfile)
+ {
+ $this->managedAccountIsOnOwnerProfile = $managedAccountIsOnOwnerProfile;
+ }
+ public function getManagedAccountIsOnOwnerProfile()
+ {
+ return $this->managedAccountIsOnOwnerProfile;
+ }
+ public function setMeid($meid)
+ {
+ $this->meid = $meid;
+ }
+ public function getMeid()
+ {
+ return $this->meid;
+ }
+ public function setModel($model)
+ {
+ $this->model = $model;
+ }
+ public function getModel()
+ {
+ return $this->model;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNetworkOperator($networkOperator)
+ {
+ $this->networkOperator = $networkOperator;
+ }
+ public function getNetworkOperator()
+ {
+ return $this->networkOperator;
+ }
+ public function setOs($os)
+ {
+ $this->os = $os;
+ }
+ public function getOs()
+ {
+ return $this->os;
+ }
+ public function setResourceId($resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+ public function setSerialNumber($serialNumber)
+ {
+ $this->serialNumber = $serialNumber;
+ }
+ public function getSerialNumber()
+ {
+ return $this->serialNumber;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUserAgent($userAgent)
+ {
+ $this->userAgent = $userAgent;
+ }
+ public function getUserAgent()
+ {
+ return $this->userAgent;
+ }
+ public function setWifiMacAddress($wifiMacAddress)
+ {
+ $this->wifiMacAddress = $wifiMacAddress;
+ }
+ public function getWifiMacAddress()
+ {
+ return $this->wifiMacAddress;
+ }
+}
+
+class Postman_Google_Service_Directory_MobileDeviceAction extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $action;
+
+
+ public function setAction($action)
+ {
+ $this->action = $action;
+ }
+ public function getAction()
+ {
+ return $this->action;
+ }
+}
+
+class Postman_Google_Service_Directory_MobileDeviceApplications extends Postman_Google_Collection
+{
+ protected $collection_key = 'permission';
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+ public $packageName;
+ public $permission;
+ public $versionCode;
+ public $versionName;
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setPackageName($packageName)
+ {
+ $this->packageName = $packageName;
+ }
+ public function getPackageName()
+ {
+ return $this->packageName;
+ }
+ public function setPermission($permission)
+ {
+ $this->permission = $permission;
+ }
+ public function getPermission()
+ {
+ return $this->permission;
+ }
+ public function setVersionCode($versionCode)
+ {
+ $this->versionCode = $versionCode;
+ }
+ public function getVersionCode()
+ {
+ return $this->versionCode;
+ }
+ public function setVersionName($versionName)
+ {
+ $this->versionName = $versionName;
+ }
+ public function getVersionName()
+ {
+ return $this->versionName;
+ }
+}
+
+class Postman_Google_Service_Directory_MobileDevices extends Postman_Google_Collection
+{
+ protected $collection_key = 'mobiledevices';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $kind;
+ protected $mobiledevicesType = 'Postman_Google_Service_Directory_MobileDevice';
+ protected $mobiledevicesDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMobiledevices($mobiledevices)
+ {
+ $this->mobiledevices = $mobiledevices;
+ }
+ public function getMobiledevices()
+ {
+ return $this->mobiledevices;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Directory_Notification extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $body;
+ public $etag;
+ public $fromAddress;
+ public $isUnread;
+ public $kind;
+ public $notificationId;
+ public $sendTime;
+ public $subject;
+
+
+ public function setBody($body)
+ {
+ $this->body = $body;
+ }
+ public function getBody()
+ {
+ return $this->body;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setFromAddress($fromAddress)
+ {
+ $this->fromAddress = $fromAddress;
+ }
+ public function getFromAddress()
+ {
+ return $this->fromAddress;
+ }
+ public function setIsUnread($isUnread)
+ {
+ $this->isUnread = $isUnread;
+ }
+ public function getIsUnread()
+ {
+ return $this->isUnread;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNotificationId($notificationId)
+ {
+ $this->notificationId = $notificationId;
+ }
+ public function getNotificationId()
+ {
+ return $this->notificationId;
+ }
+ public function setSendTime($sendTime)
+ {
+ $this->sendTime = $sendTime;
+ }
+ public function getSendTime()
+ {
+ return $this->sendTime;
+ }
+ public function setSubject($subject)
+ {
+ $this->subject = $subject;
+ }
+ public function getSubject()
+ {
+ return $this->subject;
+ }
+}
+
+class Postman_Google_Service_Directory_Notifications extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Directory_Notification';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $unreadNotificationsCount;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setUnreadNotificationsCount($unreadNotificationsCount)
+ {
+ $this->unreadNotificationsCount = $unreadNotificationsCount;
+ }
+ public function getUnreadNotificationsCount()
+ {
+ return $this->unreadNotificationsCount;
+ }
+}
+
+class Postman_Google_Service_Directory_OrgUnit extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $blockInheritance;
+ public $description;
+ public $etag;
+ public $kind;
+ public $name;
+ public $orgUnitPath;
+ public $parentOrgUnitPath;
+
+
+ public function setBlockInheritance($blockInheritance)
+ {
+ $this->blockInheritance = $blockInheritance;
+ }
+ public function getBlockInheritance()
+ {
+ return $this->blockInheritance;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOrgUnitPath($orgUnitPath)
+ {
+ $this->orgUnitPath = $orgUnitPath;
+ }
+ public function getOrgUnitPath()
+ {
+ return $this->orgUnitPath;
+ }
+ public function setParentOrgUnitPath($parentOrgUnitPath)
+ {
+ $this->parentOrgUnitPath = $parentOrgUnitPath;
+ }
+ public function getParentOrgUnitPath()
+ {
+ return $this->parentOrgUnitPath;
+ }
+}
+
+class Postman_Google_Service_Directory_OrgUnits extends Postman_Google_Collection
+{
+ protected $collection_key = 'organizationUnits';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $kind;
+ protected $organizationUnitsType = 'Postman_Google_Service_Directory_OrgUnit';
+ protected $organizationUnitsDataType = 'array';
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOrganizationUnits($organizationUnits)
+ {
+ $this->organizationUnits = $organizationUnits;
+ }
+ public function getOrganizationUnits()
+ {
+ return $this->organizationUnits;
+ }
+}
+
+class Postman_Google_Service_Directory_Schema extends Postman_Google_Collection
+{
+ protected $collection_key = 'fields';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $fieldsType = 'Postman_Google_Service_Directory_SchemaFieldSpec';
+ protected $fieldsDataType = 'array';
+ public $kind;
+ public $schemaId;
+ public $schemaName;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSchemaId($schemaId)
+ {
+ $this->schemaId = $schemaId;
+ }
+ public function getSchemaId()
+ {
+ return $this->schemaId;
+ }
+ public function setSchemaName($schemaName)
+ {
+ $this->schemaName = $schemaName;
+ }
+ public function getSchemaName()
+ {
+ return $this->schemaName;
+ }
+}
+
+class Postman_Google_Service_Directory_SchemaFieldSpec extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $fieldId;
+ public $fieldName;
+ public $fieldType;
+ public $indexed;
+ public $kind;
+ public $multiValued;
+ protected $numericIndexingSpecType = 'Postman_Google_Service_Directory_SchemaFieldSpecNumericIndexingSpec';
+ protected $numericIndexingSpecDataType = '';
+ public $readAccessType;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setFieldId($fieldId)
+ {
+ $this->fieldId = $fieldId;
+ }
+ public function getFieldId()
+ {
+ return $this->fieldId;
+ }
+ public function setFieldName($fieldName)
+ {
+ $this->fieldName = $fieldName;
+ }
+ public function getFieldName()
+ {
+ return $this->fieldName;
+ }
+ public function setFieldType($fieldType)
+ {
+ $this->fieldType = $fieldType;
+ }
+ public function getFieldType()
+ {
+ return $this->fieldType;
+ }
+ public function setIndexed($indexed)
+ {
+ $this->indexed = $indexed;
+ }
+ public function getIndexed()
+ {
+ return $this->indexed;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMultiValued($multiValued)
+ {
+ $this->multiValued = $multiValued;
+ }
+ public function getMultiValued()
+ {
+ return $this->multiValued;
+ }
+ public function setNumericIndexingSpec(Postman_Google_Service_Directory_SchemaFieldSpecNumericIndexingSpec $numericIndexingSpec)
+ {
+ $this->numericIndexingSpec = $numericIndexingSpec;
+ }
+ public function getNumericIndexingSpec()
+ {
+ return $this->numericIndexingSpec;
+ }
+ public function setReadAccessType($readAccessType)
+ {
+ $this->readAccessType = $readAccessType;
+ }
+ public function getReadAccessType()
+ {
+ return $this->readAccessType;
+ }
+}
+
+class Postman_Google_Service_Directory_SchemaFieldSpecNumericIndexingSpec extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $maxValue;
+ public $minValue;
+
+
+ public function setMaxValue($maxValue)
+ {
+ $this->maxValue = $maxValue;
+ }
+ public function getMaxValue()
+ {
+ return $this->maxValue;
+ }
+ public function setMinValue($minValue)
+ {
+ $this->minValue = $minValue;
+ }
+ public function getMinValue()
+ {
+ return $this->minValue;
+ }
+}
+
+class Postman_Google_Service_Directory_Schemas extends Postman_Google_Collection
+{
+ protected $collection_key = 'schemas';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $kind;
+ protected $schemasType = 'Postman_Google_Service_Directory_Schema';
+ protected $schemasDataType = 'array';
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSchemas($schemas)
+ {
+ $this->schemas = $schemas;
+ }
+ public function getSchemas()
+ {
+ return $this->schemas;
+ }
+}
+
+class Postman_Google_Service_Directory_Token extends Postman_Google_Collection
+{
+ protected $collection_key = 'scopes';
+ protected $internal_gapi_mappings = array(
+ );
+ public $anonymous;
+ public $clientId;
+ public $displayText;
+ public $etag;
+ public $kind;
+ public $nativeApp;
+ public $scopes;
+ public $userKey;
+
+
+ public function setAnonymous($anonymous)
+ {
+ $this->anonymous = $anonymous;
+ }
+ public function getAnonymous()
+ {
+ return $this->anonymous;
+ }
+ public function setClientId($clientId)
+ {
+ $this->clientId = $clientId;
+ }
+ public function getClientId()
+ {
+ return $this->clientId;
+ }
+ public function setDisplayText($displayText)
+ {
+ $this->displayText = $displayText;
+ }
+ public function getDisplayText()
+ {
+ return $this->displayText;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNativeApp($nativeApp)
+ {
+ $this->nativeApp = $nativeApp;
+ }
+ public function getNativeApp()
+ {
+ return $this->nativeApp;
+ }
+ public function setScopes($scopes)
+ {
+ $this->scopes = $scopes;
+ }
+ public function getScopes()
+ {
+ return $this->scopes;
+ }
+ public function setUserKey($userKey)
+ {
+ $this->userKey = $userKey;
+ }
+ public function getUserKey()
+ {
+ return $this->userKey;
+ }
+}
+
+class Postman_Google_Service_Directory_Tokens extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Directory_Token';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Directory_User extends Postman_Google_Collection
+{
+ protected $collection_key = 'nonEditableAliases';
+ protected $internal_gapi_mappings = array(
+ );
+ public $addresses;
+ public $agreedToTerms;
+ public $aliases;
+ public $changePasswordAtNextLogin;
+ public $creationTime;
+ public $customSchemas;
+ public $customerId;
+ public $deletionTime;
+ public $emails;
+ public $etag;
+ public $externalIds;
+ public $hashFunction;
+ public $id;
+ public $ims;
+ public $includeInGlobalAddressList;
+ public $ipWhitelisted;
+ public $isAdmin;
+ public $isDelegatedAdmin;
+ public $isMailboxSetup;
+ public $kind;
+ public $lastLoginTime;
+ protected $nameType = 'Postman_Google_Service_Directory_UserName';
+ protected $nameDataType = '';
+ public $nonEditableAliases;
+ public $orgUnitPath;
+ public $organizations;
+ public $password;
+ public $phones;
+ public $primaryEmail;
+ public $relations;
+ public $suspended;
+ public $suspensionReason;
+ public $thumbnailPhotoUrl;
+
+
+ public function setAddresses($addresses)
+ {
+ $this->addresses = $addresses;
+ }
+ public function getAddresses()
+ {
+ return $this->addresses;
+ }
+ public function setAgreedToTerms($agreedToTerms)
+ {
+ $this->agreedToTerms = $agreedToTerms;
+ }
+ public function getAgreedToTerms()
+ {
+ return $this->agreedToTerms;
+ }
+ public function setAliases($aliases)
+ {
+ $this->aliases = $aliases;
+ }
+ public function getAliases()
+ {
+ return $this->aliases;
+ }
+ public function setChangePasswordAtNextLogin($changePasswordAtNextLogin)
+ {
+ $this->changePasswordAtNextLogin = $changePasswordAtNextLogin;
+ }
+ public function getChangePasswordAtNextLogin()
+ {
+ return $this->changePasswordAtNextLogin;
+ }
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setCustomSchemas($customSchemas)
+ {
+ $this->customSchemas = $customSchemas;
+ }
+ public function getCustomSchemas()
+ {
+ return $this->customSchemas;
+ }
+ public function setCustomerId($customerId)
+ {
+ $this->customerId = $customerId;
+ }
+ public function getCustomerId()
+ {
+ return $this->customerId;
+ }
+ public function setDeletionTime($deletionTime)
+ {
+ $this->deletionTime = $deletionTime;
+ }
+ public function getDeletionTime()
+ {
+ return $this->deletionTime;
+ }
+ public function setEmails($emails)
+ {
+ $this->emails = $emails;
+ }
+ public function getEmails()
+ {
+ return $this->emails;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setExternalIds($externalIds)
+ {
+ $this->externalIds = $externalIds;
+ }
+ public function getExternalIds()
+ {
+ return $this->externalIds;
+ }
+ public function setHashFunction($hashFunction)
+ {
+ $this->hashFunction = $hashFunction;
+ }
+ public function getHashFunction()
+ {
+ return $this->hashFunction;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIms($ims)
+ {
+ $this->ims = $ims;
+ }
+ public function getIms()
+ {
+ return $this->ims;
+ }
+ public function setIncludeInGlobalAddressList($includeInGlobalAddressList)
+ {
+ $this->includeInGlobalAddressList = $includeInGlobalAddressList;
+ }
+ public function getIncludeInGlobalAddressList()
+ {
+ return $this->includeInGlobalAddressList;
+ }
+ public function setIpWhitelisted($ipWhitelisted)
+ {
+ $this->ipWhitelisted = $ipWhitelisted;
+ }
+ public function getIpWhitelisted()
+ {
+ return $this->ipWhitelisted;
+ }
+ public function setIsAdmin($isAdmin)
+ {
+ $this->isAdmin = $isAdmin;
+ }
+ public function getIsAdmin()
+ {
+ return $this->isAdmin;
+ }
+ public function setIsDelegatedAdmin($isDelegatedAdmin)
+ {
+ $this->isDelegatedAdmin = $isDelegatedAdmin;
+ }
+ public function getIsDelegatedAdmin()
+ {
+ return $this->isDelegatedAdmin;
+ }
+ public function setIsMailboxSetup($isMailboxSetup)
+ {
+ $this->isMailboxSetup = $isMailboxSetup;
+ }
+ public function getIsMailboxSetup()
+ {
+ return $this->isMailboxSetup;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastLoginTime($lastLoginTime)
+ {
+ $this->lastLoginTime = $lastLoginTime;
+ }
+ public function getLastLoginTime()
+ {
+ return $this->lastLoginTime;
+ }
+ public function setName(Postman_Google_Service_Directory_UserName $name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNonEditableAliases($nonEditableAliases)
+ {
+ $this->nonEditableAliases = $nonEditableAliases;
+ }
+ public function getNonEditableAliases()
+ {
+ return $this->nonEditableAliases;
+ }
+ public function setOrgUnitPath($orgUnitPath)
+ {
+ $this->orgUnitPath = $orgUnitPath;
+ }
+ public function getOrgUnitPath()
+ {
+ return $this->orgUnitPath;
+ }
+ public function setOrganizations($organizations)
+ {
+ $this->organizations = $organizations;
+ }
+ public function getOrganizations()
+ {
+ return $this->organizations;
+ }
+ public function setPassword($password)
+ {
+ $this->password = $password;
+ }
+ public function getPassword()
+ {
+ return $this->password;
+ }
+ public function setPhones($phones)
+ {
+ $this->phones = $phones;
+ }
+ public function getPhones()
+ {
+ return $this->phones;
+ }
+ public function setPrimaryEmail($primaryEmail)
+ {
+ $this->primaryEmail = $primaryEmail;
+ }
+ public function getPrimaryEmail()
+ {
+ return $this->primaryEmail;
+ }
+ public function setRelations($relations)
+ {
+ $this->relations = $relations;
+ }
+ public function getRelations()
+ {
+ return $this->relations;
+ }
+ public function setSuspended($suspended)
+ {
+ $this->suspended = $suspended;
+ }
+ public function getSuspended()
+ {
+ return $this->suspended;
+ }
+ public function setSuspensionReason($suspensionReason)
+ {
+ $this->suspensionReason = $suspensionReason;
+ }
+ public function getSuspensionReason()
+ {
+ return $this->suspensionReason;
+ }
+ public function setThumbnailPhotoUrl($thumbnailPhotoUrl)
+ {
+ $this->thumbnailPhotoUrl = $thumbnailPhotoUrl;
+ }
+ public function getThumbnailPhotoUrl()
+ {
+ return $this->thumbnailPhotoUrl;
+ }
+}
+
+class Postman_Google_Service_Directory_UserAddress extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $country;
+ public $countryCode;
+ public $customType;
+ public $extendedAddress;
+ public $formatted;
+ public $locality;
+ public $poBox;
+ public $postalCode;
+ public $primary;
+ public $region;
+ public $sourceIsStructured;
+ public $streetAddress;
+ public $type;
+
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setCountryCode($countryCode)
+ {
+ $this->countryCode = $countryCode;
+ }
+ public function getCountryCode()
+ {
+ return $this->countryCode;
+ }
+ public function setCustomType($customType)
+ {
+ $this->customType = $customType;
+ }
+ public function getCustomType()
+ {
+ return $this->customType;
+ }
+ public function setExtendedAddress($extendedAddress)
+ {
+ $this->extendedAddress = $extendedAddress;
+ }
+ public function getExtendedAddress()
+ {
+ return $this->extendedAddress;
+ }
+ public function setFormatted($formatted)
+ {
+ $this->formatted = $formatted;
+ }
+ public function getFormatted()
+ {
+ return $this->formatted;
+ }
+ public function setLocality($locality)
+ {
+ $this->locality = $locality;
+ }
+ public function getLocality()
+ {
+ return $this->locality;
+ }
+ public function setPoBox($poBox)
+ {
+ $this->poBox = $poBox;
+ }
+ public function getPoBox()
+ {
+ return $this->poBox;
+ }
+ public function setPostalCode($postalCode)
+ {
+ $this->postalCode = $postalCode;
+ }
+ public function getPostalCode()
+ {
+ return $this->postalCode;
+ }
+ public function setPrimary($primary)
+ {
+ $this->primary = $primary;
+ }
+ public function getPrimary()
+ {
+ return $this->primary;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setSourceIsStructured($sourceIsStructured)
+ {
+ $this->sourceIsStructured = $sourceIsStructured;
+ }
+ public function getSourceIsStructured()
+ {
+ return $this->sourceIsStructured;
+ }
+ public function setStreetAddress($streetAddress)
+ {
+ $this->streetAddress = $streetAddress;
+ }
+ public function getStreetAddress()
+ {
+ return $this->streetAddress;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Directory_UserCustomProperties extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Directory_UserCustomSchemas extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Directory_UserEmail extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $address;
+ public $customType;
+ public $primary;
+ public $type;
+
+
+ public function setAddress($address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
+ public function setCustomType($customType)
+ {
+ $this->customType = $customType;
+ }
+ public function getCustomType()
+ {
+ return $this->customType;
+ }
+ public function setPrimary($primary)
+ {
+ $this->primary = $primary;
+ }
+ public function getPrimary()
+ {
+ return $this->primary;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Directory_UserExternalId extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $customType;
+ public $type;
+ public $value;
+
+
+ public function setCustomType($customType)
+ {
+ $this->customType = $customType;
+ }
+ public function getCustomType()
+ {
+ return $this->customType;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Directory_UserIm extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $customProtocol;
+ public $customType;
+ public $im;
+ public $primary;
+ public $protocol;
+ public $type;
+
+
+ public function setCustomProtocol($customProtocol)
+ {
+ $this->customProtocol = $customProtocol;
+ }
+ public function getCustomProtocol()
+ {
+ return $this->customProtocol;
+ }
+ public function setCustomType($customType)
+ {
+ $this->customType = $customType;
+ }
+ public function getCustomType()
+ {
+ return $this->customType;
+ }
+ public function setIm($im)
+ {
+ $this->im = $im;
+ }
+ public function getIm()
+ {
+ return $this->im;
+ }
+ public function setPrimary($primary)
+ {
+ $this->primary = $primary;
+ }
+ public function getPrimary()
+ {
+ return $this->primary;
+ }
+ public function setProtocol($protocol)
+ {
+ $this->protocol = $protocol;
+ }
+ public function getProtocol()
+ {
+ return $this->protocol;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Directory_UserMakeAdmin extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $status;
+
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Postman_Google_Service_Directory_UserName extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $familyName;
+ public $fullName;
+ public $givenName;
+
+
+ public function setFamilyName($familyName)
+ {
+ $this->familyName = $familyName;
+ }
+ public function getFamilyName()
+ {
+ return $this->familyName;
+ }
+ public function setFullName($fullName)
+ {
+ $this->fullName = $fullName;
+ }
+ public function getFullName()
+ {
+ return $this->fullName;
+ }
+ public function setGivenName($givenName)
+ {
+ $this->givenName = $givenName;
+ }
+ public function getGivenName()
+ {
+ return $this->givenName;
+ }
+}
+
+class Postman_Google_Service_Directory_UserOrganization extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $costCenter;
+ public $customType;
+ public $department;
+ public $description;
+ public $domain;
+ public $location;
+ public $name;
+ public $primary;
+ public $symbol;
+ public $title;
+ public $type;
+
+
+ public function setCostCenter($costCenter)
+ {
+ $this->costCenter = $costCenter;
+ }
+ public function getCostCenter()
+ {
+ return $this->costCenter;
+ }
+ public function setCustomType($customType)
+ {
+ $this->customType = $customType;
+ }
+ public function getCustomType()
+ {
+ return $this->customType;
+ }
+ public function setDepartment($department)
+ {
+ $this->department = $department;
+ }
+ public function getDepartment()
+ {
+ return $this->department;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDomain($domain)
+ {
+ $this->domain = $domain;
+ }
+ public function getDomain()
+ {
+ return $this->domain;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPrimary($primary)
+ {
+ $this->primary = $primary;
+ }
+ public function getPrimary()
+ {
+ return $this->primary;
+ }
+ public function setSymbol($symbol)
+ {
+ $this->symbol = $symbol;
+ }
+ public function getSymbol()
+ {
+ return $this->symbol;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Directory_UserPhone extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $customType;
+ public $primary;
+ public $type;
+ public $value;
+
+
+ public function setCustomType($customType)
+ {
+ $this->customType = $customType;
+ }
+ public function getCustomType()
+ {
+ return $this->customType;
+ }
+ public function setPrimary($primary)
+ {
+ $this->primary = $primary;
+ }
+ public function getPrimary()
+ {
+ return $this->primary;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Directory_UserPhoto extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $height;
+ public $id;
+ public $kind;
+ public $mimeType;
+ public $photoData;
+ public $primaryEmail;
+ public $width;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+ public function setPhotoData($photoData)
+ {
+ $this->photoData = $photoData;
+ }
+ public function getPhotoData()
+ {
+ return $this->photoData;
+ }
+ public function setPrimaryEmail($primaryEmail)
+ {
+ $this->primaryEmail = $primaryEmail;
+ }
+ public function getPrimaryEmail()
+ {
+ return $this->primaryEmail;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_Directory_UserRelation extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $customType;
+ public $type;
+ public $value;
+
+
+ public function setCustomType($customType)
+ {
+ $this->customType = $customType;
+ }
+ public function getCustomType()
+ {
+ return $this->customType;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Directory_UserUndelete extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $orgUnitPath;
+
+
+ public function setOrgUnitPath($orgUnitPath)
+ {
+ $this->orgUnitPath = $orgUnitPath;
+ }
+ public function getOrgUnitPath()
+ {
+ return $this->orgUnitPath;
+ }
+}
+
+class Postman_Google_Service_Directory_Users extends Postman_Google_Collection
+{
+ protected $collection_key = 'users';
+ protected $internal_gapi_mappings = array(
+ "triggerEvent" => "trigger_event",
+ );
+ public $etag;
+ public $kind;
+ public $nextPageToken;
+ public $triggerEvent;
+ protected $usersType = 'Postman_Google_Service_Directory_User';
+ protected $usersDataType = 'array';
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTriggerEvent($triggerEvent)
+ {
+ $this->triggerEvent = $triggerEvent;
+ }
+ public function getTriggerEvent()
+ {
+ return $this->triggerEvent;
+ }
+ public function setUsers($users)
+ {
+ $this->users = $users;
+ }
+ public function getUsers()
+ {
+ return $this->users;
+ }
+}
+
+class Postman_Google_Service_Directory_VerificationCode extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $kind;
+ public $userId;
+ public $verificationCode;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+ }
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+ public function setVerificationCode($verificationCode)
+ {
+ $this->verificationCode = $verificationCode;
+ }
+ public function getVerificationCode()
+ {
+ return $this->verificationCode;
+ }
+}
+
+class Postman_Google_Service_Directory_VerificationCodes extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Directory_VerificationCode';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Dns.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Dns.php
new file mode 100644
index 0000000..2c11ab7
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Dns.php
@@ -0,0 +1,907 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Dns (v1beta1).
+ *
+ * <p>
+ * The Google Cloud DNS API provides services for configuring and serving
+ * authoritative DNS records.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/cloud-dns" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Dns extends Postman_Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View your DNS records hosted by Google Cloud DNS. */
+ const NDEV_CLOUDDNS_READONLY =
+ "https://www.googleapis.com/auth/ndev.clouddns.readonly";
+ /** View and manage your DNS records hosted by Google Cloud DNS. */
+ const NDEV_CLOUDDNS_READWRITE =
+ "https://www.googleapis.com/auth/ndev.clouddns.readwrite";
+
+ public $changes;
+ public $managedZones;
+ public $projects;
+ public $resourceRecordSets;
+
+
+ /**
+ * Constructs the internal representation of the Dns service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'dns/v1beta1/projects/';
+ $this->version = 'v1beta1';
+ $this->serviceName = 'dns';
+
+ $this->changes = new Postman_Google_Service_Dns_Changes_Resource(
+ $this,
+ $this->serviceName,
+ 'changes',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => '{project}/managedZones/{managedZone}/changes',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'managedZone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/managedZones/{managedZone}/changes/{changeId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'managedZone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'changeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/managedZones/{managedZone}/changes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'managedZone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->managedZones = new Postman_Google_Service_Dns_ManagedZones_Resource(
+ $this,
+ $this->serviceName,
+ 'managedZones',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => '{project}/managedZones',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{project}/managedZones/{managedZone}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'managedZone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/managedZones/{managedZone}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'managedZone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/managedZones',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects = new Postman_Google_Service_Dns_Projects_Resource(
+ $this,
+ $this->serviceName,
+ 'projects',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{project}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->resourceRecordSets = new Postman_Google_Service_Dns_ResourceRecordSets_Resource(
+ $this,
+ $this->serviceName,
+ 'resourceRecordSets',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{project}/managedZones/{managedZone}/rrsets',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'managedZone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'name' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'type' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "changes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dnsService = new Postman_Google_Service_Dns(...);
+ * $changes = $dnsService->changes;
+ * </code>
+ */
+class Postman_Google_Service_Dns_Changes_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Atomically update the ResourceRecordSet collection. (changes.create)
+ *
+ * @param string $project Identifies the project addressed by this request.
+ * @param string $managedZone Identifies the managed zone addressed by this
+ * request. Can be the managed zone name or id.
+ * @param Postman_Google_Change $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Dns_Change
+ */
+ public function create($project, $managedZone, Postman_Google_Service_Dns_Change $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'managedZone' => $managedZone, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_Dns_Change");
+ }
+
+ /**
+ * Fetch the representation of an existing Change. (changes.get)
+ *
+ * @param string $project Identifies the project addressed by this request.
+ * @param string $managedZone Identifies the managed zone addressed by this
+ * request. Can be the managed zone name or id.
+ * @param string $changeId The identifier of the requested change, from a
+ * previous ResourceRecordSetsChangeResponse.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Dns_Change
+ */
+ public function get($project, $managedZone, $changeId, $optParams = array())
+ {
+ $params = array('project' => $project, 'managedZone' => $managedZone, 'changeId' => $changeId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Dns_Change");
+ }
+
+ /**
+ * Enumerate Changes to a ResourceRecordSet collection. (changes.listChanges)
+ *
+ * @param string $project Identifies the project addressed by this request.
+ * @param string $managedZone Identifies the managed zone addressed by this
+ * request. Can be the managed zone name or id.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int maxResults Optional. Maximum number of results to be returned.
+ * If unspecified, the server will decide how many results to return.
+ * @opt_param string pageToken Optional. A tag returned by a previous list
+ * request that was truncated. Use this parameter to continue a previous list
+ * request.
+ * @opt_param string sortBy Sorting criterion. The only supported value is
+ * change sequence.
+ * @opt_param string sortOrder Sorting order direction: 'ascending' or
+ * 'descending'.
+ * @return Postman_Google_Service_Dns_ChangesListResponse
+ */
+ public function listChanges($project, $managedZone, $optParams = array())
+ {
+ $params = array('project' => $project, 'managedZone' => $managedZone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Dns_ChangesListResponse");
+ }
+}
+
+/**
+ * The "managedZones" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dnsService = new Postman_Google_Service_Dns(...);
+ * $managedZones = $dnsService->managedZones;
+ * </code>
+ */
+class Postman_Google_Service_Dns_ManagedZones_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Create a new ManagedZone. (managedZones.create)
+ *
+ * @param string $project Identifies the project addressed by this request.
+ * @param Postman_Google_ManagedZone $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Dns_ManagedZone
+ */
+ public function create($project, Postman_Google_Service_Dns_ManagedZone $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_Dns_ManagedZone");
+ }
+
+ /**
+ * Delete a previously created ManagedZone. (managedZones.delete)
+ *
+ * @param string $project Identifies the project addressed by this request.
+ * @param string $managedZone Identifies the managed zone addressed by this
+ * request. Can be the managed zone name or id.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($project, $managedZone, $optParams = array())
+ {
+ $params = array('project' => $project, 'managedZone' => $managedZone);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Fetch the representation of an existing ManagedZone. (managedZones.get)
+ *
+ * @param string $project Identifies the project addressed by this request.
+ * @param string $managedZone Identifies the managed zone addressed by this
+ * request. Can be the managed zone name or id.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Dns_ManagedZone
+ */
+ public function get($project, $managedZone, $optParams = array())
+ {
+ $params = array('project' => $project, 'managedZone' => $managedZone);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Dns_ManagedZone");
+ }
+
+ /**
+ * Enumerate ManagedZones that have been created but not yet deleted.
+ * (managedZones.listManagedZones)
+ *
+ * @param string $project Identifies the project addressed by this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Optional. A tag returned by a previous list
+ * request that was truncated. Use this parameter to continue a previous list
+ * request.
+ * @opt_param int maxResults Optional. Maximum number of results to be returned.
+ * If unspecified, the server will decide how many results to return.
+ * @return Postman_Google_Service_Dns_ManagedZonesListResponse
+ */
+ public function listManagedZones($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Dns_ManagedZonesListResponse");
+ }
+}
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dnsService = new Postman_Google_Service_Dns(...);
+ * $projects = $dnsService->projects;
+ * </code>
+ */
+class Postman_Google_Service_Dns_Projects_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Fetch the representation of an existing Project. (projects.get)
+ *
+ * @param string $project Identifies the project addressed by this request.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Dns_Project
+ */
+ public function get($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Dns_Project");
+ }
+}
+
+/**
+ * The "resourceRecordSets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $dnsService = new Postman_Google_Service_Dns(...);
+ * $resourceRecordSets = $dnsService->resourceRecordSets;
+ * </code>
+ */
+class Postman_Google_Service_Dns_ResourceRecordSets_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Enumerate ResourceRecordSets that have been created but not yet deleted.
+ * (resourceRecordSets.listResourceRecordSets)
+ *
+ * @param string $project Identifies the project addressed by this request.
+ * @param string $managedZone Identifies the managed zone addressed by this
+ * request. Can be the managed zone name or id.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string name Restricts the list to return only records with this
+ * fully qualified domain name.
+ * @opt_param int maxResults Optional. Maximum number of results to be returned.
+ * If unspecified, the server will decide how many results to return.
+ * @opt_param string pageToken Optional. A tag returned by a previous list
+ * request that was truncated. Use this parameter to continue a previous list
+ * request.
+ * @opt_param string type Restricts the list to return only records of this
+ * type. If present, the "name" parameter must also be present.
+ * @return Postman_Google_Service_Dns_ResourceRecordSetsListResponse
+ */
+ public function listResourceRecordSets($project, $managedZone, $optParams = array())
+ {
+ $params = array('project' => $project, 'managedZone' => $managedZone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Dns_ResourceRecordSetsListResponse");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Dns_Change extends Postman_Google_Collection
+{
+ protected $collection_key = 'deletions';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $additionsType = 'Postman_Google_Service_Dns_ResourceRecordSet';
+ protected $additionsDataType = 'array';
+ protected $deletionsType = 'Postman_Google_Service_Dns_ResourceRecordSet';
+ protected $deletionsDataType = 'array';
+ public $id;
+ public $kind;
+ public $startTime;
+ public $status;
+
+
+ public function setAdditions($additions)
+ {
+ $this->additions = $additions;
+ }
+ public function getAdditions()
+ {
+ return $this->additions;
+ }
+ public function setDeletions($deletions)
+ {
+ $this->deletions = $deletions;
+ }
+ public function getDeletions()
+ {
+ return $this->deletions;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Postman_Google_Service_Dns_ChangesListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'changes';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $changesType = 'Postman_Google_Service_Dns_Change';
+ protected $changesDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setChanges($changes)
+ {
+ $this->changes = $changes;
+ }
+ public function getChanges()
+ {
+ return $this->changes;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Dns_ManagedZone extends Postman_Google_Collection
+{
+ protected $collection_key = 'nameServers';
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTime;
+ public $description;
+ public $dnsName;
+ public $id;
+ public $kind;
+ public $name;
+ public $nameServers;
+
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDnsName($dnsName)
+ {
+ $this->dnsName = $dnsName;
+ }
+ public function getDnsName()
+ {
+ return $this->dnsName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNameServers($nameServers)
+ {
+ $this->nameServers = $nameServers;
+ }
+ public function getNameServers()
+ {
+ return $this->nameServers;
+ }
+}
+
+class Postman_Google_Service_Dns_ManagedZonesListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'managedZones';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $managedZonesType = 'Postman_Google_Service_Dns_ManagedZone';
+ protected $managedZonesDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setManagedZones($managedZones)
+ {
+ $this->managedZones = $managedZones;
+ }
+ public function getManagedZones()
+ {
+ return $this->managedZones;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Dns_Project extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $number;
+ protected $quotaType = 'Postman_Google_Service_Dns_Quota';
+ protected $quotaDataType = '';
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNumber($number)
+ {
+ $this->number = $number;
+ }
+ public function getNumber()
+ {
+ return $this->number;
+ }
+ public function setQuota(Postman_Google_Service_Dns_Quota $quota)
+ {
+ $this->quota = $quota;
+ }
+ public function getQuota()
+ {
+ return $this->quota;
+ }
+}
+
+class Postman_Google_Service_Dns_Quota extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $managedZones;
+ public $resourceRecordsPerRrset;
+ public $rrsetAdditionsPerChange;
+ public $rrsetDeletionsPerChange;
+ public $rrsetsPerManagedZone;
+ public $totalRrdataSizePerChange;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setManagedZones($managedZones)
+ {
+ $this->managedZones = $managedZones;
+ }
+ public function getManagedZones()
+ {
+ return $this->managedZones;
+ }
+ public function setResourceRecordsPerRrset($resourceRecordsPerRrset)
+ {
+ $this->resourceRecordsPerRrset = $resourceRecordsPerRrset;
+ }
+ public function getResourceRecordsPerRrset()
+ {
+ return $this->resourceRecordsPerRrset;
+ }
+ public function setRrsetAdditionsPerChange($rrsetAdditionsPerChange)
+ {
+ $this->rrsetAdditionsPerChange = $rrsetAdditionsPerChange;
+ }
+ public function getRrsetAdditionsPerChange()
+ {
+ return $this->rrsetAdditionsPerChange;
+ }
+ public function setRrsetDeletionsPerChange($rrsetDeletionsPerChange)
+ {
+ $this->rrsetDeletionsPerChange = $rrsetDeletionsPerChange;
+ }
+ public function getRrsetDeletionsPerChange()
+ {
+ return $this->rrsetDeletionsPerChange;
+ }
+ public function setRrsetsPerManagedZone($rrsetsPerManagedZone)
+ {
+ $this->rrsetsPerManagedZone = $rrsetsPerManagedZone;
+ }
+ public function getRrsetsPerManagedZone()
+ {
+ return $this->rrsetsPerManagedZone;
+ }
+ public function setTotalRrdataSizePerChange($totalRrdataSizePerChange)
+ {
+ $this->totalRrdataSizePerChange = $totalRrdataSizePerChange;
+ }
+ public function getTotalRrdataSizePerChange()
+ {
+ return $this->totalRrdataSizePerChange;
+ }
+}
+
+class Postman_Google_Service_Dns_ResourceRecordSet extends Postman_Google_Collection
+{
+ protected $collection_key = 'rrdatas';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $name;
+ public $rrdatas;
+ public $ttl;
+ public $type;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setRrdatas($rrdatas)
+ {
+ $this->rrdatas = $rrdatas;
+ }
+ public function getRrdatas()
+ {
+ return $this->rrdatas;
+ }
+ public function setTtl($ttl)
+ {
+ $this->ttl = $ttl;
+ }
+ public function getTtl()
+ {
+ return $this->ttl;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Dns_ResourceRecordSetsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'rrsets';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $nextPageToken;
+ protected $rrsetsType = 'Postman_Google_Service_Dns_ResourceRecordSet';
+ protected $rrsetsDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setRrsets($rrsets)
+ {
+ $this->rrsets = $rrsets;
+ }
+ public function getRrsets()
+ {
+ return $this->rrsets;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/DoubleClickBidManager.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/DoubleClickBidManager.php
new file mode 100644
index 0000000..c11328a
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/DoubleClickBidManager.php
@@ -0,0 +1,1066 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for DoubleClickBidManager (v1).
+ *
+ * <p>
+ * API for viewing and managing your reports in DoubleClick Bid Manager.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/bid-manager/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_DoubleClickBidManager extends Postman_Google_Service
+{
+
+
+ public $lineitems;
+ public $queries;
+ public $reports;
+
+
+ /**
+ * Constructs the internal representation of the DoubleClickBidManager
+ * service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'doubleclickbidmanager/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'doubleclickbidmanager';
+
+ $this->lineitems = new Postman_Google_Service_DoubleClickBidManager_Lineitems_Resource(
+ $this,
+ $this->serviceName,
+ 'lineitems',
+ array(
+ 'methods' => array(
+ 'downloadlineitems' => array(
+ 'path' => 'lineitems/downloadlineitems',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'uploadlineitems' => array(
+ 'path' => 'lineitems/uploadlineitems',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->queries = new Postman_Google_Service_DoubleClickBidManager_Queries_Resource(
+ $this,
+ $this->serviceName,
+ 'queries',
+ array(
+ 'methods' => array(
+ 'createquery' => array(
+ 'path' => 'query',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'deletequery' => array(
+ 'path' => 'query/{queryId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'queryId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getquery' => array(
+ 'path' => 'query/{queryId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'queryId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'listqueries' => array(
+ 'path' => 'queries',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),'runquery' => array(
+ 'path' => 'query/{queryId}',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'queryId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->reports = new Postman_Google_Service_DoubleClickBidManager_Reports_Resource(
+ $this,
+ $this->serviceName,
+ 'reports',
+ array(
+ 'methods' => array(
+ 'listreports' => array(
+ 'path' => 'queries/{queryId}/reports',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'queryId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "lineitems" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $doubleclickbidmanagerService = new Postman_Google_Service_DoubleClickBidManager(...);
+ * $lineitems = $doubleclickbidmanagerService->lineitems;
+ * </code>
+ */
+class Postman_Google_Service_DoubleClickBidManager_Lineitems_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves line items in CSV format. (lineitems.downloadlineitems)
+ *
+ * @param Postman_Google_DownloadLineItemsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_DoubleClickBidManager_DownloadLineItemsResponse
+ */
+ public function downloadlineitems(Postman_Google_Service_DoubleClickBidManager_DownloadLineItemsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('downloadlineitems', array($params), "Postman_Google_Service_DoubleClickBidManager_DownloadLineItemsResponse");
+ }
+
+ /**
+ * Uploads line items in CSV format. (lineitems.uploadlineitems)
+ *
+ * @param Postman_Google_UploadLineItemsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_DoubleClickBidManager_UploadLineItemsResponse
+ */
+ public function uploadlineitems(Postman_Google_Service_DoubleClickBidManager_UploadLineItemsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('uploadlineitems', array($params), "Postman_Google_Service_DoubleClickBidManager_UploadLineItemsResponse");
+ }
+}
+
+/**
+ * The "queries" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $doubleclickbidmanagerService = new Postman_Google_Service_DoubleClickBidManager(...);
+ * $queries = $doubleclickbidmanagerService->queries;
+ * </code>
+ */
+class Postman_Google_Service_DoubleClickBidManager_Queries_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Creates a query. (queries.createquery)
+ *
+ * @param Postman_Google_Query $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_DoubleClickBidManager_Query
+ */
+ public function createquery(Postman_Google_Service_DoubleClickBidManager_Query $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('createquery', array($params), "Postman_Google_Service_DoubleClickBidManager_Query");
+ }
+
+ /**
+ * Deletes a stored query as well as the associated stored reports.
+ * (queries.deletequery)
+ *
+ * @param string $queryId Query ID to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function deletequery($queryId, $optParams = array())
+ {
+ $params = array('queryId' => $queryId);
+ $params = array_merge($params, $optParams);
+ return $this->call('deletequery', array($params));
+ }
+
+ /**
+ * Retrieves a stored query. (queries.getquery)
+ *
+ * @param string $queryId Query ID to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_DoubleClickBidManager_Query
+ */
+ public function getquery($queryId, $optParams = array())
+ {
+ $params = array('queryId' => $queryId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getquery', array($params), "Postman_Google_Service_DoubleClickBidManager_Query");
+ }
+
+ /**
+ * Retrieves stored queries. (queries.listqueries)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_DoubleClickBidManager_ListQueriesResponse
+ */
+ public function listqueries($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('listqueries', array($params), "Postman_Google_Service_DoubleClickBidManager_ListQueriesResponse");
+ }
+
+ /**
+ * Runs a stored query to generate a report. (queries.runquery)
+ *
+ * @param string $queryId Query ID to run.
+ * @param Postman_Google_RunQueryRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function runquery($queryId, Postman_Google_Service_DoubleClickBidManager_RunQueryRequest $postBody, $optParams = array())
+ {
+ $params = array('queryId' => $queryId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('runquery', array($params));
+ }
+}
+
+/**
+ * The "reports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $doubleclickbidmanagerService = new Postman_Google_Service_DoubleClickBidManager(...);
+ * $reports = $doubleclickbidmanagerService->reports;
+ * </code>
+ */
+class Postman_Google_Service_DoubleClickBidManager_Reports_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves stored reports. (reports.listreports)
+ *
+ * @param string $queryId Query ID with which the reports are associated.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_DoubleClickBidManager_ListReportsResponse
+ */
+ public function listreports($queryId, $optParams = array())
+ {
+ $params = array('queryId' => $queryId);
+ $params = array_merge($params, $optParams);
+ return $this->call('listreports', array($params), "Postman_Google_Service_DoubleClickBidManager_ListReportsResponse");
+ }
+}
+
+
+
+
+class Postman_Google_Service_DoubleClickBidManager_DownloadLineItemsRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'filterIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $filterIds;
+ public $filterType;
+ public $format;
+
+
+ public function setFilterIds($filterIds)
+ {
+ $this->filterIds = $filterIds;
+ }
+ public function getFilterIds()
+ {
+ return $this->filterIds;
+ }
+ public function setFilterType($filterType)
+ {
+ $this->filterType = $filterType;
+ }
+ public function getFilterType()
+ {
+ return $this->filterType;
+ }
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+}
+
+class Postman_Google_Service_DoubleClickBidManager_DownloadLineItemsResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $lineItems;
+
+
+ public function setLineItems($lineItems)
+ {
+ $this->lineItems = $lineItems;
+ }
+ public function getLineItems()
+ {
+ return $this->lineItems;
+ }
+}
+
+class Postman_Google_Service_DoubleClickBidManager_FilterPair extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $type;
+ public $value;
+
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_DoubleClickBidManager_ListQueriesResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'queries';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $queriesType = 'Postman_Google_Service_DoubleClickBidManager_Query';
+ protected $queriesDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setQueries($queries)
+ {
+ $this->queries = $queries;
+ }
+ public function getQueries()
+ {
+ return $this->queries;
+ }
+}
+
+class Postman_Google_Service_DoubleClickBidManager_ListReportsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'reports';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $reportsType = 'Postman_Google_Service_DoubleClickBidManager_Report';
+ protected $reportsDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setReports($reports)
+ {
+ $this->reports = $reports;
+ }
+ public function getReports()
+ {
+ return $this->reports;
+ }
+}
+
+class Postman_Google_Service_DoubleClickBidManager_Parameters extends Postman_Google_Collection
+{
+ protected $collection_key = 'metrics';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $filtersType = 'Postman_Google_Service_DoubleClickBidManager_FilterPair';
+ protected $filtersDataType = 'array';
+ public $groupBys;
+ public $includeInviteData;
+ public $metrics;
+ public $type;
+
+
+ public function setFilters($filters)
+ {
+ $this->filters = $filters;
+ }
+ public function getFilters()
+ {
+ return $this->filters;
+ }
+ public function setGroupBys($groupBys)
+ {
+ $this->groupBys = $groupBys;
+ }
+ public function getGroupBys()
+ {
+ return $this->groupBys;
+ }
+ public function setIncludeInviteData($includeInviteData)
+ {
+ $this->includeInviteData = $includeInviteData;
+ }
+ public function getIncludeInviteData()
+ {
+ return $this->includeInviteData;
+ }
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_DoubleClickBidManager_Query extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $metadataType = 'Postman_Google_Service_DoubleClickBidManager_QueryMetadata';
+ protected $metadataDataType = '';
+ protected $paramsType = 'Postman_Google_Service_DoubleClickBidManager_Parameters';
+ protected $paramsDataType = '';
+ public $queryId;
+ public $reportDataEndTimeMs;
+ public $reportDataStartTimeMs;
+ protected $scheduleType = 'Postman_Google_Service_DoubleClickBidManager_QuerySchedule';
+ protected $scheduleDataType = '';
+ public $timezoneCode;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMetadata(Postman_Google_Service_DoubleClickBidManager_QueryMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setParams(Postman_Google_Service_DoubleClickBidManager_Parameters $params)
+ {
+ $this->params = $params;
+ }
+ public function getParams()
+ {
+ return $this->params;
+ }
+ public function setQueryId($queryId)
+ {
+ $this->queryId = $queryId;
+ }
+ public function getQueryId()
+ {
+ return $this->queryId;
+ }
+ public function setReportDataEndTimeMs($reportDataEndTimeMs)
+ {
+ $this->reportDataEndTimeMs = $reportDataEndTimeMs;
+ }
+ public function getReportDataEndTimeMs()
+ {
+ return $this->reportDataEndTimeMs;
+ }
+ public function setReportDataStartTimeMs($reportDataStartTimeMs)
+ {
+ $this->reportDataStartTimeMs = $reportDataStartTimeMs;
+ }
+ public function getReportDataStartTimeMs()
+ {
+ return $this->reportDataStartTimeMs;
+ }
+ public function setSchedule(Postman_Google_Service_DoubleClickBidManager_QuerySchedule $schedule)
+ {
+ $this->schedule = $schedule;
+ }
+ public function getSchedule()
+ {
+ return $this->schedule;
+ }
+ public function setTimezoneCode($timezoneCode)
+ {
+ $this->timezoneCode = $timezoneCode;
+ }
+ public function getTimezoneCode()
+ {
+ return $this->timezoneCode;
+ }
+}
+
+class Postman_Google_Service_DoubleClickBidManager_QueryMetadata extends Postman_Google_Collection
+{
+ protected $collection_key = 'shareEmailAddress';
+ protected $internal_gapi_mappings = array(
+ );
+ public $dataRange;
+ public $format;
+ public $googleCloudStoragePathForLatestReport;
+ public $googleDrivePathForLatestReport;
+ public $latestReportRunTimeMs;
+ public $reportCount;
+ public $running;
+ public $sendNotification;
+ public $shareEmailAddress;
+ public $title;
+
+
+ public function setDataRange($dataRange)
+ {
+ $this->dataRange = $dataRange;
+ }
+ public function getDataRange()
+ {
+ return $this->dataRange;
+ }
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+ public function setGoogleCloudStoragePathForLatestReport($googleCloudStoragePathForLatestReport)
+ {
+ $this->googleCloudStoragePathForLatestReport = $googleCloudStoragePathForLatestReport;
+ }
+ public function getGoogleCloudStoragePathForLatestReport()
+ {
+ return $this->googleCloudStoragePathForLatestReport;
+ }
+ public function setGoogleDrivePathForLatestReport($googleDrivePathForLatestReport)
+ {
+ $this->googleDrivePathForLatestReport = $googleDrivePathForLatestReport;
+ }
+ public function getGoogleDrivePathForLatestReport()
+ {
+ return $this->googleDrivePathForLatestReport;
+ }
+ public function setLatestReportRunTimeMs($latestReportRunTimeMs)
+ {
+ $this->latestReportRunTimeMs = $latestReportRunTimeMs;
+ }
+ public function getLatestReportRunTimeMs()
+ {
+ return $this->latestReportRunTimeMs;
+ }
+ public function setReportCount($reportCount)
+ {
+ $this->reportCount = $reportCount;
+ }
+ public function getReportCount()
+ {
+ return $this->reportCount;
+ }
+ public function setRunning($running)
+ {
+ $this->running = $running;
+ }
+ public function getRunning()
+ {
+ return $this->running;
+ }
+ public function setSendNotification($sendNotification)
+ {
+ $this->sendNotification = $sendNotification;
+ }
+ public function getSendNotification()
+ {
+ return $this->sendNotification;
+ }
+ public function setShareEmailAddress($shareEmailAddress)
+ {
+ $this->shareEmailAddress = $shareEmailAddress;
+ }
+ public function getShareEmailAddress()
+ {
+ return $this->shareEmailAddress;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_DoubleClickBidManager_QuerySchedule extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $endTimeMs;
+ public $frequency;
+ public $nextRunMinuteOfDay;
+ public $nextRunTimezoneCode;
+
+
+ public function setEndTimeMs($endTimeMs)
+ {
+ $this->endTimeMs = $endTimeMs;
+ }
+ public function getEndTimeMs()
+ {
+ return $this->endTimeMs;
+ }
+ public function setFrequency($frequency)
+ {
+ $this->frequency = $frequency;
+ }
+ public function getFrequency()
+ {
+ return $this->frequency;
+ }
+ public function setNextRunMinuteOfDay($nextRunMinuteOfDay)
+ {
+ $this->nextRunMinuteOfDay = $nextRunMinuteOfDay;
+ }
+ public function getNextRunMinuteOfDay()
+ {
+ return $this->nextRunMinuteOfDay;
+ }
+ public function setNextRunTimezoneCode($nextRunTimezoneCode)
+ {
+ $this->nextRunTimezoneCode = $nextRunTimezoneCode;
+ }
+ public function getNextRunTimezoneCode()
+ {
+ return $this->nextRunTimezoneCode;
+ }
+}
+
+class Postman_Google_Service_DoubleClickBidManager_Report extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $keyType = 'Postman_Google_Service_DoubleClickBidManager_ReportKey';
+ protected $keyDataType = '';
+ protected $metadataType = 'Postman_Google_Service_DoubleClickBidManager_ReportMetadata';
+ protected $metadataDataType = '';
+ protected $paramsType = 'Postman_Google_Service_DoubleClickBidManager_Parameters';
+ protected $paramsDataType = '';
+
+
+ public function setKey(Postman_Google_Service_DoubleClickBidManager_ReportKey $key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setMetadata(Postman_Google_Service_DoubleClickBidManager_ReportMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setParams(Postman_Google_Service_DoubleClickBidManager_Parameters $params)
+ {
+ $this->params = $params;
+ }
+ public function getParams()
+ {
+ return $this->params;
+ }
+}
+
+class Postman_Google_Service_DoubleClickBidManager_ReportFailure extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $errorCode;
+
+
+ public function setErrorCode($errorCode)
+ {
+ $this->errorCode = $errorCode;
+ }
+ public function getErrorCode()
+ {
+ return $this->errorCode;
+ }
+}
+
+class Postman_Google_Service_DoubleClickBidManager_ReportKey extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $queryId;
+ public $reportId;
+
+
+ public function setQueryId($queryId)
+ {
+ $this->queryId = $queryId;
+ }
+ public function getQueryId()
+ {
+ return $this->queryId;
+ }
+ public function setReportId($reportId)
+ {
+ $this->reportId = $reportId;
+ }
+ public function getReportId()
+ {
+ return $this->reportId;
+ }
+}
+
+class Postman_Google_Service_DoubleClickBidManager_ReportMetadata extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $googleCloudStoragePath;
+ public $reportDataEndTimeMs;
+ public $reportDataStartTimeMs;
+ protected $statusType = 'Postman_Google_Service_DoubleClickBidManager_ReportStatus';
+ protected $statusDataType = '';
+
+
+ public function setGoogleCloudStoragePath($googleCloudStoragePath)
+ {
+ $this->googleCloudStoragePath = $googleCloudStoragePath;
+ }
+ public function getGoogleCloudStoragePath()
+ {
+ return $this->googleCloudStoragePath;
+ }
+ public function setReportDataEndTimeMs($reportDataEndTimeMs)
+ {
+ $this->reportDataEndTimeMs = $reportDataEndTimeMs;
+ }
+ public function getReportDataEndTimeMs()
+ {
+ return $this->reportDataEndTimeMs;
+ }
+ public function setReportDataStartTimeMs($reportDataStartTimeMs)
+ {
+ $this->reportDataStartTimeMs = $reportDataStartTimeMs;
+ }
+ public function getReportDataStartTimeMs()
+ {
+ return $this->reportDataStartTimeMs;
+ }
+ public function setStatus(Postman_Google_Service_DoubleClickBidManager_ReportStatus $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Postman_Google_Service_DoubleClickBidManager_ReportStatus extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $failureType = 'Postman_Google_Service_DoubleClickBidManager_ReportFailure';
+ protected $failureDataType = '';
+ public $finishTimeMs;
+ public $format;
+ public $state;
+
+
+ public function setFailure(Postman_Google_Service_DoubleClickBidManager_ReportFailure $failure)
+ {
+ $this->failure = $failure;
+ }
+ public function getFailure()
+ {
+ return $this->failure;
+ }
+ public function setFinishTimeMs($finishTimeMs)
+ {
+ $this->finishTimeMs = $finishTimeMs;
+ }
+ public function getFinishTimeMs()
+ {
+ return $this->finishTimeMs;
+ }
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+}
+
+class Postman_Google_Service_DoubleClickBidManager_RowStatus extends Postman_Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ public $changed;
+ public $entityId;
+ public $entityName;
+ public $errors;
+ public $persisted;
+ public $rowNumber;
+
+
+ public function setChanged($changed)
+ {
+ $this->changed = $changed;
+ }
+ public function getChanged()
+ {
+ return $this->changed;
+ }
+ public function setEntityId($entityId)
+ {
+ $this->entityId = $entityId;
+ }
+ public function getEntityId()
+ {
+ return $this->entityId;
+ }
+ public function setEntityName($entityName)
+ {
+ $this->entityName = $entityName;
+ }
+ public function getEntityName()
+ {
+ return $this->entityName;
+ }
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setPersisted($persisted)
+ {
+ $this->persisted = $persisted;
+ }
+ public function getPersisted()
+ {
+ return $this->persisted;
+ }
+ public function setRowNumber($rowNumber)
+ {
+ $this->rowNumber = $rowNumber;
+ }
+ public function getRowNumber()
+ {
+ return $this->rowNumber;
+ }
+}
+
+class Postman_Google_Service_DoubleClickBidManager_RunQueryRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $dataRange;
+ public $reportDataEndTimeMs;
+ public $reportDataStartTimeMs;
+ public $timezoneCode;
+
+
+ public function setDataRange($dataRange)
+ {
+ $this->dataRange = $dataRange;
+ }
+ public function getDataRange()
+ {
+ return $this->dataRange;
+ }
+ public function setReportDataEndTimeMs($reportDataEndTimeMs)
+ {
+ $this->reportDataEndTimeMs = $reportDataEndTimeMs;
+ }
+ public function getReportDataEndTimeMs()
+ {
+ return $this->reportDataEndTimeMs;
+ }
+ public function setReportDataStartTimeMs($reportDataStartTimeMs)
+ {
+ $this->reportDataStartTimeMs = $reportDataStartTimeMs;
+ }
+ public function getReportDataStartTimeMs()
+ {
+ return $this->reportDataStartTimeMs;
+ }
+ public function setTimezoneCode($timezoneCode)
+ {
+ $this->timezoneCode = $timezoneCode;
+ }
+ public function getTimezoneCode()
+ {
+ return $this->timezoneCode;
+ }
+}
+
+class Postman_Google_Service_DoubleClickBidManager_UploadLineItemsRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $dryRun;
+ public $format;
+ public $lineItems;
+
+
+ public function setDryRun($dryRun)
+ {
+ $this->dryRun = $dryRun;
+ }
+ public function getDryRun()
+ {
+ return $this->dryRun;
+ }
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+ public function setLineItems($lineItems)
+ {
+ $this->lineItems = $lineItems;
+ }
+ public function getLineItems()
+ {
+ return $this->lineItems;
+ }
+}
+
+class Postman_Google_Service_DoubleClickBidManager_UploadLineItemsResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $uploadStatusType = 'Postman_Google_Service_DoubleClickBidManager_UploadStatus';
+ protected $uploadStatusDataType = '';
+
+
+ public function setUploadStatus(Postman_Google_Service_DoubleClickBidManager_UploadStatus $uploadStatus)
+ {
+ $this->uploadStatus = $uploadStatus;
+ }
+ public function getUploadStatus()
+ {
+ return $this->uploadStatus;
+ }
+}
+
+class Postman_Google_Service_DoubleClickBidManager_UploadStatus extends Postman_Google_Collection
+{
+ protected $collection_key = 'rowStatus';
+ protected $internal_gapi_mappings = array(
+ );
+ public $errors;
+ protected $rowStatusType = 'Postman_Google_Service_DoubleClickBidManager_RowStatus';
+ protected $rowStatusDataType = 'array';
+
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setRowStatus($rowStatus)
+ {
+ $this->rowStatus = $rowStatus;
+ }
+ public function getRowStatus()
+ {
+ return $this->rowStatus;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Doubleclicksearch.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Doubleclicksearch.php
new file mode 100644
index 0000000..a21203a
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Doubleclicksearch.php
@@ -0,0 +1,1461 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Doubleclicksearch (v2).
+ *
+ * <p>
+ * Report and modify your advertising data in DoubleClick Search (for example,
+ * campaigns, ad groups, keywords, and conversions).</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/doubleclick-search/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Doubleclicksearch extends Postman_Google_Service
+{
+ /** View and manage your advertising data in DoubleClick Search. */
+ const DOUBLECLICKSEARCH =
+ "https://www.googleapis.com/auth/doubleclicksearch";
+
+ public $conversion;
+ public $reports;
+ public $savedColumns;
+
+
+ /**
+ * Constructs the internal representation of the Doubleclicksearch service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'doubleclicksearch/v2/';
+ $this->version = 'v2';
+ $this->serviceName = 'doubleclicksearch';
+
+ $this->conversion = new Postman_Google_Service_Doubleclicksearch_Conversion_Resource(
+ $this,
+ $this->serviceName,
+ 'conversion',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'agency/{agencyId}/advertiser/{advertiserId}/engine/{engineAccountId}/conversion',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'agencyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'advertiserId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'engineAccountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'endDate' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'rowCount' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'startDate' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'startRow' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'adGroupId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'campaignId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'adId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'criterionId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'conversion',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'patch' => array(
+ 'path' => 'conversion',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'advertiserId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'agencyId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'endDate' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'engineAccountId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'rowCount' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'startDate' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'startRow' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'conversion',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(),
+ ),'updateAvailability' => array(
+ 'path' => 'conversion/updateAvailability',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->reports = new Postman_Google_Service_Doubleclicksearch_Reports_Resource(
+ $this,
+ $this->serviceName,
+ 'reports',
+ array(
+ 'methods' => array(
+ 'generate' => array(
+ 'path' => 'reports/generate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'get' => array(
+ 'path' => 'reports/{reportId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'reportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getFile' => array(
+ 'path' => 'reports/{reportId}/files/{reportFragment}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'reportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'reportFragment' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'request' => array(
+ 'path' => 'reports',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->savedColumns = new Postman_Google_Service_Doubleclicksearch_SavedColumns_Resource(
+ $this,
+ $this->serviceName,
+ 'savedColumns',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'agency/{agencyId}/advertiser/{advertiserId}/savedcolumns',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'agencyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'advertiserId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "conversion" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $doubleclicksearchService = new Postman_Google_Service_Doubleclicksearch(...);
+ * $conversion = $doubleclicksearchService->conversion;
+ * </code>
+ */
+class Postman_Google_Service_Doubleclicksearch_Conversion_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves a list of conversions from a DoubleClick Search engine account.
+ * (conversion.get)
+ *
+ * @param string $agencyId Numeric ID of the agency.
+ * @param string $advertiserId Numeric ID of the advertiser.
+ * @param string $engineAccountId Numeric ID of the engine account.
+ * @param int $endDate Last date (inclusive) on which to retrieve conversions.
+ * Format is yyyymmdd.
+ * @param int $rowCount The number of conversions to return per call.
+ * @param int $startDate First date (inclusive) on which to retrieve
+ * conversions. Format is yyyymmdd.
+ * @param string $startRow The 0-based starting index for retrieving conversions
+ * results.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string adGroupId Numeric ID of the ad group.
+ * @opt_param string campaignId Numeric ID of the campaign.
+ * @opt_param string adId Numeric ID of the ad.
+ * @opt_param string criterionId Numeric ID of the criterion.
+ * @return Postman_Google_Service_Doubleclicksearch_ConversionList
+ */
+ public function get($agencyId, $advertiserId, $engineAccountId, $endDate, $rowCount, $startDate, $startRow, $optParams = array())
+ {
+ $params = array('agencyId' => $agencyId, 'advertiserId' => $advertiserId, 'engineAccountId' => $engineAccountId, 'endDate' => $endDate, 'rowCount' => $rowCount, 'startDate' => $startDate, 'startRow' => $startRow);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Doubleclicksearch_ConversionList");
+ }
+
+ /**
+ * Inserts a batch of new conversions into DoubleClick Search.
+ * (conversion.insert)
+ *
+ * @param Postman_Google_ConversionList $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Doubleclicksearch_ConversionList
+ */
+ public function insert(Postman_Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Doubleclicksearch_ConversionList");
+ }
+
+ /**
+ * Updates a batch of conversions in DoubleClick Search. This method supports
+ * patch semantics. (conversion.patch)
+ *
+ * @param string $advertiserId Numeric ID of the advertiser.
+ * @param string $agencyId Numeric ID of the agency.
+ * @param int $endDate Last date (inclusive) on which to retrieve conversions.
+ * Format is yyyymmdd.
+ * @param string $engineAccountId Numeric ID of the engine account.
+ * @param int $rowCount The number of conversions to return per call.
+ * @param int $startDate First date (inclusive) on which to retrieve
+ * conversions. Format is yyyymmdd.
+ * @param string $startRow The 0-based starting index for retrieving conversions
+ * results.
+ * @param Postman_Google_ConversionList $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Doubleclicksearch_ConversionList
+ */
+ public function patch($advertiserId, $agencyId, $endDate, $engineAccountId, $rowCount, $startDate, $startRow, Postman_Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array())
+ {
+ $params = array('advertiserId' => $advertiserId, 'agencyId' => $agencyId, 'endDate' => $endDate, 'engineAccountId' => $engineAccountId, 'rowCount' => $rowCount, 'startDate' => $startDate, 'startRow' => $startRow, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Doubleclicksearch_ConversionList");
+ }
+
+ /**
+ * Updates a batch of conversions in DoubleClick Search. (conversion.update)
+ *
+ * @param Postman_Google_ConversionList $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Doubleclicksearch_ConversionList
+ */
+ public function update(Postman_Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Doubleclicksearch_ConversionList");
+ }
+
+ /**
+ * Updates the availabilities of a batch of floodlight activities in DoubleClick
+ * Search. (conversion.updateAvailability)
+ *
+ * @param Postman_Google_UpdateAvailabilityRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Doubleclicksearch_UpdateAvailabilityResponse
+ */
+ public function updateAvailability(Postman_Google_Service_Doubleclicksearch_UpdateAvailabilityRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updateAvailability', array($params), "Postman_Google_Service_Doubleclicksearch_UpdateAvailabilityResponse");
+ }
+}
+
+/**
+ * The "reports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $doubleclicksearchService = new Postman_Google_Service_Doubleclicksearch(...);
+ * $reports = $doubleclicksearchService->reports;
+ * </code>
+ */
+class Postman_Google_Service_Doubleclicksearch_Reports_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Generates and returns a report immediately. (reports.generate)
+ *
+ * @param Postman_Google_ReportRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Doubleclicksearch_Report
+ */
+ public function generate(Postman_Google_Service_Doubleclicksearch_ReportRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('generate', array($params), "Postman_Google_Service_Doubleclicksearch_Report");
+ }
+
+ /**
+ * Polls for the status of a report request. (reports.get)
+ *
+ * @param string $reportId ID of the report request being polled.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Doubleclicksearch_Report
+ */
+ public function get($reportId, $optParams = array())
+ {
+ $params = array('reportId' => $reportId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Doubleclicksearch_Report");
+ }
+
+ /**
+ * Downloads a report file. (reports.getFile)
+ *
+ * @param string $reportId ID of the report.
+ * @param int $reportFragment The index of the report fragment to download.
+ * @param array $optParams Optional parameters.
+ */
+ public function getFile($reportId, $reportFragment, $optParams = array())
+ {
+ $params = array('reportId' => $reportId, 'reportFragment' => $reportFragment);
+ $params = array_merge($params, $optParams);
+ return $this->call('getFile', array($params));
+ }
+
+ /**
+ * Inserts a report request into the reporting system. (reports.request)
+ *
+ * @param Postman_Google_ReportRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Doubleclicksearch_Report
+ */
+ public function request(Postman_Google_Service_Doubleclicksearch_ReportRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('request', array($params), "Postman_Google_Service_Doubleclicksearch_Report");
+ }
+}
+
+/**
+ * The "savedColumns" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $doubleclicksearchService = new Postman_Google_Service_Doubleclicksearch(...);
+ * $savedColumns = $doubleclicksearchService->savedColumns;
+ * </code>
+ */
+class Postman_Google_Service_Doubleclicksearch_SavedColumns_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieve the list of saved columns for a specified advertiser.
+ * (savedColumns.listSavedColumns)
+ *
+ * @param string $agencyId DS ID of the agency.
+ * @param string $advertiserId DS ID of the advertiser.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Doubleclicksearch_SavedColumnList
+ */
+ public function listSavedColumns($agencyId, $advertiserId, $optParams = array())
+ {
+ $params = array('agencyId' => $agencyId, 'advertiserId' => $advertiserId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Doubleclicksearch_SavedColumnList");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Doubleclicksearch_Availability extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $advertiserId;
+ public $agencyId;
+ public $availabilityTimestamp;
+ public $segmentationId;
+ public $segmentationName;
+ public $segmentationType;
+
+
+ public function setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setAgencyId($agencyId)
+ {
+ $this->agencyId = $agencyId;
+ }
+ public function getAgencyId()
+ {
+ return $this->agencyId;
+ }
+ public function setAvailabilityTimestamp($availabilityTimestamp)
+ {
+ $this->availabilityTimestamp = $availabilityTimestamp;
+ }
+ public function getAvailabilityTimestamp()
+ {
+ return $this->availabilityTimestamp;
+ }
+ public function setSegmentationId($segmentationId)
+ {
+ $this->segmentationId = $segmentationId;
+ }
+ public function getSegmentationId()
+ {
+ return $this->segmentationId;
+ }
+ public function setSegmentationName($segmentationName)
+ {
+ $this->segmentationName = $segmentationName;
+ }
+ public function getSegmentationName()
+ {
+ return $this->segmentationName;
+ }
+ public function setSegmentationType($segmentationType)
+ {
+ $this->segmentationType = $segmentationType;
+ }
+ public function getSegmentationType()
+ {
+ return $this->segmentationType;
+ }
+}
+
+class Postman_Google_Service_Doubleclicksearch_Conversion extends Postman_Google_Collection
+{
+ protected $collection_key = 'customMetric';
+ protected $internal_gapi_mappings = array(
+ );
+ public $adGroupId;
+ public $adId;
+ public $advertiserId;
+ public $agencyId;
+ public $attributionModel;
+ public $campaignId;
+ public $clickId;
+ public $conversionId;
+ public $conversionModifiedTimestamp;
+ public $conversionTimestamp;
+ public $countMillis;
+ public $criterionId;
+ public $currencyCode;
+ protected $customDimensionType = 'Postman_Google_Service_Doubleclicksearch_CustomDimension';
+ protected $customDimensionDataType = 'array';
+ protected $customMetricType = 'Postman_Google_Service_Doubleclicksearch_CustomMetric';
+ protected $customMetricDataType = 'array';
+ public $dsConversionId;
+ public $engineAccountId;
+ public $floodlightOrderId;
+ public $quantityMillis;
+ public $revenueMicros;
+ public $segmentationId;
+ public $segmentationName;
+ public $segmentationType;
+ public $state;
+ public $type;
+
+
+ public function setAdGroupId($adGroupId)
+ {
+ $this->adGroupId = $adGroupId;
+ }
+ public function getAdGroupId()
+ {
+ return $this->adGroupId;
+ }
+ public function setAdId($adId)
+ {
+ $this->adId = $adId;
+ }
+ public function getAdId()
+ {
+ return $this->adId;
+ }
+ public function setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setAgencyId($agencyId)
+ {
+ $this->agencyId = $agencyId;
+ }
+ public function getAgencyId()
+ {
+ return $this->agencyId;
+ }
+ public function setAttributionModel($attributionModel)
+ {
+ $this->attributionModel = $attributionModel;
+ }
+ public function getAttributionModel()
+ {
+ return $this->attributionModel;
+ }
+ public function setCampaignId($campaignId)
+ {
+ $this->campaignId = $campaignId;
+ }
+ public function getCampaignId()
+ {
+ return $this->campaignId;
+ }
+ public function setClickId($clickId)
+ {
+ $this->clickId = $clickId;
+ }
+ public function getClickId()
+ {
+ return $this->clickId;
+ }
+ public function setConversionId($conversionId)
+ {
+ $this->conversionId = $conversionId;
+ }
+ public function getConversionId()
+ {
+ return $this->conversionId;
+ }
+ public function setConversionModifiedTimestamp($conversionModifiedTimestamp)
+ {
+ $this->conversionModifiedTimestamp = $conversionModifiedTimestamp;
+ }
+ public function getConversionModifiedTimestamp()
+ {
+ return $this->conversionModifiedTimestamp;
+ }
+ public function setConversionTimestamp($conversionTimestamp)
+ {
+ $this->conversionTimestamp = $conversionTimestamp;
+ }
+ public function getConversionTimestamp()
+ {
+ return $this->conversionTimestamp;
+ }
+ public function setCountMillis($countMillis)
+ {
+ $this->countMillis = $countMillis;
+ }
+ public function getCountMillis()
+ {
+ return $this->countMillis;
+ }
+ public function setCriterionId($criterionId)
+ {
+ $this->criterionId = $criterionId;
+ }
+ public function getCriterionId()
+ {
+ return $this->criterionId;
+ }
+ public function setCurrencyCode($currencyCode)
+ {
+ $this->currencyCode = $currencyCode;
+ }
+ public function getCurrencyCode()
+ {
+ return $this->currencyCode;
+ }
+ public function setCustomDimension($customDimension)
+ {
+ $this->customDimension = $customDimension;
+ }
+ public function getCustomDimension()
+ {
+ return $this->customDimension;
+ }
+ public function setCustomMetric($customMetric)
+ {
+ $this->customMetric = $customMetric;
+ }
+ public function getCustomMetric()
+ {
+ return $this->customMetric;
+ }
+ public function setDsConversionId($dsConversionId)
+ {
+ $this->dsConversionId = $dsConversionId;
+ }
+ public function getDsConversionId()
+ {
+ return $this->dsConversionId;
+ }
+ public function setEngineAccountId($engineAccountId)
+ {
+ $this->engineAccountId = $engineAccountId;
+ }
+ public function getEngineAccountId()
+ {
+ return $this->engineAccountId;
+ }
+ public function setFloodlightOrderId($floodlightOrderId)
+ {
+ $this->floodlightOrderId = $floodlightOrderId;
+ }
+ public function getFloodlightOrderId()
+ {
+ return $this->floodlightOrderId;
+ }
+ public function setQuantityMillis($quantityMillis)
+ {
+ $this->quantityMillis = $quantityMillis;
+ }
+ public function getQuantityMillis()
+ {
+ return $this->quantityMillis;
+ }
+ public function setRevenueMicros($revenueMicros)
+ {
+ $this->revenueMicros = $revenueMicros;
+ }
+ public function getRevenueMicros()
+ {
+ return $this->revenueMicros;
+ }
+ public function setSegmentationId($segmentationId)
+ {
+ $this->segmentationId = $segmentationId;
+ }
+ public function getSegmentationId()
+ {
+ return $this->segmentationId;
+ }
+ public function setSegmentationName($segmentationName)
+ {
+ $this->segmentationName = $segmentationName;
+ }
+ public function getSegmentationName()
+ {
+ return $this->segmentationName;
+ }
+ public function setSegmentationType($segmentationType)
+ {
+ $this->segmentationType = $segmentationType;
+ }
+ public function getSegmentationType()
+ {
+ return $this->segmentationType;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Doubleclicksearch_ConversionList extends Postman_Google_Collection
+{
+ protected $collection_key = 'conversion';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $conversionType = 'Postman_Google_Service_Doubleclicksearch_Conversion';
+ protected $conversionDataType = 'array';
+ public $kind;
+
+
+ public function setConversion($conversion)
+ {
+ $this->conversion = $conversion;
+ }
+ public function getConversion()
+ {
+ return $this->conversion;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Doubleclicksearch_CustomDimension extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+ public $value;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Doubleclicksearch_CustomMetric extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+ public $value;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Doubleclicksearch_Report extends Postman_Google_Collection
+{
+ protected $collection_key = 'rows';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $filesType = 'Postman_Google_Service_Doubleclicksearch_ReportFiles';
+ protected $filesDataType = 'array';
+ public $id;
+ public $isReportReady;
+ public $kind;
+ protected $requestType = 'Postman_Google_Service_Doubleclicksearch_ReportRequest';
+ protected $requestDataType = '';
+ public $rowCount;
+ public $rows;
+ public $statisticsCurrencyCode;
+ public $statisticsTimeZone;
+
+
+ public function setFiles($files)
+ {
+ $this->files = $files;
+ }
+ public function getFiles()
+ {
+ return $this->files;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIsReportReady($isReportReady)
+ {
+ $this->isReportReady = $isReportReady;
+ }
+ public function getIsReportReady()
+ {
+ return $this->isReportReady;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRequest(Postman_Google_Service_Doubleclicksearch_ReportRequest $request)
+ {
+ $this->request = $request;
+ }
+ public function getRequest()
+ {
+ return $this->request;
+ }
+ public function setRowCount($rowCount)
+ {
+ $this->rowCount = $rowCount;
+ }
+ public function getRowCount()
+ {
+ return $this->rowCount;
+ }
+ public function setRows($rows)
+ {
+ $this->rows = $rows;
+ }
+ public function getRows()
+ {
+ return $this->rows;
+ }
+ public function setStatisticsCurrencyCode($statisticsCurrencyCode)
+ {
+ $this->statisticsCurrencyCode = $statisticsCurrencyCode;
+ }
+ public function getStatisticsCurrencyCode()
+ {
+ return $this->statisticsCurrencyCode;
+ }
+ public function setStatisticsTimeZone($statisticsTimeZone)
+ {
+ $this->statisticsTimeZone = $statisticsTimeZone;
+ }
+ public function getStatisticsTimeZone()
+ {
+ return $this->statisticsTimeZone;
+ }
+}
+
+class Postman_Google_Service_Doubleclicksearch_ReportApiColumnSpec extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $columnName;
+ public $customDimensionName;
+ public $customMetricName;
+ public $endDate;
+ public $groupByColumn;
+ public $headerText;
+ public $platformSource;
+ public $savedColumnName;
+ public $startDate;
+
+
+ public function setColumnName($columnName)
+ {
+ $this->columnName = $columnName;
+ }
+ public function getColumnName()
+ {
+ return $this->columnName;
+ }
+ public function setCustomDimensionName($customDimensionName)
+ {
+ $this->customDimensionName = $customDimensionName;
+ }
+ public function getCustomDimensionName()
+ {
+ return $this->customDimensionName;
+ }
+ public function setCustomMetricName($customMetricName)
+ {
+ $this->customMetricName = $customMetricName;
+ }
+ public function getCustomMetricName()
+ {
+ return $this->customMetricName;
+ }
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setGroupByColumn($groupByColumn)
+ {
+ $this->groupByColumn = $groupByColumn;
+ }
+ public function getGroupByColumn()
+ {
+ return $this->groupByColumn;
+ }
+ public function setHeaderText($headerText)
+ {
+ $this->headerText = $headerText;
+ }
+ public function getHeaderText()
+ {
+ return $this->headerText;
+ }
+ public function setPlatformSource($platformSource)
+ {
+ $this->platformSource = $platformSource;
+ }
+ public function getPlatformSource()
+ {
+ return $this->platformSource;
+ }
+ public function setSavedColumnName($savedColumnName)
+ {
+ $this->savedColumnName = $savedColumnName;
+ }
+ public function getSavedColumnName()
+ {
+ return $this->savedColumnName;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+}
+
+class Postman_Google_Service_Doubleclicksearch_ReportFiles extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $byteCount;
+ public $url;
+
+
+ public function setByteCount($byteCount)
+ {
+ $this->byteCount = $byteCount;
+ }
+ public function getByteCount()
+ {
+ return $this->byteCount;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Doubleclicksearch_ReportRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'orderBy';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $columnsType = 'Postman_Google_Service_Doubleclicksearch_ReportApiColumnSpec';
+ protected $columnsDataType = 'array';
+ public $downloadFormat;
+ protected $filtersType = 'Postman_Google_Service_Doubleclicksearch_ReportRequestFilters';
+ protected $filtersDataType = 'array';
+ public $includeDeletedEntities;
+ public $includeRemovedEntities;
+ public $maxRowsPerFile;
+ protected $orderByType = 'Postman_Google_Service_Doubleclicksearch_ReportRequestOrderBy';
+ protected $orderByDataType = 'array';
+ protected $reportScopeType = 'Postman_Google_Service_Doubleclicksearch_ReportRequestReportScope';
+ protected $reportScopeDataType = '';
+ public $reportType;
+ public $rowCount;
+ public $startRow;
+ public $statisticsCurrency;
+ protected $timeRangeType = 'Postman_Google_Service_Doubleclicksearch_ReportRequestTimeRange';
+ protected $timeRangeDataType = '';
+ public $verifySingleTimeZone;
+
+
+ public function setColumns($columns)
+ {
+ $this->columns = $columns;
+ }
+ public function getColumns()
+ {
+ return $this->columns;
+ }
+ public function setDownloadFormat($downloadFormat)
+ {
+ $this->downloadFormat = $downloadFormat;
+ }
+ public function getDownloadFormat()
+ {
+ return $this->downloadFormat;
+ }
+ public function setFilters($filters)
+ {
+ $this->filters = $filters;
+ }
+ public function getFilters()
+ {
+ return $this->filters;
+ }
+ public function setIncludeDeletedEntities($includeDeletedEntities)
+ {
+ $this->includeDeletedEntities = $includeDeletedEntities;
+ }
+ public function getIncludeDeletedEntities()
+ {
+ return $this->includeDeletedEntities;
+ }
+ public function setIncludeRemovedEntities($includeRemovedEntities)
+ {
+ $this->includeRemovedEntities = $includeRemovedEntities;
+ }
+ public function getIncludeRemovedEntities()
+ {
+ return $this->includeRemovedEntities;
+ }
+ public function setMaxRowsPerFile($maxRowsPerFile)
+ {
+ $this->maxRowsPerFile = $maxRowsPerFile;
+ }
+ public function getMaxRowsPerFile()
+ {
+ return $this->maxRowsPerFile;
+ }
+ public function setOrderBy($orderBy)
+ {
+ $this->orderBy = $orderBy;
+ }
+ public function getOrderBy()
+ {
+ return $this->orderBy;
+ }
+ public function setReportScope(Postman_Google_Service_Doubleclicksearch_ReportRequestReportScope $reportScope)
+ {
+ $this->reportScope = $reportScope;
+ }
+ public function getReportScope()
+ {
+ return $this->reportScope;
+ }
+ public function setReportType($reportType)
+ {
+ $this->reportType = $reportType;
+ }
+ public function getReportType()
+ {
+ return $this->reportType;
+ }
+ public function setRowCount($rowCount)
+ {
+ $this->rowCount = $rowCount;
+ }
+ public function getRowCount()
+ {
+ return $this->rowCount;
+ }
+ public function setStartRow($startRow)
+ {
+ $this->startRow = $startRow;
+ }
+ public function getStartRow()
+ {
+ return $this->startRow;
+ }
+ public function setStatisticsCurrency($statisticsCurrency)
+ {
+ $this->statisticsCurrency = $statisticsCurrency;
+ }
+ public function getStatisticsCurrency()
+ {
+ return $this->statisticsCurrency;
+ }
+ public function setTimeRange(Postman_Google_Service_Doubleclicksearch_ReportRequestTimeRange $timeRange)
+ {
+ $this->timeRange = $timeRange;
+ }
+ public function getTimeRange()
+ {
+ return $this->timeRange;
+ }
+ public function setVerifySingleTimeZone($verifySingleTimeZone)
+ {
+ $this->verifySingleTimeZone = $verifySingleTimeZone;
+ }
+ public function getVerifySingleTimeZone()
+ {
+ return $this->verifySingleTimeZone;
+ }
+}
+
+class Postman_Google_Service_Doubleclicksearch_ReportRequestFilters extends Postman_Google_Collection
+{
+ protected $collection_key = 'values';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $columnType = 'Postman_Google_Service_Doubleclicksearch_ReportApiColumnSpec';
+ protected $columnDataType = '';
+ public $operator;
+ public $values;
+
+
+ public function setColumn(Postman_Google_Service_Doubleclicksearch_ReportApiColumnSpec $column)
+ {
+ $this->column = $column;
+ }
+ public function getColumn()
+ {
+ return $this->column;
+ }
+ public function setOperator($operator)
+ {
+ $this->operator = $operator;
+ }
+ public function getOperator()
+ {
+ return $this->operator;
+ }
+ public function setValues($values)
+ {
+ $this->values = $values;
+ }
+ public function getValues()
+ {
+ return $this->values;
+ }
+}
+
+class Postman_Google_Service_Doubleclicksearch_ReportRequestOrderBy extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $columnType = 'Postman_Google_Service_Doubleclicksearch_ReportApiColumnSpec';
+ protected $columnDataType = '';
+ public $sortOrder;
+
+
+ public function setColumn(Postman_Google_Service_Doubleclicksearch_ReportApiColumnSpec $column)
+ {
+ $this->column = $column;
+ }
+ public function getColumn()
+ {
+ return $this->column;
+ }
+ public function setSortOrder($sortOrder)
+ {
+ $this->sortOrder = $sortOrder;
+ }
+ public function getSortOrder()
+ {
+ return $this->sortOrder;
+ }
+}
+
+class Postman_Google_Service_Doubleclicksearch_ReportRequestReportScope extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $adGroupId;
+ public $adId;
+ public $advertiserId;
+ public $agencyId;
+ public $campaignId;
+ public $engineAccountId;
+ public $keywordId;
+
+
+ public function setAdGroupId($adGroupId)
+ {
+ $this->adGroupId = $adGroupId;
+ }
+ public function getAdGroupId()
+ {
+ return $this->adGroupId;
+ }
+ public function setAdId($adId)
+ {
+ $this->adId = $adId;
+ }
+ public function getAdId()
+ {
+ return $this->adId;
+ }
+ public function setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setAgencyId($agencyId)
+ {
+ $this->agencyId = $agencyId;
+ }
+ public function getAgencyId()
+ {
+ return $this->agencyId;
+ }
+ public function setCampaignId($campaignId)
+ {
+ $this->campaignId = $campaignId;
+ }
+ public function getCampaignId()
+ {
+ return $this->campaignId;
+ }
+ public function setEngineAccountId($engineAccountId)
+ {
+ $this->engineAccountId = $engineAccountId;
+ }
+ public function getEngineAccountId()
+ {
+ return $this->engineAccountId;
+ }
+ public function setKeywordId($keywordId)
+ {
+ $this->keywordId = $keywordId;
+ }
+ public function getKeywordId()
+ {
+ return $this->keywordId;
+ }
+}
+
+class Postman_Google_Service_Doubleclicksearch_ReportRequestTimeRange extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $changedAttributesSinceTimestamp;
+ public $changedMetricsSinceTimestamp;
+ public $endDate;
+ public $startDate;
+
+
+ public function setChangedAttributesSinceTimestamp($changedAttributesSinceTimestamp)
+ {
+ $this->changedAttributesSinceTimestamp = $changedAttributesSinceTimestamp;
+ }
+ public function getChangedAttributesSinceTimestamp()
+ {
+ return $this->changedAttributesSinceTimestamp;
+ }
+ public function setChangedMetricsSinceTimestamp($changedMetricsSinceTimestamp)
+ {
+ $this->changedMetricsSinceTimestamp = $changedMetricsSinceTimestamp;
+ }
+ public function getChangedMetricsSinceTimestamp()
+ {
+ return $this->changedMetricsSinceTimestamp;
+ }
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+}
+
+class Postman_Google_Service_Doubleclicksearch_ReportRow extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Doubleclicksearch_SavedColumn extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $savedColumnName;
+ public $type;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSavedColumnName($savedColumnName)
+ {
+ $this->savedColumnName = $savedColumnName;
+ }
+ public function getSavedColumnName()
+ {
+ return $this->savedColumnName;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Doubleclicksearch_SavedColumnList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Doubleclicksearch_SavedColumn';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Doubleclicksearch_UpdateAvailabilityRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'availabilities';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $availabilitiesType = 'Postman_Google_Service_Doubleclicksearch_Availability';
+ protected $availabilitiesDataType = 'array';
+
+
+ public function setAvailabilities($availabilities)
+ {
+ $this->availabilities = $availabilities;
+ }
+ public function getAvailabilities()
+ {
+ return $this->availabilities;
+ }
+}
+
+class Postman_Google_Service_Doubleclicksearch_UpdateAvailabilityResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'availabilities';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $availabilitiesType = 'Postman_Google_Service_Doubleclicksearch_Availability';
+ protected $availabilitiesDataType = 'array';
+
+
+ public function setAvailabilities($availabilities)
+ {
+ $this->availabilities = $availabilities;
+ }
+ public function getAvailabilities()
+ {
+ return $this->availabilities;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Drive.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Drive.php
new file mode 100644
index 0000000..86c7d01
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Drive.php
@@ -0,0 +1,5567 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Drive (v2).
+ *
+ * <p>
+ * The API to interact with Drive.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/drive/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Drive extends Postman_Google_Service
+{
+ /** View and manage the files and documents in your Google Drive. */
+ const DRIVE =
+ "https://www.googleapis.com/auth/drive";
+ /** View and manage its own configuration data in your Google Drive. */
+ const DRIVE_APPDATA =
+ "https://www.googleapis.com/auth/drive.appdata";
+ /** View your Google Drive apps. */
+ const DRIVE_APPS_READONLY =
+ "https://www.googleapis.com/auth/drive.apps.readonly";
+ /** View and manage Google Drive files that you have opened or created with this app. */
+ const DRIVE_FILE =
+ "https://www.googleapis.com/auth/drive.file";
+ /** View metadata for files and documents in your Google Drive. */
+ const DRIVE_METADATA_READONLY =
+ "https://www.googleapis.com/auth/drive.metadata.readonly";
+ /** View the files and documents in your Google Drive. */
+ const DRIVE_READONLY =
+ "https://www.googleapis.com/auth/drive.readonly";
+ /** Modify your Google Apps Script scripts' behavior. */
+ const DRIVE_SCRIPTS =
+ "https://www.googleapis.com/auth/drive.scripts";
+
+ public $about;
+ public $apps;
+ public $changes;
+ public $channels;
+ public $children;
+ public $comments;
+ public $files;
+ public $parents;
+ public $permissions;
+ public $properties;
+ public $realtime;
+ public $replies;
+ public $revisions;
+
+
+ /**
+ * Constructs the internal representation of the Drive service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'drive/v2/';
+ $this->version = 'v2';
+ $this->serviceName = 'drive';
+
+ $this->about = new Postman_Google_Service_Drive_About_Resource(
+ $this,
+ $this->serviceName,
+ 'about',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'about',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'includeSubscribed' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxChangeIdCount' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startChangeId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->apps = new Postman_Google_Service_Drive_Apps_Resource(
+ $this,
+ $this->serviceName,
+ 'apps',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'apps/{appId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'appId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'apps',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'languageCode' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'appFilterExtensions' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'appFilterMimeTypes' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->changes = new Postman_Google_Service_Drive_Changes_Resource(
+ $this,
+ $this->serviceName,
+ 'changes',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'changes/{changeId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'changeId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'changes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'includeSubscribed' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'startChangeId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'watch' => array(
+ 'path' => 'changes/watch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'includeSubscribed' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'startChangeId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->channels = new Postman_Google_Service_Drive_Channels_Resource(
+ $this,
+ $this->serviceName,
+ 'channels',
+ array(
+ 'methods' => array(
+ 'stop' => array(
+ 'path' => 'channels/stop',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->children = new Postman_Google_Service_Drive_Children_Resource(
+ $this,
+ $this->serviceName,
+ 'children',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'files/{folderId}/children/{childId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'folderId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'childId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'files/{folderId}/children/{childId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'folderId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'childId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'files/{folderId}/children',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'folderId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'files/{folderId}/children',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'folderId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->comments = new Postman_Google_Service_Drive_Comments_Resource(
+ $this,
+ $this->serviceName,
+ 'comments',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'files/{fileId}/comments/{commentId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'files/{fileId}/comments/{commentId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'includeDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'files/{fileId}/comments',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'files/{fileId}/comments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'updatedMin' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'files/{fileId}/comments/{commentId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'files/{fileId}/comments/{commentId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->files = new Postman_Google_Service_Drive_Files_Resource(
+ $this,
+ $this->serviceName,
+ 'files',
+ array(
+ 'methods' => array(
+ 'copy' => array(
+ 'path' => 'files/{fileId}/copy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'convert' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'ocrLanguage' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'visibility' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pinned' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'ocr' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'timedTextTrackName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'timedTextLanguage' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'files/{fileId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'emptyTrash' => array(
+ 'path' => 'files/trash',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(),
+ ),'get' => array(
+ 'path' => 'files/{fileId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'acknowledgeAbuse' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'updateViewedDate' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'files',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'convert' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'useContentAsIndexableText' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'ocrLanguage' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'visibility' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pinned' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'ocr' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'timedTextTrackName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'timedTextLanguage' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'files',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'corpus' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'files/{fileId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'addParents' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'updateViewedDate' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'removeParents' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'setModifiedDate' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'convert' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'useContentAsIndexableText' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'ocrLanguage' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pinned' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'newRevision' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'ocr' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'timedTextLanguage' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'timedTextTrackName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'touch' => array(
+ 'path' => 'files/{fileId}/touch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'trash' => array(
+ 'path' => 'files/{fileId}/trash',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'untrash' => array(
+ 'path' => 'files/{fileId}/untrash',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'files/{fileId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'addParents' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'updateViewedDate' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'removeParents' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'setModifiedDate' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'convert' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'useContentAsIndexableText' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'ocrLanguage' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pinned' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'newRevision' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'ocr' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'timedTextLanguage' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'timedTextTrackName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'watch' => array(
+ 'path' => 'files/{fileId}/watch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'acknowledgeAbuse' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'updateViewedDate' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->parents = new Postman_Google_Service_Drive_Parents_Resource(
+ $this,
+ $this->serviceName,
+ 'parents',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'files/{fileId}/parents/{parentId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'parentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'files/{fileId}/parents/{parentId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'parentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'files/{fileId}/parents',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'files/{fileId}/parents',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->permissions = new Postman_Google_Service_Drive_Permissions_Resource(
+ $this,
+ $this->serviceName,
+ 'permissions',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'files/{fileId}/permissions/{permissionId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'permissionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'files/{fileId}/permissions/{permissionId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'permissionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getIdForEmail' => array(
+ 'path' => 'permissionIds/{email}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'email' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'files/{fileId}/permissions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'emailMessage' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sendNotificationEmails' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'files/{fileId}/permissions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'files/{fileId}/permissions/{permissionId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'permissionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'transferOwnership' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'files/{fileId}/permissions/{permissionId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'permissionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'transferOwnership' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->properties = new Postman_Google_Service_Drive_Properties_Resource(
+ $this,
+ $this->serviceName,
+ 'properties',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'files/{fileId}/properties/{propertyKey}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'propertyKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'visibility' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'files/{fileId}/properties/{propertyKey}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'propertyKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'visibility' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'files/{fileId}/properties',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'files/{fileId}/properties',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'files/{fileId}/properties/{propertyKey}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'propertyKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'visibility' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'files/{fileId}/properties/{propertyKey}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'propertyKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'visibility' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->realtime = new Postman_Google_Service_Drive_Realtime_Resource(
+ $this,
+ $this->serviceName,
+ 'realtime',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'files/{fileId}/realtime',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'revision' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'files/{fileId}/realtime',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'baseRevision' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->replies = new Postman_Google_Service_Drive_Replies_Resource(
+ $this,
+ $this->serviceName,
+ 'replies',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'files/{fileId}/comments/{commentId}/replies/{replyId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'replyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'files/{fileId}/comments/{commentId}/replies/{replyId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'replyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'includeDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'files/{fileId}/comments/{commentId}/replies',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'files/{fileId}/comments/{commentId}/replies',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'files/{fileId}/comments/{commentId}/replies/{replyId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'replyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'files/{fileId}/comments/{commentId}/replies/{replyId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'replyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->revisions = new Postman_Google_Service_Drive_Revisions_Resource(
+ $this,
+ $this->serviceName,
+ 'revisions',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'files/{fileId}/revisions/{revisionId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'revisionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'files/{fileId}/revisions/{revisionId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'revisionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'files/{fileId}/revisions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'files/{fileId}/revisions/{revisionId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'revisionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'files/{fileId}/revisions/{revisionId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'revisionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "about" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $driveService = new Postman_Google_Service_Drive(...);
+ * $about = $driveService->about;
+ * </code>
+ */
+class Postman_Google_Service_Drive_About_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets the information about the current user along with Drive API settings
+ * (about.get)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool includeSubscribed When calculating the number of remaining
+ * change IDs, whether to include public files the user has opened and shared
+ * files. When set to false, this counts only change IDs for owned files and any
+ * shared or public files that the user has explicitly added to a folder they
+ * own.
+ * @opt_param string maxChangeIdCount Maximum number of remaining change IDs to
+ * count
+ * @opt_param string startChangeId Change ID to start counting from when
+ * calculating number of remaining change IDs
+ * @return Postman_Google_Service_Drive_About
+ */
+ public function get($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Drive_About");
+ }
+}
+
+/**
+ * The "apps" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $driveService = new Postman_Google_Service_Drive(...);
+ * $apps = $driveService->apps;
+ * </code>
+ */
+class Postman_Google_Service_Drive_Apps_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets a specific app. (apps.get)
+ *
+ * @param string $appId The ID of the app.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_App
+ */
+ public function get($appId, $optParams = array())
+ {
+ $params = array('appId' => $appId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Drive_App");
+ }
+
+ /**
+ * Lists a user's installed apps. (apps.listApps)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string languageCode A language or locale code, as defined by BCP
+ * 47, with some extensions from Unicode's LDML format
+ * (http://www.unicode.org/reports/tr35/).
+ * @opt_param string appFilterExtensions A comma-separated list of file
+ * extensions for open with filtering. All apps within the given app query scope
+ * which can open any of the given file extensions will be included in the
+ * response. If appFilterMimeTypes are provided as well, the result is a union
+ * of the two resulting app lists.
+ * @opt_param string appFilterMimeTypes A comma-separated list of MIME types for
+ * open with filtering. All apps within the given app query scope which can open
+ * any of the given MIME types will be included in the response. If
+ * appFilterExtensions are provided as well, the result is a union of the two
+ * resulting app lists.
+ * @return Postman_Google_Service_Drive_AppList
+ */
+ public function listApps($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Drive_AppList");
+ }
+}
+
+/**
+ * The "changes" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $driveService = new Postman_Google_Service_Drive(...);
+ * $changes = $driveService->changes;
+ * </code>
+ */
+class Postman_Google_Service_Drive_Changes_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets a specific change. (changes.get)
+ *
+ * @param string $changeId The ID of the change.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_Change
+ */
+ public function get($changeId, $optParams = array())
+ {
+ $params = array('changeId' => $changeId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Drive_Change");
+ }
+
+ /**
+ * Lists the changes for a user. (changes.listChanges)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool includeSubscribed Whether to include public files the user
+ * has opened and shared files. When set to false, the list only includes owned
+ * files plus any shared or public files the user has explicitly added to a
+ * folder they own.
+ * @opt_param string startChangeId Change ID to start listing changes from.
+ * @opt_param bool includeDeleted Whether to include deleted items.
+ * @opt_param int maxResults Maximum number of changes to return.
+ * @opt_param string pageToken Page token for changes.
+ * @return Postman_Google_Service_Drive_ChangeList
+ */
+ public function listChanges($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Drive_ChangeList");
+ }
+
+ /**
+ * Subscribe to changes for a user. (changes.watch)
+ *
+ * @param Postman_Google_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool includeSubscribed Whether to include public files the user
+ * has opened and shared files. When set to false, the list only includes owned
+ * files plus any shared or public files the user has explicitly added to a
+ * folder they own.
+ * @opt_param string startChangeId Change ID to start listing changes from.
+ * @opt_param bool includeDeleted Whether to include deleted items.
+ * @opt_param int maxResults Maximum number of changes to return.
+ * @opt_param string pageToken Page token for changes.
+ * @return Postman_Google_Service_Drive_Channel
+ */
+ public function watch(Postman_Google_Service_Drive_Channel $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Postman_Google_Service_Drive_Channel");
+ }
+}
+
+/**
+ * The "channels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $driveService = new Postman_Google_Service_Drive(...);
+ * $channels = $driveService->channels;
+ * </code>
+ */
+class Postman_Google_Service_Drive_Channels_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Stop watching resources through this channel (channels.stop)
+ *
+ * @param Postman_Google_Channel $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function stop(Postman_Google_Service_Drive_Channel $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('stop', array($params));
+ }
+}
+
+/**
+ * The "children" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $driveService = new Postman_Google_Service_Drive(...);
+ * $children = $driveService->children;
+ * </code>
+ */
+class Postman_Google_Service_Drive_Children_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Removes a child from a folder. (children.delete)
+ *
+ * @param string $folderId The ID of the folder.
+ * @param string $childId The ID of the child.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($folderId, $childId, $optParams = array())
+ {
+ $params = array('folderId' => $folderId, 'childId' => $childId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a specific child reference. (children.get)
+ *
+ * @param string $folderId The ID of the folder.
+ * @param string $childId The ID of the child.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_ChildReference
+ */
+ public function get($folderId, $childId, $optParams = array())
+ {
+ $params = array('folderId' => $folderId, 'childId' => $childId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Drive_ChildReference");
+ }
+
+ /**
+ * Inserts a file into a folder. (children.insert)
+ *
+ * @param string $folderId The ID of the folder.
+ * @param Postman_Google_ChildReference $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_ChildReference
+ */
+ public function insert($folderId, Postman_Google_Service_Drive_ChildReference $postBody, $optParams = array())
+ {
+ $params = array('folderId' => $folderId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Drive_ChildReference");
+ }
+
+ /**
+ * Lists a folder's children. (children.listChildren)
+ *
+ * @param string $folderId The ID of the folder.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string q Query string for searching children.
+ * @opt_param string pageToken Page token for children.
+ * @opt_param int maxResults Maximum number of children to return.
+ * @return Postman_Google_Service_Drive_ChildList
+ */
+ public function listChildren($folderId, $optParams = array())
+ {
+ $params = array('folderId' => $folderId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Drive_ChildList");
+ }
+}
+
+/**
+ * The "comments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $driveService = new Postman_Google_Service_Drive(...);
+ * $comments = $driveService->comments;
+ * </code>
+ */
+class Postman_Google_Service_Drive_Comments_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes a comment. (comments.delete)
+ *
+ * @param string $fileId The ID of the file.
+ * @param string $commentId The ID of the comment.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($fileId, $commentId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'commentId' => $commentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a comment by ID. (comments.get)
+ *
+ * @param string $fileId The ID of the file.
+ * @param string $commentId The ID of the comment.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool includeDeleted If set, this will succeed when retrieving a
+ * deleted comment, and will include any deleted replies.
+ * @return Postman_Google_Service_Drive_Comment
+ */
+ public function get($fileId, $commentId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'commentId' => $commentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Drive_Comment");
+ }
+
+ /**
+ * Creates a new comment on the given file. (comments.insert)
+ *
+ * @param string $fileId The ID of the file.
+ * @param Postman_Google_Comment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_Comment
+ */
+ public function insert($fileId, Postman_Google_Service_Drive_Comment $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Drive_Comment");
+ }
+
+ /**
+ * Lists a file's comments. (comments.listComments)
+ *
+ * @param string $fileId The ID of the file.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The continuation token, used to page through
+ * large result sets. To get the next page of results, set this parameter to the
+ * value of "nextPageToken" from the previous response.
+ * @opt_param string updatedMin Only discussions that were updated after this
+ * timestamp will be returned. Formatted as an RFC 3339 timestamp.
+ * @opt_param bool includeDeleted If set, all comments and replies, including
+ * deleted comments and replies (with content stripped) will be returned.
+ * @opt_param int maxResults The maximum number of discussions to include in the
+ * response, used for paging.
+ * @return Postman_Google_Service_Drive_CommentList
+ */
+ public function listComments($fileId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Drive_CommentList");
+ }
+
+ /**
+ * Updates an existing comment. This method supports patch semantics.
+ * (comments.patch)
+ *
+ * @param string $fileId The ID of the file.
+ * @param string $commentId The ID of the comment.
+ * @param Postman_Google_Comment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_Comment
+ */
+ public function patch($fileId, $commentId, Postman_Google_Service_Drive_Comment $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'commentId' => $commentId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Drive_Comment");
+ }
+
+ /**
+ * Updates an existing comment. (comments.update)
+ *
+ * @param string $fileId The ID of the file.
+ * @param string $commentId The ID of the comment.
+ * @param Postman_Google_Comment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_Comment
+ */
+ public function update($fileId, $commentId, Postman_Google_Service_Drive_Comment $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'commentId' => $commentId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Drive_Comment");
+ }
+}
+
+/**
+ * The "files" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $driveService = new Postman_Google_Service_Drive(...);
+ * $files = $driveService->files;
+ * </code>
+ */
+class Postman_Google_Service_Drive_Files_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Creates a copy of the specified file. (files.copy)
+ *
+ * @param string $fileId The ID of the file to copy.
+ * @param Postman_Google_DriveFile $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool convert Whether to convert this file to the corresponding
+ * Google Docs format.
+ * @opt_param string ocrLanguage If ocr is true, hints at the language to use.
+ * Valid values are ISO 639-1 codes.
+ * @opt_param string visibility The visibility of the new file. This parameter
+ * is only relevant when the source is not a native Google Doc and
+ * convert=false.
+ * @opt_param bool pinned Whether to pin the head revision of the new copy. A
+ * file can have a maximum of 200 pinned revisions.
+ * @opt_param bool ocr Whether to attempt OCR on .jpg, .png, .gif, or .pdf
+ * uploads.
+ * @opt_param string timedTextTrackName The timed text track name.
+ * @opt_param string timedTextLanguage The language of the timed text.
+ * @return Postman_Google_Service_Drive_DriveFile
+ */
+ public function copy($fileId, Postman_Google_Service_Drive_DriveFile $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('copy', array($params), "Postman_Google_Service_Drive_DriveFile");
+ }
+
+ /**
+ * Permanently deletes a file by ID. Skips the trash. (files.delete)
+ *
+ * @param string $fileId The ID of the file to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($fileId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Permanently deletes all of the user's trashed files. (files.emptyTrash)
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function emptyTrash($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('emptyTrash', array($params));
+ }
+
+ /**
+ * Gets a file's metadata by ID. (files.get)
+ *
+ * @param string $fileId The ID for the file in question.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool acknowledgeAbuse Whether the user is acknowledging the risk
+ * of downloading known malware or other abusive files.
+ * @opt_param bool updateViewedDate Whether to update the view date after
+ * successfully retrieving the file.
+ * @opt_param string projection This parameter is deprecated and has no
+ * function.
+ * @return Postman_Google_Service_Drive_DriveFile
+ */
+ public function get($fileId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Drive_DriveFile");
+ }
+
+ /**
+ * Insert a new file. (files.insert)
+ *
+ * @param Postman_Google_DriveFile $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool convert Whether to convert this file to the corresponding
+ * Google Docs format.
+ * @opt_param bool useContentAsIndexableText Whether to use the content as
+ * indexable text.
+ * @opt_param string ocrLanguage If ocr is true, hints at the language to use.
+ * Valid values are ISO 639-1 codes.
+ * @opt_param string visibility The visibility of the new file. This parameter
+ * is only relevant when convert=false.
+ * @opt_param bool pinned Whether to pin the head revision of the uploaded file.
+ * A file can have a maximum of 200 pinned revisions.
+ * @opt_param bool ocr Whether to attempt OCR on .jpg, .png, .gif, or .pdf
+ * uploads.
+ * @opt_param string timedTextTrackName The timed text track name.
+ * @opt_param string timedTextLanguage The language of the timed text.
+ * @return Postman_Google_Service_Drive_DriveFile
+ */
+ public function insert(Postman_Google_Service_Drive_DriveFile $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Drive_DriveFile");
+ }
+
+ /**
+ * Lists the user's files. (files.listFiles)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string q Query string for searching files.
+ * @opt_param string pageToken Page token for files.
+ * @opt_param string corpus The body of items (files/documents) to which the
+ * query applies.
+ * @opt_param string projection This parameter is deprecated and has no
+ * function.
+ * @opt_param int maxResults Maximum number of files to return.
+ * @return Postman_Google_Service_Drive_FileList
+ */
+ public function listFiles($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Drive_FileList");
+ }
+
+ /**
+ * Updates file metadata and/or content. This method supports patch semantics.
+ * (files.patch)
+ *
+ * @param string $fileId The ID of the file to update.
+ * @param Postman_Google_DriveFile $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string addParents Comma-separated list of parent IDs to add.
+ * @opt_param bool updateViewedDate Whether to update the view date after
+ * successfully updating the file.
+ * @opt_param string removeParents Comma-separated list of parent IDs to remove.
+ * @opt_param bool setModifiedDate Whether to set the modified date with the
+ * supplied modified date.
+ * @opt_param bool convert Whether to convert this file to the corresponding
+ * Google Docs format.
+ * @opt_param bool useContentAsIndexableText Whether to use the content as
+ * indexable text.
+ * @opt_param string ocrLanguage If ocr is true, hints at the language to use.
+ * Valid values are ISO 639-1 codes.
+ * @opt_param bool pinned Whether to pin the new revision. A file can have a
+ * maximum of 200 pinned revisions.
+ * @opt_param bool newRevision Whether a blob upload should create a new
+ * revision. If false, the blob data in the current head revision is replaced.
+ * If true or not set, a new blob is created as head revision, and previous
+ * revisions are preserved (causing increased use of the user's data storage
+ * quota).
+ * @opt_param bool ocr Whether to attempt OCR on .jpg, .png, .gif, or .pdf
+ * uploads.
+ * @opt_param string timedTextLanguage The language of the timed text.
+ * @opt_param string timedTextTrackName The timed text track name.
+ * @return Postman_Google_Service_Drive_DriveFile
+ */
+ public function patch($fileId, Postman_Google_Service_Drive_DriveFile $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Drive_DriveFile");
+ }
+
+ /**
+ * Set the file's updated time to the current server time. (files.touch)
+ *
+ * @param string $fileId The ID of the file to update.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_DriveFile
+ */
+ public function touch($fileId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('touch', array($params), "Postman_Google_Service_Drive_DriveFile");
+ }
+
+ /**
+ * Moves a file to the trash. (files.trash)
+ *
+ * @param string $fileId The ID of the file to trash.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_DriveFile
+ */
+ public function trash($fileId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('trash', array($params), "Postman_Google_Service_Drive_DriveFile");
+ }
+
+ /**
+ * Restores a file from the trash. (files.untrash)
+ *
+ * @param string $fileId The ID of the file to untrash.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_DriveFile
+ */
+ public function untrash($fileId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('untrash', array($params), "Postman_Google_Service_Drive_DriveFile");
+ }
+
+ /**
+ * Updates file metadata and/or content. (files.update)
+ *
+ * @param string $fileId The ID of the file to update.
+ * @param Postman_Google_DriveFile $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string addParents Comma-separated list of parent IDs to add.
+ * @opt_param bool updateViewedDate Whether to update the view date after
+ * successfully updating the file.
+ * @opt_param string removeParents Comma-separated list of parent IDs to remove.
+ * @opt_param bool setModifiedDate Whether to set the modified date with the
+ * supplied modified date.
+ * @opt_param bool convert Whether to convert this file to the corresponding
+ * Google Docs format.
+ * @opt_param bool useContentAsIndexableText Whether to use the content as
+ * indexable text.
+ * @opt_param string ocrLanguage If ocr is true, hints at the language to use.
+ * Valid values are ISO 639-1 codes.
+ * @opt_param bool pinned Whether to pin the new revision. A file can have a
+ * maximum of 200 pinned revisions.
+ * @opt_param bool newRevision Whether a blob upload should create a new
+ * revision. If false, the blob data in the current head revision is replaced.
+ * If true or not set, a new blob is created as head revision, and previous
+ * revisions are preserved (causing increased use of the user's data storage
+ * quota).
+ * @opt_param bool ocr Whether to attempt OCR on .jpg, .png, .gif, or .pdf
+ * uploads.
+ * @opt_param string timedTextLanguage The language of the timed text.
+ * @opt_param string timedTextTrackName The timed text track name.
+ * @return Postman_Google_Service_Drive_DriveFile
+ */
+ public function update($fileId, Postman_Google_Service_Drive_DriveFile $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Drive_DriveFile");
+ }
+
+ /**
+ * Subscribe to changes on a file (files.watch)
+ *
+ * @param string $fileId The ID for the file in question.
+ * @param Postman_Google_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool acknowledgeAbuse Whether the user is acknowledging the risk
+ * of downloading known malware or other abusive files.
+ * @opt_param bool updateViewedDate Whether to update the view date after
+ * successfully retrieving the file.
+ * @opt_param string projection This parameter is deprecated and has no
+ * function.
+ * @return Postman_Google_Service_Drive_Channel
+ */
+ public function watch($fileId, Postman_Google_Service_Drive_Channel $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Postman_Google_Service_Drive_Channel");
+ }
+}
+
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $driveService = new Postman_Google_Service_Drive(...);
+ * $parents = $driveService->parents;
+ * </code>
+ */
+class Postman_Google_Service_Drive_Parents_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Removes a parent from a file. (parents.delete)
+ *
+ * @param string $fileId The ID of the file.
+ * @param string $parentId The ID of the parent.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($fileId, $parentId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'parentId' => $parentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a specific parent reference. (parents.get)
+ *
+ * @param string $fileId The ID of the file.
+ * @param string $parentId The ID of the parent.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_ParentReference
+ */
+ public function get($fileId, $parentId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'parentId' => $parentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Drive_ParentReference");
+ }
+
+ /**
+ * Adds a parent folder for a file. (parents.insert)
+ *
+ * @param string $fileId The ID of the file.
+ * @param Postman_Google_ParentReference $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_ParentReference
+ */
+ public function insert($fileId, Postman_Google_Service_Drive_ParentReference $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Drive_ParentReference");
+ }
+
+ /**
+ * Lists a file's parents. (parents.listParents)
+ *
+ * @param string $fileId The ID of the file.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_ParentList
+ */
+ public function listParents($fileId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Drive_ParentList");
+ }
+}
+
+/**
+ * The "permissions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $driveService = new Postman_Google_Service_Drive(...);
+ * $permissions = $driveService->permissions;
+ * </code>
+ */
+class Postman_Google_Service_Drive_Permissions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes a permission from a file. (permissions.delete)
+ *
+ * @param string $fileId The ID for the file.
+ * @param string $permissionId The ID for the permission.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($fileId, $permissionId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'permissionId' => $permissionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a permission by ID. (permissions.get)
+ *
+ * @param string $fileId The ID for the file.
+ * @param string $permissionId The ID for the permission.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_Permission
+ */
+ public function get($fileId, $permissionId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'permissionId' => $permissionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Drive_Permission");
+ }
+
+ /**
+ * Returns the permission ID for an email address. (permissions.getIdForEmail)
+ *
+ * @param string $email The email address for which to return a permission ID
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_PermissionId
+ */
+ public function getIdForEmail($email, $optParams = array())
+ {
+ $params = array('email' => $email);
+ $params = array_merge($params, $optParams);
+ return $this->call('getIdForEmail', array($params), "Postman_Google_Service_Drive_PermissionId");
+ }
+
+ /**
+ * Inserts a permission for a file. (permissions.insert)
+ *
+ * @param string $fileId The ID for the file.
+ * @param Postman_Google_Permission $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string emailMessage A custom message to include in notification
+ * emails.
+ * @opt_param bool sendNotificationEmails Whether to send notification emails
+ * when sharing to users or groups. This parameter is ignored and an email is
+ * sent if the role is owner.
+ * @return Postman_Google_Service_Drive_Permission
+ */
+ public function insert($fileId, Postman_Google_Service_Drive_Permission $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Drive_Permission");
+ }
+
+ /**
+ * Lists a file's permissions. (permissions.listPermissions)
+ *
+ * @param string $fileId The ID for the file.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_PermissionList
+ */
+ public function listPermissions($fileId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Drive_PermissionList");
+ }
+
+ /**
+ * Updates a permission. This method supports patch semantics.
+ * (permissions.patch)
+ *
+ * @param string $fileId The ID for the file.
+ * @param string $permissionId The ID for the permission.
+ * @param Postman_Google_Permission $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool transferOwnership Whether changing a role to 'owner' should
+ * also downgrade the current owners to writers.
+ * @return Postman_Google_Service_Drive_Permission
+ */
+ public function patch($fileId, $permissionId, Postman_Google_Service_Drive_Permission $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'permissionId' => $permissionId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Drive_Permission");
+ }
+
+ /**
+ * Updates a permission. (permissions.update)
+ *
+ * @param string $fileId The ID for the file.
+ * @param string $permissionId The ID for the permission.
+ * @param Postman_Google_Permission $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool transferOwnership Whether changing a role to 'owner' should
+ * also downgrade the current owners to writers.
+ * @return Postman_Google_Service_Drive_Permission
+ */
+ public function update($fileId, $permissionId, Postman_Google_Service_Drive_Permission $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'permissionId' => $permissionId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Drive_Permission");
+ }
+}
+
+/**
+ * The "properties" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $driveService = new Postman_Google_Service_Drive(...);
+ * $properties = $driveService->properties;
+ * </code>
+ */
+class Postman_Google_Service_Drive_Properties_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes a property. (properties.delete)
+ *
+ * @param string $fileId The ID of the file.
+ * @param string $propertyKey The key of the property.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string visibility The visibility of the property.
+ */
+ public function delete($fileId, $propertyKey, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'propertyKey' => $propertyKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a property by its key. (properties.get)
+ *
+ * @param string $fileId The ID of the file.
+ * @param string $propertyKey The key of the property.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string visibility The visibility of the property.
+ * @return Postman_Google_Service_Drive_Property
+ */
+ public function get($fileId, $propertyKey, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'propertyKey' => $propertyKey);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Drive_Property");
+ }
+
+ /**
+ * Adds a property to a file. (properties.insert)
+ *
+ * @param string $fileId The ID of the file.
+ * @param Postman_Google_Property $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_Property
+ */
+ public function insert($fileId, Postman_Google_Service_Drive_Property $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Drive_Property");
+ }
+
+ /**
+ * Lists a file's properties. (properties.listProperties)
+ *
+ * @param string $fileId The ID of the file.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_PropertyList
+ */
+ public function listProperties($fileId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Drive_PropertyList");
+ }
+
+ /**
+ * Updates a property. This method supports patch semantics. (properties.patch)
+ *
+ * @param string $fileId The ID of the file.
+ * @param string $propertyKey The key of the property.
+ * @param Postman_Google_Property $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string visibility The visibility of the property.
+ * @return Postman_Google_Service_Drive_Property
+ */
+ public function patch($fileId, $propertyKey, Postman_Google_Service_Drive_Property $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'propertyKey' => $propertyKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Drive_Property");
+ }
+
+ /**
+ * Updates a property. (properties.update)
+ *
+ * @param string $fileId The ID of the file.
+ * @param string $propertyKey The key of the property.
+ * @param Postman_Google_Property $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string visibility The visibility of the property.
+ * @return Postman_Google_Service_Drive_Property
+ */
+ public function update($fileId, $propertyKey, Postman_Google_Service_Drive_Property $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'propertyKey' => $propertyKey, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Drive_Property");
+ }
+}
+
+/**
+ * The "realtime" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $driveService = new Postman_Google_Service_Drive(...);
+ * $realtime = $driveService->realtime;
+ * </code>
+ */
+class Postman_Google_Service_Drive_Realtime_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Exports the contents of the Realtime API data model associated with this file
+ * as JSON. (realtime.get)
+ *
+ * @param string $fileId The ID of the file that the Realtime API data model is
+ * associated with.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int revision The revision of the Realtime API data model to
+ * export. Revisions start at 1 (the initial empty data model) and are
+ * incremented with each change. If this parameter is excluded, the most recent
+ * data model will be returned.
+ */
+ public function get($fileId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params));
+ }
+
+ /**
+ * Overwrites the Realtime API data model associated with this file with the
+ * provided JSON data model. (realtime.update)
+ *
+ * @param string $fileId The ID of the file that the Realtime API data model is
+ * associated with.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string baseRevision The revision of the model to diff the uploaded
+ * model against. If set, the uploaded model is diffed against the provided
+ * revision and those differences are merged with any changes made to the model
+ * after the provided revision. If not set, the uploaded model replaces the
+ * current model on the server.
+ */
+ public function update($fileId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params));
+ }
+}
+
+/**
+ * The "replies" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $driveService = new Postman_Google_Service_Drive(...);
+ * $replies = $driveService->replies;
+ * </code>
+ */
+class Postman_Google_Service_Drive_Replies_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes a reply. (replies.delete)
+ *
+ * @param string $fileId The ID of the file.
+ * @param string $commentId The ID of the comment.
+ * @param string $replyId The ID of the reply.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($fileId, $commentId, $replyId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'commentId' => $commentId, 'replyId' => $replyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a reply. (replies.get)
+ *
+ * @param string $fileId The ID of the file.
+ * @param string $commentId The ID of the comment.
+ * @param string $replyId The ID of the reply.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool includeDeleted If set, this will succeed when retrieving a
+ * deleted reply.
+ * @return Postman_Google_Service_Drive_CommentReply
+ */
+ public function get($fileId, $commentId, $replyId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'commentId' => $commentId, 'replyId' => $replyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Drive_CommentReply");
+ }
+
+ /**
+ * Creates a new reply to the given comment. (replies.insert)
+ *
+ * @param string $fileId The ID of the file.
+ * @param string $commentId The ID of the comment.
+ * @param Postman_Google_CommentReply $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_CommentReply
+ */
+ public function insert($fileId, $commentId, Postman_Google_Service_Drive_CommentReply $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'commentId' => $commentId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Drive_CommentReply");
+ }
+
+ /**
+ * Lists all of the replies to a comment. (replies.listReplies)
+ *
+ * @param string $fileId The ID of the file.
+ * @param string $commentId The ID of the comment.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The continuation token, used to page through
+ * large result sets. To get the next page of results, set this parameter to the
+ * value of "nextPageToken" from the previous response.
+ * @opt_param bool includeDeleted If set, all replies, including deleted replies
+ * (with content stripped) will be returned.
+ * @opt_param int maxResults The maximum number of replies to include in the
+ * response, used for paging.
+ * @return Postman_Google_Service_Drive_CommentReplyList
+ */
+ public function listReplies($fileId, $commentId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'commentId' => $commentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Drive_CommentReplyList");
+ }
+
+ /**
+ * Updates an existing reply. This method supports patch semantics.
+ * (replies.patch)
+ *
+ * @param string $fileId The ID of the file.
+ * @param string $commentId The ID of the comment.
+ * @param string $replyId The ID of the reply.
+ * @param Postman_Google_CommentReply $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_CommentReply
+ */
+ public function patch($fileId, $commentId, $replyId, Postman_Google_Service_Drive_CommentReply $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'commentId' => $commentId, 'replyId' => $replyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Drive_CommentReply");
+ }
+
+ /**
+ * Updates an existing reply. (replies.update)
+ *
+ * @param string $fileId The ID of the file.
+ * @param string $commentId The ID of the comment.
+ * @param string $replyId The ID of the reply.
+ * @param Postman_Google_CommentReply $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_CommentReply
+ */
+ public function update($fileId, $commentId, $replyId, Postman_Google_Service_Drive_CommentReply $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'commentId' => $commentId, 'replyId' => $replyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Drive_CommentReply");
+ }
+}
+
+/**
+ * The "revisions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $driveService = new Postman_Google_Service_Drive(...);
+ * $revisions = $driveService->revisions;
+ * </code>
+ */
+class Postman_Google_Service_Drive_Revisions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Removes a revision. (revisions.delete)
+ *
+ * @param string $fileId The ID of the file.
+ * @param string $revisionId The ID of the revision.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($fileId, $revisionId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'revisionId' => $revisionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a specific revision. (revisions.get)
+ *
+ * @param string $fileId The ID of the file.
+ * @param string $revisionId The ID of the revision.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_Revision
+ */
+ public function get($fileId, $revisionId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'revisionId' => $revisionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Drive_Revision");
+ }
+
+ /**
+ * Lists a file's revisions. (revisions.listRevisions)
+ *
+ * @param string $fileId The ID of the file.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_RevisionList
+ */
+ public function listRevisions($fileId, $optParams = array())
+ {
+ $params = array('fileId' => $fileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Drive_RevisionList");
+ }
+
+ /**
+ * Updates a revision. This method supports patch semantics. (revisions.patch)
+ *
+ * @param string $fileId The ID for the file.
+ * @param string $revisionId The ID for the revision.
+ * @param Postman_Google_Revision $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_Revision
+ */
+ public function patch($fileId, $revisionId, Postman_Google_Service_Drive_Revision $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'revisionId' => $revisionId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Drive_Revision");
+ }
+
+ /**
+ * Updates a revision. (revisions.update)
+ *
+ * @param string $fileId The ID for the file.
+ * @param string $revisionId The ID for the revision.
+ * @param Postman_Google_Revision $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Drive_Revision
+ */
+ public function update($fileId, $revisionId, Postman_Google_Service_Drive_Revision $postBody, $optParams = array())
+ {
+ $params = array('fileId' => $fileId, 'revisionId' => $revisionId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Drive_Revision");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Drive_About extends Postman_Google_Collection
+{
+ protected $collection_key = 'quotaBytesByService';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $additionalRoleInfoType = 'Postman_Google_Service_Drive_AboutAdditionalRoleInfo';
+ protected $additionalRoleInfoDataType = 'array';
+ public $domainSharingPolicy;
+ public $etag;
+ protected $exportFormatsType = 'Postman_Google_Service_Drive_AboutExportFormats';
+ protected $exportFormatsDataType = 'array';
+ protected $featuresType = 'Postman_Google_Service_Drive_AboutFeatures';
+ protected $featuresDataType = 'array';
+ protected $importFormatsType = 'Postman_Google_Service_Drive_AboutImportFormats';
+ protected $importFormatsDataType = 'array';
+ public $isCurrentAppInstalled;
+ public $kind;
+ public $languageCode;
+ public $largestChangeId;
+ protected $maxUploadSizesType = 'Postman_Google_Service_Drive_AboutMaxUploadSizes';
+ protected $maxUploadSizesDataType = 'array';
+ public $name;
+ public $permissionId;
+ protected $quotaBytesByServiceType = 'Postman_Google_Service_Drive_AboutQuotaBytesByService';
+ protected $quotaBytesByServiceDataType = 'array';
+ public $quotaBytesTotal;
+ public $quotaBytesUsed;
+ public $quotaBytesUsedAggregate;
+ public $quotaBytesUsedInTrash;
+ public $quotaType;
+ public $remainingChangeIds;
+ public $rootFolderId;
+ public $selfLink;
+ protected $userType = 'Postman_Google_Service_Drive_User';
+ protected $userDataType = '';
+
+
+ public function setAdditionalRoleInfo($additionalRoleInfo)
+ {
+ $this->additionalRoleInfo = $additionalRoleInfo;
+ }
+ public function getAdditionalRoleInfo()
+ {
+ return $this->additionalRoleInfo;
+ }
+ public function setDomainSharingPolicy($domainSharingPolicy)
+ {
+ $this->domainSharingPolicy = $domainSharingPolicy;
+ }
+ public function getDomainSharingPolicy()
+ {
+ return $this->domainSharingPolicy;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setExportFormats($exportFormats)
+ {
+ $this->exportFormats = $exportFormats;
+ }
+ public function getExportFormats()
+ {
+ return $this->exportFormats;
+ }
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+ public function setImportFormats($importFormats)
+ {
+ $this->importFormats = $importFormats;
+ }
+ public function getImportFormats()
+ {
+ return $this->importFormats;
+ }
+ public function setIsCurrentAppInstalled($isCurrentAppInstalled)
+ {
+ $this->isCurrentAppInstalled = $isCurrentAppInstalled;
+ }
+ public function getIsCurrentAppInstalled()
+ {
+ return $this->isCurrentAppInstalled;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLanguageCode($languageCode)
+ {
+ $this->languageCode = $languageCode;
+ }
+ public function getLanguageCode()
+ {
+ return $this->languageCode;
+ }
+ public function setLargestChangeId($largestChangeId)
+ {
+ $this->largestChangeId = $largestChangeId;
+ }
+ public function getLargestChangeId()
+ {
+ return $this->largestChangeId;
+ }
+ public function setMaxUploadSizes($maxUploadSizes)
+ {
+ $this->maxUploadSizes = $maxUploadSizes;
+ }
+ public function getMaxUploadSizes()
+ {
+ return $this->maxUploadSizes;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPermissionId($permissionId)
+ {
+ $this->permissionId = $permissionId;
+ }
+ public function getPermissionId()
+ {
+ return $this->permissionId;
+ }
+ public function setQuotaBytesByService($quotaBytesByService)
+ {
+ $this->quotaBytesByService = $quotaBytesByService;
+ }
+ public function getQuotaBytesByService()
+ {
+ return $this->quotaBytesByService;
+ }
+ public function setQuotaBytesTotal($quotaBytesTotal)
+ {
+ $this->quotaBytesTotal = $quotaBytesTotal;
+ }
+ public function getQuotaBytesTotal()
+ {
+ return $this->quotaBytesTotal;
+ }
+ public function setQuotaBytesUsed($quotaBytesUsed)
+ {
+ $this->quotaBytesUsed = $quotaBytesUsed;
+ }
+ public function getQuotaBytesUsed()
+ {
+ return $this->quotaBytesUsed;
+ }
+ public function setQuotaBytesUsedAggregate($quotaBytesUsedAggregate)
+ {
+ $this->quotaBytesUsedAggregate = $quotaBytesUsedAggregate;
+ }
+ public function getQuotaBytesUsedAggregate()
+ {
+ return $this->quotaBytesUsedAggregate;
+ }
+ public function setQuotaBytesUsedInTrash($quotaBytesUsedInTrash)
+ {
+ $this->quotaBytesUsedInTrash = $quotaBytesUsedInTrash;
+ }
+ public function getQuotaBytesUsedInTrash()
+ {
+ return $this->quotaBytesUsedInTrash;
+ }
+ public function setQuotaType($quotaType)
+ {
+ $this->quotaType = $quotaType;
+ }
+ public function getQuotaType()
+ {
+ return $this->quotaType;
+ }
+ public function setRemainingChangeIds($remainingChangeIds)
+ {
+ $this->remainingChangeIds = $remainingChangeIds;
+ }
+ public function getRemainingChangeIds()
+ {
+ return $this->remainingChangeIds;
+ }
+ public function setRootFolderId($rootFolderId)
+ {
+ $this->rootFolderId = $rootFolderId;
+ }
+ public function getRootFolderId()
+ {
+ return $this->rootFolderId;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setUser(Postman_Google_Service_Drive_User $user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+}
+
+class Postman_Google_Service_Drive_AboutAdditionalRoleInfo extends Postman_Google_Collection
+{
+ protected $collection_key = 'roleSets';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $roleSetsType = 'Postman_Google_Service_Drive_AboutAdditionalRoleInfoRoleSets';
+ protected $roleSetsDataType = 'array';
+ public $type;
+
+
+ public function setRoleSets($roleSets)
+ {
+ $this->roleSets = $roleSets;
+ }
+ public function getRoleSets()
+ {
+ return $this->roleSets;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Drive_AboutAdditionalRoleInfoRoleSets extends Postman_Google_Collection
+{
+ protected $collection_key = 'additionalRoles';
+ protected $internal_gapi_mappings = array(
+ );
+ public $additionalRoles;
+ public $primaryRole;
+
+
+ public function setAdditionalRoles($additionalRoles)
+ {
+ $this->additionalRoles = $additionalRoles;
+ }
+ public function getAdditionalRoles()
+ {
+ return $this->additionalRoles;
+ }
+ public function setPrimaryRole($primaryRole)
+ {
+ $this->primaryRole = $primaryRole;
+ }
+ public function getPrimaryRole()
+ {
+ return $this->primaryRole;
+ }
+}
+
+class Postman_Google_Service_Drive_AboutExportFormats extends Postman_Google_Collection
+{
+ protected $collection_key = 'targets';
+ protected $internal_gapi_mappings = array(
+ );
+ public $source;
+ public $targets;
+
+
+ public function setSource($source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+ public function setTargets($targets)
+ {
+ $this->targets = $targets;
+ }
+ public function getTargets()
+ {
+ return $this->targets;
+ }
+}
+
+class Postman_Google_Service_Drive_AboutFeatures extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $featureName;
+ public $featureRate;
+
+
+ public function setFeatureName($featureName)
+ {
+ $this->featureName = $featureName;
+ }
+ public function getFeatureName()
+ {
+ return $this->featureName;
+ }
+ public function setFeatureRate($featureRate)
+ {
+ $this->featureRate = $featureRate;
+ }
+ public function getFeatureRate()
+ {
+ return $this->featureRate;
+ }
+}
+
+class Postman_Google_Service_Drive_AboutImportFormats extends Postman_Google_Collection
+{
+ protected $collection_key = 'targets';
+ protected $internal_gapi_mappings = array(
+ );
+ public $source;
+ public $targets;
+
+
+ public function setSource($source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+ public function setTargets($targets)
+ {
+ $this->targets = $targets;
+ }
+ public function getTargets()
+ {
+ return $this->targets;
+ }
+}
+
+class Postman_Google_Service_Drive_AboutMaxUploadSizes extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $size;
+ public $type;
+
+
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Drive_AboutQuotaBytesByService extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $bytesUsed;
+ public $serviceName;
+
+
+ public function setBytesUsed($bytesUsed)
+ {
+ $this->bytesUsed = $bytesUsed;
+ }
+ public function getBytesUsed()
+ {
+ return $this->bytesUsed;
+ }
+ public function setServiceName($serviceName)
+ {
+ $this->serviceName = $serviceName;
+ }
+ public function getServiceName()
+ {
+ return $this->serviceName;
+ }
+}
+
+class Postman_Google_Service_Drive_App extends Postman_Google_Collection
+{
+ protected $collection_key = 'secondaryMimeTypes';
+ protected $internal_gapi_mappings = array(
+ );
+ public $authorized;
+ public $createInFolderTemplate;
+ public $createUrl;
+ public $hasDriveWideScope;
+ protected $iconsType = 'Postman_Google_Service_Drive_AppIcons';
+ protected $iconsDataType = 'array';
+ public $id;
+ public $installed;
+ public $kind;
+ public $longDescription;
+ public $name;
+ public $objectType;
+ public $openUrlTemplate;
+ public $primaryFileExtensions;
+ public $primaryMimeTypes;
+ public $productId;
+ public $productUrl;
+ public $secondaryFileExtensions;
+ public $secondaryMimeTypes;
+ public $shortDescription;
+ public $supportsCreate;
+ public $supportsImport;
+ public $supportsMultiOpen;
+ public $supportsOfflineCreate;
+ public $useByDefault;
+
+
+ public function setAuthorized($authorized)
+ {
+ $this->authorized = $authorized;
+ }
+ public function getAuthorized()
+ {
+ return $this->authorized;
+ }
+ public function setCreateInFolderTemplate($createInFolderTemplate)
+ {
+ $this->createInFolderTemplate = $createInFolderTemplate;
+ }
+ public function getCreateInFolderTemplate()
+ {
+ return $this->createInFolderTemplate;
+ }
+ public function setCreateUrl($createUrl)
+ {
+ $this->createUrl = $createUrl;
+ }
+ public function getCreateUrl()
+ {
+ return $this->createUrl;
+ }
+ public function setHasDriveWideScope($hasDriveWideScope)
+ {
+ $this->hasDriveWideScope = $hasDriveWideScope;
+ }
+ public function getHasDriveWideScope()
+ {
+ return $this->hasDriveWideScope;
+ }
+ public function setIcons($icons)
+ {
+ $this->icons = $icons;
+ }
+ public function getIcons()
+ {
+ return $this->icons;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInstalled($installed)
+ {
+ $this->installed = $installed;
+ }
+ public function getInstalled()
+ {
+ return $this->installed;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLongDescription($longDescription)
+ {
+ $this->longDescription = $longDescription;
+ }
+ public function getLongDescription()
+ {
+ return $this->longDescription;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setObjectType($objectType)
+ {
+ $this->objectType = $objectType;
+ }
+ public function getObjectType()
+ {
+ return $this->objectType;
+ }
+ public function setOpenUrlTemplate($openUrlTemplate)
+ {
+ $this->openUrlTemplate = $openUrlTemplate;
+ }
+ public function getOpenUrlTemplate()
+ {
+ return $this->openUrlTemplate;
+ }
+ public function setPrimaryFileExtensions($primaryFileExtensions)
+ {
+ $this->primaryFileExtensions = $primaryFileExtensions;
+ }
+ public function getPrimaryFileExtensions()
+ {
+ return $this->primaryFileExtensions;
+ }
+ public function setPrimaryMimeTypes($primaryMimeTypes)
+ {
+ $this->primaryMimeTypes = $primaryMimeTypes;
+ }
+ public function getPrimaryMimeTypes()
+ {
+ return $this->primaryMimeTypes;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+ public function setProductUrl($productUrl)
+ {
+ $this->productUrl = $productUrl;
+ }
+ public function getProductUrl()
+ {
+ return $this->productUrl;
+ }
+ public function setSecondaryFileExtensions($secondaryFileExtensions)
+ {
+ $this->secondaryFileExtensions = $secondaryFileExtensions;
+ }
+ public function getSecondaryFileExtensions()
+ {
+ return $this->secondaryFileExtensions;
+ }
+ public function setSecondaryMimeTypes($secondaryMimeTypes)
+ {
+ $this->secondaryMimeTypes = $secondaryMimeTypes;
+ }
+ public function getSecondaryMimeTypes()
+ {
+ return $this->secondaryMimeTypes;
+ }
+ public function setShortDescription($shortDescription)
+ {
+ $this->shortDescription = $shortDescription;
+ }
+ public function getShortDescription()
+ {
+ return $this->shortDescription;
+ }
+ public function setSupportsCreate($supportsCreate)
+ {
+ $this->supportsCreate = $supportsCreate;
+ }
+ public function getSupportsCreate()
+ {
+ return $this->supportsCreate;
+ }
+ public function setSupportsImport($supportsImport)
+ {
+ $this->supportsImport = $supportsImport;
+ }
+ public function getSupportsImport()
+ {
+ return $this->supportsImport;
+ }
+ public function setSupportsMultiOpen($supportsMultiOpen)
+ {
+ $this->supportsMultiOpen = $supportsMultiOpen;
+ }
+ public function getSupportsMultiOpen()
+ {
+ return $this->supportsMultiOpen;
+ }
+ public function setSupportsOfflineCreate($supportsOfflineCreate)
+ {
+ $this->supportsOfflineCreate = $supportsOfflineCreate;
+ }
+ public function getSupportsOfflineCreate()
+ {
+ return $this->supportsOfflineCreate;
+ }
+ public function setUseByDefault($useByDefault)
+ {
+ $this->useByDefault = $useByDefault;
+ }
+ public function getUseByDefault()
+ {
+ return $this->useByDefault;
+ }
+}
+
+class Postman_Google_Service_Drive_AppIcons extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $category;
+ public $iconUrl;
+ public $size;
+
+
+ public function setCategory($category)
+ {
+ $this->category = $category;
+ }
+ public function getCategory()
+ {
+ return $this->category;
+ }
+ public function setIconUrl($iconUrl)
+ {
+ $this->iconUrl = $iconUrl;
+ }
+ public function getIconUrl()
+ {
+ return $this->iconUrl;
+ }
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+}
+
+class Postman_Google_Service_Drive_AppList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $defaultAppIds;
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Drive_App';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $selfLink;
+
+
+ public function setDefaultAppIds($defaultAppIds)
+ {
+ $this->defaultAppIds = $defaultAppIds;
+ }
+ public function getDefaultAppIds()
+ {
+ return $this->defaultAppIds;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Drive_Change extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $deleted;
+ protected $fileType = 'Postman_Google_Service_Drive_DriveFile';
+ protected $fileDataType = '';
+ public $fileId;
+ public $id;
+ public $kind;
+ public $modificationDate;
+ public $selfLink;
+
+
+ public function setDeleted($deleted)
+ {
+ $this->deleted = $deleted;
+ }
+ public function getDeleted()
+ {
+ return $this->deleted;
+ }
+ public function setFile(Postman_Google_Service_Drive_DriveFile $file)
+ {
+ $this->file = $file;
+ }
+ public function getFile()
+ {
+ return $this->file;
+ }
+ public function setFileId($fileId)
+ {
+ $this->fileId = $fileId;
+ }
+ public function getFileId()
+ {
+ return $this->fileId;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setModificationDate($modificationDate)
+ {
+ $this->modificationDate = $modificationDate;
+ }
+ public function getModificationDate()
+ {
+ return $this->modificationDate;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Drive_ChangeList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Drive_Change';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $largestChangeId;
+ public $nextLink;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLargestChangeId($largestChangeId)
+ {
+ $this->largestChangeId = $largestChangeId;
+ }
+ public function getLargestChangeId()
+ {
+ return $this->largestChangeId;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Drive_Channel extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $address;
+ public $expiration;
+ public $id;
+ public $kind;
+ public $params;
+ public $payload;
+ public $resourceId;
+ public $resourceUri;
+ public $token;
+ public $type;
+
+
+ public function setAddress($address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
+ public function setExpiration($expiration)
+ {
+ $this->expiration = $expiration;
+ }
+ public function getExpiration()
+ {
+ return $this->expiration;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setParams($params)
+ {
+ $this->params = $params;
+ }
+ public function getParams()
+ {
+ return $this->params;
+ }
+ public function setPayload($payload)
+ {
+ $this->payload = $payload;
+ }
+ public function getPayload()
+ {
+ return $this->payload;
+ }
+ public function setResourceId($resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+ public function setResourceUri($resourceUri)
+ {
+ $this->resourceUri = $resourceUri;
+ }
+ public function getResourceUri()
+ {
+ return $this->resourceUri;
+ }
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+ public function getToken()
+ {
+ return $this->token;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Drive_ChannelParams extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Drive_ChildList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Drive_ChildReference';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextLink;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Drive_ChildReference extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $childLink;
+ public $id;
+ public $kind;
+ public $selfLink;
+
+
+ public function setChildLink($childLink)
+ {
+ $this->childLink = $childLink;
+ }
+ public function getChildLink()
+ {
+ return $this->childLink;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Drive_Comment extends Postman_Google_Collection
+{
+ protected $collection_key = 'replies';
+ protected $internal_gapi_mappings = array(
+ );
+ public $anchor;
+ protected $authorType = 'Postman_Google_Service_Drive_User';
+ protected $authorDataType = '';
+ public $commentId;
+ public $content;
+ protected $contextType = 'Postman_Google_Service_Drive_CommentContext';
+ protected $contextDataType = '';
+ public $createdDate;
+ public $deleted;
+ public $fileId;
+ public $fileTitle;
+ public $htmlContent;
+ public $kind;
+ public $modifiedDate;
+ protected $repliesType = 'Postman_Google_Service_Drive_CommentReply';
+ protected $repliesDataType = 'array';
+ public $selfLink;
+ public $status;
+
+
+ public function setAnchor($anchor)
+ {
+ $this->anchor = $anchor;
+ }
+ public function getAnchor()
+ {
+ return $this->anchor;
+ }
+ public function setAuthor(Postman_Google_Service_Drive_User $author)
+ {
+ $this->author = $author;
+ }
+ public function getAuthor()
+ {
+ return $this->author;
+ }
+ public function setCommentId($commentId)
+ {
+ $this->commentId = $commentId;
+ }
+ public function getCommentId()
+ {
+ return $this->commentId;
+ }
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setContext(Postman_Google_Service_Drive_CommentContext $context)
+ {
+ $this->context = $context;
+ }
+ public function getContext()
+ {
+ return $this->context;
+ }
+ public function setCreatedDate($createdDate)
+ {
+ $this->createdDate = $createdDate;
+ }
+ public function getCreatedDate()
+ {
+ return $this->createdDate;
+ }
+ public function setDeleted($deleted)
+ {
+ $this->deleted = $deleted;
+ }
+ public function getDeleted()
+ {
+ return $this->deleted;
+ }
+ public function setFileId($fileId)
+ {
+ $this->fileId = $fileId;
+ }
+ public function getFileId()
+ {
+ return $this->fileId;
+ }
+ public function setFileTitle($fileTitle)
+ {
+ $this->fileTitle = $fileTitle;
+ }
+ public function getFileTitle()
+ {
+ return $this->fileTitle;
+ }
+ public function setHtmlContent($htmlContent)
+ {
+ $this->htmlContent = $htmlContent;
+ }
+ public function getHtmlContent()
+ {
+ return $this->htmlContent;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setModifiedDate($modifiedDate)
+ {
+ $this->modifiedDate = $modifiedDate;
+ }
+ public function getModifiedDate()
+ {
+ return $this->modifiedDate;
+ }
+ public function setReplies($replies)
+ {
+ $this->replies = $replies;
+ }
+ public function getReplies()
+ {
+ return $this->replies;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Postman_Google_Service_Drive_CommentContext extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $type;
+ public $value;
+
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Drive_CommentList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Drive_Comment';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextLink;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Drive_CommentReply extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $authorType = 'Postman_Google_Service_Drive_User';
+ protected $authorDataType = '';
+ public $content;
+ public $createdDate;
+ public $deleted;
+ public $htmlContent;
+ public $kind;
+ public $modifiedDate;
+ public $replyId;
+ public $verb;
+
+
+ public function setAuthor(Postman_Google_Service_Drive_User $author)
+ {
+ $this->author = $author;
+ }
+ public function getAuthor()
+ {
+ return $this->author;
+ }
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setCreatedDate($createdDate)
+ {
+ $this->createdDate = $createdDate;
+ }
+ public function getCreatedDate()
+ {
+ return $this->createdDate;
+ }
+ public function setDeleted($deleted)
+ {
+ $this->deleted = $deleted;
+ }
+ public function getDeleted()
+ {
+ return $this->deleted;
+ }
+ public function setHtmlContent($htmlContent)
+ {
+ $this->htmlContent = $htmlContent;
+ }
+ public function getHtmlContent()
+ {
+ return $this->htmlContent;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setModifiedDate($modifiedDate)
+ {
+ $this->modifiedDate = $modifiedDate;
+ }
+ public function getModifiedDate()
+ {
+ return $this->modifiedDate;
+ }
+ public function setReplyId($replyId)
+ {
+ $this->replyId = $replyId;
+ }
+ public function getReplyId()
+ {
+ return $this->replyId;
+ }
+ public function setVerb($verb)
+ {
+ $this->verb = $verb;
+ }
+ public function getVerb()
+ {
+ return $this->verb;
+ }
+}
+
+class Postman_Google_Service_Drive_CommentReplyList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Drive_CommentReply';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextLink;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Drive_DriveFile extends Postman_Google_Collection
+{
+ protected $collection_key = 'properties';
+ protected $internal_gapi_mappings = array(
+ );
+ public $alternateLink;
+ public $appDataContents;
+ public $copyable;
+ public $createdDate;
+ public $defaultOpenWithLink;
+ public $description;
+ public $downloadUrl;
+ public $editable;
+ public $embedLink;
+ public $etag;
+ public $explicitlyTrashed;
+ public $exportLinks;
+ public $fileExtension;
+ public $fileSize;
+ public $headRevisionId;
+ public $iconLink;
+ public $id;
+ protected $imageMediaMetadataType = 'Postman_Google_Service_Drive_DriveFileImageMediaMetadata';
+ protected $imageMediaMetadataDataType = '';
+ protected $indexableTextType = 'Postman_Google_Service_Drive_DriveFileIndexableText';
+ protected $indexableTextDataType = '';
+ public $kind;
+ protected $labelsType = 'Postman_Google_Service_Drive_DriveFileLabels';
+ protected $labelsDataType = '';
+ protected $lastModifyingUserType = 'Postman_Google_Service_Drive_User';
+ protected $lastModifyingUserDataType = '';
+ public $lastModifyingUserName;
+ public $lastViewedByMeDate;
+ public $markedViewedByMeDate;
+ public $md5Checksum;
+ public $mimeType;
+ public $modifiedByMeDate;
+ public $modifiedDate;
+ public $openWithLinks;
+ public $originalFilename;
+ public $ownerNames;
+ protected $ownersType = 'Postman_Google_Service_Drive_User';
+ protected $ownersDataType = 'array';
+ protected $parentsType = 'Postman_Google_Service_Drive_ParentReference';
+ protected $parentsDataType = 'array';
+ protected $permissionsType = 'Postman_Google_Service_Drive_Permission';
+ protected $permissionsDataType = 'array';
+ protected $propertiesType = 'Postman_Google_Service_Drive_Property';
+ protected $propertiesDataType = 'array';
+ public $quotaBytesUsed;
+ public $selfLink;
+ public $shared;
+ public $sharedWithMeDate;
+ protected $sharingUserType = 'Postman_Google_Service_Drive_User';
+ protected $sharingUserDataType = '';
+ protected $thumbnailType = 'Postman_Google_Service_Drive_DriveFileThumbnail';
+ protected $thumbnailDataType = '';
+ public $thumbnailLink;
+ public $title;
+ protected $userPermissionType = 'Postman_Google_Service_Drive_Permission';
+ protected $userPermissionDataType = '';
+ public $version;
+ protected $videoMediaMetadataType = 'Postman_Google_Service_Drive_DriveFileVideoMediaMetadata';
+ protected $videoMediaMetadataDataType = '';
+ public $webContentLink;
+ public $webViewLink;
+ public $writersCanShare;
+
+
+ public function setAlternateLink($alternateLink)
+ {
+ $this->alternateLink = $alternateLink;
+ }
+ public function getAlternateLink()
+ {
+ return $this->alternateLink;
+ }
+ public function setAppDataContents($appDataContents)
+ {
+ $this->appDataContents = $appDataContents;
+ }
+ public function getAppDataContents()
+ {
+ return $this->appDataContents;
+ }
+ public function setCopyable($copyable)
+ {
+ $this->copyable = $copyable;
+ }
+ public function getCopyable()
+ {
+ return $this->copyable;
+ }
+ public function setCreatedDate($createdDate)
+ {
+ $this->createdDate = $createdDate;
+ }
+ public function getCreatedDate()
+ {
+ return $this->createdDate;
+ }
+ public function setDefaultOpenWithLink($defaultOpenWithLink)
+ {
+ $this->defaultOpenWithLink = $defaultOpenWithLink;
+ }
+ public function getDefaultOpenWithLink()
+ {
+ return $this->defaultOpenWithLink;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDownloadUrl($downloadUrl)
+ {
+ $this->downloadUrl = $downloadUrl;
+ }
+ public function getDownloadUrl()
+ {
+ return $this->downloadUrl;
+ }
+ public function setEditable($editable)
+ {
+ $this->editable = $editable;
+ }
+ public function getEditable()
+ {
+ return $this->editable;
+ }
+ public function setEmbedLink($embedLink)
+ {
+ $this->embedLink = $embedLink;
+ }
+ public function getEmbedLink()
+ {
+ return $this->embedLink;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setExplicitlyTrashed($explicitlyTrashed)
+ {
+ $this->explicitlyTrashed = $explicitlyTrashed;
+ }
+ public function getExplicitlyTrashed()
+ {
+ return $this->explicitlyTrashed;
+ }
+ public function setExportLinks($exportLinks)
+ {
+ $this->exportLinks = $exportLinks;
+ }
+ public function getExportLinks()
+ {
+ return $this->exportLinks;
+ }
+ public function setFileExtension($fileExtension)
+ {
+ $this->fileExtension = $fileExtension;
+ }
+ public function getFileExtension()
+ {
+ return $this->fileExtension;
+ }
+ public function setFileSize($fileSize)
+ {
+ $this->fileSize = $fileSize;
+ }
+ public function getFileSize()
+ {
+ return $this->fileSize;
+ }
+ public function setHeadRevisionId($headRevisionId)
+ {
+ $this->headRevisionId = $headRevisionId;
+ }
+ public function getHeadRevisionId()
+ {
+ return $this->headRevisionId;
+ }
+ public function setIconLink($iconLink)
+ {
+ $this->iconLink = $iconLink;
+ }
+ public function getIconLink()
+ {
+ return $this->iconLink;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImageMediaMetadata(Postman_Google_Service_Drive_DriveFileImageMediaMetadata $imageMediaMetadata)
+ {
+ $this->imageMediaMetadata = $imageMediaMetadata;
+ }
+ public function getImageMediaMetadata()
+ {
+ return $this->imageMediaMetadata;
+ }
+ public function setIndexableText(Postman_Google_Service_Drive_DriveFileIndexableText $indexableText)
+ {
+ $this->indexableText = $indexableText;
+ }
+ public function getIndexableText()
+ {
+ return $this->indexableText;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLabels(Postman_Google_Service_Drive_DriveFileLabels $labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setLastModifyingUser(Postman_Google_Service_Drive_User $lastModifyingUser)
+ {
+ $this->lastModifyingUser = $lastModifyingUser;
+ }
+ public function getLastModifyingUser()
+ {
+ return $this->lastModifyingUser;
+ }
+ public function setLastModifyingUserName($lastModifyingUserName)
+ {
+ $this->lastModifyingUserName = $lastModifyingUserName;
+ }
+ public function getLastModifyingUserName()
+ {
+ return $this->lastModifyingUserName;
+ }
+ public function setLastViewedByMeDate($lastViewedByMeDate)
+ {
+ $this->lastViewedByMeDate = $lastViewedByMeDate;
+ }
+ public function getLastViewedByMeDate()
+ {
+ return $this->lastViewedByMeDate;
+ }
+ public function setMarkedViewedByMeDate($markedViewedByMeDate)
+ {
+ $this->markedViewedByMeDate = $markedViewedByMeDate;
+ }
+ public function getMarkedViewedByMeDate()
+ {
+ return $this->markedViewedByMeDate;
+ }
+ public function setMd5Checksum($md5Checksum)
+ {
+ $this->md5Checksum = $md5Checksum;
+ }
+ public function getMd5Checksum()
+ {
+ return $this->md5Checksum;
+ }
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+ public function setModifiedByMeDate($modifiedByMeDate)
+ {
+ $this->modifiedByMeDate = $modifiedByMeDate;
+ }
+ public function getModifiedByMeDate()
+ {
+ return $this->modifiedByMeDate;
+ }
+ public function setModifiedDate($modifiedDate)
+ {
+ $this->modifiedDate = $modifiedDate;
+ }
+ public function getModifiedDate()
+ {
+ return $this->modifiedDate;
+ }
+ public function setOpenWithLinks($openWithLinks)
+ {
+ $this->openWithLinks = $openWithLinks;
+ }
+ public function getOpenWithLinks()
+ {
+ return $this->openWithLinks;
+ }
+ public function setOriginalFilename($originalFilename)
+ {
+ $this->originalFilename = $originalFilename;
+ }
+ public function getOriginalFilename()
+ {
+ return $this->originalFilename;
+ }
+ public function setOwnerNames($ownerNames)
+ {
+ $this->ownerNames = $ownerNames;
+ }
+ public function getOwnerNames()
+ {
+ return $this->ownerNames;
+ }
+ public function setOwners($owners)
+ {
+ $this->owners = $owners;
+ }
+ public function getOwners()
+ {
+ return $this->owners;
+ }
+ public function setParents($parents)
+ {
+ $this->parents = $parents;
+ }
+ public function getParents()
+ {
+ return $this->parents;
+ }
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+ public function setProperties($properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+ public function setQuotaBytesUsed($quotaBytesUsed)
+ {
+ $this->quotaBytesUsed = $quotaBytesUsed;
+ }
+ public function getQuotaBytesUsed()
+ {
+ return $this->quotaBytesUsed;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setShared($shared)
+ {
+ $this->shared = $shared;
+ }
+ public function getShared()
+ {
+ return $this->shared;
+ }
+ public function setSharedWithMeDate($sharedWithMeDate)
+ {
+ $this->sharedWithMeDate = $sharedWithMeDate;
+ }
+ public function getSharedWithMeDate()
+ {
+ return $this->sharedWithMeDate;
+ }
+ public function setSharingUser(Postman_Google_Service_Drive_User $sharingUser)
+ {
+ $this->sharingUser = $sharingUser;
+ }
+ public function getSharingUser()
+ {
+ return $this->sharingUser;
+ }
+ public function setThumbnail(Postman_Google_Service_Drive_DriveFileThumbnail $thumbnail)
+ {
+ $this->thumbnail = $thumbnail;
+ }
+ public function getThumbnail()
+ {
+ return $this->thumbnail;
+ }
+ public function setThumbnailLink($thumbnailLink)
+ {
+ $this->thumbnailLink = $thumbnailLink;
+ }
+ public function getThumbnailLink()
+ {
+ return $this->thumbnailLink;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setUserPermission(Postman_Google_Service_Drive_Permission $userPermission)
+ {
+ $this->userPermission = $userPermission;
+ }
+ public function getUserPermission()
+ {
+ return $this->userPermission;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+ public function setVideoMediaMetadata(Postman_Google_Service_Drive_DriveFileVideoMediaMetadata $videoMediaMetadata)
+ {
+ $this->videoMediaMetadata = $videoMediaMetadata;
+ }
+ public function getVideoMediaMetadata()
+ {
+ return $this->videoMediaMetadata;
+ }
+ public function setWebContentLink($webContentLink)
+ {
+ $this->webContentLink = $webContentLink;
+ }
+ public function getWebContentLink()
+ {
+ return $this->webContentLink;
+ }
+ public function setWebViewLink($webViewLink)
+ {
+ $this->webViewLink = $webViewLink;
+ }
+ public function getWebViewLink()
+ {
+ return $this->webViewLink;
+ }
+ public function setWritersCanShare($writersCanShare)
+ {
+ $this->writersCanShare = $writersCanShare;
+ }
+ public function getWritersCanShare()
+ {
+ return $this->writersCanShare;
+ }
+}
+
+class Postman_Google_Service_Drive_DriveFileExportLinks extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Drive_DriveFileImageMediaMetadata extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $aperture;
+ public $cameraMake;
+ public $cameraModel;
+ public $colorSpace;
+ public $date;
+ public $exposureBias;
+ public $exposureMode;
+ public $exposureTime;
+ public $flashUsed;
+ public $focalLength;
+ public $height;
+ public $isoSpeed;
+ public $lens;
+ protected $locationType = 'Postman_Google_Service_Drive_DriveFileImageMediaMetadataLocation';
+ protected $locationDataType = '';
+ public $maxApertureValue;
+ public $meteringMode;
+ public $rotation;
+ public $sensor;
+ public $subjectDistance;
+ public $whiteBalance;
+ public $width;
+
+
+ public function setAperture($aperture)
+ {
+ $this->aperture = $aperture;
+ }
+ public function getAperture()
+ {
+ return $this->aperture;
+ }
+ public function setCameraMake($cameraMake)
+ {
+ $this->cameraMake = $cameraMake;
+ }
+ public function getCameraMake()
+ {
+ return $this->cameraMake;
+ }
+ public function setCameraModel($cameraModel)
+ {
+ $this->cameraModel = $cameraModel;
+ }
+ public function getCameraModel()
+ {
+ return $this->cameraModel;
+ }
+ public function setColorSpace($colorSpace)
+ {
+ $this->colorSpace = $colorSpace;
+ }
+ public function getColorSpace()
+ {
+ return $this->colorSpace;
+ }
+ public function setDate($date)
+ {
+ $this->date = $date;
+ }
+ public function getDate()
+ {
+ return $this->date;
+ }
+ public function setExposureBias($exposureBias)
+ {
+ $this->exposureBias = $exposureBias;
+ }
+ public function getExposureBias()
+ {
+ return $this->exposureBias;
+ }
+ public function setExposureMode($exposureMode)
+ {
+ $this->exposureMode = $exposureMode;
+ }
+ public function getExposureMode()
+ {
+ return $this->exposureMode;
+ }
+ public function setExposureTime($exposureTime)
+ {
+ $this->exposureTime = $exposureTime;
+ }
+ public function getExposureTime()
+ {
+ return $this->exposureTime;
+ }
+ public function setFlashUsed($flashUsed)
+ {
+ $this->flashUsed = $flashUsed;
+ }
+ public function getFlashUsed()
+ {
+ return $this->flashUsed;
+ }
+ public function setFocalLength($focalLength)
+ {
+ $this->focalLength = $focalLength;
+ }
+ public function getFocalLength()
+ {
+ return $this->focalLength;
+ }
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setIsoSpeed($isoSpeed)
+ {
+ $this->isoSpeed = $isoSpeed;
+ }
+ public function getIsoSpeed()
+ {
+ return $this->isoSpeed;
+ }
+ public function setLens($lens)
+ {
+ $this->lens = $lens;
+ }
+ public function getLens()
+ {
+ return $this->lens;
+ }
+ public function setLocation(Postman_Google_Service_Drive_DriveFileImageMediaMetadataLocation $location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setMaxApertureValue($maxApertureValue)
+ {
+ $this->maxApertureValue = $maxApertureValue;
+ }
+ public function getMaxApertureValue()
+ {
+ return $this->maxApertureValue;
+ }
+ public function setMeteringMode($meteringMode)
+ {
+ $this->meteringMode = $meteringMode;
+ }
+ public function getMeteringMode()
+ {
+ return $this->meteringMode;
+ }
+ public function setRotation($rotation)
+ {
+ $this->rotation = $rotation;
+ }
+ public function getRotation()
+ {
+ return $this->rotation;
+ }
+ public function setSensor($sensor)
+ {
+ $this->sensor = $sensor;
+ }
+ public function getSensor()
+ {
+ return $this->sensor;
+ }
+ public function setSubjectDistance($subjectDistance)
+ {
+ $this->subjectDistance = $subjectDistance;
+ }
+ public function getSubjectDistance()
+ {
+ return $this->subjectDistance;
+ }
+ public function setWhiteBalance($whiteBalance)
+ {
+ $this->whiteBalance = $whiteBalance;
+ }
+ public function getWhiteBalance()
+ {
+ return $this->whiteBalance;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_Drive_DriveFileImageMediaMetadataLocation extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $altitude;
+ public $latitude;
+ public $longitude;
+
+
+ public function setAltitude($altitude)
+ {
+ $this->altitude = $altitude;
+ }
+ public function getAltitude()
+ {
+ return $this->altitude;
+ }
+ public function setLatitude($latitude)
+ {
+ $this->latitude = $latitude;
+ }
+ public function getLatitude()
+ {
+ return $this->latitude;
+ }
+ public function setLongitude($longitude)
+ {
+ $this->longitude = $longitude;
+ }
+ public function getLongitude()
+ {
+ return $this->longitude;
+ }
+}
+
+class Postman_Google_Service_Drive_DriveFileIndexableText extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $text;
+
+
+ public function setText($text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
+
+class Postman_Google_Service_Drive_DriveFileLabels extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $hidden;
+ public $restricted;
+ public $starred;
+ public $trashed;
+ public $viewed;
+
+
+ public function setHidden($hidden)
+ {
+ $this->hidden = $hidden;
+ }
+ public function getHidden()
+ {
+ return $this->hidden;
+ }
+ public function setRestricted($restricted)
+ {
+ $this->restricted = $restricted;
+ }
+ public function getRestricted()
+ {
+ return $this->restricted;
+ }
+ public function setStarred($starred)
+ {
+ $this->starred = $starred;
+ }
+ public function getStarred()
+ {
+ return $this->starred;
+ }
+ public function setTrashed($trashed)
+ {
+ $this->trashed = $trashed;
+ }
+ public function getTrashed()
+ {
+ return $this->trashed;
+ }
+ public function setViewed($viewed)
+ {
+ $this->viewed = $viewed;
+ }
+ public function getViewed()
+ {
+ return $this->viewed;
+ }
+}
+
+class Postman_Google_Service_Drive_DriveFileOpenWithLinks extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Drive_DriveFileThumbnail extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $image;
+ public $mimeType;
+
+
+ public function setImage($image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+}
+
+class Postman_Google_Service_Drive_DriveFileVideoMediaMetadata extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $durationMillis;
+ public $height;
+ public $width;
+
+
+ public function setDurationMillis($durationMillis)
+ {
+ $this->durationMillis = $durationMillis;
+ }
+ public function getDurationMillis()
+ {
+ return $this->durationMillis;
+ }
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_Drive_FileList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Drive_DriveFile';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextLink;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Drive_ParentList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Drive_ParentReference';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $selfLink;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Drive_ParentReference extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $isRoot;
+ public $kind;
+ public $parentLink;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIsRoot($isRoot)
+ {
+ $this->isRoot = $isRoot;
+ }
+ public function getIsRoot()
+ {
+ return $this->isRoot;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setParentLink($parentLink)
+ {
+ $this->parentLink = $parentLink;
+ }
+ public function getParentLink()
+ {
+ return $this->parentLink;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Drive_Permission extends Postman_Google_Collection
+{
+ protected $collection_key = 'additionalRoles';
+ protected $internal_gapi_mappings = array(
+ );
+ public $additionalRoles;
+ public $authKey;
+ public $domain;
+ public $emailAddress;
+ public $etag;
+ public $id;
+ public $kind;
+ public $name;
+ public $photoLink;
+ public $role;
+ public $selfLink;
+ public $type;
+ public $value;
+ public $withLink;
+
+
+ public function setAdditionalRoles($additionalRoles)
+ {
+ $this->additionalRoles = $additionalRoles;
+ }
+ public function getAdditionalRoles()
+ {
+ return $this->additionalRoles;
+ }
+ public function setAuthKey($authKey)
+ {
+ $this->authKey = $authKey;
+ }
+ public function getAuthKey()
+ {
+ return $this->authKey;
+ }
+ public function setDomain($domain)
+ {
+ $this->domain = $domain;
+ }
+ public function getDomain()
+ {
+ return $this->domain;
+ }
+ public function setEmailAddress($emailAddress)
+ {
+ $this->emailAddress = $emailAddress;
+ }
+ public function getEmailAddress()
+ {
+ return $this->emailAddress;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPhotoLink($photoLink)
+ {
+ $this->photoLink = $photoLink;
+ }
+ public function getPhotoLink()
+ {
+ return $this->photoLink;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+ public function setWithLink($withLink)
+ {
+ $this->withLink = $withLink;
+ }
+ public function getWithLink()
+ {
+ return $this->withLink;
+ }
+}
+
+class Postman_Google_Service_Drive_PermissionId extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Drive_PermissionList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Drive_Permission';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $selfLink;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Drive_Property extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $key;
+ public $kind;
+ public $selfLink;
+ public $value;
+ public $visibility;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Postman_Google_Service_Drive_PropertyList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Drive_Property';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $selfLink;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Drive_Revision extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $downloadUrl;
+ public $etag;
+ public $exportLinks;
+ public $fileSize;
+ public $id;
+ public $kind;
+ protected $lastModifyingUserType = 'Postman_Google_Service_Drive_User';
+ protected $lastModifyingUserDataType = '';
+ public $lastModifyingUserName;
+ public $md5Checksum;
+ public $mimeType;
+ public $modifiedDate;
+ public $originalFilename;
+ public $pinned;
+ public $publishAuto;
+ public $published;
+ public $publishedLink;
+ public $publishedOutsideDomain;
+ public $selfLink;
+
+
+ public function setDownloadUrl($downloadUrl)
+ {
+ $this->downloadUrl = $downloadUrl;
+ }
+ public function getDownloadUrl()
+ {
+ return $this->downloadUrl;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setExportLinks($exportLinks)
+ {
+ $this->exportLinks = $exportLinks;
+ }
+ public function getExportLinks()
+ {
+ return $this->exportLinks;
+ }
+ public function setFileSize($fileSize)
+ {
+ $this->fileSize = $fileSize;
+ }
+ public function getFileSize()
+ {
+ return $this->fileSize;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastModifyingUser(Postman_Google_Service_Drive_User $lastModifyingUser)
+ {
+ $this->lastModifyingUser = $lastModifyingUser;
+ }
+ public function getLastModifyingUser()
+ {
+ return $this->lastModifyingUser;
+ }
+ public function setLastModifyingUserName($lastModifyingUserName)
+ {
+ $this->lastModifyingUserName = $lastModifyingUserName;
+ }
+ public function getLastModifyingUserName()
+ {
+ return $this->lastModifyingUserName;
+ }
+ public function setMd5Checksum($md5Checksum)
+ {
+ $this->md5Checksum = $md5Checksum;
+ }
+ public function getMd5Checksum()
+ {
+ return $this->md5Checksum;
+ }
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+ public function setModifiedDate($modifiedDate)
+ {
+ $this->modifiedDate = $modifiedDate;
+ }
+ public function getModifiedDate()
+ {
+ return $this->modifiedDate;
+ }
+ public function setOriginalFilename($originalFilename)
+ {
+ $this->originalFilename = $originalFilename;
+ }
+ public function getOriginalFilename()
+ {
+ return $this->originalFilename;
+ }
+ public function setPinned($pinned)
+ {
+ $this->pinned = $pinned;
+ }
+ public function getPinned()
+ {
+ return $this->pinned;
+ }
+ public function setPublishAuto($publishAuto)
+ {
+ $this->publishAuto = $publishAuto;
+ }
+ public function getPublishAuto()
+ {
+ return $this->publishAuto;
+ }
+ public function setPublished($published)
+ {
+ $this->published = $published;
+ }
+ public function getPublished()
+ {
+ return $this->published;
+ }
+ public function setPublishedLink($publishedLink)
+ {
+ $this->publishedLink = $publishedLink;
+ }
+ public function getPublishedLink()
+ {
+ return $this->publishedLink;
+ }
+ public function setPublishedOutsideDomain($publishedOutsideDomain)
+ {
+ $this->publishedOutsideDomain = $publishedOutsideDomain;
+ }
+ public function getPublishedOutsideDomain()
+ {
+ return $this->publishedOutsideDomain;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Drive_RevisionExportLinks extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Drive_RevisionList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Drive_Revision';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $selfLink;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Drive_User extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+ public $emailAddress;
+ public $isAuthenticatedUser;
+ public $kind;
+ public $permissionId;
+ protected $pictureType = 'Postman_Google_Service_Drive_UserPicture';
+ protected $pictureDataType = '';
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setEmailAddress($emailAddress)
+ {
+ $this->emailAddress = $emailAddress;
+ }
+ public function getEmailAddress()
+ {
+ return $this->emailAddress;
+ }
+ public function setIsAuthenticatedUser($isAuthenticatedUser)
+ {
+ $this->isAuthenticatedUser = $isAuthenticatedUser;
+ }
+ public function getIsAuthenticatedUser()
+ {
+ return $this->isAuthenticatedUser;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPermissionId($permissionId)
+ {
+ $this->permissionId = $permissionId;
+ }
+ public function getPermissionId()
+ {
+ return $this->permissionId;
+ }
+ public function setPicture(Postman_Google_Service_Drive_UserPicture $picture)
+ {
+ $this->picture = $picture;
+ }
+ public function getPicture()
+ {
+ return $this->picture;
+ }
+}
+
+class Postman_Google_Service_Drive_UserPicture extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $url;
+
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Exception.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Exception.php
new file mode 100644
index 0000000..8b41163
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Exception.php
@@ -0,0 +1,53 @@
+<?php
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+class Postman_Google_Service_Exception extends Postman_Google_Exception
+{
+ /**
+ * Optional list of errors returned in a JSON body of an HTTP error response.
+ */
+ protected $errors = array();
+
+ /**
+ * Override default constructor to add ability to set $errors.
+ *
+ * @param string $message
+ * @param int $code
+ * @param Exception|null $previous
+ * @param [{string, string}] errors List of errors returned in an HTTP
+ * response. Defaults to [].
+ */
+ public function __construct(
+ $message,
+ $code = 0,
+ Exception $previous = null,
+ $errors = array()
+ ) {
+ if (version_compare(PHP_VERSION, '5.3.0') >= 0) {
+ parent::__construct($message, $code, $previous);
+ } else {
+ parent::__construct($message, $code);
+ }
+
+ $this->errors = $errors;
+ }
+
+ /**
+ * An example of the possible errors returned.
+ *
+ * {
+ * "domain": "global",
+ * "reason": "authError",
+ * "message": "Invalid Credentials",
+ * "locationType": "header",
+ * "location": "Authorization",
+ * }
+ *
+ * @return [{string, string}] List of errors return in an HTTP response or [].
+ */
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Fitness.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Fitness.php
new file mode 100644
index 0000000..af84018
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Fitness.php
@@ -0,0 +1,1155 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Fitness (v1).
+ *
+ * <p>
+ * Google Fit API</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/fit/rest/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Fitness extends Postman_Google_Service
+{
+ /** View your activity information in Google Fit. */
+ const FITNESS_ACTIVITY_READ =
+ "https://www.googleapis.com/auth/fitness.activity.read";
+ /** View and store your activity information in Google Fit. */
+ const FITNESS_ACTIVITY_WRITE =
+ "https://www.googleapis.com/auth/fitness.activity.write";
+ /** View body sensor information in Google Fit. */
+ const FITNESS_BODY_READ =
+ "https://www.googleapis.com/auth/fitness.body.read";
+ /** View and store body sensor data in Google Fit. */
+ const FITNESS_BODY_WRITE =
+ "https://www.googleapis.com/auth/fitness.body.write";
+ /** View your stored location data in Google Fit. */
+ const FITNESS_LOCATION_READ =
+ "https://www.googleapis.com/auth/fitness.location.read";
+ /** View and store your location data in Google Fit. */
+ const FITNESS_LOCATION_WRITE =
+ "https://www.googleapis.com/auth/fitness.location.write";
+
+ public $users_dataSources;
+ public $users_dataSources_datasets;
+ public $users_sessions;
+
+
+ /**
+ * Constructs the internal representation of the Fitness service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'fitness/v1/users/';
+ $this->version = 'v1';
+ $this->serviceName = 'fitness';
+
+ $this->users_dataSources = new Postman_Google_Service_Fitness_UsersDataSources_Resource(
+ $this,
+ $this->serviceName,
+ 'dataSources',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => '{userId}/dataSources',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{userId}/dataSources/{dataSourceId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dataSourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{userId}/dataSources',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dataTypeName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{userId}/dataSources/{dataSourceId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dataSourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{userId}/dataSources/{dataSourceId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dataSourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users_dataSources_datasets = new Postman_Google_Service_Fitness_UsersDataSourcesDatasets_Resource(
+ $this,
+ $this->serviceName,
+ 'datasets',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dataSourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'modifiedTimeMillis' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'currentTimeMillis' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dataSourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'limit' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dataSourceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'currentTimeMillis' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users_sessions = new Postman_Google_Service_Fitness_UsersSessions_Resource(
+ $this,
+ $this->serviceName,
+ 'sessions',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{userId}/sessions/{sessionId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sessionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'currentTimeMillis' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{userId}/sessions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'startTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{userId}/sessions/{sessionId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sessionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'currentTimeMillis' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "users" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $fitnessService = new Postman_Google_Service_Fitness(...);
+ * $users = $fitnessService->users;
+ * </code>
+ */
+class Postman_Google_Service_Fitness_Users_Resource extends Postman_Google_Service_Resource
+{
+}
+
+/**
+ * The "dataSources" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $fitnessService = new Postman_Google_Service_Fitness(...);
+ * $dataSources = $fitnessService->dataSources;
+ * </code>
+ */
+class Postman_Google_Service_Fitness_UsersDataSources_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Creates a new data source that is unique across all data sources belonging to
+ * this user. The data stream ID field can be omitted and will be generated by
+ * the server with the correct format. The data stream ID is an ordered
+ * combination of some fields from the data source. In addition to the data
+ * source fields reflected into the data source ID, the developer project number
+ * that is authenticated when creating the data source is included. This
+ * developer project number is obfuscated when read by any other developer
+ * reading public data types. (dataSources.create)
+ *
+ * @param string $userId Create the data source for the person identified. Use
+ * me to indicate the authenticated user. Only me is supported at this time.
+ * @param Postman_Google_DataSource $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Fitness_DataSource
+ */
+ public function create($userId, Postman_Google_Service_Fitness_DataSource $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_Fitness_DataSource");
+ }
+
+ /**
+ * Returns a data source identified by a data stream ID. (dataSources.get)
+ *
+ * @param string $userId Retrieve a data source for the person identified. Use
+ * me to indicate the authenticated user. Only me is supported at this time.
+ * @param string $dataSourceId The data stream ID of the data source to
+ * retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Fitness_DataSource
+ */
+ public function get($userId, $dataSourceId, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'dataSourceId' => $dataSourceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Fitness_DataSource");
+ }
+
+ /**
+ * Lists all data sources that are visible to the developer, using the OAuth
+ * scopes provided. The list is not exhaustive: the user may have private data
+ * sources that are only visible to other developers or calls using other
+ * scopes. (dataSources.listUsersDataSources)
+ *
+ * @param string $userId List data sources for the person identified. Use me to
+ * indicate the authenticated user. Only me is supported at this time.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string dataTypeName The names of data types to include in the
+ * list. If not specified, all data sources will be returned.
+ * @return Postman_Google_Service_Fitness_ListDataSourcesResponse
+ */
+ public function listUsersDataSources($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Fitness_ListDataSourcesResponse");
+ }
+
+ /**
+ * Updates a given data source. It is an error to modify the data source's data
+ * stream ID, data type, type, stream name or device information apart from the
+ * device version. Changing these fields would require a new unique data stream
+ * ID and separate data source.
+ *
+ * Data sources are identified by their data stream ID. This method supports
+ * patch semantics. (dataSources.patch)
+ *
+ * @param string $userId Update the data source for the person identified. Use
+ * me to indicate the authenticated user. Only me is supported at this time.
+ * @param string $dataSourceId The data stream ID of the data source to update.
+ * @param Postman_Google_DataSource $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Fitness_DataSource
+ */
+ public function patch($userId, $dataSourceId, Postman_Google_Service_Fitness_DataSource $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'dataSourceId' => $dataSourceId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Fitness_DataSource");
+ }
+
+ /**
+ * Updates a given data source. It is an error to modify the data source's data
+ * stream ID, data type, type, stream name or device information apart from the
+ * device version. Changing these fields would require a new unique data stream
+ * ID and separate data source.
+ *
+ * Data sources are identified by their data stream ID. (dataSources.update)
+ *
+ * @param string $userId Update the data source for the person identified. Use
+ * me to indicate the authenticated user. Only me is supported at this time.
+ * @param string $dataSourceId The data stream ID of the data source to update.
+ * @param Postman_Google_DataSource $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Fitness_DataSource
+ */
+ public function update($userId, $dataSourceId, Postman_Google_Service_Fitness_DataSource $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'dataSourceId' => $dataSourceId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Fitness_DataSource");
+ }
+}
+
+/**
+ * The "datasets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $fitnessService = new Postman_Google_Service_Fitness(...);
+ * $datasets = $fitnessService->datasets;
+ * </code>
+ */
+class Postman_Google_Service_Fitness_UsersDataSourcesDatasets_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Performs an inclusive delete of all data points whose start and end times
+ * have any overlap with the time range specified by the dataset ID. For most
+ * data types, the entire data point will be deleted. For data types where the
+ * time span represents a consistent value (such as
+ * com.google.activity.segment), and a data point straddles either end point of
+ * the dataset, only the overlapping portion of the data point will be deleted.
+ * (datasets.delete)
+ *
+ * @param string $userId Delete a dataset for the person identified. Use me to
+ * indicate the authenticated user. Only me is supported at this time.
+ * @param string $dataSourceId The data stream ID of the data source that
+ * created the dataset.
+ * @param string $datasetId Dataset identifier that is a composite of the
+ * minimum data point start time and maximum data point end time represented as
+ * nanoseconds from the epoch. The ID is formatted like: "startTime-endTime"
+ * where startTime and endTime are 64 bit integers.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedTimeMillis When the operation was performed on the
+ * client.
+ * @opt_param string currentTimeMillis The client's current time in milliseconds
+ * since epoch.
+ */
+ public function delete($userId, $dataSourceId, $datasetId, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'dataSourceId' => $dataSourceId, 'datasetId' => $datasetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Returns a dataset containing all data points whose start and end times
+ * overlap with the specified range of the dataset minimum start time and
+ * maximum end time. Specifically, any data point whose start time is less than
+ * or equal to the dataset end time and whose end time is greater than or equal
+ * to the dataset start time. (datasets.get)
+ *
+ * @param string $userId Retrieve a dataset for the person identified. Use me to
+ * indicate the authenticated user. Only me is supported at this time.
+ * @param string $dataSourceId The data stream ID of the data source that
+ * created the dataset.
+ * @param string $datasetId Dataset identifier that is a composite of the
+ * minimum data point start time and maximum data point end time represented as
+ * nanoseconds from the epoch. The ID is formatted like: "startTime-endTime"
+ * where startTime and endTime are 64 bit integers.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int limit If specified, no more than this many data points will be
+ * included in the dataset. If the there are more data points in the dataset,
+ * nextPageToken will be set in the dataset response.
+ * @opt_param string pageToken The continuation token, which is used to page
+ * through large datasets. To get the next page of a dataset, set this parameter
+ * to the value of nextPageToken from the previous response. Each subsequent
+ * call will yield a partial dataset with data point end timestamps that are
+ * strictly smaller than those in the previous partial response.
+ * @return Postman_Google_Service_Fitness_Dataset
+ */
+ public function get($userId, $dataSourceId, $datasetId, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'dataSourceId' => $dataSourceId, 'datasetId' => $datasetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Fitness_Dataset");
+ }
+
+ /**
+ * Adds data points to a dataset. The dataset need not be previously created.
+ * All points within the given dataset will be returned with subsquent calls to
+ * retrieve this dataset. Data points can belong to more than one dataset. This
+ * method does not use patch semantics. (datasets.patch)
+ *
+ * @param string $userId Patch a dataset for the person identified. Use me to
+ * indicate the authenticated user. Only me is supported at this time.
+ * @param string $dataSourceId The data stream ID of the data source that
+ * created the dataset.
+ * @param string $datasetId Dataset identifier that is a composite of the
+ * minimum data point start time and maximum data point end time represented as
+ * nanoseconds from the epoch. The ID is formatted like: "startTime-endTime"
+ * where startTime and endTime are 64 bit integers.
+ * @param Postman_Google_Dataset $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string currentTimeMillis The client's current time in milliseconds
+ * since epoch. Note that the minStartTimeNs and maxEndTimeNs properties in the
+ * request body are in nanoseconds instead of milliseconds.
+ * @return Postman_Google_Service_Fitness_Dataset
+ */
+ public function patch($userId, $dataSourceId, $datasetId, Postman_Google_Service_Fitness_Dataset $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'dataSourceId' => $dataSourceId, 'datasetId' => $datasetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Fitness_Dataset");
+ }
+}
+/**
+ * The "sessions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $fitnessService = new Postman_Google_Service_Fitness(...);
+ * $sessions = $fitnessService->sessions;
+ * </code>
+ */
+class Postman_Google_Service_Fitness_UsersSessions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes a session specified by the given session ID. (sessions.delete)
+ *
+ * @param string $userId Delete a session for the person identified. Use me to
+ * indicate the authenticated user. Only me is supported at this time.
+ * @param string $sessionId The ID of the session to be deleted.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string currentTimeMillis The client's current time in milliseconds
+ * since epoch.
+ */
+ public function delete($userId, $sessionId, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'sessionId' => $sessionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Lists sessions previously created. (sessions.listUsersSessions)
+ *
+ * @param string $userId List sessions for the person identified. Use me to
+ * indicate the authenticated user. Only me is supported at this time.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The continuation token, which is used to page
+ * through large result sets. To get the next page of results, set this
+ * parameter to the value of nextPageToken from the previous response.
+ * @opt_param string endTime An RFC3339 timestamp. Only sessions ending between
+ * the start and end times will be included in the response.
+ * @opt_param bool includeDeleted If true, deleted sessions will be returned.
+ * When set to true, sessions returned in this response will only have an ID and
+ * will not have any other fields.
+ * @opt_param string startTime An RFC3339 timestamp. Only sessions ending
+ * between the start and end times will be included in the response.
+ * @return Postman_Google_Service_Fitness_ListSessionsResponse
+ */
+ public function listUsersSessions($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Fitness_ListSessionsResponse");
+ }
+
+ /**
+ * Updates or insert a given session. (sessions.update)
+ *
+ * @param string $userId Create sessions for the person identified. Use me to
+ * indicate the authenticated user. Only me is supported at this time.
+ * @param string $sessionId The ID of the session to be created.
+ * @param Postman_Google_Session $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string currentTimeMillis The client's current time in milliseconds
+ * since epoch.
+ * @return Postman_Google_Service_Fitness_Session
+ */
+ public function update($userId, $sessionId, Postman_Google_Service_Fitness_Session $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'sessionId' => $sessionId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Fitness_Session");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Fitness_Application extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $detailsUrl;
+ public $name;
+ public $packageName;
+ public $version;
+
+
+ public function setDetailsUrl($detailsUrl)
+ {
+ $this->detailsUrl = $detailsUrl;
+ }
+ public function getDetailsUrl()
+ {
+ return $this->detailsUrl;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPackageName($packageName)
+ {
+ $this->packageName = $packageName;
+ }
+ public function getPackageName()
+ {
+ return $this->packageName;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Postman_Google_Service_Fitness_DataPoint extends Postman_Google_Collection
+{
+ protected $collection_key = 'value';
+ protected $internal_gapi_mappings = array(
+ );
+ public $computationTimeMillis;
+ public $dataTypeName;
+ public $endTimeNanos;
+ public $modifiedTimeMillis;
+ public $originDataSourceId;
+ public $rawTimestampNanos;
+ public $startTimeNanos;
+ protected $valueType = 'Postman_Google_Service_Fitness_Value';
+ protected $valueDataType = 'array';
+
+
+ public function setComputationTimeMillis($computationTimeMillis)
+ {
+ $this->computationTimeMillis = $computationTimeMillis;
+ }
+ public function getComputationTimeMillis()
+ {
+ return $this->computationTimeMillis;
+ }
+ public function setDataTypeName($dataTypeName)
+ {
+ $this->dataTypeName = $dataTypeName;
+ }
+ public function getDataTypeName()
+ {
+ return $this->dataTypeName;
+ }
+ public function setEndTimeNanos($endTimeNanos)
+ {
+ $this->endTimeNanos = $endTimeNanos;
+ }
+ public function getEndTimeNanos()
+ {
+ return $this->endTimeNanos;
+ }
+ public function setModifiedTimeMillis($modifiedTimeMillis)
+ {
+ $this->modifiedTimeMillis = $modifiedTimeMillis;
+ }
+ public function getModifiedTimeMillis()
+ {
+ return $this->modifiedTimeMillis;
+ }
+ public function setOriginDataSourceId($originDataSourceId)
+ {
+ $this->originDataSourceId = $originDataSourceId;
+ }
+ public function getOriginDataSourceId()
+ {
+ return $this->originDataSourceId;
+ }
+ public function setRawTimestampNanos($rawTimestampNanos)
+ {
+ $this->rawTimestampNanos = $rawTimestampNanos;
+ }
+ public function getRawTimestampNanos()
+ {
+ return $this->rawTimestampNanos;
+ }
+ public function setStartTimeNanos($startTimeNanos)
+ {
+ $this->startTimeNanos = $startTimeNanos;
+ }
+ public function getStartTimeNanos()
+ {
+ return $this->startTimeNanos;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Fitness_DataSource extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $applicationType = 'Postman_Google_Service_Fitness_Application';
+ protected $applicationDataType = '';
+ public $dataStreamId;
+ public $dataStreamName;
+ protected $dataTypeType = 'Postman_Google_Service_Fitness_DataType';
+ protected $dataTypeDataType = '';
+ protected $deviceType = 'Postman_Google_Service_Fitness_Device';
+ protected $deviceDataType = '';
+ public $name;
+ public $type;
+
+
+ public function setApplication(Postman_Google_Service_Fitness_Application $application)
+ {
+ $this->application = $application;
+ }
+ public function getApplication()
+ {
+ return $this->application;
+ }
+ public function setDataStreamId($dataStreamId)
+ {
+ $this->dataStreamId = $dataStreamId;
+ }
+ public function getDataStreamId()
+ {
+ return $this->dataStreamId;
+ }
+ public function setDataStreamName($dataStreamName)
+ {
+ $this->dataStreamName = $dataStreamName;
+ }
+ public function getDataStreamName()
+ {
+ return $this->dataStreamName;
+ }
+ public function setDataType(Postman_Google_Service_Fitness_DataType $dataType)
+ {
+ $this->dataType = $dataType;
+ }
+ public function getDataType()
+ {
+ return $this->dataType;
+ }
+ public function setDevice(Postman_Google_Service_Fitness_Device $device)
+ {
+ $this->device = $device;
+ }
+ public function getDevice()
+ {
+ return $this->device;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Fitness_DataType extends Postman_Google_Collection
+{
+ protected $collection_key = 'field';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $fieldType = 'Postman_Google_Service_Fitness_DataTypeField';
+ protected $fieldDataType = 'array';
+ public $name;
+
+
+ public function setField($field)
+ {
+ $this->field = $field;
+ }
+ public function getField()
+ {
+ return $this->field;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_Fitness_DataTypeField extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $format;
+ public $name;
+
+
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_Fitness_Dataset extends Postman_Google_Collection
+{
+ protected $collection_key = 'point';
+ protected $internal_gapi_mappings = array(
+ );
+ public $dataSourceId;
+ public $maxEndTimeNs;
+ public $minStartTimeNs;
+ public $nextPageToken;
+ protected $pointType = 'Postman_Google_Service_Fitness_DataPoint';
+ protected $pointDataType = 'array';
+
+
+ public function setDataSourceId($dataSourceId)
+ {
+ $this->dataSourceId = $dataSourceId;
+ }
+ public function getDataSourceId()
+ {
+ return $this->dataSourceId;
+ }
+ public function setMaxEndTimeNs($maxEndTimeNs)
+ {
+ $this->maxEndTimeNs = $maxEndTimeNs;
+ }
+ public function getMaxEndTimeNs()
+ {
+ return $this->maxEndTimeNs;
+ }
+ public function setMinStartTimeNs($minStartTimeNs)
+ {
+ $this->minStartTimeNs = $minStartTimeNs;
+ }
+ public function getMinStartTimeNs()
+ {
+ return $this->minStartTimeNs;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPoint($point)
+ {
+ $this->point = $point;
+ }
+ public function getPoint()
+ {
+ return $this->point;
+ }
+}
+
+class Postman_Google_Service_Fitness_Device extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $manufacturer;
+ public $model;
+ public $type;
+ public $uid;
+ public $version;
+
+
+ public function setManufacturer($manufacturer)
+ {
+ $this->manufacturer = $manufacturer;
+ }
+ public function getManufacturer()
+ {
+ return $this->manufacturer;
+ }
+ public function setModel($model)
+ {
+ $this->model = $model;
+ }
+ public function getModel()
+ {
+ return $this->model;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUid($uid)
+ {
+ $this->uid = $uid;
+ }
+ public function getUid()
+ {
+ return $this->uid;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Postman_Google_Service_Fitness_ListDataSourcesResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'dataSource';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $dataSourceType = 'Postman_Google_Service_Fitness_DataSource';
+ protected $dataSourceDataType = 'array';
+
+
+ public function setDataSource($dataSource)
+ {
+ $this->dataSource = $dataSource;
+ }
+ public function getDataSource()
+ {
+ return $this->dataSource;
+ }
+}
+
+class Postman_Google_Service_Fitness_ListSessionsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'session';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $deletedSessionType = 'Postman_Google_Service_Fitness_Session';
+ protected $deletedSessionDataType = 'array';
+ public $nextPageToken;
+ protected $sessionType = 'Postman_Google_Service_Fitness_Session';
+ protected $sessionDataType = 'array';
+
+
+ public function setDeletedSession($deletedSession)
+ {
+ $this->deletedSession = $deletedSession;
+ }
+ public function getDeletedSession()
+ {
+ return $this->deletedSession;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSession($session)
+ {
+ $this->session = $session;
+ }
+ public function getSession()
+ {
+ return $this->session;
+ }
+}
+
+class Postman_Google_Service_Fitness_Session extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $activityType;
+ protected $applicationType = 'Postman_Google_Service_Fitness_Application';
+ protected $applicationDataType = '';
+ public $description;
+ public $endTimeMillis;
+ public $id;
+ public $modifiedTimeMillis;
+ public $name;
+ public $startTimeMillis;
+
+
+ public function setActivityType($activityType)
+ {
+ $this->activityType = $activityType;
+ }
+ public function getActivityType()
+ {
+ return $this->activityType;
+ }
+ public function setApplication(Postman_Google_Service_Fitness_Application $application)
+ {
+ $this->application = $application;
+ }
+ public function getApplication()
+ {
+ return $this->application;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEndTimeMillis($endTimeMillis)
+ {
+ $this->endTimeMillis = $endTimeMillis;
+ }
+ public function getEndTimeMillis()
+ {
+ return $this->endTimeMillis;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setModifiedTimeMillis($modifiedTimeMillis)
+ {
+ $this->modifiedTimeMillis = $modifiedTimeMillis;
+ }
+ public function getModifiedTimeMillis()
+ {
+ return $this->modifiedTimeMillis;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setStartTimeMillis($startTimeMillis)
+ {
+ $this->startTimeMillis = $startTimeMillis;
+ }
+ public function getStartTimeMillis()
+ {
+ return $this->startTimeMillis;
+ }
+}
+
+class Postman_Google_Service_Fitness_Value extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $fpVal;
+ public $intVal;
+
+
+ public function setFpVal($fpVal)
+ {
+ $this->fpVal = $fpVal;
+ }
+ public function getFpVal()
+ {
+ return $this->fpVal;
+ }
+ public function setIntVal($intVal)
+ {
+ $this->intVal = $intVal;
+ }
+ public function getIntVal()
+ {
+ return $this->intVal;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Freebase.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Freebase.php
new file mode 100644
index 0000000..d123210
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Freebase.php
@@ -0,0 +1,452 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Freebase (v1).
+ *
+ * <p>
+ * Find Freebase entities using textual queries and other constraints.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/freebase/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Freebase extends Postman_Google_Service
+{
+
+
+
+ private $base_methods;
+
+ /**
+ * Constructs the internal representation of the Freebase service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'freebase/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'freebase';
+
+ $this->base_methods = new Postman_Google_Service_Resource(
+ $this,
+ $this->serviceName,
+ '',
+ array(
+ 'methods' => array(
+ 'reconcile' => array(
+ 'path' => 'reconcile',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'lang' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'confidence' => array(
+ 'location' => 'query',
+ 'type' => 'number',
+ ),
+ 'name' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'kind' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'prop' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'limit' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'search',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'domain' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'help' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'scoring' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'cursor' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'prefixed' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'exact' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'mid' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'encode' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'type' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'as_of_time' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'stemmed' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'format' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'spell' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'with' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'lang' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'indent' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'callback' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'without' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'limit' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'output' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'mql_output' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+ /**
+ * Reconcile entities to Freebase open data. (reconcile)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string lang Languages for names and values. First language is used
+ * for display. Default is 'en'.
+ * @opt_param float confidence Required confidence for a candidate to match.
+ * Must be between .5 and 1.0
+ * @opt_param string name Name of entity.
+ * @opt_param string kind Classifications of entity e.g. type, category, title.
+ * @opt_param string prop Property values for entity formatted as :
+ * @opt_param int limit Maximum number of candidates to return.
+ * @return Postman_Google_Service_Freebase_ReconcileGet
+ */
+ public function reconcile($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->base_methods->call('reconcile', array($params), "Postman_Google_Service_Freebase_ReconcileGet");
+ }
+ /**
+ * Search Freebase open data. (search)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string domain Restrict to topics with this Freebase domain id.
+ * @opt_param string help The keyword to request help on.
+ * @opt_param string query Query term to search for.
+ * @opt_param string scoring Relevance scoring algorithm to use.
+ * @opt_param int cursor The cursor value to use for the next page of results.
+ * @opt_param bool prefixed Prefix match against names and aliases.
+ * @opt_param bool exact Query on exact name and keys only.
+ * @opt_param string mid A mid to use instead of a query.
+ * @opt_param string encode The encoding of the response. You can use this
+ * parameter to enable html encoding.
+ * @opt_param string type Restrict to topics with this Freebase type id.
+ * @opt_param string as_of_time A mql as_of_time value to use with mql_output
+ * queries.
+ * @opt_param bool stemmed Query on stemmed names and aliases. May not be used
+ * with prefixed.
+ * @opt_param string format Structural format of the json response.
+ * @opt_param string spell Request 'did you mean' suggestions
+ * @opt_param string with A rule to match against.
+ * @opt_param string lang The code of the language to run the query with.
+ * Default is 'en'.
+ * @opt_param bool indent Whether to indent the json results or not.
+ * @opt_param string filter A filter to apply to the query.
+ * @opt_param string callback JS method name for JSONP callbacks.
+ * @opt_param string without A rule to not match against.
+ * @opt_param int limit Maximum number of results to return.
+ * @opt_param string output An output expression to request data from matches.
+ * @opt_param string mql_output The MQL query to run againist the results to
+ * extract more data.
+ */
+ public function search($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->base_methods->call('search', array($params));
+ }
+}
+
+
+
+
+
+class Postman_Google_Service_Freebase_ReconcileCandidate extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $confidence;
+ public $lang;
+ public $mid;
+ public $name;
+ protected $notableType = 'Postman_Google_Service_Freebase_ReconcileCandidateNotable';
+ protected $notableDataType = '';
+
+
+ public function setConfidence($confidence)
+ {
+ $this->confidence = $confidence;
+ }
+ public function getConfidence()
+ {
+ return $this->confidence;
+ }
+ public function setLang($lang)
+ {
+ $this->lang = $lang;
+ }
+ public function getLang()
+ {
+ return $this->lang;
+ }
+ public function setMid($mid)
+ {
+ $this->mid = $mid;
+ }
+ public function getMid()
+ {
+ return $this->mid;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNotable(Postman_Google_Service_Freebase_ReconcileCandidateNotable $notable)
+ {
+ $this->notable = $notable;
+ }
+ public function getNotable()
+ {
+ return $this->notable;
+ }
+}
+
+class Postman_Google_Service_Freebase_ReconcileCandidateNotable extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $name;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_Freebase_ReconcileGet extends Postman_Google_Collection
+{
+ protected $collection_key = 'warning';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $candidateType = 'Postman_Google_Service_Freebase_ReconcileCandidate';
+ protected $candidateDataType = 'array';
+ protected $costsType = 'Postman_Google_Service_Freebase_ReconcileGetCosts';
+ protected $costsDataType = '';
+ protected $matchType = 'Postman_Google_Service_Freebase_ReconcileCandidate';
+ protected $matchDataType = '';
+ protected $warningType = 'Postman_Google_Service_Freebase_ReconcileGetWarning';
+ protected $warningDataType = 'array';
+
+
+ public function setCandidate($candidate)
+ {
+ $this->candidate = $candidate;
+ }
+ public function getCandidate()
+ {
+ return $this->candidate;
+ }
+ public function setCosts(Postman_Google_Service_Freebase_ReconcileGetCosts $costs)
+ {
+ $this->costs = $costs;
+ }
+ public function getCosts()
+ {
+ return $this->costs;
+ }
+ public function setMatch(Postman_Google_Service_Freebase_ReconcileCandidate $match)
+ {
+ $this->match = $match;
+ }
+ public function getMatch()
+ {
+ return $this->match;
+ }
+ public function setWarning($warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
+
+class Postman_Google_Service_Freebase_ReconcileGetCosts extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $hits;
+ public $ms;
+
+
+ public function setHits($hits)
+ {
+ $this->hits = $hits;
+ }
+ public function getHits()
+ {
+ return $this->hits;
+ }
+ public function setMs($ms)
+ {
+ $this->ms = $ms;
+ }
+ public function getMs()
+ {
+ return $this->ms;
+ }
+}
+
+class Postman_Google_Service_Freebase_ReconcileGetWarning extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $location;
+ public $message;
+ public $reason;
+
+
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Fusiontables.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Fusiontables.php
new file mode 100644
index 0000000..85f5065
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Fusiontables.php
@@ -0,0 +1,2485 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Fusiontables (v2).
+ *
+ * <p>
+ * API for working with Fusion Tables data.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/fusiontables" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Fusiontables extends Postman_Google_Service
+{
+ /** Manage your Fusion Tables. */
+ const FUSIONTABLES =
+ "https://www.googleapis.com/auth/fusiontables";
+ /** View your Fusion Tables. */
+ const FUSIONTABLES_READONLY =
+ "https://www.googleapis.com/auth/fusiontables.readonly";
+
+ public $column;
+ public $query;
+ public $style;
+ public $table;
+ public $task;
+ public $template;
+
+
+ /**
+ * Constructs the internal representation of the Fusiontables service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'fusiontables/v2/';
+ $this->version = 'v2';
+ $this->serviceName = 'fusiontables';
+
+ $this->column = new Postman_Google_Service_Fusiontables_Column_Resource(
+ $this,
+ $this->serviceName,
+ 'column',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'tables/{tableId}/columns/{columnId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'columnId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'tables/{tableId}/columns/{columnId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'columnId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'tables/{tableId}/columns',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'tables/{tableId}/columns',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'tables/{tableId}/columns/{columnId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'columnId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'tables/{tableId}/columns/{columnId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'columnId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->query = new Postman_Google_Service_Fusiontables_Query_Resource(
+ $this,
+ $this->serviceName,
+ 'query',
+ array(
+ 'methods' => array(
+ 'sql' => array(
+ 'path' => 'query',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'sql' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'typed' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'hdrs' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'sqlGet' => array(
+ 'path' => 'query',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'sql' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'typed' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'hdrs' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->style = new Postman_Google_Service_Fusiontables_Style_Resource(
+ $this,
+ $this->serviceName,
+ 'style',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'tables/{tableId}/styles/{styleId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'styleId' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'tables/{tableId}/styles/{styleId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'styleId' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'tables/{tableId}/styles',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'tables/{tableId}/styles',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'tables/{tableId}/styles/{styleId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'styleId' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'tables/{tableId}/styles/{styleId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'styleId' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->table = new Postman_Google_Service_Fusiontables_Table_Resource(
+ $this,
+ $this->serviceName,
+ 'table',
+ array(
+ 'methods' => array(
+ 'copy' => array(
+ 'path' => 'tables/{tableId}/copy',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'copyPresentation' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'tables/{tableId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'tables/{tableId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'importRows' => array(
+ 'path' => 'tables/{tableId}/import',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'startLine' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'isStrict' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'encoding' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'delimiter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endLine' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'importTable' => array(
+ 'path' => 'tables/import',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'name' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'delimiter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'encoding' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'tables',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'list' => array(
+ 'path' => 'tables',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'tables/{tableId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'replaceViewDefinition' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'replaceRows' => array(
+ 'path' => 'tables/{tableId}/replace',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'startLine' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'isStrict' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'encoding' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'delimiter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endLine' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'tables/{tableId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'replaceViewDefinition' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->task = new Postman_Google_Service_Fusiontables_Task_Resource(
+ $this,
+ $this->serviceName,
+ 'task',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'tables/{tableId}/tasks/{taskId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'taskId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'tables/{tableId}/tasks/{taskId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'taskId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'tables/{tableId}/tasks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->template = new Postman_Google_Service_Fusiontables_Template_Resource(
+ $this,
+ $this->serviceName,
+ 'template',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'tables/{tableId}/templates/{templateId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'templateId' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'tables/{tableId}/templates/{templateId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'templateId' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'tables/{tableId}/templates',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'tables/{tableId}/templates',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'tables/{tableId}/templates/{templateId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'templateId' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'tables/{tableId}/templates/{templateId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'templateId' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "column" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $fusiontablesService = new Postman_Google_Service_Fusiontables(...);
+ * $column = $fusiontablesService->column;
+ * </code>
+ */
+class Postman_Google_Service_Fusiontables_Column_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the column. (column.delete)
+ *
+ * @param string $tableId Table from which the column is being deleted.
+ * @param string $columnId Name or identifier for the column being deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($tableId, $columnId, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'columnId' => $columnId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves a specific column by its id. (column.get)
+ *
+ * @param string $tableId Table to which the column belongs.
+ * @param string $columnId Name or identifier for the column that is being
+ * requested.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Fusiontables_Column
+ */
+ public function get($tableId, $columnId, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'columnId' => $columnId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Fusiontables_Column");
+ }
+
+ /**
+ * Adds a new column to the table. (column.insert)
+ *
+ * @param string $tableId Table for which a new column is being added.
+ * @param Postman_Google_Column $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Fusiontables_Column
+ */
+ public function insert($tableId, Postman_Google_Service_Fusiontables_Column $postBody, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Fusiontables_Column");
+ }
+
+ /**
+ * Retrieves a list of columns. (column.listColumn)
+ *
+ * @param string $tableId Table whose columns are being listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Continuation token specifying which result page
+ * to return.
+ * @opt_param string maxResults Maximum number of columns to return. Default is
+ * 5.
+ * @return Postman_Google_Service_Fusiontables_ColumnList
+ */
+ public function listColumn($tableId, $optParams = array())
+ {
+ $params = array('tableId' => $tableId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Fusiontables_ColumnList");
+ }
+
+ /**
+ * Updates the name or type of an existing column. This method supports patch
+ * semantics. (column.patch)
+ *
+ * @param string $tableId Table for which the column is being updated.
+ * @param string $columnId Name or identifier for the column that is being
+ * updated.
+ * @param Postman_Google_Column $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Fusiontables_Column
+ */
+ public function patch($tableId, $columnId, Postman_Google_Service_Fusiontables_Column $postBody, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'columnId' => $columnId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Fusiontables_Column");
+ }
+
+ /**
+ * Updates the name or type of an existing column. (column.update)
+ *
+ * @param string $tableId Table for which the column is being updated.
+ * @param string $columnId Name or identifier for the column that is being
+ * updated.
+ * @param Postman_Google_Column $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Fusiontables_Column
+ */
+ public function update($tableId, $columnId, Postman_Google_Service_Fusiontables_Column $postBody, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'columnId' => $columnId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Fusiontables_Column");
+ }
+}
+
+/**
+ * The "query" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $fusiontablesService = new Postman_Google_Service_Fusiontables(...);
+ * $query = $fusiontablesService->query;
+ * </code>
+ */
+class Postman_Google_Service_Fusiontables_Query_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Executes an SQL SELECT/INSERT/UPDATE/DELETE/SHOW/DESCRIBE/CREATE statement.
+ * (query.sql)
+ *
+ * @param string $sql An SQL SELECT/SHOW/DESCRIBE/INSERT/UPDATE/DELETE/CREATE
+ * statement.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool typed Should typed values be returned in the (JSON) response
+ * -- numbers for numeric values and parsed geometries for KML values? Default
+ * is true.
+ * @opt_param bool hdrs Should column names be included (in the first row)?.
+ * Default is true.
+ * @return Postman_Google_Service_Fusiontables_Sqlresponse
+ */
+ public function sql($sql, $optParams = array())
+ {
+ $params = array('sql' => $sql);
+ $params = array_merge($params, $optParams);
+ return $this->call('sql', array($params), "Postman_Google_Service_Fusiontables_Sqlresponse");
+ }
+
+ /**
+ * Executes an SQL SELECT/SHOW/DESCRIBE statement. (query.sqlGet)
+ *
+ * @param string $sql An SQL SELECT/SHOW/DESCRIBE statement.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool typed Should typed values be returned in the (JSON) response
+ * -- numbers for numeric values and parsed geometries for KML values? Default
+ * is true.
+ * @opt_param bool hdrs Should column names be included (in the first row)?.
+ * Default is true.
+ * @return Postman_Google_Service_Fusiontables_Sqlresponse
+ */
+ public function sqlGet($sql, $optParams = array())
+ {
+ $params = array('sql' => $sql);
+ $params = array_merge($params, $optParams);
+ return $this->call('sqlGet', array($params), "Postman_Google_Service_Fusiontables_Sqlresponse");
+ }
+}
+
+/**
+ * The "style" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $fusiontablesService = new Postman_Google_Service_Fusiontables(...);
+ * $style = $fusiontablesService->style;
+ * </code>
+ */
+class Postman_Google_Service_Fusiontables_Style_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes a style. (style.delete)
+ *
+ * @param string $tableId Table from which the style is being deleted
+ * @param int $styleId Identifier (within a table) for the style being deleted
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($tableId, $styleId, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'styleId' => $styleId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a specific style. (style.get)
+ *
+ * @param string $tableId Table to which the requested style belongs
+ * @param int $styleId Identifier (integer) for a specific style in a table
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Fusiontables_StyleSetting
+ */
+ public function get($tableId, $styleId, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'styleId' => $styleId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Fusiontables_StyleSetting");
+ }
+
+ /**
+ * Adds a new style for the table. (style.insert)
+ *
+ * @param string $tableId Table for which a new style is being added
+ * @param Postman_Google_StyleSetting $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Fusiontables_StyleSetting
+ */
+ public function insert($tableId, Postman_Google_Service_Fusiontables_StyleSetting $postBody, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Fusiontables_StyleSetting");
+ }
+
+ /**
+ * Retrieves a list of styles. (style.listStyle)
+ *
+ * @param string $tableId Table whose styles are being listed
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Continuation token specifying which result page
+ * to return. Optional.
+ * @opt_param string maxResults Maximum number of styles to return. Optional.
+ * Default is 5.
+ * @return Postman_Google_Service_Fusiontables_StyleSettingList
+ */
+ public function listStyle($tableId, $optParams = array())
+ {
+ $params = array('tableId' => $tableId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Fusiontables_StyleSettingList");
+ }
+
+ /**
+ * Updates an existing style. This method supports patch semantics.
+ * (style.patch)
+ *
+ * @param string $tableId Table whose style is being updated.
+ * @param int $styleId Identifier (within a table) for the style being updated.
+ * @param Postman_Google_StyleSetting $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Fusiontables_StyleSetting
+ */
+ public function patch($tableId, $styleId, Postman_Google_Service_Fusiontables_StyleSetting $postBody, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'styleId' => $styleId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Fusiontables_StyleSetting");
+ }
+
+ /**
+ * Updates an existing style. (style.update)
+ *
+ * @param string $tableId Table whose style is being updated.
+ * @param int $styleId Identifier (within a table) for the style being updated.
+ * @param Postman_Google_StyleSetting $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Fusiontables_StyleSetting
+ */
+ public function update($tableId, $styleId, Postman_Google_Service_Fusiontables_StyleSetting $postBody, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'styleId' => $styleId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Fusiontables_StyleSetting");
+ }
+}
+
+/**
+ * The "table" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $fusiontablesService = new Postman_Google_Service_Fusiontables(...);
+ * $table = $fusiontablesService->table;
+ * </code>
+ */
+class Postman_Google_Service_Fusiontables_Table_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Copies a table. (table.copy)
+ *
+ * @param string $tableId ID of the table that is being copied.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool copyPresentation Whether to also copy tabs, styles, and
+ * templates. Default is false.
+ * @return Postman_Google_Service_Fusiontables_Table
+ */
+ public function copy($tableId, $optParams = array())
+ {
+ $params = array('tableId' => $tableId);
+ $params = array_merge($params, $optParams);
+ return $this->call('copy', array($params), "Postman_Google_Service_Fusiontables_Table");
+ }
+
+ /**
+ * Deletes a table. (table.delete)
+ *
+ * @param string $tableId ID of the table that is being deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($tableId, $optParams = array())
+ {
+ $params = array('tableId' => $tableId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves a specific table by its id. (table.get)
+ *
+ * @param string $tableId Identifier(ID) for the table being requested.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Fusiontables_Table
+ */
+ public function get($tableId, $optParams = array())
+ {
+ $params = array('tableId' => $tableId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Fusiontables_Table");
+ }
+
+ /**
+ * Import more rows into a table. (table.importRows)
+ *
+ * @param string $tableId The table into which new rows are being imported.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int startLine The index of the first line from which to start
+ * importing, inclusive. Default is 0.
+ * @opt_param bool isStrict Whether the CSV must have the same number of values
+ * for each row. If false, rows with fewer values will be padded with empty
+ * values. Default is true.
+ * @opt_param string encoding The encoding of the content. Default is UTF-8. Use
+ * 'auto-detect' if you are unsure of the encoding.
+ * @opt_param string delimiter The delimiter used to separate cell values. This
+ * can only consist of a single character. Default is ','.
+ * @opt_param int endLine The index of the last line from which to start
+ * importing, exclusive. Thus, the number of imported lines is endLine -
+ * startLine. If this parameter is not provided, the file will be imported until
+ * the last line of the file. If endLine is negative, then the imported content
+ * will exclude the last endLine lines. That is, if endline is negative, no line
+ * will be imported whose index is greater than N + endLine where N is the
+ * number of lines in the file, and the number of imported lines will be N +
+ * endLine - startLine.
+ * @return Postman_Google_Service_Fusiontables_Import
+ */
+ public function importRows($tableId, $optParams = array())
+ {
+ $params = array('tableId' => $tableId);
+ $params = array_merge($params, $optParams);
+ return $this->call('importRows', array($params), "Postman_Google_Service_Fusiontables_Import");
+ }
+
+ /**
+ * Import a new table. (table.importTable)
+ *
+ * @param string $name The name to be assigned to the new table.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string delimiter The delimiter used to separate cell values. This
+ * can only consist of a single character. Default is ','.
+ * @opt_param string encoding The encoding of the content. Default is UTF-8. Use
+ * 'auto-detect' if you are unsure of the encoding.
+ * @return Postman_Google_Service_Fusiontables_Table
+ */
+ public function importTable($name, $optParams = array())
+ {
+ $params = array('name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('importTable', array($params), "Postman_Google_Service_Fusiontables_Table");
+ }
+
+ /**
+ * Creates a new table. (table.insert)
+ *
+ * @param Postman_Google_Table $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Fusiontables_Table
+ */
+ public function insert(Postman_Google_Service_Fusiontables_Table $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Fusiontables_Table");
+ }
+
+ /**
+ * Retrieves a list of tables a user owns. (table.listTable)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Continuation token specifying which result page
+ * to return. Optional.
+ * @opt_param string maxResults Maximum number of styles to return. Optional.
+ * Default is 5.
+ * @return Postman_Google_Service_Fusiontables_TableList
+ */
+ public function listTable($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Fusiontables_TableList");
+ }
+
+ /**
+ * Updates an existing table. Unless explicitly requested, only the name,
+ * description, and attribution will be updated. This method supports patch
+ * semantics. (table.patch)
+ *
+ * @param string $tableId ID of the table that is being updated.
+ * @param Postman_Google_Table $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool replaceViewDefinition Should the view definition also be
+ * updated? The specified view definition replaces the existing one. Only a view
+ * can be updated with a new definition.
+ * @return Postman_Google_Service_Fusiontables_Table
+ */
+ public function patch($tableId, Postman_Google_Service_Fusiontables_Table $postBody, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Fusiontables_Table");
+ }
+
+ /**
+ * Replaces rows of an existing table. Current rows remain visible until all
+ * replacement rows are ready. (table.replaceRows)
+ *
+ * @param string $tableId Table whose rows will be replaced.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int startLine The index of the first line from which to start
+ * importing, inclusive. Default is 0.
+ * @opt_param bool isStrict Whether the CSV must have the same number of column
+ * values for each row. If true, throws an exception if the CSV does not not
+ * have the same number of columns. If false, rows with fewer column values will
+ * be padded with empty values. Default is true.
+ * @opt_param string encoding The encoding of the content. Default is UTF-8. Use
+ * 'auto-detect' if you are unsure of the encoding.
+ * @opt_param string delimiter The delimiter used to separate cell values. This
+ * can only consist of a single character. Default is ','.
+ * @opt_param int endLine The index of the last line to import, exclusive.
+ * 'endLine - startLine' rows will be imported. Default is to import through the
+ * end of the file. If endLine is negative, it is an offset from the end of the
+ * file; the imported content will exclude the last endLine lines.
+ * @return Postman_Google_Service_Fusiontables_Task
+ */
+ public function replaceRows($tableId, $optParams = array())
+ {
+ $params = array('tableId' => $tableId);
+ $params = array_merge($params, $optParams);
+ return $this->call('replaceRows', array($params), "Postman_Google_Service_Fusiontables_Task");
+ }
+
+ /**
+ * Updates an existing table. Unless explicitly requested, only the name,
+ * description, and attribution will be updated. (table.update)
+ *
+ * @param string $tableId ID of the table that is being updated.
+ * @param Postman_Google_Table $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool replaceViewDefinition Should the view definition also be
+ * updated? The specified view definition replaces the existing one. Only a view
+ * can be updated with a new definition.
+ * @return Postman_Google_Service_Fusiontables_Table
+ */
+ public function update($tableId, Postman_Google_Service_Fusiontables_Table $postBody, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Fusiontables_Table");
+ }
+}
+
+/**
+ * The "task" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $fusiontablesService = new Postman_Google_Service_Fusiontables(...);
+ * $task = $fusiontablesService->task;
+ * </code>
+ */
+class Postman_Google_Service_Fusiontables_Task_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the task, unless already started. (task.delete)
+ *
+ * @param string $tableId Table from which the task is being deleted.
+ * @param string $taskId
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($tableId, $taskId, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'taskId' => $taskId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves a specific task by its id. (task.get)
+ *
+ * @param string $tableId Table to which the task belongs.
+ * @param string $taskId
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Fusiontables_Task
+ */
+ public function get($tableId, $taskId, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'taskId' => $taskId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Fusiontables_Task");
+ }
+
+ /**
+ * Retrieves a list of tasks. (task.listTask)
+ *
+ * @param string $tableId Table whose tasks are being listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Continuation token specifying which result page
+ * to return.
+ * @opt_param string startIndex Index of the first result returned in the
+ * current page.
+ * @opt_param string maxResults Maximum number of tasks to return. Default is 5.
+ * @return Postman_Google_Service_Fusiontables_TaskList
+ */
+ public function listTask($tableId, $optParams = array())
+ {
+ $params = array('tableId' => $tableId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Fusiontables_TaskList");
+ }
+}
+
+/**
+ * The "template" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $fusiontablesService = new Postman_Google_Service_Fusiontables(...);
+ * $template = $fusiontablesService->template;
+ * </code>
+ */
+class Postman_Google_Service_Fusiontables_Template_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes a template (template.delete)
+ *
+ * @param string $tableId Table from which the template is being deleted
+ * @param int $templateId Identifier for the template which is being deleted
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($tableId, $templateId, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'templateId' => $templateId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves a specific template by its id (template.get)
+ *
+ * @param string $tableId Table to which the template belongs
+ * @param int $templateId Identifier for the template that is being requested
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Fusiontables_Template
+ */
+ public function get($tableId, $templateId, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'templateId' => $templateId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Fusiontables_Template");
+ }
+
+ /**
+ * Creates a new template for the table. (template.insert)
+ *
+ * @param string $tableId Table for which a new template is being created
+ * @param Postman_Google_Template $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Fusiontables_Template
+ */
+ public function insert($tableId, Postman_Google_Service_Fusiontables_Template $postBody, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Fusiontables_Template");
+ }
+
+ /**
+ * Retrieves a list of templates. (template.listTemplate)
+ *
+ * @param string $tableId Identifier for the table whose templates are being
+ * requested
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Continuation token specifying which results page
+ * to return. Optional.
+ * @opt_param string maxResults Maximum number of templates to return. Optional.
+ * Default is 5.
+ * @return Postman_Google_Service_Fusiontables_TemplateList
+ */
+ public function listTemplate($tableId, $optParams = array())
+ {
+ $params = array('tableId' => $tableId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Fusiontables_TemplateList");
+ }
+
+ /**
+ * Updates an existing template. This method supports patch semantics.
+ * (template.patch)
+ *
+ * @param string $tableId Table to which the updated template belongs
+ * @param int $templateId Identifier for the template that is being updated
+ * @param Postman_Google_Template $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Fusiontables_Template
+ */
+ public function patch($tableId, $templateId, Postman_Google_Service_Fusiontables_Template $postBody, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'templateId' => $templateId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Fusiontables_Template");
+ }
+
+ /**
+ * Updates an existing template (template.update)
+ *
+ * @param string $tableId Table to which the updated template belongs
+ * @param int $templateId Identifier for the template that is being updated
+ * @param Postman_Google_Template $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Fusiontables_Template
+ */
+ public function update($tableId, $templateId, Postman_Google_Service_Fusiontables_Template $postBody, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'templateId' => $templateId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Fusiontables_Template");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Fusiontables_Bucket extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $color;
+ public $icon;
+ public $max;
+ public $min;
+ public $opacity;
+ public $weight;
+
+
+ public function setColor($color)
+ {
+ $this->color = $color;
+ }
+ public function getColor()
+ {
+ return $this->color;
+ }
+ public function setIcon($icon)
+ {
+ $this->icon = $icon;
+ }
+ public function getIcon()
+ {
+ return $this->icon;
+ }
+ public function setMax($max)
+ {
+ $this->max = $max;
+ }
+ public function getMax()
+ {
+ return $this->max;
+ }
+ public function setMin($min)
+ {
+ $this->min = $min;
+ }
+ public function getMin()
+ {
+ return $this->min;
+ }
+ public function setOpacity($opacity)
+ {
+ $this->opacity = $opacity;
+ }
+ public function getOpacity()
+ {
+ return $this->opacity;
+ }
+ public function setWeight($weight)
+ {
+ $this->weight = $weight;
+ }
+ public function getWeight()
+ {
+ return $this->weight;
+ }
+}
+
+class Postman_Google_Service_Fusiontables_Column extends Postman_Google_Collection
+{
+ protected $collection_key = 'validValues';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $baseColumnType = 'Postman_Google_Service_Fusiontables_ColumnBaseColumn';
+ protected $baseColumnDataType = '';
+ public $columnId;
+ public $columnJsonSchema;
+ public $columnPropertiesJson;
+ public $description;
+ public $formatPattern;
+ public $graphPredicate;
+ public $kind;
+ public $name;
+ public $type;
+ public $validValues;
+ public $validateData;
+
+
+ public function setBaseColumn(Postman_Google_Service_Fusiontables_ColumnBaseColumn $baseColumn)
+ {
+ $this->baseColumn = $baseColumn;
+ }
+ public function getBaseColumn()
+ {
+ return $this->baseColumn;
+ }
+ public function setColumnId($columnId)
+ {
+ $this->columnId = $columnId;
+ }
+ public function getColumnId()
+ {
+ return $this->columnId;
+ }
+ public function setColumnJsonSchema($columnJsonSchema)
+ {
+ $this->columnJsonSchema = $columnJsonSchema;
+ }
+ public function getColumnJsonSchema()
+ {
+ return $this->columnJsonSchema;
+ }
+ public function setColumnPropertiesJson($columnPropertiesJson)
+ {
+ $this->columnPropertiesJson = $columnPropertiesJson;
+ }
+ public function getColumnPropertiesJson()
+ {
+ return $this->columnPropertiesJson;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setFormatPattern($formatPattern)
+ {
+ $this->formatPattern = $formatPattern;
+ }
+ public function getFormatPattern()
+ {
+ return $this->formatPattern;
+ }
+ public function setGraphPredicate($graphPredicate)
+ {
+ $this->graphPredicate = $graphPredicate;
+ }
+ public function getGraphPredicate()
+ {
+ return $this->graphPredicate;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setValidValues($validValues)
+ {
+ $this->validValues = $validValues;
+ }
+ public function getValidValues()
+ {
+ return $this->validValues;
+ }
+ public function setValidateData($validateData)
+ {
+ $this->validateData = $validateData;
+ }
+ public function getValidateData()
+ {
+ return $this->validateData;
+ }
+}
+
+class Postman_Google_Service_Fusiontables_ColumnBaseColumn extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $columnId;
+ public $tableIndex;
+
+
+ public function setColumnId($columnId)
+ {
+ $this->columnId = $columnId;
+ }
+ public function getColumnId()
+ {
+ return $this->columnId;
+ }
+ public function setTableIndex($tableIndex)
+ {
+ $this->tableIndex = $tableIndex;
+ }
+ public function getTableIndex()
+ {
+ return $this->tableIndex;
+ }
+}
+
+class Postman_Google_Service_Fusiontables_ColumnList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Fusiontables_Column';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $totalItems;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_Fusiontables_Geometry extends Postman_Google_Collection
+{
+ protected $collection_key = 'geometries';
+ protected $internal_gapi_mappings = array(
+ );
+ public $geometries;
+ public $geometry;
+ public $type;
+
+
+ public function setGeometries($geometries)
+ {
+ $this->geometries = $geometries;
+ }
+ public function getGeometries()
+ {
+ return $this->geometries;
+ }
+ public function setGeometry($geometry)
+ {
+ $this->geometry = $geometry;
+ }
+ public function getGeometry()
+ {
+ return $this->geometry;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Fusiontables_Import extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $numRowsReceived;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNumRowsReceived($numRowsReceived)
+ {
+ $this->numRowsReceived = $numRowsReceived;
+ }
+ public function getNumRowsReceived()
+ {
+ return $this->numRowsReceived;
+ }
+}
+
+class Postman_Google_Service_Fusiontables_Line extends Postman_Google_Collection
+{
+ protected $collection_key = 'coordinates';
+ protected $internal_gapi_mappings = array(
+ );
+ public $coordinates;
+ public $type;
+
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Fusiontables_LineStyle extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $strokeColor;
+ protected $strokeColorStylerType = 'Postman_Google_Service_Fusiontables_StyleFunction';
+ protected $strokeColorStylerDataType = '';
+ public $strokeOpacity;
+ public $strokeWeight;
+ protected $strokeWeightStylerType = 'Postman_Google_Service_Fusiontables_StyleFunction';
+ protected $strokeWeightStylerDataType = '';
+
+
+ public function setStrokeColor($strokeColor)
+ {
+ $this->strokeColor = $strokeColor;
+ }
+ public function getStrokeColor()
+ {
+ return $this->strokeColor;
+ }
+ public function setStrokeColorStyler(Postman_Google_Service_Fusiontables_StyleFunction $strokeColorStyler)
+ {
+ $this->strokeColorStyler = $strokeColorStyler;
+ }
+ public function getStrokeColorStyler()
+ {
+ return $this->strokeColorStyler;
+ }
+ public function setStrokeOpacity($strokeOpacity)
+ {
+ $this->strokeOpacity = $strokeOpacity;
+ }
+ public function getStrokeOpacity()
+ {
+ return $this->strokeOpacity;
+ }
+ public function setStrokeWeight($strokeWeight)
+ {
+ $this->strokeWeight = $strokeWeight;
+ }
+ public function getStrokeWeight()
+ {
+ return $this->strokeWeight;
+ }
+ public function setStrokeWeightStyler(Postman_Google_Service_Fusiontables_StyleFunction $strokeWeightStyler)
+ {
+ $this->strokeWeightStyler = $strokeWeightStyler;
+ }
+ public function getStrokeWeightStyler()
+ {
+ return $this->strokeWeightStyler;
+ }
+}
+
+class Postman_Google_Service_Fusiontables_Point extends Postman_Google_Collection
+{
+ protected $collection_key = 'coordinates';
+ protected $internal_gapi_mappings = array(
+ );
+ public $coordinates;
+ public $type;
+
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Fusiontables_PointStyle extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $iconName;
+ protected $iconStylerType = 'Postman_Google_Service_Fusiontables_StyleFunction';
+ protected $iconStylerDataType = '';
+
+
+ public function setIconName($iconName)
+ {
+ $this->iconName = $iconName;
+ }
+ public function getIconName()
+ {
+ return $this->iconName;
+ }
+ public function setIconStyler(Postman_Google_Service_Fusiontables_StyleFunction $iconStyler)
+ {
+ $this->iconStyler = $iconStyler;
+ }
+ public function getIconStyler()
+ {
+ return $this->iconStyler;
+ }
+}
+
+class Postman_Google_Service_Fusiontables_Polygon extends Postman_Google_Collection
+{
+ protected $collection_key = 'coordinates';
+ protected $internal_gapi_mappings = array(
+ );
+ public $coordinates;
+ public $type;
+
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Fusiontables_PolygonStyle extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $fillColor;
+ protected $fillColorStylerType = 'Postman_Google_Service_Fusiontables_StyleFunction';
+ protected $fillColorStylerDataType = '';
+ public $fillOpacity;
+ public $strokeColor;
+ protected $strokeColorStylerType = 'Postman_Google_Service_Fusiontables_StyleFunction';
+ protected $strokeColorStylerDataType = '';
+ public $strokeOpacity;
+ public $strokeWeight;
+ protected $strokeWeightStylerType = 'Postman_Google_Service_Fusiontables_StyleFunction';
+ protected $strokeWeightStylerDataType = '';
+
+
+ public function setFillColor($fillColor)
+ {
+ $this->fillColor = $fillColor;
+ }
+ public function getFillColor()
+ {
+ return $this->fillColor;
+ }
+ public function setFillColorStyler(Postman_Google_Service_Fusiontables_StyleFunction $fillColorStyler)
+ {
+ $this->fillColorStyler = $fillColorStyler;
+ }
+ public function getFillColorStyler()
+ {
+ return $this->fillColorStyler;
+ }
+ public function setFillOpacity($fillOpacity)
+ {
+ $this->fillOpacity = $fillOpacity;
+ }
+ public function getFillOpacity()
+ {
+ return $this->fillOpacity;
+ }
+ public function setStrokeColor($strokeColor)
+ {
+ $this->strokeColor = $strokeColor;
+ }
+ public function getStrokeColor()
+ {
+ return $this->strokeColor;
+ }
+ public function setStrokeColorStyler(Postman_Google_Service_Fusiontables_StyleFunction $strokeColorStyler)
+ {
+ $this->strokeColorStyler = $strokeColorStyler;
+ }
+ public function getStrokeColorStyler()
+ {
+ return $this->strokeColorStyler;
+ }
+ public function setStrokeOpacity($strokeOpacity)
+ {
+ $this->strokeOpacity = $strokeOpacity;
+ }
+ public function getStrokeOpacity()
+ {
+ return $this->strokeOpacity;
+ }
+ public function setStrokeWeight($strokeWeight)
+ {
+ $this->strokeWeight = $strokeWeight;
+ }
+ public function getStrokeWeight()
+ {
+ return $this->strokeWeight;
+ }
+ public function setStrokeWeightStyler(Postman_Google_Service_Fusiontables_StyleFunction $strokeWeightStyler)
+ {
+ $this->strokeWeightStyler = $strokeWeightStyler;
+ }
+ public function getStrokeWeightStyler()
+ {
+ return $this->strokeWeightStyler;
+ }
+}
+
+class Postman_Google_Service_Fusiontables_Sqlresponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'rows';
+ protected $internal_gapi_mappings = array(
+ );
+ public $columns;
+ public $kind;
+ public $rows;
+
+
+ public function setColumns($columns)
+ {
+ $this->columns = $columns;
+ }
+ public function getColumns()
+ {
+ return $this->columns;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRows($rows)
+ {
+ $this->rows = $rows;
+ }
+ public function getRows()
+ {
+ return $this->rows;
+ }
+}
+
+class Postman_Google_Service_Fusiontables_StyleFunction extends Postman_Google_Collection
+{
+ protected $collection_key = 'buckets';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $bucketsType = 'Postman_Google_Service_Fusiontables_Bucket';
+ protected $bucketsDataType = 'array';
+ public $columnName;
+ protected $gradientType = 'Postman_Google_Service_Fusiontables_StyleFunctionGradient';
+ protected $gradientDataType = '';
+ public $kind;
+
+
+ public function setBuckets($buckets)
+ {
+ $this->buckets = $buckets;
+ }
+ public function getBuckets()
+ {
+ return $this->buckets;
+ }
+ public function setColumnName($columnName)
+ {
+ $this->columnName = $columnName;
+ }
+ public function getColumnName()
+ {
+ return $this->columnName;
+ }
+ public function setGradient(Postman_Google_Service_Fusiontables_StyleFunctionGradient $gradient)
+ {
+ $this->gradient = $gradient;
+ }
+ public function getGradient()
+ {
+ return $this->gradient;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Fusiontables_StyleFunctionGradient extends Postman_Google_Collection
+{
+ protected $collection_key = 'colors';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $colorsType = 'Postman_Google_Service_Fusiontables_StyleFunctionGradientColors';
+ protected $colorsDataType = 'array';
+ public $max;
+ public $min;
+
+
+ public function setColors($colors)
+ {
+ $this->colors = $colors;
+ }
+ public function getColors()
+ {
+ return $this->colors;
+ }
+ public function setMax($max)
+ {
+ $this->max = $max;
+ }
+ public function getMax()
+ {
+ return $this->max;
+ }
+ public function setMin($min)
+ {
+ $this->min = $min;
+ }
+ public function getMin()
+ {
+ return $this->min;
+ }
+}
+
+class Postman_Google_Service_Fusiontables_StyleFunctionGradientColors extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $color;
+ public $opacity;
+
+
+ public function setColor($color)
+ {
+ $this->color = $color;
+ }
+ public function getColor()
+ {
+ return $this->color;
+ }
+ public function setOpacity($opacity)
+ {
+ $this->opacity = $opacity;
+ }
+ public function getOpacity()
+ {
+ return $this->opacity;
+ }
+}
+
+class Postman_Google_Service_Fusiontables_StyleSetting extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $markerOptionsType = 'Postman_Google_Service_Fusiontables_PointStyle';
+ protected $markerOptionsDataType = '';
+ public $name;
+ protected $polygonOptionsType = 'Postman_Google_Service_Fusiontables_PolygonStyle';
+ protected $polygonOptionsDataType = '';
+ protected $polylineOptionsType = 'Postman_Google_Service_Fusiontables_LineStyle';
+ protected $polylineOptionsDataType = '';
+ public $styleId;
+ public $tableId;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMarkerOptions(Postman_Google_Service_Fusiontables_PointStyle $markerOptions)
+ {
+ $this->markerOptions = $markerOptions;
+ }
+ public function getMarkerOptions()
+ {
+ return $this->markerOptions;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPolygonOptions(Postman_Google_Service_Fusiontables_PolygonStyle $polygonOptions)
+ {
+ $this->polygonOptions = $polygonOptions;
+ }
+ public function getPolygonOptions()
+ {
+ return $this->polygonOptions;
+ }
+ public function setPolylineOptions(Postman_Google_Service_Fusiontables_LineStyle $polylineOptions)
+ {
+ $this->polylineOptions = $polylineOptions;
+ }
+ public function getPolylineOptions()
+ {
+ return $this->polylineOptions;
+ }
+ public function setStyleId($styleId)
+ {
+ $this->styleId = $styleId;
+ }
+ public function getStyleId()
+ {
+ return $this->styleId;
+ }
+ public function setTableId($tableId)
+ {
+ $this->tableId = $tableId;
+ }
+ public function getTableId()
+ {
+ return $this->tableId;
+ }
+}
+
+class Postman_Google_Service_Fusiontables_StyleSettingList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Fusiontables_StyleSetting';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $totalItems;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_Fusiontables_Table extends Postman_Google_Collection
+{
+ protected $collection_key = 'columns';
+ protected $internal_gapi_mappings = array(
+ );
+ public $attribution;
+ public $attributionLink;
+ public $baseTableIds;
+ public $columnPropertiesJsonSchema;
+ protected $columnsType = 'Postman_Google_Service_Fusiontables_Column';
+ protected $columnsDataType = 'array';
+ public $description;
+ public $isExportable;
+ public $kind;
+ public $name;
+ public $sql;
+ public $tableId;
+ public $tablePropertiesJson;
+ public $tablePropertiesJsonSchema;
+
+
+ public function setAttribution($attribution)
+ {
+ $this->attribution = $attribution;
+ }
+ public function getAttribution()
+ {
+ return $this->attribution;
+ }
+ public function setAttributionLink($attributionLink)
+ {
+ $this->attributionLink = $attributionLink;
+ }
+ public function getAttributionLink()
+ {
+ return $this->attributionLink;
+ }
+ public function setBaseTableIds($baseTableIds)
+ {
+ $this->baseTableIds = $baseTableIds;
+ }
+ public function getBaseTableIds()
+ {
+ return $this->baseTableIds;
+ }
+ public function setColumnPropertiesJsonSchema($columnPropertiesJsonSchema)
+ {
+ $this->columnPropertiesJsonSchema = $columnPropertiesJsonSchema;
+ }
+ public function getColumnPropertiesJsonSchema()
+ {
+ return $this->columnPropertiesJsonSchema;
+ }
+ public function setColumns($columns)
+ {
+ $this->columns = $columns;
+ }
+ public function getColumns()
+ {
+ return $this->columns;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setIsExportable($isExportable)
+ {
+ $this->isExportable = $isExportable;
+ }
+ public function getIsExportable()
+ {
+ return $this->isExportable;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSql($sql)
+ {
+ $this->sql = $sql;
+ }
+ public function getSql()
+ {
+ return $this->sql;
+ }
+ public function setTableId($tableId)
+ {
+ $this->tableId = $tableId;
+ }
+ public function getTableId()
+ {
+ return $this->tableId;
+ }
+ public function setTablePropertiesJson($tablePropertiesJson)
+ {
+ $this->tablePropertiesJson = $tablePropertiesJson;
+ }
+ public function getTablePropertiesJson()
+ {
+ return $this->tablePropertiesJson;
+ }
+ public function setTablePropertiesJsonSchema($tablePropertiesJsonSchema)
+ {
+ $this->tablePropertiesJsonSchema = $tablePropertiesJsonSchema;
+ }
+ public function getTablePropertiesJsonSchema()
+ {
+ return $this->tablePropertiesJsonSchema;
+ }
+}
+
+class Postman_Google_Service_Fusiontables_TableList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Fusiontables_Table';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Fusiontables_Task extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $progress;
+ public $started;
+ public $taskId;
+ public $type;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setProgress($progress)
+ {
+ $this->progress = $progress;
+ }
+ public function getProgress()
+ {
+ return $this->progress;
+ }
+ public function setStarted($started)
+ {
+ $this->started = $started;
+ }
+ public function getStarted()
+ {
+ return $this->started;
+ }
+ public function setTaskId($taskId)
+ {
+ $this->taskId = $taskId;
+ }
+ public function getTaskId()
+ {
+ return $this->taskId;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Fusiontables_TaskList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Fusiontables_Task';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $totalItems;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_Fusiontables_Template extends Postman_Google_Collection
+{
+ protected $collection_key = 'automaticColumnNames';
+ protected $internal_gapi_mappings = array(
+ );
+ public $automaticColumnNames;
+ public $body;
+ public $kind;
+ public $name;
+ public $tableId;
+ public $templateId;
+
+
+ public function setAutomaticColumnNames($automaticColumnNames)
+ {
+ $this->automaticColumnNames = $automaticColumnNames;
+ }
+ public function getAutomaticColumnNames()
+ {
+ return $this->automaticColumnNames;
+ }
+ public function setBody($body)
+ {
+ $this->body = $body;
+ }
+ public function getBody()
+ {
+ return $this->body;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setTableId($tableId)
+ {
+ $this->tableId = $tableId;
+ }
+ public function getTableId()
+ {
+ return $this->tableId;
+ }
+ public function setTemplateId($templateId)
+ {
+ $this->templateId = $templateId;
+ }
+ public function getTemplateId()
+ {
+ return $this->templateId;
+ }
+}
+
+class Postman_Google_Service_Fusiontables_TemplateList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Fusiontables_Template';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $totalItems;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Games.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Games.php
new file mode 100644
index 0000000..b8bcb53
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Games.php
@@ -0,0 +1,7421 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Games (v1).
+ *
+ * <p>
+ * The API for Google Play Game Services.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/games/services/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Games extends Postman_Google_Service
+{
+ /** View and manage its own configuration data in your Google Drive. */
+ const DRIVE_APPDATA =
+ "https://www.googleapis.com/auth/drive.appdata";
+ /** Share your Google+ profile information and view and manage your game activity. */
+ const GAMES =
+ "https://www.googleapis.com/auth/games";
+ /** Know your basic profile info and list of people in your circles.. */
+ const PLUS_LOGIN =
+ "https://www.googleapis.com/auth/plus.login";
+
+ public $achievementDefinitions;
+ public $achievements;
+ public $applications;
+ public $events;
+ public $leaderboards;
+ public $metagame;
+ public $players;
+ public $pushtokens;
+ public $questMilestones;
+ public $quests;
+ public $revisions;
+ public $rooms;
+ public $scores;
+ public $snapshots;
+ public $turnBasedMatches;
+
+
+ /**
+ * Constructs the internal representation of the Games service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'games/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'games';
+
+ $this->achievementDefinitions = new Postman_Google_Service_Games_AchievementDefinitions_Resource(
+ $this,
+ $this->serviceName,
+ 'achievementDefinitions',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'achievements',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->achievements = new Postman_Google_Service_Games_Achievements_Resource(
+ $this,
+ $this->serviceName,
+ 'achievements',
+ array(
+ 'methods' => array(
+ 'increment' => array(
+ 'path' => 'achievements/{achievementId}/increment',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'achievementId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'stepsToIncrement' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'requestId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'players/{playerId}/achievements',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'playerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'state' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'reveal' => array(
+ 'path' => 'achievements/{achievementId}/reveal',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'achievementId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setStepsAtLeast' => array(
+ 'path' => 'achievements/{achievementId}/setStepsAtLeast',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'achievementId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'steps' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'unlock' => array(
+ 'path' => 'achievements/{achievementId}/unlock',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'achievementId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'updateMultiple' => array(
+ 'path' => 'achievements/updateMultiple',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->applications = new Postman_Google_Service_Games_Applications_Resource(
+ $this,
+ $this->serviceName,
+ 'applications',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'applications/{applicationId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'applicationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'platformType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'played' => array(
+ 'path' => 'applications/played',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->events = new Postman_Google_Service_Games_Events_Resource(
+ $this,
+ $this->serviceName,
+ 'events',
+ array(
+ 'methods' => array(
+ 'listByPlayer' => array(
+ 'path' => 'events',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'listDefinitions' => array(
+ 'path' => 'eventDefinitions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'record' => array(
+ 'path' => 'events',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->leaderboards = new Postman_Google_Service_Games_Leaderboards_Resource(
+ $this,
+ $this->serviceName,
+ 'leaderboards',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'leaderboards/{leaderboardId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'leaderboardId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'leaderboards',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->metagame = new Postman_Google_Service_Games_Metagame_Resource(
+ $this,
+ $this->serviceName,
+ 'metagame',
+ array(
+ 'methods' => array(
+ 'getMetagameConfig' => array(
+ 'path' => 'metagameConfig',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),'listCategoriesByPlayer' => array(
+ 'path' => 'players/{playerId}/categories/{collection}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'playerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'collection' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->players = new Postman_Google_Service_Games_Players_Resource(
+ $this,
+ $this->serviceName,
+ 'players',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'players/{playerId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'playerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'players/me/players/{collection}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'collection' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->pushtokens = new Postman_Google_Service_Games_Pushtokens_Resource(
+ $this,
+ $this->serviceName,
+ 'pushtokens',
+ array(
+ 'methods' => array(
+ 'remove' => array(
+ 'path' => 'pushtokens/remove',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'update' => array(
+ 'path' => 'pushtokens',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->questMilestones = new Postman_Google_Service_Games_QuestMilestones_Resource(
+ $this,
+ $this->serviceName,
+ 'questMilestones',
+ array(
+ 'methods' => array(
+ 'claim' => array(
+ 'path' => 'quests/{questId}/milestones/{milestoneId}/claim',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'questId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'milestoneId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'requestId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->quests = new Postman_Google_Service_Games_Quests_Resource(
+ $this,
+ $this->serviceName,
+ 'quests',
+ array(
+ 'methods' => array(
+ 'accept' => array(
+ 'path' => 'quests/{questId}/accept',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'questId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'players/{playerId}/quests',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'playerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->revisions = new Postman_Google_Service_Games_Revisions_Resource(
+ $this,
+ $this->serviceName,
+ 'revisions',
+ array(
+ 'methods' => array(
+ 'check' => array(
+ 'path' => 'revisions/check',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'clientRevision' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->rooms = new Postman_Google_Service_Games_Rooms_Resource(
+ $this,
+ $this->serviceName,
+ 'rooms',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'rooms/create',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'decline' => array(
+ 'path' => 'rooms/{roomId}/decline',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'roomId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'dismiss' => array(
+ 'path' => 'rooms/{roomId}/dismiss',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'roomId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'rooms/{roomId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'roomId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'join' => array(
+ 'path' => 'rooms/{roomId}/join',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'roomId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'leave' => array(
+ 'path' => 'rooms/{roomId}/leave',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'roomId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'rooms',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'reportStatus' => array(
+ 'path' => 'rooms/{roomId}/reportstatus',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'roomId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->scores = new Postman_Google_Service_Games_Scores_Resource(
+ $this,
+ $this->serviceName,
+ 'scores',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'players/{playerId}/leaderboards/{leaderboardId}/scores/{timeSpan}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'playerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'leaderboardId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'timeSpan' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'includeRankType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'leaderboards/{leaderboardId}/scores/{collection}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'leaderboardId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'collection' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'timeSpan' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'listWindow' => array(
+ 'path' => 'leaderboards/{leaderboardId}/window/{collection}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'leaderboardId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'collection' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'timeSpan' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'returnTopIfAbsent' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'resultsAbove' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'submit' => array(
+ 'path' => 'leaderboards/{leaderboardId}/scores',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'leaderboardId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'score' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'scoreTag' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'submitMultiple' => array(
+ 'path' => 'leaderboards/scores',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->snapshots = new Postman_Google_Service_Games_Snapshots_Resource(
+ $this,
+ $this->serviceName,
+ 'snapshots',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'snapshots/{snapshotId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'snapshotId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'players/{playerId}/snapshots',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'playerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->turnBasedMatches = new Postman_Google_Service_Games_TurnBasedMatches_Resource(
+ $this,
+ $this->serviceName,
+ 'turnBasedMatches',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => 'turnbasedmatches/{matchId}/cancel',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'matchId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'create' => array(
+ 'path' => 'turnbasedmatches/create',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'decline' => array(
+ 'path' => 'turnbasedmatches/{matchId}/decline',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'matchId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'dismiss' => array(
+ 'path' => 'turnbasedmatches/{matchId}/dismiss',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'matchId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'finish' => array(
+ 'path' => 'turnbasedmatches/{matchId}/finish',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'matchId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'turnbasedmatches/{matchId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'matchId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeMatchData' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'join' => array(
+ 'path' => 'turnbasedmatches/{matchId}/join',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'matchId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'leave' => array(
+ 'path' => 'turnbasedmatches/{matchId}/leave',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'matchId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'leaveTurn' => array(
+ 'path' => 'turnbasedmatches/{matchId}/leaveTurn',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'matchId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'matchVersion' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pendingParticipantId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'turnbasedmatches',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxCompletedMatches' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeMatchData' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'rematch' => array(
+ 'path' => 'turnbasedmatches/{matchId}/rematch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'matchId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'requestId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'sync' => array(
+ 'path' => 'turnbasedmatches/sync',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxCompletedMatches' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeMatchData' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'takeTurn' => array(
+ 'path' => 'turnbasedmatches/{matchId}/turn',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'matchId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "achievementDefinitions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Postman_Google_Service_Games(...);
+ * $achievementDefinitions = $gamesService->achievementDefinitions;
+ * </code>
+ */
+class Postman_Google_Service_Games_AchievementDefinitions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Lists all the achievement definitions for your application.
+ * (achievementDefinitions.listAchievementDefinitions)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param int maxResults The maximum number of achievement resources to
+ * return in the response, used for paging. For any response, the actual number
+ * of achievement resources returned may be less than the specified maxResults.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_AchievementDefinitionsListResponse
+ */
+ public function listAchievementDefinitions($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Games_AchievementDefinitionsListResponse");
+ }
+}
+
+/**
+ * The "achievements" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Postman_Google_Service_Games(...);
+ * $achievements = $gamesService->achievements;
+ * </code>
+ */
+class Postman_Google_Service_Games_Achievements_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Increments the steps of the achievement with the given ID for the currently
+ * authenticated player. (achievements.increment)
+ *
+ * @param string $achievementId The ID of the achievement used by this method.
+ * @param int $stepsToIncrement The number of steps to increment.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestId A randomly generated numeric ID for each request
+ * specified by the caller. This number is used at the server to ensure that the
+ * request is handled correctly across retries.
+ * @return Postman_Google_Service_Games_AchievementIncrementResponse
+ */
+ public function increment($achievementId, $stepsToIncrement, $optParams = array())
+ {
+ $params = array('achievementId' => $achievementId, 'stepsToIncrement' => $stepsToIncrement);
+ $params = array_merge($params, $optParams);
+ return $this->call('increment', array($params), "Postman_Google_Service_Games_AchievementIncrementResponse");
+ }
+
+ /**
+ * Lists the progress for all your application's achievements for the currently
+ * authenticated player. (achievements.listAchievements)
+ *
+ * @param string $playerId A player ID. A value of me may be used in place of
+ * the authenticated player's ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param string state Tells the server to return only achievements with the
+ * specified state. If this parameter isn't specified, all achievements are
+ * returned.
+ * @opt_param int maxResults The maximum number of achievement resources to
+ * return in the response, used for paging. For any response, the actual number
+ * of achievement resources returned may be less than the specified maxResults.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_PlayerAchievementListResponse
+ */
+ public function listAchievements($playerId, $optParams = array())
+ {
+ $params = array('playerId' => $playerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Games_PlayerAchievementListResponse");
+ }
+
+ /**
+ * Sets the state of the achievement with the given ID to REVEALED for the
+ * currently authenticated player. (achievements.reveal)
+ *
+ * @param string $achievementId The ID of the achievement used by this method.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Games_AchievementRevealResponse
+ */
+ public function reveal($achievementId, $optParams = array())
+ {
+ $params = array('achievementId' => $achievementId);
+ $params = array_merge($params, $optParams);
+ return $this->call('reveal', array($params), "Postman_Google_Service_Games_AchievementRevealResponse");
+ }
+
+ /**
+ * Sets the steps for the currently authenticated player towards unlocking an
+ * achievement. If the steps parameter is less than the current number of steps
+ * that the player already gained for the achievement, the achievement is not
+ * modified. (achievements.setStepsAtLeast)
+ *
+ * @param string $achievementId The ID of the achievement used by this method.
+ * @param int $steps The minimum value to set the steps to.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Games_AchievementSetStepsAtLeastResponse
+ */
+ public function setStepsAtLeast($achievementId, $steps, $optParams = array())
+ {
+ $params = array('achievementId' => $achievementId, 'steps' => $steps);
+ $params = array_merge($params, $optParams);
+ return $this->call('setStepsAtLeast', array($params), "Postman_Google_Service_Games_AchievementSetStepsAtLeastResponse");
+ }
+
+ /**
+ * Unlocks this achievement for the currently authenticated player.
+ * (achievements.unlock)
+ *
+ * @param string $achievementId The ID of the achievement used by this method.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Games_AchievementUnlockResponse
+ */
+ public function unlock($achievementId, $optParams = array())
+ {
+ $params = array('achievementId' => $achievementId);
+ $params = array_merge($params, $optParams);
+ return $this->call('unlock', array($params), "Postman_Google_Service_Games_AchievementUnlockResponse");
+ }
+
+ /**
+ * Updates multiple achievements for the currently authenticated player.
+ * (achievements.updateMultiple)
+ *
+ * @param Postman_Google_AchievementUpdateMultipleRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Games_AchievementUpdateMultipleResponse
+ */
+ public function updateMultiple(Postman_Google_Service_Games_AchievementUpdateMultipleRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updateMultiple', array($params), "Postman_Google_Service_Games_AchievementUpdateMultipleResponse");
+ }
+}
+
+/**
+ * The "applications" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Postman_Google_Service_Games(...);
+ * $applications = $gamesService->applications;
+ * </code>
+ */
+class Postman_Google_Service_Games_Applications_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves the metadata of the application with the given ID. If the requested
+ * application is not available for the specified platformType, the returned
+ * response will not include any instance data. (applications.get)
+ *
+ * @param string $applicationId The application ID from the Google Play
+ * developer console.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string platformType Restrict application details returned to the
+ * specific platform.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_Application
+ */
+ public function get($applicationId, $optParams = array())
+ {
+ $params = array('applicationId' => $applicationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Games_Application");
+ }
+
+ /**
+ * Indicate that the the currently authenticated user is playing your
+ * application. (applications.played)
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function played($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('played', array($params));
+ }
+}
+
+/**
+ * The "events" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Postman_Google_Service_Games(...);
+ * $events = $gamesService->events;
+ * </code>
+ */
+class Postman_Google_Service_Games_Events_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns a list showing the current progress on events in this application for
+ * the currently authenticated user. (events.listByPlayer)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param int maxResults The maximum number of events to return in the
+ * response, used for paging. For any response, the actual number of events to
+ * return may be less than the specified maxResults.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_PlayerEventListResponse
+ */
+ public function listByPlayer($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('listByPlayer', array($params), "Postman_Google_Service_Games_PlayerEventListResponse");
+ }
+
+ /**
+ * Returns a list of the event definitions in this application.
+ * (events.listDefinitions)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param int maxResults The maximum number of event definitions to return
+ * in the response, used for paging. For any response, the actual number of
+ * event definitions to return may be less than the specified maxResults.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_EventDefinitionListResponse
+ */
+ public function listDefinitions($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('listDefinitions', array($params), "Postman_Google_Service_Games_EventDefinitionListResponse");
+ }
+
+ /**
+ * Records a batch of changes to the number of times events have occurred for
+ * the currently authenticated user of this application. (events.record)
+ *
+ * @param Postman_Google_EventRecordRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_EventUpdateResponse
+ */
+ public function record(Postman_Google_Service_Games_EventRecordRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('record', array($params), "Postman_Google_Service_Games_EventUpdateResponse");
+ }
+}
+
+/**
+ * The "leaderboards" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Postman_Google_Service_Games(...);
+ * $leaderboards = $gamesService->leaderboards;
+ * </code>
+ */
+class Postman_Google_Service_Games_Leaderboards_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves the metadata of the leaderboard with the given ID.
+ * (leaderboards.get)
+ *
+ * @param string $leaderboardId The ID of the leaderboard.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_Leaderboard
+ */
+ public function get($leaderboardId, $optParams = array())
+ {
+ $params = array('leaderboardId' => $leaderboardId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Games_Leaderboard");
+ }
+
+ /**
+ * Lists all the leaderboard metadata for your application.
+ * (leaderboards.listLeaderboards)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param int maxResults The maximum number of leaderboards to return in the
+ * response. For any response, the actual number of leaderboards returned may be
+ * less than the specified maxResults.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_LeaderboardListResponse
+ */
+ public function listLeaderboards($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Games_LeaderboardListResponse");
+ }
+}
+
+/**
+ * The "metagame" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Postman_Google_Service_Games(...);
+ * $metagame = $gamesService->metagame;
+ * </code>
+ */
+class Postman_Google_Service_Games_Metagame_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Return the metagame configuration data for the calling application.
+ * (metagame.getMetagameConfig)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Games_MetagameConfig
+ */
+ public function getMetagameConfig($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('getMetagameConfig', array($params), "Postman_Google_Service_Games_MetagameConfig");
+ }
+
+ /**
+ * List play data aggregated per category for the player corresponding to
+ * playerId. (metagame.listCategoriesByPlayer)
+ *
+ * @param string $playerId A player ID. A value of me may be used in place of
+ * the authenticated player's ID.
+ * @param string $collection The collection of categories for which data will be
+ * returned.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param int maxResults The maximum number of category resources to return
+ * in the response, used for paging. For any response, the actual number of
+ * category resources returned may be less than the specified maxResults.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_CategoryListResponse
+ */
+ public function listCategoriesByPlayer($playerId, $collection, $optParams = array())
+ {
+ $params = array('playerId' => $playerId, 'collection' => $collection);
+ $params = array_merge($params, $optParams);
+ return $this->call('listCategoriesByPlayer', array($params), "Postman_Google_Service_Games_CategoryListResponse");
+ }
+}
+
+/**
+ * The "players" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Postman_Google_Service_Games(...);
+ * $players = $gamesService->players;
+ * </code>
+ */
+class Postman_Google_Service_Games_Players_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves the Player resource with the given ID. To retrieve the player for
+ * the currently authenticated user, set playerId to me. (players.get)
+ *
+ * @param string $playerId A player ID. A value of me may be used in place of
+ * the authenticated player's ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_Player
+ */
+ public function get($playerId, $optParams = array())
+ {
+ $params = array('playerId' => $playerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Games_Player");
+ }
+
+ /**
+ * Get the collection of players for the currently authenticated user.
+ * (players.listPlayers)
+ *
+ * @param string $collection Collection of players being retrieved
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param int maxResults The maximum number of player resources to return in
+ * the response, used for paging. For any response, the actual number of player
+ * resources returned may be less than the specified maxResults.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_PlayerListResponse
+ */
+ public function listPlayers($collection, $optParams = array())
+ {
+ $params = array('collection' => $collection);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Games_PlayerListResponse");
+ }
+}
+
+/**
+ * The "pushtokens" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Postman_Google_Service_Games(...);
+ * $pushtokens = $gamesService->pushtokens;
+ * </code>
+ */
+class Postman_Google_Service_Games_Pushtokens_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Removes a push token for the current user and application. Removing a non-
+ * existent push token will report success. (pushtokens.remove)
+ *
+ * @param Postman_Google_PushTokenId $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function remove(Postman_Google_Service_Games_PushTokenId $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('remove', array($params));
+ }
+
+ /**
+ * Registers a push token for the current user and application.
+ * (pushtokens.update)
+ *
+ * @param Postman_Google_PushToken $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function update(Postman_Google_Service_Games_PushToken $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params));
+ }
+}
+
+/**
+ * The "questMilestones" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Postman_Google_Service_Games(...);
+ * $questMilestones = $gamesService->questMilestones;
+ * </code>
+ */
+class Postman_Google_Service_Games_QuestMilestones_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Report that a reward for the milestone corresponding to milestoneId for the
+ * quest corresponding to questId has been claimed by the currently authorized
+ * user. (questMilestones.claim)
+ *
+ * @param string $questId The ID of the quest.
+ * @param string $milestoneId The ID of the milestone.
+ * @param string $requestId A numeric ID to ensure that the request is handled
+ * correctly across retries. Your client application must generate this ID
+ * randomly.
+ * @param array $optParams Optional parameters.
+ */
+ public function claim($questId, $milestoneId, $requestId, $optParams = array())
+ {
+ $params = array('questId' => $questId, 'milestoneId' => $milestoneId, 'requestId' => $requestId);
+ $params = array_merge($params, $optParams);
+ return $this->call('claim', array($params));
+ }
+}
+
+/**
+ * The "quests" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Postman_Google_Service_Games(...);
+ * $quests = $gamesService->quests;
+ * </code>
+ */
+class Postman_Google_Service_Games_Quests_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Indicates that the currently authorized user will participate in the quest.
+ * (quests.accept)
+ *
+ * @param string $questId The ID of the quest.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_Quest
+ */
+ public function accept($questId, $optParams = array())
+ {
+ $params = array('questId' => $questId);
+ $params = array_merge($params, $optParams);
+ return $this->call('accept', array($params), "Postman_Google_Service_Games_Quest");
+ }
+
+ /**
+ * Get a list of quests for your application and the currently authenticated
+ * player. (quests.listQuests)
+ *
+ * @param string $playerId A player ID. A value of me may be used in place of
+ * the authenticated player's ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param int maxResults The maximum number of quest resources to return in
+ * the response, used for paging. For any response, the actual number of quest
+ * resources returned may be less than the specified maxResults. Acceptable
+ * values are 1 to 50, inclusive. (Default: 50).
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_QuestListResponse
+ */
+ public function listQuests($playerId, $optParams = array())
+ {
+ $params = array('playerId' => $playerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Games_QuestListResponse");
+ }
+}
+
+/**
+ * The "revisions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Postman_Google_Service_Games(...);
+ * $revisions = $gamesService->revisions;
+ * </code>
+ */
+class Postman_Google_Service_Games_Revisions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Checks whether the games client is out of date. (revisions.check)
+ *
+ * @param string $clientRevision The revision of the client SDK used by your
+ * application. Format: [PLATFORM_TYPE]:[VERSION_NUMBER]. Possible values of
+ * PLATFORM_TYPE are: - "ANDROID" - Client is running the Android SDK. -
+ * "IOS" - Client is running the iOS SDK. - "WEB_APP" - Client is running as a
+ * Web App.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Games_RevisionCheckResponse
+ */
+ public function check($clientRevision, $optParams = array())
+ {
+ $params = array('clientRevision' => $clientRevision);
+ $params = array_merge($params, $optParams);
+ return $this->call('check', array($params), "Postman_Google_Service_Games_RevisionCheckResponse");
+ }
+}
+
+/**
+ * The "rooms" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Postman_Google_Service_Games(...);
+ * $rooms = $gamesService->rooms;
+ * </code>
+ */
+class Postman_Google_Service_Games_Rooms_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Create a room. For internal use by the Games SDK only. Calling this method
+ * directly is unsupported. (rooms.create)
+ *
+ * @param Postman_Google_RoomCreateRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_Room
+ */
+ public function create(Postman_Google_Service_Games_RoomCreateRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_Games_Room");
+ }
+
+ /**
+ * Decline an invitation to join a room. For internal use by the Games SDK only.
+ * Calling this method directly is unsupported. (rooms.decline)
+ *
+ * @param string $roomId The ID of the room.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_Room
+ */
+ public function decline($roomId, $optParams = array())
+ {
+ $params = array('roomId' => $roomId);
+ $params = array_merge($params, $optParams);
+ return $this->call('decline', array($params), "Postman_Google_Service_Games_Room");
+ }
+
+ /**
+ * Dismiss an invitation to join a room. For internal use by the Games SDK only.
+ * Calling this method directly is unsupported. (rooms.dismiss)
+ *
+ * @param string $roomId The ID of the room.
+ * @param array $optParams Optional parameters.
+ */
+ public function dismiss($roomId, $optParams = array())
+ {
+ $params = array('roomId' => $roomId);
+ $params = array_merge($params, $optParams);
+ return $this->call('dismiss', array($params));
+ }
+
+ /**
+ * Get the data for a room. (rooms.get)
+ *
+ * @param string $roomId The ID of the room.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_Room
+ */
+ public function get($roomId, $optParams = array())
+ {
+ $params = array('roomId' => $roomId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Games_Room");
+ }
+
+ /**
+ * Join a room. For internal use by the Games SDK only. Calling this method
+ * directly is unsupported. (rooms.join)
+ *
+ * @param string $roomId The ID of the room.
+ * @param Postman_Google_RoomJoinRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_Room
+ */
+ public function join($roomId, Postman_Google_Service_Games_RoomJoinRequest $postBody, $optParams = array())
+ {
+ $params = array('roomId' => $roomId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('join', array($params), "Postman_Google_Service_Games_Room");
+ }
+
+ /**
+ * Leave a room. For internal use by the Games SDK only. Calling this method
+ * directly is unsupported. (rooms.leave)
+ *
+ * @param string $roomId The ID of the room.
+ * @param Postman_Google_RoomLeaveRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_Room
+ */
+ public function leave($roomId, Postman_Google_Service_Games_RoomLeaveRequest $postBody, $optParams = array())
+ {
+ $params = array('roomId' => $roomId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('leave', array($params), "Postman_Google_Service_Games_Room");
+ }
+
+ /**
+ * Returns invitations to join rooms. (rooms.listRooms)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param int maxResults The maximum number of rooms to return in the
+ * response, used for paging. For any response, the actual number of rooms to
+ * return may be less than the specified maxResults.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_RoomList
+ */
+ public function listRooms($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Games_RoomList");
+ }
+
+ /**
+ * Updates sent by a client reporting the status of peers in a room. For
+ * internal use by the Games SDK only. Calling this method directly is
+ * unsupported. (rooms.reportStatus)
+ *
+ * @param string $roomId The ID of the room.
+ * @param Postman_Google_RoomP2PStatuses $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_RoomStatus
+ */
+ public function reportStatus($roomId, Postman_Google_Service_Games_RoomP2PStatuses $postBody, $optParams = array())
+ {
+ $params = array('roomId' => $roomId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('reportStatus', array($params), "Postman_Google_Service_Games_RoomStatus");
+ }
+}
+
+/**
+ * The "scores" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Postman_Google_Service_Games(...);
+ * $scores = $gamesService->scores;
+ * </code>
+ */
+class Postman_Google_Service_Games_Scores_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Get high scores, and optionally ranks, in leaderboards for the currently
+ * authenticated player. For a specific time span, leaderboardId can be set to
+ * ALL to retrieve data for all leaderboards in a given time span. NOTE: You
+ * cannot ask for 'ALL' leaderboards and 'ALL' timeSpans in the same request;
+ * only one parameter may be set to 'ALL'. (scores.get)
+ *
+ * @param string $playerId A player ID. A value of me may be used in place of
+ * the authenticated player's ID.
+ * @param string $leaderboardId The ID of the leaderboard. Can be set to 'ALL'
+ * to retrieve data for all leaderboards for this application.
+ * @param string $timeSpan The time span for the scores and ranks you're
+ * requesting.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string includeRankType The types of ranks to return. If the
+ * parameter is omitted, no ranks will be returned.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @opt_param int maxResults The maximum number of leaderboard scores to return
+ * in the response. For any response, the actual number of leaderboard scores
+ * returned may be less than the specified maxResults.
+ * @opt_param string pageToken The token returned by the previous request.
+ * @return Postman_Google_Service_Games_PlayerLeaderboardScoreListResponse
+ */
+ public function get($playerId, $leaderboardId, $timeSpan, $optParams = array())
+ {
+ $params = array('playerId' => $playerId, 'leaderboardId' => $leaderboardId, 'timeSpan' => $timeSpan);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Games_PlayerLeaderboardScoreListResponse");
+ }
+
+ /**
+ * Lists the scores in a leaderboard, starting from the top. (scores.listScores)
+ *
+ * @param string $leaderboardId The ID of the leaderboard.
+ * @param string $collection The collection of scores you're requesting.
+ * @param string $timeSpan The time span for the scores and ranks you're
+ * requesting.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @opt_param int maxResults The maximum number of leaderboard scores to return
+ * in the response. For any response, the actual number of leaderboard scores
+ * returned may be less than the specified maxResults.
+ * @opt_param string pageToken The token returned by the previous request.
+ * @return Postman_Google_Service_Games_LeaderboardScores
+ */
+ public function listScores($leaderboardId, $collection, $timeSpan, $optParams = array())
+ {
+ $params = array('leaderboardId' => $leaderboardId, 'collection' => $collection, 'timeSpan' => $timeSpan);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Games_LeaderboardScores");
+ }
+
+ /**
+ * Lists the scores in a leaderboard around (and including) a player's score.
+ * (scores.listWindow)
+ *
+ * @param string $leaderboardId The ID of the leaderboard.
+ * @param string $collection The collection of scores you're requesting.
+ * @param string $timeSpan The time span for the scores and ranks you're
+ * requesting.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @opt_param bool returnTopIfAbsent True if the top scores should be returned
+ * when the player is not in the leaderboard. Defaults to true.
+ * @opt_param int resultsAbove The preferred number of scores to return above
+ * the player's score. More scores may be returned if the player is at the
+ * bottom of the leaderboard; fewer may be returned if the player is at the top.
+ * Must be less than or equal to maxResults.
+ * @opt_param int maxResults The maximum number of leaderboard scores to return
+ * in the response. For any response, the actual number of leaderboard scores
+ * returned may be less than the specified maxResults.
+ * @opt_param string pageToken The token returned by the previous request.
+ * @return Postman_Google_Service_Games_LeaderboardScores
+ */
+ public function listWindow($leaderboardId, $collection, $timeSpan, $optParams = array())
+ {
+ $params = array('leaderboardId' => $leaderboardId, 'collection' => $collection, 'timeSpan' => $timeSpan);
+ $params = array_merge($params, $optParams);
+ return $this->call('listWindow', array($params), "Postman_Google_Service_Games_LeaderboardScores");
+ }
+
+ /**
+ * Submits a score to the specified leaderboard. (scores.submit)
+ *
+ * @param string $leaderboardId The ID of the leaderboard.
+ * @param string $score The score you're submitting. The submitted score is
+ * ignored if it is worse than a previously submitted score, where worse depends
+ * on the leaderboard sort order. The meaning of the score value depends on the
+ * leaderboard format type. For fixed-point, the score represents the raw value.
+ * For time, the score represents elapsed time in milliseconds. For currency,
+ * the score represents a value in micro units.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @opt_param string scoreTag Additional information about the score you're
+ * submitting. Values must contain no more than 64 URI-safe characters as
+ * defined by section 2.3 of RFC 3986.
+ * @return Postman_Google_Service_Games_PlayerScoreResponse
+ */
+ public function submit($leaderboardId, $score, $optParams = array())
+ {
+ $params = array('leaderboardId' => $leaderboardId, 'score' => $score);
+ $params = array_merge($params, $optParams);
+ return $this->call('submit', array($params), "Postman_Google_Service_Games_PlayerScoreResponse");
+ }
+
+ /**
+ * Submits multiple scores to leaderboards. (scores.submitMultiple)
+ *
+ * @param Postman_Google_PlayerScoreSubmissionList $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_PlayerScoreListResponse
+ */
+ public function submitMultiple(Postman_Google_Service_Games_PlayerScoreSubmissionList $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('submitMultiple', array($params), "Postman_Google_Service_Games_PlayerScoreListResponse");
+ }
+}
+
+/**
+ * The "snapshots" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Postman_Google_Service_Games(...);
+ * $snapshots = $gamesService->snapshots;
+ * </code>
+ */
+class Postman_Google_Service_Games_Snapshots_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves the metadata for a given snapshot ID. (snapshots.get)
+ *
+ * @param string $snapshotId The ID of the snapshot.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_Snapshot
+ */
+ public function get($snapshotId, $optParams = array())
+ {
+ $params = array('snapshotId' => $snapshotId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Games_Snapshot");
+ }
+
+ /**
+ * Retrieves a list of snapshots created by your application for the player
+ * corresponding to the player ID. (snapshots.listSnapshots)
+ *
+ * @param string $playerId A player ID. A value of me may be used in place of
+ * the authenticated player's ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param int maxResults The maximum number of snapshot resources to return
+ * in the response, used for paging. For any response, the actual number of
+ * snapshot resources returned may be less than the specified maxResults.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_SnapshotListResponse
+ */
+ public function listSnapshots($playerId, $optParams = array())
+ {
+ $params = array('playerId' => $playerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Games_SnapshotListResponse");
+ }
+}
+
+/**
+ * The "turnBasedMatches" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesService = new Postman_Google_Service_Games(...);
+ * $turnBasedMatches = $gamesService->turnBasedMatches;
+ * </code>
+ */
+class Postman_Google_Service_Games_TurnBasedMatches_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Cancel a turn-based match. (turnBasedMatches.cancel)
+ *
+ * @param string $matchId The ID of the match.
+ * @param array $optParams Optional parameters.
+ */
+ public function cancel($matchId, $optParams = array())
+ {
+ $params = array('matchId' => $matchId);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params));
+ }
+
+ /**
+ * Create a turn-based match. (turnBasedMatches.create)
+ *
+ * @param Postman_Google_TurnBasedMatchCreateRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_TurnBasedMatch
+ */
+ public function create(Postman_Google_Service_Games_TurnBasedMatchCreateRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_Games_TurnBasedMatch");
+ }
+
+ /**
+ * Decline an invitation to play a turn-based match. (turnBasedMatches.decline)
+ *
+ * @param string $matchId The ID of the match.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_TurnBasedMatch
+ */
+ public function decline($matchId, $optParams = array())
+ {
+ $params = array('matchId' => $matchId);
+ $params = array_merge($params, $optParams);
+ return $this->call('decline', array($params), "Postman_Google_Service_Games_TurnBasedMatch");
+ }
+
+ /**
+ * Dismiss a turn-based match from the match list. The match will no longer show
+ * up in the list and will not generate notifications.
+ * (turnBasedMatches.dismiss)
+ *
+ * @param string $matchId The ID of the match.
+ * @param array $optParams Optional parameters.
+ */
+ public function dismiss($matchId, $optParams = array())
+ {
+ $params = array('matchId' => $matchId);
+ $params = array_merge($params, $optParams);
+ return $this->call('dismiss', array($params));
+ }
+
+ /**
+ * Finish a turn-based match. Each player should make this call once, after all
+ * results are in. Only the player whose turn it is may make the first call to
+ * Finish, and can pass in the final match state. (turnBasedMatches.finish)
+ *
+ * @param string $matchId The ID of the match.
+ * @param Postman_Google_TurnBasedMatchResults $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_TurnBasedMatch
+ */
+ public function finish($matchId, Postman_Google_Service_Games_TurnBasedMatchResults $postBody, $optParams = array())
+ {
+ $params = array('matchId' => $matchId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('finish', array($params), "Postman_Google_Service_Games_TurnBasedMatch");
+ }
+
+ /**
+ * Get the data for a turn-based match. (turnBasedMatches.get)
+ *
+ * @param string $matchId The ID of the match.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @opt_param bool includeMatchData Get match data along with metadata.
+ * @return Postman_Google_Service_Games_TurnBasedMatch
+ */
+ public function get($matchId, $optParams = array())
+ {
+ $params = array('matchId' => $matchId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Games_TurnBasedMatch");
+ }
+
+ /**
+ * Join a turn-based match. (turnBasedMatches.join)
+ *
+ * @param string $matchId The ID of the match.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_TurnBasedMatch
+ */
+ public function join($matchId, $optParams = array())
+ {
+ $params = array('matchId' => $matchId);
+ $params = array_merge($params, $optParams);
+ return $this->call('join', array($params), "Postman_Google_Service_Games_TurnBasedMatch");
+ }
+
+ /**
+ * Leave a turn-based match when it is not the current player's turn, without
+ * canceling the match. (turnBasedMatches.leave)
+ *
+ * @param string $matchId The ID of the match.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_TurnBasedMatch
+ */
+ public function leave($matchId, $optParams = array())
+ {
+ $params = array('matchId' => $matchId);
+ $params = array_merge($params, $optParams);
+ return $this->call('leave', array($params), "Postman_Google_Service_Games_TurnBasedMatch");
+ }
+
+ /**
+ * Leave a turn-based match during the current player's turn, without canceling
+ * the match. (turnBasedMatches.leaveTurn)
+ *
+ * @param string $matchId The ID of the match.
+ * @param int $matchVersion The version of the match being updated.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @opt_param string pendingParticipantId The ID of another participant who
+ * should take their turn next. If not set, the match will wait for other
+ * player(s) to join via automatching; this is only valid if automatch criteria
+ * is set on the match with remaining slots for automatched players.
+ * @return Postman_Google_Service_Games_TurnBasedMatch
+ */
+ public function leaveTurn($matchId, $matchVersion, $optParams = array())
+ {
+ $params = array('matchId' => $matchId, 'matchVersion' => $matchVersion);
+ $params = array_merge($params, $optParams);
+ return $this->call('leaveTurn', array($params), "Postman_Google_Service_Games_TurnBasedMatch");
+ }
+
+ /**
+ * Returns turn-based matches the player is or was involved in.
+ * (turnBasedMatches.listTurnBasedMatches)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param int maxCompletedMatches The maximum number of completed or
+ * canceled matches to return in the response. If not set, all matches returned
+ * could be completed or canceled.
+ * @opt_param int maxResults The maximum number of matches to return in the
+ * response, used for paging. For any response, the actual number of matches to
+ * return may be less than the specified maxResults.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @opt_param bool includeMatchData True if match data should be returned in the
+ * response. Note that not all data will necessarily be returned if
+ * include_match_data is true; the server may decide to only return data for
+ * some of the matches to limit download size for the client. The remainder of
+ * the data for these matches will be retrievable on request.
+ * @return Postman_Google_Service_Games_TurnBasedMatchList
+ */
+ public function listTurnBasedMatches($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Games_TurnBasedMatchList");
+ }
+
+ /**
+ * Create a rematch of a match that was previously completed, with the same
+ * participants. This can be called by only one player on a match still in their
+ * list; the player must have called Finish first. Returns the newly created
+ * match; it will be the caller's turn. (turnBasedMatches.rematch)
+ *
+ * @param string $matchId The ID of the match.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string requestId A randomly generated numeric ID for each request
+ * specified by the caller. This number is used at the server to ensure that the
+ * request is handled correctly across retries.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_TurnBasedMatchRematch
+ */
+ public function rematch($matchId, $optParams = array())
+ {
+ $params = array('matchId' => $matchId);
+ $params = array_merge($params, $optParams);
+ return $this->call('rematch', array($params), "Postman_Google_Service_Games_TurnBasedMatchRematch");
+ }
+
+ /**
+ * Returns turn-based matches the player is or was involved in that changed
+ * since the last sync call, with the least recent changes coming first. Matches
+ * that should be removed from the local cache will have a status of
+ * MATCH_DELETED. (turnBasedMatches.sync)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param int maxCompletedMatches The maximum number of completed or
+ * canceled matches to return in the response. If not set, all matches returned
+ * could be completed or canceled.
+ * @opt_param int maxResults The maximum number of matches to return in the
+ * response, used for paging. For any response, the actual number of matches to
+ * return may be less than the specified maxResults.
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @opt_param bool includeMatchData True if match data should be returned in the
+ * response. Note that not all data will necessarily be returned if
+ * include_match_data is true; the server may decide to only return data for
+ * some of the matches to limit download size for the client. The remainder of
+ * the data for these matches will be retrievable on request.
+ * @return Postman_Google_Service_Games_TurnBasedMatchSync
+ */
+ public function sync($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('sync', array($params), "Postman_Google_Service_Games_TurnBasedMatchSync");
+ }
+
+ /**
+ * Commit the results of a player turn. (turnBasedMatches.takeTurn)
+ *
+ * @param string $matchId The ID of the match.
+ * @param Postman_Google_TurnBasedMatchTurn $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The preferred language to use for strings returned
+ * by this method.
+ * @return Postman_Google_Service_Games_TurnBasedMatch
+ */
+ public function takeTurn($matchId, Postman_Google_Service_Games_TurnBasedMatchTurn $postBody, $optParams = array())
+ {
+ $params = array('matchId' => $matchId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('takeTurn', array($params), "Postman_Google_Service_Games_TurnBasedMatch");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Games_AchievementDefinition extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $achievementType;
+ public $description;
+ public $experiencePoints;
+ public $formattedTotalSteps;
+ public $id;
+ public $initialState;
+ public $isRevealedIconUrlDefault;
+ public $isUnlockedIconUrlDefault;
+ public $kind;
+ public $name;
+ public $revealedIconUrl;
+ public $totalSteps;
+ public $unlockedIconUrl;
+
+
+ public function setAchievementType($achievementType)
+ {
+ $this->achievementType = $achievementType;
+ }
+ public function getAchievementType()
+ {
+ return $this->achievementType;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setExperiencePoints($experiencePoints)
+ {
+ $this->experiencePoints = $experiencePoints;
+ }
+ public function getExperiencePoints()
+ {
+ return $this->experiencePoints;
+ }
+ public function setFormattedTotalSteps($formattedTotalSteps)
+ {
+ $this->formattedTotalSteps = $formattedTotalSteps;
+ }
+ public function getFormattedTotalSteps()
+ {
+ return $this->formattedTotalSteps;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInitialState($initialState)
+ {
+ $this->initialState = $initialState;
+ }
+ public function getInitialState()
+ {
+ return $this->initialState;
+ }
+ public function setIsRevealedIconUrlDefault($isRevealedIconUrlDefault)
+ {
+ $this->isRevealedIconUrlDefault = $isRevealedIconUrlDefault;
+ }
+ public function getIsRevealedIconUrlDefault()
+ {
+ return $this->isRevealedIconUrlDefault;
+ }
+ public function setIsUnlockedIconUrlDefault($isUnlockedIconUrlDefault)
+ {
+ $this->isUnlockedIconUrlDefault = $isUnlockedIconUrlDefault;
+ }
+ public function getIsUnlockedIconUrlDefault()
+ {
+ return $this->isUnlockedIconUrlDefault;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setRevealedIconUrl($revealedIconUrl)
+ {
+ $this->revealedIconUrl = $revealedIconUrl;
+ }
+ public function getRevealedIconUrl()
+ {
+ return $this->revealedIconUrl;
+ }
+ public function setTotalSteps($totalSteps)
+ {
+ $this->totalSteps = $totalSteps;
+ }
+ public function getTotalSteps()
+ {
+ return $this->totalSteps;
+ }
+ public function setUnlockedIconUrl($unlockedIconUrl)
+ {
+ $this->unlockedIconUrl = $unlockedIconUrl;
+ }
+ public function getUnlockedIconUrl()
+ {
+ return $this->unlockedIconUrl;
+ }
+}
+
+class Postman_Google_Service_Games_AchievementDefinitionsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Games_AchievementDefinition';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Games_AchievementIncrementResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $currentSteps;
+ public $kind;
+ public $newlyUnlocked;
+
+
+ public function setCurrentSteps($currentSteps)
+ {
+ $this->currentSteps = $currentSteps;
+ }
+ public function getCurrentSteps()
+ {
+ return $this->currentSteps;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNewlyUnlocked($newlyUnlocked)
+ {
+ $this->newlyUnlocked = $newlyUnlocked;
+ }
+ public function getNewlyUnlocked()
+ {
+ return $this->newlyUnlocked;
+ }
+}
+
+class Postman_Google_Service_Games_AchievementRevealResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $currentState;
+ public $kind;
+
+
+ public function setCurrentState($currentState)
+ {
+ $this->currentState = $currentState;
+ }
+ public function getCurrentState()
+ {
+ return $this->currentState;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Games_AchievementSetStepsAtLeastResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $currentSteps;
+ public $kind;
+ public $newlyUnlocked;
+
+
+ public function setCurrentSteps($currentSteps)
+ {
+ $this->currentSteps = $currentSteps;
+ }
+ public function getCurrentSteps()
+ {
+ return $this->currentSteps;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNewlyUnlocked($newlyUnlocked)
+ {
+ $this->newlyUnlocked = $newlyUnlocked;
+ }
+ public function getNewlyUnlocked()
+ {
+ return $this->newlyUnlocked;
+ }
+}
+
+class Postman_Google_Service_Games_AchievementUnlockResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $newlyUnlocked;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNewlyUnlocked($newlyUnlocked)
+ {
+ $this->newlyUnlocked = $newlyUnlocked;
+ }
+ public function getNewlyUnlocked()
+ {
+ return $this->newlyUnlocked;
+ }
+}
+
+class Postman_Google_Service_Games_AchievementUpdateMultipleRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'updates';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $updatesType = 'Postman_Google_Service_Games_AchievementUpdateRequest';
+ protected $updatesDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUpdates($updates)
+ {
+ $this->updates = $updates;
+ }
+ public function getUpdates()
+ {
+ return $this->updates;
+ }
+}
+
+class Postman_Google_Service_Games_AchievementUpdateMultipleResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'updatedAchievements';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $updatedAchievementsType = 'Postman_Google_Service_Games_AchievementUpdateResponse';
+ protected $updatedAchievementsDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUpdatedAchievements($updatedAchievements)
+ {
+ $this->updatedAchievements = $updatedAchievements;
+ }
+ public function getUpdatedAchievements()
+ {
+ return $this->updatedAchievements;
+ }
+}
+
+class Postman_Google_Service_Games_AchievementUpdateRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $achievementId;
+ protected $incrementPayloadType = 'Postman_Google_Service_Games_GamesAchievementIncrement';
+ protected $incrementPayloadDataType = '';
+ public $kind;
+ protected $setStepsAtLeastPayloadType = 'Postman_Google_Service_Games_GamesAchievementSetStepsAtLeast';
+ protected $setStepsAtLeastPayloadDataType = '';
+ public $updateType;
+
+
+ public function setAchievementId($achievementId)
+ {
+ $this->achievementId = $achievementId;
+ }
+ public function getAchievementId()
+ {
+ return $this->achievementId;
+ }
+ public function setIncrementPayload(Postman_Google_Service_Games_GamesAchievementIncrement $incrementPayload)
+ {
+ $this->incrementPayload = $incrementPayload;
+ }
+ public function getIncrementPayload()
+ {
+ return $this->incrementPayload;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSetStepsAtLeastPayload(Postman_Google_Service_Games_GamesAchievementSetStepsAtLeast $setStepsAtLeastPayload)
+ {
+ $this->setStepsAtLeastPayload = $setStepsAtLeastPayload;
+ }
+ public function getSetStepsAtLeastPayload()
+ {
+ return $this->setStepsAtLeastPayload;
+ }
+ public function setUpdateType($updateType)
+ {
+ $this->updateType = $updateType;
+ }
+ public function getUpdateType()
+ {
+ return $this->updateType;
+ }
+}
+
+class Postman_Google_Service_Games_AchievementUpdateResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $achievementId;
+ public $currentState;
+ public $currentSteps;
+ public $kind;
+ public $newlyUnlocked;
+ public $updateOccurred;
+
+
+ public function setAchievementId($achievementId)
+ {
+ $this->achievementId = $achievementId;
+ }
+ public function getAchievementId()
+ {
+ return $this->achievementId;
+ }
+ public function setCurrentState($currentState)
+ {
+ $this->currentState = $currentState;
+ }
+ public function getCurrentState()
+ {
+ return $this->currentState;
+ }
+ public function setCurrentSteps($currentSteps)
+ {
+ $this->currentSteps = $currentSteps;
+ }
+ public function getCurrentSteps()
+ {
+ return $this->currentSteps;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNewlyUnlocked($newlyUnlocked)
+ {
+ $this->newlyUnlocked = $newlyUnlocked;
+ }
+ public function getNewlyUnlocked()
+ {
+ return $this->newlyUnlocked;
+ }
+ public function setUpdateOccurred($updateOccurred)
+ {
+ $this->updateOccurred = $updateOccurred;
+ }
+ public function getUpdateOccurred()
+ {
+ return $this->updateOccurred;
+ }
+}
+
+class Postman_Google_Service_Games_AggregateStats extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $count;
+ public $kind;
+ public $max;
+ public $min;
+ public $sum;
+
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMax($max)
+ {
+ $this->max = $max;
+ }
+ public function getMax()
+ {
+ return $this->max;
+ }
+ public function setMin($min)
+ {
+ $this->min = $min;
+ }
+ public function getMin()
+ {
+ return $this->min;
+ }
+ public function setSum($sum)
+ {
+ $this->sum = $sum;
+ }
+ public function getSum()
+ {
+ return $this->sum;
+ }
+}
+
+class Postman_Google_Service_Games_AnonymousPlayer extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $avatarImageUrl;
+ public $displayName;
+ public $kind;
+
+
+ public function setAvatarImageUrl($avatarImageUrl)
+ {
+ $this->avatarImageUrl = $avatarImageUrl;
+ }
+ public function getAvatarImageUrl()
+ {
+ return $this->avatarImageUrl;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Games_Application extends Postman_Google_Collection
+{
+ protected $collection_key = 'instances';
+ protected $internal_gapi_mappings = array(
+ "achievementCount" => "achievement_count",
+ "leaderboardCount" => "leaderboard_count",
+ );
+ public $achievementCount;
+ protected $assetsType = 'Postman_Google_Service_Games_ImageAsset';
+ protected $assetsDataType = 'array';
+ public $author;
+ protected $categoryType = 'Postman_Google_Service_Games_ApplicationCategory';
+ protected $categoryDataType = '';
+ public $description;
+ public $enabledFeatures;
+ public $id;
+ protected $instancesType = 'Postman_Google_Service_Games_Instance';
+ protected $instancesDataType = 'array';
+ public $kind;
+ public $lastUpdatedTimestamp;
+ public $leaderboardCount;
+ public $name;
+ public $themeColor;
+
+
+ public function setAchievementCount($achievementCount)
+ {
+ $this->achievementCount = $achievementCount;
+ }
+ public function getAchievementCount()
+ {
+ return $this->achievementCount;
+ }
+ public function setAssets($assets)
+ {
+ $this->assets = $assets;
+ }
+ public function getAssets()
+ {
+ return $this->assets;
+ }
+ public function setAuthor($author)
+ {
+ $this->author = $author;
+ }
+ public function getAuthor()
+ {
+ return $this->author;
+ }
+ public function setCategory(Postman_Google_Service_Games_ApplicationCategory $category)
+ {
+ $this->category = $category;
+ }
+ public function getCategory()
+ {
+ return $this->category;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEnabledFeatures($enabledFeatures)
+ {
+ $this->enabledFeatures = $enabledFeatures;
+ }
+ public function getEnabledFeatures()
+ {
+ return $this->enabledFeatures;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastUpdatedTimestamp($lastUpdatedTimestamp)
+ {
+ $this->lastUpdatedTimestamp = $lastUpdatedTimestamp;
+ }
+ public function getLastUpdatedTimestamp()
+ {
+ return $this->lastUpdatedTimestamp;
+ }
+ public function setLeaderboardCount($leaderboardCount)
+ {
+ $this->leaderboardCount = $leaderboardCount;
+ }
+ public function getLeaderboardCount()
+ {
+ return $this->leaderboardCount;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setThemeColor($themeColor)
+ {
+ $this->themeColor = $themeColor;
+ }
+ public function getThemeColor()
+ {
+ return $this->themeColor;
+ }
+}
+
+class Postman_Google_Service_Games_ApplicationCategory extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $primary;
+ public $secondary;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPrimary($primary)
+ {
+ $this->primary = $primary;
+ }
+ public function getPrimary()
+ {
+ return $this->primary;
+ }
+ public function setSecondary($secondary)
+ {
+ $this->secondary = $secondary;
+ }
+ public function getSecondary()
+ {
+ return $this->secondary;
+ }
+}
+
+class Postman_Google_Service_Games_Category extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $category;
+ public $experiencePoints;
+ public $kind;
+
+
+ public function setCategory($category)
+ {
+ $this->category = $category;
+ }
+ public function getCategory()
+ {
+ return $this->category;
+ }
+ public function setExperiencePoints($experiencePoints)
+ {
+ $this->experiencePoints = $experiencePoints;
+ }
+ public function getExperiencePoints()
+ {
+ return $this->experiencePoints;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Games_CategoryListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Games_Category';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Games_EventBatchRecordFailure extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $failureCause;
+ public $kind;
+ protected $rangeType = 'Postman_Google_Service_Games_EventPeriodRange';
+ protected $rangeDataType = '';
+
+
+ public function setFailureCause($failureCause)
+ {
+ $this->failureCause = $failureCause;
+ }
+ public function getFailureCause()
+ {
+ return $this->failureCause;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRange(Postman_Google_Service_Games_EventPeriodRange $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+}
+
+class Postman_Google_Service_Games_EventChild extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $childId;
+ public $kind;
+
+
+ public function setChildId($childId)
+ {
+ $this->childId = $childId;
+ }
+ public function getChildId()
+ {
+ return $this->childId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Games_EventDefinition extends Postman_Google_Collection
+{
+ protected $collection_key = 'childEvents';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $childEventsType = 'Postman_Google_Service_Games_EventChild';
+ protected $childEventsDataType = 'array';
+ public $description;
+ public $displayName;
+ public $id;
+ public $imageUrl;
+ public $isDefaultImageUrl;
+ public $kind;
+ public $visibility;
+
+
+ public function setChildEvents($childEvents)
+ {
+ $this->childEvents = $childEvents;
+ }
+ public function getChildEvents()
+ {
+ return $this->childEvents;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImageUrl($imageUrl)
+ {
+ $this->imageUrl = $imageUrl;
+ }
+ public function getImageUrl()
+ {
+ return $this->imageUrl;
+ }
+ public function setIsDefaultImageUrl($isDefaultImageUrl)
+ {
+ $this->isDefaultImageUrl = $isDefaultImageUrl;
+ }
+ public function getIsDefaultImageUrl()
+ {
+ return $this->isDefaultImageUrl;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Postman_Google_Service_Games_EventDefinitionListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Games_EventDefinition';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Games_EventPeriodRange extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $periodEndMillis;
+ public $periodStartMillis;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPeriodEndMillis($periodEndMillis)
+ {
+ $this->periodEndMillis = $periodEndMillis;
+ }
+ public function getPeriodEndMillis()
+ {
+ return $this->periodEndMillis;
+ }
+ public function setPeriodStartMillis($periodStartMillis)
+ {
+ $this->periodStartMillis = $periodStartMillis;
+ }
+ public function getPeriodStartMillis()
+ {
+ return $this->periodStartMillis;
+ }
+}
+
+class Postman_Google_Service_Games_EventPeriodUpdate extends Postman_Google_Collection
+{
+ protected $collection_key = 'updates';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $timePeriodType = 'Postman_Google_Service_Games_EventPeriodRange';
+ protected $timePeriodDataType = '';
+ protected $updatesType = 'Postman_Google_Service_Games_EventUpdateRequest';
+ protected $updatesDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setTimePeriod(Postman_Google_Service_Games_EventPeriodRange $timePeriod)
+ {
+ $this->timePeriod = $timePeriod;
+ }
+ public function getTimePeriod()
+ {
+ return $this->timePeriod;
+ }
+ public function setUpdates($updates)
+ {
+ $this->updates = $updates;
+ }
+ public function getUpdates()
+ {
+ return $this->updates;
+ }
+}
+
+class Postman_Google_Service_Games_EventRecordFailure extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $eventId;
+ public $failureCause;
+ public $kind;
+
+
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+ public function setFailureCause($failureCause)
+ {
+ $this->failureCause = $failureCause;
+ }
+ public function getFailureCause()
+ {
+ return $this->failureCause;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Games_EventRecordRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'timePeriods';
+ protected $internal_gapi_mappings = array(
+ );
+ public $currentTimeMillis;
+ public $kind;
+ public $requestId;
+ protected $timePeriodsType = 'Postman_Google_Service_Games_EventPeriodUpdate';
+ protected $timePeriodsDataType = 'array';
+
+
+ public function setCurrentTimeMillis($currentTimeMillis)
+ {
+ $this->currentTimeMillis = $currentTimeMillis;
+ }
+ public function getCurrentTimeMillis()
+ {
+ return $this->currentTimeMillis;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRequestId($requestId)
+ {
+ $this->requestId = $requestId;
+ }
+ public function getRequestId()
+ {
+ return $this->requestId;
+ }
+ public function setTimePeriods($timePeriods)
+ {
+ $this->timePeriods = $timePeriods;
+ }
+ public function getTimePeriods()
+ {
+ return $this->timePeriods;
+ }
+}
+
+class Postman_Google_Service_Games_EventUpdateRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $definitionId;
+ public $kind;
+ public $updateCount;
+
+
+ public function setDefinitionId($definitionId)
+ {
+ $this->definitionId = $definitionId;
+ }
+ public function getDefinitionId()
+ {
+ return $this->definitionId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUpdateCount($updateCount)
+ {
+ $this->updateCount = $updateCount;
+ }
+ public function getUpdateCount()
+ {
+ return $this->updateCount;
+ }
+}
+
+class Postman_Google_Service_Games_EventUpdateResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'playerEvents';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $batchFailuresType = 'Postman_Google_Service_Games_EventBatchRecordFailure';
+ protected $batchFailuresDataType = 'array';
+ protected $eventFailuresType = 'Postman_Google_Service_Games_EventRecordFailure';
+ protected $eventFailuresDataType = 'array';
+ public $kind;
+ protected $playerEventsType = 'Postman_Google_Service_Games_PlayerEvent';
+ protected $playerEventsDataType = 'array';
+
+
+ public function setBatchFailures($batchFailures)
+ {
+ $this->batchFailures = $batchFailures;
+ }
+ public function getBatchFailures()
+ {
+ return $this->batchFailures;
+ }
+ public function setEventFailures($eventFailures)
+ {
+ $this->eventFailures = $eventFailures;
+ }
+ public function getEventFailures()
+ {
+ return $this->eventFailures;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPlayerEvents($playerEvents)
+ {
+ $this->playerEvents = $playerEvents;
+ }
+ public function getPlayerEvents()
+ {
+ return $this->playerEvents;
+ }
+}
+
+class Postman_Google_Service_Games_GamesAchievementIncrement extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $requestId;
+ public $steps;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRequestId($requestId)
+ {
+ $this->requestId = $requestId;
+ }
+ public function getRequestId()
+ {
+ return $this->requestId;
+ }
+ public function setSteps($steps)
+ {
+ $this->steps = $steps;
+ }
+ public function getSteps()
+ {
+ return $this->steps;
+ }
+}
+
+class Postman_Google_Service_Games_GamesAchievementSetStepsAtLeast extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $steps;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSteps($steps)
+ {
+ $this->steps = $steps;
+ }
+ public function getSteps()
+ {
+ return $this->steps;
+ }
+}
+
+class Postman_Google_Service_Games_ImageAsset extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $height;
+ public $kind;
+ public $name;
+ public $url;
+ public $width;
+
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_Games_Instance extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $acquisitionUri;
+ protected $androidInstanceType = 'Postman_Google_Service_Games_InstanceAndroidDetails';
+ protected $androidInstanceDataType = '';
+ protected $iosInstanceType = 'Postman_Google_Service_Games_InstanceIosDetails';
+ protected $iosInstanceDataType = '';
+ public $kind;
+ public $name;
+ public $platformType;
+ public $realtimePlay;
+ public $turnBasedPlay;
+ protected $webInstanceType = 'Postman_Google_Service_Games_InstanceWebDetails';
+ protected $webInstanceDataType = '';
+
+
+ public function setAcquisitionUri($acquisitionUri)
+ {
+ $this->acquisitionUri = $acquisitionUri;
+ }
+ public function getAcquisitionUri()
+ {
+ return $this->acquisitionUri;
+ }
+ public function setAndroidInstance(Postman_Google_Service_Games_InstanceAndroidDetails $androidInstance)
+ {
+ $this->androidInstance = $androidInstance;
+ }
+ public function getAndroidInstance()
+ {
+ return $this->androidInstance;
+ }
+ public function setIosInstance(Postman_Google_Service_Games_InstanceIosDetails $iosInstance)
+ {
+ $this->iosInstance = $iosInstance;
+ }
+ public function getIosInstance()
+ {
+ return $this->iosInstance;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPlatformType($platformType)
+ {
+ $this->platformType = $platformType;
+ }
+ public function getPlatformType()
+ {
+ return $this->platformType;
+ }
+ public function setRealtimePlay($realtimePlay)
+ {
+ $this->realtimePlay = $realtimePlay;
+ }
+ public function getRealtimePlay()
+ {
+ return $this->realtimePlay;
+ }
+ public function setTurnBasedPlay($turnBasedPlay)
+ {
+ $this->turnBasedPlay = $turnBasedPlay;
+ }
+ public function getTurnBasedPlay()
+ {
+ return $this->turnBasedPlay;
+ }
+ public function setWebInstance(Postman_Google_Service_Games_InstanceWebDetails $webInstance)
+ {
+ $this->webInstance = $webInstance;
+ }
+ public function getWebInstance()
+ {
+ return $this->webInstance;
+ }
+}
+
+class Postman_Google_Service_Games_InstanceAndroidDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $enablePiracyCheck;
+ public $kind;
+ public $packageName;
+ public $preferred;
+
+
+ public function setEnablePiracyCheck($enablePiracyCheck)
+ {
+ $this->enablePiracyCheck = $enablePiracyCheck;
+ }
+ public function getEnablePiracyCheck()
+ {
+ return $this->enablePiracyCheck;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPackageName($packageName)
+ {
+ $this->packageName = $packageName;
+ }
+ public function getPackageName()
+ {
+ return $this->packageName;
+ }
+ public function setPreferred($preferred)
+ {
+ $this->preferred = $preferred;
+ }
+ public function getPreferred()
+ {
+ return $this->preferred;
+ }
+}
+
+class Postman_Google_Service_Games_InstanceIosDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $bundleIdentifier;
+ public $itunesAppId;
+ public $kind;
+ public $preferredForIpad;
+ public $preferredForIphone;
+ public $supportIpad;
+ public $supportIphone;
+
+
+ public function setBundleIdentifier($bundleIdentifier)
+ {
+ $this->bundleIdentifier = $bundleIdentifier;
+ }
+ public function getBundleIdentifier()
+ {
+ return $this->bundleIdentifier;
+ }
+ public function setItunesAppId($itunesAppId)
+ {
+ $this->itunesAppId = $itunesAppId;
+ }
+ public function getItunesAppId()
+ {
+ return $this->itunesAppId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPreferredForIpad($preferredForIpad)
+ {
+ $this->preferredForIpad = $preferredForIpad;
+ }
+ public function getPreferredForIpad()
+ {
+ return $this->preferredForIpad;
+ }
+ public function setPreferredForIphone($preferredForIphone)
+ {
+ $this->preferredForIphone = $preferredForIphone;
+ }
+ public function getPreferredForIphone()
+ {
+ return $this->preferredForIphone;
+ }
+ public function setSupportIpad($supportIpad)
+ {
+ $this->supportIpad = $supportIpad;
+ }
+ public function getSupportIpad()
+ {
+ return $this->supportIpad;
+ }
+ public function setSupportIphone($supportIphone)
+ {
+ $this->supportIphone = $supportIphone;
+ }
+ public function getSupportIphone()
+ {
+ return $this->supportIphone;
+ }
+}
+
+class Postman_Google_Service_Games_InstanceWebDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $launchUrl;
+ public $preferred;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLaunchUrl($launchUrl)
+ {
+ $this->launchUrl = $launchUrl;
+ }
+ public function getLaunchUrl()
+ {
+ return $this->launchUrl;
+ }
+ public function setPreferred($preferred)
+ {
+ $this->preferred = $preferred;
+ }
+ public function getPreferred()
+ {
+ return $this->preferred;
+ }
+}
+
+class Postman_Google_Service_Games_Leaderboard extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $iconUrl;
+ public $id;
+ public $isIconUrlDefault;
+ public $kind;
+ public $name;
+ public $order;
+
+
+ public function setIconUrl($iconUrl)
+ {
+ $this->iconUrl = $iconUrl;
+ }
+ public function getIconUrl()
+ {
+ return $this->iconUrl;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIsIconUrlDefault($isIconUrlDefault)
+ {
+ $this->isIconUrlDefault = $isIconUrlDefault;
+ }
+ public function getIsIconUrlDefault()
+ {
+ return $this->isIconUrlDefault;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOrder($order)
+ {
+ $this->order = $order;
+ }
+ public function getOrder()
+ {
+ return $this->order;
+ }
+}
+
+class Postman_Google_Service_Games_LeaderboardEntry extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $formattedScore;
+ public $formattedScoreRank;
+ public $kind;
+ protected $playerType = 'Postman_Google_Service_Games_Player';
+ protected $playerDataType = '';
+ public $scoreRank;
+ public $scoreTag;
+ public $scoreValue;
+ public $timeSpan;
+ public $writeTimestampMillis;
+
+
+ public function setFormattedScore($formattedScore)
+ {
+ $this->formattedScore = $formattedScore;
+ }
+ public function getFormattedScore()
+ {
+ return $this->formattedScore;
+ }
+ public function setFormattedScoreRank($formattedScoreRank)
+ {
+ $this->formattedScoreRank = $formattedScoreRank;
+ }
+ public function getFormattedScoreRank()
+ {
+ return $this->formattedScoreRank;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPlayer(Postman_Google_Service_Games_Player $player)
+ {
+ $this->player = $player;
+ }
+ public function getPlayer()
+ {
+ return $this->player;
+ }
+ public function setScoreRank($scoreRank)
+ {
+ $this->scoreRank = $scoreRank;
+ }
+ public function getScoreRank()
+ {
+ return $this->scoreRank;
+ }
+ public function setScoreTag($scoreTag)
+ {
+ $this->scoreTag = $scoreTag;
+ }
+ public function getScoreTag()
+ {
+ return $this->scoreTag;
+ }
+ public function setScoreValue($scoreValue)
+ {
+ $this->scoreValue = $scoreValue;
+ }
+ public function getScoreValue()
+ {
+ return $this->scoreValue;
+ }
+ public function setTimeSpan($timeSpan)
+ {
+ $this->timeSpan = $timeSpan;
+ }
+ public function getTimeSpan()
+ {
+ return $this->timeSpan;
+ }
+ public function setWriteTimestampMillis($writeTimestampMillis)
+ {
+ $this->writeTimestampMillis = $writeTimestampMillis;
+ }
+ public function getWriteTimestampMillis()
+ {
+ return $this->writeTimestampMillis;
+ }
+}
+
+class Postman_Google_Service_Games_LeaderboardListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Games_Leaderboard';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Games_LeaderboardScoreRank extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $formattedNumScores;
+ public $formattedRank;
+ public $kind;
+ public $numScores;
+ public $rank;
+
+
+ public function setFormattedNumScores($formattedNumScores)
+ {
+ $this->formattedNumScores = $formattedNumScores;
+ }
+ public function getFormattedNumScores()
+ {
+ return $this->formattedNumScores;
+ }
+ public function setFormattedRank($formattedRank)
+ {
+ $this->formattedRank = $formattedRank;
+ }
+ public function getFormattedRank()
+ {
+ return $this->formattedRank;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNumScores($numScores)
+ {
+ $this->numScores = $numScores;
+ }
+ public function getNumScores()
+ {
+ return $this->numScores;
+ }
+ public function setRank($rank)
+ {
+ $this->rank = $rank;
+ }
+ public function getRank()
+ {
+ return $this->rank;
+ }
+}
+
+class Postman_Google_Service_Games_LeaderboardScores extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Games_LeaderboardEntry';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $numScores;
+ protected $playerScoreType = 'Postman_Google_Service_Games_LeaderboardEntry';
+ protected $playerScoreDataType = '';
+ public $prevPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setNumScores($numScores)
+ {
+ $this->numScores = $numScores;
+ }
+ public function getNumScores()
+ {
+ return $this->numScores;
+ }
+ public function setPlayerScore(Postman_Google_Service_Games_LeaderboardEntry $playerScore)
+ {
+ $this->playerScore = $playerScore;
+ }
+ public function getPlayerScore()
+ {
+ return $this->playerScore;
+ }
+ public function setPrevPageToken($prevPageToken)
+ {
+ $this->prevPageToken = $prevPageToken;
+ }
+ public function getPrevPageToken()
+ {
+ return $this->prevPageToken;
+ }
+}
+
+class Postman_Google_Service_Games_MetagameConfig extends Postman_Google_Collection
+{
+ protected $collection_key = 'playerLevels';
+ protected $internal_gapi_mappings = array(
+ );
+ public $currentVersion;
+ public $kind;
+ protected $playerLevelsType = 'Postman_Google_Service_Games_PlayerLevel';
+ protected $playerLevelsDataType = 'array';
+
+
+ public function setCurrentVersion($currentVersion)
+ {
+ $this->currentVersion = $currentVersion;
+ }
+ public function getCurrentVersion()
+ {
+ return $this->currentVersion;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPlayerLevels($playerLevels)
+ {
+ $this->playerLevels = $playerLevels;
+ }
+ public function getPlayerLevels()
+ {
+ return $this->playerLevels;
+ }
+}
+
+class Postman_Google_Service_Games_NetworkDiagnostics extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $androidNetworkSubtype;
+ public $androidNetworkType;
+ public $iosNetworkType;
+ public $kind;
+ public $networkOperatorCode;
+ public $networkOperatorName;
+ public $registrationLatencyMillis;
+
+
+ public function setAndroidNetworkSubtype($androidNetworkSubtype)
+ {
+ $this->androidNetworkSubtype = $androidNetworkSubtype;
+ }
+ public function getAndroidNetworkSubtype()
+ {
+ return $this->androidNetworkSubtype;
+ }
+ public function setAndroidNetworkType($androidNetworkType)
+ {
+ $this->androidNetworkType = $androidNetworkType;
+ }
+ public function getAndroidNetworkType()
+ {
+ return $this->androidNetworkType;
+ }
+ public function setIosNetworkType($iosNetworkType)
+ {
+ $this->iosNetworkType = $iosNetworkType;
+ }
+ public function getIosNetworkType()
+ {
+ return $this->iosNetworkType;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNetworkOperatorCode($networkOperatorCode)
+ {
+ $this->networkOperatorCode = $networkOperatorCode;
+ }
+ public function getNetworkOperatorCode()
+ {
+ return $this->networkOperatorCode;
+ }
+ public function setNetworkOperatorName($networkOperatorName)
+ {
+ $this->networkOperatorName = $networkOperatorName;
+ }
+ public function getNetworkOperatorName()
+ {
+ return $this->networkOperatorName;
+ }
+ public function setRegistrationLatencyMillis($registrationLatencyMillis)
+ {
+ $this->registrationLatencyMillis = $registrationLatencyMillis;
+ }
+ public function getRegistrationLatencyMillis()
+ {
+ return $this->registrationLatencyMillis;
+ }
+}
+
+class Postman_Google_Service_Games_ParticipantResult extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $participantId;
+ public $placing;
+ public $result;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setParticipantId($participantId)
+ {
+ $this->participantId = $participantId;
+ }
+ public function getParticipantId()
+ {
+ return $this->participantId;
+ }
+ public function setPlacing($placing)
+ {
+ $this->placing = $placing;
+ }
+ public function getPlacing()
+ {
+ return $this->placing;
+ }
+ public function setResult($result)
+ {
+ $this->result = $result;
+ }
+ public function getResult()
+ {
+ return $this->result;
+ }
+}
+
+class Postman_Google_Service_Games_PeerChannelDiagnostics extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $bytesReceivedType = 'Postman_Google_Service_Games_AggregateStats';
+ protected $bytesReceivedDataType = '';
+ protected $bytesSentType = 'Postman_Google_Service_Games_AggregateStats';
+ protected $bytesSentDataType = '';
+ public $kind;
+ public $numMessagesLost;
+ public $numMessagesReceived;
+ public $numMessagesSent;
+ public $numSendFailures;
+ protected $roundtripLatencyMillisType = 'Postman_Google_Service_Games_AggregateStats';
+ protected $roundtripLatencyMillisDataType = '';
+
+
+ public function setBytesReceived(Postman_Google_Service_Games_AggregateStats $bytesReceived)
+ {
+ $this->bytesReceived = $bytesReceived;
+ }
+ public function getBytesReceived()
+ {
+ return $this->bytesReceived;
+ }
+ public function setBytesSent(Postman_Google_Service_Games_AggregateStats $bytesSent)
+ {
+ $this->bytesSent = $bytesSent;
+ }
+ public function getBytesSent()
+ {
+ return $this->bytesSent;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNumMessagesLost($numMessagesLost)
+ {
+ $this->numMessagesLost = $numMessagesLost;
+ }
+ public function getNumMessagesLost()
+ {
+ return $this->numMessagesLost;
+ }
+ public function setNumMessagesReceived($numMessagesReceived)
+ {
+ $this->numMessagesReceived = $numMessagesReceived;
+ }
+ public function getNumMessagesReceived()
+ {
+ return $this->numMessagesReceived;
+ }
+ public function setNumMessagesSent($numMessagesSent)
+ {
+ $this->numMessagesSent = $numMessagesSent;
+ }
+ public function getNumMessagesSent()
+ {
+ return $this->numMessagesSent;
+ }
+ public function setNumSendFailures($numSendFailures)
+ {
+ $this->numSendFailures = $numSendFailures;
+ }
+ public function getNumSendFailures()
+ {
+ return $this->numSendFailures;
+ }
+ public function setRoundtripLatencyMillis(Postman_Google_Service_Games_AggregateStats $roundtripLatencyMillis)
+ {
+ $this->roundtripLatencyMillis = $roundtripLatencyMillis;
+ }
+ public function getRoundtripLatencyMillis()
+ {
+ return $this->roundtripLatencyMillis;
+ }
+}
+
+class Postman_Google_Service_Games_PeerSessionDiagnostics extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $connectedTimestampMillis;
+ public $kind;
+ public $participantId;
+ protected $reliableChannelType = 'Postman_Google_Service_Games_PeerChannelDiagnostics';
+ protected $reliableChannelDataType = '';
+ protected $unreliableChannelType = 'Postman_Google_Service_Games_PeerChannelDiagnostics';
+ protected $unreliableChannelDataType = '';
+
+
+ public function setConnectedTimestampMillis($connectedTimestampMillis)
+ {
+ $this->connectedTimestampMillis = $connectedTimestampMillis;
+ }
+ public function getConnectedTimestampMillis()
+ {
+ return $this->connectedTimestampMillis;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setParticipantId($participantId)
+ {
+ $this->participantId = $participantId;
+ }
+ public function getParticipantId()
+ {
+ return $this->participantId;
+ }
+ public function setReliableChannel(Postman_Google_Service_Games_PeerChannelDiagnostics $reliableChannel)
+ {
+ $this->reliableChannel = $reliableChannel;
+ }
+ public function getReliableChannel()
+ {
+ return $this->reliableChannel;
+ }
+ public function setUnreliableChannel(Postman_Google_Service_Games_PeerChannelDiagnostics $unreliableChannel)
+ {
+ $this->unreliableChannel = $unreliableChannel;
+ }
+ public function getUnreliableChannel()
+ {
+ return $this->unreliableChannel;
+ }
+}
+
+class Postman_Google_Service_Games_Played extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $autoMatched;
+ public $kind;
+ public $timeMillis;
+
+
+ public function setAutoMatched($autoMatched)
+ {
+ $this->autoMatched = $autoMatched;
+ }
+ public function getAutoMatched()
+ {
+ return $this->autoMatched;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setTimeMillis($timeMillis)
+ {
+ $this->timeMillis = $timeMillis;
+ }
+ public function getTimeMillis()
+ {
+ return $this->timeMillis;
+ }
+}
+
+class Postman_Google_Service_Games_Player extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $avatarImageUrl;
+ public $displayName;
+ protected $experienceInfoType = 'Postman_Google_Service_Games_PlayerExperienceInfo';
+ protected $experienceInfoDataType = '';
+ public $kind;
+ protected $lastPlayedWithType = 'Postman_Google_Service_Games_Played';
+ protected $lastPlayedWithDataType = '';
+ protected $nameType = 'Postman_Google_Service_Games_PlayerName';
+ protected $nameDataType = '';
+ public $playerId;
+ public $title;
+
+
+ public function setAvatarImageUrl($avatarImageUrl)
+ {
+ $this->avatarImageUrl = $avatarImageUrl;
+ }
+ public function getAvatarImageUrl()
+ {
+ return $this->avatarImageUrl;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setExperienceInfo(Postman_Google_Service_Games_PlayerExperienceInfo $experienceInfo)
+ {
+ $this->experienceInfo = $experienceInfo;
+ }
+ public function getExperienceInfo()
+ {
+ return $this->experienceInfo;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastPlayedWith(Postman_Google_Service_Games_Played $lastPlayedWith)
+ {
+ $this->lastPlayedWith = $lastPlayedWith;
+ }
+ public function getLastPlayedWith()
+ {
+ return $this->lastPlayedWith;
+ }
+ public function setName(Postman_Google_Service_Games_PlayerName $name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPlayerId($playerId)
+ {
+ $this->playerId = $playerId;
+ }
+ public function getPlayerId()
+ {
+ return $this->playerId;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_Games_PlayerAchievement extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $achievementState;
+ public $currentSteps;
+ public $experiencePoints;
+ public $formattedCurrentStepsString;
+ public $id;
+ public $kind;
+ public $lastUpdatedTimestamp;
+
+
+ public function setAchievementState($achievementState)
+ {
+ $this->achievementState = $achievementState;
+ }
+ public function getAchievementState()
+ {
+ return $this->achievementState;
+ }
+ public function setCurrentSteps($currentSteps)
+ {
+ $this->currentSteps = $currentSteps;
+ }
+ public function getCurrentSteps()
+ {
+ return $this->currentSteps;
+ }
+ public function setExperiencePoints($experiencePoints)
+ {
+ $this->experiencePoints = $experiencePoints;
+ }
+ public function getExperiencePoints()
+ {
+ return $this->experiencePoints;
+ }
+ public function setFormattedCurrentStepsString($formattedCurrentStepsString)
+ {
+ $this->formattedCurrentStepsString = $formattedCurrentStepsString;
+ }
+ public function getFormattedCurrentStepsString()
+ {
+ return $this->formattedCurrentStepsString;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastUpdatedTimestamp($lastUpdatedTimestamp)
+ {
+ $this->lastUpdatedTimestamp = $lastUpdatedTimestamp;
+ }
+ public function getLastUpdatedTimestamp()
+ {
+ return $this->lastUpdatedTimestamp;
+ }
+}
+
+class Postman_Google_Service_Games_PlayerAchievementListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Games_PlayerAchievement';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Games_PlayerEvent extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $definitionId;
+ public $formattedNumEvents;
+ public $kind;
+ public $numEvents;
+ public $playerId;
+
+
+ public function setDefinitionId($definitionId)
+ {
+ $this->definitionId = $definitionId;
+ }
+ public function getDefinitionId()
+ {
+ return $this->definitionId;
+ }
+ public function setFormattedNumEvents($formattedNumEvents)
+ {
+ $this->formattedNumEvents = $formattedNumEvents;
+ }
+ public function getFormattedNumEvents()
+ {
+ return $this->formattedNumEvents;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNumEvents($numEvents)
+ {
+ $this->numEvents = $numEvents;
+ }
+ public function getNumEvents()
+ {
+ return $this->numEvents;
+ }
+ public function setPlayerId($playerId)
+ {
+ $this->playerId = $playerId;
+ }
+ public function getPlayerId()
+ {
+ return $this->playerId;
+ }
+}
+
+class Postman_Google_Service_Games_PlayerEventListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Games_PlayerEvent';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Games_PlayerExperienceInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $currentExperiencePoints;
+ protected $currentLevelType = 'Postman_Google_Service_Games_PlayerLevel';
+ protected $currentLevelDataType = '';
+ public $kind;
+ public $lastLevelUpTimestampMillis;
+ protected $nextLevelType = 'Postman_Google_Service_Games_PlayerLevel';
+ protected $nextLevelDataType = '';
+
+
+ public function setCurrentExperiencePoints($currentExperiencePoints)
+ {
+ $this->currentExperiencePoints = $currentExperiencePoints;
+ }
+ public function getCurrentExperiencePoints()
+ {
+ return $this->currentExperiencePoints;
+ }
+ public function setCurrentLevel(Postman_Google_Service_Games_PlayerLevel $currentLevel)
+ {
+ $this->currentLevel = $currentLevel;
+ }
+ public function getCurrentLevel()
+ {
+ return $this->currentLevel;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastLevelUpTimestampMillis($lastLevelUpTimestampMillis)
+ {
+ $this->lastLevelUpTimestampMillis = $lastLevelUpTimestampMillis;
+ }
+ public function getLastLevelUpTimestampMillis()
+ {
+ return $this->lastLevelUpTimestampMillis;
+ }
+ public function setNextLevel(Postman_Google_Service_Games_PlayerLevel $nextLevel)
+ {
+ $this->nextLevel = $nextLevel;
+ }
+ public function getNextLevel()
+ {
+ return $this->nextLevel;
+ }
+}
+
+class Postman_Google_Service_Games_PlayerLeaderboardScore extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "leaderboardId" => "leaderboard_id",
+ );
+ public $kind;
+ public $leaderboardId;
+ protected $publicRankType = 'Postman_Google_Service_Games_LeaderboardScoreRank';
+ protected $publicRankDataType = '';
+ public $scoreString;
+ public $scoreTag;
+ public $scoreValue;
+ protected $socialRankType = 'Postman_Google_Service_Games_LeaderboardScoreRank';
+ protected $socialRankDataType = '';
+ public $timeSpan;
+ public $writeTimestamp;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLeaderboardId($leaderboardId)
+ {
+ $this->leaderboardId = $leaderboardId;
+ }
+ public function getLeaderboardId()
+ {
+ return $this->leaderboardId;
+ }
+ public function setPublicRank(Postman_Google_Service_Games_LeaderboardScoreRank $publicRank)
+ {
+ $this->publicRank = $publicRank;
+ }
+ public function getPublicRank()
+ {
+ return $this->publicRank;
+ }
+ public function setScoreString($scoreString)
+ {
+ $this->scoreString = $scoreString;
+ }
+ public function getScoreString()
+ {
+ return $this->scoreString;
+ }
+ public function setScoreTag($scoreTag)
+ {
+ $this->scoreTag = $scoreTag;
+ }
+ public function getScoreTag()
+ {
+ return $this->scoreTag;
+ }
+ public function setScoreValue($scoreValue)
+ {
+ $this->scoreValue = $scoreValue;
+ }
+ public function getScoreValue()
+ {
+ return $this->scoreValue;
+ }
+ public function setSocialRank(Postman_Google_Service_Games_LeaderboardScoreRank $socialRank)
+ {
+ $this->socialRank = $socialRank;
+ }
+ public function getSocialRank()
+ {
+ return $this->socialRank;
+ }
+ public function setTimeSpan($timeSpan)
+ {
+ $this->timeSpan = $timeSpan;
+ }
+ public function getTimeSpan()
+ {
+ return $this->timeSpan;
+ }
+ public function setWriteTimestamp($writeTimestamp)
+ {
+ $this->writeTimestamp = $writeTimestamp;
+ }
+ public function getWriteTimestamp()
+ {
+ return $this->writeTimestamp;
+ }
+}
+
+class Postman_Google_Service_Games_PlayerLeaderboardScoreListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Games_PlayerLeaderboardScore';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $playerType = 'Postman_Google_Service_Games_Player';
+ protected $playerDataType = '';
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPlayer(Postman_Google_Service_Games_Player $player)
+ {
+ $this->player = $player;
+ }
+ public function getPlayer()
+ {
+ return $this->player;
+ }
+}
+
+class Postman_Google_Service_Games_PlayerLevel extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $level;
+ public $maxExperiencePoints;
+ public $minExperiencePoints;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLevel($level)
+ {
+ $this->level = $level;
+ }
+ public function getLevel()
+ {
+ return $this->level;
+ }
+ public function setMaxExperiencePoints($maxExperiencePoints)
+ {
+ $this->maxExperiencePoints = $maxExperiencePoints;
+ }
+ public function getMaxExperiencePoints()
+ {
+ return $this->maxExperiencePoints;
+ }
+ public function setMinExperiencePoints($minExperiencePoints)
+ {
+ $this->minExperiencePoints = $minExperiencePoints;
+ }
+ public function getMinExperiencePoints()
+ {
+ return $this->minExperiencePoints;
+ }
+}
+
+class Postman_Google_Service_Games_PlayerListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Games_Player';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Games_PlayerName extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $familyName;
+ public $givenName;
+
+
+ public function setFamilyName($familyName)
+ {
+ $this->familyName = $familyName;
+ }
+ public function getFamilyName()
+ {
+ return $this->familyName;
+ }
+ public function setGivenName($givenName)
+ {
+ $this->givenName = $givenName;
+ }
+ public function getGivenName()
+ {
+ return $this->givenName;
+ }
+}
+
+class Postman_Google_Service_Games_PlayerScore extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $formattedScore;
+ public $kind;
+ public $score;
+ public $scoreTag;
+ public $timeSpan;
+
+
+ public function setFormattedScore($formattedScore)
+ {
+ $this->formattedScore = $formattedScore;
+ }
+ public function getFormattedScore()
+ {
+ return $this->formattedScore;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setScore($score)
+ {
+ $this->score = $score;
+ }
+ public function getScore()
+ {
+ return $this->score;
+ }
+ public function setScoreTag($scoreTag)
+ {
+ $this->scoreTag = $scoreTag;
+ }
+ public function getScoreTag()
+ {
+ return $this->scoreTag;
+ }
+ public function setTimeSpan($timeSpan)
+ {
+ $this->timeSpan = $timeSpan;
+ }
+ public function getTimeSpan()
+ {
+ return $this->timeSpan;
+ }
+}
+
+class Postman_Google_Service_Games_PlayerScoreListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'submittedScores';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $submittedScoresType = 'Postman_Google_Service_Games_PlayerScoreResponse';
+ protected $submittedScoresDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSubmittedScores($submittedScores)
+ {
+ $this->submittedScores = $submittedScores;
+ }
+ public function getSubmittedScores()
+ {
+ return $this->submittedScores;
+ }
+}
+
+class Postman_Google_Service_Games_PlayerScoreResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'unbeatenScores';
+ protected $internal_gapi_mappings = array(
+ );
+ public $beatenScoreTimeSpans;
+ public $formattedScore;
+ public $kind;
+ public $leaderboardId;
+ public $scoreTag;
+ protected $unbeatenScoresType = 'Postman_Google_Service_Games_PlayerScore';
+ protected $unbeatenScoresDataType = 'array';
+
+
+ public function setBeatenScoreTimeSpans($beatenScoreTimeSpans)
+ {
+ $this->beatenScoreTimeSpans = $beatenScoreTimeSpans;
+ }
+ public function getBeatenScoreTimeSpans()
+ {
+ return $this->beatenScoreTimeSpans;
+ }
+ public function setFormattedScore($formattedScore)
+ {
+ $this->formattedScore = $formattedScore;
+ }
+ public function getFormattedScore()
+ {
+ return $this->formattedScore;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLeaderboardId($leaderboardId)
+ {
+ $this->leaderboardId = $leaderboardId;
+ }
+ public function getLeaderboardId()
+ {
+ return $this->leaderboardId;
+ }
+ public function setScoreTag($scoreTag)
+ {
+ $this->scoreTag = $scoreTag;
+ }
+ public function getScoreTag()
+ {
+ return $this->scoreTag;
+ }
+ public function setUnbeatenScores($unbeatenScores)
+ {
+ $this->unbeatenScores = $unbeatenScores;
+ }
+ public function getUnbeatenScores()
+ {
+ return $this->unbeatenScores;
+ }
+}
+
+class Postman_Google_Service_Games_PlayerScoreSubmissionList extends Postman_Google_Collection
+{
+ protected $collection_key = 'scores';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $scoresType = 'Postman_Google_Service_Games_ScoreSubmission';
+ protected $scoresDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setScores($scores)
+ {
+ $this->scores = $scores;
+ }
+ public function getScores()
+ {
+ return $this->scores;
+ }
+}
+
+class Postman_Google_Service_Games_PushToken extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $clientRevision;
+ protected $idType = 'Postman_Google_Service_Games_PushTokenId';
+ protected $idDataType = '';
+ public $kind;
+ public $language;
+
+
+ public function setClientRevision($clientRevision)
+ {
+ $this->clientRevision = $clientRevision;
+ }
+ public function getClientRevision()
+ {
+ return $this->clientRevision;
+ }
+ public function setId(Postman_Google_Service_Games_PushTokenId $id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+}
+
+class Postman_Google_Service_Games_PushTokenId extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $iosType = 'Postman_Google_Service_Games_PushTokenIdIos';
+ protected $iosDataType = '';
+ public $kind;
+
+
+ public function setIos(Postman_Google_Service_Games_PushTokenIdIos $ios)
+ {
+ $this->ios = $ios;
+ }
+ public function getIos()
+ {
+ return $this->ios;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Games_PushTokenIdIos extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "apnsDeviceToken" => "apns_device_token",
+ "apnsEnvironment" => "apns_environment",
+ );
+ public $apnsDeviceToken;
+ public $apnsEnvironment;
+
+
+ public function setApnsDeviceToken($apnsDeviceToken)
+ {
+ $this->apnsDeviceToken = $apnsDeviceToken;
+ }
+ public function getApnsDeviceToken()
+ {
+ return $this->apnsDeviceToken;
+ }
+ public function setApnsEnvironment($apnsEnvironment)
+ {
+ $this->apnsEnvironment = $apnsEnvironment;
+ }
+ public function getApnsEnvironment()
+ {
+ return $this->apnsEnvironment;
+ }
+}
+
+class Postman_Google_Service_Games_Quest extends Postman_Google_Collection
+{
+ protected $collection_key = 'milestones';
+ protected $internal_gapi_mappings = array(
+ );
+ public $acceptedTimestampMillis;
+ public $applicationId;
+ public $bannerUrl;
+ public $description;
+ public $endTimestampMillis;
+ public $iconUrl;
+ public $id;
+ public $isDefaultBannerUrl;
+ public $isDefaultIconUrl;
+ public $kind;
+ public $lastUpdatedTimestampMillis;
+ protected $milestonesType = 'Postman_Google_Service_Games_QuestMilestone';
+ protected $milestonesDataType = 'array';
+ public $name;
+ public $notifyTimestampMillis;
+ public $startTimestampMillis;
+ public $state;
+
+
+ public function setAcceptedTimestampMillis($acceptedTimestampMillis)
+ {
+ $this->acceptedTimestampMillis = $acceptedTimestampMillis;
+ }
+ public function getAcceptedTimestampMillis()
+ {
+ return $this->acceptedTimestampMillis;
+ }
+ public function setApplicationId($applicationId)
+ {
+ $this->applicationId = $applicationId;
+ }
+ public function getApplicationId()
+ {
+ return $this->applicationId;
+ }
+ public function setBannerUrl($bannerUrl)
+ {
+ $this->bannerUrl = $bannerUrl;
+ }
+ public function getBannerUrl()
+ {
+ return $this->bannerUrl;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEndTimestampMillis($endTimestampMillis)
+ {
+ $this->endTimestampMillis = $endTimestampMillis;
+ }
+ public function getEndTimestampMillis()
+ {
+ return $this->endTimestampMillis;
+ }
+ public function setIconUrl($iconUrl)
+ {
+ $this->iconUrl = $iconUrl;
+ }
+ public function getIconUrl()
+ {
+ return $this->iconUrl;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIsDefaultBannerUrl($isDefaultBannerUrl)
+ {
+ $this->isDefaultBannerUrl = $isDefaultBannerUrl;
+ }
+ public function getIsDefaultBannerUrl()
+ {
+ return $this->isDefaultBannerUrl;
+ }
+ public function setIsDefaultIconUrl($isDefaultIconUrl)
+ {
+ $this->isDefaultIconUrl = $isDefaultIconUrl;
+ }
+ public function getIsDefaultIconUrl()
+ {
+ return $this->isDefaultIconUrl;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastUpdatedTimestampMillis($lastUpdatedTimestampMillis)
+ {
+ $this->lastUpdatedTimestampMillis = $lastUpdatedTimestampMillis;
+ }
+ public function getLastUpdatedTimestampMillis()
+ {
+ return $this->lastUpdatedTimestampMillis;
+ }
+ public function setMilestones($milestones)
+ {
+ $this->milestones = $milestones;
+ }
+ public function getMilestones()
+ {
+ return $this->milestones;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNotifyTimestampMillis($notifyTimestampMillis)
+ {
+ $this->notifyTimestampMillis = $notifyTimestampMillis;
+ }
+ public function getNotifyTimestampMillis()
+ {
+ return $this->notifyTimestampMillis;
+ }
+ public function setStartTimestampMillis($startTimestampMillis)
+ {
+ $this->startTimestampMillis = $startTimestampMillis;
+ }
+ public function getStartTimestampMillis()
+ {
+ return $this->startTimestampMillis;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+}
+
+class Postman_Google_Service_Games_QuestContribution extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $formattedValue;
+ public $kind;
+ public $value;
+
+
+ public function setFormattedValue($formattedValue)
+ {
+ $this->formattedValue = $formattedValue;
+ }
+ public function getFormattedValue()
+ {
+ return $this->formattedValue;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Games_QuestCriterion extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $completionContributionType = 'Postman_Google_Service_Games_QuestContribution';
+ protected $completionContributionDataType = '';
+ protected $currentContributionType = 'Postman_Google_Service_Games_QuestContribution';
+ protected $currentContributionDataType = '';
+ public $eventId;
+ protected $initialPlayerProgressType = 'Postman_Google_Service_Games_QuestContribution';
+ protected $initialPlayerProgressDataType = '';
+ public $kind;
+
+
+ public function setCompletionContribution(Postman_Google_Service_Games_QuestContribution $completionContribution)
+ {
+ $this->completionContribution = $completionContribution;
+ }
+ public function getCompletionContribution()
+ {
+ return $this->completionContribution;
+ }
+ public function setCurrentContribution(Postman_Google_Service_Games_QuestContribution $currentContribution)
+ {
+ $this->currentContribution = $currentContribution;
+ }
+ public function getCurrentContribution()
+ {
+ return $this->currentContribution;
+ }
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+ public function setInitialPlayerProgress(Postman_Google_Service_Games_QuestContribution $initialPlayerProgress)
+ {
+ $this->initialPlayerProgress = $initialPlayerProgress;
+ }
+ public function getInitialPlayerProgress()
+ {
+ return $this->initialPlayerProgress;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Games_QuestListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Games_Quest';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Games_QuestMilestone extends Postman_Google_Collection
+{
+ protected $collection_key = 'criteria';
+ protected $internal_gapi_mappings = array(
+ );
+ public $completionRewardData;
+ protected $criteriaType = 'Postman_Google_Service_Games_QuestCriterion';
+ protected $criteriaDataType = 'array';
+ public $id;
+ public $kind;
+ public $state;
+
+
+ public function setCompletionRewardData($completionRewardData)
+ {
+ $this->completionRewardData = $completionRewardData;
+ }
+ public function getCompletionRewardData()
+ {
+ return $this->completionRewardData;
+ }
+ public function setCriteria($criteria)
+ {
+ $this->criteria = $criteria;
+ }
+ public function getCriteria()
+ {
+ return $this->criteria;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+}
+
+class Postman_Google_Service_Games_RevisionCheckResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $apiVersion;
+ public $kind;
+ public $revisionStatus;
+
+
+ public function setApiVersion($apiVersion)
+ {
+ $this->apiVersion = $apiVersion;
+ }
+ public function getApiVersion()
+ {
+ return $this->apiVersion;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRevisionStatus($revisionStatus)
+ {
+ $this->revisionStatus = $revisionStatus;
+ }
+ public function getRevisionStatus()
+ {
+ return $this->revisionStatus;
+ }
+}
+
+class Postman_Google_Service_Games_Room extends Postman_Google_Collection
+{
+ protected $collection_key = 'participants';
+ protected $internal_gapi_mappings = array(
+ );
+ public $applicationId;
+ protected $autoMatchingCriteriaType = 'Postman_Google_Service_Games_RoomAutoMatchingCriteria';
+ protected $autoMatchingCriteriaDataType = '';
+ protected $autoMatchingStatusType = 'Postman_Google_Service_Games_RoomAutoMatchStatus';
+ protected $autoMatchingStatusDataType = '';
+ protected $creationDetailsType = 'Postman_Google_Service_Games_RoomModification';
+ protected $creationDetailsDataType = '';
+ public $description;
+ public $inviterId;
+ public $kind;
+ protected $lastUpdateDetailsType = 'Postman_Google_Service_Games_RoomModification';
+ protected $lastUpdateDetailsDataType = '';
+ protected $participantsType = 'Postman_Google_Service_Games_RoomParticipant';
+ protected $participantsDataType = 'array';
+ public $roomId;
+ public $roomStatusVersion;
+ public $status;
+ public $variant;
+
+
+ public function setApplicationId($applicationId)
+ {
+ $this->applicationId = $applicationId;
+ }
+ public function getApplicationId()
+ {
+ return $this->applicationId;
+ }
+ public function setAutoMatchingCriteria(Postman_Google_Service_Games_RoomAutoMatchingCriteria $autoMatchingCriteria)
+ {
+ $this->autoMatchingCriteria = $autoMatchingCriteria;
+ }
+ public function getAutoMatchingCriteria()
+ {
+ return $this->autoMatchingCriteria;
+ }
+ public function setAutoMatchingStatus(Postman_Google_Service_Games_RoomAutoMatchStatus $autoMatchingStatus)
+ {
+ $this->autoMatchingStatus = $autoMatchingStatus;
+ }
+ public function getAutoMatchingStatus()
+ {
+ return $this->autoMatchingStatus;
+ }
+ public function setCreationDetails(Postman_Google_Service_Games_RoomModification $creationDetails)
+ {
+ $this->creationDetails = $creationDetails;
+ }
+ public function getCreationDetails()
+ {
+ return $this->creationDetails;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setInviterId($inviterId)
+ {
+ $this->inviterId = $inviterId;
+ }
+ public function getInviterId()
+ {
+ return $this->inviterId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastUpdateDetails(Postman_Google_Service_Games_RoomModification $lastUpdateDetails)
+ {
+ $this->lastUpdateDetails = $lastUpdateDetails;
+ }
+ public function getLastUpdateDetails()
+ {
+ return $this->lastUpdateDetails;
+ }
+ public function setParticipants($participants)
+ {
+ $this->participants = $participants;
+ }
+ public function getParticipants()
+ {
+ return $this->participants;
+ }
+ public function setRoomId($roomId)
+ {
+ $this->roomId = $roomId;
+ }
+ public function getRoomId()
+ {
+ return $this->roomId;
+ }
+ public function setRoomStatusVersion($roomStatusVersion)
+ {
+ $this->roomStatusVersion = $roomStatusVersion;
+ }
+ public function getRoomStatusVersion()
+ {
+ return $this->roomStatusVersion;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setVariant($variant)
+ {
+ $this->variant = $variant;
+ }
+ public function getVariant()
+ {
+ return $this->variant;
+ }
+}
+
+class Postman_Google_Service_Games_RoomAutoMatchStatus extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $waitEstimateSeconds;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setWaitEstimateSeconds($waitEstimateSeconds)
+ {
+ $this->waitEstimateSeconds = $waitEstimateSeconds;
+ }
+ public function getWaitEstimateSeconds()
+ {
+ return $this->waitEstimateSeconds;
+ }
+}
+
+class Postman_Google_Service_Games_RoomAutoMatchingCriteria extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $exclusiveBitmask;
+ public $kind;
+ public $maxAutoMatchingPlayers;
+ public $minAutoMatchingPlayers;
+
+
+ public function setExclusiveBitmask($exclusiveBitmask)
+ {
+ $this->exclusiveBitmask = $exclusiveBitmask;
+ }
+ public function getExclusiveBitmask()
+ {
+ return $this->exclusiveBitmask;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMaxAutoMatchingPlayers($maxAutoMatchingPlayers)
+ {
+ $this->maxAutoMatchingPlayers = $maxAutoMatchingPlayers;
+ }
+ public function getMaxAutoMatchingPlayers()
+ {
+ return $this->maxAutoMatchingPlayers;
+ }
+ public function setMinAutoMatchingPlayers($minAutoMatchingPlayers)
+ {
+ $this->minAutoMatchingPlayers = $minAutoMatchingPlayers;
+ }
+ public function getMinAutoMatchingPlayers()
+ {
+ return $this->minAutoMatchingPlayers;
+ }
+}
+
+class Postman_Google_Service_Games_RoomClientAddress extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $xmppAddress;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setXmppAddress($xmppAddress)
+ {
+ $this->xmppAddress = $xmppAddress;
+ }
+ public function getXmppAddress()
+ {
+ return $this->xmppAddress;
+ }
+}
+
+class Postman_Google_Service_Games_RoomCreateRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'invitedPlayerIds';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $autoMatchingCriteriaType = 'Postman_Google_Service_Games_RoomAutoMatchingCriteria';
+ protected $autoMatchingCriteriaDataType = '';
+ public $capabilities;
+ protected $clientAddressType = 'Postman_Google_Service_Games_RoomClientAddress';
+ protected $clientAddressDataType = '';
+ public $invitedPlayerIds;
+ public $kind;
+ protected $networkDiagnosticsType = 'Postman_Google_Service_Games_NetworkDiagnostics';
+ protected $networkDiagnosticsDataType = '';
+ public $requestId;
+ public $variant;
+
+
+ public function setAutoMatchingCriteria(Postman_Google_Service_Games_RoomAutoMatchingCriteria $autoMatchingCriteria)
+ {
+ $this->autoMatchingCriteria = $autoMatchingCriteria;
+ }
+ public function getAutoMatchingCriteria()
+ {
+ return $this->autoMatchingCriteria;
+ }
+ public function setCapabilities($capabilities)
+ {
+ $this->capabilities = $capabilities;
+ }
+ public function getCapabilities()
+ {
+ return $this->capabilities;
+ }
+ public function setClientAddress(Postman_Google_Service_Games_RoomClientAddress $clientAddress)
+ {
+ $this->clientAddress = $clientAddress;
+ }
+ public function getClientAddress()
+ {
+ return $this->clientAddress;
+ }
+ public function setInvitedPlayerIds($invitedPlayerIds)
+ {
+ $this->invitedPlayerIds = $invitedPlayerIds;
+ }
+ public function getInvitedPlayerIds()
+ {
+ return $this->invitedPlayerIds;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNetworkDiagnostics(Postman_Google_Service_Games_NetworkDiagnostics $networkDiagnostics)
+ {
+ $this->networkDiagnostics = $networkDiagnostics;
+ }
+ public function getNetworkDiagnostics()
+ {
+ return $this->networkDiagnostics;
+ }
+ public function setRequestId($requestId)
+ {
+ $this->requestId = $requestId;
+ }
+ public function getRequestId()
+ {
+ return $this->requestId;
+ }
+ public function setVariant($variant)
+ {
+ $this->variant = $variant;
+ }
+ public function getVariant()
+ {
+ return $this->variant;
+ }
+}
+
+class Postman_Google_Service_Games_RoomJoinRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'capabilities';
+ protected $internal_gapi_mappings = array(
+ );
+ public $capabilities;
+ protected $clientAddressType = 'Postman_Google_Service_Games_RoomClientAddress';
+ protected $clientAddressDataType = '';
+ public $kind;
+ protected $networkDiagnosticsType = 'Postman_Google_Service_Games_NetworkDiagnostics';
+ protected $networkDiagnosticsDataType = '';
+
+
+ public function setCapabilities($capabilities)
+ {
+ $this->capabilities = $capabilities;
+ }
+ public function getCapabilities()
+ {
+ return $this->capabilities;
+ }
+ public function setClientAddress(Postman_Google_Service_Games_RoomClientAddress $clientAddress)
+ {
+ $this->clientAddress = $clientAddress;
+ }
+ public function getClientAddress()
+ {
+ return $this->clientAddress;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNetworkDiagnostics(Postman_Google_Service_Games_NetworkDiagnostics $networkDiagnostics)
+ {
+ $this->networkDiagnostics = $networkDiagnostics;
+ }
+ public function getNetworkDiagnostics()
+ {
+ return $this->networkDiagnostics;
+ }
+}
+
+class Postman_Google_Service_Games_RoomLeaveDiagnostics extends Postman_Google_Collection
+{
+ protected $collection_key = 'peerSession';
+ protected $internal_gapi_mappings = array(
+ );
+ public $androidNetworkSubtype;
+ public $androidNetworkType;
+ public $iosNetworkType;
+ public $kind;
+ public $networkOperatorCode;
+ public $networkOperatorName;
+ protected $peerSessionType = 'Postman_Google_Service_Games_PeerSessionDiagnostics';
+ protected $peerSessionDataType = 'array';
+ public $socketsUsed;
+
+
+ public function setAndroidNetworkSubtype($androidNetworkSubtype)
+ {
+ $this->androidNetworkSubtype = $androidNetworkSubtype;
+ }
+ public function getAndroidNetworkSubtype()
+ {
+ return $this->androidNetworkSubtype;
+ }
+ public function setAndroidNetworkType($androidNetworkType)
+ {
+ $this->androidNetworkType = $androidNetworkType;
+ }
+ public function getAndroidNetworkType()
+ {
+ return $this->androidNetworkType;
+ }
+ public function setIosNetworkType($iosNetworkType)
+ {
+ $this->iosNetworkType = $iosNetworkType;
+ }
+ public function getIosNetworkType()
+ {
+ return $this->iosNetworkType;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNetworkOperatorCode($networkOperatorCode)
+ {
+ $this->networkOperatorCode = $networkOperatorCode;
+ }
+ public function getNetworkOperatorCode()
+ {
+ return $this->networkOperatorCode;
+ }
+ public function setNetworkOperatorName($networkOperatorName)
+ {
+ $this->networkOperatorName = $networkOperatorName;
+ }
+ public function getNetworkOperatorName()
+ {
+ return $this->networkOperatorName;
+ }
+ public function setPeerSession($peerSession)
+ {
+ $this->peerSession = $peerSession;
+ }
+ public function getPeerSession()
+ {
+ return $this->peerSession;
+ }
+ public function setSocketsUsed($socketsUsed)
+ {
+ $this->socketsUsed = $socketsUsed;
+ }
+ public function getSocketsUsed()
+ {
+ return $this->socketsUsed;
+ }
+}
+
+class Postman_Google_Service_Games_RoomLeaveRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $leaveDiagnosticsType = 'Postman_Google_Service_Games_RoomLeaveDiagnostics';
+ protected $leaveDiagnosticsDataType = '';
+ public $reason;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLeaveDiagnostics(Postman_Google_Service_Games_RoomLeaveDiagnostics $leaveDiagnostics)
+ {
+ $this->leaveDiagnostics = $leaveDiagnostics;
+ }
+ public function getLeaveDiagnostics()
+ {
+ return $this->leaveDiagnostics;
+ }
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+}
+
+class Postman_Google_Service_Games_RoomList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Games_Room';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Games_RoomModification extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $modifiedTimestampMillis;
+ public $participantId;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setModifiedTimestampMillis($modifiedTimestampMillis)
+ {
+ $this->modifiedTimestampMillis = $modifiedTimestampMillis;
+ }
+ public function getModifiedTimestampMillis()
+ {
+ return $this->modifiedTimestampMillis;
+ }
+ public function setParticipantId($participantId)
+ {
+ $this->participantId = $participantId;
+ }
+ public function getParticipantId()
+ {
+ return $this->participantId;
+ }
+}
+
+class Postman_Google_Service_Games_RoomP2PStatus extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "errorReason" => "error_reason",
+ );
+ public $connectionSetupLatencyMillis;
+ public $error;
+ public $errorReason;
+ public $kind;
+ public $participantId;
+ public $status;
+ public $unreliableRoundtripLatencyMillis;
+
+
+ public function setConnectionSetupLatencyMillis($connectionSetupLatencyMillis)
+ {
+ $this->connectionSetupLatencyMillis = $connectionSetupLatencyMillis;
+ }
+ public function getConnectionSetupLatencyMillis()
+ {
+ return $this->connectionSetupLatencyMillis;
+ }
+ public function setError($error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setErrorReason($errorReason)
+ {
+ $this->errorReason = $errorReason;
+ }
+ public function getErrorReason()
+ {
+ return $this->errorReason;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setParticipantId($participantId)
+ {
+ $this->participantId = $participantId;
+ }
+ public function getParticipantId()
+ {
+ return $this->participantId;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setUnreliableRoundtripLatencyMillis($unreliableRoundtripLatencyMillis)
+ {
+ $this->unreliableRoundtripLatencyMillis = $unreliableRoundtripLatencyMillis;
+ }
+ public function getUnreliableRoundtripLatencyMillis()
+ {
+ return $this->unreliableRoundtripLatencyMillis;
+ }
+}
+
+class Postman_Google_Service_Games_RoomP2PStatuses extends Postman_Google_Collection
+{
+ protected $collection_key = 'updates';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $updatesType = 'Postman_Google_Service_Games_RoomP2PStatus';
+ protected $updatesDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUpdates($updates)
+ {
+ $this->updates = $updates;
+ }
+ public function getUpdates()
+ {
+ return $this->updates;
+ }
+}
+
+class Postman_Google_Service_Games_RoomParticipant extends Postman_Google_Collection
+{
+ protected $collection_key = 'capabilities';
+ protected $internal_gapi_mappings = array(
+ );
+ public $autoMatched;
+ protected $autoMatchedPlayerType = 'Postman_Google_Service_Games_AnonymousPlayer';
+ protected $autoMatchedPlayerDataType = '';
+ public $capabilities;
+ protected $clientAddressType = 'Postman_Google_Service_Games_RoomClientAddress';
+ protected $clientAddressDataType = '';
+ public $connected;
+ public $id;
+ public $kind;
+ public $leaveReason;
+ protected $playerType = 'Postman_Google_Service_Games_Player';
+ protected $playerDataType = '';
+ public $status;
+
+
+ public function setAutoMatched($autoMatched)
+ {
+ $this->autoMatched = $autoMatched;
+ }
+ public function getAutoMatched()
+ {
+ return $this->autoMatched;
+ }
+ public function setAutoMatchedPlayer(Postman_Google_Service_Games_AnonymousPlayer $autoMatchedPlayer)
+ {
+ $this->autoMatchedPlayer = $autoMatchedPlayer;
+ }
+ public function getAutoMatchedPlayer()
+ {
+ return $this->autoMatchedPlayer;
+ }
+ public function setCapabilities($capabilities)
+ {
+ $this->capabilities = $capabilities;
+ }
+ public function getCapabilities()
+ {
+ return $this->capabilities;
+ }
+ public function setClientAddress(Postman_Google_Service_Games_RoomClientAddress $clientAddress)
+ {
+ $this->clientAddress = $clientAddress;
+ }
+ public function getClientAddress()
+ {
+ return $this->clientAddress;
+ }
+ public function setConnected($connected)
+ {
+ $this->connected = $connected;
+ }
+ public function getConnected()
+ {
+ return $this->connected;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLeaveReason($leaveReason)
+ {
+ $this->leaveReason = $leaveReason;
+ }
+ public function getLeaveReason()
+ {
+ return $this->leaveReason;
+ }
+ public function setPlayer(Postman_Google_Service_Games_Player $player)
+ {
+ $this->player = $player;
+ }
+ public function getPlayer()
+ {
+ return $this->player;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Postman_Google_Service_Games_RoomStatus extends Postman_Google_Collection
+{
+ protected $collection_key = 'participants';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $autoMatchingStatusType = 'Postman_Google_Service_Games_RoomAutoMatchStatus';
+ protected $autoMatchingStatusDataType = '';
+ public $kind;
+ protected $participantsType = 'Postman_Google_Service_Games_RoomParticipant';
+ protected $participantsDataType = 'array';
+ public $roomId;
+ public $status;
+ public $statusVersion;
+
+
+ public function setAutoMatchingStatus(Postman_Google_Service_Games_RoomAutoMatchStatus $autoMatchingStatus)
+ {
+ $this->autoMatchingStatus = $autoMatchingStatus;
+ }
+ public function getAutoMatchingStatus()
+ {
+ return $this->autoMatchingStatus;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setParticipants($participants)
+ {
+ $this->participants = $participants;
+ }
+ public function getParticipants()
+ {
+ return $this->participants;
+ }
+ public function setRoomId($roomId)
+ {
+ $this->roomId = $roomId;
+ }
+ public function getRoomId()
+ {
+ return $this->roomId;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setStatusVersion($statusVersion)
+ {
+ $this->statusVersion = $statusVersion;
+ }
+ public function getStatusVersion()
+ {
+ return $this->statusVersion;
+ }
+}
+
+class Postman_Google_Service_Games_ScoreSubmission extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $leaderboardId;
+ public $score;
+ public $scoreTag;
+ public $signature;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLeaderboardId($leaderboardId)
+ {
+ $this->leaderboardId = $leaderboardId;
+ }
+ public function getLeaderboardId()
+ {
+ return $this->leaderboardId;
+ }
+ public function setScore($score)
+ {
+ $this->score = $score;
+ }
+ public function getScore()
+ {
+ return $this->score;
+ }
+ public function setScoreTag($scoreTag)
+ {
+ $this->scoreTag = $scoreTag;
+ }
+ public function getScoreTag()
+ {
+ return $this->scoreTag;
+ }
+ public function setSignature($signature)
+ {
+ $this->signature = $signature;
+ }
+ public function getSignature()
+ {
+ return $this->signature;
+ }
+}
+
+class Postman_Google_Service_Games_Snapshot extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $coverImageType = 'Postman_Google_Service_Games_SnapshotImage';
+ protected $coverImageDataType = '';
+ public $description;
+ public $driveId;
+ public $durationMillis;
+ public $id;
+ public $kind;
+ public $lastModifiedMillis;
+ public $progressValue;
+ public $title;
+ public $type;
+ public $uniqueName;
+
+
+ public function setCoverImage(Postman_Google_Service_Games_SnapshotImage $coverImage)
+ {
+ $this->coverImage = $coverImage;
+ }
+ public function getCoverImage()
+ {
+ return $this->coverImage;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDriveId($driveId)
+ {
+ $this->driveId = $driveId;
+ }
+ public function getDriveId()
+ {
+ return $this->driveId;
+ }
+ public function setDurationMillis($durationMillis)
+ {
+ $this->durationMillis = $durationMillis;
+ }
+ public function getDurationMillis()
+ {
+ return $this->durationMillis;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastModifiedMillis($lastModifiedMillis)
+ {
+ $this->lastModifiedMillis = $lastModifiedMillis;
+ }
+ public function getLastModifiedMillis()
+ {
+ return $this->lastModifiedMillis;
+ }
+ public function setProgressValue($progressValue)
+ {
+ $this->progressValue = $progressValue;
+ }
+ public function getProgressValue()
+ {
+ return $this->progressValue;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUniqueName($uniqueName)
+ {
+ $this->uniqueName = $uniqueName;
+ }
+ public function getUniqueName()
+ {
+ return $this->uniqueName;
+ }
+}
+
+class Postman_Google_Service_Games_SnapshotImage extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "mimeType" => "mime_type",
+ );
+ public $height;
+ public $kind;
+ public $mimeType;
+ public $url;
+ public $width;
+
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_Games_SnapshotListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Games_Snapshot';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Games_TurnBasedAutoMatchingCriteria extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $exclusiveBitmask;
+ public $kind;
+ public $maxAutoMatchingPlayers;
+ public $minAutoMatchingPlayers;
+
+
+ public function setExclusiveBitmask($exclusiveBitmask)
+ {
+ $this->exclusiveBitmask = $exclusiveBitmask;
+ }
+ public function getExclusiveBitmask()
+ {
+ return $this->exclusiveBitmask;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMaxAutoMatchingPlayers($maxAutoMatchingPlayers)
+ {
+ $this->maxAutoMatchingPlayers = $maxAutoMatchingPlayers;
+ }
+ public function getMaxAutoMatchingPlayers()
+ {
+ return $this->maxAutoMatchingPlayers;
+ }
+ public function setMinAutoMatchingPlayers($minAutoMatchingPlayers)
+ {
+ $this->minAutoMatchingPlayers = $minAutoMatchingPlayers;
+ }
+ public function getMinAutoMatchingPlayers()
+ {
+ return $this->minAutoMatchingPlayers;
+ }
+}
+
+class Postman_Google_Service_Games_TurnBasedMatch extends Postman_Google_Collection
+{
+ protected $collection_key = 'results';
+ protected $internal_gapi_mappings = array(
+ );
+ public $applicationId;
+ protected $autoMatchingCriteriaType = 'Postman_Google_Service_Games_TurnBasedAutoMatchingCriteria';
+ protected $autoMatchingCriteriaDataType = '';
+ protected $creationDetailsType = 'Postman_Google_Service_Games_TurnBasedMatchModification';
+ protected $creationDetailsDataType = '';
+ protected $dataType = 'Postman_Google_Service_Games_TurnBasedMatchData';
+ protected $dataDataType = '';
+ public $description;
+ public $inviterId;
+ public $kind;
+ protected $lastUpdateDetailsType = 'Postman_Google_Service_Games_TurnBasedMatchModification';
+ protected $lastUpdateDetailsDataType = '';
+ public $matchId;
+ public $matchNumber;
+ public $matchVersion;
+ protected $participantsType = 'Postman_Google_Service_Games_TurnBasedMatchParticipant';
+ protected $participantsDataType = 'array';
+ public $pendingParticipantId;
+ protected $previousMatchDataType = 'Postman_Google_Service_Games_TurnBasedMatchData';
+ protected $previousMatchDataDataType = '';
+ public $rematchId;
+ protected $resultsType = 'Postman_Google_Service_Games_ParticipantResult';
+ protected $resultsDataType = 'array';
+ public $status;
+ public $userMatchStatus;
+ public $variant;
+ public $withParticipantId;
+
+
+ public function setApplicationId($applicationId)
+ {
+ $this->applicationId = $applicationId;
+ }
+ public function getApplicationId()
+ {
+ return $this->applicationId;
+ }
+ public function setAutoMatchingCriteria(Postman_Google_Service_Games_TurnBasedAutoMatchingCriteria $autoMatchingCriteria)
+ {
+ $this->autoMatchingCriteria = $autoMatchingCriteria;
+ }
+ public function getAutoMatchingCriteria()
+ {
+ return $this->autoMatchingCriteria;
+ }
+ public function setCreationDetails(Postman_Google_Service_Games_TurnBasedMatchModification $creationDetails)
+ {
+ $this->creationDetails = $creationDetails;
+ }
+ public function getCreationDetails()
+ {
+ return $this->creationDetails;
+ }
+ public function setData(Postman_Google_Service_Games_TurnBasedMatchData $data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setInviterId($inviterId)
+ {
+ $this->inviterId = $inviterId;
+ }
+ public function getInviterId()
+ {
+ return $this->inviterId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastUpdateDetails(Postman_Google_Service_Games_TurnBasedMatchModification $lastUpdateDetails)
+ {
+ $this->lastUpdateDetails = $lastUpdateDetails;
+ }
+ public function getLastUpdateDetails()
+ {
+ return $this->lastUpdateDetails;
+ }
+ public function setMatchId($matchId)
+ {
+ $this->matchId = $matchId;
+ }
+ public function getMatchId()
+ {
+ return $this->matchId;
+ }
+ public function setMatchNumber($matchNumber)
+ {
+ $this->matchNumber = $matchNumber;
+ }
+ public function getMatchNumber()
+ {
+ return $this->matchNumber;
+ }
+ public function setMatchVersion($matchVersion)
+ {
+ $this->matchVersion = $matchVersion;
+ }
+ public function getMatchVersion()
+ {
+ return $this->matchVersion;
+ }
+ public function setParticipants($participants)
+ {
+ $this->participants = $participants;
+ }
+ public function getParticipants()
+ {
+ return $this->participants;
+ }
+ public function setPendingParticipantId($pendingParticipantId)
+ {
+ $this->pendingParticipantId = $pendingParticipantId;
+ }
+ public function getPendingParticipantId()
+ {
+ return $this->pendingParticipantId;
+ }
+ public function setPreviousMatchData(Postman_Google_Service_Games_TurnBasedMatchData $previousMatchData)
+ {
+ $this->previousMatchData = $previousMatchData;
+ }
+ public function getPreviousMatchData()
+ {
+ return $this->previousMatchData;
+ }
+ public function setRematchId($rematchId)
+ {
+ $this->rematchId = $rematchId;
+ }
+ public function getRematchId()
+ {
+ return $this->rematchId;
+ }
+ public function setResults($results)
+ {
+ $this->results = $results;
+ }
+ public function getResults()
+ {
+ return $this->results;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setUserMatchStatus($userMatchStatus)
+ {
+ $this->userMatchStatus = $userMatchStatus;
+ }
+ public function getUserMatchStatus()
+ {
+ return $this->userMatchStatus;
+ }
+ public function setVariant($variant)
+ {
+ $this->variant = $variant;
+ }
+ public function getVariant()
+ {
+ return $this->variant;
+ }
+ public function setWithParticipantId($withParticipantId)
+ {
+ $this->withParticipantId = $withParticipantId;
+ }
+ public function getWithParticipantId()
+ {
+ return $this->withParticipantId;
+ }
+}
+
+class Postman_Google_Service_Games_TurnBasedMatchCreateRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'invitedPlayerIds';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $autoMatchingCriteriaType = 'Postman_Google_Service_Games_TurnBasedAutoMatchingCriteria';
+ protected $autoMatchingCriteriaDataType = '';
+ public $invitedPlayerIds;
+ public $kind;
+ public $requestId;
+ public $variant;
+
+
+ public function setAutoMatchingCriteria(Postman_Google_Service_Games_TurnBasedAutoMatchingCriteria $autoMatchingCriteria)
+ {
+ $this->autoMatchingCriteria = $autoMatchingCriteria;
+ }
+ public function getAutoMatchingCriteria()
+ {
+ return $this->autoMatchingCriteria;
+ }
+ public function setInvitedPlayerIds($invitedPlayerIds)
+ {
+ $this->invitedPlayerIds = $invitedPlayerIds;
+ }
+ public function getInvitedPlayerIds()
+ {
+ return $this->invitedPlayerIds;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRequestId($requestId)
+ {
+ $this->requestId = $requestId;
+ }
+ public function getRequestId()
+ {
+ return $this->requestId;
+ }
+ public function setVariant($variant)
+ {
+ $this->variant = $variant;
+ }
+ public function getVariant()
+ {
+ return $this->variant;
+ }
+}
+
+class Postman_Google_Service_Games_TurnBasedMatchData extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $data;
+ public $dataAvailable;
+ public $kind;
+
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setDataAvailable($dataAvailable)
+ {
+ $this->dataAvailable = $dataAvailable;
+ }
+ public function getDataAvailable()
+ {
+ return $this->dataAvailable;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Games_TurnBasedMatchDataRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $data;
+ public $kind;
+
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Games_TurnBasedMatchList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Games_TurnBasedMatch';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Games_TurnBasedMatchModification extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $modifiedTimestampMillis;
+ public $participantId;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setModifiedTimestampMillis($modifiedTimestampMillis)
+ {
+ $this->modifiedTimestampMillis = $modifiedTimestampMillis;
+ }
+ public function getModifiedTimestampMillis()
+ {
+ return $this->modifiedTimestampMillis;
+ }
+ public function setParticipantId($participantId)
+ {
+ $this->participantId = $participantId;
+ }
+ public function getParticipantId()
+ {
+ return $this->participantId;
+ }
+}
+
+class Postman_Google_Service_Games_TurnBasedMatchParticipant extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $autoMatched;
+ protected $autoMatchedPlayerType = 'Postman_Google_Service_Games_AnonymousPlayer';
+ protected $autoMatchedPlayerDataType = '';
+ public $id;
+ public $kind;
+ protected $playerType = 'Postman_Google_Service_Games_Player';
+ protected $playerDataType = '';
+ public $status;
+
+
+ public function setAutoMatched($autoMatched)
+ {
+ $this->autoMatched = $autoMatched;
+ }
+ public function getAutoMatched()
+ {
+ return $this->autoMatched;
+ }
+ public function setAutoMatchedPlayer(Postman_Google_Service_Games_AnonymousPlayer $autoMatchedPlayer)
+ {
+ $this->autoMatchedPlayer = $autoMatchedPlayer;
+ }
+ public function getAutoMatchedPlayer()
+ {
+ return $this->autoMatchedPlayer;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPlayer(Postman_Google_Service_Games_Player $player)
+ {
+ $this->player = $player;
+ }
+ public function getPlayer()
+ {
+ return $this->player;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Postman_Google_Service_Games_TurnBasedMatchRematch extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $previousMatchType = 'Postman_Google_Service_Games_TurnBasedMatch';
+ protected $previousMatchDataType = '';
+ protected $rematchType = 'Postman_Google_Service_Games_TurnBasedMatch';
+ protected $rematchDataType = '';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPreviousMatch(Postman_Google_Service_Games_TurnBasedMatch $previousMatch)
+ {
+ $this->previousMatch = $previousMatch;
+ }
+ public function getPreviousMatch()
+ {
+ return $this->previousMatch;
+ }
+ public function setRematch(Postman_Google_Service_Games_TurnBasedMatch $rematch)
+ {
+ $this->rematch = $rematch;
+ }
+ public function getRematch()
+ {
+ return $this->rematch;
+ }
+}
+
+class Postman_Google_Service_Games_TurnBasedMatchResults extends Postman_Google_Collection
+{
+ protected $collection_key = 'results';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $dataType = 'Postman_Google_Service_Games_TurnBasedMatchDataRequest';
+ protected $dataDataType = '';
+ public $kind;
+ public $matchVersion;
+ protected $resultsType = 'Postman_Google_Service_Games_ParticipantResult';
+ protected $resultsDataType = 'array';
+
+
+ public function setData(Postman_Google_Service_Games_TurnBasedMatchDataRequest $data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMatchVersion($matchVersion)
+ {
+ $this->matchVersion = $matchVersion;
+ }
+ public function getMatchVersion()
+ {
+ return $this->matchVersion;
+ }
+ public function setResults($results)
+ {
+ $this->results = $results;
+ }
+ public function getResults()
+ {
+ return $this->results;
+ }
+}
+
+class Postman_Google_Service_Games_TurnBasedMatchSync extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Games_TurnBasedMatch';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $moreAvailable;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMoreAvailable($moreAvailable)
+ {
+ $this->moreAvailable = $moreAvailable;
+ }
+ public function getMoreAvailable()
+ {
+ return $this->moreAvailable;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Games_TurnBasedMatchTurn extends Postman_Google_Collection
+{
+ protected $collection_key = 'results';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $dataType = 'Postman_Google_Service_Games_TurnBasedMatchDataRequest';
+ protected $dataDataType = '';
+ public $kind;
+ public $matchVersion;
+ public $pendingParticipantId;
+ protected $resultsType = 'Postman_Google_Service_Games_ParticipantResult';
+ protected $resultsDataType = 'array';
+
+
+ public function setData(Postman_Google_Service_Games_TurnBasedMatchDataRequest $data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMatchVersion($matchVersion)
+ {
+ $this->matchVersion = $matchVersion;
+ }
+ public function getMatchVersion()
+ {
+ return $this->matchVersion;
+ }
+ public function setPendingParticipantId($pendingParticipantId)
+ {
+ $this->pendingParticipantId = $pendingParticipantId;
+ }
+ public function getPendingParticipantId()
+ {
+ return $this->pendingParticipantId;
+ }
+ public function setResults($results)
+ {
+ $this->results = $results;
+ }
+ public function getResults()
+ {
+ return $this->results;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/GamesManagement.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/GamesManagement.php
new file mode 100644
index 0000000..0ae184d
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/GamesManagement.php
@@ -0,0 +1,1385 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for GamesManagement (v1management).
+ *
+ * <p>
+ * The Management API for Google Play Game Services.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/games/services" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_GamesManagement extends Postman_Google_Service
+{
+ /** Share your Google+ profile information and view and manage your game activity. */
+ const GAMES =
+ "https://www.googleapis.com/auth/games";
+ /** Know your basic profile info and list of people in your circles.. */
+ const PLUS_LOGIN =
+ "https://www.googleapis.com/auth/plus.login";
+
+ public $achievements;
+ public $applications;
+ public $events;
+ public $players;
+ public $quests;
+ public $rooms;
+ public $scores;
+ public $turnBasedMatches;
+
+
+ /**
+ * Constructs the internal representation of the GamesManagement service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'games/v1management/';
+ $this->version = 'v1management';
+ $this->serviceName = 'gamesManagement';
+
+ $this->achievements = new Postman_Google_Service_GamesManagement_Achievements_Resource(
+ $this,
+ $this->serviceName,
+ 'achievements',
+ array(
+ 'methods' => array(
+ 'reset' => array(
+ 'path' => 'achievements/{achievementId}/reset',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'achievementId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'resetAll' => array(
+ 'path' => 'achievements/reset',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'resetAllForAllPlayers' => array(
+ 'path' => 'achievements/resetAllForAllPlayers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'resetForAllPlayers' => array(
+ 'path' => 'achievements/{achievementId}/resetForAllPlayers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'achievementId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'resetMultipleForAllPlayers' => array(
+ 'path' => 'achievements/resetMultipleForAllPlayers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->applications = new Postman_Google_Service_GamesManagement_Applications_Resource(
+ $this,
+ $this->serviceName,
+ 'applications',
+ array(
+ 'methods' => array(
+ 'listHidden' => array(
+ 'path' => 'applications/{applicationId}/players/hidden',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'applicationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->events = new Postman_Google_Service_GamesManagement_Events_Resource(
+ $this,
+ $this->serviceName,
+ 'events',
+ array(
+ 'methods' => array(
+ 'reset' => array(
+ 'path' => 'events/{eventId}/reset',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'eventId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'resetAll' => array(
+ 'path' => 'events/reset',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'resetAllForAllPlayers' => array(
+ 'path' => 'events/resetAllForAllPlayers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'resetForAllPlayers' => array(
+ 'path' => 'events/{eventId}/resetForAllPlayers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'eventId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'resetMultipleForAllPlayers' => array(
+ 'path' => 'events/resetMultipleForAllPlayers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->players = new Postman_Google_Service_GamesManagement_Players_Resource(
+ $this,
+ $this->serviceName,
+ 'players',
+ array(
+ 'methods' => array(
+ 'hide' => array(
+ 'path' => 'applications/{applicationId}/players/hidden/{playerId}',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'applicationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'playerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'unhide' => array(
+ 'path' => 'applications/{applicationId}/players/hidden/{playerId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'applicationId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'playerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->quests = new Postman_Google_Service_GamesManagement_Quests_Resource(
+ $this,
+ $this->serviceName,
+ 'quests',
+ array(
+ 'methods' => array(
+ 'reset' => array(
+ 'path' => 'quests/{questId}/reset',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'questId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'resetAll' => array(
+ 'path' => 'quests/reset',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'resetAllForAllPlayers' => array(
+ 'path' => 'quests/resetAllForAllPlayers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'resetForAllPlayers' => array(
+ 'path' => 'quests/{questId}/resetForAllPlayers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'questId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'resetMultipleForAllPlayers' => array(
+ 'path' => 'quests/resetMultipleForAllPlayers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->rooms = new Postman_Google_Service_GamesManagement_Rooms_Resource(
+ $this,
+ $this->serviceName,
+ 'rooms',
+ array(
+ 'methods' => array(
+ 'reset' => array(
+ 'path' => 'rooms/reset',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'resetForAllPlayers' => array(
+ 'path' => 'rooms/resetForAllPlayers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->scores = new Postman_Google_Service_GamesManagement_Scores_Resource(
+ $this,
+ $this->serviceName,
+ 'scores',
+ array(
+ 'methods' => array(
+ 'reset' => array(
+ 'path' => 'leaderboards/{leaderboardId}/scores/reset',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'leaderboardId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'resetAll' => array(
+ 'path' => 'scores/reset',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'resetAllForAllPlayers' => array(
+ 'path' => 'scores/resetAllForAllPlayers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'resetForAllPlayers' => array(
+ 'path' => 'leaderboards/{leaderboardId}/scores/resetForAllPlayers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'leaderboardId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'resetMultipleForAllPlayers' => array(
+ 'path' => 'scores/resetMultipleForAllPlayers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->turnBasedMatches = new Postman_Google_Service_GamesManagement_TurnBasedMatches_Resource(
+ $this,
+ $this->serviceName,
+ 'turnBasedMatches',
+ array(
+ 'methods' => array(
+ 'reset' => array(
+ 'path' => 'turnbasedmatches/reset',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'resetForAllPlayers' => array(
+ 'path' => 'turnbasedmatches/resetForAllPlayers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "achievements" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesManagementService = new Postman_Google_Service_GamesManagement(...);
+ * $achievements = $gamesManagementService->achievements;
+ * </code>
+ */
+class Postman_Google_Service_GamesManagement_Achievements_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Resets the achievement with the given ID for the currently authenticated
+ * player. This method is only accessible to whitelisted tester accounts for
+ * your application. (achievements.reset)
+ *
+ * @param string $achievementId The ID of the achievement used by this method.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_GamesManagement_AchievementResetResponse
+ */
+ public function reset($achievementId, $optParams = array())
+ {
+ $params = array('achievementId' => $achievementId);
+ $params = array_merge($params, $optParams);
+ return $this->call('reset', array($params), "Postman_Google_Service_GamesManagement_AchievementResetResponse");
+ }
+
+ /**
+ * Resets all achievements for the currently authenticated player for your
+ * application. This method is only accessible to whitelisted tester accounts
+ * for your application. (achievements.resetAll)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_GamesManagement_AchievementResetAllResponse
+ */
+ public function resetAll($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('resetAll', array($params), "Postman_Google_Service_GamesManagement_AchievementResetAllResponse");
+ }
+
+ /**
+ * Resets all draft achievements for all players. This method is only available
+ * to user accounts for your developer console.
+ * (achievements.resetAllForAllPlayers)
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function resetAllForAllPlayers($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('resetAllForAllPlayers', array($params));
+ }
+
+ /**
+ * Resets the achievement with the given ID for all players. This method is only
+ * available to user accounts for your developer console. Only draft
+ * achievements can be reset. (achievements.resetForAllPlayers)
+ *
+ * @param string $achievementId The ID of the achievement used by this method.
+ * @param array $optParams Optional parameters.
+ */
+ public function resetForAllPlayers($achievementId, $optParams = array())
+ {
+ $params = array('achievementId' => $achievementId);
+ $params = array_merge($params, $optParams);
+ return $this->call('resetForAllPlayers', array($params));
+ }
+
+ /**
+ * Resets achievements with the given IDs for all players. This method is only
+ * available to user accounts for your developer console. Only draft
+ * achievements may be reset. (achievements.resetMultipleForAllPlayers)
+ *
+ * @param Postman_Google_AchievementResetMultipleForAllRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function resetMultipleForAllPlayers(Postman_Google_Service_GamesManagement_AchievementResetMultipleForAllRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('resetMultipleForAllPlayers', array($params));
+ }
+}
+
+/**
+ * The "applications" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesManagementService = new Postman_Google_Service_GamesManagement(...);
+ * $applications = $gamesManagementService->applications;
+ * </code>
+ */
+class Postman_Google_Service_GamesManagement_Applications_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Get the list of players hidden from the given application. This method is
+ * only available to user accounts for your developer console.
+ * (applications.listHidden)
+ *
+ * @param string $applicationId The application ID from the Google Play
+ * developer console.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param int maxResults The maximum number of player resources to return in
+ * the response, used for paging. For any response, the actual number of player
+ * resources returned may be less than the specified maxResults.
+ * @return Postman_Google_Service_GamesManagement_HiddenPlayerList
+ */
+ public function listHidden($applicationId, $optParams = array())
+ {
+ $params = array('applicationId' => $applicationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('listHidden', array($params), "Postman_Google_Service_GamesManagement_HiddenPlayerList");
+ }
+}
+
+/**
+ * The "events" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesManagementService = new Postman_Google_Service_GamesManagement(...);
+ * $events = $gamesManagementService->events;
+ * </code>
+ */
+class Postman_Google_Service_GamesManagement_Events_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Resets all player progress on the event with the given ID for the currently
+ * authenticated player. This method is only accessible to whitelisted tester
+ * accounts for your application. All quests for this player that use the event
+ * will also be reset. (events.reset)
+ *
+ * @param string $eventId The ID of the event.
+ * @param array $optParams Optional parameters.
+ */
+ public function reset($eventId, $optParams = array())
+ {
+ $params = array('eventId' => $eventId);
+ $params = array_merge($params, $optParams);
+ return $this->call('reset', array($params));
+ }
+
+ /**
+ * Resets all player progress on all events for the currently authenticated
+ * player. This method is only accessible to whitelisted tester accounts for
+ * your application. All quests for this player will also be reset.
+ * (events.resetAll)
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function resetAll($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('resetAll', array($params));
+ }
+
+ /**
+ * Resets all draft events for all players. This method is only available to
+ * user accounts for your developer console. All quests that use any of these
+ * events will also be reset. (events.resetAllForAllPlayers)
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function resetAllForAllPlayers($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('resetAllForAllPlayers', array($params));
+ }
+
+ /**
+ * Resets the event with the given ID for all players. This method is only
+ * available to user accounts for your developer console. Only draft events can
+ * be reset. All quests that use the event will also be reset.
+ * (events.resetForAllPlayers)
+ *
+ * @param string $eventId The ID of the event.
+ * @param array $optParams Optional parameters.
+ */
+ public function resetForAllPlayers($eventId, $optParams = array())
+ {
+ $params = array('eventId' => $eventId);
+ $params = array_merge($params, $optParams);
+ return $this->call('resetForAllPlayers', array($params));
+ }
+
+ /**
+ * Resets events with the given IDs for all players. This method is only
+ * available to user accounts for your developer console. Only draft events may
+ * be reset. All quests that use any of the events will also be reset.
+ * (events.resetMultipleForAllPlayers)
+ *
+ * @param Postman_Google_EventsResetMultipleForAllRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function resetMultipleForAllPlayers(Postman_Google_Service_GamesManagement_EventsResetMultipleForAllRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('resetMultipleForAllPlayers', array($params));
+ }
+}
+
+/**
+ * The "players" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesManagementService = new Postman_Google_Service_GamesManagement(...);
+ * $players = $gamesManagementService->players;
+ * </code>
+ */
+class Postman_Google_Service_GamesManagement_Players_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Hide the given player's leaderboard scores from the given application. This
+ * method is only available to user accounts for your developer console.
+ * (players.hide)
+ *
+ * @param string $applicationId The application ID from the Google Play
+ * developer console.
+ * @param string $playerId A player ID. A value of me may be used in place of
+ * the authenticated player's ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function hide($applicationId, $playerId, $optParams = array())
+ {
+ $params = array('applicationId' => $applicationId, 'playerId' => $playerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('hide', array($params));
+ }
+
+ /**
+ * Unhide the given player's leaderboard scores from the given application. This
+ * method is only available to user accounts for your developer console.
+ * (players.unhide)
+ *
+ * @param string $applicationId The application ID from the Google Play
+ * developer console.
+ * @param string $playerId A player ID. A value of me may be used in place of
+ * the authenticated player's ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function unhide($applicationId, $playerId, $optParams = array())
+ {
+ $params = array('applicationId' => $applicationId, 'playerId' => $playerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('unhide', array($params));
+ }
+}
+
+/**
+ * The "quests" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesManagementService = new Postman_Google_Service_GamesManagement(...);
+ * $quests = $gamesManagementService->quests;
+ * </code>
+ */
+class Postman_Google_Service_GamesManagement_Quests_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Resets all player progress on the quest with the given ID for the currently
+ * authenticated player. This method is only accessible to whitelisted tester
+ * accounts for your application. (quests.reset)
+ *
+ * @param string $questId The ID of the quest.
+ * @param array $optParams Optional parameters.
+ */
+ public function reset($questId, $optParams = array())
+ {
+ $params = array('questId' => $questId);
+ $params = array_merge($params, $optParams);
+ return $this->call('reset', array($params));
+ }
+
+ /**
+ * Resets all player progress on all quests for the currently authenticated
+ * player. This method is only accessible to whitelisted tester accounts for
+ * your application. (quests.resetAll)
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function resetAll($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('resetAll', array($params));
+ }
+
+ /**
+ * Resets all draft quests for all players. This method is only available to
+ * user accounts for your developer console. (quests.resetAllForAllPlayers)
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function resetAllForAllPlayers($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('resetAllForAllPlayers', array($params));
+ }
+
+ /**
+ * Resets all player progress on the quest with the given ID for all players.
+ * This method is only available to user accounts for your developer console.
+ * Only draft quests can be reset. (quests.resetForAllPlayers)
+ *
+ * @param string $questId The ID of the quest.
+ * @param array $optParams Optional parameters.
+ */
+ public function resetForAllPlayers($questId, $optParams = array())
+ {
+ $params = array('questId' => $questId);
+ $params = array_merge($params, $optParams);
+ return $this->call('resetForAllPlayers', array($params));
+ }
+
+ /**
+ * Resets quests with the given IDs for all players. This method is only
+ * available to user accounts for your developer console. Only draft quests may
+ * be reset. (quests.resetMultipleForAllPlayers)
+ *
+ * @param Postman_Google_QuestsResetMultipleForAllRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function resetMultipleForAllPlayers(Postman_Google_Service_GamesManagement_QuestsResetMultipleForAllRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('resetMultipleForAllPlayers', array($params));
+ }
+}
+
+/**
+ * The "rooms" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesManagementService = new Postman_Google_Service_GamesManagement(...);
+ * $rooms = $gamesManagementService->rooms;
+ * </code>
+ */
+class Postman_Google_Service_GamesManagement_Rooms_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Reset all rooms for the currently authenticated player for your application.
+ * This method is only accessible to whitelisted tester accounts for your
+ * application. (rooms.reset)
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function reset($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('reset', array($params));
+ }
+
+ /**
+ * Deletes rooms where the only room participants are from whitelisted tester
+ * accounts for your application. This method is only available to user accounts
+ * for your developer console. (rooms.resetForAllPlayers)
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function resetForAllPlayers($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('resetForAllPlayers', array($params));
+ }
+}
+
+/**
+ * The "scores" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesManagementService = new Postman_Google_Service_GamesManagement(...);
+ * $scores = $gamesManagementService->scores;
+ * </code>
+ */
+class Postman_Google_Service_GamesManagement_Scores_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Resets scores for the leaderboard with the given ID for the currently
+ * authenticated player. This method is only accessible to whitelisted tester
+ * accounts for your application. (scores.reset)
+ *
+ * @param string $leaderboardId The ID of the leaderboard.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_GamesManagement_PlayerScoreResetResponse
+ */
+ public function reset($leaderboardId, $optParams = array())
+ {
+ $params = array('leaderboardId' => $leaderboardId);
+ $params = array_merge($params, $optParams);
+ return $this->call('reset', array($params), "Postman_Google_Service_GamesManagement_PlayerScoreResetResponse");
+ }
+
+ /**
+ * Resets all scores for all leaderboards for the currently authenticated
+ * players. This method is only accessible to whitelisted tester accounts for
+ * your application. (scores.resetAll)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_GamesManagement_PlayerScoreResetAllResponse
+ */
+ public function resetAll($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('resetAll', array($params), "Postman_Google_Service_GamesManagement_PlayerScoreResetAllResponse");
+ }
+
+ /**
+ * Resets scores for all draft leaderboards for all players. This method is only
+ * available to user accounts for your developer console.
+ * (scores.resetAllForAllPlayers)
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function resetAllForAllPlayers($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('resetAllForAllPlayers', array($params));
+ }
+
+ /**
+ * Resets scores for the leaderboard with the given ID for all players. This
+ * method is only available to user accounts for your developer console. Only
+ * draft leaderboards can be reset. (scores.resetForAllPlayers)
+ *
+ * @param string $leaderboardId The ID of the leaderboard.
+ * @param array $optParams Optional parameters.
+ */
+ public function resetForAllPlayers($leaderboardId, $optParams = array())
+ {
+ $params = array('leaderboardId' => $leaderboardId);
+ $params = array_merge($params, $optParams);
+ return $this->call('resetForAllPlayers', array($params));
+ }
+
+ /**
+ * Resets scores for the leaderboards with the given IDs for all players. This
+ * method is only available to user accounts for your developer console. Only
+ * draft leaderboards may be reset. (scores.resetMultipleForAllPlayers)
+ *
+ * @param Postman_Google_ScoresResetMultipleForAllRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function resetMultipleForAllPlayers(Postman_Google_Service_GamesManagement_ScoresResetMultipleForAllRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('resetMultipleForAllPlayers', array($params));
+ }
+}
+
+/**
+ * The "turnBasedMatches" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gamesManagementService = new Postman_Google_Service_GamesManagement(...);
+ * $turnBasedMatches = $gamesManagementService->turnBasedMatches;
+ * </code>
+ */
+class Postman_Google_Service_GamesManagement_TurnBasedMatches_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Reset all turn-based match data for a user. This method is only accessible to
+ * whitelisted tester accounts for your application. (turnBasedMatches.reset)
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function reset($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('reset', array($params));
+ }
+
+ /**
+ * Deletes turn-based matches where the only match participants are from
+ * whitelisted tester accounts for your application. This method is only
+ * available to user accounts for your developer console.
+ * (turnBasedMatches.resetForAllPlayers)
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function resetForAllPlayers($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('resetForAllPlayers', array($params));
+ }
+}
+
+
+
+
+class Postman_Google_Service_GamesManagement_AchievementResetAllResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'results';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $resultsType = 'Postman_Google_Service_GamesManagement_AchievementResetResponse';
+ protected $resultsDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setResults($results)
+ {
+ $this->results = $results;
+ }
+ public function getResults()
+ {
+ return $this->results;
+ }
+}
+
+class Postman_Google_Service_GamesManagement_AchievementResetMultipleForAllRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'achievement_ids';
+ protected $internal_gapi_mappings = array(
+ "achievementIds" => "achievement_ids",
+ );
+ public $achievementIds;
+ public $kind;
+
+
+ public function setAchievementIds($achievementIds)
+ {
+ $this->achievementIds = $achievementIds;
+ }
+ public function getAchievementIds()
+ {
+ return $this->achievementIds;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_GamesManagement_AchievementResetResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $currentState;
+ public $definitionId;
+ public $kind;
+ public $updateOccurred;
+
+
+ public function setCurrentState($currentState)
+ {
+ $this->currentState = $currentState;
+ }
+ public function getCurrentState()
+ {
+ return $this->currentState;
+ }
+ public function setDefinitionId($definitionId)
+ {
+ $this->definitionId = $definitionId;
+ }
+ public function getDefinitionId()
+ {
+ return $this->definitionId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUpdateOccurred($updateOccurred)
+ {
+ $this->updateOccurred = $updateOccurred;
+ }
+ public function getUpdateOccurred()
+ {
+ return $this->updateOccurred;
+ }
+}
+
+class Postman_Google_Service_GamesManagement_EventsResetMultipleForAllRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'event_ids';
+ protected $internal_gapi_mappings = array(
+ "eventIds" => "event_ids",
+ );
+ public $eventIds;
+ public $kind;
+
+
+ public function setEventIds($eventIds)
+ {
+ $this->eventIds = $eventIds;
+ }
+ public function getEventIds()
+ {
+ return $this->eventIds;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_GamesManagement_GamesPlayedResource extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $autoMatched;
+ public $timeMillis;
+
+
+ public function setAutoMatched($autoMatched)
+ {
+ $this->autoMatched = $autoMatched;
+ }
+ public function getAutoMatched()
+ {
+ return $this->autoMatched;
+ }
+ public function setTimeMillis($timeMillis)
+ {
+ $this->timeMillis = $timeMillis;
+ }
+ public function getTimeMillis()
+ {
+ return $this->timeMillis;
+ }
+}
+
+class Postman_Google_Service_GamesManagement_GamesPlayerExperienceInfoResource extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $currentExperiencePoints;
+ protected $currentLevelType = 'Postman_Google_Service_GamesManagement_GamesPlayerLevelResource';
+ protected $currentLevelDataType = '';
+ public $lastLevelUpTimestampMillis;
+ protected $nextLevelType = 'Postman_Google_Service_GamesManagement_GamesPlayerLevelResource';
+ protected $nextLevelDataType = '';
+
+
+ public function setCurrentExperiencePoints($currentExperiencePoints)
+ {
+ $this->currentExperiencePoints = $currentExperiencePoints;
+ }
+ public function getCurrentExperiencePoints()
+ {
+ return $this->currentExperiencePoints;
+ }
+ public function setCurrentLevel(Postman_Google_Service_GamesManagement_GamesPlayerLevelResource $currentLevel)
+ {
+ $this->currentLevel = $currentLevel;
+ }
+ public function getCurrentLevel()
+ {
+ return $this->currentLevel;
+ }
+ public function setLastLevelUpTimestampMillis($lastLevelUpTimestampMillis)
+ {
+ $this->lastLevelUpTimestampMillis = $lastLevelUpTimestampMillis;
+ }
+ public function getLastLevelUpTimestampMillis()
+ {
+ return $this->lastLevelUpTimestampMillis;
+ }
+ public function setNextLevel(Postman_Google_Service_GamesManagement_GamesPlayerLevelResource $nextLevel)
+ {
+ $this->nextLevel = $nextLevel;
+ }
+ public function getNextLevel()
+ {
+ return $this->nextLevel;
+ }
+}
+
+class Postman_Google_Service_GamesManagement_GamesPlayerLevelResource extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $level;
+ public $maxExperiencePoints;
+ public $minExperiencePoints;
+
+
+ public function setLevel($level)
+ {
+ $this->level = $level;
+ }
+ public function getLevel()
+ {
+ return $this->level;
+ }
+ public function setMaxExperiencePoints($maxExperiencePoints)
+ {
+ $this->maxExperiencePoints = $maxExperiencePoints;
+ }
+ public function getMaxExperiencePoints()
+ {
+ return $this->maxExperiencePoints;
+ }
+ public function setMinExperiencePoints($minExperiencePoints)
+ {
+ $this->minExperiencePoints = $minExperiencePoints;
+ }
+ public function getMinExperiencePoints()
+ {
+ return $this->minExperiencePoints;
+ }
+}
+
+class Postman_Google_Service_GamesManagement_HiddenPlayer extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $hiddenTimeMillis;
+ public $kind;
+ protected $playerType = 'Postman_Google_Service_GamesManagement_Player';
+ protected $playerDataType = '';
+
+
+ public function setHiddenTimeMillis($hiddenTimeMillis)
+ {
+ $this->hiddenTimeMillis = $hiddenTimeMillis;
+ }
+ public function getHiddenTimeMillis()
+ {
+ return $this->hiddenTimeMillis;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPlayer(Postman_Google_Service_GamesManagement_Player $player)
+ {
+ $this->player = $player;
+ }
+ public function getPlayer()
+ {
+ return $this->player;
+ }
+}
+
+class Postman_Google_Service_GamesManagement_HiddenPlayerList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_GamesManagement_HiddenPlayer';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_GamesManagement_Player extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $avatarImageUrl;
+ public $displayName;
+ protected $experienceInfoType = 'Postman_Google_Service_GamesManagement_GamesPlayerExperienceInfoResource';
+ protected $experienceInfoDataType = '';
+ public $kind;
+ protected $lastPlayedWithType = 'Postman_Google_Service_GamesManagement_GamesPlayedResource';
+ protected $lastPlayedWithDataType = '';
+ protected $nameType = 'Postman_Google_Service_GamesManagement_PlayerName';
+ protected $nameDataType = '';
+ public $playerId;
+ public $title;
+
+
+ public function setAvatarImageUrl($avatarImageUrl)
+ {
+ $this->avatarImageUrl = $avatarImageUrl;
+ }
+ public function getAvatarImageUrl()
+ {
+ return $this->avatarImageUrl;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setExperienceInfo(Postman_Google_Service_GamesManagement_GamesPlayerExperienceInfoResource $experienceInfo)
+ {
+ $this->experienceInfo = $experienceInfo;
+ }
+ public function getExperienceInfo()
+ {
+ return $this->experienceInfo;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastPlayedWith(Postman_Google_Service_GamesManagement_GamesPlayedResource $lastPlayedWith)
+ {
+ $this->lastPlayedWith = $lastPlayedWith;
+ }
+ public function getLastPlayedWith()
+ {
+ return $this->lastPlayedWith;
+ }
+ public function setName(Postman_Google_Service_GamesManagement_PlayerName $name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPlayerId($playerId)
+ {
+ $this->playerId = $playerId;
+ }
+ public function getPlayerId()
+ {
+ return $this->playerId;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_GamesManagement_PlayerName extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $familyName;
+ public $givenName;
+
+
+ public function setFamilyName($familyName)
+ {
+ $this->familyName = $familyName;
+ }
+ public function getFamilyName()
+ {
+ return $this->familyName;
+ }
+ public function setGivenName($givenName)
+ {
+ $this->givenName = $givenName;
+ }
+ public function getGivenName()
+ {
+ return $this->givenName;
+ }
+}
+
+class Postman_Google_Service_GamesManagement_PlayerScoreResetAllResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'results';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $resultsType = 'Postman_Google_Service_GamesManagement_PlayerScoreResetResponse';
+ protected $resultsDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setResults($results)
+ {
+ $this->results = $results;
+ }
+ public function getResults()
+ {
+ return $this->results;
+ }
+}
+
+class Postman_Google_Service_GamesManagement_PlayerScoreResetResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'resetScoreTimeSpans';
+ protected $internal_gapi_mappings = array(
+ );
+ public $definitionId;
+ public $kind;
+ public $resetScoreTimeSpans;
+
+
+ public function setDefinitionId($definitionId)
+ {
+ $this->definitionId = $definitionId;
+ }
+ public function getDefinitionId()
+ {
+ return $this->definitionId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setResetScoreTimeSpans($resetScoreTimeSpans)
+ {
+ $this->resetScoreTimeSpans = $resetScoreTimeSpans;
+ }
+ public function getResetScoreTimeSpans()
+ {
+ return $this->resetScoreTimeSpans;
+ }
+}
+
+class Postman_Google_Service_GamesManagement_QuestsResetMultipleForAllRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'quest_ids';
+ protected $internal_gapi_mappings = array(
+ "questIds" => "quest_ids",
+ );
+ public $kind;
+ public $questIds;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setQuestIds($questIds)
+ {
+ $this->questIds = $questIds;
+ }
+ public function getQuestIds()
+ {
+ return $this->questIds;
+ }
+}
+
+class Postman_Google_Service_GamesManagement_ScoresResetMultipleForAllRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'leaderboard_ids';
+ protected $internal_gapi_mappings = array(
+ "leaderboardIds" => "leaderboard_ids",
+ );
+ public $kind;
+ public $leaderboardIds;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLeaderboardIds($leaderboardIds)
+ {
+ $this->leaderboardIds = $leaderboardIds;
+ }
+ public function getLeaderboardIds()
+ {
+ return $this->leaderboardIds;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Genomics.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Genomics.php
new file mode 100644
index 0000000..76a48a1
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Genomics.php
@@ -0,0 +1,4227 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Genomics (v1beta2).
+ *
+ * <p>
+ * Provides access to Genomics data.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/genomics/v1beta2/reference" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Genomics extends Postman_Google_Service
+{
+ /** View and manage your data in Google BigQuery. */
+ const BIGQUERY =
+ "https://www.googleapis.com/auth/bigquery";
+ /** Manage your data in Google Cloud Storage. */
+ const DEVSTORAGE_READ_WRITE =
+ "https://www.googleapis.com/auth/devstorage.read_write";
+ /** View and manage Genomics data. */
+ const GENOMICS =
+ "https://www.googleapis.com/auth/genomics";
+ /** View Genomics data. */
+ const GENOMICS_READONLY =
+ "https://www.googleapis.com/auth/genomics.readonly";
+
+ public $callsets;
+ public $datasets;
+ public $experimental_jobs;
+ public $jobs;
+ public $readgroupsets;
+ public $readgroupsets_coveragebuckets;
+ public $reads;
+ public $references;
+ public $references_bases;
+ public $referencesets;
+ public $variants;
+ public $variantsets;
+
+
+ /**
+ * Constructs the internal representation of the Genomics service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'genomics/v1beta2/';
+ $this->version = 'v1beta2';
+ $this->serviceName = 'genomics';
+
+ $this->callsets = new Postman_Google_Service_Genomics_Callsets_Resource(
+ $this,
+ $this->serviceName,
+ 'callsets',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'callsets',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => 'callsets/{callSetId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'callSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'callsets/{callSetId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'callSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'callsets/{callSetId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'callSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'callsets/search',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'update' => array(
+ 'path' => 'callsets/{callSetId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'callSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->datasets = new Postman_Google_Service_Genomics_Datasets_Resource(
+ $this,
+ $this->serviceName,
+ 'datasets',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'datasets',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => 'datasets/{datasetId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'datasets/{datasetId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'datasets',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projectNumber' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'datasets/{datasetId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'undelete' => array(
+ 'path' => 'datasets/{datasetId}/undelete',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'datasets/{datasetId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->experimental_jobs = new Postman_Google_Service_Genomics_ExperimentalJobs_Resource(
+ $this,
+ $this->serviceName,
+ 'jobs',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'experimental/jobs/create',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->jobs = new Postman_Google_Service_Genomics_Jobs_Resource(
+ $this,
+ $this->serviceName,
+ 'jobs',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => 'jobs/{jobId}/cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'jobs/{jobId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'jobs/search',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->readgroupsets = new Postman_Google_Service_Genomics_Readgroupsets_Resource(
+ $this,
+ $this->serviceName,
+ 'readgroupsets',
+ array(
+ 'methods' => array(
+ 'align' => array(
+ 'path' => 'readgroupsets/align',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'call' => array(
+ 'path' => 'readgroupsets/call',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => 'readgroupsets/{readGroupSetId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'readGroupSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'export' => array(
+ 'path' => 'readgroupsets/export',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'get' => array(
+ 'path' => 'readgroupsets/{readGroupSetId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'readGroupSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'import' => array(
+ 'path' => 'readgroupsets/import',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'patch' => array(
+ 'path' => 'readgroupsets/{readGroupSetId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'readGroupSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'readgroupsets/search',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'update' => array(
+ 'path' => 'readgroupsets/{readGroupSetId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'readGroupSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->readgroupsets_coveragebuckets = new Postman_Google_Service_Genomics_ReadgroupsetsCoveragebuckets_Resource(
+ $this,
+ $this->serviceName,
+ 'coveragebuckets',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'readgroupsets/{readGroupSetId}/coveragebuckets',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'readGroupSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'range.start' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'range.end' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'range.referenceName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'targetBucketWidth' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->reads = new Postman_Google_Service_Genomics_Reads_Resource(
+ $this,
+ $this->serviceName,
+ 'reads',
+ array(
+ 'methods' => array(
+ 'search' => array(
+ 'path' => 'reads/search',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->references = new Postman_Google_Service_Genomics_References_Resource(
+ $this,
+ $this->serviceName,
+ 'references',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'references/{referenceId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'referenceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'references/search',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->references_bases = new Postman_Google_Service_Genomics_ReferencesBases_Resource(
+ $this,
+ $this->serviceName,
+ 'bases',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'references/{referenceId}/bases',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'referenceId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'end' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageSize' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->referencesets = new Postman_Google_Service_Genomics_Referencesets_Resource(
+ $this,
+ $this->serviceName,
+ 'referencesets',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'referencesets/{referenceSetId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'referenceSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'referencesets/search',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->variants = new Postman_Google_Service_Genomics_Variants_Resource(
+ $this,
+ $this->serviceName,
+ 'variants',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'variants',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => 'variants/{variantId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'variantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'variants/{variantId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'variantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'variants/search',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'update' => array(
+ 'path' => 'variants/{variantId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'variantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->variantsets = new Postman_Google_Service_Genomics_Variantsets_Resource(
+ $this,
+ $this->serviceName,
+ 'variantsets',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'variantsets/{variantSetId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'variantSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'export' => array(
+ 'path' => 'variantsets/{variantSetId}/export',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'variantSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'variantsets/{variantSetId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'variantSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'importVariants' => array(
+ 'path' => 'variantsets/{variantSetId}/importVariants',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'variantSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'mergeVariants' => array(
+ 'path' => 'variantsets/{variantSetId}/mergeVariants',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'variantSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'variantsets/{variantSetId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'variantSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'variantsets/search',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'update' => array(
+ 'path' => 'variantsets/{variantSetId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'variantSetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "callsets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Postman_Google_Service_Genomics(...);
+ * $callsets = $genomicsService->callsets;
+ * </code>
+ */
+class Postman_Google_Service_Genomics_Callsets_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Creates a new call set. (callsets.create)
+ *
+ * @param Postman_Google_CallSet $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_CallSet
+ */
+ public function create(Postman_Google_Service_Genomics_CallSet $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_Genomics_CallSet");
+ }
+
+ /**
+ * Deletes a call set. (callsets.delete)
+ *
+ * @param string $callSetId The ID of the call set to be deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($callSetId, $optParams = array())
+ {
+ $params = array('callSetId' => $callSetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a call set by ID. (callsets.get)
+ *
+ * @param string $callSetId The ID of the call set.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_CallSet
+ */
+ public function get($callSetId, $optParams = array())
+ {
+ $params = array('callSetId' => $callSetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Genomics_CallSet");
+ }
+
+ /**
+ * Updates a call set. This method supports patch semantics. (callsets.patch)
+ *
+ * @param string $callSetId The ID of the call set to be updated.
+ * @param Postman_Google_CallSet $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_CallSet
+ */
+ public function patch($callSetId, Postman_Google_Service_Genomics_CallSet $postBody, $optParams = array())
+ {
+ $params = array('callSetId' => $callSetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Genomics_CallSet");
+ }
+
+ /**
+ * Gets a list of call sets matching the criteria.
+ *
+ * Implements GlobalAllianceApi.searchCallSets. (callsets.search)
+ *
+ * @param Postman_Google_SearchCallSetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_SearchCallSetsResponse
+ */
+ public function search(Postman_Google_Service_Genomics_SearchCallSetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Postman_Google_Service_Genomics_SearchCallSetsResponse");
+ }
+
+ /**
+ * Updates a call set. (callsets.update)
+ *
+ * @param string $callSetId The ID of the call set to be updated.
+ * @param Postman_Google_CallSet $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_CallSet
+ */
+ public function update($callSetId, Postman_Google_Service_Genomics_CallSet $postBody, $optParams = array())
+ {
+ $params = array('callSetId' => $callSetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Genomics_CallSet");
+ }
+}
+
+/**
+ * The "datasets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Postman_Google_Service_Genomics(...);
+ * $datasets = $genomicsService->datasets;
+ * </code>
+ */
+class Postman_Google_Service_Genomics_Datasets_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Creates a new dataset. (datasets.create)
+ *
+ * @param Postman_Google_Dataset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_Dataset
+ */
+ public function create(Postman_Google_Service_Genomics_Dataset $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_Genomics_Dataset");
+ }
+
+ /**
+ * Deletes a dataset. (datasets.delete)
+ *
+ * @param string $datasetId The ID of the dataset to be deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($datasetId, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a dataset by ID. (datasets.get)
+ *
+ * @param string $datasetId The ID of the dataset.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_Dataset
+ */
+ public function get($datasetId, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Genomics_Dataset");
+ }
+
+ /**
+ * Lists all datasets. (datasets.listDatasets)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The continuation token, which is used to page
+ * through large result sets. To get the next page of results, set this
+ * parameter to the value of nextPageToken from the previous response.
+ * @opt_param string projectNumber Only return datasets which belong to this
+ * Google Developers Console project. Only accepts project numbers. Returns all
+ * public projects if no project number is specified.
+ * @opt_param int pageSize The maximum number of results returned by this
+ * request.
+ * @return Postman_Google_Service_Genomics_ListDatasetsResponse
+ */
+ public function listDatasets($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Genomics_ListDatasetsResponse");
+ }
+
+ /**
+ * Updates a dataset. This method supports patch semantics. (datasets.patch)
+ *
+ * @param string $datasetId The ID of the dataset to be updated.
+ * @param Postman_Google_Dataset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_Dataset
+ */
+ public function patch($datasetId, Postman_Google_Service_Genomics_Dataset $postBody, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Genomics_Dataset");
+ }
+
+ /**
+ * Undeletes a dataset by restoring a dataset which was deleted via this API.
+ * This operation is only possible for a week after the deletion occurred.
+ * (datasets.undelete)
+ *
+ * @param string $datasetId The ID of the dataset to be undeleted.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_Dataset
+ */
+ public function undelete($datasetId, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('undelete', array($params), "Postman_Google_Service_Genomics_Dataset");
+ }
+
+ /**
+ * Updates a dataset. (datasets.update)
+ *
+ * @param string $datasetId The ID of the dataset to be updated.
+ * @param Postman_Google_Dataset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_Dataset
+ */
+ public function update($datasetId, Postman_Google_Service_Genomics_Dataset $postBody, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Genomics_Dataset");
+ }
+}
+
+/**
+ * The "experimental" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Postman_Google_Service_Genomics(...);
+ * $experimental = $genomicsService->experimental;
+ * </code>
+ */
+class Postman_Google_Service_Genomics_Experimental_Resource extends Postman_Google_Service_Resource
+{
+}
+
+/**
+ * The "jobs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Postman_Google_Service_Genomics(...);
+ * $jobs = $genomicsService->jobs;
+ * </code>
+ */
+class Postman_Google_Service_Genomics_ExperimentalJobs_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Creates and asynchronously runs an ad-hoc job. This is an experimental call
+ * and may be removed or changed at any time. (jobs.create)
+ *
+ * @param Postman_Google_ExperimentalCreateJobRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_ExperimentalCreateJobResponse
+ */
+ public function create(Postman_Google_Service_Genomics_ExperimentalCreateJobRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_Genomics_ExperimentalCreateJobResponse");
+ }
+}
+
+/**
+ * The "jobs" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Postman_Google_Service_Genomics(...);
+ * $jobs = $genomicsService->jobs;
+ * </code>
+ */
+class Postman_Google_Service_Genomics_Jobs_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Cancels a job by ID. Note that it is possible for partial results to be
+ * generated and stored for cancelled jobs. (jobs.cancel)
+ *
+ * @param string $jobId Required. The ID of the job.
+ * @param array $optParams Optional parameters.
+ */
+ public function cancel($jobId, $optParams = array())
+ {
+ $params = array('jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params));
+ }
+
+ /**
+ * Gets a job by ID. (jobs.get)
+ *
+ * @param string $jobId Required. The ID of the job.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_Job
+ */
+ public function get($jobId, $optParams = array())
+ {
+ $params = array('jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Genomics_Job");
+ }
+
+ /**
+ * Gets a list of jobs matching the criteria. (jobs.search)
+ *
+ * @param Postman_Google_SearchJobsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_SearchJobsResponse
+ */
+ public function search(Postman_Google_Service_Genomics_SearchJobsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Postman_Google_Service_Genomics_SearchJobsResponse");
+ }
+}
+
+/**
+ * The "readgroupsets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Postman_Google_Service_Genomics(...);
+ * $readgroupsets = $genomicsService->readgroupsets;
+ * </code>
+ */
+class Postman_Google_Service_Genomics_Readgroupsets_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Aligns read data from existing read group sets or files from Google Cloud
+ * Storage. See the alignment and variant calling documentation for more
+ * details. (readgroupsets.align)
+ *
+ * @param Postman_Google_AlignReadGroupSetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_AlignReadGroupSetsResponse
+ */
+ public function align(Postman_Google_Service_Genomics_AlignReadGroupSetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('align', array($params), "Postman_Google_Service_Genomics_AlignReadGroupSetsResponse");
+ }
+
+ /**
+ * Calls variants on read data from existing read group sets or files from
+ * Google Cloud Storage. See the alignment and variant calling documentation
+ * for more details. (readgroupsets.callReadgroupsets)
+ *
+ * @param Postman_Google_CallReadGroupSetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_CallReadGroupSetsResponse
+ */
+ public function callReadgroupsets(Postman_Google_Service_Genomics_CallReadGroupSetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('call', array($params), "Postman_Google_Service_Genomics_CallReadGroupSetsResponse");
+ }
+
+ /**
+ * Deletes a read group set. (readgroupsets.delete)
+ *
+ * @param string $readGroupSetId The ID of the read group set to be deleted. The
+ * caller must have WRITE permissions to the dataset associated with this read
+ * group set.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($readGroupSetId, $optParams = array())
+ {
+ $params = array('readGroupSetId' => $readGroupSetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Exports read group sets to a BAM file in Google Cloud Storage.
+ *
+ * Note that currently there may be some differences between exported BAM files
+ * and the original BAM file at the time of import. In particular, comments in
+ * the input file header will not be preserved, and some custom tags will be
+ * converted to strings. (readgroupsets.export)
+ *
+ * @param Postman_Google_ExportReadGroupSetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_ExportReadGroupSetsResponse
+ */
+ public function export(Postman_Google_Service_Genomics_ExportReadGroupSetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('export', array($params), "Postman_Google_Service_Genomics_ExportReadGroupSetsResponse");
+ }
+
+ /**
+ * Gets a read group set by ID. (readgroupsets.get)
+ *
+ * @param string $readGroupSetId The ID of the read group set.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_ReadGroupSet
+ */
+ public function get($readGroupSetId, $optParams = array())
+ {
+ $params = array('readGroupSetId' => $readGroupSetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Genomics_ReadGroupSet");
+ }
+
+ /**
+ * Creates read group sets by asynchronously importing the provided information.
+ *
+ * Note that currently comments in the input file header are not imported and
+ * some custom tags will be converted to strings, rather than preserving tag
+ * types. The caller must have WRITE permissions to the dataset.
+ * (readgroupsets.import)
+ *
+ * @param Postman_Google_ImportReadGroupSetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_ImportReadGroupSetsResponse
+ */
+ public function import(Postman_Google_Service_Genomics_ImportReadGroupSetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('import', array($params), "Postman_Google_Service_Genomics_ImportReadGroupSetsResponse");
+ }
+
+ /**
+ * Updates a read group set. This method supports patch semantics.
+ * (readgroupsets.patch)
+ *
+ * @param string $readGroupSetId The ID of the read group set to be updated. The
+ * caller must have WRITE permissions to the dataset associated with this read
+ * group set.
+ * @param Postman_Google_ReadGroupSet $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_ReadGroupSet
+ */
+ public function patch($readGroupSetId, Postman_Google_Service_Genomics_ReadGroupSet $postBody, $optParams = array())
+ {
+ $params = array('readGroupSetId' => $readGroupSetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Genomics_ReadGroupSet");
+ }
+
+ /**
+ * Searches for read group sets matching the criteria.
+ *
+ * Implements GlobalAllianceApi.searchReadGroupSets. (readgroupsets.search)
+ *
+ * @param Postman_Google_SearchReadGroupSetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_SearchReadGroupSetsResponse
+ */
+ public function search(Postman_Google_Service_Genomics_SearchReadGroupSetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Postman_Google_Service_Genomics_SearchReadGroupSetsResponse");
+ }
+
+ /**
+ * Updates a read group set. (readgroupsets.update)
+ *
+ * @param string $readGroupSetId The ID of the read group set to be updated. The
+ * caller must have WRITE permissions to the dataset associated with this read
+ * group set.
+ * @param Postman_Google_ReadGroupSet $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_ReadGroupSet
+ */
+ public function update($readGroupSetId, Postman_Google_Service_Genomics_ReadGroupSet $postBody, $optParams = array())
+ {
+ $params = array('readGroupSetId' => $readGroupSetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Genomics_ReadGroupSet");
+ }
+}
+
+/**
+ * The "coveragebuckets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Postman_Google_Service_Genomics(...);
+ * $coveragebuckets = $genomicsService->coveragebuckets;
+ * </code>
+ */
+class Postman_Google_Service_Genomics_ReadgroupsetsCoveragebuckets_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Lists fixed width coverage buckets for a read group set, each of which
+ * correspond to a range of a reference sequence. Each bucket summarizes
+ * coverage information across its corresponding genomic range.
+ *
+ * Coverage is defined as the number of reads which are aligned to a given base
+ * in the reference sequence. Coverage buckets are available at several
+ * precomputed bucket widths, enabling retrieval of various coverage 'zoom
+ * levels'. The caller must have READ permissions for the target read group set.
+ * (coveragebuckets.listReadgroupsetsCoveragebuckets)
+ *
+ * @param string $readGroupSetId Required. The ID of the read group set over
+ * which coverage is requested.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize The maximum number of results to return in a single
+ * page. If unspecified, defaults to 1024. The maximum value is 2048.
+ * @opt_param string range.start The start position of the range on the
+ * reference, 0-based inclusive. If specified, referenceName must also be
+ * specified.
+ * @opt_param string range.end The end position of the range on the reference,
+ * 0-based exclusive. If specified, referenceName must also be specified.
+ * @opt_param string range.referenceName The reference sequence name, for
+ * example chr1, 1, or chrX.
+ * @opt_param string pageToken The continuation token, which is used to page
+ * through large result sets. To get the next page of results, set this
+ * parameter to the value of nextPageToken from the previous response.
+ * @opt_param string targetBucketWidth The desired width of each reported
+ * coverage bucket in base pairs. This will be rounded down to the nearest
+ * precomputed bucket width; the value of which is returned as bucketWidth in
+ * the response. Defaults to infinity (each bucket spans an entire reference
+ * sequence) or the length of the target range, if specified. The smallest
+ * precomputed bucketWidth is currently 2048 base pairs; this is subject to
+ * change.
+ * @return Postman_Google_Service_Genomics_ListCoverageBucketsResponse
+ */
+ public function listReadgroupsetsCoveragebuckets($readGroupSetId, $optParams = array())
+ {
+ $params = array('readGroupSetId' => $readGroupSetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Genomics_ListCoverageBucketsResponse");
+ }
+}
+
+/**
+ * The "reads" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Postman_Google_Service_Genomics(...);
+ * $reads = $genomicsService->reads;
+ * </code>
+ */
+class Postman_Google_Service_Genomics_Reads_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets a list of reads for one or more read group sets. Reads search operates
+ * over a genomic coordinate space of reference sequence & position defined over
+ * the reference sequences to which the requested read group sets are aligned.
+ *
+ * If a target positional range is specified, search returns all reads whose
+ * alignment to the reference genome overlap the range. A query which specifies
+ * only read group set IDs yields all reads in those read group sets, including
+ * unmapped reads.
+ *
+ * All reads returned (including reads on subsequent pages) are ordered by
+ * genomic coordinate (reference sequence & position). Reads with equivalent
+ * genomic coordinates are returned in a deterministic order.
+ *
+ * Implements GlobalAllianceApi.searchReads. (reads.search)
+ *
+ * @param Postman_Google_SearchReadsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_SearchReadsResponse
+ */
+ public function search(Postman_Google_Service_Genomics_SearchReadsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Postman_Google_Service_Genomics_SearchReadsResponse");
+ }
+}
+
+/**
+ * The "references" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Postman_Google_Service_Genomics(...);
+ * $references = $genomicsService->references;
+ * </code>
+ */
+class Postman_Google_Service_Genomics_References_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets a reference.
+ *
+ * Implements GlobalAllianceApi.getReference. (references.get)
+ *
+ * @param string $referenceId The ID of the reference.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_Reference
+ */
+ public function get($referenceId, $optParams = array())
+ {
+ $params = array('referenceId' => $referenceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Genomics_Reference");
+ }
+
+ /**
+ * Searches for references which match the given criteria.
+ *
+ * Implements GlobalAllianceApi.searchReferences. (references.search)
+ *
+ * @param Postman_Google_SearchReferencesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_SearchReferencesResponse
+ */
+ public function search(Postman_Google_Service_Genomics_SearchReferencesRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Postman_Google_Service_Genomics_SearchReferencesResponse");
+ }
+}
+
+/**
+ * The "bases" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Postman_Google_Service_Genomics(...);
+ * $bases = $genomicsService->bases;
+ * </code>
+ */
+class Postman_Google_Service_Genomics_ReferencesBases_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Lists the bases in a reference, optionally restricted to a range.
+ *
+ * Implements GlobalAllianceApi.getReferenceBases. (bases.listReferencesBases)
+ *
+ * @param string $referenceId The ID of the reference.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The continuation token, which is used to page
+ * through large result sets. To get the next page of results, set this
+ * parameter to the value of nextPageToken from the previous response.
+ * @opt_param string end The end position (0-based, exclusive) of this query.
+ * Defaults to the length of this reference.
+ * @opt_param int pageSize Specifies the maximum number of bases to return in a
+ * single page.
+ * @opt_param string start The start position (0-based) of this query. Defaults
+ * to 0.
+ * @return Postman_Google_Service_Genomics_ListBasesResponse
+ */
+ public function listReferencesBases($referenceId, $optParams = array())
+ {
+ $params = array('referenceId' => $referenceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Genomics_ListBasesResponse");
+ }
+}
+
+/**
+ * The "referencesets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Postman_Google_Service_Genomics(...);
+ * $referencesets = $genomicsService->referencesets;
+ * </code>
+ */
+class Postman_Google_Service_Genomics_Referencesets_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets a reference set.
+ *
+ * Implements GlobalAllianceApi.getReferenceSet. (referencesets.get)
+ *
+ * @param string $referenceSetId The ID of the reference set.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_ReferenceSet
+ */
+ public function get($referenceSetId, $optParams = array())
+ {
+ $params = array('referenceSetId' => $referenceSetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Genomics_ReferenceSet");
+ }
+
+ /**
+ * Searches for reference sets which match the given criteria.
+ *
+ * Implements GlobalAllianceApi.searchReferenceSets. (referencesets.search)
+ *
+ * @param Postman_Google_SearchReferenceSetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_SearchReferenceSetsResponse
+ */
+ public function search(Postman_Google_Service_Genomics_SearchReferenceSetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Postman_Google_Service_Genomics_SearchReferenceSetsResponse");
+ }
+}
+
+/**
+ * The "variants" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Postman_Google_Service_Genomics(...);
+ * $variants = $genomicsService->variants;
+ * </code>
+ */
+class Postman_Google_Service_Genomics_Variants_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Creates a new variant. (variants.create)
+ *
+ * @param Postman_Google_Variant $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_Variant
+ */
+ public function create(Postman_Google_Service_Genomics_Variant $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_Genomics_Variant");
+ }
+
+ /**
+ * Deletes a variant. (variants.delete)
+ *
+ * @param string $variantId The ID of the variant to be deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($variantId, $optParams = array())
+ {
+ $params = array('variantId' => $variantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a variant by ID. (variants.get)
+ *
+ * @param string $variantId The ID of the variant.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_Variant
+ */
+ public function get($variantId, $optParams = array())
+ {
+ $params = array('variantId' => $variantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Genomics_Variant");
+ }
+
+ /**
+ * Gets a list of variants matching the criteria.
+ *
+ * Implements GlobalAllianceApi.searchVariants. (variants.search)
+ *
+ * @param Postman_Google_SearchVariantsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_SearchVariantsResponse
+ */
+ public function search(Postman_Google_Service_Genomics_SearchVariantsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Postman_Google_Service_Genomics_SearchVariantsResponse");
+ }
+
+ /**
+ * Updates a variant's names and info fields. All other modifications are
+ * silently ignored. Returns the modified variant without its calls.
+ * (variants.update)
+ *
+ * @param string $variantId The ID of the variant to be updated.
+ * @param Postman_Google_Variant $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_Variant
+ */
+ public function update($variantId, Postman_Google_Service_Genomics_Variant $postBody, $optParams = array())
+ {
+ $params = array('variantId' => $variantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Genomics_Variant");
+ }
+}
+
+/**
+ * The "variantsets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $genomicsService = new Postman_Google_Service_Genomics(...);
+ * $variantsets = $genomicsService->variantsets;
+ * </code>
+ */
+class Postman_Google_Service_Genomics_Variantsets_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the contents of a variant set. The variant set object is not deleted.
+ * (variantsets.delete)
+ *
+ * @param string $variantSetId The ID of the variant set to be deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($variantSetId, $optParams = array())
+ {
+ $params = array('variantSetId' => $variantSetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Exports variant set data to an external destination. (variantsets.export)
+ *
+ * @param string $variantSetId Required. The ID of the variant set that contains
+ * variant data which should be exported. The caller must have READ access to
+ * this variant set.
+ * @param Postman_Google_ExportVariantSetRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_ExportVariantSetResponse
+ */
+ public function export($variantSetId, Postman_Google_Service_Genomics_ExportVariantSetRequest $postBody, $optParams = array())
+ {
+ $params = array('variantSetId' => $variantSetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('export', array($params), "Postman_Google_Service_Genomics_ExportVariantSetResponse");
+ }
+
+ /**
+ * Gets a variant set by ID. (variantsets.get)
+ *
+ * @param string $variantSetId Required. The ID of the variant set.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_VariantSet
+ */
+ public function get($variantSetId, $optParams = array())
+ {
+ $params = array('variantSetId' => $variantSetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Genomics_VariantSet");
+ }
+
+ /**
+ * Creates variant data by asynchronously importing the provided information.
+ *
+ * The variants for import will be merged with any existing data and each other
+ * according to the behavior of mergeVariants. In particular, this means for
+ * merged VCF variants that have conflicting INFO fields, some data will be
+ * arbitrarily discarded. As a special case, for single-sample VCF files, QUAL
+ * and FILTER fields will be moved to the call level; these are sometimes
+ * interpreted in a call-specific context. Imported VCF headers are appended to
+ * the metadata already in a variant set. (variantsets.importVariants)
+ *
+ * @param string $variantSetId Required. The variant set to which variant data
+ * should be imported.
+ * @param Postman_Google_ImportVariantsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_ImportVariantsResponse
+ */
+ public function importVariants($variantSetId, Postman_Google_Service_Genomics_ImportVariantsRequest $postBody, $optParams = array())
+ {
+ $params = array('variantSetId' => $variantSetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('importVariants', array($params), "Postman_Google_Service_Genomics_ImportVariantsResponse");
+ }
+
+ /**
+ * Merges the given variants with existing variants. Each variant will be merged
+ * with an existing variant that matches its reference sequence, start, end,
+ * reference bases, and alternative bases. If no such variant exists, a new one
+ * will be created.
+ *
+ * When variants are merged, the call information from the new variant is added
+ * to the existing variant, and other fields (such as key/value pairs) are
+ * discarded. (variantsets.mergeVariants)
+ *
+ * @param string $variantSetId The destination variant set.
+ * @param Postman_Google_MergeVariantsRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function mergeVariants($variantSetId, Postman_Google_Service_Genomics_MergeVariantsRequest $postBody, $optParams = array())
+ {
+ $params = array('variantSetId' => $variantSetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('mergeVariants', array($params));
+ }
+
+ /**
+ * Updates a variant set's metadata. All other modifications are silently
+ * ignored. This method supports patch semantics. (variantsets.patch)
+ *
+ * @param string $variantSetId The ID of the variant to be updated.
+ * @param Postman_Google_VariantSet $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_VariantSet
+ */
+ public function patch($variantSetId, Postman_Google_Service_Genomics_VariantSet $postBody, $optParams = array())
+ {
+ $params = array('variantSetId' => $variantSetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Genomics_VariantSet");
+ }
+
+ /**
+ * Returns a list of all variant sets matching search criteria.
+ *
+ * Implements GlobalAllianceApi.searchVariantSets. (variantsets.search)
+ *
+ * @param Postman_Google_SearchVariantSetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_SearchVariantSetsResponse
+ */
+ public function search(Postman_Google_Service_Genomics_SearchVariantSetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Postman_Google_Service_Genomics_SearchVariantSetsResponse");
+ }
+
+ /**
+ * Updates a variant set's metadata. All other modifications are silently
+ * ignored. (variantsets.update)
+ *
+ * @param string $variantSetId The ID of the variant to be updated.
+ * @param Postman_Google_VariantSet $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Genomics_VariantSet
+ */
+ public function update($variantSetId, Postman_Google_Service_Genomics_VariantSet $postBody, $optParams = array())
+ {
+ $params = array('variantSetId' => $variantSetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Genomics_VariantSet");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Genomics_AlignReadGroupSetsRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'readGroupSetIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $bamSourceUris;
+ public $datasetId;
+ protected $interleavedFastqSourceType = 'Postman_Google_Service_Genomics_InterleavedFastqSource';
+ protected $interleavedFastqSourceDataType = '';
+ protected $pairedFastqSourceType = 'Postman_Google_Service_Genomics_PairedFastqSource';
+ protected $pairedFastqSourceDataType = '';
+ public $readGroupSetIds;
+
+
+ public function setBamSourceUris($bamSourceUris)
+ {
+ $this->bamSourceUris = $bamSourceUris;
+ }
+ public function getBamSourceUris()
+ {
+ return $this->bamSourceUris;
+ }
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+ public function setInterleavedFastqSource(Postman_Google_Service_Genomics_InterleavedFastqSource $interleavedFastqSource)
+ {
+ $this->interleavedFastqSource = $interleavedFastqSource;
+ }
+ public function getInterleavedFastqSource()
+ {
+ return $this->interleavedFastqSource;
+ }
+ public function setPairedFastqSource(Postman_Google_Service_Genomics_PairedFastqSource $pairedFastqSource)
+ {
+ $this->pairedFastqSource = $pairedFastqSource;
+ }
+ public function getPairedFastqSource()
+ {
+ return $this->pairedFastqSource;
+ }
+ public function setReadGroupSetIds($readGroupSetIds)
+ {
+ $this->readGroupSetIds = $readGroupSetIds;
+ }
+ public function getReadGroupSetIds()
+ {
+ return $this->readGroupSetIds;
+ }
+}
+
+class Postman_Google_Service_Genomics_AlignReadGroupSetsResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $jobId;
+
+
+ public function setJobId($jobId)
+ {
+ $this->jobId = $jobId;
+ }
+ public function getJobId()
+ {
+ return $this->jobId;
+ }
+}
+
+class Postman_Google_Service_Genomics_CallReadGroupSetsRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'sourceUris';
+ protected $internal_gapi_mappings = array(
+ );
+ public $datasetId;
+ public $readGroupSetIds;
+ public $sourceUris;
+
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+ public function setReadGroupSetIds($readGroupSetIds)
+ {
+ $this->readGroupSetIds = $readGroupSetIds;
+ }
+ public function getReadGroupSetIds()
+ {
+ return $this->readGroupSetIds;
+ }
+ public function setSourceUris($sourceUris)
+ {
+ $this->sourceUris = $sourceUris;
+ }
+ public function getSourceUris()
+ {
+ return $this->sourceUris;
+ }
+}
+
+class Postman_Google_Service_Genomics_CallReadGroupSetsResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $jobId;
+
+
+ public function setJobId($jobId)
+ {
+ $this->jobId = $jobId;
+ }
+ public function getJobId()
+ {
+ return $this->jobId;
+ }
+}
+
+class Postman_Google_Service_Genomics_CallSet extends Postman_Google_Collection
+{
+ protected $collection_key = 'variantSetIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $created;
+ public $id;
+ public $info;
+ public $name;
+ public $sampleId;
+ public $variantSetIds;
+
+
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+ public function getCreated()
+ {
+ return $this->created;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInfo($info)
+ {
+ $this->info = $info;
+ }
+ public function getInfo()
+ {
+ return $this->info;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSampleId($sampleId)
+ {
+ $this->sampleId = $sampleId;
+ }
+ public function getSampleId()
+ {
+ return $this->sampleId;
+ }
+ public function setVariantSetIds($variantSetIds)
+ {
+ $this->variantSetIds = $variantSetIds;
+ }
+ public function getVariantSetIds()
+ {
+ return $this->variantSetIds;
+ }
+}
+
+class Postman_Google_Service_Genomics_CallSetInfo extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Genomics_CigarUnit extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $operation;
+ public $operationLength;
+ public $referenceSequence;
+
+
+ public function setOperation($operation)
+ {
+ $this->operation = $operation;
+ }
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+ public function setOperationLength($operationLength)
+ {
+ $this->operationLength = $operationLength;
+ }
+ public function getOperationLength()
+ {
+ return $this->operationLength;
+ }
+ public function setReferenceSequence($referenceSequence)
+ {
+ $this->referenceSequence = $referenceSequence;
+ }
+ public function getReferenceSequence()
+ {
+ return $this->referenceSequence;
+ }
+}
+
+class Postman_Google_Service_Genomics_CoverageBucket extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $meanCoverage;
+ protected $rangeType = 'Postman_Google_Service_Genomics_Range';
+ protected $rangeDataType = '';
+
+
+ public function setMeanCoverage($meanCoverage)
+ {
+ $this->meanCoverage = $meanCoverage;
+ }
+ public function getMeanCoverage()
+ {
+ return $this->meanCoverage;
+ }
+ public function setRange(Postman_Google_Service_Genomics_Range $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+}
+
+class Postman_Google_Service_Genomics_Dataset extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $isPublic;
+ public $name;
+ public $projectNumber;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIsPublic($isPublic)
+ {
+ $this->isPublic = $isPublic;
+ }
+ public function getIsPublic()
+ {
+ return $this->isPublic;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProjectNumber($projectNumber)
+ {
+ $this->projectNumber = $projectNumber;
+ }
+ public function getProjectNumber()
+ {
+ return $this->projectNumber;
+ }
+}
+
+class Postman_Google_Service_Genomics_ExperimentalCreateJobRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'sourceUris';
+ protected $internal_gapi_mappings = array(
+ );
+ public $align;
+ public $callVariants;
+ public $gcsOutputPath;
+ public $pairedSourceUris;
+ public $projectNumber;
+ public $sourceUris;
+
+
+ public function setAlign($align)
+ {
+ $this->align = $align;
+ }
+ public function getAlign()
+ {
+ return $this->align;
+ }
+ public function setCallVariants($callVariants)
+ {
+ $this->callVariants = $callVariants;
+ }
+ public function getCallVariants()
+ {
+ return $this->callVariants;
+ }
+ public function setGcsOutputPath($gcsOutputPath)
+ {
+ $this->gcsOutputPath = $gcsOutputPath;
+ }
+ public function getGcsOutputPath()
+ {
+ return $this->gcsOutputPath;
+ }
+ public function setPairedSourceUris($pairedSourceUris)
+ {
+ $this->pairedSourceUris = $pairedSourceUris;
+ }
+ public function getPairedSourceUris()
+ {
+ return $this->pairedSourceUris;
+ }
+ public function setProjectNumber($projectNumber)
+ {
+ $this->projectNumber = $projectNumber;
+ }
+ public function getProjectNumber()
+ {
+ return $this->projectNumber;
+ }
+ public function setSourceUris($sourceUris)
+ {
+ $this->sourceUris = $sourceUris;
+ }
+ public function getSourceUris()
+ {
+ return $this->sourceUris;
+ }
+}
+
+class Postman_Google_Service_Genomics_ExperimentalCreateJobResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $jobId;
+
+
+ public function setJobId($jobId)
+ {
+ $this->jobId = $jobId;
+ }
+ public function getJobId()
+ {
+ return $this->jobId;
+ }
+}
+
+class Postman_Google_Service_Genomics_ExportReadGroupSetsRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'referenceNames';
+ protected $internal_gapi_mappings = array(
+ );
+ public $exportUri;
+ public $projectNumber;
+ public $readGroupSetIds;
+ public $referenceNames;
+
+
+ public function setExportUri($exportUri)
+ {
+ $this->exportUri = $exportUri;
+ }
+ public function getExportUri()
+ {
+ return $this->exportUri;
+ }
+ public function setProjectNumber($projectNumber)
+ {
+ $this->projectNumber = $projectNumber;
+ }
+ public function getProjectNumber()
+ {
+ return $this->projectNumber;
+ }
+ public function setReadGroupSetIds($readGroupSetIds)
+ {
+ $this->readGroupSetIds = $readGroupSetIds;
+ }
+ public function getReadGroupSetIds()
+ {
+ return $this->readGroupSetIds;
+ }
+ public function setReferenceNames($referenceNames)
+ {
+ $this->referenceNames = $referenceNames;
+ }
+ public function getReferenceNames()
+ {
+ return $this->referenceNames;
+ }
+}
+
+class Postman_Google_Service_Genomics_ExportReadGroupSetsResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $jobId;
+
+
+ public function setJobId($jobId)
+ {
+ $this->jobId = $jobId;
+ }
+ public function getJobId()
+ {
+ return $this->jobId;
+ }
+}
+
+class Postman_Google_Service_Genomics_ExportVariantSetRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'callSetIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $bigqueryDataset;
+ public $bigqueryTable;
+ public $callSetIds;
+ public $format;
+ public $projectNumber;
+
+
+ public function setBigqueryDataset($bigqueryDataset)
+ {
+ $this->bigqueryDataset = $bigqueryDataset;
+ }
+ public function getBigqueryDataset()
+ {
+ return $this->bigqueryDataset;
+ }
+ public function setBigqueryTable($bigqueryTable)
+ {
+ $this->bigqueryTable = $bigqueryTable;
+ }
+ public function getBigqueryTable()
+ {
+ return $this->bigqueryTable;
+ }
+ public function setCallSetIds($callSetIds)
+ {
+ $this->callSetIds = $callSetIds;
+ }
+ public function getCallSetIds()
+ {
+ return $this->callSetIds;
+ }
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+ public function setProjectNumber($projectNumber)
+ {
+ $this->projectNumber = $projectNumber;
+ }
+ public function getProjectNumber()
+ {
+ return $this->projectNumber;
+ }
+}
+
+class Postman_Google_Service_Genomics_ExportVariantSetResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $jobId;
+
+
+ public function setJobId($jobId)
+ {
+ $this->jobId = $jobId;
+ }
+ public function getJobId()
+ {
+ return $this->jobId;
+ }
+}
+
+class Postman_Google_Service_Genomics_FastqMetadata extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $libraryName;
+ public $platformName;
+ public $platformUnit;
+ public $readGroupName;
+ public $sampleName;
+
+
+ public function setLibraryName($libraryName)
+ {
+ $this->libraryName = $libraryName;
+ }
+ public function getLibraryName()
+ {
+ return $this->libraryName;
+ }
+ public function setPlatformName($platformName)
+ {
+ $this->platformName = $platformName;
+ }
+ public function getPlatformName()
+ {
+ return $this->platformName;
+ }
+ public function setPlatformUnit($platformUnit)
+ {
+ $this->platformUnit = $platformUnit;
+ }
+ public function getPlatformUnit()
+ {
+ return $this->platformUnit;
+ }
+ public function setReadGroupName($readGroupName)
+ {
+ $this->readGroupName = $readGroupName;
+ }
+ public function getReadGroupName()
+ {
+ return $this->readGroupName;
+ }
+ public function setSampleName($sampleName)
+ {
+ $this->sampleName = $sampleName;
+ }
+ public function getSampleName()
+ {
+ return $this->sampleName;
+ }
+}
+
+class Postman_Google_Service_Genomics_GenomicsCall extends Postman_Google_Collection
+{
+ protected $collection_key = 'genotypeLikelihood';
+ protected $internal_gapi_mappings = array(
+ );
+ public $callSetId;
+ public $callSetName;
+ public $genotype;
+ public $genotypeLikelihood;
+ public $info;
+ public $phaseset;
+
+
+ public function setCallSetId($callSetId)
+ {
+ $this->callSetId = $callSetId;
+ }
+ public function getCallSetId()
+ {
+ return $this->callSetId;
+ }
+ public function setCallSetName($callSetName)
+ {
+ $this->callSetName = $callSetName;
+ }
+ public function getCallSetName()
+ {
+ return $this->callSetName;
+ }
+ public function setGenotype($genotype)
+ {
+ $this->genotype = $genotype;
+ }
+ public function getGenotype()
+ {
+ return $this->genotype;
+ }
+ public function setGenotypeLikelihood($genotypeLikelihood)
+ {
+ $this->genotypeLikelihood = $genotypeLikelihood;
+ }
+ public function getGenotypeLikelihood()
+ {
+ return $this->genotypeLikelihood;
+ }
+ public function setInfo($info)
+ {
+ $this->info = $info;
+ }
+ public function getInfo()
+ {
+ return $this->info;
+ }
+ public function setPhaseset($phaseset)
+ {
+ $this->phaseset = $phaseset;
+ }
+ public function getPhaseset()
+ {
+ return $this->phaseset;
+ }
+}
+
+class Postman_Google_Service_Genomics_GenomicsCallInfo extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Genomics_ImportReadGroupSetsRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'sourceUris';
+ protected $internal_gapi_mappings = array(
+ );
+ public $datasetId;
+ public $referenceSetId;
+ public $sourceUris;
+
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+ public function setReferenceSetId($referenceSetId)
+ {
+ $this->referenceSetId = $referenceSetId;
+ }
+ public function getReferenceSetId()
+ {
+ return $this->referenceSetId;
+ }
+ public function setSourceUris($sourceUris)
+ {
+ $this->sourceUris = $sourceUris;
+ }
+ public function getSourceUris()
+ {
+ return $this->sourceUris;
+ }
+}
+
+class Postman_Google_Service_Genomics_ImportReadGroupSetsResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $jobId;
+
+
+ public function setJobId($jobId)
+ {
+ $this->jobId = $jobId;
+ }
+ public function getJobId()
+ {
+ return $this->jobId;
+ }
+}
+
+class Postman_Google_Service_Genomics_ImportVariantsRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'sourceUris';
+ protected $internal_gapi_mappings = array(
+ );
+ public $format;
+ public $sourceUris;
+
+
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+ public function setSourceUris($sourceUris)
+ {
+ $this->sourceUris = $sourceUris;
+ }
+ public function getSourceUris()
+ {
+ return $this->sourceUris;
+ }
+}
+
+class Postman_Google_Service_Genomics_ImportVariantsResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $jobId;
+
+
+ public function setJobId($jobId)
+ {
+ $this->jobId = $jobId;
+ }
+ public function getJobId()
+ {
+ return $this->jobId;
+ }
+}
+
+class Postman_Google_Service_Genomics_InterleavedFastqSource extends Postman_Google_Collection
+{
+ protected $collection_key = 'sourceUris';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $metadataType = 'Postman_Google_Service_Genomics_FastqMetadata';
+ protected $metadataDataType = '';
+ public $sourceUris;
+
+
+ public function setMetadata(Postman_Google_Service_Genomics_FastqMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setSourceUris($sourceUris)
+ {
+ $this->sourceUris = $sourceUris;
+ }
+ public function getSourceUris()
+ {
+ return $this->sourceUris;
+ }
+}
+
+class Postman_Google_Service_Genomics_Job extends Postman_Google_Collection
+{
+ protected $collection_key = 'warnings';
+ protected $internal_gapi_mappings = array(
+ );
+ public $created;
+ public $detailedStatus;
+ public $errors;
+ public $id;
+ public $importedIds;
+ public $projectNumber;
+ protected $requestType = 'Postman_Google_Service_Genomics_JobRequest';
+ protected $requestDataType = '';
+ public $status;
+ public $warnings;
+
+
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+ public function getCreated()
+ {
+ return $this->created;
+ }
+ public function setDetailedStatus($detailedStatus)
+ {
+ $this->detailedStatus = $detailedStatus;
+ }
+ public function getDetailedStatus()
+ {
+ return $this->detailedStatus;
+ }
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImportedIds($importedIds)
+ {
+ $this->importedIds = $importedIds;
+ }
+ public function getImportedIds()
+ {
+ return $this->importedIds;
+ }
+ public function setProjectNumber($projectNumber)
+ {
+ $this->projectNumber = $projectNumber;
+ }
+ public function getProjectNumber()
+ {
+ return $this->projectNumber;
+ }
+ public function setRequest(Postman_Google_Service_Genomics_JobRequest $request)
+ {
+ $this->request = $request;
+ }
+ public function getRequest()
+ {
+ return $this->request;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
+
+class Postman_Google_Service_Genomics_JobRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'source';
+ protected $internal_gapi_mappings = array(
+ );
+ public $destination;
+ public $source;
+ public $type;
+
+
+ public function setDestination($destination)
+ {
+ $this->destination = $destination;
+ }
+ public function getDestination()
+ {
+ return $this->destination;
+ }
+ public function setSource($source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Genomics_LinearAlignment extends Postman_Google_Collection
+{
+ protected $collection_key = 'cigar';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $cigarType = 'Postman_Google_Service_Genomics_CigarUnit';
+ protected $cigarDataType = 'array';
+ public $mappingQuality;
+ protected $positionType = 'Postman_Google_Service_Genomics_Position';
+ protected $positionDataType = '';
+
+
+ public function setCigar($cigar)
+ {
+ $this->cigar = $cigar;
+ }
+ public function getCigar()
+ {
+ return $this->cigar;
+ }
+ public function setMappingQuality($mappingQuality)
+ {
+ $this->mappingQuality = $mappingQuality;
+ }
+ public function getMappingQuality()
+ {
+ return $this->mappingQuality;
+ }
+ public function setPosition(Postman_Google_Service_Genomics_Position $position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+}
+
+class Postman_Google_Service_Genomics_ListBasesResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ public $offset;
+ public $sequence;
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOffset($offset)
+ {
+ $this->offset = $offset;
+ }
+ public function getOffset()
+ {
+ return $this->offset;
+ }
+ public function setSequence($sequence)
+ {
+ $this->sequence = $sequence;
+ }
+ public function getSequence()
+ {
+ return $this->sequence;
+ }
+}
+
+class Postman_Google_Service_Genomics_ListCoverageBucketsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'coverageBuckets';
+ protected $internal_gapi_mappings = array(
+ );
+ public $bucketWidth;
+ protected $coverageBucketsType = 'Postman_Google_Service_Genomics_CoverageBucket';
+ protected $coverageBucketsDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setBucketWidth($bucketWidth)
+ {
+ $this->bucketWidth = $bucketWidth;
+ }
+ public function getBucketWidth()
+ {
+ return $this->bucketWidth;
+ }
+ public function setCoverageBuckets($coverageBuckets)
+ {
+ $this->coverageBuckets = $coverageBuckets;
+ }
+ public function getCoverageBuckets()
+ {
+ return $this->coverageBuckets;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Genomics_ListDatasetsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'datasets';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $datasetsType = 'Postman_Google_Service_Genomics_Dataset';
+ protected $datasetsDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setDatasets($datasets)
+ {
+ $this->datasets = $datasets;
+ }
+ public function getDatasets()
+ {
+ return $this->datasets;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Genomics_MergeVariantsRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'variants';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $variantsType = 'Postman_Google_Service_Genomics_Variant';
+ protected $variantsDataType = 'array';
+
+
+ public function setVariants($variants)
+ {
+ $this->variants = $variants;
+ }
+ public function getVariants()
+ {
+ return $this->variants;
+ }
+}
+
+class Postman_Google_Service_Genomics_Metadata extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ public $id;
+ public $info;
+ public $key;
+ public $number;
+ public $type;
+ public $value;
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInfo($info)
+ {
+ $this->info = $info;
+ }
+ public function getInfo()
+ {
+ return $this->info;
+ }
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setNumber($number)
+ {
+ $this->number = $number;
+ }
+ public function getNumber()
+ {
+ return $this->number;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Genomics_MetadataInfo extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Genomics_PairedFastqSource extends Postman_Google_Collection
+{
+ protected $collection_key = 'secondSourceUris';
+ protected $internal_gapi_mappings = array(
+ );
+ public $firstSourceUris;
+ protected $metadataType = 'Postman_Google_Service_Genomics_FastqMetadata';
+ protected $metadataDataType = '';
+ public $secondSourceUris;
+
+
+ public function setFirstSourceUris($firstSourceUris)
+ {
+ $this->firstSourceUris = $firstSourceUris;
+ }
+ public function getFirstSourceUris()
+ {
+ return $this->firstSourceUris;
+ }
+ public function setMetadata(Postman_Google_Service_Genomics_FastqMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setSecondSourceUris($secondSourceUris)
+ {
+ $this->secondSourceUris = $secondSourceUris;
+ }
+ public function getSecondSourceUris()
+ {
+ return $this->secondSourceUris;
+ }
+}
+
+class Postman_Google_Service_Genomics_Position extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $position;
+ public $referenceName;
+ public $reverseStrand;
+
+
+ public function setPosition($position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+ public function setReferenceName($referenceName)
+ {
+ $this->referenceName = $referenceName;
+ }
+ public function getReferenceName()
+ {
+ return $this->referenceName;
+ }
+ public function setReverseStrand($reverseStrand)
+ {
+ $this->reverseStrand = $reverseStrand;
+ }
+ public function getReverseStrand()
+ {
+ return $this->reverseStrand;
+ }
+}
+
+class Postman_Google_Service_Genomics_Range extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $end;
+ public $referenceName;
+ public $start;
+
+
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setReferenceName($referenceName)
+ {
+ $this->referenceName = $referenceName;
+ }
+ public function getReferenceName()
+ {
+ return $this->referenceName;
+ }
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
+
+class Postman_Google_Service_Genomics_Read extends Postman_Google_Collection
+{
+ protected $collection_key = 'alignedQuality';
+ protected $internal_gapi_mappings = array(
+ );
+ public $alignedQuality;
+ public $alignedSequence;
+ protected $alignmentType = 'Postman_Google_Service_Genomics_LinearAlignment';
+ protected $alignmentDataType = '';
+ public $duplicateFragment;
+ public $failedVendorQualityChecks;
+ public $fragmentLength;
+ public $fragmentName;
+ public $id;
+ public $info;
+ protected $nextMatePositionType = 'Postman_Google_Service_Genomics_Position';
+ protected $nextMatePositionDataType = '';
+ public $numberReads;
+ public $properPlacement;
+ public $readGroupId;
+ public $readGroupSetId;
+ public $readNumber;
+ public $secondaryAlignment;
+ public $supplementaryAlignment;
+
+
+ public function setAlignedQuality($alignedQuality)
+ {
+ $this->alignedQuality = $alignedQuality;
+ }
+ public function getAlignedQuality()
+ {
+ return $this->alignedQuality;
+ }
+ public function setAlignedSequence($alignedSequence)
+ {
+ $this->alignedSequence = $alignedSequence;
+ }
+ public function getAlignedSequence()
+ {
+ return $this->alignedSequence;
+ }
+ public function setAlignment(Postman_Google_Service_Genomics_LinearAlignment $alignment)
+ {
+ $this->alignment = $alignment;
+ }
+ public function getAlignment()
+ {
+ return $this->alignment;
+ }
+ public function setDuplicateFragment($duplicateFragment)
+ {
+ $this->duplicateFragment = $duplicateFragment;
+ }
+ public function getDuplicateFragment()
+ {
+ return $this->duplicateFragment;
+ }
+ public function setFailedVendorQualityChecks($failedVendorQualityChecks)
+ {
+ $this->failedVendorQualityChecks = $failedVendorQualityChecks;
+ }
+ public function getFailedVendorQualityChecks()
+ {
+ return $this->failedVendorQualityChecks;
+ }
+ public function setFragmentLength($fragmentLength)
+ {
+ $this->fragmentLength = $fragmentLength;
+ }
+ public function getFragmentLength()
+ {
+ return $this->fragmentLength;
+ }
+ public function setFragmentName($fragmentName)
+ {
+ $this->fragmentName = $fragmentName;
+ }
+ public function getFragmentName()
+ {
+ return $this->fragmentName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInfo($info)
+ {
+ $this->info = $info;
+ }
+ public function getInfo()
+ {
+ return $this->info;
+ }
+ public function setNextMatePosition(Postman_Google_Service_Genomics_Position $nextMatePosition)
+ {
+ $this->nextMatePosition = $nextMatePosition;
+ }
+ public function getNextMatePosition()
+ {
+ return $this->nextMatePosition;
+ }
+ public function setNumberReads($numberReads)
+ {
+ $this->numberReads = $numberReads;
+ }
+ public function getNumberReads()
+ {
+ return $this->numberReads;
+ }
+ public function setProperPlacement($properPlacement)
+ {
+ $this->properPlacement = $properPlacement;
+ }
+ public function getProperPlacement()
+ {
+ return $this->properPlacement;
+ }
+ public function setReadGroupId($readGroupId)
+ {
+ $this->readGroupId = $readGroupId;
+ }
+ public function getReadGroupId()
+ {
+ return $this->readGroupId;
+ }
+ public function setReadGroupSetId($readGroupSetId)
+ {
+ $this->readGroupSetId = $readGroupSetId;
+ }
+ public function getReadGroupSetId()
+ {
+ return $this->readGroupSetId;
+ }
+ public function setReadNumber($readNumber)
+ {
+ $this->readNumber = $readNumber;
+ }
+ public function getReadNumber()
+ {
+ return $this->readNumber;
+ }
+ public function setSecondaryAlignment($secondaryAlignment)
+ {
+ $this->secondaryAlignment = $secondaryAlignment;
+ }
+ public function getSecondaryAlignment()
+ {
+ return $this->secondaryAlignment;
+ }
+ public function setSupplementaryAlignment($supplementaryAlignment)
+ {
+ $this->supplementaryAlignment = $supplementaryAlignment;
+ }
+ public function getSupplementaryAlignment()
+ {
+ return $this->supplementaryAlignment;
+ }
+}
+
+class Postman_Google_Service_Genomics_ReadGroup extends Postman_Google_Collection
+{
+ protected $collection_key = 'programs';
+ protected $internal_gapi_mappings = array(
+ );
+ public $datasetId;
+ public $description;
+ protected $experimentType = 'Postman_Google_Service_Genomics_ReadGroupExperiment';
+ protected $experimentDataType = '';
+ public $id;
+ public $info;
+ public $name;
+ public $predictedInsertSize;
+ protected $programsType = 'Postman_Google_Service_Genomics_ReadGroupProgram';
+ protected $programsDataType = 'array';
+ public $referenceSetId;
+ public $sampleId;
+
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setExperiment(Postman_Google_Service_Genomics_ReadGroupExperiment $experiment)
+ {
+ $this->experiment = $experiment;
+ }
+ public function getExperiment()
+ {
+ return $this->experiment;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInfo($info)
+ {
+ $this->info = $info;
+ }
+ public function getInfo()
+ {
+ return $this->info;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPredictedInsertSize($predictedInsertSize)
+ {
+ $this->predictedInsertSize = $predictedInsertSize;
+ }
+ public function getPredictedInsertSize()
+ {
+ return $this->predictedInsertSize;
+ }
+ public function setPrograms($programs)
+ {
+ $this->programs = $programs;
+ }
+ public function getPrograms()
+ {
+ return $this->programs;
+ }
+ public function setReferenceSetId($referenceSetId)
+ {
+ $this->referenceSetId = $referenceSetId;
+ }
+ public function getReferenceSetId()
+ {
+ return $this->referenceSetId;
+ }
+ public function setSampleId($sampleId)
+ {
+ $this->sampleId = $sampleId;
+ }
+ public function getSampleId()
+ {
+ return $this->sampleId;
+ }
+}
+
+class Postman_Google_Service_Genomics_ReadGroupExperiment extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $instrumentModel;
+ public $libraryId;
+ public $platformUnit;
+ public $sequencingCenter;
+
+
+ public function setInstrumentModel($instrumentModel)
+ {
+ $this->instrumentModel = $instrumentModel;
+ }
+ public function getInstrumentModel()
+ {
+ return $this->instrumentModel;
+ }
+ public function setLibraryId($libraryId)
+ {
+ $this->libraryId = $libraryId;
+ }
+ public function getLibraryId()
+ {
+ return $this->libraryId;
+ }
+ public function setPlatformUnit($platformUnit)
+ {
+ $this->platformUnit = $platformUnit;
+ }
+ public function getPlatformUnit()
+ {
+ return $this->platformUnit;
+ }
+ public function setSequencingCenter($sequencingCenter)
+ {
+ $this->sequencingCenter = $sequencingCenter;
+ }
+ public function getSequencingCenter()
+ {
+ return $this->sequencingCenter;
+ }
+}
+
+class Postman_Google_Service_Genomics_ReadGroupInfo extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Genomics_ReadGroupProgram extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $commandLine;
+ public $id;
+ public $name;
+ public $prevProgramId;
+ public $version;
+
+
+ public function setCommandLine($commandLine)
+ {
+ $this->commandLine = $commandLine;
+ }
+ public function getCommandLine()
+ {
+ return $this->commandLine;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPrevProgramId($prevProgramId)
+ {
+ $this->prevProgramId = $prevProgramId;
+ }
+ public function getPrevProgramId()
+ {
+ return $this->prevProgramId;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Postman_Google_Service_Genomics_ReadGroupSet extends Postman_Google_Collection
+{
+ protected $collection_key = 'readGroups';
+ protected $internal_gapi_mappings = array(
+ );
+ public $datasetId;
+ public $filename;
+ public $id;
+ public $name;
+ protected $readGroupsType = 'Postman_Google_Service_Genomics_ReadGroup';
+ protected $readGroupsDataType = 'array';
+ public $referenceSetId;
+
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+ public function setFilename($filename)
+ {
+ $this->filename = $filename;
+ }
+ public function getFilename()
+ {
+ return $this->filename;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setReadGroups($readGroups)
+ {
+ $this->readGroups = $readGroups;
+ }
+ public function getReadGroups()
+ {
+ return $this->readGroups;
+ }
+ public function setReferenceSetId($referenceSetId)
+ {
+ $this->referenceSetId = $referenceSetId;
+ }
+ public function getReferenceSetId()
+ {
+ return $this->referenceSetId;
+ }
+}
+
+class Postman_Google_Service_Genomics_ReadInfo extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Genomics_Reference extends Postman_Google_Collection
+{
+ protected $collection_key = 'sourceAccessions';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $length;
+ public $md5checksum;
+ public $name;
+ public $ncbiTaxonId;
+ public $sourceAccessions;
+ public $sourceURI;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLength($length)
+ {
+ $this->length = $length;
+ }
+ public function getLength()
+ {
+ return $this->length;
+ }
+ public function setMd5checksum($md5checksum)
+ {
+ $this->md5checksum = $md5checksum;
+ }
+ public function getMd5checksum()
+ {
+ return $this->md5checksum;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNcbiTaxonId($ncbiTaxonId)
+ {
+ $this->ncbiTaxonId = $ncbiTaxonId;
+ }
+ public function getNcbiTaxonId()
+ {
+ return $this->ncbiTaxonId;
+ }
+ public function setSourceAccessions($sourceAccessions)
+ {
+ $this->sourceAccessions = $sourceAccessions;
+ }
+ public function getSourceAccessions()
+ {
+ return $this->sourceAccessions;
+ }
+ public function setSourceURI($sourceURI)
+ {
+ $this->sourceURI = $sourceURI;
+ }
+ public function getSourceURI()
+ {
+ return $this->sourceURI;
+ }
+}
+
+class Postman_Google_Service_Genomics_ReferenceBound extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $referenceName;
+ public $upperBound;
+
+
+ public function setReferenceName($referenceName)
+ {
+ $this->referenceName = $referenceName;
+ }
+ public function getReferenceName()
+ {
+ return $this->referenceName;
+ }
+ public function setUpperBound($upperBound)
+ {
+ $this->upperBound = $upperBound;
+ }
+ public function getUpperBound()
+ {
+ return $this->upperBound;
+ }
+}
+
+class Postman_Google_Service_Genomics_ReferenceSet extends Postman_Google_Collection
+{
+ protected $collection_key = 'sourceAccessions';
+ protected $internal_gapi_mappings = array(
+ );
+ public $assemblyId;
+ public $description;
+ public $id;
+ public $md5checksum;
+ public $ncbiTaxonId;
+ public $referenceIds;
+ public $sourceAccessions;
+ public $sourceURI;
+
+
+ public function setAssemblyId($assemblyId)
+ {
+ $this->assemblyId = $assemblyId;
+ }
+ public function getAssemblyId()
+ {
+ return $this->assemblyId;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setMd5checksum($md5checksum)
+ {
+ $this->md5checksum = $md5checksum;
+ }
+ public function getMd5checksum()
+ {
+ return $this->md5checksum;
+ }
+ public function setNcbiTaxonId($ncbiTaxonId)
+ {
+ $this->ncbiTaxonId = $ncbiTaxonId;
+ }
+ public function getNcbiTaxonId()
+ {
+ return $this->ncbiTaxonId;
+ }
+ public function setReferenceIds($referenceIds)
+ {
+ $this->referenceIds = $referenceIds;
+ }
+ public function getReferenceIds()
+ {
+ return $this->referenceIds;
+ }
+ public function setSourceAccessions($sourceAccessions)
+ {
+ $this->sourceAccessions = $sourceAccessions;
+ }
+ public function getSourceAccessions()
+ {
+ return $this->sourceAccessions;
+ }
+ public function setSourceURI($sourceURI)
+ {
+ $this->sourceURI = $sourceURI;
+ }
+ public function getSourceURI()
+ {
+ return $this->sourceURI;
+ }
+}
+
+class Postman_Google_Service_Genomics_SearchCallSetsRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'variantSetIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+ public $pageSize;
+ public $pageToken;
+ public $variantSetIds;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPageSize($pageSize)
+ {
+ $this->pageSize = $pageSize;
+ }
+ public function getPageSize()
+ {
+ return $this->pageSize;
+ }
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+ public function setVariantSetIds($variantSetIds)
+ {
+ $this->variantSetIds = $variantSetIds;
+ }
+ public function getVariantSetIds()
+ {
+ return $this->variantSetIds;
+ }
+}
+
+class Postman_Google_Service_Genomics_SearchCallSetsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'callSets';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $callSetsType = 'Postman_Google_Service_Genomics_CallSet';
+ protected $callSetsDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setCallSets($callSets)
+ {
+ $this->callSets = $callSets;
+ }
+ public function getCallSets()
+ {
+ return $this->callSets;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Genomics_SearchJobsRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'status';
+ protected $internal_gapi_mappings = array(
+ );
+ public $createdAfter;
+ public $createdBefore;
+ public $pageSize;
+ public $pageToken;
+ public $projectNumber;
+ public $status;
+
+
+ public function setCreatedAfter($createdAfter)
+ {
+ $this->createdAfter = $createdAfter;
+ }
+ public function getCreatedAfter()
+ {
+ return $this->createdAfter;
+ }
+ public function setCreatedBefore($createdBefore)
+ {
+ $this->createdBefore = $createdBefore;
+ }
+ public function getCreatedBefore()
+ {
+ return $this->createdBefore;
+ }
+ public function setPageSize($pageSize)
+ {
+ $this->pageSize = $pageSize;
+ }
+ public function getPageSize()
+ {
+ return $this->pageSize;
+ }
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+ public function setProjectNumber($projectNumber)
+ {
+ $this->projectNumber = $projectNumber;
+ }
+ public function getProjectNumber()
+ {
+ return $this->projectNumber;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Postman_Google_Service_Genomics_SearchJobsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'jobs';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $jobsType = 'Postman_Google_Service_Genomics_Job';
+ protected $jobsDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setJobs($jobs)
+ {
+ $this->jobs = $jobs;
+ }
+ public function getJobs()
+ {
+ return $this->jobs;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Genomics_SearchReadGroupSetsRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'datasetIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $datasetIds;
+ public $name;
+ public $pageSize;
+ public $pageToken;
+
+
+ public function setDatasetIds($datasetIds)
+ {
+ $this->datasetIds = $datasetIds;
+ }
+ public function getDatasetIds()
+ {
+ return $this->datasetIds;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPageSize($pageSize)
+ {
+ $this->pageSize = $pageSize;
+ }
+ public function getPageSize()
+ {
+ return $this->pageSize;
+ }
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+}
+
+class Postman_Google_Service_Genomics_SearchReadGroupSetsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'readGroupSets';
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ protected $readGroupSetsType = 'Postman_Google_Service_Genomics_ReadGroupSet';
+ protected $readGroupSetsDataType = 'array';
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setReadGroupSets($readGroupSets)
+ {
+ $this->readGroupSets = $readGroupSets;
+ }
+ public function getReadGroupSets()
+ {
+ return $this->readGroupSets;
+ }
+}
+
+class Postman_Google_Service_Genomics_SearchReadsRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'readGroupSetIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $end;
+ public $pageSize;
+ public $pageToken;
+ public $readGroupIds;
+ public $readGroupSetIds;
+ public $referenceName;
+ public $start;
+
+
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setPageSize($pageSize)
+ {
+ $this->pageSize = $pageSize;
+ }
+ public function getPageSize()
+ {
+ return $this->pageSize;
+ }
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+ public function setReadGroupIds($readGroupIds)
+ {
+ $this->readGroupIds = $readGroupIds;
+ }
+ public function getReadGroupIds()
+ {
+ return $this->readGroupIds;
+ }
+ public function setReadGroupSetIds($readGroupSetIds)
+ {
+ $this->readGroupSetIds = $readGroupSetIds;
+ }
+ public function getReadGroupSetIds()
+ {
+ return $this->readGroupSetIds;
+ }
+ public function setReferenceName($referenceName)
+ {
+ $this->referenceName = $referenceName;
+ }
+ public function getReferenceName()
+ {
+ return $this->referenceName;
+ }
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
+
+class Postman_Google_Service_Genomics_SearchReadsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'alignments';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $alignmentsType = 'Postman_Google_Service_Genomics_Read';
+ protected $alignmentsDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setAlignments($alignments)
+ {
+ $this->alignments = $alignments;
+ }
+ public function getAlignments()
+ {
+ return $this->alignments;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Genomics_SearchReferenceSetsRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'md5checksums';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accessions;
+ public $md5checksums;
+ public $pageSize;
+ public $pageToken;
+
+
+ public function setAccessions($accessions)
+ {
+ $this->accessions = $accessions;
+ }
+ public function getAccessions()
+ {
+ return $this->accessions;
+ }
+ public function setMd5checksums($md5checksums)
+ {
+ $this->md5checksums = $md5checksums;
+ }
+ public function getMd5checksums()
+ {
+ return $this->md5checksums;
+ }
+ public function setPageSize($pageSize)
+ {
+ $this->pageSize = $pageSize;
+ }
+ public function getPageSize()
+ {
+ return $this->pageSize;
+ }
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+}
+
+class Postman_Google_Service_Genomics_SearchReferenceSetsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'referenceSets';
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ protected $referenceSetsType = 'Postman_Google_Service_Genomics_ReferenceSet';
+ protected $referenceSetsDataType = 'array';
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setReferenceSets($referenceSets)
+ {
+ $this->referenceSets = $referenceSets;
+ }
+ public function getReferenceSets()
+ {
+ return $this->referenceSets;
+ }
+}
+
+class Postman_Google_Service_Genomics_SearchReferencesRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'md5checksums';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accessions;
+ public $md5checksums;
+ public $pageSize;
+ public $pageToken;
+ public $referenceSetId;
+
+
+ public function setAccessions($accessions)
+ {
+ $this->accessions = $accessions;
+ }
+ public function getAccessions()
+ {
+ return $this->accessions;
+ }
+ public function setMd5checksums($md5checksums)
+ {
+ $this->md5checksums = $md5checksums;
+ }
+ public function getMd5checksums()
+ {
+ return $this->md5checksums;
+ }
+ public function setPageSize($pageSize)
+ {
+ $this->pageSize = $pageSize;
+ }
+ public function getPageSize()
+ {
+ return $this->pageSize;
+ }
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+ public function setReferenceSetId($referenceSetId)
+ {
+ $this->referenceSetId = $referenceSetId;
+ }
+ public function getReferenceSetId()
+ {
+ return $this->referenceSetId;
+ }
+}
+
+class Postman_Google_Service_Genomics_SearchReferencesResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'references';
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ protected $referencesType = 'Postman_Google_Service_Genomics_Reference';
+ protected $referencesDataType = 'array';
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setReferences($references)
+ {
+ $this->references = $references;
+ }
+ public function getReferences()
+ {
+ return $this->references;
+ }
+}
+
+class Postman_Google_Service_Genomics_SearchVariantSetsRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'datasetIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $datasetIds;
+ public $pageSize;
+ public $pageToken;
+
+
+ public function setDatasetIds($datasetIds)
+ {
+ $this->datasetIds = $datasetIds;
+ }
+ public function getDatasetIds()
+ {
+ return $this->datasetIds;
+ }
+ public function setPageSize($pageSize)
+ {
+ $this->pageSize = $pageSize;
+ }
+ public function getPageSize()
+ {
+ return $this->pageSize;
+ }
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+}
+
+class Postman_Google_Service_Genomics_SearchVariantSetsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'variantSets';
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ protected $variantSetsType = 'Postman_Google_Service_Genomics_VariantSet';
+ protected $variantSetsDataType = 'array';
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setVariantSets($variantSets)
+ {
+ $this->variantSets = $variantSets;
+ }
+ public function getVariantSets()
+ {
+ return $this->variantSets;
+ }
+}
+
+class Postman_Google_Service_Genomics_SearchVariantsRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'variantSetIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $callSetIds;
+ public $end;
+ public $maxCalls;
+ public $pageSize;
+ public $pageToken;
+ public $referenceName;
+ public $start;
+ public $variantName;
+ public $variantSetIds;
+
+
+ public function setCallSetIds($callSetIds)
+ {
+ $this->callSetIds = $callSetIds;
+ }
+ public function getCallSetIds()
+ {
+ return $this->callSetIds;
+ }
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setMaxCalls($maxCalls)
+ {
+ $this->maxCalls = $maxCalls;
+ }
+ public function getMaxCalls()
+ {
+ return $this->maxCalls;
+ }
+ public function setPageSize($pageSize)
+ {
+ $this->pageSize = $pageSize;
+ }
+ public function getPageSize()
+ {
+ return $this->pageSize;
+ }
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+ public function setReferenceName($referenceName)
+ {
+ $this->referenceName = $referenceName;
+ }
+ public function getReferenceName()
+ {
+ return $this->referenceName;
+ }
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+ public function setVariantName($variantName)
+ {
+ $this->variantName = $variantName;
+ }
+ public function getVariantName()
+ {
+ return $this->variantName;
+ }
+ public function setVariantSetIds($variantSetIds)
+ {
+ $this->variantSetIds = $variantSetIds;
+ }
+ public function getVariantSetIds()
+ {
+ return $this->variantSetIds;
+ }
+}
+
+class Postman_Google_Service_Genomics_SearchVariantsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'variants';
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ protected $variantsType = 'Postman_Google_Service_Genomics_Variant';
+ protected $variantsDataType = 'array';
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setVariants($variants)
+ {
+ $this->variants = $variants;
+ }
+ public function getVariants()
+ {
+ return $this->variants;
+ }
+}
+
+class Postman_Google_Service_Genomics_Variant extends Postman_Google_Collection
+{
+ protected $collection_key = 'names';
+ protected $internal_gapi_mappings = array(
+ );
+ public $alternateBases;
+ protected $callsType = 'Postman_Google_Service_Genomics_GenomicsCall';
+ protected $callsDataType = 'array';
+ public $created;
+ public $end;
+ public $filter;
+ public $id;
+ public $info;
+ public $names;
+ public $quality;
+ public $referenceBases;
+ public $referenceName;
+ public $start;
+ public $variantSetId;
+
+
+ public function setAlternateBases($alternateBases)
+ {
+ $this->alternateBases = $alternateBases;
+ }
+ public function getAlternateBases()
+ {
+ return $this->alternateBases;
+ }
+ public function setCalls($calls)
+ {
+ $this->calls = $calls;
+ }
+ public function getCalls()
+ {
+ return $this->calls;
+ }
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+ public function getCreated()
+ {
+ return $this->created;
+ }
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setFilter($filter)
+ {
+ $this->filter = $filter;
+ }
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInfo($info)
+ {
+ $this->info = $info;
+ }
+ public function getInfo()
+ {
+ return $this->info;
+ }
+ public function setNames($names)
+ {
+ $this->names = $names;
+ }
+ public function getNames()
+ {
+ return $this->names;
+ }
+ public function setQuality($quality)
+ {
+ $this->quality = $quality;
+ }
+ public function getQuality()
+ {
+ return $this->quality;
+ }
+ public function setReferenceBases($referenceBases)
+ {
+ $this->referenceBases = $referenceBases;
+ }
+ public function getReferenceBases()
+ {
+ return $this->referenceBases;
+ }
+ public function setReferenceName($referenceName)
+ {
+ $this->referenceName = $referenceName;
+ }
+ public function getReferenceName()
+ {
+ return $this->referenceName;
+ }
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+ public function setVariantSetId($variantSetId)
+ {
+ $this->variantSetId = $variantSetId;
+ }
+ public function getVariantSetId()
+ {
+ return $this->variantSetId;
+ }
+}
+
+class Postman_Google_Service_Genomics_VariantInfo extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Genomics_VariantSet extends Postman_Google_Collection
+{
+ protected $collection_key = 'referenceBounds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $datasetId;
+ public $id;
+ protected $metadataType = 'Postman_Google_Service_Genomics_Metadata';
+ protected $metadataDataType = 'array';
+ protected $referenceBoundsType = 'Postman_Google_Service_Genomics_ReferenceBound';
+ protected $referenceBoundsDataType = 'array';
+
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setMetadata($metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setReferenceBounds($referenceBounds)
+ {
+ $this->referenceBounds = $referenceBounds;
+ }
+ public function getReferenceBounds()
+ {
+ return $this->referenceBounds;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Gmail.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Gmail.php
new file mode 100644
index 0000000..6008660
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Gmail.php
@@ -0,0 +1,1924 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Gmail (v1).
+ *
+ * <p>
+ * The Gmail REST API.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/gmail/api/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Gmail extends Postman_Google_Service
+{
+ /** View and manage your mail. */
+ const MAIL_GOOGLE_COM =
+ "https://mail.google.com";
+ /** Manage drafts and send emails. */
+ const GMAIL_COMPOSE =
+ "https://www.googleapis.com/auth/gmail.compose";
+ /** View and modify but not delete your email. */
+ const GMAIL_MODIFY =
+ "https://www.googleapis.com/auth/gmail.modify";
+ /** View your emails messages and settings. */
+ const GMAIL_READONLY =
+ "https://www.googleapis.com/auth/gmail.readonly";
+
+ public $users;
+ public $users_drafts;
+ public $users_history;
+ public $users_labels;
+ public $users_messages;
+ public $users_messages_attachments;
+ public $users_threads;
+
+
+ /**
+ * Constructs the internal representation of the Gmail service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'gmail/v1/users/';
+ $this->version = 'v1';
+ $this->serviceName = 'gmail';
+
+ $this->users = new Postman_Google_Service_Gmail_Users_Resource(
+ $this,
+ $this->serviceName,
+ 'users',
+ array(
+ 'methods' => array(
+ 'getProfile' => array(
+ 'path' => '{userId}/profile',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users_drafts = new Postman_Google_Service_Gmail_UsersDrafts_Resource(
+ $this,
+ $this->serviceName,
+ 'drafts',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => '{userId}/drafts',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{userId}/drafts/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{userId}/drafts/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'format' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{userId}/drafts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'send' => array(
+ 'path' => '{userId}/drafts/send',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{userId}/drafts/{id}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users_history = new Postman_Google_Service_Gmail_UsersHistory_Resource(
+ $this,
+ $this->serviceName,
+ 'history',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{userId}/history',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'labelId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startHistoryId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users_labels = new Postman_Google_Service_Gmail_UsersLabels_Resource(
+ $this,
+ $this->serviceName,
+ 'labels',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => '{userId}/labels',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{userId}/labels/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{userId}/labels/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{userId}/labels',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{userId}/labels/{id}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{userId}/labels/{id}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users_messages = new Postman_Google_Service_Gmail_UsersMessages_Resource(
+ $this,
+ $this->serviceName,
+ 'messages',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{userId}/messages/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{userId}/messages/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'metadataHeaders' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'format' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'import' => array(
+ 'path' => '{userId}/messages/import',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'internalDateSource' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{userId}/messages',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'internalDateSource' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{userId}/messages',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeSpamTrash' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'labelIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'modify' => array(
+ 'path' => '{userId}/messages/{id}/modify',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'send' => array(
+ 'path' => '{userId}/messages/send',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'trash' => array(
+ 'path' => '{userId}/messages/{id}/trash',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'untrash' => array(
+ 'path' => '{userId}/messages/{id}/untrash',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users_messages_attachments = new Postman_Google_Service_Gmail_UsersMessagesAttachments_Resource(
+ $this,
+ $this->serviceName,
+ 'attachments',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{userId}/messages/{messageId}/attachments/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'messageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users_threads = new Postman_Google_Service_Gmail_UsersThreads_Resource(
+ $this,
+ $this->serviceName,
+ 'threads',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{userId}/threads/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{userId}/threads/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'metadataHeaders' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'format' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{userId}/threads',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeSpamTrash' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'labelIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'modify' => array(
+ 'path' => '{userId}/threads/{id}/modify',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'trash' => array(
+ 'path' => '{userId}/threads/{id}/trash',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'untrash' => array(
+ 'path' => '{userId}/threads/{id}/untrash',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "users" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gmailService = new Postman_Google_Service_Gmail(...);
+ * $users = $gmailService->users;
+ * </code>
+ */
+class Postman_Google_Service_Gmail_Users_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets the current user's Gmail profile. (users.getProfile)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Gmail_Profile
+ */
+ public function getProfile($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getProfile', array($params), "Postman_Google_Service_Gmail_Profile");
+ }
+}
+
+/**
+ * The "drafts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gmailService = new Postman_Google_Service_Gmail(...);
+ * $drafts = $gmailService->drafts;
+ * </code>
+ */
+class Postman_Google_Service_Gmail_UsersDrafts_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Creates a new draft with the DRAFT label. (drafts.create)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param Postman_Google_Draft $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Gmail_Draft
+ */
+ public function create($userId, Postman_Google_Service_Gmail_Draft $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_Gmail_Draft");
+ }
+
+ /**
+ * Immediately and permanently deletes the specified draft. Does not simply
+ * trash it. (drafts.delete)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param string $id The ID of the draft to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets the specified draft. (drafts.get)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param string $id The ID of the draft to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string format The format to return the draft in.
+ * @return Postman_Google_Service_Gmail_Draft
+ */
+ public function get($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Gmail_Draft");
+ }
+
+ /**
+ * Lists the drafts in the user's mailbox. (drafts.listUsersDrafts)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Page token to retrieve a specific page of results
+ * in the list.
+ * @opt_param string maxResults Maximum number of drafts to return.
+ * @return Postman_Google_Service_Gmail_ListDraftsResponse
+ */
+ public function listUsersDrafts($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Gmail_ListDraftsResponse");
+ }
+
+ /**
+ * Sends the specified, existing draft to the recipients in the To, Cc, and Bcc
+ * headers. (drafts.send)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param Postman_Google_Draft $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Gmail_Message
+ */
+ public function send($userId, Postman_Google_Service_Gmail_Draft $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('send', array($params), "Postman_Google_Service_Gmail_Message");
+ }
+
+ /**
+ * Replaces a draft's content. (drafts.update)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param string $id The ID of the draft to update.
+ * @param Postman_Google_Draft $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Gmail_Draft
+ */
+ public function update($userId, $id, Postman_Google_Service_Gmail_Draft $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Gmail_Draft");
+ }
+}
+/**
+ * The "history" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gmailService = new Postman_Google_Service_Gmail(...);
+ * $history = $gmailService->history;
+ * </code>
+ */
+class Postman_Google_Service_Gmail_UsersHistory_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Lists the history of all changes to the given mailbox. History results are
+ * returned in chronological order (increasing historyId).
+ * (history.listUsersHistory)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Page token to retrieve a specific page of results
+ * in the list.
+ * @opt_param string maxResults The maximum number of history records to return.
+ * @opt_param string labelId Only return messages with a label matching the ID.
+ * @opt_param string startHistoryId Required. Returns history records after the
+ * specified startHistoryId. The supplied startHistoryId should be obtained from
+ * the historyId of a message, thread, or previous list response. History IDs
+ * increase chronologically but are not contiguous with random gaps in between
+ * valid IDs. Supplying an invalid or out of date startHistoryId typically
+ * returns an HTTP 404 error code. A historyId is typically valid for at least a
+ * week, but in some circumstances may be valid for only a few hours. If you
+ * receive an HTTP 404 error response, your application should perform a full
+ * sync. If you receive no nextPageToken in the response, there are no updates
+ * to retrieve and you can store the returned historyId for a future request.
+ * @return Postman_Google_Service_Gmail_ListHistoryResponse
+ */
+ public function listUsersHistory($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Gmail_ListHistoryResponse");
+ }
+}
+/**
+ * The "labels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gmailService = new Postman_Google_Service_Gmail(...);
+ * $labels = $gmailService->labels;
+ * </code>
+ */
+class Postman_Google_Service_Gmail_UsersLabels_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Creates a new label. (labels.create)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param Postman_Google_Label $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Gmail_Label
+ */
+ public function create($userId, Postman_Google_Service_Gmail_Label $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_Gmail_Label");
+ }
+
+ /**
+ * Immediately and permanently deletes the specified label and removes it from
+ * any messages and threads that it is applied to. (labels.delete)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param string $id The ID of the label to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets the specified label. (labels.get)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param string $id The ID of the label to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Gmail_Label
+ */
+ public function get($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Gmail_Label");
+ }
+
+ /**
+ * Lists all labels in the user's mailbox. (labels.listUsersLabels)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Gmail_ListLabelsResponse
+ */
+ public function listUsersLabels($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Gmail_ListLabelsResponse");
+ }
+
+ /**
+ * Updates the specified label. This method supports patch semantics.
+ * (labels.patch)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param string $id The ID of the label to update.
+ * @param Postman_Google_Label $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Gmail_Label
+ */
+ public function patch($userId, $id, Postman_Google_Service_Gmail_Label $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Gmail_Label");
+ }
+
+ /**
+ * Updates the specified label. (labels.update)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param string $id The ID of the label to update.
+ * @param Postman_Google_Label $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Gmail_Label
+ */
+ public function update($userId, $id, Postman_Google_Service_Gmail_Label $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Gmail_Label");
+ }
+}
+/**
+ * The "messages" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gmailService = new Postman_Google_Service_Gmail(...);
+ * $messages = $gmailService->messages;
+ * </code>
+ */
+class Postman_Google_Service_Gmail_UsersMessages_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Immediately and permanently deletes the specified message. This operation
+ * cannot be undone. Prefer messages.trash instead. (messages.delete)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param string $id The ID of the message to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets the specified message. (messages.get)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param string $id The ID of the message to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string metadataHeaders When given and format is METADATA, only
+ * include headers specified.
+ * @opt_param string format The format to return the message in.
+ * @return Postman_Google_Service_Gmail_Message
+ */
+ public function get($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Gmail_Message");
+ }
+
+ /**
+ * Imports a message into only this user's mailbox, with standard email delivery
+ * scanning and classification similar to receiving via SMTP. Does not send a
+ * message. (messages.import)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param Postman_Google_Message $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string internalDateSource Source for Gmail's internal date of the
+ * message.
+ * @return Postman_Google_Service_Gmail_Message
+ */
+ public function import($userId, Postman_Google_Service_Gmail_Message $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('import', array($params), "Postman_Google_Service_Gmail_Message");
+ }
+
+ /**
+ * Directly inserts a message into only this user's mailbox similar to IMAP
+ * APPEND, bypassing most scanning and classification. Does not send a message.
+ * (messages.insert)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param Postman_Google_Message $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string internalDateSource Source for Gmail's internal date of the
+ * message.
+ * @return Postman_Google_Service_Gmail_Message
+ */
+ public function insert($userId, Postman_Google_Service_Gmail_Message $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Gmail_Message");
+ }
+
+ /**
+ * Lists the messages in the user's mailbox. (messages.listUsersMessages)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults Maximum number of messages to return.
+ * @opt_param string q Only return messages matching the specified query.
+ * Supports the same query format as the Gmail search box. For example,
+ * "from:someuser@example.com rfc822msgid: is:unread".
+ * @opt_param string pageToken Page token to retrieve a specific page of results
+ * in the list.
+ * @opt_param bool includeSpamTrash Include messages from SPAM and TRASH in the
+ * results.
+ * @opt_param string labelIds Only return messages with labels that match all of
+ * the specified label IDs.
+ * @return Postman_Google_Service_Gmail_ListMessagesResponse
+ */
+ public function listUsersMessages($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Gmail_ListMessagesResponse");
+ }
+
+ /**
+ * Modifies the labels on the specified message. (messages.modify)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param string $id The ID of the message to modify.
+ * @param Postman_Google_ModifyMessageRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Gmail_Message
+ */
+ public function modify($userId, $id, Postman_Google_Service_Gmail_ModifyMessageRequest $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('modify', array($params), "Postman_Google_Service_Gmail_Message");
+ }
+
+ /**
+ * Sends the specified message to the recipients in the To, Cc, and Bcc headers.
+ * (messages.send)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param Postman_Google_Message $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Gmail_Message
+ */
+ public function send($userId, Postman_Google_Service_Gmail_Message $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('send', array($params), "Postman_Google_Service_Gmail_Message");
+ }
+
+ /**
+ * Moves the specified message to the trash. (messages.trash)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param string $id The ID of the message to Trash.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Gmail_Message
+ */
+ public function trash($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('trash', array($params), "Postman_Google_Service_Gmail_Message");
+ }
+
+ /**
+ * Removes the specified message from the trash. (messages.untrash)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param string $id The ID of the message to remove from Trash.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Gmail_Message
+ */
+ public function untrash($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('untrash', array($params), "Postman_Google_Service_Gmail_Message");
+ }
+}
+
+/**
+ * The "attachments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gmailService = new Postman_Google_Service_Gmail(...);
+ * $attachments = $gmailService->attachments;
+ * </code>
+ */
+class Postman_Google_Service_Gmail_UsersMessagesAttachments_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets the specified message attachment. (attachments.get)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param string $messageId The ID of the message containing the attachment.
+ * @param string $id The ID of the attachment.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Gmail_MessagePartBody
+ */
+ public function get($userId, $messageId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'messageId' => $messageId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Gmail_MessagePartBody");
+ }
+}
+/**
+ * The "threads" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $gmailService = new Postman_Google_Service_Gmail(...);
+ * $threads = $gmailService->threads;
+ * </code>
+ */
+class Postman_Google_Service_Gmail_UsersThreads_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Immediately and permanently deletes the specified thread. This operation
+ * cannot be undone. Prefer threads.trash instead. (threads.delete)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param string $id ID of the Thread to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets the specified thread. (threads.get)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param string $id The ID of the thread to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string metadataHeaders When given and format is METADATA, only
+ * include headers specified.
+ * @opt_param string format The format to return the messages in.
+ * @return Postman_Google_Service_Gmail_Thread
+ */
+ public function get($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Gmail_Thread");
+ }
+
+ /**
+ * Lists the threads in the user's mailbox. (threads.listUsersThreads)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults Maximum number of threads to return.
+ * @opt_param string q Only return threads matching the specified query.
+ * Supports the same query format as the Gmail search box. For example,
+ * "from:someuser@example.com rfc822msgid: is:unread".
+ * @opt_param string pageToken Page token to retrieve a specific page of results
+ * in the list.
+ * @opt_param bool includeSpamTrash Include threads from SPAM and TRASH in the
+ * results.
+ * @opt_param string labelIds Only return threads with labels that match all of
+ * the specified label IDs.
+ * @return Postman_Google_Service_Gmail_ListThreadsResponse
+ */
+ public function listUsersThreads($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Gmail_ListThreadsResponse");
+ }
+
+ /**
+ * Modifies the labels applied to the thread. This applies to all messages in
+ * the thread. (threads.modify)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param string $id The ID of the thread to modify.
+ * @param Postman_Google_ModifyThreadRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Gmail_Thread
+ */
+ public function modify($userId, $id, Postman_Google_Service_Gmail_ModifyThreadRequest $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('modify', array($params), "Postman_Google_Service_Gmail_Thread");
+ }
+
+ /**
+ * Moves the specified thread to the trash. (threads.trash)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param string $id The ID of the thread to Trash.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Gmail_Thread
+ */
+ public function trash($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('trash', array($params), "Postman_Google_Service_Gmail_Thread");
+ }
+
+ /**
+ * Removes the specified thread from the trash. (threads.untrash)
+ *
+ * @param string $userId The user's email address. The special value me can be
+ * used to indicate the authenticated user.
+ * @param string $id The ID of the thread to remove from Trash.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Gmail_Thread
+ */
+ public function untrash($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('untrash', array($params), "Postman_Google_Service_Gmail_Thread");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Gmail_Draft extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $messageType = 'Postman_Google_Service_Gmail_Message';
+ protected $messageDataType = '';
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setMessage(Postman_Google_Service_Gmail_Message $message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Postman_Google_Service_Gmail_History extends Postman_Google_Collection
+{
+ protected $collection_key = 'messages';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $messagesType = 'Postman_Google_Service_Gmail_Message';
+ protected $messagesDataType = 'array';
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setMessages($messages)
+ {
+ $this->messages = $messages;
+ }
+ public function getMessages()
+ {
+ return $this->messages;
+ }
+}
+
+class Postman_Google_Service_Gmail_Label extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $labelListVisibility;
+ public $messageListVisibility;
+ public $messagesTotal;
+ public $messagesUnread;
+ public $name;
+ public $threadsTotal;
+ public $threadsUnread;
+ public $type;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLabelListVisibility($labelListVisibility)
+ {
+ $this->labelListVisibility = $labelListVisibility;
+ }
+ public function getLabelListVisibility()
+ {
+ return $this->labelListVisibility;
+ }
+ public function setMessageListVisibility($messageListVisibility)
+ {
+ $this->messageListVisibility = $messageListVisibility;
+ }
+ public function getMessageListVisibility()
+ {
+ return $this->messageListVisibility;
+ }
+ public function setMessagesTotal($messagesTotal)
+ {
+ $this->messagesTotal = $messagesTotal;
+ }
+ public function getMessagesTotal()
+ {
+ return $this->messagesTotal;
+ }
+ public function setMessagesUnread($messagesUnread)
+ {
+ $this->messagesUnread = $messagesUnread;
+ }
+ public function getMessagesUnread()
+ {
+ return $this->messagesUnread;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setThreadsTotal($threadsTotal)
+ {
+ $this->threadsTotal = $threadsTotal;
+ }
+ public function getThreadsTotal()
+ {
+ return $this->threadsTotal;
+ }
+ public function setThreadsUnread($threadsUnread)
+ {
+ $this->threadsUnread = $threadsUnread;
+ }
+ public function getThreadsUnread()
+ {
+ return $this->threadsUnread;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Gmail_ListDraftsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'drafts';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $draftsType = 'Postman_Google_Service_Gmail_Draft';
+ protected $draftsDataType = 'array';
+ public $nextPageToken;
+ public $resultSizeEstimate;
+
+
+ public function setDrafts($drafts)
+ {
+ $this->drafts = $drafts;
+ }
+ public function getDrafts()
+ {
+ return $this->drafts;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setResultSizeEstimate($resultSizeEstimate)
+ {
+ $this->resultSizeEstimate = $resultSizeEstimate;
+ }
+ public function getResultSizeEstimate()
+ {
+ return $this->resultSizeEstimate;
+ }
+}
+
+class Postman_Google_Service_Gmail_ListHistoryResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'history';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $historyType = 'Postman_Google_Service_Gmail_History';
+ protected $historyDataType = 'array';
+ public $historyId;
+ public $nextPageToken;
+
+
+ public function setHistory($history)
+ {
+ $this->history = $history;
+ }
+ public function getHistory()
+ {
+ return $this->history;
+ }
+ public function setHistoryId($historyId)
+ {
+ $this->historyId = $historyId;
+ }
+ public function getHistoryId()
+ {
+ return $this->historyId;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Gmail_ListLabelsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'labels';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $labelsType = 'Postman_Google_Service_Gmail_Label';
+ protected $labelsDataType = 'array';
+
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+}
+
+class Postman_Google_Service_Gmail_ListMessagesResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'messages';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $messagesType = 'Postman_Google_Service_Gmail_Message';
+ protected $messagesDataType = 'array';
+ public $nextPageToken;
+ public $resultSizeEstimate;
+
+
+ public function setMessages($messages)
+ {
+ $this->messages = $messages;
+ }
+ public function getMessages()
+ {
+ return $this->messages;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setResultSizeEstimate($resultSizeEstimate)
+ {
+ $this->resultSizeEstimate = $resultSizeEstimate;
+ }
+ public function getResultSizeEstimate()
+ {
+ return $this->resultSizeEstimate;
+ }
+}
+
+class Postman_Google_Service_Gmail_ListThreadsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'threads';
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ public $resultSizeEstimate;
+ protected $threadsType = 'Postman_Google_Service_Gmail_Thread';
+ protected $threadsDataType = 'array';
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setResultSizeEstimate($resultSizeEstimate)
+ {
+ $this->resultSizeEstimate = $resultSizeEstimate;
+ }
+ public function getResultSizeEstimate()
+ {
+ return $this->resultSizeEstimate;
+ }
+ public function setThreads($threads)
+ {
+ $this->threads = $threads;
+ }
+ public function getThreads()
+ {
+ return $this->threads;
+ }
+}
+
+class Postman_Google_Service_Gmail_Message extends Postman_Google_Collection
+{
+ protected $collection_key = 'labelIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $historyId;
+ public $id;
+ public $labelIds;
+ protected $payloadType = 'Postman_Google_Service_Gmail_MessagePart';
+ protected $payloadDataType = '';
+ public $raw;
+ public $sizeEstimate;
+ public $snippet;
+ public $threadId;
+
+
+ public function setHistoryId($historyId)
+ {
+ $this->historyId = $historyId;
+ }
+ public function getHistoryId()
+ {
+ return $this->historyId;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLabelIds($labelIds)
+ {
+ $this->labelIds = $labelIds;
+ }
+ public function getLabelIds()
+ {
+ return $this->labelIds;
+ }
+ public function setPayload(Postman_Google_Service_Gmail_MessagePart $payload)
+ {
+ $this->payload = $payload;
+ }
+ public function getPayload()
+ {
+ return $this->payload;
+ }
+ public function setRaw($raw)
+ {
+ $this->raw = $raw;
+ }
+ public function getRaw()
+ {
+ return $this->raw;
+ }
+ public function setSizeEstimate($sizeEstimate)
+ {
+ $this->sizeEstimate = $sizeEstimate;
+ }
+ public function getSizeEstimate()
+ {
+ return $this->sizeEstimate;
+ }
+ public function setSnippet($snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+ public function setThreadId($threadId)
+ {
+ $this->threadId = $threadId;
+ }
+ public function getThreadId()
+ {
+ return $this->threadId;
+ }
+}
+
+class Postman_Google_Service_Gmail_MessagePart extends Postman_Google_Collection
+{
+ protected $collection_key = 'parts';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $bodyType = 'Postman_Google_Service_Gmail_MessagePartBody';
+ protected $bodyDataType = '';
+ public $filename;
+ protected $headersType = 'Postman_Google_Service_Gmail_MessagePartHeader';
+ protected $headersDataType = 'array';
+ public $mimeType;
+ public $partId;
+ protected $partsType = 'Postman_Google_Service_Gmail_MessagePart';
+ protected $partsDataType = 'array';
+
+
+ public function setBody(Postman_Google_Service_Gmail_MessagePartBody $body)
+ {
+ $this->body = $body;
+ }
+ public function getBody()
+ {
+ return $this->body;
+ }
+ public function setFilename($filename)
+ {
+ $this->filename = $filename;
+ }
+ public function getFilename()
+ {
+ return $this->filename;
+ }
+ public function setHeaders($headers)
+ {
+ $this->headers = $headers;
+ }
+ public function getHeaders()
+ {
+ return $this->headers;
+ }
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+ public function setPartId($partId)
+ {
+ $this->partId = $partId;
+ }
+ public function getPartId()
+ {
+ return $this->partId;
+ }
+ public function setParts($parts)
+ {
+ $this->parts = $parts;
+ }
+ public function getParts()
+ {
+ return $this->parts;
+ }
+}
+
+class Postman_Google_Service_Gmail_MessagePartBody extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $attachmentId;
+ public $data;
+ public $size;
+
+
+ public function setAttachmentId($attachmentId)
+ {
+ $this->attachmentId = $attachmentId;
+ }
+ public function getAttachmentId()
+ {
+ return $this->attachmentId;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+}
+
+class Postman_Google_Service_Gmail_MessagePartHeader extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+ public $value;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Gmail_ModifyMessageRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'removeLabelIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $addLabelIds;
+ public $removeLabelIds;
+
+
+ public function setAddLabelIds($addLabelIds)
+ {
+ $this->addLabelIds = $addLabelIds;
+ }
+ public function getAddLabelIds()
+ {
+ return $this->addLabelIds;
+ }
+ public function setRemoveLabelIds($removeLabelIds)
+ {
+ $this->removeLabelIds = $removeLabelIds;
+ }
+ public function getRemoveLabelIds()
+ {
+ return $this->removeLabelIds;
+ }
+}
+
+class Postman_Google_Service_Gmail_ModifyThreadRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'removeLabelIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $addLabelIds;
+ public $removeLabelIds;
+
+
+ public function setAddLabelIds($addLabelIds)
+ {
+ $this->addLabelIds = $addLabelIds;
+ }
+ public function getAddLabelIds()
+ {
+ return $this->addLabelIds;
+ }
+ public function setRemoveLabelIds($removeLabelIds)
+ {
+ $this->removeLabelIds = $removeLabelIds;
+ }
+ public function getRemoveLabelIds()
+ {
+ return $this->removeLabelIds;
+ }
+}
+
+class Postman_Google_Service_Gmail_Profile extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $emailAddress;
+ public $historyId;
+ public $messagesTotal;
+ public $threadsTotal;
+
+
+ public function setEmailAddress($emailAddress)
+ {
+ $this->emailAddress = $emailAddress;
+ }
+ public function getEmailAddress()
+ {
+ return $this->emailAddress;
+ }
+ public function setHistoryId($historyId)
+ {
+ $this->historyId = $historyId;
+ }
+ public function getHistoryId()
+ {
+ return $this->historyId;
+ }
+ public function setMessagesTotal($messagesTotal)
+ {
+ $this->messagesTotal = $messagesTotal;
+ }
+ public function getMessagesTotal()
+ {
+ return $this->messagesTotal;
+ }
+ public function setThreadsTotal($threadsTotal)
+ {
+ $this->threadsTotal = $threadsTotal;
+ }
+ public function getThreadsTotal()
+ {
+ return $this->threadsTotal;
+ }
+}
+
+class Postman_Google_Service_Gmail_Thread extends Postman_Google_Collection
+{
+ protected $collection_key = 'messages';
+ protected $internal_gapi_mappings = array(
+ );
+ public $historyId;
+ public $id;
+ protected $messagesType = 'Postman_Google_Service_Gmail_Message';
+ protected $messagesDataType = 'array';
+ public $snippet;
+
+
+ public function setHistoryId($historyId)
+ {
+ $this->historyId = $historyId;
+ }
+ public function getHistoryId()
+ {
+ return $this->historyId;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setMessages($messages)
+ {
+ $this->messages = $messages;
+ }
+ public function getMessages()
+ {
+ return $this->messages;
+ }
+ public function setSnippet($snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/GroupsMigration.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/GroupsMigration.php
new file mode 100644
index 0000000..b1b8a32
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/GroupsMigration.php
@@ -0,0 +1,127 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for GroupsMigration (v1).
+ *
+ * <p>
+ * Groups Migration Api.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/google-apps/groups-migration/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_GroupsMigration extends Postman_Google_Service
+{
+
+
+ public $archive;
+
+
+ /**
+ * Constructs the internal representation of the GroupsMigration service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'groups/v1/groups/';
+ $this->version = 'v1';
+ $this->serviceName = 'groupsmigration';
+
+ $this->archive = new Postman_Google_Service_GroupsMigration_Archive_Resource(
+ $this,
+ $this->serviceName,
+ 'archive',
+ array(
+ 'methods' => array(
+ 'insert' => array(
+ 'path' => '{groupId}/archive',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'groupId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "archive" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $groupsmigrationService = new Postman_Google_Service_GroupsMigration(...);
+ * $archive = $groupsmigrationService->archive;
+ * </code>
+ */
+class Postman_Google_Service_GroupsMigration_Archive_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Inserts a new mail into the archive of the Google group. (archive.insert)
+ *
+ * @param string $groupId The group ID
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_GroupsMigration_Groups
+ */
+ public function insert($groupId, $optParams = array())
+ {
+ $params = array('groupId' => $groupId);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_GroupsMigration_Groups");
+ }
+}
+
+
+
+
+class Postman_Google_Service_GroupsMigration_Groups extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $responseCode;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setResponseCode($responseCode)
+ {
+ $this->responseCode = $responseCode;
+ }
+ public function getResponseCode()
+ {
+ return $this->responseCode;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Groupssettings.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Groupssettings.php
new file mode 100644
index 0000000..20dd5c5
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Groupssettings.php
@@ -0,0 +1,414 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Groupssettings (v1).
+ *
+ * <p>
+ * Lets you manage permission levels and related settings of a group.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/google-apps/groups-settings/get_started" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Groupssettings extends Postman_Google_Service
+{
+ /** View and manage the settings of a Google Apps Group. */
+ const APPS_GROUPS_SETTINGS =
+ "https://www.googleapis.com/auth/apps.groups.settings";
+
+ public $groups;
+
+
+ /**
+ * Constructs the internal representation of the Groupssettings service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'groups/v1/groups/';
+ $this->version = 'v1';
+ $this->serviceName = 'groupssettings';
+
+ $this->groups = new Postman_Google_Service_Groupssettings_Groups_Resource(
+ $this,
+ $this->serviceName,
+ 'groups',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{groupUniqueId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'groupUniqueId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{groupUniqueId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'groupUniqueId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{groupUniqueId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'groupUniqueId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "groups" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $groupssettingsService = new Postman_Google_Service_Groupssettings(...);
+ * $groups = $groupssettingsService->groups;
+ * </code>
+ */
+class Postman_Google_Service_Groupssettings_Groups_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets one resource by id. (groups.get)
+ *
+ * @param string $groupUniqueId The resource ID
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Groupssettings_Groups
+ */
+ public function get($groupUniqueId, $optParams = array())
+ {
+ $params = array('groupUniqueId' => $groupUniqueId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Groupssettings_Groups");
+ }
+
+ /**
+ * Updates an existing resource. This method supports patch semantics.
+ * (groups.patch)
+ *
+ * @param string $groupUniqueId The resource ID
+ * @param Postman_Google_Groups $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Groupssettings_Groups
+ */
+ public function patch($groupUniqueId, Postman_Google_Service_Groupssettings_Groups $postBody, $optParams = array())
+ {
+ $params = array('groupUniqueId' => $groupUniqueId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Groupssettings_Groups");
+ }
+
+ /**
+ * Updates an existing resource. (groups.update)
+ *
+ * @param string $groupUniqueId The resource ID
+ * @param Postman_Google_Groups $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Groupssettings_Groups
+ */
+ public function update($groupUniqueId, Postman_Google_Service_Groupssettings_Groups $postBody, $optParams = array())
+ {
+ $params = array('groupUniqueId' => $groupUniqueId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Groupssettings_Groups");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Groupssettings_Groups extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $allowExternalMembers;
+ public $allowGoogleCommunication;
+ public $allowWebPosting;
+ public $archiveOnly;
+ public $customReplyTo;
+ public $defaultMessageDenyNotificationText;
+ public $description;
+ public $email;
+ public $includeInGlobalAddressList;
+ public $isArchived;
+ public $kind;
+ public $maxMessageBytes;
+ public $membersCanPostAsTheGroup;
+ public $messageDisplayFont;
+ public $messageModerationLevel;
+ public $name;
+ public $primaryLanguage;
+ public $replyTo;
+ public $sendMessageDenyNotification;
+ public $showInGroupDirectory;
+ public $spamModerationLevel;
+ public $whoCanContactOwner;
+ public $whoCanInvite;
+ public $whoCanJoin;
+ public $whoCanLeaveGroup;
+ public $whoCanPostMessage;
+ public $whoCanViewGroup;
+ public $whoCanViewMembership;
+
+
+ public function setAllowExternalMembers($allowExternalMembers)
+ {
+ $this->allowExternalMembers = $allowExternalMembers;
+ }
+ public function getAllowExternalMembers()
+ {
+ return $this->allowExternalMembers;
+ }
+ public function setAllowGoogleCommunication($allowGoogleCommunication)
+ {
+ $this->allowGoogleCommunication = $allowGoogleCommunication;
+ }
+ public function getAllowGoogleCommunication()
+ {
+ return $this->allowGoogleCommunication;
+ }
+ public function setAllowWebPosting($allowWebPosting)
+ {
+ $this->allowWebPosting = $allowWebPosting;
+ }
+ public function getAllowWebPosting()
+ {
+ return $this->allowWebPosting;
+ }
+ public function setArchiveOnly($archiveOnly)
+ {
+ $this->archiveOnly = $archiveOnly;
+ }
+ public function getArchiveOnly()
+ {
+ return $this->archiveOnly;
+ }
+ public function setCustomReplyTo($customReplyTo)
+ {
+ $this->customReplyTo = $customReplyTo;
+ }
+ public function getCustomReplyTo()
+ {
+ return $this->customReplyTo;
+ }
+ public function setDefaultMessageDenyNotificationText($defaultMessageDenyNotificationText)
+ {
+ $this->defaultMessageDenyNotificationText = $defaultMessageDenyNotificationText;
+ }
+ public function getDefaultMessageDenyNotificationText()
+ {
+ return $this->defaultMessageDenyNotificationText;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setIncludeInGlobalAddressList($includeInGlobalAddressList)
+ {
+ $this->includeInGlobalAddressList = $includeInGlobalAddressList;
+ }
+ public function getIncludeInGlobalAddressList()
+ {
+ return $this->includeInGlobalAddressList;
+ }
+ public function setIsArchived($isArchived)
+ {
+ $this->isArchived = $isArchived;
+ }
+ public function getIsArchived()
+ {
+ return $this->isArchived;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMaxMessageBytes($maxMessageBytes)
+ {
+ $this->maxMessageBytes = $maxMessageBytes;
+ }
+ public function getMaxMessageBytes()
+ {
+ return $this->maxMessageBytes;
+ }
+ public function setMembersCanPostAsTheGroup($membersCanPostAsTheGroup)
+ {
+ $this->membersCanPostAsTheGroup = $membersCanPostAsTheGroup;
+ }
+ public function getMembersCanPostAsTheGroup()
+ {
+ return $this->membersCanPostAsTheGroup;
+ }
+ public function setMessageDisplayFont($messageDisplayFont)
+ {
+ $this->messageDisplayFont = $messageDisplayFont;
+ }
+ public function getMessageDisplayFont()
+ {
+ return $this->messageDisplayFont;
+ }
+ public function setMessageModerationLevel($messageModerationLevel)
+ {
+ $this->messageModerationLevel = $messageModerationLevel;
+ }
+ public function getMessageModerationLevel()
+ {
+ return $this->messageModerationLevel;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPrimaryLanguage($primaryLanguage)
+ {
+ $this->primaryLanguage = $primaryLanguage;
+ }
+ public function getPrimaryLanguage()
+ {
+ return $this->primaryLanguage;
+ }
+ public function setReplyTo($replyTo)
+ {
+ $this->replyTo = $replyTo;
+ }
+ public function getReplyTo()
+ {
+ return $this->replyTo;
+ }
+ public function setSendMessageDenyNotification($sendMessageDenyNotification)
+ {
+ $this->sendMessageDenyNotification = $sendMessageDenyNotification;
+ }
+ public function getSendMessageDenyNotification()
+ {
+ return $this->sendMessageDenyNotification;
+ }
+ public function setShowInGroupDirectory($showInGroupDirectory)
+ {
+ $this->showInGroupDirectory = $showInGroupDirectory;
+ }
+ public function getShowInGroupDirectory()
+ {
+ return $this->showInGroupDirectory;
+ }
+ public function setSpamModerationLevel($spamModerationLevel)
+ {
+ $this->spamModerationLevel = $spamModerationLevel;
+ }
+ public function getSpamModerationLevel()
+ {
+ return $this->spamModerationLevel;
+ }
+ public function setWhoCanContactOwner($whoCanContactOwner)
+ {
+ $this->whoCanContactOwner = $whoCanContactOwner;
+ }
+ public function getWhoCanContactOwner()
+ {
+ return $this->whoCanContactOwner;
+ }
+ public function setWhoCanInvite($whoCanInvite)
+ {
+ $this->whoCanInvite = $whoCanInvite;
+ }
+ public function getWhoCanInvite()
+ {
+ return $this->whoCanInvite;
+ }
+ public function setWhoCanJoin($whoCanJoin)
+ {
+ $this->whoCanJoin = $whoCanJoin;
+ }
+ public function getWhoCanJoin()
+ {
+ return $this->whoCanJoin;
+ }
+ public function setWhoCanLeaveGroup($whoCanLeaveGroup)
+ {
+ $this->whoCanLeaveGroup = $whoCanLeaveGroup;
+ }
+ public function getWhoCanLeaveGroup()
+ {
+ return $this->whoCanLeaveGroup;
+ }
+ public function setWhoCanPostMessage($whoCanPostMessage)
+ {
+ $this->whoCanPostMessage = $whoCanPostMessage;
+ }
+ public function getWhoCanPostMessage()
+ {
+ return $this->whoCanPostMessage;
+ }
+ public function setWhoCanViewGroup($whoCanViewGroup)
+ {
+ $this->whoCanViewGroup = $whoCanViewGroup;
+ }
+ public function getWhoCanViewGroup()
+ {
+ return $this->whoCanViewGroup;
+ }
+ public function setWhoCanViewMembership($whoCanViewMembership)
+ {
+ $this->whoCanViewMembership = $whoCanViewMembership;
+ }
+ public function getWhoCanViewMembership()
+ {
+ return $this->whoCanViewMembership;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/IdentityToolkit.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/IdentityToolkit.php
new file mode 100644
index 0000000..f2940f1
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/IdentityToolkit.php
@@ -0,0 +1,1630 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for IdentityToolkit (v3).
+ *
+ * <p>
+ * Help the third party sites to implement federated login.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/identity-toolkit/v3/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_IdentityToolkit extends Postman_Google_Service
+{
+
+
+ public $relyingparty;
+
+
+ /**
+ * Constructs the internal representation of the IdentityToolkit service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'identitytoolkit/v3/relyingparty/';
+ $this->version = 'v3';
+ $this->serviceName = 'identitytoolkit';
+
+ $this->relyingparty = new Postman_Google_Service_IdentityToolkit_Relyingparty_Resource(
+ $this,
+ $this->serviceName,
+ 'relyingparty',
+ array(
+ 'methods' => array(
+ 'createAuthUri' => array(
+ 'path' => 'createAuthUri',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'deleteAccount' => array(
+ 'path' => 'deleteAccount',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'downloadAccount' => array(
+ 'path' => 'downloadAccount',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'getAccountInfo' => array(
+ 'path' => 'getAccountInfo',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'getOobConfirmationCode' => array(
+ 'path' => 'getOobConfirmationCode',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'getPublicKeys' => array(
+ 'path' => 'publicKeys',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),'resetPassword' => array(
+ 'path' => 'resetPassword',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'setAccountInfo' => array(
+ 'path' => 'setAccountInfo',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'uploadAccount' => array(
+ 'path' => 'uploadAccount',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'verifyAssertion' => array(
+ 'path' => 'verifyAssertion',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'verifyPassword' => array(
+ 'path' => 'verifyPassword',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "relyingparty" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $identitytoolkitService = new Postman_Google_Service_IdentityToolkit(...);
+ * $relyingparty = $identitytoolkitService->relyingparty;
+ * </code>
+ */
+class Postman_Google_Service_IdentityToolkit_Relyingparty_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Creates the URI used by the IdP to authenticate the user.
+ * (relyingparty.createAuthUri)
+ *
+ * @param Postman_Google_IdentitytoolkitRelyingpartyCreateAuthUriRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_IdentityToolkit_CreateAuthUriResponse
+ */
+ public function createAuthUri(Postman_Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyCreateAuthUriRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('createAuthUri', array($params), "Postman_Google_Service_IdentityToolkit_CreateAuthUriResponse");
+ }
+
+ /**
+ * Delete user account. (relyingparty.deleteAccount)
+ *
+ * @param Postman_Google_IdentitytoolkitRelyingpartyDeleteAccountRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_IdentityToolkit_DeleteAccountResponse
+ */
+ public function deleteAccount(Postman_Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDeleteAccountRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('deleteAccount', array($params), "Postman_Google_Service_IdentityToolkit_DeleteAccountResponse");
+ }
+
+ /**
+ * Batch download user accounts. (relyingparty.downloadAccount)
+ *
+ * @param Postman_Google_IdentitytoolkitRelyingpartyDownloadAccountRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_IdentityToolkit_DownloadAccountResponse
+ */
+ public function downloadAccount(Postman_Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDownloadAccountRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('downloadAccount', array($params), "Postman_Google_Service_IdentityToolkit_DownloadAccountResponse");
+ }
+
+ /**
+ * Returns the account info. (relyingparty.getAccountInfo)
+ *
+ * @param Postman_Google_IdentitytoolkitRelyingpartyGetAccountInfoRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_IdentityToolkit_GetAccountInfoResponse
+ */
+ public function getAccountInfo(Postman_Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetAccountInfoRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getAccountInfo', array($params), "Postman_Google_Service_IdentityToolkit_GetAccountInfoResponse");
+ }
+
+ /**
+ * Get a code for user action confirmation.
+ * (relyingparty.getOobConfirmationCode)
+ *
+ * @param Postman_Google_Relyingparty $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_IdentityToolkit_GetOobConfirmationCodeResponse
+ */
+ public function getOobConfirmationCode(Postman_Google_Service_IdentityToolkit_Relyingparty $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getOobConfirmationCode', array($params), "Postman_Google_Service_IdentityToolkit_GetOobConfirmationCodeResponse");
+ }
+
+ /**
+ * Get token signing public key. (relyingparty.getPublicKeys)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetPublicKeysResponse
+ */
+ public function getPublicKeys($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('getPublicKeys', array($params), "Postman_Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetPublicKeysResponse");
+ }
+
+ /**
+ * Reset password for a user. (relyingparty.resetPassword)
+ *
+ * @param Postman_Google_IdentitytoolkitRelyingpartyResetPasswordRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_IdentityToolkit_ResetPasswordResponse
+ */
+ public function resetPassword(Postman_Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyResetPasswordRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('resetPassword', array($params), "Postman_Google_Service_IdentityToolkit_ResetPasswordResponse");
+ }
+
+ /**
+ * Set account info for a user. (relyingparty.setAccountInfo)
+ *
+ * @param Postman_Google_IdentitytoolkitRelyingpartySetAccountInfoRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_IdentityToolkit_SetAccountInfoResponse
+ */
+ public function setAccountInfo(Postman_Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetAccountInfoRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setAccountInfo', array($params), "Postman_Google_Service_IdentityToolkit_SetAccountInfoResponse");
+ }
+
+ /**
+ * Batch upload existing user accounts. (relyingparty.uploadAccount)
+ *
+ * @param Postman_Google_IdentitytoolkitRelyingpartyUploadAccountRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_IdentityToolkit_UploadAccountResponse
+ */
+ public function uploadAccount(Postman_Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyUploadAccountRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('uploadAccount', array($params), "Postman_Google_Service_IdentityToolkit_UploadAccountResponse");
+ }
+
+ /**
+ * Verifies the assertion returned by the IdP. (relyingparty.verifyAssertion)
+ *
+ * @param Postman_Google_IdentitytoolkitRelyingpartyVerifyAssertionRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_IdentityToolkit_VerifyAssertionResponse
+ */
+ public function verifyAssertion(Postman_Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyAssertionRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('verifyAssertion', array($params), "Postman_Google_Service_IdentityToolkit_VerifyAssertionResponse");
+ }
+
+ /**
+ * Verifies the user entered password. (relyingparty.verifyPassword)
+ *
+ * @param Postman_Google_IdentitytoolkitRelyingpartyVerifyPasswordRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_IdentityToolkit_VerifyPasswordResponse
+ */
+ public function verifyPassword(Postman_Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyPasswordRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('verifyPassword', array($params), "Postman_Google_Service_IdentityToolkit_VerifyPasswordResponse");
+ }
+}
+
+
+
+
+class Postman_Google_Service_IdentityToolkit_CreateAuthUriResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $authUri;
+ public $captchaRequired;
+ public $forExistingProvider;
+ public $kind;
+ public $providerId;
+ public $registered;
+
+
+ public function setAuthUri($authUri)
+ {
+ $this->authUri = $authUri;
+ }
+ public function getAuthUri()
+ {
+ return $this->authUri;
+ }
+ public function setCaptchaRequired($captchaRequired)
+ {
+ $this->captchaRequired = $captchaRequired;
+ }
+ public function getCaptchaRequired()
+ {
+ return $this->captchaRequired;
+ }
+ public function setForExistingProvider($forExistingProvider)
+ {
+ $this->forExistingProvider = $forExistingProvider;
+ }
+ public function getForExistingProvider()
+ {
+ return $this->forExistingProvider;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setProviderId($providerId)
+ {
+ $this->providerId = $providerId;
+ }
+ public function getProviderId()
+ {
+ return $this->providerId;
+ }
+ public function setRegistered($registered)
+ {
+ $this->registered = $registered;
+ }
+ public function getRegistered()
+ {
+ return $this->registered;
+ }
+}
+
+class Postman_Google_Service_IdentityToolkit_DeleteAccountResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_IdentityToolkit_DownloadAccountResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'users';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $nextPageToken;
+ protected $usersType = 'Postman_Google_Service_IdentityToolkit_UserInfo';
+ protected $usersDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setUsers($users)
+ {
+ $this->users = $users;
+ }
+ public function getUsers()
+ {
+ return $this->users;
+ }
+}
+
+class Postman_Google_Service_IdentityToolkit_GetAccountInfoResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'users';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $usersType = 'Postman_Google_Service_IdentityToolkit_UserInfo';
+ protected $usersDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUsers($users)
+ {
+ $this->users = $users;
+ }
+ public function getUsers()
+ {
+ return $this->users;
+ }
+}
+
+class Postman_Google_Service_IdentityToolkit_GetOobConfirmationCodeResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $oobCode;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOobCode($oobCode)
+ {
+ $this->oobCode = $oobCode;
+ }
+ public function getOobCode()
+ {
+ return $this->oobCode;
+ }
+}
+
+class Postman_Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyCreateAuthUriRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $appId;
+ public $clientId;
+ public $context;
+ public $continueUri;
+ public $identifier;
+ public $openidRealm;
+ public $otaApp;
+ public $providerId;
+
+
+ public function setAppId($appId)
+ {
+ $this->appId = $appId;
+ }
+ public function getAppId()
+ {
+ return $this->appId;
+ }
+ public function setClientId($clientId)
+ {
+ $this->clientId = $clientId;
+ }
+ public function getClientId()
+ {
+ return $this->clientId;
+ }
+ public function setContext($context)
+ {
+ $this->context = $context;
+ }
+ public function getContext()
+ {
+ return $this->context;
+ }
+ public function setContinueUri($continueUri)
+ {
+ $this->continueUri = $continueUri;
+ }
+ public function getContinueUri()
+ {
+ return $this->continueUri;
+ }
+ public function setIdentifier($identifier)
+ {
+ $this->identifier = $identifier;
+ }
+ public function getIdentifier()
+ {
+ return $this->identifier;
+ }
+ public function setOpenidRealm($openidRealm)
+ {
+ $this->openidRealm = $openidRealm;
+ }
+ public function getOpenidRealm()
+ {
+ return $this->openidRealm;
+ }
+ public function setOtaApp($otaApp)
+ {
+ $this->otaApp = $otaApp;
+ }
+ public function getOtaApp()
+ {
+ return $this->otaApp;
+ }
+ public function setProviderId($providerId)
+ {
+ $this->providerId = $providerId;
+ }
+ public function getProviderId()
+ {
+ return $this->providerId;
+ }
+}
+
+class Postman_Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDeleteAccountRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $localId;
+
+
+ public function setLocalId($localId)
+ {
+ $this->localId = $localId;
+ }
+ public function getLocalId()
+ {
+ return $this->localId;
+ }
+}
+
+class Postman_Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDownloadAccountRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $maxResults;
+ public $nextPageToken;
+
+
+ public function setMaxResults($maxResults)
+ {
+ $this->maxResults = $maxResults;
+ }
+ public function getMaxResults()
+ {
+ return $this->maxResults;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetAccountInfoRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'localId';
+ protected $internal_gapi_mappings = array(
+ );
+ public $email;
+ public $idToken;
+ public $localId;
+
+
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setIdToken($idToken)
+ {
+ $this->idToken = $idToken;
+ }
+ public function getIdToken()
+ {
+ return $this->idToken;
+ }
+ public function setLocalId($localId)
+ {
+ $this->localId = $localId;
+ }
+ public function getLocalId()
+ {
+ return $this->localId;
+ }
+}
+
+class Postman_Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetPublicKeysResponse extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyResetPasswordRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $email;
+ public $newPassword;
+ public $oldPassword;
+ public $oobCode;
+
+
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setNewPassword($newPassword)
+ {
+ $this->newPassword = $newPassword;
+ }
+ public function getNewPassword()
+ {
+ return $this->newPassword;
+ }
+ public function setOldPassword($oldPassword)
+ {
+ $this->oldPassword = $oldPassword;
+ }
+ public function getOldPassword()
+ {
+ return $this->oldPassword;
+ }
+ public function setOobCode($oobCode)
+ {
+ $this->oobCode = $oobCode;
+ }
+ public function getOobCode()
+ {
+ return $this->oobCode;
+ }
+}
+
+class Postman_Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetAccountInfoRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'provider';
+ protected $internal_gapi_mappings = array(
+ );
+ public $captchaChallenge;
+ public $captchaResponse;
+ public $displayName;
+ public $email;
+ public $emailVerified;
+ public $idToken;
+ public $localId;
+ public $oobCode;
+ public $password;
+ public $provider;
+ public $upgradeToFederatedLogin;
+
+
+ public function setCaptchaChallenge($captchaChallenge)
+ {
+ $this->captchaChallenge = $captchaChallenge;
+ }
+ public function getCaptchaChallenge()
+ {
+ return $this->captchaChallenge;
+ }
+ public function setCaptchaResponse($captchaResponse)
+ {
+ $this->captchaResponse = $captchaResponse;
+ }
+ public function getCaptchaResponse()
+ {
+ return $this->captchaResponse;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setEmailVerified($emailVerified)
+ {
+ $this->emailVerified = $emailVerified;
+ }
+ public function getEmailVerified()
+ {
+ return $this->emailVerified;
+ }
+ public function setIdToken($idToken)
+ {
+ $this->idToken = $idToken;
+ }
+ public function getIdToken()
+ {
+ return $this->idToken;
+ }
+ public function setLocalId($localId)
+ {
+ $this->localId = $localId;
+ }
+ public function getLocalId()
+ {
+ return $this->localId;
+ }
+ public function setOobCode($oobCode)
+ {
+ $this->oobCode = $oobCode;
+ }
+ public function getOobCode()
+ {
+ return $this->oobCode;
+ }
+ public function setPassword($password)
+ {
+ $this->password = $password;
+ }
+ public function getPassword()
+ {
+ return $this->password;
+ }
+ public function setProvider($provider)
+ {
+ $this->provider = $provider;
+ }
+ public function getProvider()
+ {
+ return $this->provider;
+ }
+ public function setUpgradeToFederatedLogin($upgradeToFederatedLogin)
+ {
+ $this->upgradeToFederatedLogin = $upgradeToFederatedLogin;
+ }
+ public function getUpgradeToFederatedLogin()
+ {
+ return $this->upgradeToFederatedLogin;
+ }
+}
+
+class Postman_Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyUploadAccountRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'users';
+ protected $internal_gapi_mappings = array(
+ );
+ public $hashAlgorithm;
+ public $memoryCost;
+ public $rounds;
+ public $saltSeparator;
+ public $signerKey;
+ protected $usersType = 'Postman_Google_Service_IdentityToolkit_UserInfo';
+ protected $usersDataType = 'array';
+
+
+ public function setHashAlgorithm($hashAlgorithm)
+ {
+ $this->hashAlgorithm = $hashAlgorithm;
+ }
+ public function getHashAlgorithm()
+ {
+ return $this->hashAlgorithm;
+ }
+ public function setMemoryCost($memoryCost)
+ {
+ $this->memoryCost = $memoryCost;
+ }
+ public function getMemoryCost()
+ {
+ return $this->memoryCost;
+ }
+ public function setRounds($rounds)
+ {
+ $this->rounds = $rounds;
+ }
+ public function getRounds()
+ {
+ return $this->rounds;
+ }
+ public function setSaltSeparator($saltSeparator)
+ {
+ $this->saltSeparator = $saltSeparator;
+ }
+ public function getSaltSeparator()
+ {
+ return $this->saltSeparator;
+ }
+ public function setSignerKey($signerKey)
+ {
+ $this->signerKey = $signerKey;
+ }
+ public function getSignerKey()
+ {
+ return $this->signerKey;
+ }
+ public function setUsers($users)
+ {
+ $this->users = $users;
+ }
+ public function getUsers()
+ {
+ return $this->users;
+ }
+}
+
+class Postman_Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyAssertionRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $pendingIdToken;
+ public $postBody;
+ public $requestUri;
+
+
+ public function setPendingIdToken($pendingIdToken)
+ {
+ $this->pendingIdToken = $pendingIdToken;
+ }
+ public function getPendingIdToken()
+ {
+ return $this->pendingIdToken;
+ }
+ public function setPostBody($postBody)
+ {
+ $this->postBody = $postBody;
+ }
+ public function getPostBody()
+ {
+ return $this->postBody;
+ }
+ public function setRequestUri($requestUri)
+ {
+ $this->requestUri = $requestUri;
+ }
+ public function getRequestUri()
+ {
+ return $this->requestUri;
+ }
+}
+
+class Postman_Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyPasswordRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $captchaChallenge;
+ public $captchaResponse;
+ public $email;
+ public $password;
+ public $pendingIdToken;
+
+
+ public function setCaptchaChallenge($captchaChallenge)
+ {
+ $this->captchaChallenge = $captchaChallenge;
+ }
+ public function getCaptchaChallenge()
+ {
+ return $this->captchaChallenge;
+ }
+ public function setCaptchaResponse($captchaResponse)
+ {
+ $this->captchaResponse = $captchaResponse;
+ }
+ public function getCaptchaResponse()
+ {
+ return $this->captchaResponse;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setPassword($password)
+ {
+ $this->password = $password;
+ }
+ public function getPassword()
+ {
+ return $this->password;
+ }
+ public function setPendingIdToken($pendingIdToken)
+ {
+ $this->pendingIdToken = $pendingIdToken;
+ }
+ public function getPendingIdToken()
+ {
+ return $this->pendingIdToken;
+ }
+}
+
+class Postman_Google_Service_IdentityToolkit_Relyingparty extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $captchaResp;
+ public $challenge;
+ public $email;
+ public $idToken;
+ public $kind;
+ public $newEmail;
+ public $requestType;
+ public $userIp;
+
+
+ public function setCaptchaResp($captchaResp)
+ {
+ $this->captchaResp = $captchaResp;
+ }
+ public function getCaptchaResp()
+ {
+ return $this->captchaResp;
+ }
+ public function setChallenge($challenge)
+ {
+ $this->challenge = $challenge;
+ }
+ public function getChallenge()
+ {
+ return $this->challenge;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setIdToken($idToken)
+ {
+ $this->idToken = $idToken;
+ }
+ public function getIdToken()
+ {
+ return $this->idToken;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNewEmail($newEmail)
+ {
+ $this->newEmail = $newEmail;
+ }
+ public function getNewEmail()
+ {
+ return $this->newEmail;
+ }
+ public function setRequestType($requestType)
+ {
+ $this->requestType = $requestType;
+ }
+ public function getRequestType()
+ {
+ return $this->requestType;
+ }
+ public function setUserIp($userIp)
+ {
+ $this->userIp = $userIp;
+ }
+ public function getUserIp()
+ {
+ return $this->userIp;
+ }
+}
+
+class Postman_Google_Service_IdentityToolkit_ResetPasswordResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $email;
+ public $kind;
+
+
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_IdentityToolkit_SetAccountInfoResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'providerUserInfo';
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+ public $email;
+ public $idToken;
+ public $kind;
+ protected $providerUserInfoType = 'Postman_Google_Service_IdentityToolkit_SetAccountInfoResponseProviderUserInfo';
+ protected $providerUserInfoDataType = 'array';
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setIdToken($idToken)
+ {
+ $this->idToken = $idToken;
+ }
+ public function getIdToken()
+ {
+ return $this->idToken;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setProviderUserInfo($providerUserInfo)
+ {
+ $this->providerUserInfo = $providerUserInfo;
+ }
+ public function getProviderUserInfo()
+ {
+ return $this->providerUserInfo;
+ }
+}
+
+class Postman_Google_Service_IdentityToolkit_SetAccountInfoResponseProviderUserInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+ public $photoUrl;
+ public $providerId;
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setPhotoUrl($photoUrl)
+ {
+ $this->photoUrl = $photoUrl;
+ }
+ public function getPhotoUrl()
+ {
+ return $this->photoUrl;
+ }
+ public function setProviderId($providerId)
+ {
+ $this->providerId = $providerId;
+ }
+ public function getProviderId()
+ {
+ return $this->providerId;
+ }
+}
+
+class Postman_Google_Service_IdentityToolkit_UploadAccountResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'error';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $errorType = 'Postman_Google_Service_IdentityToolkit_UploadAccountResponseError';
+ protected $errorDataType = 'array';
+ public $kind;
+
+
+ public function setError($error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_IdentityToolkit_UploadAccountResponseError extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $index;
+ public $message;
+
+
+ public function setIndex($index)
+ {
+ $this->index = $index;
+ }
+ public function getIndex()
+ {
+ return $this->index;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Postman_Google_Service_IdentityToolkit_UserInfo extends Postman_Google_Collection
+{
+ protected $collection_key = 'providerUserInfo';
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+ public $email;
+ public $emailVerified;
+ public $localId;
+ public $passwordHash;
+ public $passwordUpdatedAt;
+ public $photoUrl;
+ protected $providerUserInfoType = 'Postman_Google_Service_IdentityToolkit_UserInfoProviderUserInfo';
+ protected $providerUserInfoDataType = 'array';
+ public $salt;
+ public $version;
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setEmailVerified($emailVerified)
+ {
+ $this->emailVerified = $emailVerified;
+ }
+ public function getEmailVerified()
+ {
+ return $this->emailVerified;
+ }
+ public function setLocalId($localId)
+ {
+ $this->localId = $localId;
+ }
+ public function getLocalId()
+ {
+ return $this->localId;
+ }
+ public function setPasswordHash($passwordHash)
+ {
+ $this->passwordHash = $passwordHash;
+ }
+ public function getPasswordHash()
+ {
+ return $this->passwordHash;
+ }
+ public function setPasswordUpdatedAt($passwordUpdatedAt)
+ {
+ $this->passwordUpdatedAt = $passwordUpdatedAt;
+ }
+ public function getPasswordUpdatedAt()
+ {
+ return $this->passwordUpdatedAt;
+ }
+ public function setPhotoUrl($photoUrl)
+ {
+ $this->photoUrl = $photoUrl;
+ }
+ public function getPhotoUrl()
+ {
+ return $this->photoUrl;
+ }
+ public function setProviderUserInfo($providerUserInfo)
+ {
+ $this->providerUserInfo = $providerUserInfo;
+ }
+ public function getProviderUserInfo()
+ {
+ return $this->providerUserInfo;
+ }
+ public function setSalt($salt)
+ {
+ $this->salt = $salt;
+ }
+ public function getSalt()
+ {
+ return $this->salt;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Postman_Google_Service_IdentityToolkit_UserInfoProviderUserInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+ public $federatedId;
+ public $photoUrl;
+ public $providerId;
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setFederatedId($federatedId)
+ {
+ $this->federatedId = $federatedId;
+ }
+ public function getFederatedId()
+ {
+ return $this->federatedId;
+ }
+ public function setPhotoUrl($photoUrl)
+ {
+ $this->photoUrl = $photoUrl;
+ }
+ public function getPhotoUrl()
+ {
+ return $this->photoUrl;
+ }
+ public function setProviderId($providerId)
+ {
+ $this->providerId = $providerId;
+ }
+ public function getProviderId()
+ {
+ return $this->providerId;
+ }
+}
+
+class Postman_Google_Service_IdentityToolkit_VerifyAssertionResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'verifiedProvider';
+ protected $internal_gapi_mappings = array(
+ );
+ public $action;
+ public $appInstallationUrl;
+ public $appScheme;
+ public $context;
+ public $dateOfBirth;
+ public $displayName;
+ public $email;
+ public $emailRecycled;
+ public $emailVerified;
+ public $federatedId;
+ public $firstName;
+ public $fullName;
+ public $idToken;
+ public $inputEmail;
+ public $kind;
+ public $language;
+ public $lastName;
+ public $localId;
+ public $needConfirmation;
+ public $nickName;
+ public $oauthRequestToken;
+ public $oauthScope;
+ public $originalEmail;
+ public $photoUrl;
+ public $providerId;
+ public $timeZone;
+ public $verifiedProvider;
+
+
+ public function setAction($action)
+ {
+ $this->action = $action;
+ }
+ public function getAction()
+ {
+ return $this->action;
+ }
+ public function setAppInstallationUrl($appInstallationUrl)
+ {
+ $this->appInstallationUrl = $appInstallationUrl;
+ }
+ public function getAppInstallationUrl()
+ {
+ return $this->appInstallationUrl;
+ }
+ public function setAppScheme($appScheme)
+ {
+ $this->appScheme = $appScheme;
+ }
+ public function getAppScheme()
+ {
+ return $this->appScheme;
+ }
+ public function setContext($context)
+ {
+ $this->context = $context;
+ }
+ public function getContext()
+ {
+ return $this->context;
+ }
+ public function setDateOfBirth($dateOfBirth)
+ {
+ $this->dateOfBirth = $dateOfBirth;
+ }
+ public function getDateOfBirth()
+ {
+ return $this->dateOfBirth;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setEmailRecycled($emailRecycled)
+ {
+ $this->emailRecycled = $emailRecycled;
+ }
+ public function getEmailRecycled()
+ {
+ return $this->emailRecycled;
+ }
+ public function setEmailVerified($emailVerified)
+ {
+ $this->emailVerified = $emailVerified;
+ }
+ public function getEmailVerified()
+ {
+ return $this->emailVerified;
+ }
+ public function setFederatedId($federatedId)
+ {
+ $this->federatedId = $federatedId;
+ }
+ public function getFederatedId()
+ {
+ return $this->federatedId;
+ }
+ public function setFirstName($firstName)
+ {
+ $this->firstName = $firstName;
+ }
+ public function getFirstName()
+ {
+ return $this->firstName;
+ }
+ public function setFullName($fullName)
+ {
+ $this->fullName = $fullName;
+ }
+ public function getFullName()
+ {
+ return $this->fullName;
+ }
+ public function setIdToken($idToken)
+ {
+ $this->idToken = $idToken;
+ }
+ public function getIdToken()
+ {
+ return $this->idToken;
+ }
+ public function setInputEmail($inputEmail)
+ {
+ $this->inputEmail = $inputEmail;
+ }
+ public function getInputEmail()
+ {
+ return $this->inputEmail;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setLastName($lastName)
+ {
+ $this->lastName = $lastName;
+ }
+ public function getLastName()
+ {
+ return $this->lastName;
+ }
+ public function setLocalId($localId)
+ {
+ $this->localId = $localId;
+ }
+ public function getLocalId()
+ {
+ return $this->localId;
+ }
+ public function setNeedConfirmation($needConfirmation)
+ {
+ $this->needConfirmation = $needConfirmation;
+ }
+ public function getNeedConfirmation()
+ {
+ return $this->needConfirmation;
+ }
+ public function setNickName($nickName)
+ {
+ $this->nickName = $nickName;
+ }
+ public function getNickName()
+ {
+ return $this->nickName;
+ }
+ public function setOauthRequestToken($oauthRequestToken)
+ {
+ $this->oauthRequestToken = $oauthRequestToken;
+ }
+ public function getOauthRequestToken()
+ {
+ return $this->oauthRequestToken;
+ }
+ public function setOauthScope($oauthScope)
+ {
+ $this->oauthScope = $oauthScope;
+ }
+ public function getOauthScope()
+ {
+ return $this->oauthScope;
+ }
+ public function setOriginalEmail($originalEmail)
+ {
+ $this->originalEmail = $originalEmail;
+ }
+ public function getOriginalEmail()
+ {
+ return $this->originalEmail;
+ }
+ public function setPhotoUrl($photoUrl)
+ {
+ $this->photoUrl = $photoUrl;
+ }
+ public function getPhotoUrl()
+ {
+ return $this->photoUrl;
+ }
+ public function setProviderId($providerId)
+ {
+ $this->providerId = $providerId;
+ }
+ public function getProviderId()
+ {
+ return $this->providerId;
+ }
+ public function setTimeZone($timeZone)
+ {
+ $this->timeZone = $timeZone;
+ }
+ public function getTimeZone()
+ {
+ return $this->timeZone;
+ }
+ public function setVerifiedProvider($verifiedProvider)
+ {
+ $this->verifiedProvider = $verifiedProvider;
+ }
+ public function getVerifiedProvider()
+ {
+ return $this->verifiedProvider;
+ }
+}
+
+class Postman_Google_Service_IdentityToolkit_VerifyPasswordResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+ public $email;
+ public $idToken;
+ public $kind;
+ public $localId;
+ public $photoUrl;
+ public $registered;
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setIdToken($idToken)
+ {
+ $this->idToken = $idToken;
+ }
+ public function getIdToken()
+ {
+ return $this->idToken;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLocalId($localId)
+ {
+ $this->localId = $localId;
+ }
+ public function getLocalId()
+ {
+ return $this->localId;
+ }
+ public function setPhotoUrl($photoUrl)
+ {
+ $this->photoUrl = $photoUrl;
+ }
+ public function getPhotoUrl()
+ {
+ return $this->photoUrl;
+ }
+ public function setRegistered($registered)
+ {
+ $this->registered = $registered;
+ }
+ public function getRegistered()
+ {
+ return $this->registered;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Licensing.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Licensing.php
new file mode 100644
index 0000000..37dd6c7
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Licensing.php
@@ -0,0 +1,476 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Licensing (v1).
+ *
+ * <p>
+ * Licensing API to view and manage license for your domain.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/google-apps/licensing/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Licensing extends Postman_Google_Service
+{
+
+
+ public $licenseAssignments;
+
+
+ /**
+ * Constructs the internal representation of the Licensing service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'apps/licensing/v1/product/';
+ $this->version = 'v1';
+ $this->serviceName = 'licensing';
+
+ $this->licenseAssignments = new Postman_Google_Service_Licensing_LicenseAssignments_Resource(
+ $this,
+ $this->serviceName,
+ 'licenseAssignments',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{productId}/sku/{skuId}/user/{userId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'skuId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{productId}/sku/{skuId}/user/{userId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'skuId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{productId}/sku/{skuId}/user',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'skuId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'listForProduct' => array(
+ 'path' => '{productId}/users',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customerId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'listForProductAndSku' => array(
+ 'path' => '{productId}/sku/{skuId}/users',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'skuId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customerId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{productId}/sku/{skuId}/user/{userId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'skuId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{productId}/sku/{skuId}/user/{userId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'skuId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "licenseAssignments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $licensingService = new Postman_Google_Service_Licensing(...);
+ * $licenseAssignments = $licensingService->licenseAssignments;
+ * </code>
+ */
+class Postman_Google_Service_Licensing_LicenseAssignments_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Revoke License. (licenseAssignments.delete)
+ *
+ * @param string $productId Name for product
+ * @param string $skuId Name for sku
+ * @param string $userId email id or unique Id of the user
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($productId, $skuId, $userId, $optParams = array())
+ {
+ $params = array('productId' => $productId, 'skuId' => $skuId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Get license assignment of a particular product and sku for a user
+ * (licenseAssignments.get)
+ *
+ * @param string $productId Name for product
+ * @param string $skuId Name for sku
+ * @param string $userId email id or unique Id of the user
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Licensing_LicenseAssignment
+ */
+ public function get($productId, $skuId, $userId, $optParams = array())
+ {
+ $params = array('productId' => $productId, 'skuId' => $skuId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Licensing_LicenseAssignment");
+ }
+
+ /**
+ * Assign License. (licenseAssignments.insert)
+ *
+ * @param string $productId Name for product
+ * @param string $skuId Name for sku
+ * @param Postman_Google_LicenseAssignmentInsert $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Licensing_LicenseAssignment
+ */
+ public function insert($productId, $skuId, Postman_Google_Service_Licensing_LicenseAssignmentInsert $postBody, $optParams = array())
+ {
+ $params = array('productId' => $productId, 'skuId' => $skuId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Licensing_LicenseAssignment");
+ }
+
+ /**
+ * List license assignments for given product of the customer.
+ * (licenseAssignments.listForProduct)
+ *
+ * @param string $productId Name for product
+ * @param string $customerId CustomerId represents the customer for whom
+ * licenseassignments are queried
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Token to fetch the next page.Optional. By default
+ * server will return first page
+ * @opt_param string maxResults Maximum number of campaigns to return at one
+ * time. Must be positive. Optional. Default value is 100.
+ * @return Postman_Google_Service_Licensing_LicenseAssignmentList
+ */
+ public function listForProduct($productId, $customerId, $optParams = array())
+ {
+ $params = array('productId' => $productId, 'customerId' => $customerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('listForProduct', array($params), "Postman_Google_Service_Licensing_LicenseAssignmentList");
+ }
+
+ /**
+ * List license assignments for given product and sku of the customer.
+ * (licenseAssignments.listForProductAndSku)
+ *
+ * @param string $productId Name for product
+ * @param string $skuId Name for sku
+ * @param string $customerId CustomerId represents the customer for whom
+ * licenseassignments are queried
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Token to fetch the next page.Optional. By default
+ * server will return first page
+ * @opt_param string maxResults Maximum number of campaigns to return at one
+ * time. Must be positive. Optional. Default value is 100.
+ * @return Postman_Google_Service_Licensing_LicenseAssignmentList
+ */
+ public function listForProductAndSku($productId, $skuId, $customerId, $optParams = array())
+ {
+ $params = array('productId' => $productId, 'skuId' => $skuId, 'customerId' => $customerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('listForProductAndSku', array($params), "Postman_Google_Service_Licensing_LicenseAssignmentList");
+ }
+
+ /**
+ * Assign License. This method supports patch semantics.
+ * (licenseAssignments.patch)
+ *
+ * @param string $productId Name for product
+ * @param string $skuId Name for sku for which license would be revoked
+ * @param string $userId email id or unique Id of the user
+ * @param Postman_Google_LicenseAssignment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Licensing_LicenseAssignment
+ */
+ public function patch($productId, $skuId, $userId, Postman_Google_Service_Licensing_LicenseAssignment $postBody, $optParams = array())
+ {
+ $params = array('productId' => $productId, 'skuId' => $skuId, 'userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Licensing_LicenseAssignment");
+ }
+
+ /**
+ * Assign License. (licenseAssignments.update)
+ *
+ * @param string $productId Name for product
+ * @param string $skuId Name for sku for which license would be revoked
+ * @param string $userId email id or unique Id of the user
+ * @param Postman_Google_LicenseAssignment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Licensing_LicenseAssignment
+ */
+ public function update($productId, $skuId, $userId, Postman_Google_Service_Licensing_LicenseAssignment $postBody, $optParams = array())
+ {
+ $params = array('productId' => $productId, 'skuId' => $skuId, 'userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Licensing_LicenseAssignment");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Licensing_LicenseAssignment extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $etags;
+ public $kind;
+ public $productId;
+ public $selfLink;
+ public $skuId;
+ public $userId;
+
+
+ public function setEtags($etags)
+ {
+ $this->etags = $etags;
+ }
+ public function getEtags()
+ {
+ return $this->etags;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setSkuId($skuId)
+ {
+ $this->skuId = $skuId;
+ }
+ public function getSkuId()
+ {
+ return $this->skuId;
+ }
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+ }
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+}
+
+class Postman_Google_Service_Licensing_LicenseAssignmentInsert extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $userId;
+
+
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+ }
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+}
+
+class Postman_Google_Service_Licensing_LicenseAssignmentList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Licensing_LicenseAssignment';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Manager.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Manager.php
new file mode 100644
index 0000000..6942628
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Manager.php
@@ -0,0 +1,1857 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Manager (v1beta2).
+ *
+ * <p>
+ * The Deployment Manager API allows users to declaratively configure, deploy
+ * and run complex solutions on the Google Cloud Platform.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/deployment-manager/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Manager extends Postman_Google_Service
+{
+ /** View and manage your applications deployed on Google App Engine. */
+ const APPENGINE_ADMIN =
+ "https://www.googleapis.com/auth/appengine.admin";
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View and manage your Google Compute Engine resources. */
+ const COMPUTE =
+ "https://www.googleapis.com/auth/compute";
+ /** Manage your data in Google Cloud Storage. */
+ const DEVSTORAGE_READ_WRITE =
+ "https://www.googleapis.com/auth/devstorage.read_write";
+ /** View and manage your Google Cloud Platform management resources and deployment status information. */
+ const NDEV_CLOUDMAN =
+ "https://www.googleapis.com/auth/ndev.cloudman";
+ /** View your Google Cloud Platform management resources and deployment status information. */
+ const NDEV_CLOUDMAN_READONLY =
+ "https://www.googleapis.com/auth/ndev.cloudman.readonly";
+
+ public $deployments;
+ public $templates;
+
+
+ /**
+ * Constructs the internal representation of the Manager service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'manager/v1beta2/projects/';
+ $this->version = 'v1beta2';
+ $this->serviceName = 'manager';
+
+ $this->deployments = new Postman_Google_Service_Manager_Deployments_Resource(
+ $this,
+ $this->serviceName,
+ 'deployments',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{projectId}/regions/{region}/deployments/{deploymentName}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deploymentName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{projectId}/regions/{region}/deployments/{deploymentName}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deploymentName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{projectId}/regions/{region}/deployments',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{projectId}/regions/{region}/deployments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'region' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->templates = new Postman_Google_Service_Manager_Templates_Resource(
+ $this,
+ $this->serviceName,
+ 'templates',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{projectId}/templates/{templateName}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'templateName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{projectId}/templates/{templateName}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'templateName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{projectId}/templates',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{projectId}/templates',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "deployments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $managerService = new Postman_Google_Service_Manager(...);
+ * $deployments = $managerService->deployments;
+ * </code>
+ */
+class Postman_Google_Service_Manager_Deployments_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * (deployments.delete)
+ *
+ * @param string $projectId
+ * @param string $region
+ * @param string $deploymentName
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($projectId, $region, $deploymentName, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region, 'deploymentName' => $deploymentName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * (deployments.get)
+ *
+ * @param string $projectId
+ * @param string $region
+ * @param string $deploymentName
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Manager_Deployment
+ */
+ public function get($projectId, $region, $deploymentName, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region, 'deploymentName' => $deploymentName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Manager_Deployment");
+ }
+
+ /**
+ * (deployments.insert)
+ *
+ * @param string $projectId
+ * @param string $region
+ * @param Postman_Google_Deployment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Manager_Deployment
+ */
+ public function insert($projectId, $region, Postman_Google_Service_Manager_Deployment $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Manager_Deployment");
+ }
+
+ /**
+ * (deployments.listDeployments)
+ *
+ * @param string $projectId
+ * @param string $region
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Specifies a nextPageToken returned by a previous
+ * list request. This token can be used to request the next page of results from
+ * a previous list request.
+ * @opt_param int maxResults Maximum count of results to be returned. Acceptable
+ * values are 0 to 100, inclusive. (Default: 50)
+ * @return Postman_Google_Service_Manager_DeploymentsListResponse
+ */
+ public function listDeployments($projectId, $region, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Manager_DeploymentsListResponse");
+ }
+}
+
+/**
+ * The "templates" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $managerService = new Postman_Google_Service_Manager(...);
+ * $templates = $managerService->templates;
+ * </code>
+ */
+class Postman_Google_Service_Manager_Templates_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * (templates.delete)
+ *
+ * @param string $projectId
+ * @param string $templateName
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($projectId, $templateName, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'templateName' => $templateName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * (templates.get)
+ *
+ * @param string $projectId
+ * @param string $templateName
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Manager_Template
+ */
+ public function get($projectId, $templateName, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'templateName' => $templateName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Manager_Template");
+ }
+
+ /**
+ * (templates.insert)
+ *
+ * @param string $projectId
+ * @param Postman_Google_Template $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Manager_Template
+ */
+ public function insert($projectId, Postman_Google_Service_Manager_Template $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Manager_Template");
+ }
+
+ /**
+ * (templates.listTemplates)
+ *
+ * @param string $projectId
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Specifies a nextPageToken returned by a previous
+ * list request. This token can be used to request the next page of results from
+ * a previous list request.
+ * @opt_param int maxResults Maximum count of results to be returned. Acceptable
+ * values are 0 to 100, inclusive. (Default: 50)
+ * @return Postman_Google_Service_Manager_TemplatesListResponse
+ */
+ public function listTemplates($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Manager_TemplatesListResponse");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Manager_AccessConfig extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+ public $natIp;
+ public $type;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNatIp($natIp)
+ {
+ $this->natIp = $natIp;
+ }
+ public function getNatIp()
+ {
+ return $this->natIp;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Manager_Action extends Postman_Google_Collection
+{
+ protected $collection_key = 'commands';
+ protected $internal_gapi_mappings = array(
+ );
+ public $commands;
+ public $timeoutMs;
+
+
+ public function setCommands($commands)
+ {
+ $this->commands = $commands;
+ }
+ public function getCommands()
+ {
+ return $this->commands;
+ }
+ public function setTimeoutMs($timeoutMs)
+ {
+ $this->timeoutMs = $timeoutMs;
+ }
+ public function getTimeoutMs()
+ {
+ return $this->timeoutMs;
+ }
+}
+
+class Postman_Google_Service_Manager_AllowedRule extends Postman_Google_Collection
+{
+ protected $collection_key = 'ports';
+ protected $internal_gapi_mappings = array(
+ "iPProtocol" => "IPProtocol",
+ );
+ public $iPProtocol;
+ public $ports;
+
+
+ public function setIPProtocol($iPProtocol)
+ {
+ $this->iPProtocol = $iPProtocol;
+ }
+ public function getIPProtocol()
+ {
+ return $this->iPProtocol;
+ }
+ public function setPorts($ports)
+ {
+ $this->ports = $ports;
+ }
+ public function getPorts()
+ {
+ return $this->ports;
+ }
+}
+
+class Postman_Google_Service_Manager_AutoscalingModule extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $coolDownPeriodSec;
+ public $description;
+ public $maxNumReplicas;
+ public $minNumReplicas;
+ public $signalType;
+ public $targetModule;
+ public $targetUtilization;
+
+
+ public function setCoolDownPeriodSec($coolDownPeriodSec)
+ {
+ $this->coolDownPeriodSec = $coolDownPeriodSec;
+ }
+ public function getCoolDownPeriodSec()
+ {
+ return $this->coolDownPeriodSec;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setMaxNumReplicas($maxNumReplicas)
+ {
+ $this->maxNumReplicas = $maxNumReplicas;
+ }
+ public function getMaxNumReplicas()
+ {
+ return $this->maxNumReplicas;
+ }
+ public function setMinNumReplicas($minNumReplicas)
+ {
+ $this->minNumReplicas = $minNumReplicas;
+ }
+ public function getMinNumReplicas()
+ {
+ return $this->minNumReplicas;
+ }
+ public function setSignalType($signalType)
+ {
+ $this->signalType = $signalType;
+ }
+ public function getSignalType()
+ {
+ return $this->signalType;
+ }
+ public function setTargetModule($targetModule)
+ {
+ $this->targetModule = $targetModule;
+ }
+ public function getTargetModule()
+ {
+ return $this->targetModule;
+ }
+ public function setTargetUtilization($targetUtilization)
+ {
+ $this->targetUtilization = $targetUtilization;
+ }
+ public function getTargetUtilization()
+ {
+ return $this->targetUtilization;
+ }
+}
+
+class Postman_Google_Service_Manager_AutoscalingModuleStatus extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $autoscalingConfigUrl;
+
+
+ public function setAutoscalingConfigUrl($autoscalingConfigUrl)
+ {
+ $this->autoscalingConfigUrl = $autoscalingConfigUrl;
+ }
+ public function getAutoscalingConfigUrl()
+ {
+ return $this->autoscalingConfigUrl;
+ }
+}
+
+class Postman_Google_Service_Manager_DeployState extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $details;
+ public $status;
+
+
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Postman_Google_Service_Manager_Deployment extends Postman_Google_Collection
+{
+ protected $collection_key = 'overrides';
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationDate;
+ public $description;
+ protected $modulesType = 'Postman_Google_Service_Manager_ModuleStatus';
+ protected $modulesDataType = 'map';
+ public $name;
+ protected $overridesType = 'Postman_Google_Service_Manager_ParamOverride';
+ protected $overridesDataType = 'array';
+ protected $stateType = 'Postman_Google_Service_Manager_DeployState';
+ protected $stateDataType = '';
+ public $templateName;
+
+
+ public function setCreationDate($creationDate)
+ {
+ $this->creationDate = $creationDate;
+ }
+ public function getCreationDate()
+ {
+ return $this->creationDate;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setModules($modules)
+ {
+ $this->modules = $modules;
+ }
+ public function getModules()
+ {
+ return $this->modules;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOverrides($overrides)
+ {
+ $this->overrides = $overrides;
+ }
+ public function getOverrides()
+ {
+ return $this->overrides;
+ }
+ public function setState(Postman_Google_Service_Manager_DeployState $state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setTemplateName($templateName)
+ {
+ $this->templateName = $templateName;
+ }
+ public function getTemplateName()
+ {
+ return $this->templateName;
+ }
+}
+
+class Postman_Google_Service_Manager_DeploymentModules extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Manager_DeploymentsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'resources';
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ protected $resourcesType = 'Postman_Google_Service_Manager_Deployment';
+ protected $resourcesDataType = 'array';
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Postman_Google_Service_Manager_DiskAttachment extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $deviceName;
+ public $index;
+
+
+ public function setDeviceName($deviceName)
+ {
+ $this->deviceName = $deviceName;
+ }
+ public function getDeviceName()
+ {
+ return $this->deviceName;
+ }
+ public function setIndex($index)
+ {
+ $this->index = $index;
+ }
+ public function getIndex()
+ {
+ return $this->index;
+ }
+}
+
+class Postman_Google_Service_Manager_EnvVariable extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $hidden;
+ public $value;
+
+
+ public function setHidden($hidden)
+ {
+ $this->hidden = $hidden;
+ }
+ public function getHidden()
+ {
+ return $this->hidden;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Manager_ExistingDisk extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $attachmentType = 'Postman_Google_Service_Manager_DiskAttachment';
+ protected $attachmentDataType = '';
+ public $source;
+
+
+ public function setAttachment(Postman_Google_Service_Manager_DiskAttachment $attachment)
+ {
+ $this->attachment = $attachment;
+ }
+ public function getAttachment()
+ {
+ return $this->attachment;
+ }
+ public function setSource($source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
+
+class Postman_Google_Service_Manager_FirewallModule extends Postman_Google_Collection
+{
+ protected $collection_key = 'targetTags';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $allowedType = 'Postman_Google_Service_Manager_AllowedRule';
+ protected $allowedDataType = 'array';
+ public $description;
+ public $network;
+ public $sourceRanges;
+ public $sourceTags;
+ public $targetTags;
+
+
+ public function setAllowed($allowed)
+ {
+ $this->allowed = $allowed;
+ }
+ public function getAllowed()
+ {
+ return $this->allowed;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setNetwork($network)
+ {
+ $this->network = $network;
+ }
+ public function getNetwork()
+ {
+ return $this->network;
+ }
+ public function setSourceRanges($sourceRanges)
+ {
+ $this->sourceRanges = $sourceRanges;
+ }
+ public function getSourceRanges()
+ {
+ return $this->sourceRanges;
+ }
+ public function setSourceTags($sourceTags)
+ {
+ $this->sourceTags = $sourceTags;
+ }
+ public function getSourceTags()
+ {
+ return $this->sourceTags;
+ }
+ public function setTargetTags($targetTags)
+ {
+ $this->targetTags = $targetTags;
+ }
+ public function getTargetTags()
+ {
+ return $this->targetTags;
+ }
+}
+
+class Postman_Google_Service_Manager_FirewallModuleStatus extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $firewallUrl;
+
+
+ public function setFirewallUrl($firewallUrl)
+ {
+ $this->firewallUrl = $firewallUrl;
+ }
+ public function getFirewallUrl()
+ {
+ return $this->firewallUrl;
+ }
+}
+
+class Postman_Google_Service_Manager_HealthCheckModule extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $checkIntervalSec;
+ public $description;
+ public $healthyThreshold;
+ public $host;
+ public $path;
+ public $port;
+ public $timeoutSec;
+ public $unhealthyThreshold;
+
+
+ public function setCheckIntervalSec($checkIntervalSec)
+ {
+ $this->checkIntervalSec = $checkIntervalSec;
+ }
+ public function getCheckIntervalSec()
+ {
+ return $this->checkIntervalSec;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setHealthyThreshold($healthyThreshold)
+ {
+ $this->healthyThreshold = $healthyThreshold;
+ }
+ public function getHealthyThreshold()
+ {
+ return $this->healthyThreshold;
+ }
+ public function setHost($host)
+ {
+ $this->host = $host;
+ }
+ public function getHost()
+ {
+ return $this->host;
+ }
+ public function setPath($path)
+ {
+ $this->path = $path;
+ }
+ public function getPath()
+ {
+ return $this->path;
+ }
+ public function setPort($port)
+ {
+ $this->port = $port;
+ }
+ public function getPort()
+ {
+ return $this->port;
+ }
+ public function setTimeoutSec($timeoutSec)
+ {
+ $this->timeoutSec = $timeoutSec;
+ }
+ public function getTimeoutSec()
+ {
+ return $this->timeoutSec;
+ }
+ public function setUnhealthyThreshold($unhealthyThreshold)
+ {
+ $this->unhealthyThreshold = $unhealthyThreshold;
+ }
+ public function getUnhealthyThreshold()
+ {
+ return $this->unhealthyThreshold;
+ }
+}
+
+class Postman_Google_Service_Manager_HealthCheckModuleStatus extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $healthCheckUrl;
+
+
+ public function setHealthCheckUrl($healthCheckUrl)
+ {
+ $this->healthCheckUrl = $healthCheckUrl;
+ }
+ public function getHealthCheckUrl()
+ {
+ return $this->healthCheckUrl;
+ }
+}
+
+class Postman_Google_Service_Manager_LbModule extends Postman_Google_Collection
+{
+ protected $collection_key = 'targetModules';
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ public $healthChecks;
+ public $ipAddress;
+ public $ipProtocol;
+ public $portRange;
+ public $sessionAffinity;
+ public $targetModules;
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setHealthChecks($healthChecks)
+ {
+ $this->healthChecks = $healthChecks;
+ }
+ public function getHealthChecks()
+ {
+ return $this->healthChecks;
+ }
+ public function setIpAddress($ipAddress)
+ {
+ $this->ipAddress = $ipAddress;
+ }
+ public function getIpAddress()
+ {
+ return $this->ipAddress;
+ }
+ public function setIpProtocol($ipProtocol)
+ {
+ $this->ipProtocol = $ipProtocol;
+ }
+ public function getIpProtocol()
+ {
+ return $this->ipProtocol;
+ }
+ public function setPortRange($portRange)
+ {
+ $this->portRange = $portRange;
+ }
+ public function getPortRange()
+ {
+ return $this->portRange;
+ }
+ public function setSessionAffinity($sessionAffinity)
+ {
+ $this->sessionAffinity = $sessionAffinity;
+ }
+ public function getSessionAffinity()
+ {
+ return $this->sessionAffinity;
+ }
+ public function setTargetModules($targetModules)
+ {
+ $this->targetModules = $targetModules;
+ }
+ public function getTargetModules()
+ {
+ return $this->targetModules;
+ }
+}
+
+class Postman_Google_Service_Manager_LbModuleStatus extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $forwardingRuleUrl;
+ public $targetPoolUrl;
+
+
+ public function setForwardingRuleUrl($forwardingRuleUrl)
+ {
+ $this->forwardingRuleUrl = $forwardingRuleUrl;
+ }
+ public function getForwardingRuleUrl()
+ {
+ return $this->forwardingRuleUrl;
+ }
+ public function setTargetPoolUrl($targetPoolUrl)
+ {
+ $this->targetPoolUrl = $targetPoolUrl;
+ }
+ public function getTargetPoolUrl()
+ {
+ return $this->targetPoolUrl;
+ }
+}
+
+class Postman_Google_Service_Manager_Metadata extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $fingerPrint;
+ protected $itemsType = 'Postman_Google_Service_Manager_MetadataItem';
+ protected $itemsDataType = 'array';
+
+
+ public function setFingerPrint($fingerPrint)
+ {
+ $this->fingerPrint = $fingerPrint;
+ }
+ public function getFingerPrint()
+ {
+ return $this->fingerPrint;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+}
+
+class Postman_Google_Service_Manager_MetadataItem extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Manager_Module extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $autoscalingModuleType = 'Postman_Google_Service_Manager_AutoscalingModule';
+ protected $autoscalingModuleDataType = '';
+ protected $firewallModuleType = 'Postman_Google_Service_Manager_FirewallModule';
+ protected $firewallModuleDataType = '';
+ protected $healthCheckModuleType = 'Postman_Google_Service_Manager_HealthCheckModule';
+ protected $healthCheckModuleDataType = '';
+ protected $lbModuleType = 'Postman_Google_Service_Manager_LbModule';
+ protected $lbModuleDataType = '';
+ protected $networkModuleType = 'Postman_Google_Service_Manager_NetworkModule';
+ protected $networkModuleDataType = '';
+ protected $replicaPoolModuleType = 'Postman_Google_Service_Manager_ReplicaPoolModule';
+ protected $replicaPoolModuleDataType = '';
+ public $type;
+
+
+ public function setAutoscalingModule(Postman_Google_Service_Manager_AutoscalingModule $autoscalingModule)
+ {
+ $this->autoscalingModule = $autoscalingModule;
+ }
+ public function getAutoscalingModule()
+ {
+ return $this->autoscalingModule;
+ }
+ public function setFirewallModule(Postman_Google_Service_Manager_FirewallModule $firewallModule)
+ {
+ $this->firewallModule = $firewallModule;
+ }
+ public function getFirewallModule()
+ {
+ return $this->firewallModule;
+ }
+ public function setHealthCheckModule(Postman_Google_Service_Manager_HealthCheckModule $healthCheckModule)
+ {
+ $this->healthCheckModule = $healthCheckModule;
+ }
+ public function getHealthCheckModule()
+ {
+ return $this->healthCheckModule;
+ }
+ public function setLbModule(Postman_Google_Service_Manager_LbModule $lbModule)
+ {
+ $this->lbModule = $lbModule;
+ }
+ public function getLbModule()
+ {
+ return $this->lbModule;
+ }
+ public function setNetworkModule(Postman_Google_Service_Manager_NetworkModule $networkModule)
+ {
+ $this->networkModule = $networkModule;
+ }
+ public function getNetworkModule()
+ {
+ return $this->networkModule;
+ }
+ public function setReplicaPoolModule(Postman_Google_Service_Manager_ReplicaPoolModule $replicaPoolModule)
+ {
+ $this->replicaPoolModule = $replicaPoolModule;
+ }
+ public function getReplicaPoolModule()
+ {
+ return $this->replicaPoolModule;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Manager_ModuleStatus extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $autoscalingModuleStatusType = 'Postman_Google_Service_Manager_AutoscalingModuleStatus';
+ protected $autoscalingModuleStatusDataType = '';
+ protected $firewallModuleStatusType = 'Postman_Google_Service_Manager_FirewallModuleStatus';
+ protected $firewallModuleStatusDataType = '';
+ protected $healthCheckModuleStatusType = 'Postman_Google_Service_Manager_HealthCheckModuleStatus';
+ protected $healthCheckModuleStatusDataType = '';
+ protected $lbModuleStatusType = 'Postman_Google_Service_Manager_LbModuleStatus';
+ protected $lbModuleStatusDataType = '';
+ protected $networkModuleStatusType = 'Postman_Google_Service_Manager_NetworkModuleStatus';
+ protected $networkModuleStatusDataType = '';
+ protected $replicaPoolModuleStatusType = 'Postman_Google_Service_Manager_ReplicaPoolModuleStatus';
+ protected $replicaPoolModuleStatusDataType = '';
+ protected $stateType = 'Postman_Google_Service_Manager_DeployState';
+ protected $stateDataType = '';
+ public $type;
+
+
+ public function setAutoscalingModuleStatus(Postman_Google_Service_Manager_AutoscalingModuleStatus $autoscalingModuleStatus)
+ {
+ $this->autoscalingModuleStatus = $autoscalingModuleStatus;
+ }
+ public function getAutoscalingModuleStatus()
+ {
+ return $this->autoscalingModuleStatus;
+ }
+ public function setFirewallModuleStatus(Postman_Google_Service_Manager_FirewallModuleStatus $firewallModuleStatus)
+ {
+ $this->firewallModuleStatus = $firewallModuleStatus;
+ }
+ public function getFirewallModuleStatus()
+ {
+ return $this->firewallModuleStatus;
+ }
+ public function setHealthCheckModuleStatus(Postman_Google_Service_Manager_HealthCheckModuleStatus $healthCheckModuleStatus)
+ {
+ $this->healthCheckModuleStatus = $healthCheckModuleStatus;
+ }
+ public function getHealthCheckModuleStatus()
+ {
+ return $this->healthCheckModuleStatus;
+ }
+ public function setLbModuleStatus(Postman_Google_Service_Manager_LbModuleStatus $lbModuleStatus)
+ {
+ $this->lbModuleStatus = $lbModuleStatus;
+ }
+ public function getLbModuleStatus()
+ {
+ return $this->lbModuleStatus;
+ }
+ public function setNetworkModuleStatus(Postman_Google_Service_Manager_NetworkModuleStatus $networkModuleStatus)
+ {
+ $this->networkModuleStatus = $networkModuleStatus;
+ }
+ public function getNetworkModuleStatus()
+ {
+ return $this->networkModuleStatus;
+ }
+ public function setReplicaPoolModuleStatus(Postman_Google_Service_Manager_ReplicaPoolModuleStatus $replicaPoolModuleStatus)
+ {
+ $this->replicaPoolModuleStatus = $replicaPoolModuleStatus;
+ }
+ public function getReplicaPoolModuleStatus()
+ {
+ return $this->replicaPoolModuleStatus;
+ }
+ public function setState(Postman_Google_Service_Manager_DeployState $state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Manager_NetworkInterface extends Postman_Google_Collection
+{
+ protected $collection_key = 'accessConfigs';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $accessConfigsType = 'Postman_Google_Service_Manager_AccessConfig';
+ protected $accessConfigsDataType = 'array';
+ public $name;
+ public $network;
+ public $networkIp;
+
+
+ public function setAccessConfigs($accessConfigs)
+ {
+ $this->accessConfigs = $accessConfigs;
+ }
+ public function getAccessConfigs()
+ {
+ return $this->accessConfigs;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNetwork($network)
+ {
+ $this->network = $network;
+ }
+ public function getNetwork()
+ {
+ return $this->network;
+ }
+ public function setNetworkIp($networkIp)
+ {
+ $this->networkIp = $networkIp;
+ }
+ public function getNetworkIp()
+ {
+ return $this->networkIp;
+ }
+}
+
+class Postman_Google_Service_Manager_NetworkModule extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "iPv4Range" => "IPv4Range",
+ );
+ public $iPv4Range;
+ public $description;
+ public $gatewayIPv4;
+
+
+ public function setIPv4Range($iPv4Range)
+ {
+ $this->iPv4Range = $iPv4Range;
+ }
+ public function getIPv4Range()
+ {
+ return $this->iPv4Range;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setGatewayIPv4($gatewayIPv4)
+ {
+ $this->gatewayIPv4 = $gatewayIPv4;
+ }
+ public function getGatewayIPv4()
+ {
+ return $this->gatewayIPv4;
+ }
+}
+
+class Postman_Google_Service_Manager_NetworkModuleStatus extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $networkUrl;
+
+
+ public function setNetworkUrl($networkUrl)
+ {
+ $this->networkUrl = $networkUrl;
+ }
+ public function getNetworkUrl()
+ {
+ return $this->networkUrl;
+ }
+}
+
+class Postman_Google_Service_Manager_NewDisk extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $attachmentType = 'Postman_Google_Service_Manager_DiskAttachment';
+ protected $attachmentDataType = '';
+ public $autoDelete;
+ public $boot;
+ protected $initializeParamsType = 'Postman_Google_Service_Manager_NewDiskInitializeParams';
+ protected $initializeParamsDataType = '';
+
+
+ public function setAttachment(Postman_Google_Service_Manager_DiskAttachment $attachment)
+ {
+ $this->attachment = $attachment;
+ }
+ public function getAttachment()
+ {
+ return $this->attachment;
+ }
+ public function setAutoDelete($autoDelete)
+ {
+ $this->autoDelete = $autoDelete;
+ }
+ public function getAutoDelete()
+ {
+ return $this->autoDelete;
+ }
+ public function setBoot($boot)
+ {
+ $this->boot = $boot;
+ }
+ public function getBoot()
+ {
+ return $this->boot;
+ }
+ public function setInitializeParams(Postman_Google_Service_Manager_NewDiskInitializeParams $initializeParams)
+ {
+ $this->initializeParams = $initializeParams;
+ }
+ public function getInitializeParams()
+ {
+ return $this->initializeParams;
+ }
+}
+
+class Postman_Google_Service_Manager_NewDiskInitializeParams extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $diskSizeGb;
+ public $diskType;
+ public $sourceImage;
+
+
+ public function setDiskSizeGb($diskSizeGb)
+ {
+ $this->diskSizeGb = $diskSizeGb;
+ }
+ public function getDiskSizeGb()
+ {
+ return $this->diskSizeGb;
+ }
+ public function setDiskType($diskType)
+ {
+ $this->diskType = $diskType;
+ }
+ public function getDiskType()
+ {
+ return $this->diskType;
+ }
+ public function setSourceImage($sourceImage)
+ {
+ $this->sourceImage = $sourceImage;
+ }
+ public function getSourceImage()
+ {
+ return $this->sourceImage;
+ }
+}
+
+class Postman_Google_Service_Manager_ParamOverride extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $path;
+ public $value;
+
+
+ public function setPath($path)
+ {
+ $this->path = $path;
+ }
+ public function getPath()
+ {
+ return $this->path;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Manager_ReplicaPoolModule extends Postman_Google_Collection
+{
+ protected $collection_key = 'healthChecks';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $envVariablesType = 'Postman_Google_Service_Manager_EnvVariable';
+ protected $envVariablesDataType = 'map';
+ public $healthChecks;
+ public $numReplicas;
+ protected $replicaPoolParamsType = 'Postman_Google_Service_Manager_ReplicaPoolParams';
+ protected $replicaPoolParamsDataType = '';
+ public $resourceView;
+
+
+ public function setEnvVariables($envVariables)
+ {
+ $this->envVariables = $envVariables;
+ }
+ public function getEnvVariables()
+ {
+ return $this->envVariables;
+ }
+ public function setHealthChecks($healthChecks)
+ {
+ $this->healthChecks = $healthChecks;
+ }
+ public function getHealthChecks()
+ {
+ return $this->healthChecks;
+ }
+ public function setNumReplicas($numReplicas)
+ {
+ $this->numReplicas = $numReplicas;
+ }
+ public function getNumReplicas()
+ {
+ return $this->numReplicas;
+ }
+ public function setReplicaPoolParams(Postman_Google_Service_Manager_ReplicaPoolParams $replicaPoolParams)
+ {
+ $this->replicaPoolParams = $replicaPoolParams;
+ }
+ public function getReplicaPoolParams()
+ {
+ return $this->replicaPoolParams;
+ }
+ public function setResourceView($resourceView)
+ {
+ $this->resourceView = $resourceView;
+ }
+ public function getResourceView()
+ {
+ return $this->resourceView;
+ }
+}
+
+class Postman_Google_Service_Manager_ReplicaPoolModuleEnvVariables extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Manager_ReplicaPoolModuleStatus extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $replicaPoolUrl;
+ public $resourceViewUrl;
+
+
+ public function setReplicaPoolUrl($replicaPoolUrl)
+ {
+ $this->replicaPoolUrl = $replicaPoolUrl;
+ }
+ public function getReplicaPoolUrl()
+ {
+ return $this->replicaPoolUrl;
+ }
+ public function setResourceViewUrl($resourceViewUrl)
+ {
+ $this->resourceViewUrl = $resourceViewUrl;
+ }
+ public function getResourceViewUrl()
+ {
+ return $this->resourceViewUrl;
+ }
+}
+
+class Postman_Google_Service_Manager_ReplicaPoolParams extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $v1beta1Type = 'Postman_Google_Service_Manager_ReplicaPoolParamsV1Beta1';
+ protected $v1beta1DataType = '';
+
+
+ public function setV1beta1(Postman_Google_Service_Manager_ReplicaPoolParamsV1Beta1 $v1beta1)
+ {
+ $this->v1beta1 = $v1beta1;
+ }
+ public function getV1beta1()
+ {
+ return $this->v1beta1;
+ }
+}
+
+class Postman_Google_Service_Manager_ReplicaPoolParamsV1Beta1 extends Postman_Google_Collection
+{
+ protected $collection_key = 'serviceAccounts';
+ protected $internal_gapi_mappings = array(
+ );
+ public $autoRestart;
+ public $baseInstanceName;
+ public $canIpForward;
+ public $description;
+ protected $disksToAttachType = 'Postman_Google_Service_Manager_ExistingDisk';
+ protected $disksToAttachDataType = 'array';
+ protected $disksToCreateType = 'Postman_Google_Service_Manager_NewDisk';
+ protected $disksToCreateDataType = 'array';
+ public $initAction;
+ public $machineType;
+ protected $metadataType = 'Postman_Google_Service_Manager_Metadata';
+ protected $metadataDataType = '';
+ protected $networkInterfacesType = 'Postman_Google_Service_Manager_NetworkInterface';
+ protected $networkInterfacesDataType = 'array';
+ public $onHostMaintenance;
+ protected $serviceAccountsType = 'Postman_Google_Service_Manager_ServiceAccount';
+ protected $serviceAccountsDataType = 'array';
+ protected $tagsType = 'Postman_Google_Service_Manager_Tag';
+ protected $tagsDataType = '';
+ public $zone;
+
+
+ public function setAutoRestart($autoRestart)
+ {
+ $this->autoRestart = $autoRestart;
+ }
+ public function getAutoRestart()
+ {
+ return $this->autoRestart;
+ }
+ public function setBaseInstanceName($baseInstanceName)
+ {
+ $this->baseInstanceName = $baseInstanceName;
+ }
+ public function getBaseInstanceName()
+ {
+ return $this->baseInstanceName;
+ }
+ public function setCanIpForward($canIpForward)
+ {
+ $this->canIpForward = $canIpForward;
+ }
+ public function getCanIpForward()
+ {
+ return $this->canIpForward;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDisksToAttach($disksToAttach)
+ {
+ $this->disksToAttach = $disksToAttach;
+ }
+ public function getDisksToAttach()
+ {
+ return $this->disksToAttach;
+ }
+ public function setDisksToCreate($disksToCreate)
+ {
+ $this->disksToCreate = $disksToCreate;
+ }
+ public function getDisksToCreate()
+ {
+ return $this->disksToCreate;
+ }
+ public function setInitAction($initAction)
+ {
+ $this->initAction = $initAction;
+ }
+ public function getInitAction()
+ {
+ return $this->initAction;
+ }
+ public function setMachineType($machineType)
+ {
+ $this->machineType = $machineType;
+ }
+ public function getMachineType()
+ {
+ return $this->machineType;
+ }
+ public function setMetadata(Postman_Google_Service_Manager_Metadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setNetworkInterfaces($networkInterfaces)
+ {
+ $this->networkInterfaces = $networkInterfaces;
+ }
+ public function getNetworkInterfaces()
+ {
+ return $this->networkInterfaces;
+ }
+ public function setOnHostMaintenance($onHostMaintenance)
+ {
+ $this->onHostMaintenance = $onHostMaintenance;
+ }
+ public function getOnHostMaintenance()
+ {
+ return $this->onHostMaintenance;
+ }
+ public function setServiceAccounts($serviceAccounts)
+ {
+ $this->serviceAccounts = $serviceAccounts;
+ }
+ public function getServiceAccounts()
+ {
+ return $this->serviceAccounts;
+ }
+ public function setTags(Postman_Google_Service_Manager_Tag $tags)
+ {
+ $this->tags = $tags;
+ }
+ public function getTags()
+ {
+ return $this->tags;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Postman_Google_Service_Manager_ServiceAccount extends Postman_Google_Collection
+{
+ protected $collection_key = 'scopes';
+ protected $internal_gapi_mappings = array(
+ );
+ public $email;
+ public $scopes;
+
+
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setScopes($scopes)
+ {
+ $this->scopes = $scopes;
+ }
+ public function getScopes()
+ {
+ return $this->scopes;
+ }
+}
+
+class Postman_Google_Service_Manager_Tag extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $fingerPrint;
+ public $items;
+
+
+ public function setFingerPrint($fingerPrint)
+ {
+ $this->fingerPrint = $fingerPrint;
+ }
+ public function getFingerPrint()
+ {
+ return $this->fingerPrint;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+}
+
+class Postman_Google_Service_Manager_Template extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $actionsType = 'Postman_Google_Service_Manager_Action';
+ protected $actionsDataType = 'map';
+ public $description;
+ protected $modulesType = 'Postman_Google_Service_Manager_Module';
+ protected $modulesDataType = 'map';
+ public $name;
+
+
+ public function setActions($actions)
+ {
+ $this->actions = $actions;
+ }
+ public function getActions()
+ {
+ return $this->actions;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setModules($modules)
+ {
+ $this->modules = $modules;
+ }
+ public function getModules()
+ {
+ return $this->modules;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_Manager_TemplateActions extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Manager_TemplateModules extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Manager_TemplatesListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'resources';
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ protected $resourcesType = 'Postman_Google_Service_Manager_Template';
+ protected $resourcesDataType = 'array';
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/MapsEngine.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/MapsEngine.php
new file mode 100644
index 0000000..0f9cb69
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/MapsEngine.php
@@ -0,0 +1,6420 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for MapsEngine (v1).
+ *
+ * <p>
+ * The Google Maps Engine API allows developers to store and query geospatial
+ * vector and raster data.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/maps-engine/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_MapsEngine extends Postman_Google_Service
+{
+ /** View and manage your Google My Maps data. */
+ const MAPSENGINE =
+ "https://www.googleapis.com/auth/mapsengine";
+ /** View your Google My Maps data. */
+ const MAPSENGINE_READONLY =
+ "https://www.googleapis.com/auth/mapsengine.readonly";
+
+ public $assets;
+ public $assets_parents;
+ public $assets_permissions;
+ public $layers;
+ public $layers_parents;
+ public $layers_permissions;
+ public $maps;
+ public $maps_permissions;
+ public $projects;
+ public $projects_icons;
+ public $rasterCollections;
+ public $rasterCollections_parents;
+ public $rasterCollections_permissions;
+ public $rasterCollections_rasters;
+ public $rasters;
+ public $rasters_files;
+ public $rasters_parents;
+ public $rasters_permissions;
+ public $tables;
+ public $tables_features;
+ public $tables_files;
+ public $tables_parents;
+ public $tables_permissions;
+
+
+ /**
+ * Constructs the internal representation of the MapsEngine service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'mapsengine/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'mapsengine';
+
+ $this->assets = new Postman_Google_Service_MapsEngine_Assets_Resource(
+ $this,
+ $this->serviceName,
+ 'assets',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'assets/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'assets',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'modifiedAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'tags' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'search' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'creatorEmail' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'bbox' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'modifiedBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'role' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'type' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->assets_parents = new Postman_Google_Service_MapsEngine_AssetsParents_Resource(
+ $this,
+ $this->serviceName,
+ 'parents',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'assets/{id}/parents',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->assets_permissions = new Postman_Google_Service_MapsEngine_AssetsPermissions_Resource(
+ $this,
+ $this->serviceName,
+ 'permissions',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'assets/{id}/permissions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->layers = new Postman_Google_Service_MapsEngine_Layers_Resource(
+ $this,
+ $this->serviceName,
+ 'layers',
+ array(
+ 'methods' => array(
+ 'cancelProcessing' => array(
+ 'path' => 'layers/{id}/cancelProcessing',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'create' => array(
+ 'path' => 'layers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'process' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'layers/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'layers/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'version' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'getPublished' => array(
+ 'path' => 'layers/{id}/published',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'layers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'modifiedAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'processingStatus' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'tags' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'search' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'creatorEmail' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'bbox' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'modifiedBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'role' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'listPublished' => array(
+ 'path' => 'layers/published',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'layers/{id}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'process' => array(
+ 'path' => 'layers/{id}/process',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'publish' => array(
+ 'path' => 'layers/{id}/publish',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'force' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'unpublish' => array(
+ 'path' => 'layers/{id}/unpublish',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->layers_parents = new Postman_Google_Service_MapsEngine_LayersParents_Resource(
+ $this,
+ $this->serviceName,
+ 'parents',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'layers/{id}/parents',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->layers_permissions = new Postman_Google_Service_MapsEngine_LayersPermissions_Resource(
+ $this,
+ $this->serviceName,
+ 'permissions',
+ array(
+ 'methods' => array(
+ 'batchDelete' => array(
+ 'path' => 'layers/{id}/permissions/batchDelete',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'batchUpdate' => array(
+ 'path' => 'layers/{id}/permissions/batchUpdate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'layers/{id}/permissions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->maps = new Postman_Google_Service_MapsEngine_Maps_Resource(
+ $this,
+ $this->serviceName,
+ 'maps',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'maps',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => 'maps/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'maps/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'version' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'getPublished' => array(
+ 'path' => 'maps/{id}/published',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'maps',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'modifiedAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'processingStatus' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'tags' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'search' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'creatorEmail' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'bbox' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'modifiedBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'role' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'listPublished' => array(
+ 'path' => 'maps/published',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'maps/{id}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'publish' => array(
+ 'path' => 'maps/{id}/publish',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'force' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'unpublish' => array(
+ 'path' => 'maps/{id}/unpublish',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->maps_permissions = new Postman_Google_Service_MapsEngine_MapsPermissions_Resource(
+ $this,
+ $this->serviceName,
+ 'permissions',
+ array(
+ 'methods' => array(
+ 'batchDelete' => array(
+ 'path' => 'maps/{id}/permissions/batchDelete',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'batchUpdate' => array(
+ 'path' => 'maps/{id}/permissions/batchUpdate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'maps/{id}/permissions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->projects = new Postman_Google_Service_MapsEngine_Projects_Resource(
+ $this,
+ $this->serviceName,
+ 'projects',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'projects',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->projects_icons = new Postman_Google_Service_MapsEngine_ProjectsIcons_Resource(
+ $this,
+ $this->serviceName,
+ 'icons',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'projects/{projectId}/icons',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'projects/{projectId}/icons/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'projects/{projectId}/icons',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->rasterCollections = new Postman_Google_Service_MapsEngine_RasterCollections_Resource(
+ $this,
+ $this->serviceName,
+ 'rasterCollections',
+ array(
+ 'methods' => array(
+ 'cancelProcessing' => array(
+ 'path' => 'rasterCollections/{id}/cancelProcessing',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'create' => array(
+ 'path' => 'rasterCollections',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => 'rasterCollections/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'rasterCollections/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'rasterCollections',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'modifiedAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'processingStatus' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'tags' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'search' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'creatorEmail' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'bbox' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'modifiedBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'role' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'rasterCollections/{id}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'process' => array(
+ 'path' => 'rasterCollections/{id}/process',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->rasterCollections_parents = new Postman_Google_Service_MapsEngine_RasterCollectionsParents_Resource(
+ $this,
+ $this->serviceName,
+ 'parents',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'rasterCollections/{id}/parents',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->rasterCollections_permissions = new Postman_Google_Service_MapsEngine_RasterCollectionsPermissions_Resource(
+ $this,
+ $this->serviceName,
+ 'permissions',
+ array(
+ 'methods' => array(
+ 'batchDelete' => array(
+ 'path' => 'rasterCollections/{id}/permissions/batchDelete',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'batchUpdate' => array(
+ 'path' => 'rasterCollections/{id}/permissions/batchUpdate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'rasterCollections/{id}/permissions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->rasterCollections_rasters = new Postman_Google_Service_MapsEngine_RasterCollectionsRasters_Resource(
+ $this,
+ $this->serviceName,
+ 'rasters',
+ array(
+ 'methods' => array(
+ 'batchDelete' => array(
+ 'path' => 'rasterCollections/{id}/rasters/batchDelete',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'batchInsert' => array(
+ 'path' => 'rasterCollections/{id}/rasters/batchInsert',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'rasterCollections/{id}/rasters',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'modifiedAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'tags' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'search' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'creatorEmail' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'bbox' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'modifiedBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'role' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->rasters = new Postman_Google_Service_MapsEngine_Rasters_Resource(
+ $this,
+ $this->serviceName,
+ 'rasters',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'rasters/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'rasters/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'rasters',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'modifiedAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'processingStatus' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'tags' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'search' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'creatorEmail' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'bbox' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'modifiedBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'role' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'rasters/{id}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'process' => array(
+ 'path' => 'rasters/{id}/process',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'upload' => array(
+ 'path' => 'rasters/upload',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->rasters_files = new Postman_Google_Service_MapsEngine_RastersFiles_Resource(
+ $this,
+ $this->serviceName,
+ 'files',
+ array(
+ 'methods' => array(
+ 'insert' => array(
+ 'path' => 'rasters/{id}/files',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filename' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->rasters_parents = new Postman_Google_Service_MapsEngine_RastersParents_Resource(
+ $this,
+ $this->serviceName,
+ 'parents',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'rasters/{id}/parents',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->rasters_permissions = new Postman_Google_Service_MapsEngine_RastersPermissions_Resource(
+ $this,
+ $this->serviceName,
+ 'permissions',
+ array(
+ 'methods' => array(
+ 'batchDelete' => array(
+ 'path' => 'rasters/{id}/permissions/batchDelete',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'batchUpdate' => array(
+ 'path' => 'rasters/{id}/permissions/batchUpdate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'rasters/{id}/permissions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->tables = new Postman_Google_Service_MapsEngine_Tables_Resource(
+ $this,
+ $this->serviceName,
+ 'tables',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'tables',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => 'tables/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'tables/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'version' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'tables',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'modifiedAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'processingStatus' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projectId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'tags' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'search' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'creatorEmail' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'bbox' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'modifiedBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'createdBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'role' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'tables/{id}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'process' => array(
+ 'path' => 'tables/{id}/process',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'upload' => array(
+ 'path' => 'tables/upload',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->tables_features = new Postman_Google_Service_MapsEngine_TablesFeatures_Resource(
+ $this,
+ $this->serviceName,
+ 'features',
+ array(
+ 'methods' => array(
+ 'batchDelete' => array(
+ 'path' => 'tables/{id}/features/batchDelete',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'batchInsert' => array(
+ 'path' => 'tables/{id}/features/batchInsert',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'batchPatch' => array(
+ 'path' => 'tables/{id}/features/batchPatch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'tables/{tableId}/features/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'version' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'select' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'tables/{id}/features',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'intersects' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'version' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'limit' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'include' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'where' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'select' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->tables_files = new Postman_Google_Service_MapsEngine_TablesFiles_Resource(
+ $this,
+ $this->serviceName,
+ 'files',
+ array(
+ 'methods' => array(
+ 'insert' => array(
+ 'path' => 'tables/{id}/files',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filename' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->tables_parents = new Postman_Google_Service_MapsEngine_TablesParents_Resource(
+ $this,
+ $this->serviceName,
+ 'parents',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'tables/{id}/parents',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->tables_permissions = new Postman_Google_Service_MapsEngine_TablesPermissions_Resource(
+ $this,
+ $this->serviceName,
+ 'permissions',
+ array(
+ 'methods' => array(
+ 'batchDelete' => array(
+ 'path' => 'tables/{id}/permissions/batchDelete',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'batchUpdate' => array(
+ 'path' => 'tables/{id}/permissions/batchUpdate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'tables/{id}/permissions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "assets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mapsengineService = new Postman_Google_Service_MapsEngine(...);
+ * $assets = $mapsengineService->assets;
+ * </code>
+ */
+class Postman_Google_Service_MapsEngine_Assets_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Return metadata for a particular asset. (assets.get)
+ *
+ * @param string $id The ID of the asset.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_Asset
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_MapsEngine_Asset");
+ }
+
+ /**
+ * Return all assets readable by the current user. (assets.listAssets)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been modified at or after
+ * this time.
+ * @opt_param string createdAfter An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been created at or after
+ * this time.
+ * @opt_param string tags A comma separated list of tags. Returned assets will
+ * contain all the tags from the list.
+ * @opt_param string projectId The ID of a Maps Engine project, used to filter
+ * the response. To list all available projects with their IDs, send a Projects:
+ * list request. You can also find your project ID as the value of the
+ * DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string search An unstructured search string used to filter the set
+ * of results based on asset metadata.
+ * @opt_param string maxResults The maximum number of items to include in a
+ * single response page. The maximum supported value is 100.
+ * @opt_param string pageToken The continuation token, used to page through
+ * large result sets. To get the next page of results, set this parameter to the
+ * value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail An email address representing a user. Returned
+ * assets that have been created by the user associated with the provided email
+ * address.
+ * @opt_param string bbox A bounding box, expressed as "west,south,east,north".
+ * If set, only assets which intersect this bounding box will be returned.
+ * @opt_param string modifiedBefore An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been modified at or before
+ * this time.
+ * @opt_param string createdBefore An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been created at or before
+ * this time.
+ * @opt_param string role The role parameter indicates that the response should
+ * only contain assets where the current user has the specified level of access.
+ * @opt_param string type A comma separated list of asset types. Returned assets
+ * will have one of the types from the provided list. Supported values are
+ * 'map', 'layer', 'rasterCollection' and 'table'.
+ * @return Postman_Google_Service_MapsEngine_AssetsListResponse
+ */
+ public function listAssets($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_MapsEngine_AssetsListResponse");
+ }
+}
+
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mapsengineService = new Postman_Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ * </code>
+ */
+class Postman_Google_Service_MapsEngine_AssetsParents_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified asset. (parents.listAssetsParents)
+ *
+ * @param string $id The ID of the asset whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The continuation token, used to page through
+ * large result sets. To get the next page of results, set this parameter to the
+ * value of nextPageToken from the previous response.
+ * @opt_param string maxResults The maximum number of items to include in a
+ * single response page. The maximum supported value is 50.
+ * @return Postman_Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listAssetsParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+/**
+ * The "permissions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mapsengineService = new Postman_Google_Service_MapsEngine(...);
+ * $permissions = $mapsengineService->permissions;
+ * </code>
+ */
+class Postman_Google_Service_MapsEngine_AssetsPermissions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Return all of the permissions for the specified asset.
+ * (permissions.listAssetsPermissions)
+ *
+ * @param string $id The ID of the asset whose permissions will be listed.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_PermissionsListResponse
+ */
+ public function listAssetsPermissions($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_MapsEngine_PermissionsListResponse");
+ }
+}
+
+/**
+ * The "layers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mapsengineService = new Postman_Google_Service_MapsEngine(...);
+ * $layers = $mapsengineService->layers;
+ * </code>
+ */
+class Postman_Google_Service_MapsEngine_Layers_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Cancel processing on a layer asset. (layers.cancelProcessing)
+ *
+ * @param string $id The ID of the layer.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_ProcessResponse
+ */
+ public function cancelProcessing($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancelProcessing', array($params), "Postman_Google_Service_MapsEngine_ProcessResponse");
+ }
+
+ /**
+ * Create a layer asset. (layers.create)
+ *
+ * @param Postman_Google_Layer $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool process Whether to queue the created layer for processing.
+ * @return Postman_Google_Service_MapsEngine_Layer
+ */
+ public function create(Postman_Google_Service_MapsEngine_Layer $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_MapsEngine_Layer");
+ }
+
+ /**
+ * Delete a layer. (layers.delete)
+ *
+ * @param string $id The ID of the layer. Only the layer creator or project
+ * owner are permitted to delete. If the layer is published, or included in a
+ * map, the request will fail. Unpublish the layer, and remove it from all maps
+ * prior to deleting.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Return metadata for a particular layer. (layers.get)
+ *
+ * @param string $id The ID of the layer.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version Deprecated: The version parameter indicates which
+ * version of the layer should be returned. When version is set to published,
+ * the published version of the layer will be returned. Please use the
+ * layers.getPublished endpoint instead.
+ * @return Postman_Google_Service_MapsEngine_Layer
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_MapsEngine_Layer");
+ }
+
+ /**
+ * Return the published metadata for a particular layer. (layers.getPublished)
+ *
+ * @param string $id The ID of the layer.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_PublishedLayer
+ */
+ public function getPublished($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('getPublished', array($params), "Postman_Google_Service_MapsEngine_PublishedLayer");
+ }
+
+ /**
+ * Return all layers readable by the current user. (layers.listLayers)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been modified at or after
+ * this time.
+ * @opt_param string createdAfter An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been created at or after
+ * this time.
+ * @opt_param string processingStatus
+ * @opt_param string projectId The ID of a Maps Engine project, used to filter
+ * the response. To list all available projects with their IDs, send a Projects:
+ * list request. You can also find your project ID as the value of the
+ * DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string tags A comma separated list of tags. Returned assets will
+ * contain all the tags from the list.
+ * @opt_param string search An unstructured search string used to filter the set
+ * of results based on asset metadata.
+ * @opt_param string maxResults The maximum number of items to include in a
+ * single response page. The maximum supported value is 100.
+ * @opt_param string pageToken The continuation token, used to page through
+ * large result sets. To get the next page of results, set this parameter to the
+ * value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail An email address representing a user. Returned
+ * assets that have been created by the user associated with the provided email
+ * address.
+ * @opt_param string bbox A bounding box, expressed as "west,south,east,north".
+ * If set, only assets which intersect this bounding box will be returned.
+ * @opt_param string modifiedBefore An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been modified at or before
+ * this time.
+ * @opt_param string createdBefore An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been created at or before
+ * this time.
+ * @opt_param string role The role parameter indicates that the response should
+ * only contain assets where the current user has the specified level of access.
+ * @return Postman_Google_Service_MapsEngine_LayersListResponse
+ */
+ public function listLayers($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_MapsEngine_LayersListResponse");
+ }
+
+ /**
+ * Return all published layers readable by the current user.
+ * (layers.listPublished)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The continuation token, used to page through
+ * large result sets. To get the next page of results, set this parameter to the
+ * value of nextPageToken from the previous response.
+ * @opt_param string maxResults The maximum number of items to include in a
+ * single response page. The maximum supported value is 100.
+ * @opt_param string projectId The ID of a Maps Engine project, used to filter
+ * the response. To list all available projects with their IDs, send a Projects:
+ * list request. You can also find your project ID as the value of the
+ * DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @return Postman_Google_Service_MapsEngine_PublishedLayersListResponse
+ */
+ public function listPublished($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('listPublished', array($params), "Postman_Google_Service_MapsEngine_PublishedLayersListResponse");
+ }
+
+ /**
+ * Mutate a layer asset. (layers.patch)
+ *
+ * @param string $id The ID of the layer.
+ * @param Postman_Google_Layer $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function patch($id, Postman_Google_Service_MapsEngine_Layer $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params));
+ }
+
+ /**
+ * Process a layer asset. (layers.process)
+ *
+ * @param string $id The ID of the layer.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_ProcessResponse
+ */
+ public function process($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('process', array($params), "Postman_Google_Service_MapsEngine_ProcessResponse");
+ }
+
+ /**
+ * Publish a layer asset. (layers.publish)
+ *
+ * @param string $id The ID of the layer.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool force If set to true, the API will allow publication of the
+ * layer even if it's out of date. If not true, you'll need to reprocess any
+ * out-of-date layer before publishing.
+ * @return Postman_Google_Service_MapsEngine_PublishResponse
+ */
+ public function publish($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('publish', array($params), "Postman_Google_Service_MapsEngine_PublishResponse");
+ }
+
+ /**
+ * Unpublish a layer asset. (layers.unpublish)
+ *
+ * @param string $id The ID of the layer.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_PublishResponse
+ */
+ public function unpublish($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('unpublish', array($params), "Postman_Google_Service_MapsEngine_PublishResponse");
+ }
+}
+
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mapsengineService = new Postman_Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ * </code>
+ */
+class Postman_Google_Service_MapsEngine_LayersParents_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified layer. (parents.listLayersParents)
+ *
+ * @param string $id The ID of the layer whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The continuation token, used to page through
+ * large result sets. To get the next page of results, set this parameter to the
+ * value of nextPageToken from the previous response.
+ * @opt_param string maxResults The maximum number of items to include in a
+ * single response page. The maximum supported value is 50.
+ * @return Postman_Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listLayersParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+/**
+ * The "permissions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mapsengineService = new Postman_Google_Service_MapsEngine(...);
+ * $permissions = $mapsengineService->permissions;
+ * </code>
+ */
+class Postman_Google_Service_MapsEngine_LayersPermissions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Remove permission entries from an already existing asset.
+ * (permissions.batchDelete)
+ *
+ * @param string $id The ID of the asset from which permissions will be removed.
+ * @param Postman_Google_PermissionsBatchDeleteRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_PermissionsBatchDeleteResponse
+ */
+ public function batchDelete($id, Postman_Google_Service_MapsEngine_PermissionsBatchDeleteRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchDelete', array($params), "Postman_Google_Service_MapsEngine_PermissionsBatchDeleteResponse");
+ }
+
+ /**
+ * Add or update permission entries to an already existing asset.
+ *
+ * An asset can hold up to 20 different permission entries. Each batchInsert
+ * request is atomic. (permissions.batchUpdate)
+ *
+ * @param string $id The ID of the asset to which permissions will be added.
+ * @param Postman_Google_PermissionsBatchUpdateRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_PermissionsBatchUpdateResponse
+ */
+ public function batchUpdate($id, Postman_Google_Service_MapsEngine_PermissionsBatchUpdateRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchUpdate', array($params), "Postman_Google_Service_MapsEngine_PermissionsBatchUpdateResponse");
+ }
+
+ /**
+ * Return all of the permissions for the specified asset.
+ * (permissions.listLayersPermissions)
+ *
+ * @param string $id The ID of the asset whose permissions will be listed.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_PermissionsListResponse
+ */
+ public function listLayersPermissions($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_MapsEngine_PermissionsListResponse");
+ }
+}
+
+/**
+ * The "maps" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mapsengineService = new Postman_Google_Service_MapsEngine(...);
+ * $maps = $mapsengineService->maps;
+ * </code>
+ */
+class Postman_Google_Service_MapsEngine_Maps_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Create a map asset. (maps.create)
+ *
+ * @param Postman_Google_Map $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_Map
+ */
+ public function create(Postman_Google_Service_MapsEngine_Map $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_MapsEngine_Map");
+ }
+
+ /**
+ * Delete a map. (maps.delete)
+ *
+ * @param string $id The ID of the map. Only the map creator or project owner
+ * are permitted to delete. If the map is published the request will fail.
+ * Unpublish the map prior to deleting.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Return metadata for a particular map. (maps.get)
+ *
+ * @param string $id The ID of the map.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version Deprecated: The version parameter indicates which
+ * version of the map should be returned. When version is set to published, the
+ * published version of the map will be returned. Please use the
+ * maps.getPublished endpoint instead.
+ * @return Postman_Google_Service_MapsEngine_Map
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_MapsEngine_Map");
+ }
+
+ /**
+ * Return the published metadata for a particular map. (maps.getPublished)
+ *
+ * @param string $id The ID of the map.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_PublishedMap
+ */
+ public function getPublished($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('getPublished', array($params), "Postman_Google_Service_MapsEngine_PublishedMap");
+ }
+
+ /**
+ * Return all maps readable by the current user. (maps.listMaps)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been modified at or after
+ * this time.
+ * @opt_param string createdAfter An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been created at or after
+ * this time.
+ * @opt_param string processingStatus
+ * @opt_param string projectId The ID of a Maps Engine project, used to filter
+ * the response. To list all available projects with their IDs, send a Projects:
+ * list request. You can also find your project ID as the value of the
+ * DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string tags A comma separated list of tags. Returned assets will
+ * contain all the tags from the list.
+ * @opt_param string search An unstructured search string used to filter the set
+ * of results based on asset metadata.
+ * @opt_param string maxResults The maximum number of items to include in a
+ * single response page. The maximum supported value is 100.
+ * @opt_param string pageToken The continuation token, used to page through
+ * large result sets. To get the next page of results, set this parameter to the
+ * value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail An email address representing a user. Returned
+ * assets that have been created by the user associated with the provided email
+ * address.
+ * @opt_param string bbox A bounding box, expressed as "west,south,east,north".
+ * If set, only assets which intersect this bounding box will be returned.
+ * @opt_param string modifiedBefore An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been modified at or before
+ * this time.
+ * @opt_param string createdBefore An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been created at or before
+ * this time.
+ * @opt_param string role The role parameter indicates that the response should
+ * only contain assets where the current user has the specified level of access.
+ * @return Postman_Google_Service_MapsEngine_MapsListResponse
+ */
+ public function listMaps($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_MapsEngine_MapsListResponse");
+ }
+
+ /**
+ * Return all published maps readable by the current user. (maps.listPublished)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The continuation token, used to page through
+ * large result sets. To get the next page of results, set this parameter to the
+ * value of nextPageToken from the previous response.
+ * @opt_param string maxResults The maximum number of items to include in a
+ * single response page. The maximum supported value is 100.
+ * @opt_param string projectId The ID of a Maps Engine project, used to filter
+ * the response. To list all available projects with their IDs, send a Projects:
+ * list request. You can also find your project ID as the value of the
+ * DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @return Postman_Google_Service_MapsEngine_PublishedMapsListResponse
+ */
+ public function listPublished($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('listPublished', array($params), "Postman_Google_Service_MapsEngine_PublishedMapsListResponse");
+ }
+
+ /**
+ * Mutate a map asset. (maps.patch)
+ *
+ * @param string $id The ID of the map.
+ * @param Postman_Google_Map $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function patch($id, Postman_Google_Service_MapsEngine_Map $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params));
+ }
+
+ /**
+ * Publish a map asset. (maps.publish)
+ *
+ * @param string $id The ID of the map.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool force If set to true, the API will allow publication of the
+ * map even if it's out of date. If false, the map must have a processingStatus
+ * of complete before publishing.
+ * @return Postman_Google_Service_MapsEngine_PublishResponse
+ */
+ public function publish($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('publish', array($params), "Postman_Google_Service_MapsEngine_PublishResponse");
+ }
+
+ /**
+ * Unpublish a map asset. (maps.unpublish)
+ *
+ * @param string $id The ID of the map.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_PublishResponse
+ */
+ public function unpublish($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('unpublish', array($params), "Postman_Google_Service_MapsEngine_PublishResponse");
+ }
+}
+
+/**
+ * The "permissions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mapsengineService = new Postman_Google_Service_MapsEngine(...);
+ * $permissions = $mapsengineService->permissions;
+ * </code>
+ */
+class Postman_Google_Service_MapsEngine_MapsPermissions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Remove permission entries from an already existing asset.
+ * (permissions.batchDelete)
+ *
+ * @param string $id The ID of the asset from which permissions will be removed.
+ * @param Postman_Google_PermissionsBatchDeleteRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_PermissionsBatchDeleteResponse
+ */
+ public function batchDelete($id, Postman_Google_Service_MapsEngine_PermissionsBatchDeleteRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchDelete', array($params), "Postman_Google_Service_MapsEngine_PermissionsBatchDeleteResponse");
+ }
+
+ /**
+ * Add or update permission entries to an already existing asset.
+ *
+ * An asset can hold up to 20 different permission entries. Each batchInsert
+ * request is atomic. (permissions.batchUpdate)
+ *
+ * @param string $id The ID of the asset to which permissions will be added.
+ * @param Postman_Google_PermissionsBatchUpdateRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_PermissionsBatchUpdateResponse
+ */
+ public function batchUpdate($id, Postman_Google_Service_MapsEngine_PermissionsBatchUpdateRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchUpdate', array($params), "Postman_Google_Service_MapsEngine_PermissionsBatchUpdateResponse");
+ }
+
+ /**
+ * Return all of the permissions for the specified asset.
+ * (permissions.listMapsPermissions)
+ *
+ * @param string $id The ID of the asset whose permissions will be listed.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_PermissionsListResponse
+ */
+ public function listMapsPermissions($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_MapsEngine_PermissionsListResponse");
+ }
+}
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mapsengineService = new Postman_Google_Service_MapsEngine(...);
+ * $projects = $mapsengineService->projects;
+ * </code>
+ */
+class Postman_Google_Service_MapsEngine_Projects_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Return all projects readable by the current user. (projects.listProjects)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_ProjectsListResponse
+ */
+ public function listProjects($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_MapsEngine_ProjectsListResponse");
+ }
+}
+
+/**
+ * The "icons" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mapsengineService = new Postman_Google_Service_MapsEngine(...);
+ * $icons = $mapsengineService->icons;
+ * </code>
+ */
+class Postman_Google_Service_MapsEngine_ProjectsIcons_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Create an icon. (icons.create)
+ *
+ * @param string $projectId The ID of the project.
+ * @param Postman_Google_Icon $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_Icon
+ */
+ public function create($projectId, Postman_Google_Service_MapsEngine_Icon $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_MapsEngine_Icon");
+ }
+
+ /**
+ * Return an icon or its associated metadata (icons.get)
+ *
+ * @param string $projectId The ID of the project.
+ * @param string $id The ID of the icon.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_Icon
+ */
+ public function get($projectId, $id, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_MapsEngine_Icon");
+ }
+
+ /**
+ * Return all icons in the current project (icons.listProjectsIcons)
+ *
+ * @param string $projectId The ID of the project.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The continuation token, used to page through
+ * large result sets. To get the next page of results, set this parameter to the
+ * value of nextPageToken from the previous response.
+ * @opt_param string maxResults The maximum number of items to include in a
+ * single response page. The maximum supported value is 50.
+ * @return Postman_Google_Service_MapsEngine_IconsListResponse
+ */
+ public function listProjectsIcons($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_MapsEngine_IconsListResponse");
+ }
+}
+
+/**
+ * The "rasterCollections" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mapsengineService = new Postman_Google_Service_MapsEngine(...);
+ * $rasterCollections = $mapsengineService->rasterCollections;
+ * </code>
+ */
+class Postman_Google_Service_MapsEngine_RasterCollections_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Cancel processing on a raster collection asset.
+ * (rasterCollections.cancelProcessing)
+ *
+ * @param string $id The ID of the raster collection.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_ProcessResponse
+ */
+ public function cancelProcessing($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancelProcessing', array($params), "Postman_Google_Service_MapsEngine_ProcessResponse");
+ }
+
+ /**
+ * Create a raster collection asset. (rasterCollections.create)
+ *
+ * @param Postman_Google_RasterCollection $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_RasterCollection
+ */
+ public function create(Postman_Google_Service_MapsEngine_RasterCollection $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_MapsEngine_RasterCollection");
+ }
+
+ /**
+ * Delete a raster collection. (rasterCollections.delete)
+ *
+ * @param string $id The ID of the raster collection. Only the raster collection
+ * creator or project owner are permitted to delete. If the rastor collection is
+ * included in a layer, the request will fail. Remove the raster collection from
+ * all layers prior to deleting.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Return metadata for a particular raster collection. (rasterCollections.get)
+ *
+ * @param string $id The ID of the raster collection.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_RasterCollection
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_MapsEngine_RasterCollection");
+ }
+
+ /**
+ * Return all raster collections readable by the current user.
+ * (rasterCollections.listRasterCollections)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been modified at or after
+ * this time.
+ * @opt_param string createdAfter An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been created at or after
+ * this time.
+ * @opt_param string processingStatus
+ * @opt_param string projectId The ID of a Maps Engine project, used to filter
+ * the response. To list all available projects with their IDs, send a Projects:
+ * list request. You can also find your project ID as the value of the
+ * DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string tags A comma separated list of tags. Returned assets will
+ * contain all the tags from the list.
+ * @opt_param string search An unstructured search string used to filter the set
+ * of results based on asset metadata.
+ * @opt_param string maxResults The maximum number of items to include in a
+ * single response page. The maximum supported value is 100.
+ * @opt_param string pageToken The continuation token, used to page through
+ * large result sets. To get the next page of results, set this parameter to the
+ * value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail An email address representing a user. Returned
+ * assets that have been created by the user associated with the provided email
+ * address.
+ * @opt_param string bbox A bounding box, expressed as "west,south,east,north".
+ * If set, only assets which intersect this bounding box will be returned.
+ * @opt_param string modifiedBefore An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been modified at or before
+ * this time.
+ * @opt_param string createdBefore An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been created at or before
+ * this time.
+ * @opt_param string role The role parameter indicates that the response should
+ * only contain assets where the current user has the specified level of access.
+ * @return Postman_Google_Service_MapsEngine_RasterCollectionsListResponse
+ */
+ public function listRasterCollections($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_MapsEngine_RasterCollectionsListResponse");
+ }
+
+ /**
+ * Mutate a raster collection asset. (rasterCollections.patch)
+ *
+ * @param string $id The ID of the raster collection.
+ * @param Postman_Google_RasterCollection $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function patch($id, Postman_Google_Service_MapsEngine_RasterCollection $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params));
+ }
+
+ /**
+ * Process a raster collection asset. (rasterCollections.process)
+ *
+ * @param string $id The ID of the raster collection.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_ProcessResponse
+ */
+ public function process($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('process', array($params), "Postman_Google_Service_MapsEngine_ProcessResponse");
+ }
+}
+
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mapsengineService = new Postman_Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ * </code>
+ */
+class Postman_Google_Service_MapsEngine_RasterCollectionsParents_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified raster collection.
+ * (parents.listRasterCollectionsParents)
+ *
+ * @param string $id The ID of the raster collection whose parents will be
+ * listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The continuation token, used to page through
+ * large result sets. To get the next page of results, set this parameter to the
+ * value of nextPageToken from the previous response.
+ * @opt_param string maxResults The maximum number of items to include in a
+ * single response page. The maximum supported value is 50.
+ * @return Postman_Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listRasterCollectionsParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+/**
+ * The "permissions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mapsengineService = new Postman_Google_Service_MapsEngine(...);
+ * $permissions = $mapsengineService->permissions;
+ * </code>
+ */
+class Postman_Google_Service_MapsEngine_RasterCollectionsPermissions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Remove permission entries from an already existing asset.
+ * (permissions.batchDelete)
+ *
+ * @param string $id The ID of the asset from which permissions will be removed.
+ * @param Postman_Google_PermissionsBatchDeleteRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_PermissionsBatchDeleteResponse
+ */
+ public function batchDelete($id, Postman_Google_Service_MapsEngine_PermissionsBatchDeleteRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchDelete', array($params), "Postman_Google_Service_MapsEngine_PermissionsBatchDeleteResponse");
+ }
+
+ /**
+ * Add or update permission entries to an already existing asset.
+ *
+ * An asset can hold up to 20 different permission entries. Each batchInsert
+ * request is atomic. (permissions.batchUpdate)
+ *
+ * @param string $id The ID of the asset to which permissions will be added.
+ * @param Postman_Google_PermissionsBatchUpdateRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_PermissionsBatchUpdateResponse
+ */
+ public function batchUpdate($id, Postman_Google_Service_MapsEngine_PermissionsBatchUpdateRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchUpdate', array($params), "Postman_Google_Service_MapsEngine_PermissionsBatchUpdateResponse");
+ }
+
+ /**
+ * Return all of the permissions for the specified asset.
+ * (permissions.listRasterCollectionsPermissions)
+ *
+ * @param string $id The ID of the asset whose permissions will be listed.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_PermissionsListResponse
+ */
+ public function listRasterCollectionsPermissions($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_MapsEngine_PermissionsListResponse");
+ }
+}
+/**
+ * The "rasters" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mapsengineService = new Postman_Google_Service_MapsEngine(...);
+ * $rasters = $mapsengineService->rasters;
+ * </code>
+ */
+class Postman_Google_Service_MapsEngine_RasterCollectionsRasters_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Remove rasters from an existing raster collection.
+ *
+ * Up to 50 rasters can be included in a single batchDelete request. Each
+ * batchDelete request is atomic. (rasters.batchDelete)
+ *
+ * @param string $id The ID of the raster collection to which these rasters
+ * belong.
+ * @param Postman_Google_RasterCollectionsRasterBatchDeleteRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_RasterCollectionsRastersBatchDeleteResponse
+ */
+ public function batchDelete($id, Postman_Google_Service_MapsEngine_RasterCollectionsRasterBatchDeleteRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchDelete', array($params), "Postman_Google_Service_MapsEngine_RasterCollectionsRastersBatchDeleteResponse");
+ }
+
+ /**
+ * Add rasters to an existing raster collection. Rasters must be successfully
+ * processed in order to be added to a raster collection.
+ *
+ * Up to 50 rasters can be included in a single batchInsert request. Each
+ * batchInsert request is atomic. (rasters.batchInsert)
+ *
+ * @param string $id The ID of the raster collection to which these rasters
+ * belong.
+ * @param Postman_Google_RasterCollectionsRastersBatchInsertRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse
+ */
+ public function batchInsert($id, Postman_Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchInsert', array($params), "Postman_Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse");
+ }
+
+ /**
+ * Return all rasters within a raster collection.
+ * (rasters.listRasterCollectionsRasters)
+ *
+ * @param string $id The ID of the raster collection to which these rasters
+ * belong.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been modified at or after
+ * this time.
+ * @opt_param string createdAfter An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been created at or after
+ * this time.
+ * @opt_param string tags A comma separated list of tags. Returned assets will
+ * contain all the tags from the list.
+ * @opt_param string search An unstructured search string used to filter the set
+ * of results based on asset metadata.
+ * @opt_param string maxResults The maximum number of items to include in a
+ * single response page. The maximum supported value is 100.
+ * @opt_param string pageToken The continuation token, used to page through
+ * large result sets. To get the next page of results, set this parameter to the
+ * value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail An email address representing a user. Returned
+ * assets that have been created by the user associated with the provided email
+ * address.
+ * @opt_param string bbox A bounding box, expressed as "west,south,east,north".
+ * If set, only assets which intersect this bounding box will be returned.
+ * @opt_param string modifiedBefore An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been modified at or before
+ * this time.
+ * @opt_param string createdBefore An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been created at or before
+ * this time.
+ * @opt_param string role The role parameter indicates that the response should
+ * only contain assets where the current user has the specified level of access.
+ * @return Postman_Google_Service_MapsEngine_RasterCollectionsRastersListResponse
+ */
+ public function listRasterCollectionsRasters($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_MapsEngine_RasterCollectionsRastersListResponse");
+ }
+}
+
+/**
+ * The "rasters" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mapsengineService = new Postman_Google_Service_MapsEngine(...);
+ * $rasters = $mapsengineService->rasters;
+ * </code>
+ */
+class Postman_Google_Service_MapsEngine_Rasters_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Delete a raster. (rasters.delete)
+ *
+ * @param string $id The ID of the raster. Only the raster creator or project
+ * owner are permitted to delete. If the raster is included in a layer or
+ * mosaic, the request will fail. Remove it from all parents prior to deleting.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Return metadata for a single raster. (rasters.get)
+ *
+ * @param string $id The ID of the raster.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_Raster
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_MapsEngine_Raster");
+ }
+
+ /**
+ * Return all rasters readable by the current user. (rasters.listRasters)
+ *
+ * @param string $projectId The ID of a Maps Engine project, used to filter the
+ * response. To list all available projects with their IDs, send a Projects:
+ * list request. You can also find your project ID as the value of the
+ * DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been modified at or after
+ * this time.
+ * @opt_param string createdAfter An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been created at or after
+ * this time.
+ * @opt_param string processingStatus
+ * @opt_param string tags A comma separated list of tags. Returned assets will
+ * contain all the tags from the list.
+ * @opt_param string search An unstructured search string used to filter the set
+ * of results based on asset metadata.
+ * @opt_param string maxResults The maximum number of items to include in a
+ * single response page. The maximum supported value is 100.
+ * @opt_param string pageToken The continuation token, used to page through
+ * large result sets. To get the next page of results, set this parameter to the
+ * value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail An email address representing a user. Returned
+ * assets that have been created by the user associated with the provided email
+ * address.
+ * @opt_param string bbox A bounding box, expressed as "west,south,east,north".
+ * If set, only assets which intersect this bounding box will be returned.
+ * @opt_param string modifiedBefore An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been modified at or before
+ * this time.
+ * @opt_param string createdBefore An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been created at or before
+ * this time.
+ * @opt_param string role The role parameter indicates that the response should
+ * only contain assets where the current user has the specified level of access.
+ * @return Postman_Google_Service_MapsEngine_RastersListResponse
+ */
+ public function listRasters($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_MapsEngine_RastersListResponse");
+ }
+
+ /**
+ * Mutate a raster asset. (rasters.patch)
+ *
+ * @param string $id The ID of the raster.
+ * @param Postman_Google_Raster $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function patch($id, Postman_Google_Service_MapsEngine_Raster $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params));
+ }
+
+ /**
+ * Process a raster asset. (rasters.process)
+ *
+ * @param string $id The ID of the raster.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_ProcessResponse
+ */
+ public function process($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('process', array($params), "Postman_Google_Service_MapsEngine_ProcessResponse");
+ }
+
+ /**
+ * Create a skeleton raster asset for upload. (rasters.upload)
+ *
+ * @param Postman_Google_Raster $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_Raster
+ */
+ public function upload(Postman_Google_Service_MapsEngine_Raster $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Postman_Google_Service_MapsEngine_Raster");
+ }
+}
+
+/**
+ * The "files" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mapsengineService = new Postman_Google_Service_MapsEngine(...);
+ * $files = $mapsengineService->files;
+ * </code>
+ */
+class Postman_Google_Service_MapsEngine_RastersFiles_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Upload a file to a raster asset. (files.insert)
+ *
+ * @param string $id The ID of the raster asset.
+ * @param string $filename The file name of this uploaded file.
+ * @param array $optParams Optional parameters.
+ */
+ public function insert($id, $filename, $optParams = array())
+ {
+ $params = array('id' => $id, 'filename' => $filename);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params));
+ }
+}
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mapsengineService = new Postman_Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ * </code>
+ */
+class Postman_Google_Service_MapsEngine_RastersParents_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified rasters. (parents.listRastersParents)
+ *
+ * @param string $id The ID of the rasters whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The continuation token, used to page through
+ * large result sets. To get the next page of results, set this parameter to the
+ * value of nextPageToken from the previous response.
+ * @opt_param string maxResults The maximum number of items to include in a
+ * single response page. The maximum supported value is 50.
+ * @return Postman_Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listRastersParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+/**
+ * The "permissions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mapsengineService = new Postman_Google_Service_MapsEngine(...);
+ * $permissions = $mapsengineService->permissions;
+ * </code>
+ */
+class Postman_Google_Service_MapsEngine_RastersPermissions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Remove permission entries from an already existing asset.
+ * (permissions.batchDelete)
+ *
+ * @param string $id The ID of the asset from which permissions will be removed.
+ * @param Postman_Google_PermissionsBatchDeleteRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_PermissionsBatchDeleteResponse
+ */
+ public function batchDelete($id, Postman_Google_Service_MapsEngine_PermissionsBatchDeleteRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchDelete', array($params), "Postman_Google_Service_MapsEngine_PermissionsBatchDeleteResponse");
+ }
+
+ /**
+ * Add or update permission entries to an already existing asset.
+ *
+ * An asset can hold up to 20 different permission entries. Each batchInsert
+ * request is atomic. (permissions.batchUpdate)
+ *
+ * @param string $id The ID of the asset to which permissions will be added.
+ * @param Postman_Google_PermissionsBatchUpdateRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_PermissionsBatchUpdateResponse
+ */
+ public function batchUpdate($id, Postman_Google_Service_MapsEngine_PermissionsBatchUpdateRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchUpdate', array($params), "Postman_Google_Service_MapsEngine_PermissionsBatchUpdateResponse");
+ }
+
+ /**
+ * Return all of the permissions for the specified asset.
+ * (permissions.listRastersPermissions)
+ *
+ * @param string $id The ID of the asset whose permissions will be listed.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_PermissionsListResponse
+ */
+ public function listRastersPermissions($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_MapsEngine_PermissionsListResponse");
+ }
+}
+
+/**
+ * The "tables" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mapsengineService = new Postman_Google_Service_MapsEngine(...);
+ * $tables = $mapsengineService->tables;
+ * </code>
+ */
+class Postman_Google_Service_MapsEngine_Tables_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Create a table asset. (tables.create)
+ *
+ * @param Postman_Google_Table $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_Table
+ */
+ public function create(Postman_Google_Service_MapsEngine_Table $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_MapsEngine_Table");
+ }
+
+ /**
+ * Delete a table. (tables.delete)
+ *
+ * @param string $id The ID of the table. Only the table creator or project
+ * owner are permitted to delete. If the table is included in a layer, the
+ * request will fail. Remove it from all layers prior to deleting.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Return metadata for a particular table, including the schema. (tables.get)
+ *
+ * @param string $id The ID of the table.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version
+ * @return Postman_Google_Service_MapsEngine_Table
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_MapsEngine_Table");
+ }
+
+ /**
+ * Return all tables readable by the current user. (tables.listTables)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string modifiedAfter An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been modified at or after
+ * this time.
+ * @opt_param string createdAfter An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been created at or after
+ * this time.
+ * @opt_param string processingStatus
+ * @opt_param string projectId The ID of a Maps Engine project, used to filter
+ * the response. To list all available projects with their IDs, send a Projects:
+ * list request. You can also find your project ID as the value of the
+ * DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string tags A comma separated list of tags. Returned assets will
+ * contain all the tags from the list.
+ * @opt_param string search An unstructured search string used to filter the set
+ * of results based on asset metadata.
+ * @opt_param string maxResults The maximum number of items to include in a
+ * single response page. The maximum supported value is 100.
+ * @opt_param string pageToken The continuation token, used to page through
+ * large result sets. To get the next page of results, set this parameter to the
+ * value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail An email address representing a user. Returned
+ * assets that have been created by the user associated with the provided email
+ * address.
+ * @opt_param string bbox A bounding box, expressed as "west,south,east,north".
+ * If set, only assets which intersect this bounding box will be returned.
+ * @opt_param string modifiedBefore An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been modified at or before
+ * this time.
+ * @opt_param string createdBefore An RFC 3339 formatted date-time value (e.g.
+ * 1970-01-01T00:00:00Z). Returned assets will have been created at or before
+ * this time.
+ * @opt_param string role The role parameter indicates that the response should
+ * only contain assets where the current user has the specified level of access.
+ * @return Postman_Google_Service_MapsEngine_TablesListResponse
+ */
+ public function listTables($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_MapsEngine_TablesListResponse");
+ }
+
+ /**
+ * Mutate a table asset. (tables.patch)
+ *
+ * @param string $id The ID of the table.
+ * @param Postman_Google_Table $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function patch($id, Postman_Google_Service_MapsEngine_Table $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params));
+ }
+
+ /**
+ * Process a table asset. (tables.process)
+ *
+ * @param string $id The ID of the table.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_ProcessResponse
+ */
+ public function process($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('process', array($params), "Postman_Google_Service_MapsEngine_ProcessResponse");
+ }
+
+ /**
+ * Create a placeholder table asset to which table files can be uploaded. Once
+ * the placeholder has been created, files are uploaded to the
+ * https://www.googleapis.com/upload/mapsengine/v1/tables/table_id/files
+ * endpoint. See Table Upload in the Developer's Guide or Table.files: insert in
+ * the reference documentation for more information. (tables.upload)
+ *
+ * @param Postman_Google_Table $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_Table
+ */
+ public function upload(Postman_Google_Service_MapsEngine_Table $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Postman_Google_Service_MapsEngine_Table");
+ }
+}
+
+/**
+ * The "features" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mapsengineService = new Postman_Google_Service_MapsEngine(...);
+ * $features = $mapsengineService->features;
+ * </code>
+ */
+class Postman_Google_Service_MapsEngine_TablesFeatures_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Delete all features matching the given IDs. (features.batchDelete)
+ *
+ * @param string $id The ID of the table that contains the features to be
+ * deleted.
+ * @param Postman_Google_FeaturesBatchDeleteRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function batchDelete($id, Postman_Google_Service_MapsEngine_FeaturesBatchDeleteRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchDelete', array($params));
+ }
+
+ /**
+ * Append features to an existing table.
+ *
+ * A single batchInsert request can create:
+ *
+ * - Up to 50 features. - A combined total of 10 000 vertices. Feature limits
+ * are documented in the Supported data formats and limits article of the Google
+ * Maps Engine help center. Note that free and paid accounts have different
+ * limits.
+ *
+ * For more information about inserting features, read Creating features in the
+ * Google Maps Engine developer's guide. (features.batchInsert)
+ *
+ * @param string $id The ID of the table to append the features to.
+ * @param Postman_Google_FeaturesBatchInsertRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function batchInsert($id, Postman_Google_Service_MapsEngine_FeaturesBatchInsertRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchInsert', array($params));
+ }
+
+ /**
+ * Update the supplied features.
+ *
+ * A single batchPatch request can update:
+ *
+ * - Up to 50 features. - A combined total of 10 000 vertices. Feature limits
+ * are documented in the Supported data formats and limits article of the Google
+ * Maps Engine help center. Note that free and paid accounts have different
+ * limits.
+ *
+ * Feature updates use HTTP PATCH semantics:
+ *
+ * - A supplied value replaces an existing value (if any) in that field. -
+ * Omitted fields remain unchanged. - Complex values in geometries and
+ * properties must be replaced as atomic units. For example, providing just the
+ * coordinates of a geometry is not allowed; the complete geometry, including
+ * type, must be supplied. - Setting a property's value to null deletes that
+ * property. For more information about updating features, read Updating
+ * features in the Google Maps Engine developer's guide. (features.batchPatch)
+ *
+ * @param string $id The ID of the table containing the features to be patched.
+ * @param Postman_Google_FeaturesBatchPatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function batchPatch($id, Postman_Google_Service_MapsEngine_FeaturesBatchPatchRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchPatch', array($params));
+ }
+
+ /**
+ * Return a single feature, given its ID. (features.get)
+ *
+ * @param string $tableId The ID of the table.
+ * @param string $id The ID of the feature to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version The table version to access. See Accessing Public
+ * Data for information.
+ * @opt_param string select A SQL-like projection clause used to specify
+ * returned properties. If this parameter is not included, all properties are
+ * returned.
+ * @return Postman_Google_Service_MapsEngine_Feature
+ */
+ public function get($tableId, $id, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_MapsEngine_Feature");
+ }
+
+ /**
+ * Return all features readable by the current user.
+ * (features.listTablesFeatures)
+ *
+ * @param string $id The ID of the table to which these features belong.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy An SQL-like order by clause used to sort results.
+ * If this parameter is not included, the order of features is undefined.
+ * @opt_param string intersects A geometry literal that specifies the spatial
+ * restriction of the query.
+ * @opt_param string maxResults The maximum number of items to include in the
+ * response, used for paging. The maximum supported value is 1000.
+ * @opt_param string pageToken The continuation token, used to page through
+ * large result sets. To get the next page of results, set this parameter to the
+ * value of nextPageToken from the previous response.
+ * @opt_param string version The table version to access. See Accessing Public
+ * Data for information.
+ * @opt_param string limit The total number of features to return from the
+ * query, irrespective of the number of pages.
+ * @opt_param string include A comma separated list of optional data to include.
+ * Optional data available: schema.
+ * @opt_param string where An SQL-like predicate used to filter results.
+ * @opt_param string select A SQL-like projection clause used to specify
+ * returned properties. If this parameter is not included, all properties are
+ * returned.
+ * @return Postman_Google_Service_MapsEngine_FeaturesListResponse
+ */
+ public function listTablesFeatures($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_MapsEngine_FeaturesListResponse");
+ }
+}
+/**
+ * The "files" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mapsengineService = new Postman_Google_Service_MapsEngine(...);
+ * $files = $mapsengineService->files;
+ * </code>
+ */
+class Postman_Google_Service_MapsEngine_TablesFiles_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Upload a file to a placeholder table asset. See Table Upload in the
+ * Developer's Guide for more information. Supported file types are listed in
+ * the Supported data formats and limits article of the Google Maps Engine help
+ * center. (files.insert)
+ *
+ * @param string $id The ID of the table asset.
+ * @param string $filename The file name of this uploaded file.
+ * @param array $optParams Optional parameters.
+ */
+ public function insert($id, $filename, $optParams = array())
+ {
+ $params = array('id' => $id, 'filename' => $filename);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params));
+ }
+}
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mapsengineService = new Postman_Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ * </code>
+ */
+class Postman_Google_Service_MapsEngine_TablesParents_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified table. (parents.listTablesParents)
+ *
+ * @param string $id The ID of the table whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The continuation token, used to page through
+ * large result sets. To get the next page of results, set this parameter to the
+ * value of nextPageToken from the previous response.
+ * @opt_param string maxResults The maximum number of items to include in a
+ * single response page. The maximum supported value is 50.
+ * @return Postman_Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listTablesParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+/**
+ * The "permissions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mapsengineService = new Postman_Google_Service_MapsEngine(...);
+ * $permissions = $mapsengineService->permissions;
+ * </code>
+ */
+class Postman_Google_Service_MapsEngine_TablesPermissions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Remove permission entries from an already existing asset.
+ * (permissions.batchDelete)
+ *
+ * @param string $id The ID of the asset from which permissions will be removed.
+ * @param Postman_Google_PermissionsBatchDeleteRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_PermissionsBatchDeleteResponse
+ */
+ public function batchDelete($id, Postman_Google_Service_MapsEngine_PermissionsBatchDeleteRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchDelete', array($params), "Postman_Google_Service_MapsEngine_PermissionsBatchDeleteResponse");
+ }
+
+ /**
+ * Add or update permission entries to an already existing asset.
+ *
+ * An asset can hold up to 20 different permission entries. Each batchInsert
+ * request is atomic. (permissions.batchUpdate)
+ *
+ * @param string $id The ID of the asset to which permissions will be added.
+ * @param Postman_Google_PermissionsBatchUpdateRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_PermissionsBatchUpdateResponse
+ */
+ public function batchUpdate($id, Postman_Google_Service_MapsEngine_PermissionsBatchUpdateRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchUpdate', array($params), "Postman_Google_Service_MapsEngine_PermissionsBatchUpdateResponse");
+ }
+
+ /**
+ * Return all of the permissions for the specified asset.
+ * (permissions.listTablesPermissions)
+ *
+ * @param string $id The ID of the asset whose permissions will be listed.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_MapsEngine_PermissionsListResponse
+ */
+ public function listTablesPermissions($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_MapsEngine_PermissionsListResponse");
+ }
+}
+
+
+
+
+class Postman_Google_Service_MapsEngine_AcquisitionTime extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $end;
+ public $precision;
+ public $start;
+
+
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setPrecision($precision)
+ {
+ $this->precision = $precision;
+ }
+ public function getPrecision()
+ {
+ return $this->precision;
+ }
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_Asset extends Postman_Google_Collection
+{
+ protected $collection_key = 'tags';
+ protected $internal_gapi_mappings = array(
+ );
+ public $bbox;
+ public $creationTime;
+ public $creatorEmail;
+ public $description;
+ public $etag;
+ public $id;
+ public $lastModifiedTime;
+ public $lastModifierEmail;
+ public $name;
+ public $projectId;
+ public $resource;
+ public $tags;
+ public $type;
+ public $writersCanEditPermissions;
+
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setCreatorEmail($creatorEmail)
+ {
+ $this->creatorEmail = $creatorEmail;
+ }
+ public function getCreatorEmail()
+ {
+ return $this->creatorEmail;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+ public function setLastModifierEmail($lastModifierEmail)
+ {
+ $this->lastModifierEmail = $lastModifierEmail;
+ }
+ public function getLastModifierEmail()
+ {
+ return $this->lastModifierEmail;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setResource($resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+ public function getTags()
+ {
+ return $this->tags;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setWritersCanEditPermissions($writersCanEditPermissions)
+ {
+ $this->writersCanEditPermissions = $writersCanEditPermissions;
+ }
+ public function getWritersCanEditPermissions()
+ {
+ return $this->writersCanEditPermissions;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_AssetsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'assets';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $assetsType = 'Postman_Google_Service_MapsEngine_Asset';
+ protected $assetsDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setAssets($assets)
+ {
+ $this->assets = $assets;
+ }
+ public function getAssets()
+ {
+ return $this->assets;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_Border extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $color;
+ public $opacity;
+ public $width;
+
+
+ public function setColor($color)
+ {
+ $this->color = $color;
+ }
+ public function getColor()
+ {
+ return $this->color;
+ }
+ public function setOpacity($opacity)
+ {
+ $this->opacity = $opacity;
+ }
+ public function getOpacity()
+ {
+ return $this->opacity;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_Color extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $color;
+ public $opacity;
+
+
+ public function setColor($color)
+ {
+ $this->color = $color;
+ }
+ public function getColor()
+ {
+ return $this->color;
+ }
+ public function setOpacity($opacity)
+ {
+ $this->opacity = $opacity;
+ }
+ public function getOpacity()
+ {
+ return $this->opacity;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_Datasource extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_DisplayRule extends Postman_Google_Collection
+{
+ protected $collection_key = 'filters';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $filtersType = 'Postman_Google_Service_MapsEngine_Filter';
+ protected $filtersDataType = 'array';
+ protected $lineOptionsType = 'Postman_Google_Service_MapsEngine_LineStyle';
+ protected $lineOptionsDataType = '';
+ public $name;
+ protected $pointOptionsType = 'Postman_Google_Service_MapsEngine_PointStyle';
+ protected $pointOptionsDataType = '';
+ protected $polygonOptionsType = 'Postman_Google_Service_MapsEngine_PolygonStyle';
+ protected $polygonOptionsDataType = '';
+ protected $zoomLevelsType = 'Postman_Google_Service_MapsEngine_ZoomLevels';
+ protected $zoomLevelsDataType = '';
+
+
+ public function setFilters($filters)
+ {
+ $this->filters = $filters;
+ }
+ public function getFilters()
+ {
+ return $this->filters;
+ }
+ public function setLineOptions(Postman_Google_Service_MapsEngine_LineStyle $lineOptions)
+ {
+ $this->lineOptions = $lineOptions;
+ }
+ public function getLineOptions()
+ {
+ return $this->lineOptions;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPointOptions(Postman_Google_Service_MapsEngine_PointStyle $pointOptions)
+ {
+ $this->pointOptions = $pointOptions;
+ }
+ public function getPointOptions()
+ {
+ return $this->pointOptions;
+ }
+ public function setPolygonOptions(Postman_Google_Service_MapsEngine_PolygonStyle $polygonOptions)
+ {
+ $this->polygonOptions = $polygonOptions;
+ }
+ public function getPolygonOptions()
+ {
+ return $this->polygonOptions;
+ }
+ public function setZoomLevels(Postman_Google_Service_MapsEngine_ZoomLevels $zoomLevels)
+ {
+ $this->zoomLevels = $zoomLevels;
+ }
+ public function getZoomLevels()
+ {
+ return $this->zoomLevels;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_Feature extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $geometryType = 'Postman_Google_Service_MapsEngine_GeoJsonGeometry';
+ protected $geometryDataType = '';
+ public $properties;
+ public $type;
+
+
+ public function setGeometry(Postman_Google_Service_MapsEngine_GeoJsonGeometry $geometry)
+ {
+ $this->geometry = $geometry;
+ }
+ public function getGeometry()
+ {
+ return $this->geometry;
+ }
+ public function setProperties($properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_FeatureInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $content;
+
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_FeaturesBatchDeleteRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'primaryKeys';
+ protected $internal_gapi_mappings = array(
+ "gxIds" => "gx_ids",
+ );
+ public $gxIds;
+ public $primaryKeys;
+
+
+ public function setGxIds($gxIds)
+ {
+ $this->gxIds = $gxIds;
+ }
+ public function getGxIds()
+ {
+ return $this->gxIds;
+ }
+ public function setPrimaryKeys($primaryKeys)
+ {
+ $this->primaryKeys = $primaryKeys;
+ }
+ public function getPrimaryKeys()
+ {
+ return $this->primaryKeys;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_FeaturesBatchInsertRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'features';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $featuresType = 'Postman_Google_Service_MapsEngine_Feature';
+ protected $featuresDataType = 'array';
+ public $normalizeGeometries;
+
+
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+ public function setNormalizeGeometries($normalizeGeometries)
+ {
+ $this->normalizeGeometries = $normalizeGeometries;
+ }
+ public function getNormalizeGeometries()
+ {
+ return $this->normalizeGeometries;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_FeaturesBatchPatchRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'features';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $featuresType = 'Postman_Google_Service_MapsEngine_Feature';
+ protected $featuresDataType = 'array';
+ public $normalizeGeometries;
+
+
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+ public function setNormalizeGeometries($normalizeGeometries)
+ {
+ $this->normalizeGeometries = $normalizeGeometries;
+ }
+ public function getNormalizeGeometries()
+ {
+ return $this->normalizeGeometries;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_FeaturesListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'features';
+ protected $internal_gapi_mappings = array(
+ );
+ public $allowedQueriesPerSecond;
+ protected $featuresType = 'Postman_Google_Service_MapsEngine_Feature';
+ protected $featuresDataType = 'array';
+ public $nextPageToken;
+ protected $schemaType = 'Postman_Google_Service_MapsEngine_Schema';
+ protected $schemaDataType = '';
+ public $type;
+
+
+ public function setAllowedQueriesPerSecond($allowedQueriesPerSecond)
+ {
+ $this->allowedQueriesPerSecond = $allowedQueriesPerSecond;
+ }
+ public function getAllowedQueriesPerSecond()
+ {
+ return $this->allowedQueriesPerSecond;
+ }
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSchema(Postman_Google_Service_MapsEngine_Schema $schema)
+ {
+ $this->schema = $schema;
+ }
+ public function getSchema()
+ {
+ return $this->schema;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_Filter extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $column;
+ public $operator;
+ public $value;
+
+
+ public function setColumn($column)
+ {
+ $this->column = $column;
+ }
+ public function getColumn()
+ {
+ return $this->column;
+ }
+ public function setOperator($operator)
+ {
+ $this->operator = $operator;
+ }
+ public function getOperator()
+ {
+ return $this->operator;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_GeoJsonGeometry extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $type;
+
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_GeoJsonGeometryCollection extends Postman_Google_Service_MapsEngine_GeoJsonGeometry
+{
+ protected $collection_key = 'geometries';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $geometriesType = 'Postman_Google_Service_MapsEngine_GeoJsonGeometry';
+ protected $geometriesDataType = 'array';
+ protected function gapiInit()
+ {
+ $this->type = 'GeometryCollection';
+ }
+
+ public function setGeometries($geometries)
+ {
+ $this->geometries = $geometries;
+ }
+ public function getGeometries()
+ {
+ return $this->geometries;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_GeoJsonLineString extends Postman_Google_Service_MapsEngine_GeoJsonGeometry
+{
+ protected $collection_key = 'coordinates';
+ protected $internal_gapi_mappings = array(
+ );
+ public $coordinates;
+ protected function gapiInit()
+ {
+ $this->type = 'LineString';
+ }
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_GeoJsonMultiLineString extends Postman_Google_Service_MapsEngine_GeoJsonGeometry
+{
+ protected $collection_key = 'coordinates';
+ protected $internal_gapi_mappings = array(
+ );
+ public $coordinates;
+ protected function gapiInit()
+ {
+ $this->type = 'MultiLineString';
+ }
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_GeoJsonMultiPoint extends Postman_Google_Service_MapsEngine_GeoJsonGeometry
+{
+ protected $collection_key = 'coordinates';
+ protected $internal_gapi_mappings = array(
+ );
+ public $coordinates;
+ protected function gapiInit()
+ {
+ $this->type = 'MultiPoint';
+ }
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_GeoJsonMultiPolygon extends Postman_Google_Service_MapsEngine_GeoJsonGeometry
+{
+ protected $collection_key = 'coordinates';
+ protected $internal_gapi_mappings = array(
+ );
+ public $coordinates;
+ protected function gapiInit()
+ {
+ $this->type = 'MultiPolygon';
+ }
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_GeoJsonPoint extends Postman_Google_Service_MapsEngine_GeoJsonGeometry
+{
+ protected $collection_key = 'coordinates';
+ protected $internal_gapi_mappings = array(
+ );
+ public $coordinates;
+ protected function gapiInit()
+ {
+ $this->type = 'Point';
+ }
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_GeoJsonPolygon extends Postman_Google_Service_MapsEngine_GeoJsonGeometry
+{
+ protected $collection_key = 'coordinates';
+ protected $internal_gapi_mappings = array(
+ );
+ public $coordinates;
+ protected function gapiInit()
+ {
+ $this->type = 'Polygon';
+ }
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_GeoJsonProperties extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_MapsEngine_Icon extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ public $id;
+ public $name;
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_IconStyle extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $name;
+ protected $scaledShapeType = 'Postman_Google_Service_MapsEngine_ScaledShape';
+ protected $scaledShapeDataType = '';
+ protected $scalingFunctionType = 'Postman_Google_Service_MapsEngine_ScalingFunction';
+ protected $scalingFunctionDataType = '';
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setScaledShape(Postman_Google_Service_MapsEngine_ScaledShape $scaledShape)
+ {
+ $this->scaledShape = $scaledShape;
+ }
+ public function getScaledShape()
+ {
+ return $this->scaledShape;
+ }
+ public function setScalingFunction(Postman_Google_Service_MapsEngine_ScalingFunction $scalingFunction)
+ {
+ $this->scalingFunction = $scalingFunction;
+ }
+ public function getScalingFunction()
+ {
+ return $this->scalingFunction;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_IconsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'icons';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $iconsType = 'Postman_Google_Service_MapsEngine_Icon';
+ protected $iconsDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setIcons($icons)
+ {
+ $this->icons = $icons;
+ }
+ public function getIcons()
+ {
+ return $this->icons;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_LabelStyle extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $color;
+ public $column;
+ public $fontStyle;
+ public $fontWeight;
+ public $opacity;
+ protected $outlineType = 'Postman_Google_Service_MapsEngine_Color';
+ protected $outlineDataType = '';
+ public $size;
+
+
+ public function setColor($color)
+ {
+ $this->color = $color;
+ }
+ public function getColor()
+ {
+ return $this->color;
+ }
+ public function setColumn($column)
+ {
+ $this->column = $column;
+ }
+ public function getColumn()
+ {
+ return $this->column;
+ }
+ public function setFontStyle($fontStyle)
+ {
+ $this->fontStyle = $fontStyle;
+ }
+ public function getFontStyle()
+ {
+ return $this->fontStyle;
+ }
+ public function setFontWeight($fontWeight)
+ {
+ $this->fontWeight = $fontWeight;
+ }
+ public function getFontWeight()
+ {
+ return $this->fontWeight;
+ }
+ public function setOpacity($opacity)
+ {
+ $this->opacity = $opacity;
+ }
+ public function getOpacity()
+ {
+ return $this->opacity;
+ }
+ public function setOutline(Postman_Google_Service_MapsEngine_Color $outline)
+ {
+ $this->outline = $outline;
+ }
+ public function getOutline()
+ {
+ return $this->outline;
+ }
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_Layer extends Postman_Google_Collection
+{
+ protected $collection_key = 'tags';
+ protected $internal_gapi_mappings = array(
+ );
+ public $bbox;
+ public $creationTime;
+ public $creatorEmail;
+ public $datasourceType;
+ protected $datasourcesType = 'Postman_Google_Service_MapsEngine_Datasource';
+ protected $datasourcesDataType = 'array';
+ public $description;
+ public $draftAccessList;
+ public $etag;
+ public $id;
+ public $lastModifiedTime;
+ public $lastModifierEmail;
+ public $layerType;
+ public $name;
+ public $processingStatus;
+ public $projectId;
+ public $publishedAccessList;
+ public $publishingStatus;
+ protected $styleType = 'Postman_Google_Service_MapsEngine_VectorStyle';
+ protected $styleDataType = '';
+ public $tags;
+ public $writersCanEditPermissions;
+
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setCreatorEmail($creatorEmail)
+ {
+ $this->creatorEmail = $creatorEmail;
+ }
+ public function getCreatorEmail()
+ {
+ return $this->creatorEmail;
+ }
+ public function setDatasourceType($datasourceType)
+ {
+ $this->datasourceType = $datasourceType;
+ }
+ public function getDatasourceType()
+ {
+ return $this->datasourceType;
+ }
+ public function setDatasources(Postman_Google_Service_MapsEngine_Datasource $datasources)
+ {
+ $this->datasources = $datasources;
+ }
+ public function getDatasources()
+ {
+ return $this->datasources;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDraftAccessList($draftAccessList)
+ {
+ $this->draftAccessList = $draftAccessList;
+ }
+ public function getDraftAccessList()
+ {
+ return $this->draftAccessList;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+ public function setLastModifierEmail($lastModifierEmail)
+ {
+ $this->lastModifierEmail = $lastModifierEmail;
+ }
+ public function getLastModifierEmail()
+ {
+ return $this->lastModifierEmail;
+ }
+ public function setLayerType($layerType)
+ {
+ $this->layerType = $layerType;
+ }
+ public function getLayerType()
+ {
+ return $this->layerType;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setPublishedAccessList($publishedAccessList)
+ {
+ $this->publishedAccessList = $publishedAccessList;
+ }
+ public function getPublishedAccessList()
+ {
+ return $this->publishedAccessList;
+ }
+ public function setPublishingStatus($publishingStatus)
+ {
+ $this->publishingStatus = $publishingStatus;
+ }
+ public function getPublishingStatus()
+ {
+ return $this->publishingStatus;
+ }
+ public function setStyle(Postman_Google_Service_MapsEngine_VectorStyle $style)
+ {
+ $this->style = $style;
+ }
+ public function getStyle()
+ {
+ return $this->style;
+ }
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+ public function getTags()
+ {
+ return $this->tags;
+ }
+ public function setWritersCanEditPermissions($writersCanEditPermissions)
+ {
+ $this->writersCanEditPermissions = $writersCanEditPermissions;
+ }
+ public function getWritersCanEditPermissions()
+ {
+ return $this->writersCanEditPermissions;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_LayersListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'layers';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $layersType = 'Postman_Google_Service_MapsEngine_Layer';
+ protected $layersDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setLayers($layers)
+ {
+ $this->layers = $layers;
+ }
+ public function getLayers()
+ {
+ return $this->layers;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_LineStyle extends Postman_Google_Collection
+{
+ protected $collection_key = 'dash';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $borderType = 'Postman_Google_Service_MapsEngine_Border';
+ protected $borderDataType = '';
+ public $dash;
+ protected $labelType = 'Postman_Google_Service_MapsEngine_LabelStyle';
+ protected $labelDataType = '';
+ protected $strokeType = 'Postman_Google_Service_MapsEngine_LineStyleStroke';
+ protected $strokeDataType = '';
+
+
+ public function setBorder(Postman_Google_Service_MapsEngine_Border $border)
+ {
+ $this->border = $border;
+ }
+ public function getBorder()
+ {
+ return $this->border;
+ }
+ public function setDash($dash)
+ {
+ $this->dash = $dash;
+ }
+ public function getDash()
+ {
+ return $this->dash;
+ }
+ public function setLabel(Postman_Google_Service_MapsEngine_LabelStyle $label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
+ public function setStroke(Postman_Google_Service_MapsEngine_LineStyleStroke $stroke)
+ {
+ $this->stroke = $stroke;
+ }
+ public function getStroke()
+ {
+ return $this->stroke;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_LineStyleStroke extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $color;
+ public $opacity;
+ public $width;
+
+
+ public function setColor($color)
+ {
+ $this->color = $color;
+ }
+ public function getColor()
+ {
+ return $this->color;
+ }
+ public function setOpacity($opacity)
+ {
+ $this->opacity = $opacity;
+ }
+ public function getOpacity()
+ {
+ return $this->opacity;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_Map extends Postman_Google_Collection
+{
+ protected $collection_key = 'versions';
+ protected $internal_gapi_mappings = array(
+ );
+ public $bbox;
+ protected $contentsType = 'Postman_Google_Service_MapsEngine_MapItem';
+ protected $contentsDataType = '';
+ public $creationTime;
+ public $creatorEmail;
+ public $defaultViewport;
+ public $description;
+ public $draftAccessList;
+ public $etag;
+ public $id;
+ public $lastModifiedTime;
+ public $lastModifierEmail;
+ public $name;
+ public $processingStatus;
+ public $projectId;
+ public $publishedAccessList;
+ public $publishingStatus;
+ public $tags;
+ public $versions;
+ public $writersCanEditPermissions;
+
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+ public function setContents(Postman_Google_Service_MapsEngine_MapItem $contents)
+ {
+ $this->contents = $contents;
+ }
+ public function getContents()
+ {
+ return $this->contents;
+ }
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setCreatorEmail($creatorEmail)
+ {
+ $this->creatorEmail = $creatorEmail;
+ }
+ public function getCreatorEmail()
+ {
+ return $this->creatorEmail;
+ }
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDraftAccessList($draftAccessList)
+ {
+ $this->draftAccessList = $draftAccessList;
+ }
+ public function getDraftAccessList()
+ {
+ return $this->draftAccessList;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+ public function setLastModifierEmail($lastModifierEmail)
+ {
+ $this->lastModifierEmail = $lastModifierEmail;
+ }
+ public function getLastModifierEmail()
+ {
+ return $this->lastModifierEmail;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setPublishedAccessList($publishedAccessList)
+ {
+ $this->publishedAccessList = $publishedAccessList;
+ }
+ public function getPublishedAccessList()
+ {
+ return $this->publishedAccessList;
+ }
+ public function setPublishingStatus($publishingStatus)
+ {
+ $this->publishingStatus = $publishingStatus;
+ }
+ public function getPublishingStatus()
+ {
+ return $this->publishingStatus;
+ }
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+ public function getTags()
+ {
+ return $this->tags;
+ }
+ public function setVersions($versions)
+ {
+ $this->versions = $versions;
+ }
+ public function getVersions()
+ {
+ return $this->versions;
+ }
+ public function setWritersCanEditPermissions($writersCanEditPermissions)
+ {
+ $this->writersCanEditPermissions = $writersCanEditPermissions;
+ }
+ public function getWritersCanEditPermissions()
+ {
+ return $this->writersCanEditPermissions;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_MapFolder extends Postman_Google_Service_MapsEngine_MapItem
+{
+ protected $collection_key = 'defaultViewport';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $contentsType = 'Postman_Google_Service_MapsEngine_MapItem';
+ protected $contentsDataType = 'array';
+ public $defaultViewport;
+ public $expandable;
+ public $key;
+ public $name;
+ public $visibility;
+ protected function gapiInit()
+ {
+ $this->type = 'folder';
+ }
+
+ public function setContents($contents)
+ {
+ $this->contents = $contents;
+ }
+ public function getContents()
+ {
+ return $this->contents;
+ }
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+ public function setExpandable($expandable)
+ {
+ $this->expandable = $expandable;
+ }
+ public function getExpandable()
+ {
+ return $this->expandable;
+ }
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_MapItem extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $type;
+
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_MapKmlLink extends Postman_Google_Service_MapsEngine_MapItem
+{
+ protected $collection_key = 'defaultViewport';
+ protected $internal_gapi_mappings = array(
+ );
+ public $defaultViewport;
+ public $kmlUrl;
+ public $name;
+ public $visibility;
+ protected function gapiInit()
+ {
+ $this->type = 'kmlLink';
+ }
+
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+ public function setKmlUrl($kmlUrl)
+ {
+ $this->kmlUrl = $kmlUrl;
+ }
+ public function getKmlUrl()
+ {
+ return $this->kmlUrl;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_MapLayer extends Postman_Google_Service_MapsEngine_MapItem
+{
+ protected $collection_key = 'defaultViewport';
+ protected $internal_gapi_mappings = array(
+ );
+ public $defaultViewport;
+ public $id;
+ public $key;
+ public $name;
+ public $visibility;
+ protected function gapiInit()
+ {
+ $this->type = 'layer';
+ }
+
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_MapsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'maps';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $mapsType = 'Postman_Google_Service_MapsEngine_Map';
+ protected $mapsDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setMaps($maps)
+ {
+ $this->maps = $maps;
+ }
+ public function getMaps()
+ {
+ return $this->maps;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_MapsengineFile extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $filename;
+ public $size;
+ public $uploadStatus;
+
+
+ public function setFilename($filename)
+ {
+ $this->filename = $filename;
+ }
+ public function getFilename()
+ {
+ return $this->filename;
+ }
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setUploadStatus($uploadStatus)
+ {
+ $this->uploadStatus = $uploadStatus;
+ }
+ public function getUploadStatus()
+ {
+ return $this->uploadStatus;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_Parent extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_ParentsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'parents';
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ protected $parentsType = 'Postman_Google_Service_MapsEngine_Parent';
+ protected $parentsDataType = 'array';
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setParents($parents)
+ {
+ $this->parents = $parents;
+ }
+ public function getParents()
+ {
+ return $this->parents;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_Permission extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $discoverable;
+ public $id;
+ public $role;
+ public $type;
+
+
+ public function setDiscoverable($discoverable)
+ {
+ $this->discoverable = $discoverable;
+ }
+ public function getDiscoverable()
+ {
+ return $this->discoverable;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_PermissionsBatchDeleteRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'ids';
+ protected $internal_gapi_mappings = array(
+ );
+ public $ids;
+
+
+ public function setIds($ids)
+ {
+ $this->ids = $ids;
+ }
+ public function getIds()
+ {
+ return $this->ids;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_PermissionsBatchDeleteResponse extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_MapsEngine_PermissionsBatchUpdateRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'permissions';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $permissionsType = 'Postman_Google_Service_MapsEngine_Permission';
+ protected $permissionsDataType = 'array';
+
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_PermissionsBatchUpdateResponse extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_MapsEngine_PermissionsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'permissions';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $permissionsType = 'Postman_Google_Service_MapsEngine_Permission';
+ protected $permissionsDataType = 'array';
+
+
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_PointStyle extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $iconType = 'Postman_Google_Service_MapsEngine_IconStyle';
+ protected $iconDataType = '';
+ protected $labelType = 'Postman_Google_Service_MapsEngine_LabelStyle';
+ protected $labelDataType = '';
+
+
+ public function setIcon(Postman_Google_Service_MapsEngine_IconStyle $icon)
+ {
+ $this->icon = $icon;
+ }
+ public function getIcon()
+ {
+ return $this->icon;
+ }
+ public function setLabel(Postman_Google_Service_MapsEngine_LabelStyle $label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_PolygonStyle extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $fillType = 'Postman_Google_Service_MapsEngine_Color';
+ protected $fillDataType = '';
+ protected $labelType = 'Postman_Google_Service_MapsEngine_LabelStyle';
+ protected $labelDataType = '';
+ protected $strokeType = 'Postman_Google_Service_MapsEngine_Border';
+ protected $strokeDataType = '';
+
+
+ public function setFill(Postman_Google_Service_MapsEngine_Color $fill)
+ {
+ $this->fill = $fill;
+ }
+ public function getFill()
+ {
+ return $this->fill;
+ }
+ public function setLabel(Postman_Google_Service_MapsEngine_LabelStyle $label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
+ public function setStroke(Postman_Google_Service_MapsEngine_Border $stroke)
+ {
+ $this->stroke = $stroke;
+ }
+ public function getStroke()
+ {
+ return $this->stroke;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_ProcessResponse extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_MapsEngine_Project extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $name;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_ProjectsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'projects';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $projectsType = 'Postman_Google_Service_MapsEngine_Project';
+ protected $projectsDataType = 'array';
+
+
+ public function setProjects($projects)
+ {
+ $this->projects = $projects;
+ }
+ public function getProjects()
+ {
+ return $this->projects;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_PublishResponse extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_MapsEngine_PublishedLayer extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ public $id;
+ public $layerType;
+ public $name;
+ public $projectId;
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLayerType($layerType)
+ {
+ $this->layerType = $layerType;
+ }
+ public function getLayerType()
+ {
+ return $this->layerType;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_PublishedLayersListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'layers';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $layersType = 'Postman_Google_Service_MapsEngine_PublishedLayer';
+ protected $layersDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setLayers($layers)
+ {
+ $this->layers = $layers;
+ }
+ public function getLayers()
+ {
+ return $this->layers;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_PublishedMap extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $contentsType = 'Postman_Google_Service_MapsEngine_MapItem';
+ protected $contentsDataType = '';
+ public $defaultViewport;
+ public $description;
+ public $id;
+ public $name;
+ public $projectId;
+
+
+ public function setContents(Postman_Google_Service_MapsEngine_MapItem $contents)
+ {
+ $this->contents = $contents;
+ }
+ public function getContents()
+ {
+ return $this->contents;
+ }
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_PublishedMapsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'maps';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $mapsType = 'Postman_Google_Service_MapsEngine_PublishedMap';
+ protected $mapsDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setMaps($maps)
+ {
+ $this->maps = $maps;
+ }
+ public function getMaps()
+ {
+ return $this->maps;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_Raster extends Postman_Google_Collection
+{
+ protected $collection_key = 'files';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $acquisitionTimeType = 'Postman_Google_Service_MapsEngine_AcquisitionTime';
+ protected $acquisitionTimeDataType = '';
+ public $attribution;
+ public $bbox;
+ public $creationTime;
+ public $creatorEmail;
+ public $description;
+ public $draftAccessList;
+ public $etag;
+ protected $filesType = 'Postman_Google_Service_MapsEngine_MapsengineFile';
+ protected $filesDataType = 'array';
+ public $id;
+ public $lastModifiedTime;
+ public $lastModifierEmail;
+ public $maskType;
+ public $name;
+ public $processingStatus;
+ public $projectId;
+ public $rasterType;
+ public $tags;
+ public $writersCanEditPermissions;
+
+
+ public function setAcquisitionTime(Postman_Google_Service_MapsEngine_AcquisitionTime $acquisitionTime)
+ {
+ $this->acquisitionTime = $acquisitionTime;
+ }
+ public function getAcquisitionTime()
+ {
+ return $this->acquisitionTime;
+ }
+ public function setAttribution($attribution)
+ {
+ $this->attribution = $attribution;
+ }
+ public function getAttribution()
+ {
+ return $this->attribution;
+ }
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setCreatorEmail($creatorEmail)
+ {
+ $this->creatorEmail = $creatorEmail;
+ }
+ public function getCreatorEmail()
+ {
+ return $this->creatorEmail;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDraftAccessList($draftAccessList)
+ {
+ $this->draftAccessList = $draftAccessList;
+ }
+ public function getDraftAccessList()
+ {
+ return $this->draftAccessList;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setFiles($files)
+ {
+ $this->files = $files;
+ }
+ public function getFiles()
+ {
+ return $this->files;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+ public function setLastModifierEmail($lastModifierEmail)
+ {
+ $this->lastModifierEmail = $lastModifierEmail;
+ }
+ public function getLastModifierEmail()
+ {
+ return $this->lastModifierEmail;
+ }
+ public function setMaskType($maskType)
+ {
+ $this->maskType = $maskType;
+ }
+ public function getMaskType()
+ {
+ return $this->maskType;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setRasterType($rasterType)
+ {
+ $this->rasterType = $rasterType;
+ }
+ public function getRasterType()
+ {
+ return $this->rasterType;
+ }
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+ public function getTags()
+ {
+ return $this->tags;
+ }
+ public function setWritersCanEditPermissions($writersCanEditPermissions)
+ {
+ $this->writersCanEditPermissions = $writersCanEditPermissions;
+ }
+ public function getWritersCanEditPermissions()
+ {
+ return $this->writersCanEditPermissions;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_RasterCollection extends Postman_Google_Collection
+{
+ protected $collection_key = 'bbox';
+ protected $internal_gapi_mappings = array(
+ );
+ public $attribution;
+ public $bbox;
+ public $creationTime;
+ public $creatorEmail;
+ public $description;
+ public $draftAccessList;
+ public $etag;
+ public $id;
+ public $lastModifiedTime;
+ public $lastModifierEmail;
+ public $mosaic;
+ public $name;
+ public $processingStatus;
+ public $projectId;
+ public $rasterType;
+ public $tags;
+ public $writersCanEditPermissions;
+
+
+ public function setAttribution($attribution)
+ {
+ $this->attribution = $attribution;
+ }
+ public function getAttribution()
+ {
+ return $this->attribution;
+ }
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setCreatorEmail($creatorEmail)
+ {
+ $this->creatorEmail = $creatorEmail;
+ }
+ public function getCreatorEmail()
+ {
+ return $this->creatorEmail;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDraftAccessList($draftAccessList)
+ {
+ $this->draftAccessList = $draftAccessList;
+ }
+ public function getDraftAccessList()
+ {
+ return $this->draftAccessList;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+ public function setLastModifierEmail($lastModifierEmail)
+ {
+ $this->lastModifierEmail = $lastModifierEmail;
+ }
+ public function getLastModifierEmail()
+ {
+ return $this->lastModifierEmail;
+ }
+ public function setMosaic($mosaic)
+ {
+ $this->mosaic = $mosaic;
+ }
+ public function getMosaic()
+ {
+ return $this->mosaic;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setRasterType($rasterType)
+ {
+ $this->rasterType = $rasterType;
+ }
+ public function getRasterType()
+ {
+ return $this->rasterType;
+ }
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+ public function getTags()
+ {
+ return $this->tags;
+ }
+ public function setWritersCanEditPermissions($writersCanEditPermissions)
+ {
+ $this->writersCanEditPermissions = $writersCanEditPermissions;
+ }
+ public function getWritersCanEditPermissions()
+ {
+ return $this->writersCanEditPermissions;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_RasterCollectionsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'rasterCollections';
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ protected $rasterCollectionsType = 'Postman_Google_Service_MapsEngine_RasterCollection';
+ protected $rasterCollectionsDataType = 'array';
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setRasterCollections($rasterCollections)
+ {
+ $this->rasterCollections = $rasterCollections;
+ }
+ public function getRasterCollections()
+ {
+ return $this->rasterCollections;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_RasterCollectionsRaster extends Postman_Google_Collection
+{
+ protected $collection_key = 'tags';
+ protected $internal_gapi_mappings = array(
+ );
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $projectId;
+ public $rasterType;
+ public $tags;
+
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setRasterType($rasterType)
+ {
+ $this->rasterType = $rasterType;
+ }
+ public function getRasterType()
+ {
+ return $this->rasterType;
+ }
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_RasterCollectionsRasterBatchDeleteRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'ids';
+ protected $internal_gapi_mappings = array(
+ );
+ public $ids;
+
+
+ public function setIds($ids)
+ {
+ $this->ids = $ids;
+ }
+ public function getIds()
+ {
+ return $this->ids;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_RasterCollectionsRastersBatchDeleteResponse extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'ids';
+ protected $internal_gapi_mappings = array(
+ );
+ public $ids;
+
+
+ public function setIds($ids)
+ {
+ $this->ids = $ids;
+ }
+ public function getIds()
+ {
+ return $this->ids;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_MapsEngine_RasterCollectionsRastersListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'rasters';
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ protected $rastersType = 'Postman_Google_Service_MapsEngine_RasterCollectionsRaster';
+ protected $rastersDataType = 'array';
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setRasters($rasters)
+ {
+ $this->rasters = $rasters;
+ }
+ public function getRasters()
+ {
+ return $this->rasters;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_RastersListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'rasters';
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ protected $rastersType = 'Postman_Google_Service_MapsEngine_Raster';
+ protected $rastersDataType = 'array';
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setRasters($rasters)
+ {
+ $this->rasters = $rasters;
+ }
+ public function getRasters()
+ {
+ return $this->rasters;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_ScaledShape extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $borderType = 'Postman_Google_Service_MapsEngine_Border';
+ protected $borderDataType = '';
+ protected $fillType = 'Postman_Google_Service_MapsEngine_Color';
+ protected $fillDataType = '';
+ public $shape;
+
+
+ public function setBorder(Postman_Google_Service_MapsEngine_Border $border)
+ {
+ $this->border = $border;
+ }
+ public function getBorder()
+ {
+ return $this->border;
+ }
+ public function setFill(Postman_Google_Service_MapsEngine_Color $fill)
+ {
+ $this->fill = $fill;
+ }
+ public function getFill()
+ {
+ return $this->fill;
+ }
+ public function setShape($shape)
+ {
+ $this->shape = $shape;
+ }
+ public function getShape()
+ {
+ return $this->shape;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_ScalingFunction extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $column;
+ public $scalingType;
+ protected $sizeRangeType = 'Postman_Google_Service_MapsEngine_SizeRange';
+ protected $sizeRangeDataType = '';
+ protected $valueRangeType = 'Postman_Google_Service_MapsEngine_ValueRange';
+ protected $valueRangeDataType = '';
+
+
+ public function setColumn($column)
+ {
+ $this->column = $column;
+ }
+ public function getColumn()
+ {
+ return $this->column;
+ }
+ public function setScalingType($scalingType)
+ {
+ $this->scalingType = $scalingType;
+ }
+ public function getScalingType()
+ {
+ return $this->scalingType;
+ }
+ public function setSizeRange(Postman_Google_Service_MapsEngine_SizeRange $sizeRange)
+ {
+ $this->sizeRange = $sizeRange;
+ }
+ public function getSizeRange()
+ {
+ return $this->sizeRange;
+ }
+ public function setValueRange(Postman_Google_Service_MapsEngine_ValueRange $valueRange)
+ {
+ $this->valueRange = $valueRange;
+ }
+ public function getValueRange()
+ {
+ return $this->valueRange;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_Schema extends Postman_Google_Collection
+{
+ protected $collection_key = 'columns';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $columnsType = 'Postman_Google_Service_MapsEngine_TableColumn';
+ protected $columnsDataType = 'array';
+ public $primaryGeometry;
+ public $primaryKey;
+
+
+ public function setColumns($columns)
+ {
+ $this->columns = $columns;
+ }
+ public function getColumns()
+ {
+ return $this->columns;
+ }
+ public function setPrimaryGeometry($primaryGeometry)
+ {
+ $this->primaryGeometry = $primaryGeometry;
+ }
+ public function getPrimaryGeometry()
+ {
+ return $this->primaryGeometry;
+ }
+ public function setPrimaryKey($primaryKey)
+ {
+ $this->primaryKey = $primaryKey;
+ }
+ public function getPrimaryKey()
+ {
+ return $this->primaryKey;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_SizeRange extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $max;
+ public $min;
+
+
+ public function setMax($max)
+ {
+ $this->max = $max;
+ }
+ public function getMax()
+ {
+ return $this->max;
+ }
+ public function setMin($min)
+ {
+ $this->min = $min;
+ }
+ public function getMin()
+ {
+ return $this->min;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_Table extends Postman_Google_Collection
+{
+ protected $collection_key = 'tags';
+ protected $internal_gapi_mappings = array(
+ );
+ public $bbox;
+ public $creationTime;
+ public $creatorEmail;
+ public $description;
+ public $draftAccessList;
+ public $etag;
+ protected $filesType = 'Postman_Google_Service_MapsEngine_MapsengineFile';
+ protected $filesDataType = 'array';
+ public $id;
+ public $lastModifiedTime;
+ public $lastModifierEmail;
+ public $name;
+ public $processingStatus;
+ public $projectId;
+ public $publishedAccessList;
+ protected $schemaType = 'Postman_Google_Service_MapsEngine_Schema';
+ protected $schemaDataType = '';
+ public $sourceEncoding;
+ public $tags;
+ public $writersCanEditPermissions;
+
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setCreatorEmail($creatorEmail)
+ {
+ $this->creatorEmail = $creatorEmail;
+ }
+ public function getCreatorEmail()
+ {
+ return $this->creatorEmail;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDraftAccessList($draftAccessList)
+ {
+ $this->draftAccessList = $draftAccessList;
+ }
+ public function getDraftAccessList()
+ {
+ return $this->draftAccessList;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setFiles($files)
+ {
+ $this->files = $files;
+ }
+ public function getFiles()
+ {
+ return $this->files;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+ public function setLastModifierEmail($lastModifierEmail)
+ {
+ $this->lastModifierEmail = $lastModifierEmail;
+ }
+ public function getLastModifierEmail()
+ {
+ return $this->lastModifierEmail;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setPublishedAccessList($publishedAccessList)
+ {
+ $this->publishedAccessList = $publishedAccessList;
+ }
+ public function getPublishedAccessList()
+ {
+ return $this->publishedAccessList;
+ }
+ public function setSchema(Postman_Google_Service_MapsEngine_Schema $schema)
+ {
+ $this->schema = $schema;
+ }
+ public function getSchema()
+ {
+ return $this->schema;
+ }
+ public function setSourceEncoding($sourceEncoding)
+ {
+ $this->sourceEncoding = $sourceEncoding;
+ }
+ public function getSourceEncoding()
+ {
+ return $this->sourceEncoding;
+ }
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+ public function getTags()
+ {
+ return $this->tags;
+ }
+ public function setWritersCanEditPermissions($writersCanEditPermissions)
+ {
+ $this->writersCanEditPermissions = $writersCanEditPermissions;
+ }
+ public function getWritersCanEditPermissions()
+ {
+ return $this->writersCanEditPermissions;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_TableColumn extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+ public $type;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_TablesListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'tables';
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ protected $tablesType = 'Postman_Google_Service_MapsEngine_Table';
+ protected $tablesDataType = 'array';
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTables($tables)
+ {
+ $this->tables = $tables;
+ }
+ public function getTables()
+ {
+ return $this->tables;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_ValueRange extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $max;
+ public $min;
+
+
+ public function setMax($max)
+ {
+ $this->max = $max;
+ }
+ public function getMax()
+ {
+ return $this->max;
+ }
+ public function setMin($min)
+ {
+ $this->min = $min;
+ }
+ public function getMin()
+ {
+ return $this->min;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_VectorStyle extends Postman_Google_Collection
+{
+ protected $collection_key = 'displayRules';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $displayRulesType = 'Postman_Google_Service_MapsEngine_DisplayRule';
+ protected $displayRulesDataType = 'array';
+ protected $featureInfoType = 'Postman_Google_Service_MapsEngine_FeatureInfo';
+ protected $featureInfoDataType = '';
+ public $type;
+
+
+ public function setDisplayRules($displayRules)
+ {
+ $this->displayRules = $displayRules;
+ }
+ public function getDisplayRules()
+ {
+ return $this->displayRules;
+ }
+ public function setFeatureInfo(Postman_Google_Service_MapsEngine_FeatureInfo $featureInfo)
+ {
+ $this->featureInfo = $featureInfo;
+ }
+ public function getFeatureInfo()
+ {
+ return $this->featureInfo;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_MapsEngine_ZoomLevels extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $max;
+ public $min;
+
+
+ public function setMax($max)
+ {
+ $this->max = $max;
+ }
+ public function getMax()
+ {
+ return $this->max;
+ }
+ public function setMin($min)
+ {
+ $this->min = $min;
+ }
+ public function getMin()
+ {
+ return $this->min;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Mirror.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Mirror.php
new file mode 100644
index 0000000..4c84802
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Mirror.php
@@ -0,0 +1,1931 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Mirror (v1).
+ *
+ * <p>
+ * API for interacting with Glass users via the timeline.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/glass" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Mirror extends Postman_Google_Service
+{
+ /** View your location. */
+ const GLASS_LOCATION =
+ "https://www.googleapis.com/auth/glass.location";
+ /** View and manage your Glass timeline. */
+ const GLASS_TIMELINE =
+ "https://www.googleapis.com/auth/glass.timeline";
+
+ public $accounts;
+ public $contacts;
+ public $locations;
+ public $settings;
+ public $subscriptions;
+ public $timeline;
+ public $timeline_attachments;
+
+
+ /**
+ * Constructs the internal representation of the Mirror service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'mirror/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'mirror';
+
+ $this->accounts = new Postman_Google_Service_Mirror_Accounts_Resource(
+ $this,
+ $this->serviceName,
+ 'accounts',
+ array(
+ 'methods' => array(
+ 'insert' => array(
+ 'path' => 'accounts/{userToken}/{accountType}/{accountName}',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userToken' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->contacts = new Postman_Google_Service_Mirror_Contacts_Resource(
+ $this,
+ $this->serviceName,
+ 'contacts',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'contacts/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'contacts/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'contacts',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'list' => array(
+ 'path' => 'contacts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),'patch' => array(
+ 'path' => 'contacts/{id}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'contacts/{id}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->locations = new Postman_Google_Service_Mirror_Locations_Resource(
+ $this,
+ $this->serviceName,
+ 'locations',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'locations/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'locations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->settings = new Postman_Google_Service_Mirror_Settings_Resource(
+ $this,
+ $this->serviceName,
+ 'settings',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'settings/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->subscriptions = new Postman_Google_Service_Mirror_Subscriptions_Resource(
+ $this,
+ $this->serviceName,
+ 'subscriptions',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'subscriptions/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'subscriptions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'list' => array(
+ 'path' => 'subscriptions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),'update' => array(
+ 'path' => 'subscriptions/{id}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->timeline = new Postman_Google_Service_Mirror_Timeline_Resource(
+ $this,
+ $this->serviceName,
+ 'timeline',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'timeline/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'timeline/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'timeline',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'list' => array(
+ 'path' => 'timeline',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sourceItemId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pinnedOnly' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'bundleId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'timeline/{id}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'timeline/{id}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->timeline_attachments = new Postman_Google_Service_Mirror_TimelineAttachments_Resource(
+ $this,
+ $this->serviceName,
+ 'attachments',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'timeline/{itemId}/attachments/{attachmentId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'itemId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'attachmentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'timeline/{itemId}/attachments/{attachmentId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'itemId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'attachmentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'timeline/{itemId}/attachments',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'itemId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'timeline/{itemId}/attachments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'itemId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mirrorService = new Postman_Google_Service_Mirror(...);
+ * $accounts = $mirrorService->accounts;
+ * </code>
+ */
+class Postman_Google_Service_Mirror_Accounts_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Inserts a new account for a user (accounts.insert)
+ *
+ * @param string $userToken The ID for the user.
+ * @param string $accountType Account type to be passed to Android Account
+ * Manager.
+ * @param string $accountName The name of the account to be passed to the
+ * Android Account Manager.
+ * @param Postman_Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Mirror_Account
+ */
+ public function insert($userToken, $accountType, $accountName, Postman_Google_Service_Mirror_Account $postBody, $optParams = array())
+ {
+ $params = array('userToken' => $userToken, 'accountType' => $accountType, 'accountName' => $accountName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Mirror_Account");
+ }
+}
+
+/**
+ * The "contacts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mirrorService = new Postman_Google_Service_Mirror(...);
+ * $contacts = $mirrorService->contacts;
+ * </code>
+ */
+class Postman_Google_Service_Mirror_Contacts_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes a contact. (contacts.delete)
+ *
+ * @param string $id The ID of the contact.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a single contact by ID. (contacts.get)
+ *
+ * @param string $id The ID of the contact.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Mirror_Contact
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Mirror_Contact");
+ }
+
+ /**
+ * Inserts a new contact. (contacts.insert)
+ *
+ * @param Postman_Google_Contact $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Mirror_Contact
+ */
+ public function insert(Postman_Google_Service_Mirror_Contact $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Mirror_Contact");
+ }
+
+ /**
+ * Retrieves a list of contacts for the authenticated user.
+ * (contacts.listContacts)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Mirror_ContactsListResponse
+ */
+ public function listContacts($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Mirror_ContactsListResponse");
+ }
+
+ /**
+ * Updates a contact in place. This method supports patch semantics.
+ * (contacts.patch)
+ *
+ * @param string $id The ID of the contact.
+ * @param Postman_Google_Contact $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Mirror_Contact
+ */
+ public function patch($id, Postman_Google_Service_Mirror_Contact $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Mirror_Contact");
+ }
+
+ /**
+ * Updates a contact in place. (contacts.update)
+ *
+ * @param string $id The ID of the contact.
+ * @param Postman_Google_Contact $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Mirror_Contact
+ */
+ public function update($id, Postman_Google_Service_Mirror_Contact $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Mirror_Contact");
+ }
+}
+
+/**
+ * The "locations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mirrorService = new Postman_Google_Service_Mirror(...);
+ * $locations = $mirrorService->locations;
+ * </code>
+ */
+class Postman_Google_Service_Mirror_Locations_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets a single location by ID. (locations.get)
+ *
+ * @param string $id The ID of the location or latest for the last known
+ * location.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Mirror_Location
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Mirror_Location");
+ }
+
+ /**
+ * Retrieves a list of locations for the user. (locations.listLocations)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Mirror_LocationsListResponse
+ */
+ public function listLocations($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Mirror_LocationsListResponse");
+ }
+}
+
+/**
+ * The "settings" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mirrorService = new Postman_Google_Service_Mirror(...);
+ * $settings = $mirrorService->settings;
+ * </code>
+ */
+class Postman_Google_Service_Mirror_Settings_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets a single setting by ID. (settings.get)
+ *
+ * @param string $id The ID of the setting. The following IDs are valid: -
+ * locale - The key to the user’s language/locale (BCP 47 identifier) that
+ * Glassware should use to render localized content. - timezone - The key to
+ * the user’s current time zone region as defined in the tz database. Example:
+ * America/Los_Angeles.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Mirror_Setting
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Mirror_Setting");
+ }
+}
+
+/**
+ * The "subscriptions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mirrorService = new Postman_Google_Service_Mirror(...);
+ * $subscriptions = $mirrorService->subscriptions;
+ * </code>
+ */
+class Postman_Google_Service_Mirror_Subscriptions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes a subscription. (subscriptions.delete)
+ *
+ * @param string $id The ID of the subscription.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Creates a new subscription. (subscriptions.insert)
+ *
+ * @param Postman_Google_Subscription $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Mirror_Subscription
+ */
+ public function insert(Postman_Google_Service_Mirror_Subscription $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Mirror_Subscription");
+ }
+
+ /**
+ * Retrieves a list of subscriptions for the authenticated user and service.
+ * (subscriptions.listSubscriptions)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Mirror_SubscriptionsListResponse
+ */
+ public function listSubscriptions($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Mirror_SubscriptionsListResponse");
+ }
+
+ /**
+ * Updates an existing subscription in place. (subscriptions.update)
+ *
+ * @param string $id The ID of the subscription.
+ * @param Postman_Google_Subscription $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Mirror_Subscription
+ */
+ public function update($id, Postman_Google_Service_Mirror_Subscription $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Mirror_Subscription");
+ }
+}
+
+/**
+ * The "timeline" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mirrorService = new Postman_Google_Service_Mirror(...);
+ * $timeline = $mirrorService->timeline;
+ * </code>
+ */
+class Postman_Google_Service_Mirror_Timeline_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes a timeline item. (timeline.delete)
+ *
+ * @param string $id The ID of the timeline item.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a single timeline item by ID. (timeline.get)
+ *
+ * @param string $id The ID of the timeline item.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Mirror_TimelineItem
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Mirror_TimelineItem");
+ }
+
+ /**
+ * Inserts a new item into the timeline. (timeline.insert)
+ *
+ * @param Postman_Google_TimelineItem $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Mirror_TimelineItem
+ */
+ public function insert(Postman_Google_Service_Mirror_TimelineItem $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Mirror_TimelineItem");
+ }
+
+ /**
+ * Retrieves a list of timeline items for the authenticated user.
+ * (timeline.listTimeline)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy Controls the order in which timeline items are
+ * returned.
+ * @opt_param bool includeDeleted If true, tombstone records for deleted items
+ * will be returned.
+ * @opt_param string maxResults The maximum number of items to include in the
+ * response, used for paging.
+ * @opt_param string pageToken Token for the page of results to return.
+ * @opt_param string sourceItemId If provided, only items with the given
+ * sourceItemId will be returned.
+ * @opt_param bool pinnedOnly If true, only pinned items will be returned.
+ * @opt_param string bundleId If provided, only items with the given bundleId
+ * will be returned.
+ * @return Postman_Google_Service_Mirror_TimelineListResponse
+ */
+ public function listTimeline($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Mirror_TimelineListResponse");
+ }
+
+ /**
+ * Updates a timeline item in place. This method supports patch semantics.
+ * (timeline.patch)
+ *
+ * @param string $id The ID of the timeline item.
+ * @param Postman_Google_TimelineItem $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Mirror_TimelineItem
+ */
+ public function patch($id, Postman_Google_Service_Mirror_TimelineItem $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Mirror_TimelineItem");
+ }
+
+ /**
+ * Updates a timeline item in place. (timeline.update)
+ *
+ * @param string $id The ID of the timeline item.
+ * @param Postman_Google_TimelineItem $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Mirror_TimelineItem
+ */
+ public function update($id, Postman_Google_Service_Mirror_TimelineItem $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Mirror_TimelineItem");
+ }
+}
+
+/**
+ * The "attachments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $mirrorService = new Postman_Google_Service_Mirror(...);
+ * $attachments = $mirrorService->attachments;
+ * </code>
+ */
+class Postman_Google_Service_Mirror_TimelineAttachments_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes an attachment from a timeline item. (attachments.delete)
+ *
+ * @param string $itemId The ID of the timeline item the attachment belongs to.
+ * @param string $attachmentId The ID of the attachment.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($itemId, $attachmentId, $optParams = array())
+ {
+ $params = array('itemId' => $itemId, 'attachmentId' => $attachmentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves an attachment on a timeline item by item ID and attachment ID.
+ * (attachments.get)
+ *
+ * @param string $itemId The ID of the timeline item the attachment belongs to.
+ * @param string $attachmentId The ID of the attachment.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Mirror_Attachment
+ */
+ public function get($itemId, $attachmentId, $optParams = array())
+ {
+ $params = array('itemId' => $itemId, 'attachmentId' => $attachmentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Mirror_Attachment");
+ }
+
+ /**
+ * Adds a new attachment to a timeline item. (attachments.insert)
+ *
+ * @param string $itemId The ID of the timeline item the attachment belongs to.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Mirror_Attachment
+ */
+ public function insert($itemId, $optParams = array())
+ {
+ $params = array('itemId' => $itemId);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Mirror_Attachment");
+ }
+
+ /**
+ * Returns a list of attachments for a timeline item.
+ * (attachments.listTimelineAttachments)
+ *
+ * @param string $itemId The ID of the timeline item whose attachments should be
+ * listed.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Mirror_AttachmentsListResponse
+ */
+ public function listTimelineAttachments($itemId, $optParams = array())
+ {
+ $params = array('itemId' => $itemId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Mirror_AttachmentsListResponse");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Mirror_Account extends Postman_Google_Collection
+{
+ protected $collection_key = 'userData';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $authTokensType = 'Postman_Google_Service_Mirror_AuthToken';
+ protected $authTokensDataType = 'array';
+ public $features;
+ public $password;
+ protected $userDataType = 'Postman_Google_Service_Mirror_UserData';
+ protected $userDataDataType = 'array';
+
+
+ public function setAuthTokens($authTokens)
+ {
+ $this->authTokens = $authTokens;
+ }
+ public function getAuthTokens()
+ {
+ return $this->authTokens;
+ }
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+ public function setPassword($password)
+ {
+ $this->password = $password;
+ }
+ public function getPassword()
+ {
+ return $this->password;
+ }
+ public function setUserData($userData)
+ {
+ $this->userData = $userData;
+ }
+ public function getUserData()
+ {
+ return $this->userData;
+ }
+}
+
+class Postman_Google_Service_Mirror_Attachment extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $contentType;
+ public $contentUrl;
+ public $id;
+ public $isProcessingContent;
+
+
+ public function setContentType($contentType)
+ {
+ $this->contentType = $contentType;
+ }
+ public function getContentType()
+ {
+ return $this->contentType;
+ }
+ public function setContentUrl($contentUrl)
+ {
+ $this->contentUrl = $contentUrl;
+ }
+ public function getContentUrl()
+ {
+ return $this->contentUrl;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIsProcessingContent($isProcessingContent)
+ {
+ $this->isProcessingContent = $isProcessingContent;
+ }
+ public function getIsProcessingContent()
+ {
+ return $this->isProcessingContent;
+ }
+}
+
+class Postman_Google_Service_Mirror_AttachmentsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Mirror_Attachment';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Mirror_AuthToken extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $authToken;
+ public $type;
+
+
+ public function setAuthToken($authToken)
+ {
+ $this->authToken = $authToken;
+ }
+ public function getAuthToken()
+ {
+ return $this->authToken;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Mirror_Command extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $type;
+
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Mirror_Contact extends Postman_Google_Collection
+{
+ protected $collection_key = 'sharingFeatures';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $acceptCommandsType = 'Postman_Google_Service_Mirror_Command';
+ protected $acceptCommandsDataType = 'array';
+ public $acceptTypes;
+ public $displayName;
+ public $id;
+ public $imageUrls;
+ public $kind;
+ public $phoneNumber;
+ public $priority;
+ public $sharingFeatures;
+ public $source;
+ public $speakableName;
+ public $type;
+
+
+ public function setAcceptCommands($acceptCommands)
+ {
+ $this->acceptCommands = $acceptCommands;
+ }
+ public function getAcceptCommands()
+ {
+ return $this->acceptCommands;
+ }
+ public function setAcceptTypes($acceptTypes)
+ {
+ $this->acceptTypes = $acceptTypes;
+ }
+ public function getAcceptTypes()
+ {
+ return $this->acceptTypes;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImageUrls($imageUrls)
+ {
+ $this->imageUrls = $imageUrls;
+ }
+ public function getImageUrls()
+ {
+ return $this->imageUrls;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPhoneNumber($phoneNumber)
+ {
+ $this->phoneNumber = $phoneNumber;
+ }
+ public function getPhoneNumber()
+ {
+ return $this->phoneNumber;
+ }
+ public function setPriority($priority)
+ {
+ $this->priority = $priority;
+ }
+ public function getPriority()
+ {
+ return $this->priority;
+ }
+ public function setSharingFeatures($sharingFeatures)
+ {
+ $this->sharingFeatures = $sharingFeatures;
+ }
+ public function getSharingFeatures()
+ {
+ return $this->sharingFeatures;
+ }
+ public function setSource($source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+ public function setSpeakableName($speakableName)
+ {
+ $this->speakableName = $speakableName;
+ }
+ public function getSpeakableName()
+ {
+ return $this->speakableName;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Mirror_ContactsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Mirror_Contact';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Mirror_Location extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accuracy;
+ public $address;
+ public $displayName;
+ public $id;
+ public $kind;
+ public $latitude;
+ public $longitude;
+ public $timestamp;
+
+
+ public function setAccuracy($accuracy)
+ {
+ $this->accuracy = $accuracy;
+ }
+ public function getAccuracy()
+ {
+ return $this->accuracy;
+ }
+ public function setAddress($address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLatitude($latitude)
+ {
+ $this->latitude = $latitude;
+ }
+ public function getLatitude()
+ {
+ return $this->latitude;
+ }
+ public function setLongitude($longitude)
+ {
+ $this->longitude = $longitude;
+ }
+ public function getLongitude()
+ {
+ return $this->longitude;
+ }
+ public function setTimestamp($timestamp)
+ {
+ $this->timestamp = $timestamp;
+ }
+ public function getTimestamp()
+ {
+ return $this->timestamp;
+ }
+}
+
+class Postman_Google_Service_Mirror_LocationsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Mirror_Location';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Mirror_MenuItem extends Postman_Google_Collection
+{
+ protected $collection_key = 'values';
+ protected $internal_gapi_mappings = array(
+ "contextualCommand" => "contextual_command",
+ );
+ public $action;
+ public $contextualCommand;
+ public $id;
+ public $payload;
+ public $removeWhenSelected;
+ protected $valuesType = 'Postman_Google_Service_Mirror_MenuValue';
+ protected $valuesDataType = 'array';
+
+
+ public function setAction($action)
+ {
+ $this->action = $action;
+ }
+ public function getAction()
+ {
+ return $this->action;
+ }
+ public function setContextualCommand($contextualCommand)
+ {
+ $this->contextualCommand = $contextualCommand;
+ }
+ public function getContextualCommand()
+ {
+ return $this->contextualCommand;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setPayload($payload)
+ {
+ $this->payload = $payload;
+ }
+ public function getPayload()
+ {
+ return $this->payload;
+ }
+ public function setRemoveWhenSelected($removeWhenSelected)
+ {
+ $this->removeWhenSelected = $removeWhenSelected;
+ }
+ public function getRemoveWhenSelected()
+ {
+ return $this->removeWhenSelected;
+ }
+ public function setValues($values)
+ {
+ $this->values = $values;
+ }
+ public function getValues()
+ {
+ return $this->values;
+ }
+}
+
+class Postman_Google_Service_Mirror_MenuValue extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+ public $iconUrl;
+ public $state;
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setIconUrl($iconUrl)
+ {
+ $this->iconUrl = $iconUrl;
+ }
+ public function getIconUrl()
+ {
+ return $this->iconUrl;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+}
+
+class Postman_Google_Service_Mirror_Notification extends Postman_Google_Collection
+{
+ protected $collection_key = 'userActions';
+ protected $internal_gapi_mappings = array(
+ );
+ public $collection;
+ public $itemId;
+ public $operation;
+ protected $userActionsType = 'Postman_Google_Service_Mirror_UserAction';
+ protected $userActionsDataType = 'array';
+ public $userToken;
+ public $verifyToken;
+
+
+ public function setCollection($collection)
+ {
+ $this->collection = $collection;
+ }
+ public function getCollection()
+ {
+ return $this->collection;
+ }
+ public function setItemId($itemId)
+ {
+ $this->itemId = $itemId;
+ }
+ public function getItemId()
+ {
+ return $this->itemId;
+ }
+ public function setOperation($operation)
+ {
+ $this->operation = $operation;
+ }
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+ public function setUserActions($userActions)
+ {
+ $this->userActions = $userActions;
+ }
+ public function getUserActions()
+ {
+ return $this->userActions;
+ }
+ public function setUserToken($userToken)
+ {
+ $this->userToken = $userToken;
+ }
+ public function getUserToken()
+ {
+ return $this->userToken;
+ }
+ public function setVerifyToken($verifyToken)
+ {
+ $this->verifyToken = $verifyToken;
+ }
+ public function getVerifyToken()
+ {
+ return $this->verifyToken;
+ }
+}
+
+class Postman_Google_Service_Mirror_NotificationConfig extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $deliveryTime;
+ public $level;
+
+
+ public function setDeliveryTime($deliveryTime)
+ {
+ $this->deliveryTime = $deliveryTime;
+ }
+ public function getDeliveryTime()
+ {
+ return $this->deliveryTime;
+ }
+ public function setLevel($level)
+ {
+ $this->level = $level;
+ }
+ public function getLevel()
+ {
+ return $this->level;
+ }
+}
+
+class Postman_Google_Service_Mirror_Setting extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $value;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Mirror_Subscription extends Postman_Google_Collection
+{
+ protected $collection_key = 'operation';
+ protected $internal_gapi_mappings = array(
+ );
+ public $callbackUrl;
+ public $collection;
+ public $id;
+ public $kind;
+ protected $notificationType = 'Postman_Google_Service_Mirror_Notification';
+ protected $notificationDataType = '';
+ public $operation;
+ public $updated;
+ public $userToken;
+ public $verifyToken;
+
+
+ public function setCallbackUrl($callbackUrl)
+ {
+ $this->callbackUrl = $callbackUrl;
+ }
+ public function getCallbackUrl()
+ {
+ return $this->callbackUrl;
+ }
+ public function setCollection($collection)
+ {
+ $this->collection = $collection;
+ }
+ public function getCollection()
+ {
+ return $this->collection;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNotification(Postman_Google_Service_Mirror_Notification $notification)
+ {
+ $this->notification = $notification;
+ }
+ public function getNotification()
+ {
+ return $this->notification;
+ }
+ public function setOperation($operation)
+ {
+ $this->operation = $operation;
+ }
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setUserToken($userToken)
+ {
+ $this->userToken = $userToken;
+ }
+ public function getUserToken()
+ {
+ return $this->userToken;
+ }
+ public function setVerifyToken($verifyToken)
+ {
+ $this->verifyToken = $verifyToken;
+ }
+ public function getVerifyToken()
+ {
+ return $this->verifyToken;
+ }
+}
+
+class Postman_Google_Service_Mirror_SubscriptionsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Mirror_Subscription';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Mirror_TimelineItem extends Postman_Google_Collection
+{
+ protected $collection_key = 'recipients';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $attachmentsType = 'Postman_Google_Service_Mirror_Attachment';
+ protected $attachmentsDataType = 'array';
+ public $bundleId;
+ public $canonicalUrl;
+ public $created;
+ protected $creatorType = 'Postman_Google_Service_Mirror_Contact';
+ protected $creatorDataType = '';
+ public $displayTime;
+ public $etag;
+ public $html;
+ public $id;
+ public $inReplyTo;
+ public $isBundleCover;
+ public $isDeleted;
+ public $isPinned;
+ public $kind;
+ protected $locationType = 'Postman_Google_Service_Mirror_Location';
+ protected $locationDataType = '';
+ protected $menuItemsType = 'Postman_Google_Service_Mirror_MenuItem';
+ protected $menuItemsDataType = 'array';
+ protected $notificationType = 'Postman_Google_Service_Mirror_NotificationConfig';
+ protected $notificationDataType = '';
+ public $pinScore;
+ protected $recipientsType = 'Postman_Google_Service_Mirror_Contact';
+ protected $recipientsDataType = 'array';
+ public $selfLink;
+ public $sourceItemId;
+ public $speakableText;
+ public $speakableType;
+ public $text;
+ public $title;
+ public $updated;
+
+
+ public function setAttachments($attachments)
+ {
+ $this->attachments = $attachments;
+ }
+ public function getAttachments()
+ {
+ return $this->attachments;
+ }
+ public function setBundleId($bundleId)
+ {
+ $this->bundleId = $bundleId;
+ }
+ public function getBundleId()
+ {
+ return $this->bundleId;
+ }
+ public function setCanonicalUrl($canonicalUrl)
+ {
+ $this->canonicalUrl = $canonicalUrl;
+ }
+ public function getCanonicalUrl()
+ {
+ return $this->canonicalUrl;
+ }
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+ public function getCreated()
+ {
+ return $this->created;
+ }
+ public function setCreator(Postman_Google_Service_Mirror_Contact $creator)
+ {
+ $this->creator = $creator;
+ }
+ public function getCreator()
+ {
+ return $this->creator;
+ }
+ public function setDisplayTime($displayTime)
+ {
+ $this->displayTime = $displayTime;
+ }
+ public function getDisplayTime()
+ {
+ return $this->displayTime;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setHtml($html)
+ {
+ $this->html = $html;
+ }
+ public function getHtml()
+ {
+ return $this->html;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInReplyTo($inReplyTo)
+ {
+ $this->inReplyTo = $inReplyTo;
+ }
+ public function getInReplyTo()
+ {
+ return $this->inReplyTo;
+ }
+ public function setIsBundleCover($isBundleCover)
+ {
+ $this->isBundleCover = $isBundleCover;
+ }
+ public function getIsBundleCover()
+ {
+ return $this->isBundleCover;
+ }
+ public function setIsDeleted($isDeleted)
+ {
+ $this->isDeleted = $isDeleted;
+ }
+ public function getIsDeleted()
+ {
+ return $this->isDeleted;
+ }
+ public function setIsPinned($isPinned)
+ {
+ $this->isPinned = $isPinned;
+ }
+ public function getIsPinned()
+ {
+ return $this->isPinned;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLocation(Postman_Google_Service_Mirror_Location $location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setMenuItems($menuItems)
+ {
+ $this->menuItems = $menuItems;
+ }
+ public function getMenuItems()
+ {
+ return $this->menuItems;
+ }
+ public function setNotification(Postman_Google_Service_Mirror_NotificationConfig $notification)
+ {
+ $this->notification = $notification;
+ }
+ public function getNotification()
+ {
+ return $this->notification;
+ }
+ public function setPinScore($pinScore)
+ {
+ $this->pinScore = $pinScore;
+ }
+ public function getPinScore()
+ {
+ return $this->pinScore;
+ }
+ public function setRecipients($recipients)
+ {
+ $this->recipients = $recipients;
+ }
+ public function getRecipients()
+ {
+ return $this->recipients;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setSourceItemId($sourceItemId)
+ {
+ $this->sourceItemId = $sourceItemId;
+ }
+ public function getSourceItemId()
+ {
+ return $this->sourceItemId;
+ }
+ public function setSpeakableText($speakableText)
+ {
+ $this->speakableText = $speakableText;
+ }
+ public function getSpeakableText()
+ {
+ return $this->speakableText;
+ }
+ public function setSpeakableType($speakableType)
+ {
+ $this->speakableType = $speakableType;
+ }
+ public function getSpeakableType()
+ {
+ return $this->speakableType;
+ }
+ public function setText($text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+}
+
+class Postman_Google_Service_Mirror_TimelineListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Mirror_TimelineItem';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Mirror_UserAction extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $payload;
+ public $type;
+
+
+ public function setPayload($payload)
+ {
+ $this->payload = $payload;
+ }
+ public function getPayload()
+ {
+ return $this->payload;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Mirror_UserData extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Oauth2.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Oauth2.php
new file mode 100644
index 0000000..f4cd0c3
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Oauth2.php
@@ -0,0 +1,390 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Oauth2 (v2).
+ *
+ * <p>
+ * Lets you access OAuth2 protocol related APIs.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/accounts/docs/OAuth2" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Oauth2 extends Postman_Google_Service
+{
+ /** Know your basic profile info and list of people in your circles.. */
+ const PLUS_LOGIN =
+ "https://www.googleapis.com/auth/plus.login";
+ /** Know who you are on Google. */
+ const PLUS_ME =
+ "https://www.googleapis.com/auth/plus.me";
+ /** View your email address. */
+ const USERINFO_EMAIL =
+ "https://www.googleapis.com/auth/userinfo.email";
+ /** View your basic profile info. */
+ const USERINFO_PROFILE =
+ "https://www.googleapis.com/auth/userinfo.profile";
+
+ public $userinfo;
+ public $userinfo_v2_me;
+ private $base_methods;
+
+ /**
+ * Constructs the internal representation of the Oauth2 service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = '';
+ $this->version = 'v2';
+ $this->serviceName = 'oauth2';
+
+ $this->userinfo = new Postman_Google_Service_Oauth2_Userinfo_Resource(
+ $this,
+ $this->serviceName,
+ 'userinfo',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'oauth2/v2/userinfo',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->userinfo_v2_me = new Postman_Google_Service_Oauth2_UserinfoV2Me_Resource(
+ $this,
+ $this->serviceName,
+ 'me',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userinfo/v2/me',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->base_methods = new Postman_Google_Service_Resource(
+ $this,
+ $this->serviceName,
+ '',
+ array(
+ 'methods' => array(
+ 'tokeninfo' => array(
+ 'path' => 'oauth2/v2/tokeninfo',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'access_token' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'id_token' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+ /**
+ * (tokeninfo)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string access_token
+ * @opt_param string id_token
+ * @return Postman_Google_Service_Oauth2_Tokeninfo
+ */
+ public function tokeninfo($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->base_methods->call('tokeninfo', array($params), "Postman_Google_Service_Oauth2_Tokeninfo");
+ }
+}
+
+
+/**
+ * The "userinfo" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $oauth2Service = new Postman_Google_Service_Oauth2(...);
+ * $userinfo = $oauth2Service->userinfo;
+ * </code>
+ */
+class Postman_Google_Service_Oauth2_Userinfo_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * (userinfo.get)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Oauth2_Userinfoplus
+ */
+ public function get($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Oauth2_Userinfoplus");
+ }
+}
+
+/**
+ * The "v2" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $oauth2Service = new Postman_Google_Service_Oauth2(...);
+ * $v2 = $oauth2Service->v2;
+ * </code>
+ */
+class Postman_Google_Service_Oauth2_UserinfoV2_Resource extends Postman_Google_Service_Resource
+{
+}
+
+/**
+ * The "me" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $oauth2Service = new Postman_Google_Service_Oauth2(...);
+ * $me = $oauth2Service->me;
+ * </code>
+ */
+class Postman_Google_Service_Oauth2_UserinfoV2Me_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * (me.get)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Oauth2_Userinfoplus
+ */
+ public function get($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Oauth2_Userinfoplus");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Oauth2_Tokeninfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "accessType" => "access_type",
+ "expiresIn" => "expires_in",
+ "issuedTo" => "issued_to",
+ "userId" => "user_id",
+ "verifiedEmail" => "verified_email",
+ );
+ public $accessType;
+ public $audience;
+ public $email;
+ public $expiresIn;
+ public $issuedTo;
+ public $scope;
+ public $userId;
+ public $verifiedEmail;
+
+
+ public function setAccessType($accessType)
+ {
+ $this->accessType = $accessType;
+ }
+ public function getAccessType()
+ {
+ return $this->accessType;
+ }
+ public function setAudience($audience)
+ {
+ $this->audience = $audience;
+ }
+ public function getAudience()
+ {
+ return $this->audience;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setExpiresIn($expiresIn)
+ {
+ $this->expiresIn = $expiresIn;
+ }
+ public function getExpiresIn()
+ {
+ return $this->expiresIn;
+ }
+ public function setIssuedTo($issuedTo)
+ {
+ $this->issuedTo = $issuedTo;
+ }
+ public function getIssuedTo()
+ {
+ return $this->issuedTo;
+ }
+ public function setScope($scope)
+ {
+ $this->scope = $scope;
+ }
+ public function getScope()
+ {
+ return $this->scope;
+ }
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+ }
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+ public function setVerifiedEmail($verifiedEmail)
+ {
+ $this->verifiedEmail = $verifiedEmail;
+ }
+ public function getVerifiedEmail()
+ {
+ return $this->verifiedEmail;
+ }
+}
+
+class Postman_Google_Service_Oauth2_Userinfoplus extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "familyName" => "family_name",
+ "givenName" => "given_name",
+ "verifiedEmail" => "verified_email",
+ );
+ public $email;
+ public $familyName;
+ public $gender;
+ public $givenName;
+ public $hd;
+ public $id;
+ public $link;
+ public $locale;
+ public $name;
+ public $picture;
+ public $verifiedEmail;
+
+
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setFamilyName($familyName)
+ {
+ $this->familyName = $familyName;
+ }
+ public function getFamilyName()
+ {
+ return $this->familyName;
+ }
+ public function setGender($gender)
+ {
+ $this->gender = $gender;
+ }
+ public function getGender()
+ {
+ return $this->gender;
+ }
+ public function setGivenName($givenName)
+ {
+ $this->givenName = $givenName;
+ }
+ public function getGivenName()
+ {
+ return $this->givenName;
+ }
+ public function setHd($hd)
+ {
+ $this->hd = $hd;
+ }
+ public function getHd()
+ {
+ return $this->hd;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+ public function getLink()
+ {
+ return $this->link;
+ }
+ public function setLocale($locale)
+ {
+ $this->locale = $locale;
+ }
+ public function getLocale()
+ {
+ return $this->locale;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPicture($picture)
+ {
+ $this->picture = $picture;
+ }
+ public function getPicture()
+ {
+ return $this->picture;
+ }
+ public function setVerifiedEmail($verifiedEmail)
+ {
+ $this->verifiedEmail = $verifiedEmail;
+ }
+ public function getVerifiedEmail()
+ {
+ return $this->verifiedEmail;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Pagespeedonline.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Pagespeedonline.php
new file mode 100644
index 0000000..c3dfdc1
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Pagespeedonline.php
@@ -0,0 +1,721 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Pagespeedonline (v1).
+ *
+ * <p>
+ * Lets you analyze the performance of a web page and get tailored suggestions
+ * to make that page faster.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/speed/docs/insights/v1/getting_started" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Pagespeedonline extends Postman_Google_Service
+{
+
+
+ public $pagespeedapi;
+
+
+ /**
+ * Constructs the internal representation of the Pagespeedonline service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'pagespeedonline/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'pagespeedonline';
+
+ $this->pagespeedapi = new Postman_Google_Service_Pagespeedonline_Pagespeedapi_Resource(
+ $this,
+ $this->serviceName,
+ 'pagespeedapi',
+ array(
+ 'methods' => array(
+ 'runpagespeed' => array(
+ 'path' => 'runPagespeed',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'url' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'screenshot' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'rule' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'strategy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'filter_third_party_resources' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "pagespeedapi" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $pagespeedonlineService = new Postman_Google_Service_Pagespeedonline(...);
+ * $pagespeedapi = $pagespeedonlineService->pagespeedapi;
+ * </code>
+ */
+class Postman_Google_Service_Pagespeedonline_Pagespeedapi_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Runs Page Speed analysis on the page at the specified URL, and returns a Page
+ * Speed score, a list of suggestions to make that page faster, and other
+ * information. (pagespeedapi.runpagespeed)
+ *
+ * @param string $url The URL to fetch and analyze
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool screenshot Indicates if binary data containing a screenshot
+ * should be included
+ * @opt_param string locale The locale used to localize formatted results
+ * @opt_param string rule A Page Speed rule to run; if none are given, all rules
+ * are run
+ * @opt_param string strategy The analysis strategy to use
+ * @opt_param bool filter_third_party_resources Indicates if third party
+ * resources should be filtered out before PageSpeed analysis.
+ * @return Postman_Google_Service_Pagespeedonline_Result
+ */
+ public function runpagespeed($url, $optParams = array())
+ {
+ $params = array('url' => $url);
+ $params = array_merge($params, $optParams);
+ return $this->call('runpagespeed', array($params), "Postman_Google_Service_Pagespeedonline_Result");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Pagespeedonline_Result extends Postman_Google_Collection
+{
+ protected $collection_key = 'invalidRules';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $formattedResultsType = 'Postman_Google_Service_Pagespeedonline_ResultFormattedResults';
+ protected $formattedResultsDataType = '';
+ public $id;
+ public $invalidRules;
+ public $kind;
+ protected $pageStatsType = 'Postman_Google_Service_Pagespeedonline_ResultPageStats';
+ protected $pageStatsDataType = '';
+ public $responseCode;
+ public $score;
+ protected $screenshotType = 'Postman_Google_Service_Pagespeedonline_ResultScreenshot';
+ protected $screenshotDataType = '';
+ public $title;
+ protected $versionType = 'Postman_Google_Service_Pagespeedonline_ResultVersion';
+ protected $versionDataType = '';
+
+
+ public function setFormattedResults(Postman_Google_Service_Pagespeedonline_ResultFormattedResults $formattedResults)
+ {
+ $this->formattedResults = $formattedResults;
+ }
+ public function getFormattedResults()
+ {
+ return $this->formattedResults;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInvalidRules($invalidRules)
+ {
+ $this->invalidRules = $invalidRules;
+ }
+ public function getInvalidRules()
+ {
+ return $this->invalidRules;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPageStats(Postman_Google_Service_Pagespeedonline_ResultPageStats $pageStats)
+ {
+ $this->pageStats = $pageStats;
+ }
+ public function getPageStats()
+ {
+ return $this->pageStats;
+ }
+ public function setResponseCode($responseCode)
+ {
+ $this->responseCode = $responseCode;
+ }
+ public function getResponseCode()
+ {
+ return $this->responseCode;
+ }
+ public function setScore($score)
+ {
+ $this->score = $score;
+ }
+ public function getScore()
+ {
+ return $this->score;
+ }
+ public function setScreenshot(Postman_Google_Service_Pagespeedonline_ResultScreenshot $screenshot)
+ {
+ $this->screenshot = $screenshot;
+ }
+ public function getScreenshot()
+ {
+ return $this->screenshot;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setVersion(Postman_Google_Service_Pagespeedonline_ResultVersion $version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Postman_Google_Service_Pagespeedonline_ResultFormattedResults extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $locale;
+ protected $ruleResultsType = 'Postman_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElement';
+ protected $ruleResultsDataType = 'map';
+
+
+ public function setLocale($locale)
+ {
+ $this->locale = $locale;
+ }
+ public function getLocale()
+ {
+ return $this->locale;
+ }
+ public function setRuleResults($ruleResults)
+ {
+ $this->ruleResults = $ruleResults;
+ }
+ public function getRuleResults()
+ {
+ return $this->ruleResults;
+ }
+}
+
+class Postman_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResults extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElement extends Postman_Google_Collection
+{
+ protected $collection_key = 'urlBlocks';
+ protected $internal_gapi_mappings = array(
+ );
+ public $localizedRuleName;
+ public $ruleImpact;
+ protected $urlBlocksType = 'Postman_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocks';
+ protected $urlBlocksDataType = 'array';
+
+
+ public function setLocalizedRuleName($localizedRuleName)
+ {
+ $this->localizedRuleName = $localizedRuleName;
+ }
+ public function getLocalizedRuleName()
+ {
+ return $this->localizedRuleName;
+ }
+ public function setRuleImpact($ruleImpact)
+ {
+ $this->ruleImpact = $ruleImpact;
+ }
+ public function getRuleImpact()
+ {
+ return $this->ruleImpact;
+ }
+ public function setUrlBlocks($urlBlocks)
+ {
+ $this->urlBlocks = $urlBlocks;
+ }
+ public function getUrlBlocks()
+ {
+ return $this->urlBlocks;
+ }
+}
+
+class Postman_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocks extends Postman_Google_Collection
+{
+ protected $collection_key = 'urls';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $headerType = 'Postman_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksHeader';
+ protected $headerDataType = '';
+ protected $urlsType = 'Postman_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrls';
+ protected $urlsDataType = 'array';
+
+
+ public function setHeader(Postman_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksHeader $header)
+ {
+ $this->header = $header;
+ }
+ public function getHeader()
+ {
+ return $this->header;
+ }
+ public function setUrls($urls)
+ {
+ $this->urls = $urls;
+ }
+ public function getUrls()
+ {
+ return $this->urls;
+ }
+}
+
+class Postman_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksHeader extends Postman_Google_Collection
+{
+ protected $collection_key = 'args';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $argsType = 'Postman_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksHeaderArgs';
+ protected $argsDataType = 'array';
+ public $format;
+
+
+ public function setArgs($args)
+ {
+ $this->args = $args;
+ }
+ public function getArgs()
+ {
+ return $this->args;
+ }
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+}
+
+class Postman_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksHeaderArgs extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $type;
+ public $value;
+
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrls extends Postman_Google_Collection
+{
+ protected $collection_key = 'details';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $detailsType = 'Postman_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsDetails';
+ protected $detailsDataType = 'array';
+ protected $resultType = 'Postman_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsResult';
+ protected $resultDataType = '';
+
+
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setResult(Postman_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsResult $result)
+ {
+ $this->result = $result;
+ }
+ public function getResult()
+ {
+ return $this->result;
+ }
+}
+
+class Postman_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsDetails extends Postman_Google_Collection
+{
+ protected $collection_key = 'args';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $argsType = 'Postman_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsDetailsArgs';
+ protected $argsDataType = 'array';
+ public $format;
+
+
+ public function setArgs($args)
+ {
+ $this->args = $args;
+ }
+ public function getArgs()
+ {
+ return $this->args;
+ }
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+}
+
+class Postman_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsDetailsArgs extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $type;
+ public $value;
+
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsResult extends Postman_Google_Collection
+{
+ protected $collection_key = 'args';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $argsType = 'Postman_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsResultArgs';
+ protected $argsDataType = 'array';
+ public $format;
+
+
+ public function setArgs($args)
+ {
+ $this->args = $args;
+ }
+ public function getArgs()
+ {
+ return $this->args;
+ }
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+}
+
+class Postman_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsResultArgs extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $type;
+ public $value;
+
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Pagespeedonline_ResultPageStats extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $cssResponseBytes;
+ public $flashResponseBytes;
+ public $htmlResponseBytes;
+ public $imageResponseBytes;
+ public $javascriptResponseBytes;
+ public $numberCssResources;
+ public $numberHosts;
+ public $numberJsResources;
+ public $numberResources;
+ public $numberStaticResources;
+ public $otherResponseBytes;
+ public $textResponseBytes;
+ public $totalRequestBytes;
+
+
+ public function setCssResponseBytes($cssResponseBytes)
+ {
+ $this->cssResponseBytes = $cssResponseBytes;
+ }
+ public function getCssResponseBytes()
+ {
+ return $this->cssResponseBytes;
+ }
+ public function setFlashResponseBytes($flashResponseBytes)
+ {
+ $this->flashResponseBytes = $flashResponseBytes;
+ }
+ public function getFlashResponseBytes()
+ {
+ return $this->flashResponseBytes;
+ }
+ public function setHtmlResponseBytes($htmlResponseBytes)
+ {
+ $this->htmlResponseBytes = $htmlResponseBytes;
+ }
+ public function getHtmlResponseBytes()
+ {
+ return $this->htmlResponseBytes;
+ }
+ public function setImageResponseBytes($imageResponseBytes)
+ {
+ $this->imageResponseBytes = $imageResponseBytes;
+ }
+ public function getImageResponseBytes()
+ {
+ return $this->imageResponseBytes;
+ }
+ public function setJavascriptResponseBytes($javascriptResponseBytes)
+ {
+ $this->javascriptResponseBytes = $javascriptResponseBytes;
+ }
+ public function getJavascriptResponseBytes()
+ {
+ return $this->javascriptResponseBytes;
+ }
+ public function setNumberCssResources($numberCssResources)
+ {
+ $this->numberCssResources = $numberCssResources;
+ }
+ public function getNumberCssResources()
+ {
+ return $this->numberCssResources;
+ }
+ public function setNumberHosts($numberHosts)
+ {
+ $this->numberHosts = $numberHosts;
+ }
+ public function getNumberHosts()
+ {
+ return $this->numberHosts;
+ }
+ public function setNumberJsResources($numberJsResources)
+ {
+ $this->numberJsResources = $numberJsResources;
+ }
+ public function getNumberJsResources()
+ {
+ return $this->numberJsResources;
+ }
+ public function setNumberResources($numberResources)
+ {
+ $this->numberResources = $numberResources;
+ }
+ public function getNumberResources()
+ {
+ return $this->numberResources;
+ }
+ public function setNumberStaticResources($numberStaticResources)
+ {
+ $this->numberStaticResources = $numberStaticResources;
+ }
+ public function getNumberStaticResources()
+ {
+ return $this->numberStaticResources;
+ }
+ public function setOtherResponseBytes($otherResponseBytes)
+ {
+ $this->otherResponseBytes = $otherResponseBytes;
+ }
+ public function getOtherResponseBytes()
+ {
+ return $this->otherResponseBytes;
+ }
+ public function setTextResponseBytes($textResponseBytes)
+ {
+ $this->textResponseBytes = $textResponseBytes;
+ }
+ public function getTextResponseBytes()
+ {
+ return $this->textResponseBytes;
+ }
+ public function setTotalRequestBytes($totalRequestBytes)
+ {
+ $this->totalRequestBytes = $totalRequestBytes;
+ }
+ public function getTotalRequestBytes()
+ {
+ return $this->totalRequestBytes;
+ }
+}
+
+class Postman_Google_Service_Pagespeedonline_ResultScreenshot extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "mimeType" => "mime_type",
+ );
+ public $data;
+ public $height;
+ public $mimeType;
+ public $width;
+
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_Pagespeedonline_ResultVersion extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $major;
+ public $minor;
+
+
+ public function setMajor($major)
+ {
+ $this->major = $major;
+ }
+ public function getMajor()
+ {
+ return $this->major;
+ }
+ public function setMinor($minor)
+ {
+ $this->minor = $minor;
+ }
+ public function getMinor()
+ {
+ return $this->minor;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Plus.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Plus.php
new file mode 100644
index 0000000..70aa159
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Plus.php
@@ -0,0 +1,3498 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Plus (v1).
+ *
+ * <p>
+ * The Google+ API enables developers to build on top of the Google+ platform.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/+/api/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Plus extends Postman_Google_Service
+{
+ /** Know your basic profile info and list of people in your circles.. */
+ const PLUS_LOGIN =
+ "https://www.googleapis.com/auth/plus.login";
+ /** Know who you are on Google. */
+ const PLUS_ME =
+ "https://www.googleapis.com/auth/plus.me";
+ /** View your email address. */
+ const USERINFO_EMAIL =
+ "https://www.googleapis.com/auth/userinfo.email";
+ /** View your basic profile info. */
+ const USERINFO_PROFILE =
+ "https://www.googleapis.com/auth/userinfo.profile";
+
+ public $activities;
+ public $comments;
+ public $moments;
+ public $people;
+
+
+ /**
+ * Constructs the internal representation of the Plus service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'plus/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'plus';
+
+ $this->activities = new Postman_Google_Service_Plus_Activities_Resource(
+ $this,
+ $this->serviceName,
+ 'activities',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'activities/{activityId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'activityId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'people/{userId}/activities/{collection}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'collection' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'activities',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->comments = new Postman_Google_Service_Plus_Comments_Resource(
+ $this,
+ $this->serviceName,
+ 'comments',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'comments/{commentId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'activities/{activityId}/comments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'activityId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->moments = new Postman_Google_Service_Plus_Moments_Resource(
+ $this,
+ $this->serviceName,
+ 'moments',
+ array(
+ 'methods' => array(
+ 'insert' => array(
+ 'path' => 'people/{userId}/moments/{collection}',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'collection' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'debug' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'people/{userId}/moments/{collection}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'collection' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'targetUrl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'type' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'remove' => array(
+ 'path' => 'moments/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->people = new Postman_Google_Service_Plus_People_Resource(
+ $this,
+ $this->serviceName,
+ 'people',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'people/{userId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'people/{userId}/people/{collection}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'collection' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'listByActivity' => array(
+ 'path' => 'activities/{activityId}/people/{collection}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'activityId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'collection' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'people',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'language' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "activities" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $plusService = new Postman_Google_Service_Plus(...);
+ * $activities = $plusService->activities;
+ * </code>
+ */
+class Postman_Google_Service_Plus_Activities_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Get an activity. (activities.get)
+ *
+ * @param string $activityId The ID of the activity to get.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Plus_Activity
+ */
+ public function get($activityId, $optParams = array())
+ {
+ $params = array('activityId' => $activityId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Plus_Activity");
+ }
+
+ /**
+ * List all of the activities in the specified collection for a particular user.
+ * (activities.listActivities)
+ *
+ * @param string $userId The ID of the user to get activities for. The special
+ * value "me" can be used to indicate the authenticated user.
+ * @param string $collection The collection of activities to list.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The continuation token, which is used to page
+ * through large result sets. To get the next page of results, set this
+ * parameter to the value of "nextPageToken" from the previous response.
+ * @opt_param string maxResults The maximum number of activities to include in
+ * the response, which is used for paging. For any response, the actual number
+ * returned might be less than the specified maxResults.
+ * @return Postman_Google_Service_Plus_ActivityFeed
+ */
+ public function listActivities($userId, $collection, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'collection' => $collection);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Plus_ActivityFeed");
+ }
+
+ /**
+ * Search public activities. (activities.search)
+ *
+ * @param string $query Full-text search query string.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy Specifies how to order search results.
+ * @opt_param string pageToken The continuation token, which is used to page
+ * through large result sets. To get the next page of results, set this
+ * parameter to the value of "nextPageToken" from the previous response. This
+ * token can be of any length.
+ * @opt_param string maxResults The maximum number of activities to include in
+ * the response, which is used for paging. For any response, the actual number
+ * returned might be less than the specified maxResults.
+ * @opt_param string language Specify the preferred language to search with. See
+ * search language codes for available values.
+ * @return Postman_Google_Service_Plus_ActivityFeed
+ */
+ public function search($query, $optParams = array())
+ {
+ $params = array('query' => $query);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Postman_Google_Service_Plus_ActivityFeed");
+ }
+}
+
+/**
+ * The "comments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $plusService = new Postman_Google_Service_Plus(...);
+ * $comments = $plusService->comments;
+ * </code>
+ */
+class Postman_Google_Service_Plus_Comments_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Get a comment. (comments.get)
+ *
+ * @param string $commentId The ID of the comment to get.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Plus_Comment
+ */
+ public function get($commentId, $optParams = array())
+ {
+ $params = array('commentId' => $commentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Plus_Comment");
+ }
+
+ /**
+ * List all of the comments for an activity. (comments.listComments)
+ *
+ * @param string $activityId The ID of the activity to get comments for.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The continuation token, which is used to page
+ * through large result sets. To get the next page of results, set this
+ * parameter to the value of "nextPageToken" from the previous response.
+ * @opt_param string sortOrder The order in which to sort the list of comments.
+ * @opt_param string maxResults The maximum number of comments to include in the
+ * response, which is used for paging. For any response, the actual number
+ * returned might be less than the specified maxResults.
+ * @return Postman_Google_Service_Plus_CommentFeed
+ */
+ public function listComments($activityId, $optParams = array())
+ {
+ $params = array('activityId' => $activityId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Plus_CommentFeed");
+ }
+}
+
+/**
+ * The "moments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $plusService = new Postman_Google_Service_Plus(...);
+ * $moments = $plusService->moments;
+ * </code>
+ */
+class Postman_Google_Service_Plus_Moments_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Record a moment representing a user's action such as making a purchase or
+ * commenting on a blog. (moments.insert)
+ *
+ * @param string $userId The ID of the user to record actions for. The only
+ * valid values are "me" and the ID of the authenticated user.
+ * @param string $collection The collection to which to write moments.
+ * @param Postman_Google_Moment $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool debug Return the moment as written. Should be used only for
+ * debugging.
+ * @return Postman_Google_Service_Plus_Moment
+ */
+ public function insert($userId, $collection, Postman_Google_Service_Plus_Moment $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'collection' => $collection, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Plus_Moment");
+ }
+
+ /**
+ * List all of the moments for a particular user. (moments.listMoments)
+ *
+ * @param string $userId The ID of the user to get moments for. The special
+ * value "me" can be used to indicate the authenticated user.
+ * @param string $collection The collection of moments to list.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults The maximum number of moments to include in the
+ * response, which is used for paging. For any response, the actual number
+ * returned might be less than the specified maxResults.
+ * @opt_param string pageToken The continuation token, which is used to page
+ * through large result sets. To get the next page of results, set this
+ * parameter to the value of "nextPageToken" from the previous response.
+ * @opt_param string targetUrl Only moments containing this targetUrl will be
+ * returned.
+ * @opt_param string type Only moments of this type will be returned.
+ * @return Postman_Google_Service_Plus_MomentsFeed
+ */
+ public function listMoments($userId, $collection, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'collection' => $collection);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Plus_MomentsFeed");
+ }
+
+ /**
+ * Delete a moment. (moments.remove)
+ *
+ * @param string $id The ID of the moment to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function remove($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('remove', array($params));
+ }
+}
+
+/**
+ * The "people" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $plusService = new Postman_Google_Service_Plus(...);
+ * $people = $plusService->people;
+ * </code>
+ */
+class Postman_Google_Service_Plus_People_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Get a person's profile. If your app uses scope
+ * https://www.googleapis.com/auth/plus.login, this method is guaranteed to
+ * return ageRange and language. (people.get)
+ *
+ * @param string $userId The ID of the person to get the profile for. The
+ * special value "me" can be used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Plus_Person
+ */
+ public function get($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Plus_Person");
+ }
+
+ /**
+ * List all of the people in the specified collection. (people.listPeople)
+ *
+ * @param string $userId Get the collection of people for the person identified.
+ * Use "me" to indicate the authenticated user.
+ * @param string $collection The collection of people to list.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy The order to return people in.
+ * @opt_param string pageToken The continuation token, which is used to page
+ * through large result sets. To get the next page of results, set this
+ * parameter to the value of "nextPageToken" from the previous response.
+ * @opt_param string maxResults The maximum number of people to include in the
+ * response, which is used for paging. For any response, the actual number
+ * returned might be less than the specified maxResults.
+ * @return Postman_Google_Service_Plus_PeopleFeed
+ */
+ public function listPeople($userId, $collection, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'collection' => $collection);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Plus_PeopleFeed");
+ }
+
+ /**
+ * List all of the people in the specified collection for a particular activity.
+ * (people.listByActivity)
+ *
+ * @param string $activityId The ID of the activity to get the list of people
+ * for.
+ * @param string $collection The collection of people to list.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The continuation token, which is used to page
+ * through large result sets. To get the next page of results, set this
+ * parameter to the value of "nextPageToken" from the previous response.
+ * @opt_param string maxResults The maximum number of people to include in the
+ * response, which is used for paging. For any response, the actual number
+ * returned might be less than the specified maxResults.
+ * @return Postman_Google_Service_Plus_PeopleFeed
+ */
+ public function listByActivity($activityId, $collection, $optParams = array())
+ {
+ $params = array('activityId' => $activityId, 'collection' => $collection);
+ $params = array_merge($params, $optParams);
+ return $this->call('listByActivity', array($params), "Postman_Google_Service_Plus_PeopleFeed");
+ }
+
+ /**
+ * Search all public profiles. (people.search)
+ *
+ * @param string $query Specify a query string for full text search of public
+ * text in all profiles.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The continuation token, which is used to page
+ * through large result sets. To get the next page of results, set this
+ * parameter to the value of "nextPageToken" from the previous response. This
+ * token can be of any length.
+ * @opt_param string maxResults The maximum number of people to include in the
+ * response, which is used for paging. For any response, the actual number
+ * returned might be less than the specified maxResults.
+ * @opt_param string language Specify the preferred language to search with. See
+ * search language codes for available values.
+ * @return Postman_Google_Service_Plus_PeopleFeed
+ */
+ public function search($query, $optParams = array())
+ {
+ $params = array('query' => $query);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Postman_Google_Service_Plus_PeopleFeed");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Plus_Acl extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ protected $itemsType = 'Postman_Google_Service_Plus_PlusAclentryResource';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Plus_Activity extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $accessType = 'Postman_Google_Service_Plus_Acl';
+ protected $accessDataType = '';
+ protected $actorType = 'Postman_Google_Service_Plus_ActivityActor';
+ protected $actorDataType = '';
+ public $address;
+ public $annotation;
+ public $crosspostSource;
+ public $etag;
+ public $geocode;
+ public $id;
+ public $kind;
+ protected $locationType = 'Postman_Google_Service_Plus_Place';
+ protected $locationDataType = '';
+ protected $objectType = 'Postman_Google_Service_Plus_ActivityObject';
+ protected $objectDataType = '';
+ public $placeId;
+ public $placeName;
+ protected $providerType = 'Postman_Google_Service_Plus_ActivityProvider';
+ protected $providerDataType = '';
+ public $published;
+ public $radius;
+ public $title;
+ public $updated;
+ public $url;
+ public $verb;
+
+
+ public function setAccess(Postman_Google_Service_Plus_Acl $access)
+ {
+ $this->access = $access;
+ }
+ public function getAccess()
+ {
+ return $this->access;
+ }
+ public function setActor(Postman_Google_Service_Plus_ActivityActor $actor)
+ {
+ $this->actor = $actor;
+ }
+ public function getActor()
+ {
+ return $this->actor;
+ }
+ public function setAddress($address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
+ public function setAnnotation($annotation)
+ {
+ $this->annotation = $annotation;
+ }
+ public function getAnnotation()
+ {
+ return $this->annotation;
+ }
+ public function setCrosspostSource($crosspostSource)
+ {
+ $this->crosspostSource = $crosspostSource;
+ }
+ public function getCrosspostSource()
+ {
+ return $this->crosspostSource;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setGeocode($geocode)
+ {
+ $this->geocode = $geocode;
+ }
+ public function getGeocode()
+ {
+ return $this->geocode;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLocation(Postman_Google_Service_Plus_Place $location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setObject(Postman_Google_Service_Plus_ActivityObject $object)
+ {
+ $this->object = $object;
+ }
+ public function getObject()
+ {
+ return $this->object;
+ }
+ public function setPlaceId($placeId)
+ {
+ $this->placeId = $placeId;
+ }
+ public function getPlaceId()
+ {
+ return $this->placeId;
+ }
+ public function setPlaceName($placeName)
+ {
+ $this->placeName = $placeName;
+ }
+ public function getPlaceName()
+ {
+ return $this->placeName;
+ }
+ public function setProvider(Postman_Google_Service_Plus_ActivityProvider $provider)
+ {
+ $this->provider = $provider;
+ }
+ public function getProvider()
+ {
+ return $this->provider;
+ }
+ public function setPublished($published)
+ {
+ $this->published = $published;
+ }
+ public function getPublished()
+ {
+ return $this->published;
+ }
+ public function setRadius($radius)
+ {
+ $this->radius = $radius;
+ }
+ public function getRadius()
+ {
+ return $this->radius;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setVerb($verb)
+ {
+ $this->verb = $verb;
+ }
+ public function getVerb()
+ {
+ return $this->verb;
+ }
+}
+
+class Postman_Google_Service_Plus_ActivityActor extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+ public $id;
+ protected $imageType = 'Postman_Google_Service_Plus_ActivityActorImage';
+ protected $imageDataType = '';
+ protected $nameType = 'Postman_Google_Service_Plus_ActivityActorName';
+ protected $nameDataType = '';
+ public $url;
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImage(Postman_Google_Service_Plus_ActivityActorImage $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setName(Postman_Google_Service_Plus_ActivityActorName $name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Plus_ActivityActorImage extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $url;
+
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Plus_ActivityActorName extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $familyName;
+ public $givenName;
+
+
+ public function setFamilyName($familyName)
+ {
+ $this->familyName = $familyName;
+ }
+ public function getFamilyName()
+ {
+ return $this->familyName;
+ }
+ public function setGivenName($givenName)
+ {
+ $this->givenName = $givenName;
+ }
+ public function getGivenName()
+ {
+ return $this->givenName;
+ }
+}
+
+class Postman_Google_Service_Plus_ActivityFeed extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Plus_Activity';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextLink;
+ public $nextPageToken;
+ public $selfLink;
+ public $title;
+ public $updated;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+}
+
+class Postman_Google_Service_Plus_ActivityObject extends Postman_Google_Collection
+{
+ protected $collection_key = 'attachments';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $actorType = 'Postman_Google_Service_Plus_ActivityObjectActor';
+ protected $actorDataType = '';
+ protected $attachmentsType = 'Postman_Google_Service_Plus_ActivityObjectAttachments';
+ protected $attachmentsDataType = 'array';
+ public $content;
+ public $id;
+ public $objectType;
+ public $originalContent;
+ protected $plusonersType = 'Postman_Google_Service_Plus_ActivityObjectPlusoners';
+ protected $plusonersDataType = '';
+ protected $repliesType = 'Postman_Google_Service_Plus_ActivityObjectReplies';
+ protected $repliesDataType = '';
+ protected $resharersType = 'Postman_Google_Service_Plus_ActivityObjectResharers';
+ protected $resharersDataType = '';
+ public $url;
+
+
+ public function setActor(Postman_Google_Service_Plus_ActivityObjectActor $actor)
+ {
+ $this->actor = $actor;
+ }
+ public function getActor()
+ {
+ return $this->actor;
+ }
+ public function setAttachments($attachments)
+ {
+ $this->attachments = $attachments;
+ }
+ public function getAttachments()
+ {
+ return $this->attachments;
+ }
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setObjectType($objectType)
+ {
+ $this->objectType = $objectType;
+ }
+ public function getObjectType()
+ {
+ return $this->objectType;
+ }
+ public function setOriginalContent($originalContent)
+ {
+ $this->originalContent = $originalContent;
+ }
+ public function getOriginalContent()
+ {
+ return $this->originalContent;
+ }
+ public function setPlusoners(Postman_Google_Service_Plus_ActivityObjectPlusoners $plusoners)
+ {
+ $this->plusoners = $plusoners;
+ }
+ public function getPlusoners()
+ {
+ return $this->plusoners;
+ }
+ public function setReplies(Postman_Google_Service_Plus_ActivityObjectReplies $replies)
+ {
+ $this->replies = $replies;
+ }
+ public function getReplies()
+ {
+ return $this->replies;
+ }
+ public function setResharers(Postman_Google_Service_Plus_ActivityObjectResharers $resharers)
+ {
+ $this->resharers = $resharers;
+ }
+ public function getResharers()
+ {
+ return $this->resharers;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Plus_ActivityObjectActor extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+ public $id;
+ protected $imageType = 'Postman_Google_Service_Plus_ActivityObjectActorImage';
+ protected $imageDataType = '';
+ public $url;
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImage(Postman_Google_Service_Plus_ActivityObjectActorImage $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Plus_ActivityObjectActorImage extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $url;
+
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Plus_ActivityObjectAttachments extends Postman_Google_Collection
+{
+ protected $collection_key = 'thumbnails';
+ protected $internal_gapi_mappings = array(
+ );
+ public $content;
+ public $displayName;
+ protected $embedType = 'Postman_Google_Service_Plus_ActivityObjectAttachmentsEmbed';
+ protected $embedDataType = '';
+ protected $fullImageType = 'Postman_Google_Service_Plus_ActivityObjectAttachmentsFullImage';
+ protected $fullImageDataType = '';
+ public $id;
+ protected $imageType = 'Postman_Google_Service_Plus_ActivityObjectAttachmentsImage';
+ protected $imageDataType = '';
+ public $objectType;
+ protected $thumbnailsType = 'Postman_Google_Service_Plus_ActivityObjectAttachmentsThumbnails';
+ protected $thumbnailsDataType = 'array';
+ public $url;
+
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setEmbed(Postman_Google_Service_Plus_ActivityObjectAttachmentsEmbed $embed)
+ {
+ $this->embed = $embed;
+ }
+ public function getEmbed()
+ {
+ return $this->embed;
+ }
+ public function setFullImage(Postman_Google_Service_Plus_ActivityObjectAttachmentsFullImage $fullImage)
+ {
+ $this->fullImage = $fullImage;
+ }
+ public function getFullImage()
+ {
+ return $this->fullImage;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImage(Postman_Google_Service_Plus_ActivityObjectAttachmentsImage $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setObjectType($objectType)
+ {
+ $this->objectType = $objectType;
+ }
+ public function getObjectType()
+ {
+ return $this->objectType;
+ }
+ public function setThumbnails($thumbnails)
+ {
+ $this->thumbnails = $thumbnails;
+ }
+ public function getThumbnails()
+ {
+ return $this->thumbnails;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Plus_ActivityObjectAttachmentsEmbed extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $type;
+ public $url;
+
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Plus_ActivityObjectAttachmentsFullImage extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $height;
+ public $type;
+ public $url;
+ public $width;
+
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_Plus_ActivityObjectAttachmentsImage extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $height;
+ public $type;
+ public $url;
+ public $width;
+
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_Plus_ActivityObjectAttachmentsThumbnails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ protected $imageType = 'Postman_Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage';
+ protected $imageDataType = '';
+ public $url;
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setImage(Postman_Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $height;
+ public $type;
+ public $url;
+ public $width;
+
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_Plus_ActivityObjectPlusoners extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $selfLink;
+ public $totalItems;
+
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_Plus_ActivityObjectReplies extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $selfLink;
+ public $totalItems;
+
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_Plus_ActivityObjectResharers extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $selfLink;
+ public $totalItems;
+
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_Plus_ActivityProvider extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $title;
+
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_Plus_Comment extends Postman_Google_Collection
+{
+ protected $collection_key = 'inReplyTo';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $actorType = 'Postman_Google_Service_Plus_CommentActor';
+ protected $actorDataType = '';
+ public $etag;
+ public $id;
+ protected $inReplyToType = 'Postman_Google_Service_Plus_CommentInReplyTo';
+ protected $inReplyToDataType = 'array';
+ public $kind;
+ protected $objectType = 'Postman_Google_Service_Plus_CommentObject';
+ protected $objectDataType = '';
+ protected $plusonersType = 'Postman_Google_Service_Plus_CommentPlusoners';
+ protected $plusonersDataType = '';
+ public $published;
+ public $selfLink;
+ public $updated;
+ public $verb;
+
+
+ public function setActor(Postman_Google_Service_Plus_CommentActor $actor)
+ {
+ $this->actor = $actor;
+ }
+ public function getActor()
+ {
+ return $this->actor;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInReplyTo($inReplyTo)
+ {
+ $this->inReplyTo = $inReplyTo;
+ }
+ public function getInReplyTo()
+ {
+ return $this->inReplyTo;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setObject(Postman_Google_Service_Plus_CommentObject $object)
+ {
+ $this->object = $object;
+ }
+ public function getObject()
+ {
+ return $this->object;
+ }
+ public function setPlusoners(Postman_Google_Service_Plus_CommentPlusoners $plusoners)
+ {
+ $this->plusoners = $plusoners;
+ }
+ public function getPlusoners()
+ {
+ return $this->plusoners;
+ }
+ public function setPublished($published)
+ {
+ $this->published = $published;
+ }
+ public function getPublished()
+ {
+ return $this->published;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setVerb($verb)
+ {
+ $this->verb = $verb;
+ }
+ public function getVerb()
+ {
+ return $this->verb;
+ }
+}
+
+class Postman_Google_Service_Plus_CommentActor extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+ public $id;
+ protected $imageType = 'Postman_Google_Service_Plus_CommentActorImage';
+ protected $imageDataType = '';
+ public $url;
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImage(Postman_Google_Service_Plus_CommentActorImage $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Plus_CommentActorImage extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $url;
+
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Plus_CommentFeed extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Plus_Comment';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextLink;
+ public $nextPageToken;
+ public $title;
+ public $updated;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+}
+
+class Postman_Google_Service_Plus_CommentInReplyTo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $url;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Plus_CommentObject extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $content;
+ public $objectType;
+ public $originalContent;
+
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setObjectType($objectType)
+ {
+ $this->objectType = $objectType;
+ }
+ public function getObjectType()
+ {
+ return $this->objectType;
+ }
+ public function setOriginalContent($originalContent)
+ {
+ $this->originalContent = $originalContent;
+ }
+ public function getOriginalContent()
+ {
+ return $this->originalContent;
+ }
+}
+
+class Postman_Google_Service_Plus_CommentPlusoners extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $totalItems;
+
+
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_Plus_ItemScope extends Postman_Google_Collection
+{
+ protected $collection_key = 'performers';
+ protected $internal_gapi_mappings = array(
+ "associatedMedia" => "associated_media",
+ );
+ protected $aboutType = 'Postman_Google_Service_Plus_ItemScope';
+ protected $aboutDataType = '';
+ public $additionalName;
+ protected $addressType = 'Postman_Google_Service_Plus_ItemScope';
+ protected $addressDataType = '';
+ public $addressCountry;
+ public $addressLocality;
+ public $addressRegion;
+ protected $associatedMediaType = 'Postman_Google_Service_Plus_ItemScope';
+ protected $associatedMediaDataType = 'array';
+ public $attendeeCount;
+ protected $attendeesType = 'Postman_Google_Service_Plus_ItemScope';
+ protected $attendeesDataType = 'array';
+ protected $audioType = 'Postman_Google_Service_Plus_ItemScope';
+ protected $audioDataType = '';
+ protected $authorType = 'Postman_Google_Service_Plus_ItemScope';
+ protected $authorDataType = 'array';
+ public $bestRating;
+ public $birthDate;
+ protected $byArtistType = 'Postman_Google_Service_Plus_ItemScope';
+ protected $byArtistDataType = '';
+ public $caption;
+ public $contentSize;
+ public $contentUrl;
+ protected $contributorType = 'Postman_Google_Service_Plus_ItemScope';
+ protected $contributorDataType = 'array';
+ public $dateCreated;
+ public $dateModified;
+ public $datePublished;
+ public $description;
+ public $duration;
+ public $embedUrl;
+ public $endDate;
+ public $familyName;
+ public $gender;
+ protected $geoType = 'Postman_Google_Service_Plus_ItemScope';
+ protected $geoDataType = '';
+ public $givenName;
+ public $height;
+ public $id;
+ public $image;
+ protected $inAlbumType = 'Postman_Google_Service_Plus_ItemScope';
+ protected $inAlbumDataType = '';
+ public $kind;
+ public $latitude;
+ protected $locationType = 'Postman_Google_Service_Plus_ItemScope';
+ protected $locationDataType = '';
+ public $longitude;
+ public $name;
+ protected $partOfTVSeriesType = 'Postman_Google_Service_Plus_ItemScope';
+ protected $partOfTVSeriesDataType = '';
+ protected $performersType = 'Postman_Google_Service_Plus_ItemScope';
+ protected $performersDataType = 'array';
+ public $playerType;
+ public $postOfficeBoxNumber;
+ public $postalCode;
+ public $ratingValue;
+ protected $reviewRatingType = 'Postman_Google_Service_Plus_ItemScope';
+ protected $reviewRatingDataType = '';
+ public $startDate;
+ public $streetAddress;
+ public $text;
+ protected $thumbnailType = 'Postman_Google_Service_Plus_ItemScope';
+ protected $thumbnailDataType = '';
+ public $thumbnailUrl;
+ public $tickerSymbol;
+ public $type;
+ public $url;
+ public $width;
+ public $worstRating;
+
+
+ public function setAbout(Postman_Google_Service_Plus_ItemScope $about)
+ {
+ $this->about = $about;
+ }
+ public function getAbout()
+ {
+ return $this->about;
+ }
+ public function setAdditionalName($additionalName)
+ {
+ $this->additionalName = $additionalName;
+ }
+ public function getAdditionalName()
+ {
+ return $this->additionalName;
+ }
+ public function setAddress(Postman_Google_Service_Plus_ItemScope $address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
+ public function setAddressCountry($addressCountry)
+ {
+ $this->addressCountry = $addressCountry;
+ }
+ public function getAddressCountry()
+ {
+ return $this->addressCountry;
+ }
+ public function setAddressLocality($addressLocality)
+ {
+ $this->addressLocality = $addressLocality;
+ }
+ public function getAddressLocality()
+ {
+ return $this->addressLocality;
+ }
+ public function setAddressRegion($addressRegion)
+ {
+ $this->addressRegion = $addressRegion;
+ }
+ public function getAddressRegion()
+ {
+ return $this->addressRegion;
+ }
+ public function setAssociatedMedia($associatedMedia)
+ {
+ $this->associatedMedia = $associatedMedia;
+ }
+ public function getAssociatedMedia()
+ {
+ return $this->associatedMedia;
+ }
+ public function setAttendeeCount($attendeeCount)
+ {
+ $this->attendeeCount = $attendeeCount;
+ }
+ public function getAttendeeCount()
+ {
+ return $this->attendeeCount;
+ }
+ public function setAttendees($attendees)
+ {
+ $this->attendees = $attendees;
+ }
+ public function getAttendees()
+ {
+ return $this->attendees;
+ }
+ public function setAudio(Postman_Google_Service_Plus_ItemScope $audio)
+ {
+ $this->audio = $audio;
+ }
+ public function getAudio()
+ {
+ return $this->audio;
+ }
+ public function setAuthor($author)
+ {
+ $this->author = $author;
+ }
+ public function getAuthor()
+ {
+ return $this->author;
+ }
+ public function setBestRating($bestRating)
+ {
+ $this->bestRating = $bestRating;
+ }
+ public function getBestRating()
+ {
+ return $this->bestRating;
+ }
+ public function setBirthDate($birthDate)
+ {
+ $this->birthDate = $birthDate;
+ }
+ public function getBirthDate()
+ {
+ return $this->birthDate;
+ }
+ public function setByArtist(Postman_Google_Service_Plus_ItemScope $byArtist)
+ {
+ $this->byArtist = $byArtist;
+ }
+ public function getByArtist()
+ {
+ return $this->byArtist;
+ }
+ public function setCaption($caption)
+ {
+ $this->caption = $caption;
+ }
+ public function getCaption()
+ {
+ return $this->caption;
+ }
+ public function setContentSize($contentSize)
+ {
+ $this->contentSize = $contentSize;
+ }
+ public function getContentSize()
+ {
+ return $this->contentSize;
+ }
+ public function setContentUrl($contentUrl)
+ {
+ $this->contentUrl = $contentUrl;
+ }
+ public function getContentUrl()
+ {
+ return $this->contentUrl;
+ }
+ public function setContributor($contributor)
+ {
+ $this->contributor = $contributor;
+ }
+ public function getContributor()
+ {
+ return $this->contributor;
+ }
+ public function setDateCreated($dateCreated)
+ {
+ $this->dateCreated = $dateCreated;
+ }
+ public function getDateCreated()
+ {
+ return $this->dateCreated;
+ }
+ public function setDateModified($dateModified)
+ {
+ $this->dateModified = $dateModified;
+ }
+ public function getDateModified()
+ {
+ return $this->dateModified;
+ }
+ public function setDatePublished($datePublished)
+ {
+ $this->datePublished = $datePublished;
+ }
+ public function getDatePublished()
+ {
+ return $this->datePublished;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDuration($duration)
+ {
+ $this->duration = $duration;
+ }
+ public function getDuration()
+ {
+ return $this->duration;
+ }
+ public function setEmbedUrl($embedUrl)
+ {
+ $this->embedUrl = $embedUrl;
+ }
+ public function getEmbedUrl()
+ {
+ return $this->embedUrl;
+ }
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setFamilyName($familyName)
+ {
+ $this->familyName = $familyName;
+ }
+ public function getFamilyName()
+ {
+ return $this->familyName;
+ }
+ public function setGender($gender)
+ {
+ $this->gender = $gender;
+ }
+ public function getGender()
+ {
+ return $this->gender;
+ }
+ public function setGeo(Postman_Google_Service_Plus_ItemScope $geo)
+ {
+ $this->geo = $geo;
+ }
+ public function getGeo()
+ {
+ return $this->geo;
+ }
+ public function setGivenName($givenName)
+ {
+ $this->givenName = $givenName;
+ }
+ public function getGivenName()
+ {
+ return $this->givenName;
+ }
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImage($image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setInAlbum(Postman_Google_Service_Plus_ItemScope $inAlbum)
+ {
+ $this->inAlbum = $inAlbum;
+ }
+ public function getInAlbum()
+ {
+ return $this->inAlbum;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLatitude($latitude)
+ {
+ $this->latitude = $latitude;
+ }
+ public function getLatitude()
+ {
+ return $this->latitude;
+ }
+ public function setLocation(Postman_Google_Service_Plus_ItemScope $location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setLongitude($longitude)
+ {
+ $this->longitude = $longitude;
+ }
+ public function getLongitude()
+ {
+ return $this->longitude;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPartOfTVSeries(Postman_Google_Service_Plus_ItemScope $partOfTVSeries)
+ {
+ $this->partOfTVSeries = $partOfTVSeries;
+ }
+ public function getPartOfTVSeries()
+ {
+ return $this->partOfTVSeries;
+ }
+ public function setPerformers($performers)
+ {
+ $this->performers = $performers;
+ }
+ public function getPerformers()
+ {
+ return $this->performers;
+ }
+ public function setPlayerType($playerType)
+ {
+ $this->playerType = $playerType;
+ }
+ public function getPlayerType()
+ {
+ return $this->playerType;
+ }
+ public function setPostOfficeBoxNumber($postOfficeBoxNumber)
+ {
+ $this->postOfficeBoxNumber = $postOfficeBoxNumber;
+ }
+ public function getPostOfficeBoxNumber()
+ {
+ return $this->postOfficeBoxNumber;
+ }
+ public function setPostalCode($postalCode)
+ {
+ $this->postalCode = $postalCode;
+ }
+ public function getPostalCode()
+ {
+ return $this->postalCode;
+ }
+ public function setRatingValue($ratingValue)
+ {
+ $this->ratingValue = $ratingValue;
+ }
+ public function getRatingValue()
+ {
+ return $this->ratingValue;
+ }
+ public function setReviewRating(Postman_Google_Service_Plus_ItemScope $reviewRating)
+ {
+ $this->reviewRating = $reviewRating;
+ }
+ public function getReviewRating()
+ {
+ return $this->reviewRating;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+ public function setStreetAddress($streetAddress)
+ {
+ $this->streetAddress = $streetAddress;
+ }
+ public function getStreetAddress()
+ {
+ return $this->streetAddress;
+ }
+ public function setText($text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+ public function setThumbnail(Postman_Google_Service_Plus_ItemScope $thumbnail)
+ {
+ $this->thumbnail = $thumbnail;
+ }
+ public function getThumbnail()
+ {
+ return $this->thumbnail;
+ }
+ public function setThumbnailUrl($thumbnailUrl)
+ {
+ $this->thumbnailUrl = $thumbnailUrl;
+ }
+ public function getThumbnailUrl()
+ {
+ return $this->thumbnailUrl;
+ }
+ public function setTickerSymbol($tickerSymbol)
+ {
+ $this->tickerSymbol = $tickerSymbol;
+ }
+ public function getTickerSymbol()
+ {
+ return $this->tickerSymbol;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+ public function setWorstRating($worstRating)
+ {
+ $this->worstRating = $worstRating;
+ }
+ public function getWorstRating()
+ {
+ return $this->worstRating;
+ }
+}
+
+class Postman_Google_Service_Plus_Moment extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ protected $objectType = 'Postman_Google_Service_Plus_ItemScope';
+ protected $objectDataType = '';
+ protected $resultType = 'Postman_Google_Service_Plus_ItemScope';
+ protected $resultDataType = '';
+ public $startDate;
+ protected $targetType = 'Postman_Google_Service_Plus_ItemScope';
+ protected $targetDataType = '';
+ public $type;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setObject(Postman_Google_Service_Plus_ItemScope $object)
+ {
+ $this->object = $object;
+ }
+ public function getObject()
+ {
+ return $this->object;
+ }
+ public function setResult(Postman_Google_Service_Plus_ItemScope $result)
+ {
+ $this->result = $result;
+ }
+ public function getResult()
+ {
+ return $this->result;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+ public function setTarget(Postman_Google_Service_Plus_ItemScope $target)
+ {
+ $this->target = $target;
+ }
+ public function getTarget()
+ {
+ return $this->target;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Plus_MomentsFeed extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Plus_Moment';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextLink;
+ public $nextPageToken;
+ public $selfLink;
+ public $title;
+ public $updated;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+}
+
+class Postman_Google_Service_Plus_PeopleFeed extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Plus_Person';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+ public $title;
+ public $totalItems;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_Plus_Person extends Postman_Google_Collection
+{
+ protected $collection_key = 'urls';
+ protected $internal_gapi_mappings = array(
+ );
+ public $aboutMe;
+ protected $ageRangeType = 'Postman_Google_Service_Plus_PersonAgeRange';
+ protected $ageRangeDataType = '';
+ public $birthday;
+ public $braggingRights;
+ public $circledByCount;
+ protected $coverType = 'Postman_Google_Service_Plus_PersonCover';
+ protected $coverDataType = '';
+ public $currentLocation;
+ public $displayName;
+ public $domain;
+ protected $emailsType = 'Postman_Google_Service_Plus_PersonEmails';
+ protected $emailsDataType = 'array';
+ public $etag;
+ public $gender;
+ public $id;
+ protected $imageType = 'Postman_Google_Service_Plus_PersonImage';
+ protected $imageDataType = '';
+ public $isPlusUser;
+ public $kind;
+ public $language;
+ protected $nameType = 'Postman_Google_Service_Plus_PersonName';
+ protected $nameDataType = '';
+ public $nickname;
+ public $objectType;
+ public $occupation;
+ protected $organizationsType = 'Postman_Google_Service_Plus_PersonOrganizations';
+ protected $organizationsDataType = 'array';
+ protected $placesLivedType = 'Postman_Google_Service_Plus_PersonPlacesLived';
+ protected $placesLivedDataType = 'array';
+ public $plusOneCount;
+ public $relationshipStatus;
+ public $skills;
+ public $tagline;
+ public $url;
+ protected $urlsType = 'Postman_Google_Service_Plus_PersonUrls';
+ protected $urlsDataType = 'array';
+ public $verified;
+
+
+ public function setAboutMe($aboutMe)
+ {
+ $this->aboutMe = $aboutMe;
+ }
+ public function getAboutMe()
+ {
+ return $this->aboutMe;
+ }
+ public function setAgeRange(Postman_Google_Service_Plus_PersonAgeRange $ageRange)
+ {
+ $this->ageRange = $ageRange;
+ }
+ public function getAgeRange()
+ {
+ return $this->ageRange;
+ }
+ public function setBirthday($birthday)
+ {
+ $this->birthday = $birthday;
+ }
+ public function getBirthday()
+ {
+ return $this->birthday;
+ }
+ public function setBraggingRights($braggingRights)
+ {
+ $this->braggingRights = $braggingRights;
+ }
+ public function getBraggingRights()
+ {
+ return $this->braggingRights;
+ }
+ public function setCircledByCount($circledByCount)
+ {
+ $this->circledByCount = $circledByCount;
+ }
+ public function getCircledByCount()
+ {
+ return $this->circledByCount;
+ }
+ public function setCover(Postman_Google_Service_Plus_PersonCover $cover)
+ {
+ $this->cover = $cover;
+ }
+ public function getCover()
+ {
+ return $this->cover;
+ }
+ public function setCurrentLocation($currentLocation)
+ {
+ $this->currentLocation = $currentLocation;
+ }
+ public function getCurrentLocation()
+ {
+ return $this->currentLocation;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setDomain($domain)
+ {
+ $this->domain = $domain;
+ }
+ public function getDomain()
+ {
+ return $this->domain;
+ }
+ public function setEmails($emails)
+ {
+ $this->emails = $emails;
+ }
+ public function getEmails()
+ {
+ return $this->emails;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setGender($gender)
+ {
+ $this->gender = $gender;
+ }
+ public function getGender()
+ {
+ return $this->gender;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImage(Postman_Google_Service_Plus_PersonImage $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setIsPlusUser($isPlusUser)
+ {
+ $this->isPlusUser = $isPlusUser;
+ }
+ public function getIsPlusUser()
+ {
+ return $this->isPlusUser;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setName(Postman_Google_Service_Plus_PersonName $name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNickname($nickname)
+ {
+ $this->nickname = $nickname;
+ }
+ public function getNickname()
+ {
+ return $this->nickname;
+ }
+ public function setObjectType($objectType)
+ {
+ $this->objectType = $objectType;
+ }
+ public function getObjectType()
+ {
+ return $this->objectType;
+ }
+ public function setOccupation($occupation)
+ {
+ $this->occupation = $occupation;
+ }
+ public function getOccupation()
+ {
+ return $this->occupation;
+ }
+ public function setOrganizations($organizations)
+ {
+ $this->organizations = $organizations;
+ }
+ public function getOrganizations()
+ {
+ return $this->organizations;
+ }
+ public function setPlacesLived($placesLived)
+ {
+ $this->placesLived = $placesLived;
+ }
+ public function getPlacesLived()
+ {
+ return $this->placesLived;
+ }
+ public function setPlusOneCount($plusOneCount)
+ {
+ $this->plusOneCount = $plusOneCount;
+ }
+ public function getPlusOneCount()
+ {
+ return $this->plusOneCount;
+ }
+ public function setRelationshipStatus($relationshipStatus)
+ {
+ $this->relationshipStatus = $relationshipStatus;
+ }
+ public function getRelationshipStatus()
+ {
+ return $this->relationshipStatus;
+ }
+ public function setSkills($skills)
+ {
+ $this->skills = $skills;
+ }
+ public function getSkills()
+ {
+ return $this->skills;
+ }
+ public function setTagline($tagline)
+ {
+ $this->tagline = $tagline;
+ }
+ public function getTagline()
+ {
+ return $this->tagline;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setUrls($urls)
+ {
+ $this->urls = $urls;
+ }
+ public function getUrls()
+ {
+ return $this->urls;
+ }
+ public function setVerified($verified)
+ {
+ $this->verified = $verified;
+ }
+ public function getVerified()
+ {
+ return $this->verified;
+ }
+}
+
+class Postman_Google_Service_Plus_PersonAgeRange extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $max;
+ public $min;
+
+
+ public function setMax($max)
+ {
+ $this->max = $max;
+ }
+ public function getMax()
+ {
+ return $this->max;
+ }
+ public function setMin($min)
+ {
+ $this->min = $min;
+ }
+ public function getMin()
+ {
+ return $this->min;
+ }
+}
+
+class Postman_Google_Service_Plus_PersonCover extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $coverInfoType = 'Postman_Google_Service_Plus_PersonCoverCoverInfo';
+ protected $coverInfoDataType = '';
+ protected $coverPhotoType = 'Postman_Google_Service_Plus_PersonCoverCoverPhoto';
+ protected $coverPhotoDataType = '';
+ public $layout;
+
+
+ public function setCoverInfo(Postman_Google_Service_Plus_PersonCoverCoverInfo $coverInfo)
+ {
+ $this->coverInfo = $coverInfo;
+ }
+ public function getCoverInfo()
+ {
+ return $this->coverInfo;
+ }
+ public function setCoverPhoto(Postman_Google_Service_Plus_PersonCoverCoverPhoto $coverPhoto)
+ {
+ $this->coverPhoto = $coverPhoto;
+ }
+ public function getCoverPhoto()
+ {
+ return $this->coverPhoto;
+ }
+ public function setLayout($layout)
+ {
+ $this->layout = $layout;
+ }
+ public function getLayout()
+ {
+ return $this->layout;
+ }
+}
+
+class Postman_Google_Service_Plus_PersonCoverCoverInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $leftImageOffset;
+ public $topImageOffset;
+
+
+ public function setLeftImageOffset($leftImageOffset)
+ {
+ $this->leftImageOffset = $leftImageOffset;
+ }
+ public function getLeftImageOffset()
+ {
+ return $this->leftImageOffset;
+ }
+ public function setTopImageOffset($topImageOffset)
+ {
+ $this->topImageOffset = $topImageOffset;
+ }
+ public function getTopImageOffset()
+ {
+ return $this->topImageOffset;
+ }
+}
+
+class Postman_Google_Service_Plus_PersonCoverCoverPhoto extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $height;
+ public $url;
+ public $width;
+
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_Plus_PersonEmails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $type;
+ public $value;
+
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Plus_PersonImage extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $isDefault;
+ public $url;
+
+
+ public function setIsDefault($isDefault)
+ {
+ $this->isDefault = $isDefault;
+ }
+ public function getIsDefault()
+ {
+ return $this->isDefault;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_Plus_PersonName extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $familyName;
+ public $formatted;
+ public $givenName;
+ public $honorificPrefix;
+ public $honorificSuffix;
+ public $middleName;
+
+
+ public function setFamilyName($familyName)
+ {
+ $this->familyName = $familyName;
+ }
+ public function getFamilyName()
+ {
+ return $this->familyName;
+ }
+ public function setFormatted($formatted)
+ {
+ $this->formatted = $formatted;
+ }
+ public function getFormatted()
+ {
+ return $this->formatted;
+ }
+ public function setGivenName($givenName)
+ {
+ $this->givenName = $givenName;
+ }
+ public function getGivenName()
+ {
+ return $this->givenName;
+ }
+ public function setHonorificPrefix($honorificPrefix)
+ {
+ $this->honorificPrefix = $honorificPrefix;
+ }
+ public function getHonorificPrefix()
+ {
+ return $this->honorificPrefix;
+ }
+ public function setHonorificSuffix($honorificSuffix)
+ {
+ $this->honorificSuffix = $honorificSuffix;
+ }
+ public function getHonorificSuffix()
+ {
+ return $this->honorificSuffix;
+ }
+ public function setMiddleName($middleName)
+ {
+ $this->middleName = $middleName;
+ }
+ public function getMiddleName()
+ {
+ return $this->middleName;
+ }
+}
+
+class Postman_Google_Service_Plus_PersonOrganizations extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $department;
+ public $description;
+ public $endDate;
+ public $location;
+ public $name;
+ public $primary;
+ public $startDate;
+ public $title;
+ public $type;
+
+
+ public function setDepartment($department)
+ {
+ $this->department = $department;
+ }
+ public function getDepartment()
+ {
+ return $this->department;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPrimary($primary)
+ {
+ $this->primary = $primary;
+ }
+ public function getPrimary()
+ {
+ return $this->primary;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Plus_PersonPlacesLived extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $primary;
+ public $value;
+
+
+ public function setPrimary($primary)
+ {
+ $this->primary = $primary;
+ }
+ public function getPrimary()
+ {
+ return $this->primary;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Plus_PersonUrls extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $label;
+ public $type;
+ public $value;
+
+
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Plus_Place extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $addressType = 'Postman_Google_Service_Plus_PlaceAddress';
+ protected $addressDataType = '';
+ public $displayName;
+ public $id;
+ public $kind;
+ protected $positionType = 'Postman_Google_Service_Plus_PlacePosition';
+ protected $positionDataType = '';
+
+
+ public function setAddress(Postman_Google_Service_Plus_PlaceAddress $address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPosition(Postman_Google_Service_Plus_PlacePosition $position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+}
+
+class Postman_Google_Service_Plus_PlaceAddress extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $formatted;
+
+
+ public function setFormatted($formatted)
+ {
+ $this->formatted = $formatted;
+ }
+ public function getFormatted()
+ {
+ return $this->formatted;
+ }
+}
+
+class Postman_Google_Service_Plus_PlacePosition extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $latitude;
+ public $longitude;
+
+
+ public function setLatitude($latitude)
+ {
+ $this->latitude = $latitude;
+ }
+ public function getLatitude()
+ {
+ return $this->latitude;
+ }
+ public function setLongitude($longitude)
+ {
+ $this->longitude = $longitude;
+ }
+ public function getLongitude()
+ {
+ return $this->longitude;
+ }
+}
+
+class Postman_Google_Service_Plus_PlusAclentryResource extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+ public $id;
+ public $type;
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/PlusDomains.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/PlusDomains.php
new file mode 100644
index 0000000..6dbc600
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/PlusDomains.php
@@ -0,0 +1,3712 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for PlusDomains (v1).
+ *
+ * <p>
+ * The Google+ API enables developers to build on top of the Google+ platform.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/+/domains/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_PlusDomains extends Postman_Google_Service
+{
+ /** View your circles and the people and pages in them. */
+ const PLUS_CIRCLES_READ =
+ "https://www.googleapis.com/auth/plus.circles.read";
+ /** Manage your circles and add people and pages. People and pages you add to your circles will be notified. Others may see this information publicly. People you add to circles can use Hangouts with you.. */
+ const PLUS_CIRCLES_WRITE =
+ "https://www.googleapis.com/auth/plus.circles.write";
+ /** Know your basic profile info and list of people in your circles.. */
+ const PLUS_LOGIN =
+ "https://www.googleapis.com/auth/plus.login";
+ /** Know who you are on Google. */
+ const PLUS_ME =
+ "https://www.googleapis.com/auth/plus.me";
+ /** Send your photos and videos to Google+. */
+ const PLUS_MEDIA_UPLOAD =
+ "https://www.googleapis.com/auth/plus.media.upload";
+ /** View your own Google+ profile and profiles visible to you. */
+ const PLUS_PROFILES_READ =
+ "https://www.googleapis.com/auth/plus.profiles.read";
+ /** View your Google+ posts, comments, and stream. */
+ const PLUS_STREAM_READ =
+ "https://www.googleapis.com/auth/plus.stream.read";
+ /** Manage your Google+ posts, comments, and stream. */
+ const PLUS_STREAM_WRITE =
+ "https://www.googleapis.com/auth/plus.stream.write";
+ /** View your email address. */
+ const USERINFO_EMAIL =
+ "https://www.googleapis.com/auth/userinfo.email";
+ /** View your basic profile info. */
+ const USERINFO_PROFILE =
+ "https://www.googleapis.com/auth/userinfo.profile";
+
+ public $activities;
+ public $audiences;
+ public $circles;
+ public $comments;
+ public $media;
+ public $people;
+
+
+ /**
+ * Constructs the internal representation of the PlusDomains service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'plusDomains/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'plusDomains';
+
+ $this->activities = new Postman_Google_Service_PlusDomains_Activities_Resource(
+ $this,
+ $this->serviceName,
+ 'activities',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'activities/{activityId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'activityId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'people/{userId}/activities',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'preview' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'people/{userId}/activities/{collection}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'collection' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->audiences = new Postman_Google_Service_PlusDomains_Audiences_Resource(
+ $this,
+ $this->serviceName,
+ 'audiences',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'people/{userId}/audiences',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->circles = new Postman_Google_Service_PlusDomains_Circles_Resource(
+ $this,
+ $this->serviceName,
+ 'circles',
+ array(
+ 'methods' => array(
+ 'addPeople' => array(
+ 'path' => 'circles/{circleId}/people',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'circleId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'email' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'circles/{circleId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'circleId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'people/{userId}/circles',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'people/{userId}/circles',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'circles/{circleId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'circleId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'remove' => array(
+ 'path' => 'circles/{circleId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'circleId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'removePeople' => array(
+ 'path' => 'circles/{circleId}/people',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'circleId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'userId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'email' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'circles/{circleId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'circleId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->comments = new Postman_Google_Service_PlusDomains_Comments_Resource(
+ $this,
+ $this->serviceName,
+ 'comments',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'comments/{commentId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'activities/{activityId}/comments',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'activityId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'activities/{activityId}/comments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'activityId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->media = new Postman_Google_Service_PlusDomains_Media_Resource(
+ $this,
+ $this->serviceName,
+ 'media',
+ array(
+ 'methods' => array(
+ 'insert' => array(
+ 'path' => 'people/{userId}/media/{collection}',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'collection' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->people = new Postman_Google_Service_PlusDomains_People_Resource(
+ $this,
+ $this->serviceName,
+ 'people',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'people/{userId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'people/{userId}/people/{collection}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'collection' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'listByActivity' => array(
+ 'path' => 'activities/{activityId}/people/{collection}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'activityId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'collection' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'listByCircle' => array(
+ 'path' => 'circles/{circleId}/people',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'circleId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "activities" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $plusDomainsService = new Postman_Google_Service_PlusDomains(...);
+ * $activities = $plusDomainsService->activities;
+ * </code>
+ */
+class Postman_Google_Service_PlusDomains_Activities_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Get an activity. (activities.get)
+ *
+ * @param string $activityId The ID of the activity to get.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_PlusDomains_Activity
+ */
+ public function get($activityId, $optParams = array())
+ {
+ $params = array('activityId' => $activityId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_PlusDomains_Activity");
+ }
+
+ /**
+ * Create a new activity for the authenticated user. (activities.insert)
+ *
+ * @param string $userId The ID of the user to create the activity on behalf of.
+ * Its value should be "me", to indicate the authenticated user.
+ * @param Postman_Google_Activity $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool preview If "true", extract the potential media attachments
+ * for a URL. The response will include all possible attachments for a URL,
+ * including video, photos, and articles based on the content of the page.
+ * @return Postman_Google_Service_PlusDomains_Activity
+ */
+ public function insert($userId, Postman_Google_Service_PlusDomains_Activity $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_PlusDomains_Activity");
+ }
+
+ /**
+ * List all of the activities in the specified collection for a particular user.
+ * (activities.listActivities)
+ *
+ * @param string $userId The ID of the user to get activities for. The special
+ * value "me" can be used to indicate the authenticated user.
+ * @param string $collection The collection of activities to list.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The continuation token, which is used to page
+ * through large result sets. To get the next page of results, set this
+ * parameter to the value of "nextPageToken" from the previous response.
+ * @opt_param string maxResults The maximum number of activities to include in
+ * the response, which is used for paging. For any response, the actual number
+ * returned might be less than the specified maxResults.
+ * @return Postman_Google_Service_PlusDomains_ActivityFeed
+ */
+ public function listActivities($userId, $collection, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'collection' => $collection);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_PlusDomains_ActivityFeed");
+ }
+}
+
+/**
+ * The "audiences" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $plusDomainsService = new Postman_Google_Service_PlusDomains(...);
+ * $audiences = $plusDomainsService->audiences;
+ * </code>
+ */
+class Postman_Google_Service_PlusDomains_Audiences_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List all of the audiences to which a user can share.
+ * (audiences.listAudiences)
+ *
+ * @param string $userId The ID of the user to get audiences for. The special
+ * value "me" can be used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The continuation token, which is used to page
+ * through large result sets. To get the next page of results, set this
+ * parameter to the value of "nextPageToken" from the previous response.
+ * @opt_param string maxResults The maximum number of circles to include in the
+ * response, which is used for paging. For any response, the actual number
+ * returned might be less than the specified maxResults.
+ * @return Postman_Google_Service_PlusDomains_AudiencesFeed
+ */
+ public function listAudiences($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_PlusDomains_AudiencesFeed");
+ }
+}
+
+/**
+ * The "circles" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $plusDomainsService = new Postman_Google_Service_PlusDomains(...);
+ * $circles = $plusDomainsService->circles;
+ * </code>
+ */
+class Postman_Google_Service_PlusDomains_Circles_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Add a person to a circle. Google+ limits certain circle operations, including
+ * the number of circle adds. Learn More. (circles.addPeople)
+ *
+ * @param string $circleId The ID of the circle to add the person to.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string userId IDs of the people to add to the circle. Optional,
+ * can be repeated.
+ * @opt_param string email Email of the people to add to the circle. Optional,
+ * can be repeated.
+ * @return Postman_Google_Service_PlusDomains_Circle
+ */
+ public function addPeople($circleId, $optParams = array())
+ {
+ $params = array('circleId' => $circleId);
+ $params = array_merge($params, $optParams);
+ return $this->call('addPeople', array($params), "Postman_Google_Service_PlusDomains_Circle");
+ }
+
+ /**
+ * Get a circle. (circles.get)
+ *
+ * @param string $circleId The ID of the circle to get.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_PlusDomains_Circle
+ */
+ public function get($circleId, $optParams = array())
+ {
+ $params = array('circleId' => $circleId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_PlusDomains_Circle");
+ }
+
+ /**
+ * Create a new circle for the authenticated user. (circles.insert)
+ *
+ * @param string $userId The ID of the user to create the circle on behalf of.
+ * The value "me" can be used to indicate the authenticated user.
+ * @param Postman_Google_Circle $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_PlusDomains_Circle
+ */
+ public function insert($userId, Postman_Google_Service_PlusDomains_Circle $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_PlusDomains_Circle");
+ }
+
+ /**
+ * List all of the circles for a user. (circles.listCircles)
+ *
+ * @param string $userId The ID of the user to get circles for. The special
+ * value "me" can be used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The continuation token, which is used to page
+ * through large result sets. To get the next page of results, set this
+ * parameter to the value of "nextPageToken" from the previous response.
+ * @opt_param string maxResults The maximum number of circles to include in the
+ * response, which is used for paging. For any response, the actual number
+ * returned might be less than the specified maxResults.
+ * @return Postman_Google_Service_PlusDomains_CircleFeed
+ */
+ public function listCircles($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_PlusDomains_CircleFeed");
+ }
+
+ /**
+ * Update a circle's description. This method supports patch semantics.
+ * (circles.patch)
+ *
+ * @param string $circleId The ID of the circle to update.
+ * @param Postman_Google_Circle $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_PlusDomains_Circle
+ */
+ public function patch($circleId, Postman_Google_Service_PlusDomains_Circle $postBody, $optParams = array())
+ {
+ $params = array('circleId' => $circleId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_PlusDomains_Circle");
+ }
+
+ /**
+ * Delete a circle. (circles.remove)
+ *
+ * @param string $circleId The ID of the circle to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function remove($circleId, $optParams = array())
+ {
+ $params = array('circleId' => $circleId);
+ $params = array_merge($params, $optParams);
+ return $this->call('remove', array($params));
+ }
+
+ /**
+ * Remove a person from a circle. (circles.removePeople)
+ *
+ * @param string $circleId The ID of the circle to remove the person from.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string userId IDs of the people to remove from the circle.
+ * Optional, can be repeated.
+ * @opt_param string email Email of the people to add to the circle. Optional,
+ * can be repeated.
+ */
+ public function removePeople($circleId, $optParams = array())
+ {
+ $params = array('circleId' => $circleId);
+ $params = array_merge($params, $optParams);
+ return $this->call('removePeople', array($params));
+ }
+
+ /**
+ * Update a circle's description. (circles.update)
+ *
+ * @param string $circleId The ID of the circle to update.
+ * @param Postman_Google_Circle $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_PlusDomains_Circle
+ */
+ public function update($circleId, Postman_Google_Service_PlusDomains_Circle $postBody, $optParams = array())
+ {
+ $params = array('circleId' => $circleId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_PlusDomains_Circle");
+ }
+}
+
+/**
+ * The "comments" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $plusDomainsService = new Postman_Google_Service_PlusDomains(...);
+ * $comments = $plusDomainsService->comments;
+ * </code>
+ */
+class Postman_Google_Service_PlusDomains_Comments_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Get a comment. (comments.get)
+ *
+ * @param string $commentId The ID of the comment to get.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_PlusDomains_Comment
+ */
+ public function get($commentId, $optParams = array())
+ {
+ $params = array('commentId' => $commentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_PlusDomains_Comment");
+ }
+
+ /**
+ * Create a new comment in reply to an activity. (comments.insert)
+ *
+ * @param string $activityId The ID of the activity to reply to.
+ * @param Postman_Google_Comment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_PlusDomains_Comment
+ */
+ public function insert($activityId, Postman_Google_Service_PlusDomains_Comment $postBody, $optParams = array())
+ {
+ $params = array('activityId' => $activityId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_PlusDomains_Comment");
+ }
+
+ /**
+ * List all of the comments for an activity. (comments.listComments)
+ *
+ * @param string $activityId The ID of the activity to get comments for.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The continuation token, which is used to page
+ * through large result sets. To get the next page of results, set this
+ * parameter to the value of "nextPageToken" from the previous response.
+ * @opt_param string sortOrder The order in which to sort the list of comments.
+ * @opt_param string maxResults The maximum number of comments to include in the
+ * response, which is used for paging. For any response, the actual number
+ * returned might be less than the specified maxResults.
+ * @return Postman_Google_Service_PlusDomains_CommentFeed
+ */
+ public function listComments($activityId, $optParams = array())
+ {
+ $params = array('activityId' => $activityId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_PlusDomains_CommentFeed");
+ }
+}
+
+/**
+ * The "media" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $plusDomainsService = new Postman_Google_Service_PlusDomains(...);
+ * $media = $plusDomainsService->media;
+ * </code>
+ */
+class Postman_Google_Service_PlusDomains_Media_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Add a new media item to an album. The current upload size limitations are
+ * 36MB for a photo and 1GB for a video. Uploads do not count against quota if
+ * photos are less than 2048 pixels on their longest side or videos are less
+ * than 15 minutes in length. (media.insert)
+ *
+ * @param string $userId The ID of the user to create the activity on behalf of.
+ * @param string $collection
+ * @param Postman_Google_Media $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_PlusDomains_Media
+ */
+ public function insert($userId, $collection, Postman_Google_Service_PlusDomains_Media $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'collection' => $collection, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_PlusDomains_Media");
+ }
+}
+
+/**
+ * The "people" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $plusDomainsService = new Postman_Google_Service_PlusDomains(...);
+ * $people = $plusDomainsService->people;
+ * </code>
+ */
+class Postman_Google_Service_PlusDomains_People_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Get a person's profile. (people.get)
+ *
+ * @param string $userId The ID of the person to get the profile for. The
+ * special value "me" can be used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_PlusDomains_Person
+ */
+ public function get($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_PlusDomains_Person");
+ }
+
+ /**
+ * List all of the people in the specified collection. (people.listPeople)
+ *
+ * @param string $userId Get the collection of people for the person identified.
+ * Use "me" to indicate the authenticated user.
+ * @param string $collection The collection of people to list.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy The order to return people in.
+ * @opt_param string pageToken The continuation token, which is used to page
+ * through large result sets. To get the next page of results, set this
+ * parameter to the value of "nextPageToken" from the previous response.
+ * @opt_param string maxResults The maximum number of people to include in the
+ * response, which is used for paging. For any response, the actual number
+ * returned might be less than the specified maxResults.
+ * @return Postman_Google_Service_PlusDomains_PeopleFeed
+ */
+ public function listPeople($userId, $collection, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'collection' => $collection);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_PlusDomains_PeopleFeed");
+ }
+
+ /**
+ * List all of the people in the specified collection for a particular activity.
+ * (people.listByActivity)
+ *
+ * @param string $activityId The ID of the activity to get the list of people
+ * for.
+ * @param string $collection The collection of people to list.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The continuation token, which is used to page
+ * through large result sets. To get the next page of results, set this
+ * parameter to the value of "nextPageToken" from the previous response.
+ * @opt_param string maxResults The maximum number of people to include in the
+ * response, which is used for paging. For any response, the actual number
+ * returned might be less than the specified maxResults.
+ * @return Postman_Google_Service_PlusDomains_PeopleFeed
+ */
+ public function listByActivity($activityId, $collection, $optParams = array())
+ {
+ $params = array('activityId' => $activityId, 'collection' => $collection);
+ $params = array_merge($params, $optParams);
+ return $this->call('listByActivity', array($params), "Postman_Google_Service_PlusDomains_PeopleFeed");
+ }
+
+ /**
+ * List all of the people who are members of a circle. (people.listByCircle)
+ *
+ * @param string $circleId The ID of the circle to get the members of.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The continuation token, which is used to page
+ * through large result sets. To get the next page of results, set this
+ * parameter to the value of "nextPageToken" from the previous response.
+ * @opt_param string maxResults The maximum number of people to include in the
+ * response, which is used for paging. For any response, the actual number
+ * returned might be less than the specified maxResults.
+ * @return Postman_Google_Service_PlusDomains_PeopleFeed
+ */
+ public function listByCircle($circleId, $optParams = array())
+ {
+ $params = array('circleId' => $circleId);
+ $params = array_merge($params, $optParams);
+ return $this->call('listByCircle', array($params), "Postman_Google_Service_PlusDomains_PeopleFeed");
+ }
+}
+
+
+
+
+class Postman_Google_Service_PlusDomains_Acl extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ public $domainRestricted;
+ protected $itemsType = 'Postman_Google_Service_PlusDomains_PlusDomainsAclentryResource';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDomainRestricted($domainRestricted)
+ {
+ $this->domainRestricted = $domainRestricted;
+ }
+ public function getDomainRestricted()
+ {
+ return $this->domainRestricted;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_Activity extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $accessType = 'Postman_Google_Service_PlusDomains_Acl';
+ protected $accessDataType = '';
+ protected $actorType = 'Postman_Google_Service_PlusDomains_ActivityActor';
+ protected $actorDataType = '';
+ public $address;
+ public $annotation;
+ public $crosspostSource;
+ public $etag;
+ public $geocode;
+ public $id;
+ public $kind;
+ protected $locationType = 'Postman_Google_Service_PlusDomains_Place';
+ protected $locationDataType = '';
+ protected $objectType = 'Postman_Google_Service_PlusDomains_ActivityObject';
+ protected $objectDataType = '';
+ public $placeId;
+ public $placeName;
+ protected $providerType = 'Postman_Google_Service_PlusDomains_ActivityProvider';
+ protected $providerDataType = '';
+ public $published;
+ public $radius;
+ public $title;
+ public $updated;
+ public $url;
+ public $verb;
+
+
+ public function setAccess(Postman_Google_Service_PlusDomains_Acl $access)
+ {
+ $this->access = $access;
+ }
+ public function getAccess()
+ {
+ return $this->access;
+ }
+ public function setActor(Postman_Google_Service_PlusDomains_ActivityActor $actor)
+ {
+ $this->actor = $actor;
+ }
+ public function getActor()
+ {
+ return $this->actor;
+ }
+ public function setAddress($address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
+ public function setAnnotation($annotation)
+ {
+ $this->annotation = $annotation;
+ }
+ public function getAnnotation()
+ {
+ return $this->annotation;
+ }
+ public function setCrosspostSource($crosspostSource)
+ {
+ $this->crosspostSource = $crosspostSource;
+ }
+ public function getCrosspostSource()
+ {
+ return $this->crosspostSource;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setGeocode($geocode)
+ {
+ $this->geocode = $geocode;
+ }
+ public function getGeocode()
+ {
+ return $this->geocode;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLocation(Postman_Google_Service_PlusDomains_Place $location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setObject(Postman_Google_Service_PlusDomains_ActivityObject $object)
+ {
+ $this->object = $object;
+ }
+ public function getObject()
+ {
+ return $this->object;
+ }
+ public function setPlaceId($placeId)
+ {
+ $this->placeId = $placeId;
+ }
+ public function getPlaceId()
+ {
+ return $this->placeId;
+ }
+ public function setPlaceName($placeName)
+ {
+ $this->placeName = $placeName;
+ }
+ public function getPlaceName()
+ {
+ return $this->placeName;
+ }
+ public function setProvider(Postman_Google_Service_PlusDomains_ActivityProvider $provider)
+ {
+ $this->provider = $provider;
+ }
+ public function getProvider()
+ {
+ return $this->provider;
+ }
+ public function setPublished($published)
+ {
+ $this->published = $published;
+ }
+ public function getPublished()
+ {
+ return $this->published;
+ }
+ public function setRadius($radius)
+ {
+ $this->radius = $radius;
+ }
+ public function getRadius()
+ {
+ return $this->radius;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setVerb($verb)
+ {
+ $this->verb = $verb;
+ }
+ public function getVerb()
+ {
+ return $this->verb;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_ActivityActor extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+ public $id;
+ protected $imageType = 'Postman_Google_Service_PlusDomains_ActivityActorImage';
+ protected $imageDataType = '';
+ protected $nameType = 'Postman_Google_Service_PlusDomains_ActivityActorName';
+ protected $nameDataType = '';
+ public $url;
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImage(Postman_Google_Service_PlusDomains_ActivityActorImage $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setName(Postman_Google_Service_PlusDomains_ActivityActorName $name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_ActivityActorImage extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $url;
+
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_ActivityActorName extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $familyName;
+ public $givenName;
+
+
+ public function setFamilyName($familyName)
+ {
+ $this->familyName = $familyName;
+ }
+ public function getFamilyName()
+ {
+ return $this->familyName;
+ }
+ public function setGivenName($givenName)
+ {
+ $this->givenName = $givenName;
+ }
+ public function getGivenName()
+ {
+ return $this->givenName;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_ActivityFeed extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_PlusDomains_Activity';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextLink;
+ public $nextPageToken;
+ public $selfLink;
+ public $title;
+ public $updated;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_ActivityObject extends Postman_Google_Collection
+{
+ protected $collection_key = 'attachments';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $actorType = 'Postman_Google_Service_PlusDomains_ActivityObjectActor';
+ protected $actorDataType = '';
+ protected $attachmentsType = 'Postman_Google_Service_PlusDomains_ActivityObjectAttachments';
+ protected $attachmentsDataType = 'array';
+ public $content;
+ public $id;
+ public $objectType;
+ public $originalContent;
+ protected $plusonersType = 'Postman_Google_Service_PlusDomains_ActivityObjectPlusoners';
+ protected $plusonersDataType = '';
+ protected $repliesType = 'Postman_Google_Service_PlusDomains_ActivityObjectReplies';
+ protected $repliesDataType = '';
+ protected $resharersType = 'Postman_Google_Service_PlusDomains_ActivityObjectResharers';
+ protected $resharersDataType = '';
+ protected $statusForViewerType = 'Postman_Google_Service_PlusDomains_ActivityObjectStatusForViewer';
+ protected $statusForViewerDataType = '';
+ public $url;
+
+
+ public function setActor(Postman_Google_Service_PlusDomains_ActivityObjectActor $actor)
+ {
+ $this->actor = $actor;
+ }
+ public function getActor()
+ {
+ return $this->actor;
+ }
+ public function setAttachments($attachments)
+ {
+ $this->attachments = $attachments;
+ }
+ public function getAttachments()
+ {
+ return $this->attachments;
+ }
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setObjectType($objectType)
+ {
+ $this->objectType = $objectType;
+ }
+ public function getObjectType()
+ {
+ return $this->objectType;
+ }
+ public function setOriginalContent($originalContent)
+ {
+ $this->originalContent = $originalContent;
+ }
+ public function getOriginalContent()
+ {
+ return $this->originalContent;
+ }
+ public function setPlusoners(Postman_Google_Service_PlusDomains_ActivityObjectPlusoners $plusoners)
+ {
+ $this->plusoners = $plusoners;
+ }
+ public function getPlusoners()
+ {
+ return $this->plusoners;
+ }
+ public function setReplies(Postman_Google_Service_PlusDomains_ActivityObjectReplies $replies)
+ {
+ $this->replies = $replies;
+ }
+ public function getReplies()
+ {
+ return $this->replies;
+ }
+ public function setResharers(Postman_Google_Service_PlusDomains_ActivityObjectResharers $resharers)
+ {
+ $this->resharers = $resharers;
+ }
+ public function getResharers()
+ {
+ return $this->resharers;
+ }
+ public function setStatusForViewer(Postman_Google_Service_PlusDomains_ActivityObjectStatusForViewer $statusForViewer)
+ {
+ $this->statusForViewer = $statusForViewer;
+ }
+ public function getStatusForViewer()
+ {
+ return $this->statusForViewer;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_ActivityObjectActor extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+ public $id;
+ protected $imageType = 'Postman_Google_Service_PlusDomains_ActivityObjectActorImage';
+ protected $imageDataType = '';
+ public $url;
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImage(Postman_Google_Service_PlusDomains_ActivityObjectActorImage $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_ActivityObjectActorImage extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $url;
+
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_ActivityObjectAttachments extends Postman_Google_Collection
+{
+ protected $collection_key = 'thumbnails';
+ protected $internal_gapi_mappings = array(
+ );
+ public $content;
+ public $displayName;
+ protected $embedType = 'Postman_Google_Service_PlusDomains_ActivityObjectAttachmentsEmbed';
+ protected $embedDataType = '';
+ protected $fullImageType = 'Postman_Google_Service_PlusDomains_ActivityObjectAttachmentsFullImage';
+ protected $fullImageDataType = '';
+ public $id;
+ protected $imageType = 'Postman_Google_Service_PlusDomains_ActivityObjectAttachmentsImage';
+ protected $imageDataType = '';
+ public $objectType;
+ protected $previewThumbnailsType = 'Postman_Google_Service_PlusDomains_ActivityObjectAttachmentsPreviewThumbnails';
+ protected $previewThumbnailsDataType = 'array';
+ protected $thumbnailsType = 'Postman_Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnails';
+ protected $thumbnailsDataType = 'array';
+ public $url;
+
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setEmbed(Postman_Google_Service_PlusDomains_ActivityObjectAttachmentsEmbed $embed)
+ {
+ $this->embed = $embed;
+ }
+ public function getEmbed()
+ {
+ return $this->embed;
+ }
+ public function setFullImage(Postman_Google_Service_PlusDomains_ActivityObjectAttachmentsFullImage $fullImage)
+ {
+ $this->fullImage = $fullImage;
+ }
+ public function getFullImage()
+ {
+ return $this->fullImage;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImage(Postman_Google_Service_PlusDomains_ActivityObjectAttachmentsImage $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setObjectType($objectType)
+ {
+ $this->objectType = $objectType;
+ }
+ public function getObjectType()
+ {
+ return $this->objectType;
+ }
+ public function setPreviewThumbnails($previewThumbnails)
+ {
+ $this->previewThumbnails = $previewThumbnails;
+ }
+ public function getPreviewThumbnails()
+ {
+ return $this->previewThumbnails;
+ }
+ public function setThumbnails($thumbnails)
+ {
+ $this->thumbnails = $thumbnails;
+ }
+ public function getThumbnails()
+ {
+ return $this->thumbnails;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_ActivityObjectAttachmentsEmbed extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $type;
+ public $url;
+
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_ActivityObjectAttachmentsFullImage extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $height;
+ public $type;
+ public $url;
+ public $width;
+
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_ActivityObjectAttachmentsImage extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $height;
+ public $type;
+ public $url;
+ public $width;
+
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_ActivityObjectAttachmentsPreviewThumbnails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $url;
+
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ protected $imageType = 'Postman_Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnailsImage';
+ protected $imageDataType = '';
+ public $url;
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setImage(Postman_Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnailsImage $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnailsImage extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $height;
+ public $type;
+ public $url;
+ public $width;
+
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_ActivityObjectPlusoners extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $selfLink;
+ public $totalItems;
+
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_ActivityObjectReplies extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $selfLink;
+ public $totalItems;
+
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_ActivityObjectResharers extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $selfLink;
+ public $totalItems;
+
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_ActivityObjectStatusForViewer extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $canComment;
+ public $canPlusone;
+ public $canUpdate;
+ public $isPlusOned;
+ public $resharingDisabled;
+
+
+ public function setCanComment($canComment)
+ {
+ $this->canComment = $canComment;
+ }
+ public function getCanComment()
+ {
+ return $this->canComment;
+ }
+ public function setCanPlusone($canPlusone)
+ {
+ $this->canPlusone = $canPlusone;
+ }
+ public function getCanPlusone()
+ {
+ return $this->canPlusone;
+ }
+ public function setCanUpdate($canUpdate)
+ {
+ $this->canUpdate = $canUpdate;
+ }
+ public function getCanUpdate()
+ {
+ return $this->canUpdate;
+ }
+ public function setIsPlusOned($isPlusOned)
+ {
+ $this->isPlusOned = $isPlusOned;
+ }
+ public function getIsPlusOned()
+ {
+ return $this->isPlusOned;
+ }
+ public function setResharingDisabled($resharingDisabled)
+ {
+ $this->resharingDisabled = $resharingDisabled;
+ }
+ public function getResharingDisabled()
+ {
+ return $this->resharingDisabled;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_ActivityProvider extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $title;
+
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_Audience extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemType = 'Postman_Google_Service_PlusDomains_PlusDomainsAclentryResource';
+ protected $itemDataType = '';
+ public $kind;
+ public $memberCount;
+ public $visibility;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItem(Postman_Google_Service_PlusDomains_PlusDomainsAclentryResource $item)
+ {
+ $this->item = $item;
+ }
+ public function getItem()
+ {
+ return $this->item;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMemberCount($memberCount)
+ {
+ $this->memberCount = $memberCount;
+ }
+ public function getMemberCount()
+ {
+ return $this->memberCount;
+ }
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_AudiencesFeed extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_PlusDomains_Audience';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $totalItems;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_Circle extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ public $displayName;
+ public $etag;
+ public $id;
+ public $kind;
+ protected $peopleType = 'Postman_Google_Service_PlusDomains_CirclePeople';
+ protected $peopleDataType = '';
+ public $selfLink;
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPeople(Postman_Google_Service_PlusDomains_CirclePeople $people)
+ {
+ $this->people = $people;
+ }
+ public function getPeople()
+ {
+ return $this->people;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_CircleFeed extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_PlusDomains_Circle';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextLink;
+ public $nextPageToken;
+ public $selfLink;
+ public $title;
+ public $totalItems;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_CirclePeople extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $totalItems;
+
+
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_Comment extends Postman_Google_Collection
+{
+ protected $collection_key = 'inReplyTo';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $actorType = 'Postman_Google_Service_PlusDomains_CommentActor';
+ protected $actorDataType = '';
+ public $etag;
+ public $id;
+ protected $inReplyToType = 'Postman_Google_Service_PlusDomains_CommentInReplyTo';
+ protected $inReplyToDataType = 'array';
+ public $kind;
+ protected $objectType = 'Postman_Google_Service_PlusDomains_CommentObject';
+ protected $objectDataType = '';
+ protected $plusonersType = 'Postman_Google_Service_PlusDomains_CommentPlusoners';
+ protected $plusonersDataType = '';
+ public $published;
+ public $selfLink;
+ public $updated;
+ public $verb;
+
+
+ public function setActor(Postman_Google_Service_PlusDomains_CommentActor $actor)
+ {
+ $this->actor = $actor;
+ }
+ public function getActor()
+ {
+ return $this->actor;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInReplyTo($inReplyTo)
+ {
+ $this->inReplyTo = $inReplyTo;
+ }
+ public function getInReplyTo()
+ {
+ return $this->inReplyTo;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setObject(Postman_Google_Service_PlusDomains_CommentObject $object)
+ {
+ $this->object = $object;
+ }
+ public function getObject()
+ {
+ return $this->object;
+ }
+ public function setPlusoners(Postman_Google_Service_PlusDomains_CommentPlusoners $plusoners)
+ {
+ $this->plusoners = $plusoners;
+ }
+ public function getPlusoners()
+ {
+ return $this->plusoners;
+ }
+ public function setPublished($published)
+ {
+ $this->published = $published;
+ }
+ public function getPublished()
+ {
+ return $this->published;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setVerb($verb)
+ {
+ $this->verb = $verb;
+ }
+ public function getVerb()
+ {
+ return $this->verb;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_CommentActor extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+ public $id;
+ protected $imageType = 'Postman_Google_Service_PlusDomains_CommentActorImage';
+ protected $imageDataType = '';
+ public $url;
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImage(Postman_Google_Service_PlusDomains_CommentActorImage $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_CommentActorImage extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $url;
+
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_CommentFeed extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_PlusDomains_Comment';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextLink;
+ public $nextPageToken;
+ public $title;
+ public $updated;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_CommentInReplyTo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $url;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_CommentObject extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $content;
+ public $objectType;
+ public $originalContent;
+
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setObjectType($objectType)
+ {
+ $this->objectType = $objectType;
+ }
+ public function getObjectType()
+ {
+ return $this->objectType;
+ }
+ public function setOriginalContent($originalContent)
+ {
+ $this->originalContent = $originalContent;
+ }
+ public function getOriginalContent()
+ {
+ return $this->originalContent;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_CommentPlusoners extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $totalItems;
+
+
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_Media extends Postman_Google_Collection
+{
+ protected $collection_key = 'streams';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $authorType = 'Postman_Google_Service_PlusDomains_MediaAuthor';
+ protected $authorDataType = '';
+ public $displayName;
+ public $etag;
+ protected $exifType = 'Postman_Google_Service_PlusDomains_MediaExif';
+ protected $exifDataType = '';
+ public $height;
+ public $id;
+ public $kind;
+ public $mediaCreatedTime;
+ public $mediaUrl;
+ public $published;
+ public $sizeBytes;
+ protected $streamsType = 'Postman_Google_Service_PlusDomains_Videostream';
+ protected $streamsDataType = 'array';
+ public $summary;
+ public $updated;
+ public $url;
+ public $videoDuration;
+ public $videoStatus;
+ public $width;
+
+
+ public function setAuthor(Postman_Google_Service_PlusDomains_MediaAuthor $author)
+ {
+ $this->author = $author;
+ }
+ public function getAuthor()
+ {
+ return $this->author;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setExif(Postman_Google_Service_PlusDomains_MediaExif $exif)
+ {
+ $this->exif = $exif;
+ }
+ public function getExif()
+ {
+ return $this->exif;
+ }
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMediaCreatedTime($mediaCreatedTime)
+ {
+ $this->mediaCreatedTime = $mediaCreatedTime;
+ }
+ public function getMediaCreatedTime()
+ {
+ return $this->mediaCreatedTime;
+ }
+ public function setMediaUrl($mediaUrl)
+ {
+ $this->mediaUrl = $mediaUrl;
+ }
+ public function getMediaUrl()
+ {
+ return $this->mediaUrl;
+ }
+ public function setPublished($published)
+ {
+ $this->published = $published;
+ }
+ public function getPublished()
+ {
+ return $this->published;
+ }
+ public function setSizeBytes($sizeBytes)
+ {
+ $this->sizeBytes = $sizeBytes;
+ }
+ public function getSizeBytes()
+ {
+ return $this->sizeBytes;
+ }
+ public function setStreams($streams)
+ {
+ $this->streams = $streams;
+ }
+ public function getStreams()
+ {
+ return $this->streams;
+ }
+ public function setSummary($summary)
+ {
+ $this->summary = $summary;
+ }
+ public function getSummary()
+ {
+ return $this->summary;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setVideoDuration($videoDuration)
+ {
+ $this->videoDuration = $videoDuration;
+ }
+ public function getVideoDuration()
+ {
+ return $this->videoDuration;
+ }
+ public function setVideoStatus($videoStatus)
+ {
+ $this->videoStatus = $videoStatus;
+ }
+ public function getVideoStatus()
+ {
+ return $this->videoStatus;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_MediaAuthor extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+ public $id;
+ protected $imageType = 'Postman_Google_Service_PlusDomains_MediaAuthorImage';
+ protected $imageDataType = '';
+ public $url;
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImage(Postman_Google_Service_PlusDomains_MediaAuthorImage $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_MediaAuthorImage extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $url;
+
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_MediaExif extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $time;
+
+
+ public function setTime($time)
+ {
+ $this->time = $time;
+ }
+ public function getTime()
+ {
+ return $this->time;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_PeopleFeed extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_PlusDomains_Person';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+ public $title;
+ public $totalItems;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_Person extends Postman_Google_Collection
+{
+ protected $collection_key = 'urls';
+ protected $internal_gapi_mappings = array(
+ );
+ public $aboutMe;
+ public $birthday;
+ public $braggingRights;
+ public $circledByCount;
+ protected $coverType = 'Postman_Google_Service_PlusDomains_PersonCover';
+ protected $coverDataType = '';
+ public $currentLocation;
+ public $displayName;
+ public $domain;
+ protected $emailsType = 'Postman_Google_Service_PlusDomains_PersonEmails';
+ protected $emailsDataType = 'array';
+ public $etag;
+ public $gender;
+ public $id;
+ protected $imageType = 'Postman_Google_Service_PlusDomains_PersonImage';
+ protected $imageDataType = '';
+ public $isPlusUser;
+ public $kind;
+ protected $nameType = 'Postman_Google_Service_PlusDomains_PersonName';
+ protected $nameDataType = '';
+ public $nickname;
+ public $objectType;
+ public $occupation;
+ protected $organizationsType = 'Postman_Google_Service_PlusDomains_PersonOrganizations';
+ protected $organizationsDataType = 'array';
+ protected $placesLivedType = 'Postman_Google_Service_PlusDomains_PersonPlacesLived';
+ protected $placesLivedDataType = 'array';
+ public $plusOneCount;
+ public $relationshipStatus;
+ public $skills;
+ public $tagline;
+ public $url;
+ protected $urlsType = 'Postman_Google_Service_PlusDomains_PersonUrls';
+ protected $urlsDataType = 'array';
+ public $verified;
+
+
+ public function setAboutMe($aboutMe)
+ {
+ $this->aboutMe = $aboutMe;
+ }
+ public function getAboutMe()
+ {
+ return $this->aboutMe;
+ }
+ public function setBirthday($birthday)
+ {
+ $this->birthday = $birthday;
+ }
+ public function getBirthday()
+ {
+ return $this->birthday;
+ }
+ public function setBraggingRights($braggingRights)
+ {
+ $this->braggingRights = $braggingRights;
+ }
+ public function getBraggingRights()
+ {
+ return $this->braggingRights;
+ }
+ public function setCircledByCount($circledByCount)
+ {
+ $this->circledByCount = $circledByCount;
+ }
+ public function getCircledByCount()
+ {
+ return $this->circledByCount;
+ }
+ public function setCover(Postman_Google_Service_PlusDomains_PersonCover $cover)
+ {
+ $this->cover = $cover;
+ }
+ public function getCover()
+ {
+ return $this->cover;
+ }
+ public function setCurrentLocation($currentLocation)
+ {
+ $this->currentLocation = $currentLocation;
+ }
+ public function getCurrentLocation()
+ {
+ return $this->currentLocation;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setDomain($domain)
+ {
+ $this->domain = $domain;
+ }
+ public function getDomain()
+ {
+ return $this->domain;
+ }
+ public function setEmails($emails)
+ {
+ $this->emails = $emails;
+ }
+ public function getEmails()
+ {
+ return $this->emails;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setGender($gender)
+ {
+ $this->gender = $gender;
+ }
+ public function getGender()
+ {
+ return $this->gender;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImage(Postman_Google_Service_PlusDomains_PersonImage $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setIsPlusUser($isPlusUser)
+ {
+ $this->isPlusUser = $isPlusUser;
+ }
+ public function getIsPlusUser()
+ {
+ return $this->isPlusUser;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName(Postman_Google_Service_PlusDomains_PersonName $name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNickname($nickname)
+ {
+ $this->nickname = $nickname;
+ }
+ public function getNickname()
+ {
+ return $this->nickname;
+ }
+ public function setObjectType($objectType)
+ {
+ $this->objectType = $objectType;
+ }
+ public function getObjectType()
+ {
+ return $this->objectType;
+ }
+ public function setOccupation($occupation)
+ {
+ $this->occupation = $occupation;
+ }
+ public function getOccupation()
+ {
+ return $this->occupation;
+ }
+ public function setOrganizations($organizations)
+ {
+ $this->organizations = $organizations;
+ }
+ public function getOrganizations()
+ {
+ return $this->organizations;
+ }
+ public function setPlacesLived($placesLived)
+ {
+ $this->placesLived = $placesLived;
+ }
+ public function getPlacesLived()
+ {
+ return $this->placesLived;
+ }
+ public function setPlusOneCount($plusOneCount)
+ {
+ $this->plusOneCount = $plusOneCount;
+ }
+ public function getPlusOneCount()
+ {
+ return $this->plusOneCount;
+ }
+ public function setRelationshipStatus($relationshipStatus)
+ {
+ $this->relationshipStatus = $relationshipStatus;
+ }
+ public function getRelationshipStatus()
+ {
+ return $this->relationshipStatus;
+ }
+ public function setSkills($skills)
+ {
+ $this->skills = $skills;
+ }
+ public function getSkills()
+ {
+ return $this->skills;
+ }
+ public function setTagline($tagline)
+ {
+ $this->tagline = $tagline;
+ }
+ public function getTagline()
+ {
+ return $this->tagline;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setUrls($urls)
+ {
+ $this->urls = $urls;
+ }
+ public function getUrls()
+ {
+ return $this->urls;
+ }
+ public function setVerified($verified)
+ {
+ $this->verified = $verified;
+ }
+ public function getVerified()
+ {
+ return $this->verified;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_PersonCover extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $coverInfoType = 'Postman_Google_Service_PlusDomains_PersonCoverCoverInfo';
+ protected $coverInfoDataType = '';
+ protected $coverPhotoType = 'Postman_Google_Service_PlusDomains_PersonCoverCoverPhoto';
+ protected $coverPhotoDataType = '';
+ public $layout;
+
+
+ public function setCoverInfo(Postman_Google_Service_PlusDomains_PersonCoverCoverInfo $coverInfo)
+ {
+ $this->coverInfo = $coverInfo;
+ }
+ public function getCoverInfo()
+ {
+ return $this->coverInfo;
+ }
+ public function setCoverPhoto(Postman_Google_Service_PlusDomains_PersonCoverCoverPhoto $coverPhoto)
+ {
+ $this->coverPhoto = $coverPhoto;
+ }
+ public function getCoverPhoto()
+ {
+ return $this->coverPhoto;
+ }
+ public function setLayout($layout)
+ {
+ $this->layout = $layout;
+ }
+ public function getLayout()
+ {
+ return $this->layout;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_PersonCoverCoverInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $leftImageOffset;
+ public $topImageOffset;
+
+
+ public function setLeftImageOffset($leftImageOffset)
+ {
+ $this->leftImageOffset = $leftImageOffset;
+ }
+ public function getLeftImageOffset()
+ {
+ return $this->leftImageOffset;
+ }
+ public function setTopImageOffset($topImageOffset)
+ {
+ $this->topImageOffset = $topImageOffset;
+ }
+ public function getTopImageOffset()
+ {
+ return $this->topImageOffset;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_PersonCoverCoverPhoto extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $height;
+ public $url;
+ public $width;
+
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_PersonEmails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $type;
+ public $value;
+
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_PersonImage extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $isDefault;
+ public $url;
+
+
+ public function setIsDefault($isDefault)
+ {
+ $this->isDefault = $isDefault;
+ }
+ public function getIsDefault()
+ {
+ return $this->isDefault;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_PersonName extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $familyName;
+ public $formatted;
+ public $givenName;
+ public $honorificPrefix;
+ public $honorificSuffix;
+ public $middleName;
+
+
+ public function setFamilyName($familyName)
+ {
+ $this->familyName = $familyName;
+ }
+ public function getFamilyName()
+ {
+ return $this->familyName;
+ }
+ public function setFormatted($formatted)
+ {
+ $this->formatted = $formatted;
+ }
+ public function getFormatted()
+ {
+ return $this->formatted;
+ }
+ public function setGivenName($givenName)
+ {
+ $this->givenName = $givenName;
+ }
+ public function getGivenName()
+ {
+ return $this->givenName;
+ }
+ public function setHonorificPrefix($honorificPrefix)
+ {
+ $this->honorificPrefix = $honorificPrefix;
+ }
+ public function getHonorificPrefix()
+ {
+ return $this->honorificPrefix;
+ }
+ public function setHonorificSuffix($honorificSuffix)
+ {
+ $this->honorificSuffix = $honorificSuffix;
+ }
+ public function getHonorificSuffix()
+ {
+ return $this->honorificSuffix;
+ }
+ public function setMiddleName($middleName)
+ {
+ $this->middleName = $middleName;
+ }
+ public function getMiddleName()
+ {
+ return $this->middleName;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_PersonOrganizations extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $department;
+ public $description;
+ public $endDate;
+ public $location;
+ public $name;
+ public $primary;
+ public $startDate;
+ public $title;
+ public $type;
+
+
+ public function setDepartment($department)
+ {
+ $this->department = $department;
+ }
+ public function getDepartment()
+ {
+ return $this->department;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPrimary($primary)
+ {
+ $this->primary = $primary;
+ }
+ public function getPrimary()
+ {
+ return $this->primary;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_PersonPlacesLived extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $primary;
+ public $value;
+
+
+ public function setPrimary($primary)
+ {
+ $this->primary = $primary;
+ }
+ public function getPrimary()
+ {
+ return $this->primary;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_PersonUrls extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $label;
+ public $type;
+ public $value;
+
+
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_Place extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $addressType = 'Postman_Google_Service_PlusDomains_PlaceAddress';
+ protected $addressDataType = '';
+ public $displayName;
+ public $id;
+ public $kind;
+ protected $positionType = 'Postman_Google_Service_PlusDomains_PlacePosition';
+ protected $positionDataType = '';
+
+
+ public function setAddress(Postman_Google_Service_PlusDomains_PlaceAddress $address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPosition(Postman_Google_Service_PlusDomains_PlacePosition $position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_PlaceAddress extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $formatted;
+
+
+ public function setFormatted($formatted)
+ {
+ $this->formatted = $formatted;
+ }
+ public function getFormatted()
+ {
+ return $this->formatted;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_PlacePosition extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $latitude;
+ public $longitude;
+
+
+ public function setLatitude($latitude)
+ {
+ $this->latitude = $latitude;
+ }
+ public function getLatitude()
+ {
+ return $this->latitude;
+ }
+ public function setLongitude($longitude)
+ {
+ $this->longitude = $longitude;
+ }
+ public function getLongitude()
+ {
+ return $this->longitude;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_PlusDomainsAclentryResource extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+ public $id;
+ public $type;
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_PlusDomains_Videostream extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $height;
+ public $type;
+ public $url;
+ public $width;
+
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Prediction.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Prediction.php
new file mode 100644
index 0000000..86cc4c1
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Prediction.php
@@ -0,0 +1,1227 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Prediction (v1.6).
+ *
+ * <p>
+ * Lets you access a cloud hosted machine learning service that makes it easy to
+ * build smart apps</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/prediction/docs/developer-guide" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Prediction extends Postman_Google_Service
+{
+ /** Manage your data and permissions in Google Cloud Storage. */
+ const DEVSTORAGE_FULL_CONTROL =
+ "https://www.googleapis.com/auth/devstorage.full_control";
+ /** View your data in Google Cloud Storage. */
+ const DEVSTORAGE_READ_ONLY =
+ "https://www.googleapis.com/auth/devstorage.read_only";
+ /** Manage your data in Google Cloud Storage. */
+ const DEVSTORAGE_READ_WRITE =
+ "https://www.googleapis.com/auth/devstorage.read_write";
+ /** Manage your data in the Google Prediction API. */
+ const PREDICTION =
+ "https://www.googleapis.com/auth/prediction";
+
+ public $hostedmodels;
+ public $trainedmodels;
+
+
+ /**
+ * Constructs the internal representation of the Prediction service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'prediction/v1.6/projects/';
+ $this->version = 'v1.6';
+ $this->serviceName = 'prediction';
+
+ $this->hostedmodels = new Postman_Google_Service_Prediction_Hostedmodels_Resource(
+ $this,
+ $this->serviceName,
+ 'hostedmodels',
+ array(
+ 'methods' => array(
+ 'predict' => array(
+ 'path' => '{project}/hostedmodels/{hostedModelName}/predict',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'hostedModelName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->trainedmodels = new Postman_Google_Service_Prediction_Trainedmodels_Resource(
+ $this,
+ $this->serviceName,
+ 'trainedmodels',
+ array(
+ 'methods' => array(
+ 'analyze' => array(
+ 'path' => '{project}/trainedmodels/{id}/analyze',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{project}/trainedmodels/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/trainedmodels/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/trainedmodels',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/trainedmodels/list',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'predict' => array(
+ 'path' => '{project}/trainedmodels/{id}/predict',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{project}/trainedmodels/{id}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "hostedmodels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $predictionService = new Postman_Google_Service_Prediction(...);
+ * $hostedmodels = $predictionService->hostedmodels;
+ * </code>
+ */
+class Postman_Google_Service_Prediction_Hostedmodels_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Submit input and request an output against a hosted model.
+ * (hostedmodels.predict)
+ *
+ * @param string $project The project associated with the model.
+ * @param string $hostedModelName The name of a hosted model.
+ * @param Postman_Google_Input $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Prediction_Output
+ */
+ public function predict($project, $hostedModelName, Postman_Google_Service_Prediction_Input $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'hostedModelName' => $hostedModelName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('predict', array($params), "Postman_Google_Service_Prediction_Output");
+ }
+}
+
+/**
+ * The "trainedmodels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $predictionService = new Postman_Google_Service_Prediction(...);
+ * $trainedmodels = $predictionService->trainedmodels;
+ * </code>
+ */
+class Postman_Google_Service_Prediction_Trainedmodels_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Get analysis of the model and the data the model was trained on.
+ * (trainedmodels.analyze)
+ *
+ * @param string $project The project associated with the model.
+ * @param string $id The unique name for the predictive model.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Prediction_Analyze
+ */
+ public function analyze($project, $id, $optParams = array())
+ {
+ $params = array('project' => $project, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('analyze', array($params), "Postman_Google_Service_Prediction_Analyze");
+ }
+
+ /**
+ * Delete a trained model. (trainedmodels.delete)
+ *
+ * @param string $project The project associated with the model.
+ * @param string $id The unique name for the predictive model.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($project, $id, $optParams = array())
+ {
+ $params = array('project' => $project, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Check training status of your model. (trainedmodels.get)
+ *
+ * @param string $project The project associated with the model.
+ * @param string $id The unique name for the predictive model.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Prediction_Insert2
+ */
+ public function get($project, $id, $optParams = array())
+ {
+ $params = array('project' => $project, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Prediction_Insert2");
+ }
+
+ /**
+ * Train a Prediction API model. (trainedmodels.insert)
+ *
+ * @param string $project The project associated with the model.
+ * @param Postman_Google_Insert $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Prediction_Insert2
+ */
+ public function insert($project, Postman_Google_Service_Prediction_Insert $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Prediction_Insert2");
+ }
+
+ /**
+ * List available models. (trainedmodels.listTrainedmodels)
+ *
+ * @param string $project The project associated with the model.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Pagination token.
+ * @opt_param string maxResults Maximum number of results to return.
+ * @return Postman_Google_Service_Prediction_PredictionList
+ */
+ public function listTrainedmodels($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Prediction_PredictionList");
+ }
+
+ /**
+ * Submit model id and request a prediction. (trainedmodels.predict)
+ *
+ * @param string $project The project associated with the model.
+ * @param string $id The unique name for the predictive model.
+ * @param Postman_Google_Input $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Prediction_Output
+ */
+ public function predict($project, $id, Postman_Google_Service_Prediction_Input $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('predict', array($params), "Postman_Google_Service_Prediction_Output");
+ }
+
+ /**
+ * Add new data to a trained model. (trainedmodels.update)
+ *
+ * @param string $project The project associated with the model.
+ * @param string $id The unique name for the predictive model.
+ * @param Postman_Google_Update $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Prediction_Insert2
+ */
+ public function update($project, $id, Postman_Google_Service_Prediction_Update $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Prediction_Insert2");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Prediction_Analyze extends Postman_Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $dataDescriptionType = 'Postman_Google_Service_Prediction_AnalyzeDataDescription';
+ protected $dataDescriptionDataType = '';
+ public $errors;
+ public $id;
+ public $kind;
+ protected $modelDescriptionType = 'Postman_Google_Service_Prediction_AnalyzeModelDescription';
+ protected $modelDescriptionDataType = '';
+ public $selfLink;
+
+
+ public function setDataDescription(Postman_Google_Service_Prediction_AnalyzeDataDescription $dataDescription)
+ {
+ $this->dataDescription = $dataDescription;
+ }
+ public function getDataDescription()
+ {
+ return $this->dataDescription;
+ }
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setModelDescription(Postman_Google_Service_Prediction_AnalyzeModelDescription $modelDescription)
+ {
+ $this->modelDescription = $modelDescription;
+ }
+ public function getModelDescription()
+ {
+ return $this->modelDescription;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Prediction_AnalyzeDataDescription extends Postman_Google_Collection
+{
+ protected $collection_key = 'features';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $featuresType = 'Postman_Google_Service_Prediction_AnalyzeDataDescriptionFeatures';
+ protected $featuresDataType = 'array';
+ protected $outputFeatureType = 'Postman_Google_Service_Prediction_AnalyzeDataDescriptionOutputFeature';
+ protected $outputFeatureDataType = '';
+
+
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+ public function setOutputFeature(Postman_Google_Service_Prediction_AnalyzeDataDescriptionOutputFeature $outputFeature)
+ {
+ $this->outputFeature = $outputFeature;
+ }
+ public function getOutputFeature()
+ {
+ return $this->outputFeature;
+ }
+}
+
+class Postman_Google_Service_Prediction_AnalyzeDataDescriptionFeatures extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $categoricalType = 'Postman_Google_Service_Prediction_AnalyzeDataDescriptionFeaturesCategorical';
+ protected $categoricalDataType = '';
+ public $index;
+ protected $numericType = 'Postman_Google_Service_Prediction_AnalyzeDataDescriptionFeaturesNumeric';
+ protected $numericDataType = '';
+ protected $textType = 'Postman_Google_Service_Prediction_AnalyzeDataDescriptionFeaturesText';
+ protected $textDataType = '';
+
+
+ public function setCategorical(Postman_Google_Service_Prediction_AnalyzeDataDescriptionFeaturesCategorical $categorical)
+ {
+ $this->categorical = $categorical;
+ }
+ public function getCategorical()
+ {
+ return $this->categorical;
+ }
+ public function setIndex($index)
+ {
+ $this->index = $index;
+ }
+ public function getIndex()
+ {
+ return $this->index;
+ }
+ public function setNumeric(Postman_Google_Service_Prediction_AnalyzeDataDescriptionFeaturesNumeric $numeric)
+ {
+ $this->numeric = $numeric;
+ }
+ public function getNumeric()
+ {
+ return $this->numeric;
+ }
+ public function setText(Postman_Google_Service_Prediction_AnalyzeDataDescriptionFeaturesText $text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
+
+class Postman_Google_Service_Prediction_AnalyzeDataDescriptionFeaturesCategorical extends Postman_Google_Collection
+{
+ protected $collection_key = 'values';
+ protected $internal_gapi_mappings = array(
+ );
+ public $count;
+ protected $valuesType = 'Postman_Google_Service_Prediction_AnalyzeDataDescriptionFeaturesCategoricalValues';
+ protected $valuesDataType = 'array';
+
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+ public function setValues($values)
+ {
+ $this->values = $values;
+ }
+ public function getValues()
+ {
+ return $this->values;
+ }
+}
+
+class Postman_Google_Service_Prediction_AnalyzeDataDescriptionFeaturesCategoricalValues extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $count;
+ public $value;
+
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Prediction_AnalyzeDataDescriptionFeaturesNumeric extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $count;
+ public $mean;
+ public $variance;
+
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+ public function setMean($mean)
+ {
+ $this->mean = $mean;
+ }
+ public function getMean()
+ {
+ return $this->mean;
+ }
+ public function setVariance($variance)
+ {
+ $this->variance = $variance;
+ }
+ public function getVariance()
+ {
+ return $this->variance;
+ }
+}
+
+class Postman_Google_Service_Prediction_AnalyzeDataDescriptionFeaturesText extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $count;
+
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+}
+
+class Postman_Google_Service_Prediction_AnalyzeDataDescriptionOutputFeature extends Postman_Google_Collection
+{
+ protected $collection_key = 'text';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $numericType = 'Postman_Google_Service_Prediction_AnalyzeDataDescriptionOutputFeatureNumeric';
+ protected $numericDataType = '';
+ protected $textType = 'Postman_Google_Service_Prediction_AnalyzeDataDescriptionOutputFeatureText';
+ protected $textDataType = 'array';
+
+
+ public function setNumeric(Postman_Google_Service_Prediction_AnalyzeDataDescriptionOutputFeatureNumeric $numeric)
+ {
+ $this->numeric = $numeric;
+ }
+ public function getNumeric()
+ {
+ return $this->numeric;
+ }
+ public function setText($text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
+
+class Postman_Google_Service_Prediction_AnalyzeDataDescriptionOutputFeatureNumeric extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $count;
+ public $mean;
+ public $variance;
+
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+ public function setMean($mean)
+ {
+ $this->mean = $mean;
+ }
+ public function getMean()
+ {
+ return $this->mean;
+ }
+ public function setVariance($variance)
+ {
+ $this->variance = $variance;
+ }
+ public function getVariance()
+ {
+ return $this->variance;
+ }
+}
+
+class Postman_Google_Service_Prediction_AnalyzeDataDescriptionOutputFeatureText extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $count;
+ public $value;
+
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Prediction_AnalyzeErrors extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Prediction_AnalyzeModelDescription extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $confusionMatrix;
+ public $confusionMatrixRowTotals;
+ protected $modelinfoType = 'Postman_Google_Service_Prediction_Insert2';
+ protected $modelinfoDataType = '';
+
+
+ public function setConfusionMatrix($confusionMatrix)
+ {
+ $this->confusionMatrix = $confusionMatrix;
+ }
+ public function getConfusionMatrix()
+ {
+ return $this->confusionMatrix;
+ }
+ public function setConfusionMatrixRowTotals($confusionMatrixRowTotals)
+ {
+ $this->confusionMatrixRowTotals = $confusionMatrixRowTotals;
+ }
+ public function getConfusionMatrixRowTotals()
+ {
+ return $this->confusionMatrixRowTotals;
+ }
+ public function setModelinfo(Postman_Google_Service_Prediction_Insert2 $modelinfo)
+ {
+ $this->modelinfo = $modelinfo;
+ }
+ public function getModelinfo()
+ {
+ return $this->modelinfo;
+ }
+}
+
+class Postman_Google_Service_Prediction_AnalyzeModelDescriptionConfusionMatrix extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Prediction_AnalyzeModelDescriptionConfusionMatrixElement extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Prediction_AnalyzeModelDescriptionConfusionMatrixRowTotals extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Prediction_Input extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $inputType = 'Postman_Google_Service_Prediction_InputInput';
+ protected $inputDataType = '';
+
+
+ public function setInput(Postman_Google_Service_Prediction_InputInput $input)
+ {
+ $this->input = $input;
+ }
+ public function getInput()
+ {
+ return $this->input;
+ }
+}
+
+class Postman_Google_Service_Prediction_InputInput extends Postman_Google_Collection
+{
+ protected $collection_key = 'csvInstance';
+ protected $internal_gapi_mappings = array(
+ );
+ public $csvInstance;
+
+
+ public function setCsvInstance($csvInstance)
+ {
+ $this->csvInstance = $csvInstance;
+ }
+ public function getCsvInstance()
+ {
+ return $this->csvInstance;
+ }
+}
+
+class Postman_Google_Service_Prediction_Insert extends Postman_Google_Collection
+{
+ protected $collection_key = 'utility';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $modelType;
+ public $sourceModel;
+ public $storageDataLocation;
+ public $storagePMMLLocation;
+ public $storagePMMLModelLocation;
+ protected $trainingInstancesType = 'Postman_Google_Service_Prediction_InsertTrainingInstances';
+ protected $trainingInstancesDataType = 'array';
+ public $utility;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setModelType($modelType)
+ {
+ $this->modelType = $modelType;
+ }
+ public function getModelType()
+ {
+ return $this->modelType;
+ }
+ public function setSourceModel($sourceModel)
+ {
+ $this->sourceModel = $sourceModel;
+ }
+ public function getSourceModel()
+ {
+ return $this->sourceModel;
+ }
+ public function setStorageDataLocation($storageDataLocation)
+ {
+ $this->storageDataLocation = $storageDataLocation;
+ }
+ public function getStorageDataLocation()
+ {
+ return $this->storageDataLocation;
+ }
+ public function setStoragePMMLLocation($storagePMMLLocation)
+ {
+ $this->storagePMMLLocation = $storagePMMLLocation;
+ }
+ public function getStoragePMMLLocation()
+ {
+ return $this->storagePMMLLocation;
+ }
+ public function setStoragePMMLModelLocation($storagePMMLModelLocation)
+ {
+ $this->storagePMMLModelLocation = $storagePMMLModelLocation;
+ }
+ public function getStoragePMMLModelLocation()
+ {
+ return $this->storagePMMLModelLocation;
+ }
+ public function setTrainingInstances($trainingInstances)
+ {
+ $this->trainingInstances = $trainingInstances;
+ }
+ public function getTrainingInstances()
+ {
+ return $this->trainingInstances;
+ }
+ public function setUtility($utility)
+ {
+ $this->utility = $utility;
+ }
+ public function getUtility()
+ {
+ return $this->utility;
+ }
+}
+
+class Postman_Google_Service_Prediction_Insert2 extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $created;
+ public $id;
+ public $kind;
+ protected $modelInfoType = 'Postman_Google_Service_Prediction_Insert2ModelInfo';
+ protected $modelInfoDataType = '';
+ public $modelType;
+ public $selfLink;
+ public $storageDataLocation;
+ public $storagePMMLLocation;
+ public $storagePMMLModelLocation;
+ public $trainingComplete;
+ public $trainingStatus;
+
+
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+ public function getCreated()
+ {
+ return $this->created;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setModelInfo(Postman_Google_Service_Prediction_Insert2ModelInfo $modelInfo)
+ {
+ $this->modelInfo = $modelInfo;
+ }
+ public function getModelInfo()
+ {
+ return $this->modelInfo;
+ }
+ public function setModelType($modelType)
+ {
+ $this->modelType = $modelType;
+ }
+ public function getModelType()
+ {
+ return $this->modelType;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStorageDataLocation($storageDataLocation)
+ {
+ $this->storageDataLocation = $storageDataLocation;
+ }
+ public function getStorageDataLocation()
+ {
+ return $this->storageDataLocation;
+ }
+ public function setStoragePMMLLocation($storagePMMLLocation)
+ {
+ $this->storagePMMLLocation = $storagePMMLLocation;
+ }
+ public function getStoragePMMLLocation()
+ {
+ return $this->storagePMMLLocation;
+ }
+ public function setStoragePMMLModelLocation($storagePMMLModelLocation)
+ {
+ $this->storagePMMLModelLocation = $storagePMMLModelLocation;
+ }
+ public function getStoragePMMLModelLocation()
+ {
+ return $this->storagePMMLModelLocation;
+ }
+ public function setTrainingComplete($trainingComplete)
+ {
+ $this->trainingComplete = $trainingComplete;
+ }
+ public function getTrainingComplete()
+ {
+ return $this->trainingComplete;
+ }
+ public function setTrainingStatus($trainingStatus)
+ {
+ $this->trainingStatus = $trainingStatus;
+ }
+ public function getTrainingStatus()
+ {
+ return $this->trainingStatus;
+ }
+}
+
+class Postman_Google_Service_Prediction_Insert2ModelInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $classWeightedAccuracy;
+ public $classificationAccuracy;
+ public $meanSquaredError;
+ public $modelType;
+ public $numberInstances;
+ public $numberLabels;
+
+
+ public function setClassWeightedAccuracy($classWeightedAccuracy)
+ {
+ $this->classWeightedAccuracy = $classWeightedAccuracy;
+ }
+ public function getClassWeightedAccuracy()
+ {
+ return $this->classWeightedAccuracy;
+ }
+ public function setClassificationAccuracy($classificationAccuracy)
+ {
+ $this->classificationAccuracy = $classificationAccuracy;
+ }
+ public function getClassificationAccuracy()
+ {
+ return $this->classificationAccuracy;
+ }
+ public function setMeanSquaredError($meanSquaredError)
+ {
+ $this->meanSquaredError = $meanSquaredError;
+ }
+ public function getMeanSquaredError()
+ {
+ return $this->meanSquaredError;
+ }
+ public function setModelType($modelType)
+ {
+ $this->modelType = $modelType;
+ }
+ public function getModelType()
+ {
+ return $this->modelType;
+ }
+ public function setNumberInstances($numberInstances)
+ {
+ $this->numberInstances = $numberInstances;
+ }
+ public function getNumberInstances()
+ {
+ return $this->numberInstances;
+ }
+ public function setNumberLabels($numberLabels)
+ {
+ $this->numberLabels = $numberLabels;
+ }
+ public function getNumberLabels()
+ {
+ return $this->numberLabels;
+ }
+}
+
+class Postman_Google_Service_Prediction_InsertTrainingInstances extends Postman_Google_Collection
+{
+ protected $collection_key = 'csvInstance';
+ protected $internal_gapi_mappings = array(
+ );
+ public $csvInstance;
+ public $output;
+
+
+ public function setCsvInstance($csvInstance)
+ {
+ $this->csvInstance = $csvInstance;
+ }
+ public function getCsvInstance()
+ {
+ return $this->csvInstance;
+ }
+ public function setOutput($output)
+ {
+ $this->output = $output;
+ }
+ public function getOutput()
+ {
+ return $this->output;
+ }
+}
+
+class Postman_Google_Service_Prediction_InsertUtility extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Prediction_Output extends Postman_Google_Collection
+{
+ protected $collection_key = 'outputMulti';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $outputLabel;
+ protected $outputMultiType = 'Postman_Google_Service_Prediction_OutputOutputMulti';
+ protected $outputMultiDataType = 'array';
+ public $outputValue;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOutputLabel($outputLabel)
+ {
+ $this->outputLabel = $outputLabel;
+ }
+ public function getOutputLabel()
+ {
+ return $this->outputLabel;
+ }
+ public function setOutputMulti($outputMulti)
+ {
+ $this->outputMulti = $outputMulti;
+ }
+ public function getOutputMulti()
+ {
+ return $this->outputMulti;
+ }
+ public function setOutputValue($outputValue)
+ {
+ $this->outputValue = $outputValue;
+ }
+ public function getOutputValue()
+ {
+ return $this->outputValue;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Prediction_OutputOutputMulti extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $label;
+ public $score;
+
+
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
+ public function setScore($score)
+ {
+ $this->score = $score;
+ }
+ public function getScore()
+ {
+ return $this->score;
+ }
+}
+
+class Postman_Google_Service_Prediction_PredictionList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Prediction_Insert2';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Prediction_Update extends Postman_Google_Collection
+{
+ protected $collection_key = 'csvInstance';
+ protected $internal_gapi_mappings = array(
+ );
+ public $csvInstance;
+ public $output;
+
+
+ public function setCsvInstance($csvInstance)
+ {
+ $this->csvInstance = $csvInstance;
+ }
+ public function getCsvInstance()
+ {
+ return $this->csvInstance;
+ }
+ public function setOutput($output)
+ {
+ $this->output = $output;
+ }
+ public function getOutput()
+ {
+ return $this->output;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Pubsub.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Pubsub.php
new file mode 100644
index 0000000..579f3d5
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Pubsub.php
@@ -0,0 +1,980 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Pubsub (v1beta1).
+ *
+ * <p>
+ * Provides reliable, many-to-many, asynchronous messaging between applications.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/pubsub/v1beta1" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Pubsub extends Postman_Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View and manage Pub/Sub topics and subscriptions. */
+ const PUBSUB =
+ "https://www.googleapis.com/auth/pubsub";
+
+ public $subscriptions;
+ public $topics;
+
+
+ /**
+ * Constructs the internal representation of the Pubsub service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'pubsub/v1beta1/';
+ $this->version = 'v1beta1';
+ $this->serviceName = 'pubsub';
+
+ $this->subscriptions = new Postman_Google_Service_Pubsub_Subscriptions_Resource(
+ $this,
+ $this->serviceName,
+ 'subscriptions',
+ array(
+ 'methods' => array(
+ 'acknowledge' => array(
+ 'path' => 'subscriptions/acknowledge',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'create' => array(
+ 'path' => 'subscriptions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => 'subscriptions/{+subscription}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'subscription' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'subscriptions/{+subscription}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'subscription' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'subscriptions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'modifyAckDeadline' => array(
+ 'path' => 'subscriptions/modifyAckDeadline',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'modifyPushConfig' => array(
+ 'path' => 'subscriptions/modifyPushConfig',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'pull' => array(
+ 'path' => 'subscriptions/pull',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'pullBatch' => array(
+ 'path' => 'subscriptions/pullBatch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->topics = new Postman_Google_Service_Pubsub_Topics_Resource(
+ $this,
+ $this->serviceName,
+ 'topics',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'topics',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => 'topics/{+topic}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'topic' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'topics/{+topic}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'topic' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'topics',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'publish' => array(
+ 'path' => 'topics/publish',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'publishBatch' => array(
+ 'path' => 'topics/publishBatch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "subscriptions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $pubsubService = new Postman_Google_Service_Pubsub(...);
+ * $subscriptions = $pubsubService->subscriptions;
+ * </code>
+ */
+class Postman_Google_Service_Pubsub_Subscriptions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Acknowledges a particular received message: the Pub/Sub system can remove the
+ * given message from the subscription. Acknowledging a message whose Ack
+ * deadline has expired may succeed, but the message could have been already
+ * redelivered. Acknowledging a message more than once will not result in an
+ * error. This is only used for messages received via pull.
+ * (subscriptions.acknowledge)
+ *
+ * @param Postman_Google_AcknowledgeRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function acknowledge(Postman_Google_Service_Pubsub_AcknowledgeRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('acknowledge', array($params));
+ }
+
+ /**
+ * Creates a subscription on a given topic for a given subscriber. If the
+ * subscription already exists, returns ALREADY_EXISTS. If the corresponding
+ * topic doesn't exist, returns NOT_FOUND.
+ *
+ * If the name is not provided in the request, the server will assign a random
+ * name for this subscription on the same project as the topic.
+ * (subscriptions.create)
+ *
+ * @param Postman_Google_Subscription $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Pubsub_Subscription
+ */
+ public function create(Postman_Google_Service_Pubsub_Subscription $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_Pubsub_Subscription");
+ }
+
+ /**
+ * Deletes an existing subscription. All pending messages in the subscription
+ * are immediately dropped. Calls to Pull after deletion will return NOT_FOUND.
+ * (subscriptions.delete)
+ *
+ * @param string $subscription The subscription to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($subscription, $optParams = array())
+ {
+ $params = array('subscription' => $subscription);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets the configuration details of a subscription. (subscriptions.get)
+ *
+ * @param string $subscription The name of the subscription to get.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Pubsub_Subscription
+ */
+ public function get($subscription, $optParams = array())
+ {
+ $params = array('subscription' => $subscription);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Pubsub_Subscription");
+ }
+
+ /**
+ * Lists matching subscriptions. (subscriptions.listSubscriptions)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The value obtained in the last
+ * ListSubscriptionsResponse for continuation.
+ * @opt_param int maxResults Maximum number of subscriptions to return.
+ * @opt_param string query A valid label query expression.
+ * @return Postman_Google_Service_Pubsub_ListSubscriptionsResponse
+ */
+ public function listSubscriptions($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Pubsub_ListSubscriptionsResponse");
+ }
+
+ /**
+ * Modifies the Ack deadline for a message received from a pull request.
+ * (subscriptions.modifyAckDeadline)
+ *
+ * @param Postman_Google_ModifyAckDeadlineRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function modifyAckDeadline(Postman_Google_Service_Pubsub_ModifyAckDeadlineRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('modifyAckDeadline', array($params));
+ }
+
+ /**
+ * Modifies the PushConfig for a specified subscription. This method can be used
+ * to suspend the flow of messages to an end point by clearing the PushConfig
+ * field in the request. Messages will be accumulated for delivery even if no
+ * push configuration is defined or while the configuration is modified.
+ * (subscriptions.modifyPushConfig)
+ *
+ * @param Postman_Google_ModifyPushConfigRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function modifyPushConfig(Postman_Google_Service_Pubsub_ModifyPushConfigRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('modifyPushConfig', array($params));
+ }
+
+ /**
+ * Pulls a single message from the server. If return_immediately is true, and no
+ * messages are available in the subscription, this method returns
+ * FAILED_PRECONDITION. The system is free to return an UNAVAILABLE error if no
+ * messages are available in a reasonable amount of time (to reduce system
+ * load). (subscriptions.pull)
+ *
+ * @param Postman_Google_PullRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Pubsub_PullResponse
+ */
+ public function pull(Postman_Google_Service_Pubsub_PullRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('pull', array($params), "Postman_Google_Service_Pubsub_PullResponse");
+ }
+
+ /**
+ * Pulls messages from the server. Returns an empty list if there are no
+ * messages available in the backlog. The system is free to return UNAVAILABLE
+ * if there too many pull requests outstanding for a given subscription.
+ * (subscriptions.pullBatch)
+ *
+ * @param Postman_Google_PullBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Pubsub_PullBatchResponse
+ */
+ public function pullBatch(Postman_Google_Service_Pubsub_PullBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('pullBatch', array($params), "Postman_Google_Service_Pubsub_PullBatchResponse");
+ }
+}
+
+/**
+ * The "topics" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $pubsubService = new Postman_Google_Service_Pubsub(...);
+ * $topics = $pubsubService->topics;
+ * </code>
+ */
+class Postman_Google_Service_Pubsub_Topics_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Creates the given topic with the given name. (topics.create)
+ *
+ * @param Postman_Google_Topic $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Pubsub_Topic
+ */
+ public function create(Postman_Google_Service_Pubsub_Topic $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_Pubsub_Topic");
+ }
+
+ /**
+ * Deletes the topic with the given name. All subscriptions to this topic are
+ * also deleted. Returns NOT_FOUND if the topic does not exist. After a topic is
+ * deleted, a new topic may be created with the same name. (topics.delete)
+ *
+ * @param string $topic Name of the topic to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($topic, $optParams = array())
+ {
+ $params = array('topic' => $topic);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets the configuration of a topic. Since the topic only has the name
+ * attribute, this method is only useful to check the existence of a topic. If
+ * other attributes are added in the future, they will be returned here.
+ * (topics.get)
+ *
+ * @param string $topic The name of the topic to get.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Pubsub_Topic
+ */
+ public function get($topic, $optParams = array())
+ {
+ $params = array('topic' => $topic);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Pubsub_Topic");
+ }
+
+ /**
+ * Lists matching topics. (topics.listTopics)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The value obtained in the last ListTopicsResponse
+ * for continuation.
+ * @opt_param int maxResults Maximum number of topics to return.
+ * @opt_param string query A valid label query expression.
+ * @return Postman_Google_Service_Pubsub_ListTopicsResponse
+ */
+ public function listTopics($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Pubsub_ListTopicsResponse");
+ }
+
+ /**
+ * Adds a message to the topic. Returns NOT_FOUND if the topic does not exist.
+ * (topics.publish)
+ *
+ * @param Postman_Google_PublishRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function publish(Postman_Google_Service_Pubsub_PublishRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('publish', array($params));
+ }
+
+ /**
+ * Adds one or more messages to the topic. Returns NOT_FOUND if the topic does
+ * not exist. (topics.publishBatch)
+ *
+ * @param Postman_Google_PublishBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Pubsub_PublishBatchResponse
+ */
+ public function publishBatch(Postman_Google_Service_Pubsub_PublishBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('publishBatch', array($params), "Postman_Google_Service_Pubsub_PublishBatchResponse");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Pubsub_AcknowledgeRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'ackId';
+ protected $internal_gapi_mappings = array(
+ );
+ public $ackId;
+ public $subscription;
+
+
+ public function setAckId($ackId)
+ {
+ $this->ackId = $ackId;
+ }
+ public function getAckId()
+ {
+ return $this->ackId;
+ }
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+}
+
+class Postman_Google_Service_Pubsub_Label extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $numValue;
+ public $strValue;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setNumValue($numValue)
+ {
+ $this->numValue = $numValue;
+ }
+ public function getNumValue()
+ {
+ return $this->numValue;
+ }
+ public function setStrValue($strValue)
+ {
+ $this->strValue = $strValue;
+ }
+ public function getStrValue()
+ {
+ return $this->strValue;
+ }
+}
+
+class Postman_Google_Service_Pubsub_ListSubscriptionsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'subscription';
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ protected $subscriptionType = 'Postman_Google_Service_Pubsub_Subscription';
+ protected $subscriptionDataType = 'array';
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+}
+
+class Postman_Google_Service_Pubsub_ListTopicsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'topic';
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ protected $topicType = 'Postman_Google_Service_Pubsub_Topic';
+ protected $topicDataType = 'array';
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTopic($topic)
+ {
+ $this->topic = $topic;
+ }
+ public function getTopic()
+ {
+ return $this->topic;
+ }
+}
+
+class Postman_Google_Service_Pubsub_ModifyAckDeadlineRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $ackDeadlineSeconds;
+ public $ackId;
+ public $subscription;
+
+
+ public function setAckDeadlineSeconds($ackDeadlineSeconds)
+ {
+ $this->ackDeadlineSeconds = $ackDeadlineSeconds;
+ }
+ public function getAckDeadlineSeconds()
+ {
+ return $this->ackDeadlineSeconds;
+ }
+ public function setAckId($ackId)
+ {
+ $this->ackId = $ackId;
+ }
+ public function getAckId()
+ {
+ return $this->ackId;
+ }
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+}
+
+class Postman_Google_Service_Pubsub_ModifyPushConfigRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $pushConfigType = 'Postman_Google_Service_Pubsub_PushConfig';
+ protected $pushConfigDataType = '';
+ public $subscription;
+
+
+ public function setPushConfig(Postman_Google_Service_Pubsub_PushConfig $pushConfig)
+ {
+ $this->pushConfig = $pushConfig;
+ }
+ public function getPushConfig()
+ {
+ return $this->pushConfig;
+ }
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+}
+
+class Postman_Google_Service_Pubsub_PublishBatchRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'messages';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $messagesType = 'Postman_Google_Service_Pubsub_PubsubMessage';
+ protected $messagesDataType = 'array';
+ public $topic;
+
+
+ public function setMessages($messages)
+ {
+ $this->messages = $messages;
+ }
+ public function getMessages()
+ {
+ return $this->messages;
+ }
+ public function setTopic($topic)
+ {
+ $this->topic = $topic;
+ }
+ public function getTopic()
+ {
+ return $this->topic;
+ }
+}
+
+class Postman_Google_Service_Pubsub_PublishBatchResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'messageIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $messageIds;
+
+
+ public function setMessageIds($messageIds)
+ {
+ $this->messageIds = $messageIds;
+ }
+ public function getMessageIds()
+ {
+ return $this->messageIds;
+ }
+}
+
+class Postman_Google_Service_Pubsub_PublishRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $messageType = 'Postman_Google_Service_Pubsub_PubsubMessage';
+ protected $messageDataType = '';
+ public $topic;
+
+
+ public function setMessage(Postman_Google_Service_Pubsub_PubsubMessage $message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+ public function setTopic($topic)
+ {
+ $this->topic = $topic;
+ }
+ public function getTopic()
+ {
+ return $this->topic;
+ }
+}
+
+class Postman_Google_Service_Pubsub_PubsubEvent extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $deleted;
+ protected $messageType = 'Postman_Google_Service_Pubsub_PubsubMessage';
+ protected $messageDataType = '';
+ public $subscription;
+ public $truncated;
+
+
+ public function setDeleted($deleted)
+ {
+ $this->deleted = $deleted;
+ }
+ public function getDeleted()
+ {
+ return $this->deleted;
+ }
+ public function setMessage(Postman_Google_Service_Pubsub_PubsubMessage $message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+ public function setTruncated($truncated)
+ {
+ $this->truncated = $truncated;
+ }
+ public function getTruncated()
+ {
+ return $this->truncated;
+ }
+}
+
+class Postman_Google_Service_Pubsub_PubsubMessage extends Postman_Google_Collection
+{
+ protected $collection_key = 'label';
+ protected $internal_gapi_mappings = array(
+ );
+ public $data;
+ protected $labelType = 'Postman_Google_Service_Pubsub_Label';
+ protected $labelDataType = 'array';
+ public $messageId;
+
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
+ public function setMessageId($messageId)
+ {
+ $this->messageId = $messageId;
+ }
+ public function getMessageId()
+ {
+ return $this->messageId;
+ }
+}
+
+class Postman_Google_Service_Pubsub_PullBatchRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $maxEvents;
+ public $returnImmediately;
+ public $subscription;
+
+
+ public function setMaxEvents($maxEvents)
+ {
+ $this->maxEvents = $maxEvents;
+ }
+ public function getMaxEvents()
+ {
+ return $this->maxEvents;
+ }
+ public function setReturnImmediately($returnImmediately)
+ {
+ $this->returnImmediately = $returnImmediately;
+ }
+ public function getReturnImmediately()
+ {
+ return $this->returnImmediately;
+ }
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+}
+
+class Postman_Google_Service_Pubsub_PullBatchResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'pullResponses';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $pullResponsesType = 'Postman_Google_Service_Pubsub_PullResponse';
+ protected $pullResponsesDataType = 'array';
+
+
+ public function setPullResponses($pullResponses)
+ {
+ $this->pullResponses = $pullResponses;
+ }
+ public function getPullResponses()
+ {
+ return $this->pullResponses;
+ }
+}
+
+class Postman_Google_Service_Pubsub_PullRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $returnImmediately;
+ public $subscription;
+
+
+ public function setReturnImmediately($returnImmediately)
+ {
+ $this->returnImmediately = $returnImmediately;
+ }
+ public function getReturnImmediately()
+ {
+ return $this->returnImmediately;
+ }
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+}
+
+class Postman_Google_Service_Pubsub_PullResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $ackId;
+ protected $pubsubEventType = 'Postman_Google_Service_Pubsub_PubsubEvent';
+ protected $pubsubEventDataType = '';
+
+
+ public function setAckId($ackId)
+ {
+ $this->ackId = $ackId;
+ }
+ public function getAckId()
+ {
+ return $this->ackId;
+ }
+ public function setPubsubEvent(Postman_Google_Service_Pubsub_PubsubEvent $pubsubEvent)
+ {
+ $this->pubsubEvent = $pubsubEvent;
+ }
+ public function getPubsubEvent()
+ {
+ return $this->pubsubEvent;
+ }
+}
+
+class Postman_Google_Service_Pubsub_PushConfig extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $pushEndpoint;
+
+
+ public function setPushEndpoint($pushEndpoint)
+ {
+ $this->pushEndpoint = $pushEndpoint;
+ }
+ public function getPushEndpoint()
+ {
+ return $this->pushEndpoint;
+ }
+}
+
+class Postman_Google_Service_Pubsub_Subscription extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $ackDeadlineSeconds;
+ public $name;
+ protected $pushConfigType = 'Postman_Google_Service_Pubsub_PushConfig';
+ protected $pushConfigDataType = '';
+ public $topic;
+
+
+ public function setAckDeadlineSeconds($ackDeadlineSeconds)
+ {
+ $this->ackDeadlineSeconds = $ackDeadlineSeconds;
+ }
+ public function getAckDeadlineSeconds()
+ {
+ return $this->ackDeadlineSeconds;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPushConfig(Postman_Google_Service_Pubsub_PushConfig $pushConfig)
+ {
+ $this->pushConfig = $pushConfig;
+ }
+ public function getPushConfig()
+ {
+ return $this->pushConfig;
+ }
+ public function setTopic($topic)
+ {
+ $this->topic = $topic;
+ }
+ public function getTopic()
+ {
+ return $this->topic;
+ }
+}
+
+class Postman_Google_Service_Pubsub_Topic extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/QPXExpress.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/QPXExpress.php
new file mode 100644
index 0000000..ff2d25f
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/QPXExpress.php
@@ -0,0 +1,1537 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for QPXExpress (v1).
+ *
+ * <p>
+ * Lets you find the least expensive flights between an origin and a
+ * destination.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="http://developers.google.com/qpx-express" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_QPXExpress extends Postman_Google_Service
+{
+
+
+ public $trips;
+
+
+ /**
+ * Constructs the internal representation of the QPXExpress service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'qpxExpress/v1/trips/';
+ $this->version = 'v1';
+ $this->serviceName = 'qpxExpress';
+
+ $this->trips = new Postman_Google_Service_QPXExpress_Trips_Resource(
+ $this,
+ $this->serviceName,
+ 'trips',
+ array(
+ 'methods' => array(
+ 'search' => array(
+ 'path' => 'search',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "trips" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $qpxExpressService = new Postman_Google_Service_QPXExpress(...);
+ * $trips = $qpxExpressService->trips;
+ * </code>
+ */
+class Postman_Google_Service_QPXExpress_Trips_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns a list of flights. (trips.search)
+ *
+ * @param Postman_Google_TripsSearchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_QPXExpress_TripsSearchResponse
+ */
+ public function search(Postman_Google_Service_QPXExpress_TripsSearchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Postman_Google_Service_QPXExpress_TripsSearchResponse");
+ }
+}
+
+
+
+
+class Postman_Google_Service_QPXExpress_AircraftData extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $kind;
+ public $name;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_QPXExpress_AirportData extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $city;
+ public $code;
+ public $kind;
+ public $name;
+
+
+ public function setCity($city)
+ {
+ $this->city = $city;
+ }
+ public function getCity()
+ {
+ return $this->city;
+ }
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_QPXExpress_BagDescriptor extends Postman_Google_Collection
+{
+ protected $collection_key = 'description';
+ protected $internal_gapi_mappings = array(
+ );
+ public $commercialName;
+ public $count;
+ public $description;
+ public $kind;
+ public $subcode;
+
+
+ public function setCommercialName($commercialName)
+ {
+ $this->commercialName = $commercialName;
+ }
+ public function getCommercialName()
+ {
+ return $this->commercialName;
+ }
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSubcode($subcode)
+ {
+ $this->subcode = $subcode;
+ }
+ public function getSubcode()
+ {
+ return $this->subcode;
+ }
+}
+
+class Postman_Google_Service_QPXExpress_CarrierData extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $kind;
+ public $name;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_QPXExpress_CityData extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $country;
+ public $kind;
+ public $name;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_QPXExpress_Data extends Postman_Google_Collection
+{
+ protected $collection_key = 'tax';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $aircraftType = 'Postman_Google_Service_QPXExpress_AircraftData';
+ protected $aircraftDataType = 'array';
+ protected $airportType = 'Postman_Google_Service_QPXExpress_AirportData';
+ protected $airportDataType = 'array';
+ protected $carrierType = 'Postman_Google_Service_QPXExpress_CarrierData';
+ protected $carrierDataType = 'array';
+ protected $cityType = 'Postman_Google_Service_QPXExpress_CityData';
+ protected $cityDataType = 'array';
+ public $kind;
+ protected $taxType = 'Postman_Google_Service_QPXExpress_TaxData';
+ protected $taxDataType = 'array';
+
+
+ public function setAircraft($aircraft)
+ {
+ $this->aircraft = $aircraft;
+ }
+ public function getAircraft()
+ {
+ return $this->aircraft;
+ }
+ public function setAirport($airport)
+ {
+ $this->airport = $airport;
+ }
+ public function getAirport()
+ {
+ return $this->airport;
+ }
+ public function setCarrier($carrier)
+ {
+ $this->carrier = $carrier;
+ }
+ public function getCarrier()
+ {
+ return $this->carrier;
+ }
+ public function setCity($city)
+ {
+ $this->city = $city;
+ }
+ public function getCity()
+ {
+ return $this->city;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setTax($tax)
+ {
+ $this->tax = $tax;
+ }
+ public function getTax()
+ {
+ return $this->tax;
+ }
+}
+
+class Postman_Google_Service_QPXExpress_FareInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $basisCode;
+ public $carrier;
+ public $destination;
+ public $id;
+ public $kind;
+ public $origin;
+ public $private;
+
+
+ public function setBasisCode($basisCode)
+ {
+ $this->basisCode = $basisCode;
+ }
+ public function getBasisCode()
+ {
+ return $this->basisCode;
+ }
+ public function setCarrier($carrier)
+ {
+ $this->carrier = $carrier;
+ }
+ public function getCarrier()
+ {
+ return $this->carrier;
+ }
+ public function setDestination($destination)
+ {
+ $this->destination = $destination;
+ }
+ public function getDestination()
+ {
+ return $this->destination;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOrigin($origin)
+ {
+ $this->origin = $origin;
+ }
+ public function getOrigin()
+ {
+ return $this->origin;
+ }
+ public function setPrivate($private)
+ {
+ $this->private = $private;
+ }
+ public function getPrivate()
+ {
+ return $this->private;
+ }
+}
+
+class Postman_Google_Service_QPXExpress_FlightInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $carrier;
+ public $number;
+
+
+ public function setCarrier($carrier)
+ {
+ $this->carrier = $carrier;
+ }
+ public function getCarrier()
+ {
+ return $this->carrier;
+ }
+ public function setNumber($number)
+ {
+ $this->number = $number;
+ }
+ public function getNumber()
+ {
+ return $this->number;
+ }
+}
+
+class Postman_Google_Service_QPXExpress_FreeBaggageAllowance extends Postman_Google_Collection
+{
+ protected $collection_key = 'bagDescriptor';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $bagDescriptorType = 'Postman_Google_Service_QPXExpress_BagDescriptor';
+ protected $bagDescriptorDataType = 'array';
+ public $kilos;
+ public $kilosPerPiece;
+ public $kind;
+ public $pieces;
+ public $pounds;
+
+
+ public function setBagDescriptor($bagDescriptor)
+ {
+ $this->bagDescriptor = $bagDescriptor;
+ }
+ public function getBagDescriptor()
+ {
+ return $this->bagDescriptor;
+ }
+ public function setKilos($kilos)
+ {
+ $this->kilos = $kilos;
+ }
+ public function getKilos()
+ {
+ return $this->kilos;
+ }
+ public function setKilosPerPiece($kilosPerPiece)
+ {
+ $this->kilosPerPiece = $kilosPerPiece;
+ }
+ public function getKilosPerPiece()
+ {
+ return $this->kilosPerPiece;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPieces($pieces)
+ {
+ $this->pieces = $pieces;
+ }
+ public function getPieces()
+ {
+ return $this->pieces;
+ }
+ public function setPounds($pounds)
+ {
+ $this->pounds = $pounds;
+ }
+ public function getPounds()
+ {
+ return $this->pounds;
+ }
+}
+
+class Postman_Google_Service_QPXExpress_LegInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $aircraft;
+ public $arrivalTime;
+ public $changePlane;
+ public $connectionDuration;
+ public $departureTime;
+ public $destination;
+ public $destinationTerminal;
+ public $duration;
+ public $id;
+ public $kind;
+ public $meal;
+ public $mileage;
+ public $onTimePerformance;
+ public $operatingDisclosure;
+ public $origin;
+ public $originTerminal;
+ public $secure;
+
+
+ public function setAircraft($aircraft)
+ {
+ $this->aircraft = $aircraft;
+ }
+ public function getAircraft()
+ {
+ return $this->aircraft;
+ }
+ public function setArrivalTime($arrivalTime)
+ {
+ $this->arrivalTime = $arrivalTime;
+ }
+ public function getArrivalTime()
+ {
+ return $this->arrivalTime;
+ }
+ public function setChangePlane($changePlane)
+ {
+ $this->changePlane = $changePlane;
+ }
+ public function getChangePlane()
+ {
+ return $this->changePlane;
+ }
+ public function setConnectionDuration($connectionDuration)
+ {
+ $this->connectionDuration = $connectionDuration;
+ }
+ public function getConnectionDuration()
+ {
+ return $this->connectionDuration;
+ }
+ public function setDepartureTime($departureTime)
+ {
+ $this->departureTime = $departureTime;
+ }
+ public function getDepartureTime()
+ {
+ return $this->departureTime;
+ }
+ public function setDestination($destination)
+ {
+ $this->destination = $destination;
+ }
+ public function getDestination()
+ {
+ return $this->destination;
+ }
+ public function setDestinationTerminal($destinationTerminal)
+ {
+ $this->destinationTerminal = $destinationTerminal;
+ }
+ public function getDestinationTerminal()
+ {
+ return $this->destinationTerminal;
+ }
+ public function setDuration($duration)
+ {
+ $this->duration = $duration;
+ }
+ public function getDuration()
+ {
+ return $this->duration;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMeal($meal)
+ {
+ $this->meal = $meal;
+ }
+ public function getMeal()
+ {
+ return $this->meal;
+ }
+ public function setMileage($mileage)
+ {
+ $this->mileage = $mileage;
+ }
+ public function getMileage()
+ {
+ return $this->mileage;
+ }
+ public function setOnTimePerformance($onTimePerformance)
+ {
+ $this->onTimePerformance = $onTimePerformance;
+ }
+ public function getOnTimePerformance()
+ {
+ return $this->onTimePerformance;
+ }
+ public function setOperatingDisclosure($operatingDisclosure)
+ {
+ $this->operatingDisclosure = $operatingDisclosure;
+ }
+ public function getOperatingDisclosure()
+ {
+ return $this->operatingDisclosure;
+ }
+ public function setOrigin($origin)
+ {
+ $this->origin = $origin;
+ }
+ public function getOrigin()
+ {
+ return $this->origin;
+ }
+ public function setOriginTerminal($originTerminal)
+ {
+ $this->originTerminal = $originTerminal;
+ }
+ public function getOriginTerminal()
+ {
+ return $this->originTerminal;
+ }
+ public function setSecure($secure)
+ {
+ $this->secure = $secure;
+ }
+ public function getSecure()
+ {
+ return $this->secure;
+ }
+}
+
+class Postman_Google_Service_QPXExpress_PassengerCounts extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $adultCount;
+ public $childCount;
+ public $infantInLapCount;
+ public $infantInSeatCount;
+ public $kind;
+ public $seniorCount;
+
+
+ public function setAdultCount($adultCount)
+ {
+ $this->adultCount = $adultCount;
+ }
+ public function getAdultCount()
+ {
+ return $this->adultCount;
+ }
+ public function setChildCount($childCount)
+ {
+ $this->childCount = $childCount;
+ }
+ public function getChildCount()
+ {
+ return $this->childCount;
+ }
+ public function setInfantInLapCount($infantInLapCount)
+ {
+ $this->infantInLapCount = $infantInLapCount;
+ }
+ public function getInfantInLapCount()
+ {
+ return $this->infantInLapCount;
+ }
+ public function setInfantInSeatCount($infantInSeatCount)
+ {
+ $this->infantInSeatCount = $infantInSeatCount;
+ }
+ public function getInfantInSeatCount()
+ {
+ return $this->infantInSeatCount;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSeniorCount($seniorCount)
+ {
+ $this->seniorCount = $seniorCount;
+ }
+ public function getSeniorCount()
+ {
+ return $this->seniorCount;
+ }
+}
+
+class Postman_Google_Service_QPXExpress_PricingInfo extends Postman_Google_Collection
+{
+ protected $collection_key = 'tax';
+ protected $internal_gapi_mappings = array(
+ );
+ public $baseFareTotal;
+ protected $fareType = 'Postman_Google_Service_QPXExpress_FareInfo';
+ protected $fareDataType = 'array';
+ public $fareCalculation;
+ public $kind;
+ public $latestTicketingTime;
+ protected $passengersType = 'Postman_Google_Service_QPXExpress_PassengerCounts';
+ protected $passengersDataType = '';
+ public $ptc;
+ public $refundable;
+ public $saleFareTotal;
+ public $saleTaxTotal;
+ public $saleTotal;
+ protected $segmentPricingType = 'Postman_Google_Service_QPXExpress_SegmentPricing';
+ protected $segmentPricingDataType = 'array';
+ protected $taxType = 'Postman_Google_Service_QPXExpress_TaxInfo';
+ protected $taxDataType = 'array';
+
+
+ public function setBaseFareTotal($baseFareTotal)
+ {
+ $this->baseFareTotal = $baseFareTotal;
+ }
+ public function getBaseFareTotal()
+ {
+ return $this->baseFareTotal;
+ }
+ public function setFare($fare)
+ {
+ $this->fare = $fare;
+ }
+ public function getFare()
+ {
+ return $this->fare;
+ }
+ public function setFareCalculation($fareCalculation)
+ {
+ $this->fareCalculation = $fareCalculation;
+ }
+ public function getFareCalculation()
+ {
+ return $this->fareCalculation;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLatestTicketingTime($latestTicketingTime)
+ {
+ $this->latestTicketingTime = $latestTicketingTime;
+ }
+ public function getLatestTicketingTime()
+ {
+ return $this->latestTicketingTime;
+ }
+ public function setPassengers(Postman_Google_Service_QPXExpress_PassengerCounts $passengers)
+ {
+ $this->passengers = $passengers;
+ }
+ public function getPassengers()
+ {
+ return $this->passengers;
+ }
+ public function setPtc($ptc)
+ {
+ $this->ptc = $ptc;
+ }
+ public function getPtc()
+ {
+ return $this->ptc;
+ }
+ public function setRefundable($refundable)
+ {
+ $this->refundable = $refundable;
+ }
+ public function getRefundable()
+ {
+ return $this->refundable;
+ }
+ public function setSaleFareTotal($saleFareTotal)
+ {
+ $this->saleFareTotal = $saleFareTotal;
+ }
+ public function getSaleFareTotal()
+ {
+ return $this->saleFareTotal;
+ }
+ public function setSaleTaxTotal($saleTaxTotal)
+ {
+ $this->saleTaxTotal = $saleTaxTotal;
+ }
+ public function getSaleTaxTotal()
+ {
+ return $this->saleTaxTotal;
+ }
+ public function setSaleTotal($saleTotal)
+ {
+ $this->saleTotal = $saleTotal;
+ }
+ public function getSaleTotal()
+ {
+ return $this->saleTotal;
+ }
+ public function setSegmentPricing($segmentPricing)
+ {
+ $this->segmentPricing = $segmentPricing;
+ }
+ public function getSegmentPricing()
+ {
+ return $this->segmentPricing;
+ }
+ public function setTax($tax)
+ {
+ $this->tax = $tax;
+ }
+ public function getTax()
+ {
+ return $this->tax;
+ }
+}
+
+class Postman_Google_Service_QPXExpress_SegmentInfo extends Postman_Google_Collection
+{
+ protected $collection_key = 'leg';
+ protected $internal_gapi_mappings = array(
+ );
+ public $bookingCode;
+ public $bookingCodeCount;
+ public $cabin;
+ public $connectionDuration;
+ public $duration;
+ protected $flightType = 'Postman_Google_Service_QPXExpress_FlightInfo';
+ protected $flightDataType = '';
+ public $id;
+ public $kind;
+ protected $legType = 'Postman_Google_Service_QPXExpress_LegInfo';
+ protected $legDataType = 'array';
+ public $marriedSegmentGroup;
+ public $subjectToGovernmentApproval;
+
+
+ public function setBookingCode($bookingCode)
+ {
+ $this->bookingCode = $bookingCode;
+ }
+ public function getBookingCode()
+ {
+ return $this->bookingCode;
+ }
+ public function setBookingCodeCount($bookingCodeCount)
+ {
+ $this->bookingCodeCount = $bookingCodeCount;
+ }
+ public function getBookingCodeCount()
+ {
+ return $this->bookingCodeCount;
+ }
+ public function setCabin($cabin)
+ {
+ $this->cabin = $cabin;
+ }
+ public function getCabin()
+ {
+ return $this->cabin;
+ }
+ public function setConnectionDuration($connectionDuration)
+ {
+ $this->connectionDuration = $connectionDuration;
+ }
+ public function getConnectionDuration()
+ {
+ return $this->connectionDuration;
+ }
+ public function setDuration($duration)
+ {
+ $this->duration = $duration;
+ }
+ public function getDuration()
+ {
+ return $this->duration;
+ }
+ public function setFlight(Postman_Google_Service_QPXExpress_FlightInfo $flight)
+ {
+ $this->flight = $flight;
+ }
+ public function getFlight()
+ {
+ return $this->flight;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLeg($leg)
+ {
+ $this->leg = $leg;
+ }
+ public function getLeg()
+ {
+ return $this->leg;
+ }
+ public function setMarriedSegmentGroup($marriedSegmentGroup)
+ {
+ $this->marriedSegmentGroup = $marriedSegmentGroup;
+ }
+ public function getMarriedSegmentGroup()
+ {
+ return $this->marriedSegmentGroup;
+ }
+ public function setSubjectToGovernmentApproval($subjectToGovernmentApproval)
+ {
+ $this->subjectToGovernmentApproval = $subjectToGovernmentApproval;
+ }
+ public function getSubjectToGovernmentApproval()
+ {
+ return $this->subjectToGovernmentApproval;
+ }
+}
+
+class Postman_Google_Service_QPXExpress_SegmentPricing extends Postman_Google_Collection
+{
+ protected $collection_key = 'freeBaggageOption';
+ protected $internal_gapi_mappings = array(
+ );
+ public $fareId;
+ protected $freeBaggageOptionType = 'Postman_Google_Service_QPXExpress_FreeBaggageAllowance';
+ protected $freeBaggageOptionDataType = 'array';
+ public $kind;
+ public $segmentId;
+
+
+ public function setFareId($fareId)
+ {
+ $this->fareId = $fareId;
+ }
+ public function getFareId()
+ {
+ return $this->fareId;
+ }
+ public function setFreeBaggageOption($freeBaggageOption)
+ {
+ $this->freeBaggageOption = $freeBaggageOption;
+ }
+ public function getFreeBaggageOption()
+ {
+ return $this->freeBaggageOption;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSegmentId($segmentId)
+ {
+ $this->segmentId = $segmentId;
+ }
+ public function getSegmentId()
+ {
+ return $this->segmentId;
+ }
+}
+
+class Postman_Google_Service_QPXExpress_SliceInfo extends Postman_Google_Collection
+{
+ protected $collection_key = 'segment';
+ protected $internal_gapi_mappings = array(
+ );
+ public $duration;
+ public $kind;
+ protected $segmentType = 'Postman_Google_Service_QPXExpress_SegmentInfo';
+ protected $segmentDataType = 'array';
+
+
+ public function setDuration($duration)
+ {
+ $this->duration = $duration;
+ }
+ public function getDuration()
+ {
+ return $this->duration;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSegment($segment)
+ {
+ $this->segment = $segment;
+ }
+ public function getSegment()
+ {
+ return $this->segment;
+ }
+}
+
+class Postman_Google_Service_QPXExpress_SliceInput extends Postman_Google_Collection
+{
+ protected $collection_key = 'prohibitedCarrier';
+ protected $internal_gapi_mappings = array(
+ );
+ public $alliance;
+ public $date;
+ public $destination;
+ public $kind;
+ public $maxConnectionDuration;
+ public $maxStops;
+ public $origin;
+ public $permittedCarrier;
+ protected $permittedDepartureTimeType = 'Postman_Google_Service_QPXExpress_TimeOfDayRange';
+ protected $permittedDepartureTimeDataType = '';
+ public $preferredCabin;
+ public $prohibitedCarrier;
+
+
+ public function setAlliance($alliance)
+ {
+ $this->alliance = $alliance;
+ }
+ public function getAlliance()
+ {
+ return $this->alliance;
+ }
+ public function setDate($date)
+ {
+ $this->date = $date;
+ }
+ public function getDate()
+ {
+ return $this->date;
+ }
+ public function setDestination($destination)
+ {
+ $this->destination = $destination;
+ }
+ public function getDestination()
+ {
+ return $this->destination;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMaxConnectionDuration($maxConnectionDuration)
+ {
+ $this->maxConnectionDuration = $maxConnectionDuration;
+ }
+ public function getMaxConnectionDuration()
+ {
+ return $this->maxConnectionDuration;
+ }
+ public function setMaxStops($maxStops)
+ {
+ $this->maxStops = $maxStops;
+ }
+ public function getMaxStops()
+ {
+ return $this->maxStops;
+ }
+ public function setOrigin($origin)
+ {
+ $this->origin = $origin;
+ }
+ public function getOrigin()
+ {
+ return $this->origin;
+ }
+ public function setPermittedCarrier($permittedCarrier)
+ {
+ $this->permittedCarrier = $permittedCarrier;
+ }
+ public function getPermittedCarrier()
+ {
+ return $this->permittedCarrier;
+ }
+ public function setPermittedDepartureTime(Postman_Google_Service_QPXExpress_TimeOfDayRange $permittedDepartureTime)
+ {
+ $this->permittedDepartureTime = $permittedDepartureTime;
+ }
+ public function getPermittedDepartureTime()
+ {
+ return $this->permittedDepartureTime;
+ }
+ public function setPreferredCabin($preferredCabin)
+ {
+ $this->preferredCabin = $preferredCabin;
+ }
+ public function getPreferredCabin()
+ {
+ return $this->preferredCabin;
+ }
+ public function setProhibitedCarrier($prohibitedCarrier)
+ {
+ $this->prohibitedCarrier = $prohibitedCarrier;
+ }
+ public function getProhibitedCarrier()
+ {
+ return $this->prohibitedCarrier;
+ }
+}
+
+class Postman_Google_Service_QPXExpress_TaxData extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $name;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_QPXExpress_TaxInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $chargeType;
+ public $code;
+ public $country;
+ public $id;
+ public $kind;
+ public $salePrice;
+
+
+ public function setChargeType($chargeType)
+ {
+ $this->chargeType = $chargeType;
+ }
+ public function getChargeType()
+ {
+ return $this->chargeType;
+ }
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSalePrice($salePrice)
+ {
+ $this->salePrice = $salePrice;
+ }
+ public function getSalePrice()
+ {
+ return $this->salePrice;
+ }
+}
+
+class Postman_Google_Service_QPXExpress_TimeOfDayRange extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $earliestTime;
+ public $kind;
+ public $latestTime;
+
+
+ public function setEarliestTime($earliestTime)
+ {
+ $this->earliestTime = $earliestTime;
+ }
+ public function getEarliestTime()
+ {
+ return $this->earliestTime;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLatestTime($latestTime)
+ {
+ $this->latestTime = $latestTime;
+ }
+ public function getLatestTime()
+ {
+ return $this->latestTime;
+ }
+}
+
+class Postman_Google_Service_QPXExpress_TripOption extends Postman_Google_Collection
+{
+ protected $collection_key = 'slice';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ protected $pricingType = 'Postman_Google_Service_QPXExpress_PricingInfo';
+ protected $pricingDataType = 'array';
+ public $saleTotal;
+ protected $sliceType = 'Postman_Google_Service_QPXExpress_SliceInfo';
+ protected $sliceDataType = 'array';
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPricing($pricing)
+ {
+ $this->pricing = $pricing;
+ }
+ public function getPricing()
+ {
+ return $this->pricing;
+ }
+ public function setSaleTotal($saleTotal)
+ {
+ $this->saleTotal = $saleTotal;
+ }
+ public function getSaleTotal()
+ {
+ return $this->saleTotal;
+ }
+ public function setSlice($slice)
+ {
+ $this->slice = $slice;
+ }
+ public function getSlice()
+ {
+ return $this->slice;
+ }
+}
+
+class Postman_Google_Service_QPXExpress_TripOptionsRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'slice';
+ protected $internal_gapi_mappings = array(
+ );
+ public $maxPrice;
+ protected $passengersType = 'Postman_Google_Service_QPXExpress_PassengerCounts';
+ protected $passengersDataType = '';
+ public $refundable;
+ public $saleCountry;
+ protected $sliceType = 'Postman_Google_Service_QPXExpress_SliceInput';
+ protected $sliceDataType = 'array';
+ public $solutions;
+
+
+ public function setMaxPrice($maxPrice)
+ {
+ $this->maxPrice = $maxPrice;
+ }
+ public function getMaxPrice()
+ {
+ return $this->maxPrice;
+ }
+ public function setPassengers(Postman_Google_Service_QPXExpress_PassengerCounts $passengers)
+ {
+ $this->passengers = $passengers;
+ }
+ public function getPassengers()
+ {
+ return $this->passengers;
+ }
+ public function setRefundable($refundable)
+ {
+ $this->refundable = $refundable;
+ }
+ public function getRefundable()
+ {
+ return $this->refundable;
+ }
+ public function setSaleCountry($saleCountry)
+ {
+ $this->saleCountry = $saleCountry;
+ }
+ public function getSaleCountry()
+ {
+ return $this->saleCountry;
+ }
+ public function setSlice($slice)
+ {
+ $this->slice = $slice;
+ }
+ public function getSlice()
+ {
+ return $this->slice;
+ }
+ public function setSolutions($solutions)
+ {
+ $this->solutions = $solutions;
+ }
+ public function getSolutions()
+ {
+ return $this->solutions;
+ }
+}
+
+class Postman_Google_Service_QPXExpress_TripOptionsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'tripOption';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $dataType = 'Postman_Google_Service_QPXExpress_Data';
+ protected $dataDataType = '';
+ public $kind;
+ public $requestId;
+ protected $tripOptionType = 'Postman_Google_Service_QPXExpress_TripOption';
+ protected $tripOptionDataType = 'array';
+
+
+ public function setData(Postman_Google_Service_QPXExpress_Data $data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRequestId($requestId)
+ {
+ $this->requestId = $requestId;
+ }
+ public function getRequestId()
+ {
+ return $this->requestId;
+ }
+ public function setTripOption($tripOption)
+ {
+ $this->tripOption = $tripOption;
+ }
+ public function getTripOption()
+ {
+ return $this->tripOption;
+ }
+}
+
+class Postman_Google_Service_QPXExpress_TripsSearchRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $requestType = 'Postman_Google_Service_QPXExpress_TripOptionsRequest';
+ protected $requestDataType = '';
+
+
+ public function setRequest(Postman_Google_Service_QPXExpress_TripOptionsRequest $request)
+ {
+ $this->request = $request;
+ }
+ public function getRequest()
+ {
+ return $this->request;
+ }
+}
+
+class Postman_Google_Service_QPXExpress_TripsSearchResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $tripsType = 'Postman_Google_Service_QPXExpress_TripOptionsResponse';
+ protected $tripsDataType = '';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setTrips(Postman_Google_Service_QPXExpress_TripOptionsResponse $trips)
+ {
+ $this->trips = $trips;
+ }
+ public function getTrips()
+ {
+ return $this->trips;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Replicapool.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Replicapool.php
new file mode 100644
index 0000000..60388c6
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Replicapool.php
@@ -0,0 +1,1273 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Replicapool (v1beta2).
+ *
+ * <p>
+ * The Google Compute Engine Instance Group Manager API provides groups of
+ * homogenous Compute Engine Instances.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/compute/docs/instance-groups/manager/v1beta2" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Replicapool extends Postman_Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View and manage your Google Compute Engine resources. */
+ const COMPUTE =
+ "https://www.googleapis.com/auth/compute";
+ /** View your Google Compute Engine resources. */
+ const COMPUTE_READONLY =
+ "https://www.googleapis.com/auth/compute.readonly";
+
+ public $instanceGroupManagers;
+ public $zoneOperations;
+
+
+ /**
+ * Constructs the internal representation of the Replicapool service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'replicapool/v1beta2/projects/';
+ $this->version = 'v1beta2';
+ $this->serviceName = 'replicapool';
+
+ $this->instanceGroupManagers = new Postman_Google_Service_Replicapool_InstanceGroupManagers_Resource(
+ $this,
+ $this->serviceName,
+ 'instanceGroupManagers',
+ array(
+ 'methods' => array(
+ 'abandonInstances' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroupManager' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroupManager' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'deleteInstances' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroupManager' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroupManager' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroupManagers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'size' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroupManagers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'recreateInstances' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroupManager' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'resize' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroupManager' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'size' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'setInstanceTemplate' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroupManager' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setTargetPools' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroupManager' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->zoneOperations = new Postman_Google_Service_Replicapool_ZoneOperations_Resource(
+ $this,
+ $this->serviceName,
+ 'zoneOperations',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{project}/zones/{zone}/operations/{operation}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'operation' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/zones/{zone}/operations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "instanceGroupManagers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $replicapoolService = new Postman_Google_Service_Replicapool(...);
+ * $instanceGroupManagers = $replicapoolService->instanceGroupManagers;
+ * </code>
+ */
+class Postman_Google_Service_Replicapool_InstanceGroupManagers_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Removes the specified instances from the managed instance group, and from any
+ * target pools of which they were members, without deleting the instances.
+ * (instanceGroupManagers.abandonInstances)
+ *
+ * @param string $project The Google Developers Console project name.
+ * @param string $zone The name of the zone in which the instance group manager
+ * resides.
+ * @param string $instanceGroupManager The name of the instance group manager.
+ * @param Postman_Google_InstanceGroupManagersAbandonInstancesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Replicapool_Operation
+ */
+ public function abandonInstances($project, $zone, $instanceGroupManager, Postman_Google_Service_Replicapool_InstanceGroupManagersAbandonInstancesRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('abandonInstances', array($params), "Postman_Google_Service_Replicapool_Operation");
+ }
+
+ /**
+ * Deletes the instance group manager and all instances contained within. If
+ * you'd like to delete the manager without deleting the instances, you must
+ * first abandon the instances to remove them from the group.
+ * (instanceGroupManagers.delete)
+ *
+ * @param string $project The Google Developers Console project name.
+ * @param string $zone The name of the zone in which the instance group manager
+ * resides.
+ * @param string $instanceGroupManager Name of the Instance Group Manager
+ * resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Replicapool_Operation
+ */
+ public function delete($project, $zone, $instanceGroupManager, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_Replicapool_Operation");
+ }
+
+ /**
+ * Deletes the specified instances. The instances are removed from the instance
+ * group and any target pools of which they are a member, then deleted. The
+ * targetSize of the instance group manager is reduced by the number of
+ * instances deleted. (instanceGroupManagers.deleteInstances)
+ *
+ * @param string $project The Google Developers Console project name.
+ * @param string $zone The name of the zone in which the instance group manager
+ * resides.
+ * @param string $instanceGroupManager The name of the instance group manager.
+ * @param Postman_Google_InstanceGroupManagersDeleteInstancesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Replicapool_Operation
+ */
+ public function deleteInstances($project, $zone, $instanceGroupManager, Postman_Google_Service_Replicapool_InstanceGroupManagersDeleteInstancesRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('deleteInstances', array($params), "Postman_Google_Service_Replicapool_Operation");
+ }
+
+ /**
+ * Returns the specified Instance Group Manager resource.
+ * (instanceGroupManagers.get)
+ *
+ * @param string $project The Google Developers Console project name.
+ * @param string $zone The name of the zone in which the instance group manager
+ * resides.
+ * @param string $instanceGroupManager Name of the instance resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Replicapool_InstanceGroupManager
+ */
+ public function get($project, $zone, $instanceGroupManager, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Replicapool_InstanceGroupManager");
+ }
+
+ /**
+ * Creates an instance group manager, as well as the instance group and the
+ * specified number of instances. (instanceGroupManagers.insert)
+ *
+ * @param string $project The Google Developers Console project name.
+ * @param string $zone The name of the zone in which the instance group manager
+ * resides.
+ * @param int $size Number of instances that should exist.
+ * @param Postman_Google_InstanceGroupManager $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Replicapool_Operation
+ */
+ public function insert($project, $zone, $size, Postman_Google_Service_Replicapool_InstanceGroupManager $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'size' => $size, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Replicapool_Operation");
+ }
+
+ /**
+ * Retrieves the list of Instance Group Manager resources contained within the
+ * specified zone. (instanceGroupManagers.listInstanceGroupManagers)
+ *
+ * @param string $project The Google Developers Console project name.
+ * @param string $zone The name of the zone in which the instance group manager
+ * resides.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Replicapool_InstanceGroupManagerList
+ */
+ public function listInstanceGroupManagers($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Replicapool_InstanceGroupManagerList");
+ }
+
+ /**
+ * Recreates the specified instances. The instances are deleted, then recreated
+ * using the instance group manager's current instance template.
+ * (instanceGroupManagers.recreateInstances)
+ *
+ * @param string $project The Google Developers Console project name.
+ * @param string $zone The name of the zone in which the instance group manager
+ * resides.
+ * @param string $instanceGroupManager The name of the instance group manager.
+ * @param Postman_Google_InstanceGroupManagersRecreateInstancesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Replicapool_Operation
+ */
+ public function recreateInstances($project, $zone, $instanceGroupManager, Postman_Google_Service_Replicapool_InstanceGroupManagersRecreateInstancesRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('recreateInstances', array($params), "Postman_Google_Service_Replicapool_Operation");
+ }
+
+ /**
+ * Resizes the managed instance group up or down. If resized up, new instances
+ * are created using the current instance template. If resized down, instances
+ * are removed in the order outlined in Resizing a managed instance group.
+ * (instanceGroupManagers.resize)
+ *
+ * @param string $project The Google Developers Console project name.
+ * @param string $zone The name of the zone in which the instance group manager
+ * resides.
+ * @param string $instanceGroupManager The name of the instance group manager.
+ * @param int $size Number of instances that should exist in this Instance Group
+ * Manager.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Replicapool_Operation
+ */
+ public function resize($project, $zone, $instanceGroupManager, $size, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'size' => $size);
+ $params = array_merge($params, $optParams);
+ return $this->call('resize', array($params), "Postman_Google_Service_Replicapool_Operation");
+ }
+
+ /**
+ * Sets the instance template to use when creating new instances in this group.
+ * Existing instances are not affected.
+ * (instanceGroupManagers.setInstanceTemplate)
+ *
+ * @param string $project The Google Developers Console project name.
+ * @param string $zone The name of the zone in which the instance group manager
+ * resides.
+ * @param string $instanceGroupManager The name of the instance group manager.
+ * @param Postman_Google_InstanceGroupManagersSetInstanceTemplateRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Replicapool_Operation
+ */
+ public function setInstanceTemplate($project, $zone, $instanceGroupManager, Postman_Google_Service_Replicapool_InstanceGroupManagersSetInstanceTemplateRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setInstanceTemplate', array($params), "Postman_Google_Service_Replicapool_Operation");
+ }
+
+ /**
+ * Modifies the target pools to which all new instances in this group are
+ * assigned. Existing instances in the group are not affected.
+ * (instanceGroupManagers.setTargetPools)
+ *
+ * @param string $project The Google Developers Console project name.
+ * @param string $zone The name of the zone in which the instance group manager
+ * resides.
+ * @param string $instanceGroupManager The name of the instance group manager.
+ * @param Postman_Google_InstanceGroupManagersSetTargetPoolsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Replicapool_Operation
+ */
+ public function setTargetPools($project, $zone, $instanceGroupManager, Postman_Google_Service_Replicapool_InstanceGroupManagersSetTargetPoolsRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setTargetPools', array($params), "Postman_Google_Service_Replicapool_Operation");
+ }
+}
+
+/**
+ * The "zoneOperations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $replicapoolService = new Postman_Google_Service_Replicapool(...);
+ * $zoneOperations = $replicapoolService->zoneOperations;
+ * </code>
+ */
+class Postman_Google_Service_Replicapool_ZoneOperations_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves the specified zone-specific operation resource.
+ * (zoneOperations.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $operation Name of the operation resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Replicapool_Operation
+ */
+ public function get($project, $zone, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Replicapool_Operation");
+ }
+
+ /**
+ * Retrieves the list of operation resources contained within the specified
+ * zone. (zoneOperations.listZoneOperations)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Replicapool_OperationList
+ */
+ public function listZoneOperations($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Replicapool_OperationList");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Replicapool_InstanceGroupManager extends Postman_Google_Collection
+{
+ protected $collection_key = 'targetPools';
+ protected $internal_gapi_mappings = array(
+ );
+ public $baseInstanceName;
+ public $creationTimestamp;
+ public $currentSize;
+ public $description;
+ public $fingerprint;
+ public $group;
+ public $id;
+ public $instanceTemplate;
+ public $kind;
+ public $name;
+ public $selfLink;
+ public $targetPools;
+ public $targetSize;
+
+
+ public function setBaseInstanceName($baseInstanceName)
+ {
+ $this->baseInstanceName = $baseInstanceName;
+ }
+ public function getBaseInstanceName()
+ {
+ return $this->baseInstanceName;
+ }
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setCurrentSize($currentSize)
+ {
+ $this->currentSize = $currentSize;
+ }
+ public function getCurrentSize()
+ {
+ return $this->currentSize;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setGroup($group)
+ {
+ $this->group = $group;
+ }
+ public function getGroup()
+ {
+ return $this->group;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInstanceTemplate($instanceTemplate)
+ {
+ $this->instanceTemplate = $instanceTemplate;
+ }
+ public function getInstanceTemplate()
+ {
+ return $this->instanceTemplate;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTargetPools($targetPools)
+ {
+ $this->targetPools = $targetPools;
+ }
+ public function getTargetPools()
+ {
+ return $this->targetPools;
+ }
+ public function setTargetSize($targetSize)
+ {
+ $this->targetSize = $targetSize;
+ }
+ public function getTargetSize()
+ {
+ return $this->targetSize;
+ }
+}
+
+class Postman_Google_Service_Replicapool_InstanceGroupManagerList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Replicapool_InstanceGroupManager';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Replicapool_InstanceGroupManagersAbandonInstancesRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'instances';
+ protected $internal_gapi_mappings = array(
+ );
+ public $instances;
+
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+}
+
+class Postman_Google_Service_Replicapool_InstanceGroupManagersDeleteInstancesRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'instances';
+ protected $internal_gapi_mappings = array(
+ );
+ public $instances;
+
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+}
+
+class Postman_Google_Service_Replicapool_InstanceGroupManagersRecreateInstancesRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'instances';
+ protected $internal_gapi_mappings = array(
+ );
+ public $instances;
+
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+}
+
+class Postman_Google_Service_Replicapool_InstanceGroupManagersSetInstanceTemplateRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $instanceTemplate;
+
+
+ public function setInstanceTemplate($instanceTemplate)
+ {
+ $this->instanceTemplate = $instanceTemplate;
+ }
+ public function getInstanceTemplate()
+ {
+ return $this->instanceTemplate;
+ }
+}
+
+class Postman_Google_Service_Replicapool_InstanceGroupManagersSetTargetPoolsRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'targetPools';
+ protected $internal_gapi_mappings = array(
+ );
+ public $fingerprint;
+ public $targetPools;
+
+
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setTargetPools($targetPools)
+ {
+ $this->targetPools = $targetPools;
+ }
+ public function getTargetPools()
+ {
+ return $this->targetPools;
+ }
+}
+
+class Postman_Google_Service_Replicapool_Operation extends Postman_Google_Collection
+{
+ protected $collection_key = 'warnings';
+ protected $internal_gapi_mappings = array(
+ );
+ public $clientOperationId;
+ public $creationTimestamp;
+ public $endTime;
+ protected $errorType = 'Postman_Google_Service_Replicapool_OperationError';
+ protected $errorDataType = '';
+ public $httpErrorMessage;
+ public $httpErrorStatusCode;
+ public $id;
+ public $insertTime;
+ public $kind;
+ public $name;
+ public $operationType;
+ public $progress;
+ public $region;
+ public $selfLink;
+ public $startTime;
+ public $status;
+ public $statusMessage;
+ public $targetId;
+ public $targetLink;
+ public $user;
+ protected $warningsType = 'Postman_Google_Service_Replicapool_OperationWarnings';
+ protected $warningsDataType = 'array';
+ public $zone;
+
+
+ public function setClientOperationId($clientOperationId)
+ {
+ $this->clientOperationId = $clientOperationId;
+ }
+ public function getClientOperationId()
+ {
+ return $this->clientOperationId;
+ }
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setError(Postman_Google_Service_Replicapool_OperationError $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setHttpErrorMessage($httpErrorMessage)
+ {
+ $this->httpErrorMessage = $httpErrorMessage;
+ }
+ public function getHttpErrorMessage()
+ {
+ return $this->httpErrorMessage;
+ }
+ public function setHttpErrorStatusCode($httpErrorStatusCode)
+ {
+ $this->httpErrorStatusCode = $httpErrorStatusCode;
+ }
+ public function getHttpErrorStatusCode()
+ {
+ return $this->httpErrorStatusCode;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInsertTime($insertTime)
+ {
+ $this->insertTime = $insertTime;
+ }
+ public function getInsertTime()
+ {
+ return $this->insertTime;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOperationType($operationType)
+ {
+ $this->operationType = $operationType;
+ }
+ public function getOperationType()
+ {
+ return $this->operationType;
+ }
+ public function setProgress($progress)
+ {
+ $this->progress = $progress;
+ }
+ public function getProgress()
+ {
+ return $this->progress;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setStatusMessage($statusMessage)
+ {
+ $this->statusMessage = $statusMessage;
+ }
+ public function getStatusMessage()
+ {
+ return $this->statusMessage;
+ }
+ public function setTargetId($targetId)
+ {
+ $this->targetId = $targetId;
+ }
+ public function getTargetId()
+ {
+ return $this->targetId;
+ }
+ public function setTargetLink($targetLink)
+ {
+ $this->targetLink = $targetLink;
+ }
+ public function getTargetLink()
+ {
+ return $this->targetLink;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Postman_Google_Service_Replicapool_OperationError extends Postman_Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $errorsType = 'Postman_Google_Service_Replicapool_OperationErrorErrors';
+ protected $errorsDataType = 'array';
+
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Postman_Google_Service_Replicapool_OperationErrorErrors extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $location;
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Postman_Google_Service_Replicapool_OperationList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Replicapool_Operation';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Replicapool_OperationWarnings extends Postman_Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $dataType = 'Postman_Google_Service_Replicapool_OperationWarningsData';
+ protected $dataDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Postman_Google_Service_Replicapool_OperationWarningsData extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Replicapoolupdater.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Replicapoolupdater.php
new file mode 100644
index 0000000..aac3dcf
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Replicapoolupdater.php
@@ -0,0 +1,631 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Replicapoolupdater (v1beta1).
+ *
+ * <p>
+ * The Google Compute Engine Instance Group Updater API provides services for
+ * updating groups of Compute Engine Instances.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Replicapoolupdater extends Postman_Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View and manage replica pools. */
+ const REPLICAPOOL =
+ "https://www.googleapis.com/auth/replicapool";
+ /** View replica pools. */
+ const REPLICAPOOL_READONLY =
+ "https://www.googleapis.com/auth/replicapool.readonly";
+
+ public $updates;
+
+
+ /**
+ * Constructs the internal representation of the Replicapoolupdater service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'replicapoolupdater/v1beta1/projects/';
+ $this->version = 'v1beta1';
+ $this->serviceName = 'replicapoolupdater';
+
+ $this->updates = new Postman_Google_Service_Replicapoolupdater_Updates_Resource(
+ $this,
+ $this->serviceName,
+ 'updates',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updates/{update}/cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroupManager' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'update' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updates/{update}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroupManager' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'update' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updates',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroupManager' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updates',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroupManager' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'pause' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updates/{update}/pause',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroupManager' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'update' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'rollback' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updates/{update}/rollback',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroupManager' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'update' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'rollforward' => array(
+ 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updates/{update}/rollforward',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instanceGroupManager' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'update' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "updates" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $replicapoolupdaterService = new Postman_Google_Service_Replicapoolupdater(...);
+ * $updates = $replicapoolupdaterService->updates;
+ * </code>
+ */
+class Postman_Google_Service_Replicapoolupdater_Updates_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Called on the particular Update endpoint. Cancels the update in state PAUSED.
+ * No-op if invoked in state CANCELLED. (updates.cancel)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Zone for the instance group manager.
+ * @param string $instanceGroupManager Name of the instance group manager for
+ * this request.
+ * @param string $update Unique (in the context of a group) handle of an update.
+ * @param array $optParams Optional parameters.
+ */
+ public function cancel($project, $zone, $instanceGroupManager, $update, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'update' => $update);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params));
+ }
+
+ /**
+ * Called on the particular Update endpoint. Returns the Update resource.
+ * (updates.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Zone for the instance group manager.
+ * @param string $instanceGroupManager Name of the instance group manager for
+ * this request.
+ * @param string $update Unique (in the context of a group) handle of an update.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Replicapoolupdater_Update
+ */
+ public function get($project, $zone, $instanceGroupManager, $update, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'update' => $update);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Replicapoolupdater_Update");
+ }
+
+ /**
+ * Called on the collection endpoint. Inserts the new Update resource and starts
+ * the update. (updates.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Zone for the instance group manager.
+ * @param string $instanceGroupManager Name of the instance group manager for
+ * this request.
+ * @param Postman_Google_Update $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Replicapoolupdater_InsertResponse
+ */
+ public function insert($project, $zone, $instanceGroupManager, Postman_Google_Service_Replicapoolupdater_Update $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Replicapoolupdater_InsertResponse");
+ }
+
+ /**
+ * Called on the collection endpoint. Lists updates for a given instance group,
+ * in reverse chronological order. Pagination is supported, see
+ * ListRequestHeader. (updates.listUpdates)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Zone for the instance group manager.
+ * @param string $instanceGroupManager Name of the instance group manager for
+ * this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Set this to the nextPageToken value returned by a
+ * previous list request to obtain the next page of results from the previous
+ * list request.
+ * @opt_param int maxResults Maximum count of results to be returned. Acceptable
+ * values are 1 to 100, inclusive. (Default: 50)
+ * @return Postman_Google_Service_Replicapoolupdater_UpdateList
+ */
+ public function listUpdates($project, $zone, $instanceGroupManager, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Replicapoolupdater_UpdateList");
+ }
+
+ /**
+ * Called on the particular Update endpoint. Pauses the update in state
+ * ROLLING_FORWARD or ROLLING_BACK. No-op if invoked in state PAUSED.
+ * (updates.pause)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Zone for the instance group manager.
+ * @param string $instanceGroupManager Name of the instance group manager for
+ * this request.
+ * @param string $update Unique (in the context of a group) handle of an update.
+ * @param array $optParams Optional parameters.
+ */
+ public function pause($project, $zone, $instanceGroupManager, $update, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'update' => $update);
+ $params = array_merge($params, $optParams);
+ return $this->call('pause', array($params));
+ }
+
+ /**
+ * Called on the particular Update endpoint. Rolls back the update in state
+ * ROLLING_FORWARD or PAUSED. No-op if invoked in state ROLLED_BACK or
+ * ROLLING_BACK. (updates.rollback)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Zone for the instance group manager.
+ * @param string $instanceGroupManager Name of the instance group manager for
+ * this request.
+ * @param string $update Unique (in the context of a group) handle of an update.
+ * @param array $optParams Optional parameters.
+ */
+ public function rollback($project, $zone, $instanceGroupManager, $update, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'update' => $update);
+ $params = array_merge($params, $optParams);
+ return $this->call('rollback', array($params));
+ }
+
+ /**
+ * Called on the particular Update endpoint. Rolls forward the update in state
+ * ROLLING_BACK or PAUSED. No-op if invoked in state ROLLED_OUT or
+ * ROLLING_FORWARD. (updates.rollforward)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Zone for the instance group manager.
+ * @param string $instanceGroupManager Name of the instance group manager for
+ * this request.
+ * @param string $update Unique (in the context of a group) handle of an update.
+ * @param array $optParams Optional parameters.
+ */
+ public function rollforward($project, $zone, $instanceGroupManager, $update, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'update' => $update);
+ $params = array_merge($params, $optParams);
+ return $this->call('rollforward', array($params));
+ }
+}
+
+
+
+
+class Postman_Google_Service_Replicapoolupdater_InsertResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $update;
+
+
+ public function setUpdate($update)
+ {
+ $this->update = $update;
+ }
+ public function getUpdate()
+ {
+ return $this->update;
+ }
+}
+
+class Postman_Google_Service_Replicapoolupdater_InstanceUpdate extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $instanceName;
+ public $state;
+
+
+ public function setInstanceName($instanceName)
+ {
+ $this->instanceName = $instanceName;
+ }
+ public function getInstanceName()
+ {
+ return $this->instanceName;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+}
+
+class Postman_Google_Service_Replicapoolupdater_Update extends Postman_Google_Collection
+{
+ protected $collection_key = 'instanceUpdates';
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ public $details;
+ public $handle;
+ public $instanceTemplate;
+ protected $instanceUpdatesType = 'Postman_Google_Service_Replicapoolupdater_InstanceUpdate';
+ protected $instanceUpdatesDataType = 'array';
+ public $kind;
+ protected $policyType = 'Postman_Google_Service_Replicapoolupdater_UpdatePolicy';
+ protected $policyDataType = '';
+ public $selfLink;
+ public $state;
+ public $targetState;
+ public $user;
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setHandle($handle)
+ {
+ $this->handle = $handle;
+ }
+ public function getHandle()
+ {
+ return $this->handle;
+ }
+ public function setInstanceTemplate($instanceTemplate)
+ {
+ $this->instanceTemplate = $instanceTemplate;
+ }
+ public function getInstanceTemplate()
+ {
+ return $this->instanceTemplate;
+ }
+ public function setInstanceUpdates($instanceUpdates)
+ {
+ $this->instanceUpdates = $instanceUpdates;
+ }
+ public function getInstanceUpdates()
+ {
+ return $this->instanceUpdates;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPolicy(Postman_Google_Service_Replicapoolupdater_UpdatePolicy $policy)
+ {
+ $this->policy = $policy;
+ }
+ public function getPolicy()
+ {
+ return $this->policy;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setTargetState($targetState)
+ {
+ $this->targetState = $targetState;
+ }
+ public function getTargetState()
+ {
+ return $this->targetState;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+}
+
+class Postman_Google_Service_Replicapoolupdater_UpdateList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Replicapoolupdater_Update';
+ protected $itemsDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Replicapoolupdater_UpdatePolicy extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $canaryType = 'Postman_Google_Service_Replicapoolupdater_UpdatePolicyCanary';
+ protected $canaryDataType = '';
+ public $maxNumConcurrentInstances;
+ public $sleepAfterInstanceRestartSec;
+
+
+ public function setCanary(Postman_Google_Service_Replicapoolupdater_UpdatePolicyCanary $canary)
+ {
+ $this->canary = $canary;
+ }
+ public function getCanary()
+ {
+ return $this->canary;
+ }
+ public function setMaxNumConcurrentInstances($maxNumConcurrentInstances)
+ {
+ $this->maxNumConcurrentInstances = $maxNumConcurrentInstances;
+ }
+ public function getMaxNumConcurrentInstances()
+ {
+ return $this->maxNumConcurrentInstances;
+ }
+ public function setSleepAfterInstanceRestartSec($sleepAfterInstanceRestartSec)
+ {
+ $this->sleepAfterInstanceRestartSec = $sleepAfterInstanceRestartSec;
+ }
+ public function getSleepAfterInstanceRestartSec()
+ {
+ return $this->sleepAfterInstanceRestartSec;
+ }
+}
+
+class Postman_Google_Service_Replicapoolupdater_UpdatePolicyCanary extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $numInstances;
+
+
+ public function setNumInstances($numInstances)
+ {
+ $this->numInstances = $numInstances;
+ }
+ public function getNumInstances()
+ {
+ return $this->numInstances;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Reports.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Reports.php
new file mode 100644
index 0000000..029b560
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Reports.php
@@ -0,0 +1,1135 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Reports (reports_v1).
+ *
+ * <p>
+ * Allows the administrators of Google Apps customers to fetch reports about the
+ * usage, collaboration, security and risk for their users.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/admin-sdk/reports/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Reports extends Postman_Google_Service
+{
+ /** View audit reports of Google Apps for your domain. */
+ const ADMIN_REPORTS_AUDIT_READONLY =
+ "https://www.googleapis.com/auth/admin.reports.audit.readonly";
+ /** View usage reports of Google Apps for your domain. */
+ const ADMIN_REPORTS_USAGE_READONLY =
+ "https://www.googleapis.com/auth/admin.reports.usage.readonly";
+
+ public $activities;
+ public $channels;
+ public $customerUsageReports;
+ public $userUsageReport;
+
+
+ /**
+ * Constructs the internal representation of the Reports service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'admin/reports/v1/';
+ $this->version = 'reports_v1';
+ $this->serviceName = 'admin';
+
+ $this->activities = new Postman_Google_Service_Reports_Activities_Resource(
+ $this,
+ $this->serviceName,
+ 'activities',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'activity/users/{userKey}/applications/{applicationName}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'applicationName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'startTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'actorIpAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'eventName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'filters' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'customerId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'watch' => array(
+ 'path' => 'activity/users/{userKey}/applications/{applicationName}/watch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'applicationName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'startTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'actorIpAddress' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'eventName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'filters' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'customerId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->channels = new Postman_Google_Service_Reports_Channels_Resource(
+ $this,
+ $this->serviceName,
+ 'channels',
+ array(
+ 'methods' => array(
+ 'stop' => array(
+ 'path' => '/admin/reports_v1/channels/stop',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->customerUsageReports = new Postman_Google_Service_Reports_CustomerUsageReports_Resource(
+ $this,
+ $this->serviceName,
+ 'customerUsageReports',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'usage/dates/{date}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'date' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'customerId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'parameters' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->userUsageReport = new Postman_Google_Service_Reports_UserUsageReport_Resource(
+ $this,
+ $this->serviceName,
+ 'userUsageReport',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'usage/users/{userKey}/dates/{date}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userKey' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'date' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'parameters' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'filters' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'customerId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "activities" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Postman_Google_Service_Reports(...);
+ * $activities = $adminService->activities;
+ * </code>
+ */
+class Postman_Google_Service_Reports_Activities_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves a list of activities for a specific customer and application.
+ * (activities.listActivities)
+ *
+ * @param string $userKey Represents the profile id or the user email for which
+ * the data should be filtered. When 'all' is specified as the userKey, it
+ * returns usageReports for all users.
+ * @param string $applicationName Application name for which the events are to
+ * be retrieved.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string startTime Return events which occured at or after this
+ * time.
+ * @opt_param string actorIpAddress IP Address of host where the event was
+ * performed. Supports both IPv4 and IPv6 addresses.
+ * @opt_param int maxResults Number of activity records to be shown in each
+ * page.
+ * @opt_param string eventName Name of the event being queried.
+ * @opt_param string pageToken Token to specify next page.
+ * @opt_param string filters Event parameters in the form [parameter1
+ * name][operator][parameter1 value],[parameter2 name][operator][parameter2
+ * value],...
+ * @opt_param string endTime Return events which occured at or before this time.
+ * @opt_param string customerId Represents the customer for which the data is to
+ * be fetched.
+ * @return Postman_Google_Service_Reports_Activities
+ */
+ public function listActivities($userKey, $applicationName, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'applicationName' => $applicationName);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Reports_Activities");
+ }
+
+ /**
+ * Push changes to activities (activities.watch)
+ *
+ * @param string $userKey Represents the profile id or the user email for which
+ * the data should be filtered. When 'all' is specified as the userKey, it
+ * returns usageReports for all users.
+ * @param string $applicationName Application name for which the events are to
+ * be retrieved.
+ * @param Postman_Google_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string startTime Return events which occured at or after this
+ * time.
+ * @opt_param string actorIpAddress IP Address of host where the event was
+ * performed. Supports both IPv4 and IPv6 addresses.
+ * @opt_param int maxResults Number of activity records to be shown in each
+ * page.
+ * @opt_param string eventName Name of the event being queried.
+ * @opt_param string pageToken Token to specify next page.
+ * @opt_param string filters Event parameters in the form [parameter1
+ * name][operator][parameter1 value],[parameter2 name][operator][parameter2
+ * value],...
+ * @opt_param string endTime Return events which occured at or before this time.
+ * @opt_param string customerId Represents the customer for which the data is to
+ * be fetched.
+ * @return Postman_Google_Service_Reports_Channel
+ */
+ public function watch($userKey, $applicationName, Postman_Google_Service_Reports_Channel $postBody, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'applicationName' => $applicationName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watch', array($params), "Postman_Google_Service_Reports_Channel");
+ }
+}
+
+/**
+ * The "channels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Postman_Google_Service_Reports(...);
+ * $channels = $adminService->channels;
+ * </code>
+ */
+class Postman_Google_Service_Reports_Channels_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Stop watching resources through this channel (channels.stop)
+ *
+ * @param Postman_Google_Channel $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function stop(Postman_Google_Service_Reports_Channel $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('stop', array($params));
+ }
+}
+
+/**
+ * The "customerUsageReports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Postman_Google_Service_Reports(...);
+ * $customerUsageReports = $adminService->customerUsageReports;
+ * </code>
+ */
+class Postman_Google_Service_Reports_CustomerUsageReports_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves a report which is a collection of properties / statistics for a
+ * specific customer. (customerUsageReports.get)
+ *
+ * @param string $date Represents the date in yyyy-mm-dd format for which the
+ * data is to be fetched.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Token to specify next page.
+ * @opt_param string customerId Represents the customer for which the data is to
+ * be fetched.
+ * @opt_param string parameters Represents the application name, parameter name
+ * pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2.
+ * @return Postman_Google_Service_Reports_UsageReports
+ */
+ public function get($date, $optParams = array())
+ {
+ $params = array('date' => $date);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Reports_UsageReports");
+ }
+}
+
+/**
+ * The "userUsageReport" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $adminService = new Postman_Google_Service_Reports(...);
+ * $userUsageReport = $adminService->userUsageReport;
+ * </code>
+ */
+class Postman_Google_Service_Reports_UserUsageReport_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves a report which is a collection of properties / statistics for a set
+ * of users. (userUsageReport.get)
+ *
+ * @param string $userKey Represents the profile id or the user email for which
+ * the data should be filtered.
+ * @param string $date Represents the date in yyyy-mm-dd format for which the
+ * data is to be fetched.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string parameters Represents the application name, parameter name
+ * pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2.
+ * @opt_param string maxResults Maximum number of results to return. Maximum
+ * allowed is 1000
+ * @opt_param string pageToken Token to specify next page.
+ * @opt_param string filters Represents the set of filters including parameter
+ * operator value.
+ * @opt_param string customerId Represents the customer for which the data is to
+ * be fetched.
+ * @return Postman_Google_Service_Reports_UsageReports
+ */
+ public function get($userKey, $date, $optParams = array())
+ {
+ $params = array('userKey' => $userKey, 'date' => $date);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Reports_UsageReports");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Reports_Activities extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Reports_Activity';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Reports_Activity extends Postman_Google_Collection
+{
+ protected $collection_key = 'events';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $actorType = 'Postman_Google_Service_Reports_ActivityActor';
+ protected $actorDataType = '';
+ public $etag;
+ protected $eventsType = 'Postman_Google_Service_Reports_ActivityEvents';
+ protected $eventsDataType = 'array';
+ protected $idType = 'Postman_Google_Service_Reports_ActivityId';
+ protected $idDataType = '';
+ public $ipAddress;
+ public $kind;
+ public $ownerDomain;
+
+
+ public function setActor(Postman_Google_Service_Reports_ActivityActor $actor)
+ {
+ $this->actor = $actor;
+ }
+ public function getActor()
+ {
+ return $this->actor;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setEvents($events)
+ {
+ $this->events = $events;
+ }
+ public function getEvents()
+ {
+ return $this->events;
+ }
+ public function setId(Postman_Google_Service_Reports_ActivityId $id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIpAddress($ipAddress)
+ {
+ $this->ipAddress = $ipAddress;
+ }
+ public function getIpAddress()
+ {
+ return $this->ipAddress;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOwnerDomain($ownerDomain)
+ {
+ $this->ownerDomain = $ownerDomain;
+ }
+ public function getOwnerDomain()
+ {
+ return $this->ownerDomain;
+ }
+}
+
+class Postman_Google_Service_Reports_ActivityActor extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $callerType;
+ public $email;
+ public $key;
+ public $profileId;
+
+
+ public function setCallerType($callerType)
+ {
+ $this->callerType = $callerType;
+ }
+ public function getCallerType()
+ {
+ return $this->callerType;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setProfileId($profileId)
+ {
+ $this->profileId = $profileId;
+ }
+ public function getProfileId()
+ {
+ return $this->profileId;
+ }
+}
+
+class Postman_Google_Service_Reports_ActivityEvents extends Postman_Google_Collection
+{
+ protected $collection_key = 'parameters';
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+ protected $parametersType = 'Postman_Google_Service_Reports_ActivityEventsParameters';
+ protected $parametersDataType = 'array';
+ public $type;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setParameters($parameters)
+ {
+ $this->parameters = $parameters;
+ }
+ public function getParameters()
+ {
+ return $this->parameters;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Reports_ActivityEventsParameters extends Postman_Google_Collection
+{
+ protected $collection_key = 'multiValue';
+ protected $internal_gapi_mappings = array(
+ );
+ public $boolValue;
+ public $intValue;
+ public $multiIntValue;
+ public $multiValue;
+ public $name;
+ public $value;
+
+
+ public function setBoolValue($boolValue)
+ {
+ $this->boolValue = $boolValue;
+ }
+ public function getBoolValue()
+ {
+ return $this->boolValue;
+ }
+ public function setIntValue($intValue)
+ {
+ $this->intValue = $intValue;
+ }
+ public function getIntValue()
+ {
+ return $this->intValue;
+ }
+ public function setMultiIntValue($multiIntValue)
+ {
+ $this->multiIntValue = $multiIntValue;
+ }
+ public function getMultiIntValue()
+ {
+ return $this->multiIntValue;
+ }
+ public function setMultiValue($multiValue)
+ {
+ $this->multiValue = $multiValue;
+ }
+ public function getMultiValue()
+ {
+ return $this->multiValue;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Reports_ActivityId extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $applicationName;
+ public $customerId;
+ public $time;
+ public $uniqueQualifier;
+
+
+ public function setApplicationName($applicationName)
+ {
+ $this->applicationName = $applicationName;
+ }
+ public function getApplicationName()
+ {
+ return $this->applicationName;
+ }
+ public function setCustomerId($customerId)
+ {
+ $this->customerId = $customerId;
+ }
+ public function getCustomerId()
+ {
+ return $this->customerId;
+ }
+ public function setTime($time)
+ {
+ $this->time = $time;
+ }
+ public function getTime()
+ {
+ return $this->time;
+ }
+ public function setUniqueQualifier($uniqueQualifier)
+ {
+ $this->uniqueQualifier = $uniqueQualifier;
+ }
+ public function getUniqueQualifier()
+ {
+ return $this->uniqueQualifier;
+ }
+}
+
+class Postman_Google_Service_Reports_Channel extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $address;
+ public $expiration;
+ public $id;
+ public $kind;
+ public $params;
+ public $payload;
+ public $resourceId;
+ public $resourceUri;
+ public $token;
+ public $type;
+
+
+ public function setAddress($address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
+ public function setExpiration($expiration)
+ {
+ $this->expiration = $expiration;
+ }
+ public function getExpiration()
+ {
+ return $this->expiration;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setParams($params)
+ {
+ $this->params = $params;
+ }
+ public function getParams()
+ {
+ return $this->params;
+ }
+ public function setPayload($payload)
+ {
+ $this->payload = $payload;
+ }
+ public function getPayload()
+ {
+ return $this->payload;
+ }
+ public function setResourceId($resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+ public function setResourceUri($resourceUri)
+ {
+ $this->resourceUri = $resourceUri;
+ }
+ public function getResourceUri()
+ {
+ return $this->resourceUri;
+ }
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+ public function getToken()
+ {
+ return $this->token;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Reports_ChannelParams extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Reports_UsageReport extends Postman_Google_Collection
+{
+ protected $collection_key = 'parameters';
+ protected $internal_gapi_mappings = array(
+ );
+ public $date;
+ protected $entityType = 'Postman_Google_Service_Reports_UsageReportEntity';
+ protected $entityDataType = '';
+ public $etag;
+ public $kind;
+ protected $parametersType = 'Postman_Google_Service_Reports_UsageReportParameters';
+ protected $parametersDataType = 'array';
+
+
+ public function setDate($date)
+ {
+ $this->date = $date;
+ }
+ public function getDate()
+ {
+ return $this->date;
+ }
+ public function setEntity(Postman_Google_Service_Reports_UsageReportEntity $entity)
+ {
+ $this->entity = $entity;
+ }
+ public function getEntity()
+ {
+ return $this->entity;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setParameters($parameters)
+ {
+ $this->parameters = $parameters;
+ }
+ public function getParameters()
+ {
+ return $this->parameters;
+ }
+}
+
+class Postman_Google_Service_Reports_UsageReportEntity extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $customerId;
+ public $profileId;
+ public $type;
+ public $userEmail;
+
+
+ public function setCustomerId($customerId)
+ {
+ $this->customerId = $customerId;
+ }
+ public function getCustomerId()
+ {
+ return $this->customerId;
+ }
+ public function setProfileId($profileId)
+ {
+ $this->profileId = $profileId;
+ }
+ public function getProfileId()
+ {
+ return $this->profileId;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUserEmail($userEmail)
+ {
+ $this->userEmail = $userEmail;
+ }
+ public function getUserEmail()
+ {
+ return $this->userEmail;
+ }
+}
+
+class Postman_Google_Service_Reports_UsageReportParameters extends Postman_Google_Collection
+{
+ protected $collection_key = 'msgValue';
+ protected $internal_gapi_mappings = array(
+ );
+ public $boolValue;
+ public $datetimeValue;
+ public $intValue;
+ public $msgValue;
+ public $name;
+ public $stringValue;
+
+
+ public function setBoolValue($boolValue)
+ {
+ $this->boolValue = $boolValue;
+ }
+ public function getBoolValue()
+ {
+ return $this->boolValue;
+ }
+ public function setDatetimeValue($datetimeValue)
+ {
+ $this->datetimeValue = $datetimeValue;
+ }
+ public function getDatetimeValue()
+ {
+ return $this->datetimeValue;
+ }
+ public function setIntValue($intValue)
+ {
+ $this->intValue = $intValue;
+ }
+ public function getIntValue()
+ {
+ return $this->intValue;
+ }
+ public function setMsgValue($msgValue)
+ {
+ $this->msgValue = $msgValue;
+ }
+ public function getMsgValue()
+ {
+ return $this->msgValue;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setStringValue($stringValue)
+ {
+ $this->stringValue = $stringValue;
+ }
+ public function getStringValue()
+ {
+ return $this->stringValue;
+ }
+}
+
+class Postman_Google_Service_Reports_UsageReportParametersMsgValue extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Reports_UsageReports extends Postman_Google_Collection
+{
+ protected $collection_key = 'warnings';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $kind;
+ public $nextPageToken;
+ protected $usageReportsType = 'Postman_Google_Service_Reports_UsageReport';
+ protected $usageReportsDataType = 'array';
+ protected $warningsType = 'Postman_Google_Service_Reports_UsageReportsWarnings';
+ protected $warningsDataType = 'array';
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setUsageReports($usageReports)
+ {
+ $this->usageReports = $usageReports;
+ }
+ public function getUsageReports()
+ {
+ return $this->usageReports;
+ }
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
+
+class Postman_Google_Service_Reports_UsageReportsWarnings extends Postman_Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $dataType = 'Postman_Google_Service_Reports_UsageReportsWarningsData';
+ protected $dataDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Postman_Google_Service_Reports_UsageReportsWarningsData extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Reseller.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Reseller.php
new file mode 100644
index 0000000..99afb93
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Reseller.php
@@ -0,0 +1,1115 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Reseller (v1).
+ *
+ * <p>
+ * Lets you create and manage your customers and their subscriptions.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/google-apps/reseller/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Reseller extends Postman_Google_Service
+{
+ /** Manage users on your domain. */
+ const APPS_ORDER =
+ "https://www.googleapis.com/auth/apps.order";
+ /** Manage users on your domain. */
+ const APPS_ORDER_READONLY =
+ "https://www.googleapis.com/auth/apps.order.readonly";
+
+ public $customers;
+ public $subscriptions;
+
+
+ /**
+ * Constructs the internal representation of the Reseller service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'apps/reseller/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'reseller';
+
+ $this->customers = new Postman_Google_Service_Reseller_Customers_Resource(
+ $this,
+ $this->serviceName,
+ 'customers',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'customers/{customerId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'customers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'customerAuthToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'customers/{customerId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'customers/{customerId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->subscriptions = new Postman_Google_Service_Reseller_Subscriptions_Resource(
+ $this,
+ $this->serviceName,
+ 'subscriptions',
+ array(
+ 'methods' => array(
+ 'activate' => array(
+ 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/activate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'subscriptionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'changePlan' => array(
+ 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changePlan',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'subscriptionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'changeRenewalSettings' => array(
+ 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changeRenewalSettings',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'subscriptionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'changeSeats' => array(
+ 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changeSeats',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'subscriptionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'subscriptionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'deletionType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'subscriptionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'customers/{customerId}/subscriptions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'customerAuthToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'subscriptions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'customerAuthToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'customerId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'customerNamePrefix' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'startPaidService' => array(
+ 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/startPaidService',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'subscriptionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'suspend' => array(
+ 'path' => 'customers/{customerId}/subscriptions/{subscriptionId}/suspend',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'customerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'subscriptionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "customers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $resellerService = new Postman_Google_Service_Reseller(...);
+ * $customers = $resellerService->customers;
+ * </code>
+ */
+class Postman_Google_Service_Reseller_Customers_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets a customer resource if one exists and is owned by the reseller.
+ * (customers.get)
+ *
+ * @param string $customerId Id of the Customer
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Reseller_Customer
+ */
+ public function get($customerId, $optParams = array())
+ {
+ $params = array('customerId' => $customerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Reseller_Customer");
+ }
+
+ /**
+ * Creates a customer resource if one does not already exist. (customers.insert)
+ *
+ * @param Postman_Google_Customer $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string customerAuthToken An auth token needed for inserting a
+ * customer for which domain already exists. Can be generated at
+ * https://www.google.com/a/cpanel//TransferToken. Optional.
+ * @return Postman_Google_Service_Reseller_Customer
+ */
+ public function insert(Postman_Google_Service_Reseller_Customer $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Reseller_Customer");
+ }
+
+ /**
+ * Update a customer resource if one it exists and is owned by the reseller.
+ * This method supports patch semantics. (customers.patch)
+ *
+ * @param string $customerId Id of the Customer
+ * @param Postman_Google_Customer $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Reseller_Customer
+ */
+ public function patch($customerId, Postman_Google_Service_Reseller_Customer $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Reseller_Customer");
+ }
+
+ /**
+ * Update a customer resource if one it exists and is owned by the reseller.
+ * (customers.update)
+ *
+ * @param string $customerId Id of the Customer
+ * @param Postman_Google_Customer $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Reseller_Customer
+ */
+ public function update($customerId, Postman_Google_Service_Reseller_Customer $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Reseller_Customer");
+ }
+}
+
+/**
+ * The "subscriptions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $resellerService = new Postman_Google_Service_Reseller(...);
+ * $subscriptions = $resellerService->subscriptions;
+ * </code>
+ */
+class Postman_Google_Service_Reseller_Subscriptions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Activates a subscription previously suspended by the reseller
+ * (subscriptions.activate)
+ *
+ * @param string $customerId Id of the Customer
+ * @param string $subscriptionId Id of the subscription, which is unique for a
+ * customer
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Reseller_Subscription
+ */
+ public function activate($customerId, $subscriptionId, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('activate', array($params), "Postman_Google_Service_Reseller_Subscription");
+ }
+
+ /**
+ * Changes the plan of a subscription (subscriptions.changePlan)
+ *
+ * @param string $customerId Id of the Customer
+ * @param string $subscriptionId Id of the subscription, which is unique for a
+ * customer
+ * @param Postman_Google_ChangePlanRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Reseller_Subscription
+ */
+ public function changePlan($customerId, $subscriptionId, Postman_Google_Service_Reseller_ChangePlanRequest $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('changePlan', array($params), "Postman_Google_Service_Reseller_Subscription");
+ }
+
+ /**
+ * Changes the renewal settings of a subscription
+ * (subscriptions.changeRenewalSettings)
+ *
+ * @param string $customerId Id of the Customer
+ * @param string $subscriptionId Id of the subscription, which is unique for a
+ * customer
+ * @param Postman_Google_RenewalSettings $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Reseller_Subscription
+ */
+ public function changeRenewalSettings($customerId, $subscriptionId, Postman_Google_Service_Reseller_RenewalSettings $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('changeRenewalSettings', array($params), "Postman_Google_Service_Reseller_Subscription");
+ }
+
+ /**
+ * Changes the seats configuration of a subscription (subscriptions.changeSeats)
+ *
+ * @param string $customerId Id of the Customer
+ * @param string $subscriptionId Id of the subscription, which is unique for a
+ * customer
+ * @param Postman_Google_Seats $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Reseller_Subscription
+ */
+ public function changeSeats($customerId, $subscriptionId, Postman_Google_Service_Reseller_Seats $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('changeSeats', array($params), "Postman_Google_Service_Reseller_Subscription");
+ }
+
+ /**
+ * Cancels/Downgrades a subscription. (subscriptions.delete)
+ *
+ * @param string $customerId Id of the Customer
+ * @param string $subscriptionId Id of the subscription, which is unique for a
+ * customer
+ * @param string $deletionType Whether the subscription is to be fully cancelled
+ * or downgraded
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($customerId, $subscriptionId, $deletionType, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId, 'deletionType' => $deletionType);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a subscription of the customer. (subscriptions.get)
+ *
+ * @param string $customerId Id of the Customer
+ * @param string $subscriptionId Id of the subscription, which is unique for a
+ * customer
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Reseller_Subscription
+ */
+ public function get($customerId, $subscriptionId, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Reseller_Subscription");
+ }
+
+ /**
+ * Creates/Transfers a subscription for the customer. (subscriptions.insert)
+ *
+ * @param string $customerId Id of the Customer
+ * @param Postman_Google_Subscription $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string customerAuthToken An auth token needed for transferring a
+ * subscription. Can be generated at https://www.google.com/a/cpanel/customer-
+ * domain/TransferToken. Optional.
+ * @return Postman_Google_Service_Reseller_Subscription
+ */
+ public function insert($customerId, Postman_Google_Service_Reseller_Subscription $postBody, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Reseller_Subscription");
+ }
+
+ /**
+ * Lists subscriptions of a reseller, optionally filtered by a customer name
+ * prefix. (subscriptions.listSubscriptions)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string customerAuthToken An auth token needed if the customer is
+ * not a resold customer of this reseller. Can be generated at
+ * https://www.google.com/a/cpanel/customer-domain/TransferToken.Optional.
+ * @opt_param string pageToken Token to specify next page in the list
+ * @opt_param string customerId Id of the Customer
+ * @opt_param string maxResults Maximum number of results to return
+ * @opt_param string customerNamePrefix Prefix of the customer's domain name by
+ * which the subscriptions should be filtered. Optional
+ * @return Postman_Google_Service_Reseller_Subscriptions
+ */
+ public function listSubscriptions($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Reseller_Subscriptions");
+ }
+
+ /**
+ * Starts paid service of a trial subscription (subscriptions.startPaidService)
+ *
+ * @param string $customerId Id of the Customer
+ * @param string $subscriptionId Id of the subscription, which is unique for a
+ * customer
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Reseller_Subscription
+ */
+ public function startPaidService($customerId, $subscriptionId, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('startPaidService', array($params), "Postman_Google_Service_Reseller_Subscription");
+ }
+
+ /**
+ * Suspends an active subscription (subscriptions.suspend)
+ *
+ * @param string $customerId Id of the Customer
+ * @param string $subscriptionId Id of the subscription, which is unique for a
+ * customer
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Reseller_Subscription
+ */
+ public function suspend($customerId, $subscriptionId, $optParams = array())
+ {
+ $params = array('customerId' => $customerId, 'subscriptionId' => $subscriptionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('suspend', array($params), "Postman_Google_Service_Reseller_Subscription");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Reseller_Address extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $addressLine1;
+ public $addressLine2;
+ public $addressLine3;
+ public $contactName;
+ public $countryCode;
+ public $kind;
+ public $locality;
+ public $organizationName;
+ public $postalCode;
+ public $region;
+
+
+ public function setAddressLine1($addressLine1)
+ {
+ $this->addressLine1 = $addressLine1;
+ }
+ public function getAddressLine1()
+ {
+ return $this->addressLine1;
+ }
+ public function setAddressLine2($addressLine2)
+ {
+ $this->addressLine2 = $addressLine2;
+ }
+ public function getAddressLine2()
+ {
+ return $this->addressLine2;
+ }
+ public function setAddressLine3($addressLine3)
+ {
+ $this->addressLine3 = $addressLine3;
+ }
+ public function getAddressLine3()
+ {
+ return $this->addressLine3;
+ }
+ public function setContactName($contactName)
+ {
+ $this->contactName = $contactName;
+ }
+ public function getContactName()
+ {
+ return $this->contactName;
+ }
+ public function setCountryCode($countryCode)
+ {
+ $this->countryCode = $countryCode;
+ }
+ public function getCountryCode()
+ {
+ return $this->countryCode;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLocality($locality)
+ {
+ $this->locality = $locality;
+ }
+ public function getLocality()
+ {
+ return $this->locality;
+ }
+ public function setOrganizationName($organizationName)
+ {
+ $this->organizationName = $organizationName;
+ }
+ public function getOrganizationName()
+ {
+ return $this->organizationName;
+ }
+ public function setPostalCode($postalCode)
+ {
+ $this->postalCode = $postalCode;
+ }
+ public function getPostalCode()
+ {
+ return $this->postalCode;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+}
+
+class Postman_Google_Service_Reseller_ChangePlanRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $planName;
+ public $purchaseOrderId;
+ protected $seatsType = 'Postman_Google_Service_Reseller_Seats';
+ protected $seatsDataType = '';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPlanName($planName)
+ {
+ $this->planName = $planName;
+ }
+ public function getPlanName()
+ {
+ return $this->planName;
+ }
+ public function setPurchaseOrderId($purchaseOrderId)
+ {
+ $this->purchaseOrderId = $purchaseOrderId;
+ }
+ public function getPurchaseOrderId()
+ {
+ return $this->purchaseOrderId;
+ }
+ public function setSeats(Postman_Google_Service_Reseller_Seats $seats)
+ {
+ $this->seats = $seats;
+ }
+ public function getSeats()
+ {
+ return $this->seats;
+ }
+}
+
+class Postman_Google_Service_Reseller_Customer extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $alternateEmail;
+ public $customerDomain;
+ public $customerId;
+ public $kind;
+ public $phoneNumber;
+ protected $postalAddressType = 'Postman_Google_Service_Reseller_Address';
+ protected $postalAddressDataType = '';
+ public $resourceUiUrl;
+
+
+ public function setAlternateEmail($alternateEmail)
+ {
+ $this->alternateEmail = $alternateEmail;
+ }
+ public function getAlternateEmail()
+ {
+ return $this->alternateEmail;
+ }
+ public function setCustomerDomain($customerDomain)
+ {
+ $this->customerDomain = $customerDomain;
+ }
+ public function getCustomerDomain()
+ {
+ return $this->customerDomain;
+ }
+ public function setCustomerId($customerId)
+ {
+ $this->customerId = $customerId;
+ }
+ public function getCustomerId()
+ {
+ return $this->customerId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPhoneNumber($phoneNumber)
+ {
+ $this->phoneNumber = $phoneNumber;
+ }
+ public function getPhoneNumber()
+ {
+ return $this->phoneNumber;
+ }
+ public function setPostalAddress(Postman_Google_Service_Reseller_Address $postalAddress)
+ {
+ $this->postalAddress = $postalAddress;
+ }
+ public function getPostalAddress()
+ {
+ return $this->postalAddress;
+ }
+ public function setResourceUiUrl($resourceUiUrl)
+ {
+ $this->resourceUiUrl = $resourceUiUrl;
+ }
+ public function getResourceUiUrl()
+ {
+ return $this->resourceUiUrl;
+ }
+}
+
+class Postman_Google_Service_Reseller_RenewalSettings extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $renewalType;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRenewalType($renewalType)
+ {
+ $this->renewalType = $renewalType;
+ }
+ public function getRenewalType()
+ {
+ return $this->renewalType;
+ }
+}
+
+class Postman_Google_Service_Reseller_Seats extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $licensedNumberOfSeats;
+ public $maximumNumberOfSeats;
+ public $numberOfSeats;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLicensedNumberOfSeats($licensedNumberOfSeats)
+ {
+ $this->licensedNumberOfSeats = $licensedNumberOfSeats;
+ }
+ public function getLicensedNumberOfSeats()
+ {
+ return $this->licensedNumberOfSeats;
+ }
+ public function setMaximumNumberOfSeats($maximumNumberOfSeats)
+ {
+ $this->maximumNumberOfSeats = $maximumNumberOfSeats;
+ }
+ public function getMaximumNumberOfSeats()
+ {
+ return $this->maximumNumberOfSeats;
+ }
+ public function setNumberOfSeats($numberOfSeats)
+ {
+ $this->numberOfSeats = $numberOfSeats;
+ }
+ public function getNumberOfSeats()
+ {
+ return $this->numberOfSeats;
+ }
+}
+
+class Postman_Google_Service_Reseller_Subscription extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTime;
+ public $customerId;
+ public $kind;
+ protected $planType = 'Postman_Google_Service_Reseller_SubscriptionPlan';
+ protected $planDataType = '';
+ public $purchaseOrderId;
+ protected $renewalSettingsType = 'Postman_Google_Service_Reseller_RenewalSettings';
+ protected $renewalSettingsDataType = '';
+ public $resourceUiUrl;
+ protected $seatsType = 'Postman_Google_Service_Reseller_Seats';
+ protected $seatsDataType = '';
+ public $skuId;
+ public $status;
+ public $subscriptionId;
+ protected $transferInfoType = 'Postman_Google_Service_Reseller_SubscriptionTransferInfo';
+ protected $transferInfoDataType = '';
+ protected $trialSettingsType = 'Postman_Google_Service_Reseller_SubscriptionTrialSettings';
+ protected $trialSettingsDataType = '';
+
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setCustomerId($customerId)
+ {
+ $this->customerId = $customerId;
+ }
+ public function getCustomerId()
+ {
+ return $this->customerId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPlan(Postman_Google_Service_Reseller_SubscriptionPlan $plan)
+ {
+ $this->plan = $plan;
+ }
+ public function getPlan()
+ {
+ return $this->plan;
+ }
+ public function setPurchaseOrderId($purchaseOrderId)
+ {
+ $this->purchaseOrderId = $purchaseOrderId;
+ }
+ public function getPurchaseOrderId()
+ {
+ return $this->purchaseOrderId;
+ }
+ public function setRenewalSettings(Postman_Google_Service_Reseller_RenewalSettings $renewalSettings)
+ {
+ $this->renewalSettings = $renewalSettings;
+ }
+ public function getRenewalSettings()
+ {
+ return $this->renewalSettings;
+ }
+ public function setResourceUiUrl($resourceUiUrl)
+ {
+ $this->resourceUiUrl = $resourceUiUrl;
+ }
+ public function getResourceUiUrl()
+ {
+ return $this->resourceUiUrl;
+ }
+ public function setSeats(Postman_Google_Service_Reseller_Seats $seats)
+ {
+ $this->seats = $seats;
+ }
+ public function getSeats()
+ {
+ return $this->seats;
+ }
+ public function setSkuId($skuId)
+ {
+ $this->skuId = $skuId;
+ }
+ public function getSkuId()
+ {
+ return $this->skuId;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setSubscriptionId($subscriptionId)
+ {
+ $this->subscriptionId = $subscriptionId;
+ }
+ public function getSubscriptionId()
+ {
+ return $this->subscriptionId;
+ }
+ public function setTransferInfo(Postman_Google_Service_Reseller_SubscriptionTransferInfo $transferInfo)
+ {
+ $this->transferInfo = $transferInfo;
+ }
+ public function getTransferInfo()
+ {
+ return $this->transferInfo;
+ }
+ public function setTrialSettings(Postman_Google_Service_Reseller_SubscriptionTrialSettings $trialSettings)
+ {
+ $this->trialSettings = $trialSettings;
+ }
+ public function getTrialSettings()
+ {
+ return $this->trialSettings;
+ }
+}
+
+class Postman_Google_Service_Reseller_SubscriptionPlan extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $commitmentIntervalType = 'Postman_Google_Service_Reseller_SubscriptionPlanCommitmentInterval';
+ protected $commitmentIntervalDataType = '';
+ public $isCommitmentPlan;
+ public $planName;
+
+
+ public function setCommitmentInterval(Postman_Google_Service_Reseller_SubscriptionPlanCommitmentInterval $commitmentInterval)
+ {
+ $this->commitmentInterval = $commitmentInterval;
+ }
+ public function getCommitmentInterval()
+ {
+ return $this->commitmentInterval;
+ }
+ public function setIsCommitmentPlan($isCommitmentPlan)
+ {
+ $this->isCommitmentPlan = $isCommitmentPlan;
+ }
+ public function getIsCommitmentPlan()
+ {
+ return $this->isCommitmentPlan;
+ }
+ public function setPlanName($planName)
+ {
+ $this->planName = $planName;
+ }
+ public function getPlanName()
+ {
+ return $this->planName;
+ }
+}
+
+class Postman_Google_Service_Reseller_SubscriptionPlanCommitmentInterval extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $endTime;
+ public $startTime;
+
+
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+}
+
+class Postman_Google_Service_Reseller_SubscriptionTransferInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $minimumTransferableSeats;
+ public $transferabilityExpirationTime;
+
+
+ public function setMinimumTransferableSeats($minimumTransferableSeats)
+ {
+ $this->minimumTransferableSeats = $minimumTransferableSeats;
+ }
+ public function getMinimumTransferableSeats()
+ {
+ return $this->minimumTransferableSeats;
+ }
+ public function setTransferabilityExpirationTime($transferabilityExpirationTime)
+ {
+ $this->transferabilityExpirationTime = $transferabilityExpirationTime;
+ }
+ public function getTransferabilityExpirationTime()
+ {
+ return $this->transferabilityExpirationTime;
+ }
+}
+
+class Postman_Google_Service_Reseller_SubscriptionTrialSettings extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $isInTrial;
+ public $trialEndTime;
+
+
+ public function setIsInTrial($isInTrial)
+ {
+ $this->isInTrial = $isInTrial;
+ }
+ public function getIsInTrial()
+ {
+ return $this->isInTrial;
+ }
+ public function setTrialEndTime($trialEndTime)
+ {
+ $this->trialEndTime = $trialEndTime;
+ }
+ public function getTrialEndTime()
+ {
+ return $this->trialEndTime;
+ }
+}
+
+class Postman_Google_Service_Reseller_Subscriptions extends Postman_Google_Collection
+{
+ protected $collection_key = 'subscriptions';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $nextPageToken;
+ protected $subscriptionsType = 'Postman_Google_Service_Reseller_Subscription';
+ protected $subscriptionsDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSubscriptions($subscriptions)
+ {
+ $this->subscriptions = $subscriptions;
+ }
+ public function getSubscriptions()
+ {
+ return $this->subscriptions;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Resource.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Resource.php
new file mode 100644
index 0000000..e71a1ab
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Resource.php
@@ -0,0 +1,242 @@
+<?php
+/**
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+/**
+ * Implements the actual methods/resources of the discovered Google API using magic function
+ * calling overloading (__call()), which on call will see if the method name (plus.activities.list)
+ * is available in this service, and if so construct an apiHttpRequest representing it.
+ *
+ * @author Chris Chabot <chabotc@google.com>
+ * @author Chirag Shah <chirags@google.com>
+ *
+ */
+class Postman_Google_Service_Resource
+{
+ // Valid query parameters that work, but don't appear in discovery.
+ private $stackParameters = array(
+ 'alt' => array('type' => 'string', 'location' => 'query'),
+ 'fields' => array('type' => 'string', 'location' => 'query'),
+ 'trace' => array('type' => 'string', 'location' => 'query'),
+ 'userIp' => array('type' => 'string', 'location' => 'query'),
+ 'userip' => array('type' => 'string', 'location' => 'query'),
+ 'quotaUser' => array('type' => 'string', 'location' => 'query'),
+ 'data' => array('type' => 'string', 'location' => 'body'),
+ 'mimeType' => array('type' => 'string', 'location' => 'header'),
+ 'uploadType' => array('type' => 'string', 'location' => 'query'),
+ 'mediaUpload' => array('type' => 'complex', 'location' => 'query'),
+ );
+
+ /** @var Postman_Google_Service $service */
+ private $service;
+
+ /** @var Postman_Google_Client $client */
+ private $client;
+
+ /** @var string $serviceName */
+ private $serviceName;
+
+ /** @var string $resourceName */
+ private $resourceName;
+
+ /** @var array $methods */
+ private $methods;
+
+ public function __construct($service, $serviceName, $resourceName, $resource)
+ {
+ $this->service = $service;
+ $this->client = $service->getClient();
+ $this->serviceName = $serviceName;
+ $this->resourceName = $resourceName;
+ $this->methods = isset($resource['methods']) ?
+ $resource['methods'] :
+ array($resourceName => $resource);
+ }
+
+ /**
+ * TODO(ianbarber): This function needs simplifying.
+ * @param $name
+ * @param $arguments
+ * @param $expected_class - optional, the expected class name
+ * @return Postman_Google_Http_Request|expected_class
+ * @throws Postman_Google_Exception
+ */
+ public function call($name, $arguments, $expected_class = null)
+ {
+ if (! isset($this->methods[$name])) {
+ $this->client->getLogger()->error(
+ 'Service method unknown',
+ array(
+ 'service' => $this->serviceName,
+ 'resource' => $this->resourceName,
+ 'method' => $name
+ )
+ );
+
+ throw new Postman_Google_Exception(
+ "Unknown function: " .
+ "{$this->serviceName}->{$this->resourceName}->{$name}()"
+ );
+ }
+ $method = $this->methods[$name];
+ $parameters = $arguments[0];
+
+ // postBody is a special case since it's not defined in the discovery
+ // document as parameter, but we abuse the param entry for storing it.
+ $postBody = null;
+ if (isset($parameters['postBody'])) {
+ if ($parameters['postBody'] instanceof Postman_Google_Model) {
+ // In the cases the post body is an existing object, we want
+ // to use the smart method to create a simple object for
+ // for JSONification.
+ $parameters['postBody'] = $parameters['postBody']->toSimpleObject();
+ } else if (is_object($parameters['postBody'])) {
+ // If the post body is another kind of object, we will try and
+ // wrangle it into a sensible format.
+ $parameters['postBody'] =
+ $this->convertToArrayAndStripNulls($parameters['postBody']);
+ }
+ $postBody = json_encode($parameters['postBody']);
+ unset($parameters['postBody']);
+ }
+
+ // TODO(ianbarber): optParams here probably should have been
+ // handled already - this may well be redundant code.
+ if (isset($parameters['optParams'])) {
+ $optParams = $parameters['optParams'];
+ unset($parameters['optParams']);
+ $parameters = array_merge($parameters, $optParams);
+ }
+
+ if (!isset($method['parameters'])) {
+ $method['parameters'] = array();
+ }
+
+ $method['parameters'] = array_merge(
+ $method['parameters'],
+ $this->stackParameters
+ );
+ foreach ($parameters as $key => $val) {
+ if ($key != 'postBody' && ! isset($method['parameters'][$key])) {
+ $this->client->getLogger()->error(
+ 'Service parameter unknown',
+ array(
+ 'service' => $this->serviceName,
+ 'resource' => $this->resourceName,
+ 'method' => $name,
+ 'parameter' => $key
+ )
+ );
+ throw new Postman_Google_Exception("($name) unknown parameter: '$key'");
+ }
+ }
+
+ foreach ($method['parameters'] as $paramName => $paramSpec) {
+ if (isset($paramSpec['required']) &&
+ $paramSpec['required'] &&
+ ! isset($parameters[$paramName])
+ ) {
+ $this->client->getLogger()->error(
+ 'Service parameter missing',
+ array(
+ 'service' => $this->serviceName,
+ 'resource' => $this->resourceName,
+ 'method' => $name,
+ 'parameter' => $paramName
+ )
+ );
+ throw new Postman_Google_Exception("($name) missing required param: '$paramName'");
+ }
+ if (isset($parameters[$paramName])) {
+ $value = $parameters[$paramName];
+ $parameters[$paramName] = $paramSpec;
+ $parameters[$paramName]['value'] = $value;
+ unset($parameters[$paramName]['required']);
+ } else {
+ // Ensure we don't pass nulls.
+ unset($parameters[$paramName]);
+ }
+ }
+
+ $servicePath = $this->service->servicePath;
+
+ $this->client->getLogger()->info(
+ 'Service Call',
+ array(
+ 'service' => $this->serviceName,
+ 'resource' => $this->resourceName,
+ 'method' => $name,
+ 'arguments' => $parameters,
+ )
+ );
+
+ $url = Postman_Google_Http_REST::createRequestUri(
+ $servicePath,
+ $method['path'],
+ $parameters
+ );
+ $httpRequest = new Postman_Google_Http_Request(
+ $url,
+ $method['httpMethod'],
+ null,
+ $postBody
+ );
+ $httpRequest->setBaseComponent($this->client->getBasePath());
+
+ if ($postBody) {
+ $contentTypeHeader = array();
+ $contentTypeHeader['content-type'] = 'application/json; charset=UTF-8';
+ $httpRequest->setRequestHeaders($contentTypeHeader);
+ $httpRequest->setPostBody($postBody);
+ }
+
+ $httpRequest = $this->client->getAuth()->sign($httpRequest);
+ $httpRequest->setExpectedClass($expected_class);
+
+ if (isset($parameters['data']) &&
+ ($parameters['uploadType']['value'] == 'media' || $parameters['uploadType']['value'] == 'multipart')) {
+ // If we are doing a simple media upload, trigger that as a convenience.
+ $mfu = new Postman_Google_Http_MediaFileUpload(
+ $this->client,
+ $httpRequest,
+ isset($parameters['mimeType']) ? $parameters['mimeType']['value'] : 'application/octet-stream',
+ $parameters['data']['value']
+ );
+ }
+
+ if ($this->client->shouldDefer()) {
+ // If we are in batch or upload mode, return the raw request.
+ return $httpRequest;
+ }
+
+ return $this->client->execute($httpRequest);
+ }
+
+ protected function convertToArrayAndStripNulls($o)
+ {
+ $o = (array) $o;
+ foreach ($o as $k => $v) {
+ if ($v === null) {
+ unset($o[$k]);
+ } elseif (is_object($v) || is_array($v)) {
+ $o[$k] = $this->convertToArrayAndStripNulls($o[$k]);
+ }
+ }
+ return $o;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Resourceviews.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Resourceviews.php
new file mode 100644
index 0000000..fe6732b
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Resourceviews.php
@@ -0,0 +1,1341 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Resourceviews (v1beta2).
+ *
+ * <p>
+ * The Resource View API allows users to create and manage logical sets of
+ * Google Compute Engine instances.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/compute/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Resourceviews extends Postman_Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** View and manage your Google Compute Engine resources. */
+ const COMPUTE =
+ "https://www.googleapis.com/auth/compute";
+ /** View your Google Compute Engine resources. */
+ const COMPUTE_READONLY =
+ "https://www.googleapis.com/auth/compute.readonly";
+ /** View and manage your Google Cloud Platform management resources and deployment status information. */
+ const NDEV_CLOUDMAN =
+ "https://www.googleapis.com/auth/ndev.cloudman";
+ /** View your Google Cloud Platform management resources and deployment status information. */
+ const NDEV_CLOUDMAN_READONLY =
+ "https://www.googleapis.com/auth/ndev.cloudman.readonly";
+
+ public $zoneOperations;
+ public $zoneViews;
+
+
+ /**
+ * Constructs the internal representation of the Resourceviews service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'resourceviews/v1beta2/projects/';
+ $this->version = 'v1beta2';
+ $this->serviceName = 'resourceviews';
+
+ $this->zoneOperations = new Postman_Google_Service_Resourceviews_ZoneOperations_Resource(
+ $this,
+ $this->serviceName,
+ 'zoneOperations',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{project}/zones/{zone}/operations/{operation}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'operation' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/zones/{zone}/operations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->zoneViews = new Postman_Google_Service_Resourceviews_ZoneViews_Resource(
+ $this,
+ $this->serviceName,
+ 'zoneViews',
+ array(
+ 'methods' => array(
+ 'addResources' => array(
+ 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/addResources',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resourceView' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resourceView' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resourceView' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getService' => array(
+ 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/getService',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resourceView' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resourceName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/zones/{zone}/resourceViews',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/zones/{zone}/resourceViews',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'listResources' => array(
+ 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/resources',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resourceView' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'listState' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'format' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'serviceName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'removeResources' => array(
+ 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/removeResources',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resourceView' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setService' => array(
+ 'path' => '{project}/zones/{zone}/resourceViews/{resourceView}/setService',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'resourceView' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "zoneOperations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $resourceviewsService = new Postman_Google_Service_Resourceviews(...);
+ * $zoneOperations = $resourceviewsService->zoneOperations;
+ * </code>
+ */
+class Postman_Google_Service_Resourceviews_ZoneOperations_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves the specified zone-specific operation resource.
+ * (zoneOperations.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $operation Name of the operation resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Resourceviews_Operation
+ */
+ public function get($project, $zone, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Resourceviews_Operation");
+ }
+
+ /**
+ * Retrieves the list of operation resources contained within the specified
+ * zone. (zoneOperations.listZoneOperations)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Postman_Google_Service_Resourceviews_OperationList
+ */
+ public function listZoneOperations($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Resourceviews_OperationList");
+ }
+}
+
+/**
+ * The "zoneViews" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $resourceviewsService = new Postman_Google_Service_Resourceviews(...);
+ * $zoneViews = $resourceviewsService->zoneViews;
+ * </code>
+ */
+class Postman_Google_Service_Resourceviews_ZoneViews_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Add resources to the view. (zoneViews.addResources)
+ *
+ * @param string $project The project name of the resource view.
+ * @param string $zone The zone name of the resource view.
+ * @param string $resourceView The name of the resource view.
+ * @param Postman_Google_ZoneViewsAddResourcesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Resourceviews_Operation
+ */
+ public function addResources($project, $zone, $resourceView, Postman_Google_Service_Resourceviews_ZoneViewsAddResourcesRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('addResources', array($params), "Postman_Google_Service_Resourceviews_Operation");
+ }
+
+ /**
+ * Delete a resource view. (zoneViews.delete)
+ *
+ * @param string $project The project name of the resource view.
+ * @param string $zone The zone name of the resource view.
+ * @param string $resourceView The name of the resource view.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Resourceviews_Operation
+ */
+ public function delete($project, $zone, $resourceView, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_Resourceviews_Operation");
+ }
+
+ /**
+ * Get the information of a zonal resource view. (zoneViews.get)
+ *
+ * @param string $project The project name of the resource view.
+ * @param string $zone The zone name of the resource view.
+ * @param string $resourceView The name of the resource view.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Resourceviews_ResourceView
+ */
+ public function get($project, $zone, $resourceView, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Resourceviews_ResourceView");
+ }
+
+ /**
+ * Get the service information of a resource view or a resource.
+ * (zoneViews.getService)
+ *
+ * @param string $project The project name of the resource view.
+ * @param string $zone The zone name of the resource view.
+ * @param string $resourceView The name of the resource view.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string resourceName The name of the resource if user wants to get
+ * the service information of the resource.
+ * @return Postman_Google_Service_Resourceviews_ZoneViewsGetServiceResponse
+ */
+ public function getService($project, $zone, $resourceView, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView);
+ $params = array_merge($params, $optParams);
+ return $this->call('getService', array($params), "Postman_Google_Service_Resourceviews_ZoneViewsGetServiceResponse");
+ }
+
+ /**
+ * Create a resource view. (zoneViews.insert)
+ *
+ * @param string $project The project name of the resource view.
+ * @param string $zone The zone name of the resource view.
+ * @param Postman_Google_ResourceView $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Resourceviews_Operation
+ */
+ public function insert($project, $zone, Postman_Google_Service_Resourceviews_ResourceView $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Resourceviews_Operation");
+ }
+
+ /**
+ * List resource views. (zoneViews.listZoneViews)
+ *
+ * @param string $project The project name of the resource view.
+ * @param string $zone The zone name of the resource view.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Specifies a nextPageToken returned by a previous
+ * list request. This token can be used to request the next page of results from
+ * a previous list request.
+ * @opt_param int maxResults Maximum count of results to be returned. Acceptable
+ * values are 0 to 5000, inclusive. (Default: 5000)
+ * @return Postman_Google_Service_Resourceviews_ZoneViewsList
+ */
+ public function listZoneViews($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Resourceviews_ZoneViewsList");
+ }
+
+ /**
+ * List the resources of the resource view. (zoneViews.listResources)
+ *
+ * @param string $project The project name of the resource view.
+ * @param string $zone The zone name of the resource view.
+ * @param string $resourceView The name of the resource view.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string listState The state of the instance to list. By default, it
+ * lists all instances.
+ * @opt_param string format The requested format of the return value. It can be
+ * URL or URL_PORT. A JSON object will be included in the response based on the
+ * format. The default format is NONE, which results in no JSON in the response.
+ * @opt_param int maxResults Maximum count of results to be returned. Acceptable
+ * values are 0 to 5000, inclusive. (Default: 5000)
+ * @opt_param string pageToken Specifies a nextPageToken returned by a previous
+ * list request. This token can be used to request the next page of results from
+ * a previous list request.
+ * @opt_param string serviceName The service name to return in the response. It
+ * is optional and if it is not set, all the service end points will be
+ * returned.
+ * @return Postman_Google_Service_Resourceviews_ZoneViewsListResourcesResponse
+ */
+ public function listResources($project, $zone, $resourceView, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView);
+ $params = array_merge($params, $optParams);
+ return $this->call('listResources', array($params), "Postman_Google_Service_Resourceviews_ZoneViewsListResourcesResponse");
+ }
+
+ /**
+ * Remove resources from the view. (zoneViews.removeResources)
+ *
+ * @param string $project The project name of the resource view.
+ * @param string $zone The zone name of the resource view.
+ * @param string $resourceView The name of the resource view.
+ * @param Postman_Google_ZoneViewsRemoveResourcesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Resourceviews_Operation
+ */
+ public function removeResources($project, $zone, $resourceView, Postman_Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('removeResources', array($params), "Postman_Google_Service_Resourceviews_Operation");
+ }
+
+ /**
+ * Update the service information of a resource view or a resource.
+ * (zoneViews.setService)
+ *
+ * @param string $project The project name of the resource view.
+ * @param string $zone The zone name of the resource view.
+ * @param string $resourceView The name of the resource view.
+ * @param Postman_Google_ZoneViewsSetServiceRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Resourceviews_Operation
+ */
+ public function setService($project, $zone, $resourceView, Postman_Google_Service_Resourceviews_ZoneViewsSetServiceRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'resourceView' => $resourceView, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setService', array($params), "Postman_Google_Service_Resourceviews_Operation");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Resourceviews_Label extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Resourceviews_ListResourceResponseItem extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $endpoints;
+ public $resource;
+
+
+ public function setEndpoints($endpoints)
+ {
+ $this->endpoints = $endpoints;
+ }
+ public function getEndpoints()
+ {
+ return $this->endpoints;
+ }
+ public function setResource($resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Postman_Google_Service_Resourceviews_ListResourceResponseItemEndpoints extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Resourceviews_Operation extends Postman_Google_Collection
+{
+ protected $collection_key = 'warnings';
+ protected $internal_gapi_mappings = array(
+ );
+ public $clientOperationId;
+ public $creationTimestamp;
+ public $endTime;
+ protected $errorType = 'Postman_Google_Service_Resourceviews_OperationError';
+ protected $errorDataType = '';
+ public $httpErrorMessage;
+ public $httpErrorStatusCode;
+ public $id;
+ public $insertTime;
+ public $kind;
+ public $name;
+ public $operationType;
+ public $progress;
+ public $region;
+ public $selfLink;
+ public $startTime;
+ public $status;
+ public $statusMessage;
+ public $targetId;
+ public $targetLink;
+ public $user;
+ protected $warningsType = 'Postman_Google_Service_Resourceviews_OperationWarnings';
+ protected $warningsDataType = 'array';
+ public $zone;
+
+
+ public function setClientOperationId($clientOperationId)
+ {
+ $this->clientOperationId = $clientOperationId;
+ }
+ public function getClientOperationId()
+ {
+ return $this->clientOperationId;
+ }
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setError(Postman_Google_Service_Resourceviews_OperationError $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setHttpErrorMessage($httpErrorMessage)
+ {
+ $this->httpErrorMessage = $httpErrorMessage;
+ }
+ public function getHttpErrorMessage()
+ {
+ return $this->httpErrorMessage;
+ }
+ public function setHttpErrorStatusCode($httpErrorStatusCode)
+ {
+ $this->httpErrorStatusCode = $httpErrorStatusCode;
+ }
+ public function getHttpErrorStatusCode()
+ {
+ return $this->httpErrorStatusCode;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInsertTime($insertTime)
+ {
+ $this->insertTime = $insertTime;
+ }
+ public function getInsertTime()
+ {
+ return $this->insertTime;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOperationType($operationType)
+ {
+ $this->operationType = $operationType;
+ }
+ public function getOperationType()
+ {
+ return $this->operationType;
+ }
+ public function setProgress($progress)
+ {
+ $this->progress = $progress;
+ }
+ public function getProgress()
+ {
+ return $this->progress;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setStatusMessage($statusMessage)
+ {
+ $this->statusMessage = $statusMessage;
+ }
+ public function getStatusMessage()
+ {
+ return $this->statusMessage;
+ }
+ public function setTargetId($targetId)
+ {
+ $this->targetId = $targetId;
+ }
+ public function getTargetId()
+ {
+ return $this->targetId;
+ }
+ public function setTargetLink($targetLink)
+ {
+ $this->targetLink = $targetLink;
+ }
+ public function getTargetLink()
+ {
+ return $this->targetLink;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Postman_Google_Service_Resourceviews_OperationError extends Postman_Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $errorsType = 'Postman_Google_Service_Resourceviews_OperationErrorErrors';
+ protected $errorsDataType = 'array';
+
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Postman_Google_Service_Resourceviews_OperationErrorErrors extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $location;
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Postman_Google_Service_Resourceviews_OperationList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Postman_Google_Service_Resourceviews_Operation';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Resourceviews_OperationWarnings extends Postman_Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $dataType = 'Postman_Google_Service_Resourceviews_OperationWarningsData';
+ protected $dataDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Postman_Google_Service_Resourceviews_OperationWarningsData extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_Resourceviews_ResourceView extends Postman_Google_Collection
+{
+ protected $collection_key = 'resources';
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ public $description;
+ protected $endpointsType = 'Postman_Google_Service_Resourceviews_ServiceEndpoint';
+ protected $endpointsDataType = 'array';
+ public $fingerprint;
+ public $id;
+ public $kind;
+ protected $labelsType = 'Postman_Google_Service_Resourceviews_Label';
+ protected $labelsDataType = 'array';
+ public $name;
+ public $network;
+ public $resources;
+ public $selfLink;
+ public $size;
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEndpoints($endpoints)
+ {
+ $this->endpoints = $endpoints;
+ }
+ public function getEndpoints()
+ {
+ return $this->endpoints;
+ }
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNetwork($network)
+ {
+ $this->network = $network;
+ }
+ public function getNetwork()
+ {
+ return $this->network;
+ }
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+ public function getResources()
+ {
+ return $this->resources;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+}
+
+class Postman_Google_Service_Resourceviews_ServiceEndpoint extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+ public $port;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPort($port)
+ {
+ $this->port = $port;
+ }
+ public function getPort()
+ {
+ return $this->port;
+ }
+}
+
+class Postman_Google_Service_Resourceviews_ZoneViewsAddResourcesRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'resources';
+ protected $internal_gapi_mappings = array(
+ );
+ public $resources;
+
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Postman_Google_Service_Resourceviews_ZoneViewsGetServiceResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'endpoints';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $endpointsType = 'Postman_Google_Service_Resourceviews_ServiceEndpoint';
+ protected $endpointsDataType = 'array';
+ public $fingerprint;
+
+
+ public function setEndpoints($endpoints)
+ {
+ $this->endpoints = $endpoints;
+ }
+ public function getEndpoints()
+ {
+ return $this->endpoints;
+ }
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+}
+
+class Postman_Google_Service_Resourceviews_ZoneViewsList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Resourceviews_ResourceView';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Resourceviews_ZoneViewsListResourcesResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Resourceviews_ListResourceResponseItem';
+ protected $itemsDataType = 'array';
+ public $network;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setNetwork($network)
+ {
+ $this->network = $network;
+ }
+ public function getNetwork()
+ {
+ return $this->network;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'resources';
+ protected $internal_gapi_mappings = array(
+ );
+ public $resources;
+
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Postman_Google_Service_Resourceviews_ZoneViewsSetServiceRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'endpoints';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $endpointsType = 'Postman_Google_Service_Resourceviews_ServiceEndpoint';
+ protected $endpointsDataType = 'array';
+ public $fingerprint;
+ public $resourceName;
+
+
+ public function setEndpoints($endpoints)
+ {
+ $this->endpoints = $endpoints;
+ }
+ public function getEndpoints()
+ {
+ return $this->endpoints;
+ }
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setResourceName($resourceName)
+ {
+ $this->resourceName = $resourceName;
+ }
+ public function getResourceName()
+ {
+ return $this->resourceName;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/SQLAdmin.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/SQLAdmin.php
new file mode 100644
index 0000000..a2af7d7
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/SQLAdmin.php
@@ -0,0 +1,2778 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for SQLAdmin (v1beta3).
+ *
+ * <p>
+ * API for Cloud SQL database instance management.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/cloud-sql/docs/admin-api/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_SQLAdmin extends Postman_Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** Manage your Google SQL Service instances. */
+ const SQLSERVICE_ADMIN =
+ "https://www.googleapis.com/auth/sqlservice.admin";
+
+ public $backupRuns;
+ public $flags;
+ public $instances;
+ public $operations;
+ public $sslCerts;
+ public $tiers;
+
+
+ /**
+ * Constructs the internal representation of the SQLAdmin service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'sql/v1beta3/';
+ $this->version = 'v1beta3';
+ $this->serviceName = 'sqladmin';
+
+ $this->backupRuns = new Postman_Google_Service_SQLAdmin_BackupRuns_Resource(
+ $this,
+ $this->serviceName,
+ 'backupRuns',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'projects/{project}/instances/{instance}/backupRuns/{backupConfiguration}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'backupConfiguration' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dueTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'projects/{project}/instances/{instance}/backupRuns',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'backupConfiguration' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->flags = new Postman_Google_Service_SQLAdmin_Flags_Resource(
+ $this,
+ $this->serviceName,
+ 'flags',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'flags',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->instances = new Postman_Google_Service_SQLAdmin_Instances_Resource(
+ $this,
+ $this->serviceName,
+ 'instances',
+ array(
+ 'methods' => array(
+ 'clone' => array(
+ 'path' => 'projects/{project}/instances/clone',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'projects/{project}/instances/{instance}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'export' => array(
+ 'path' => 'projects/{project}/instances/{instance}/export',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'projects/{project}/instances/{instance}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'import' => array(
+ 'path' => 'projects/{project}/instances/{instance}/import',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'projects/{project}/instances',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'projects/{project}/instances',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'projects/{project}/instances/{instance}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'promoteReplica' => array(
+ 'path' => 'projects/{project}/instances/{instance}/promoteReplica',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'resetSslConfig' => array(
+ 'path' => 'projects/{project}/instances/{instance}/resetSslConfig',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'restart' => array(
+ 'path' => 'projects/{project}/instances/{instance}/restart',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'restoreBackup' => array(
+ 'path' => 'projects/{project}/instances/{instance}/restoreBackup',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'backupConfiguration' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dueTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'setRootPassword' => array(
+ 'path' => 'projects/{project}/instances/{instance}/setRootPassword',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'projects/{project}/instances/{instance}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->operations = new Postman_Google_Service_SQLAdmin_Operations_Resource(
+ $this,
+ $this->serviceName,
+ 'operations',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'projects/{project}/instances/{instance}/operations/{operation}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'operation' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'projects/{project}/instances/{instance}/operations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->sslCerts = new Postman_Google_Service_SQLAdmin_SslCerts_Resource(
+ $this,
+ $this->serviceName,
+ 'sslCerts',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sha1Fingerprint' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sha1Fingerprint' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'projects/{project}/instances/{instance}/sslCerts',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'projects/{project}/instances/{instance}/sslCerts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->tiers = new Postman_Google_Service_SQLAdmin_Tiers_Resource(
+ $this,
+ $this->serviceName,
+ 'tiers',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'projects/{project}/tiers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "backupRuns" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $sqladminService = new Postman_Google_Service_SQLAdmin(...);
+ * $backupRuns = $sqladminService->backupRuns;
+ * </code>
+ */
+class Postman_Google_Service_SQLAdmin_BackupRuns_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves information about a specified backup run for a Cloud SQL instance.
+ * (backupRuns.get)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param string $backupConfiguration Identifier for the backup configuration.
+ * This gets generated automatically when a backup configuration is created.
+ * @param string $dueTime The start time of the four-hour backup window. The
+ * backup can occur any time in the window. The time is in RFC 3339 format, for
+ * example 2012-11-15T16:19:00.094Z.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SQLAdmin_BackupRun
+ */
+ public function get($project, $instance, $backupConfiguration, $dueTime, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'backupConfiguration' => $backupConfiguration, 'dueTime' => $dueTime);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_SQLAdmin_BackupRun");
+ }
+
+ /**
+ * Lists all backup runs associated with a Cloud SQL instance.
+ * (backupRuns.listBackupRuns)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param string $backupConfiguration Identifier for the backup configuration.
+ * This gets generated automatically when a backup configuration is created.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A previously-returned page token representing
+ * part of the larger set of results to view.
+ * @opt_param int maxResults Maximum number of backup runs per response.
+ * @return Postman_Google_Service_SQLAdmin_BackupRunsListResponse
+ */
+ public function listBackupRuns($project, $instance, $backupConfiguration, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'backupConfiguration' => $backupConfiguration);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_SQLAdmin_BackupRunsListResponse");
+ }
+}
+
+/**
+ * The "flags" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $sqladminService = new Postman_Google_Service_SQLAdmin(...);
+ * $flags = $sqladminService->flags;
+ * </code>
+ */
+class Postman_Google_Service_SQLAdmin_Flags_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Lists all database flags that can be set for Google Cloud SQL instances.
+ * (flags.listFlags)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SQLAdmin_FlagsListResponse
+ */
+ public function listFlags($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_SQLAdmin_FlagsListResponse");
+ }
+}
+
+/**
+ * The "instances" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $sqladminService = new Postman_Google_Service_SQLAdmin(...);
+ * $instances = $sqladminService->instances;
+ * </code>
+ */
+class Postman_Google_Service_SQLAdmin_Instances_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Creates a Cloud SQL instance as a clone of a source instance.
+ * (instances.cloneInstances)
+ *
+ * @param string $project Project ID of the source as well as the clone Cloud
+ * SQL instance.
+ * @param Postman_Google_InstancesCloneRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SQLAdmin_InstancesCloneResponse
+ */
+ public function cloneInstances($project, Postman_Google_Service_SQLAdmin_InstancesCloneRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('clone', array($params), "Postman_Google_Service_SQLAdmin_InstancesCloneResponse");
+ }
+
+ /**
+ * Deletes a Cloud SQL instance. (instances.delete)
+ *
+ * @param string $project Project ID of the project that contains the instance
+ * to be deleted.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SQLAdmin_InstancesDeleteResponse
+ */
+ public function delete($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_SQLAdmin_InstancesDeleteResponse");
+ }
+
+ /**
+ * Exports data from a Cloud SQL instance to a Google Cloud Storage bucket as a
+ * MySQL dump file. (instances.export)
+ *
+ * @param string $project Project ID of the project that contains the instance
+ * to be exported.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param Postman_Google_InstancesExportRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SQLAdmin_InstancesExportResponse
+ */
+ public function export($project, $instance, Postman_Google_Service_SQLAdmin_InstancesExportRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('export', array($params), "Postman_Google_Service_SQLAdmin_InstancesExportResponse");
+ }
+
+ /**
+ * Retrieves information about a Cloud SQL instance. (instances.get)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Database instance ID. This does not include the
+ * project ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SQLAdmin_DatabaseInstance
+ */
+ public function get($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_SQLAdmin_DatabaseInstance");
+ }
+
+ /**
+ * Imports data into a Cloud SQL instance from a MySQL dump file stored in a
+ * Google Cloud Storage bucket. (instances.import)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param Postman_Google_InstancesImportRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SQLAdmin_InstancesImportResponse
+ */
+ public function import($project, $instance, Postman_Google_Service_SQLAdmin_InstancesImportRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('import', array($params), "Postman_Google_Service_SQLAdmin_InstancesImportResponse");
+ }
+
+ /**
+ * Creates a new Cloud SQL instance. (instances.insert)
+ *
+ * @param string $project Project ID of the project to which the newly created
+ * Cloud SQL instances should belong.
+ * @param Postman_Google_DatabaseInstance $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SQLAdmin_InstancesInsertResponse
+ */
+ public function insert($project, Postman_Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_SQLAdmin_InstancesInsertResponse");
+ }
+
+ /**
+ * Lists instances for a given project, in alphabetical order by instance name.
+ * (instances.listInstances)
+ *
+ * @param string $project Project ID of the project for which to list Cloud SQL
+ * instances.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A previously-returned page token representing
+ * part of the larger set of results to view.
+ * @opt_param string maxResults The maximum number of results to return per
+ * response.
+ * @return Postman_Google_Service_SQLAdmin_InstancesListResponse
+ */
+ public function listInstances($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_SQLAdmin_InstancesListResponse");
+ }
+
+ /**
+ * Updates the settings of a Cloud SQL instance. This method supports patch
+ * semantics. (instances.patch)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param Postman_Google_DatabaseInstance $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SQLAdmin_InstancesUpdateResponse
+ */
+ public function patch($project, $instance, Postman_Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_SQLAdmin_InstancesUpdateResponse");
+ }
+
+ /**
+ * Promotes the read replica instance to be a stand-alone Cloud SQL instance.
+ * (instances.promoteReplica)
+ *
+ * @param string $project ID of the project that contains the read replica.
+ * @param string $instance Cloud SQL read replica instance name.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SQLAdmin_InstancesPromoteReplicaResponse
+ */
+ public function promoteReplica($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('promoteReplica', array($params), "Postman_Google_Service_SQLAdmin_InstancesPromoteReplicaResponse");
+ }
+
+ /**
+ * Deletes all client certificates and generates a new server SSL certificate
+ * for a Cloud SQL instance. (instances.resetSslConfig)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SQLAdmin_InstancesResetSslConfigResponse
+ */
+ public function resetSslConfig($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('resetSslConfig', array($params), "Postman_Google_Service_SQLAdmin_InstancesResetSslConfigResponse");
+ }
+
+ /**
+ * Restarts a Cloud SQL instance. (instances.restart)
+ *
+ * @param string $project Project ID of the project that contains the instance
+ * to be restarted.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SQLAdmin_InstancesRestartResponse
+ */
+ public function restart($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('restart', array($params), "Postman_Google_Service_SQLAdmin_InstancesRestartResponse");
+ }
+
+ /**
+ * Restores a backup of a Cloud SQL instance. (instances.restoreBackup)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param string $backupConfiguration The identifier of the backup
+ * configuration. This gets generated automatically when a backup configuration
+ * is created.
+ * @param string $dueTime The start time of the four-hour backup window. The
+ * backup can occur any time in the window. The time is in RFC 3339 format, for
+ * example 2012-11-15T16:19:00.094Z.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SQLAdmin_InstancesRestoreBackupResponse
+ */
+ public function restoreBackup($project, $instance, $backupConfiguration, $dueTime, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'backupConfiguration' => $backupConfiguration, 'dueTime' => $dueTime);
+ $params = array_merge($params, $optParams);
+ return $this->call('restoreBackup', array($params), "Postman_Google_Service_SQLAdmin_InstancesRestoreBackupResponse");
+ }
+
+ /**
+ * Sets the password for the root user of the specified Cloud SQL instance.
+ * (instances.setRootPassword)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param Postman_Google_InstanceSetRootPasswordRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SQLAdmin_InstancesSetRootPasswordResponse
+ */
+ public function setRootPassword($project, $instance, Postman_Google_Service_SQLAdmin_InstanceSetRootPasswordRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setRootPassword', array($params), "Postman_Google_Service_SQLAdmin_InstancesSetRootPasswordResponse");
+ }
+
+ /**
+ * Updates the settings of a Cloud SQL instance. (instances.update)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param Postman_Google_DatabaseInstance $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SQLAdmin_InstancesUpdateResponse
+ */
+ public function update($project, $instance, Postman_Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_SQLAdmin_InstancesUpdateResponse");
+ }
+}
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $sqladminService = new Postman_Google_Service_SQLAdmin(...);
+ * $operations = $sqladminService->operations;
+ * </code>
+ */
+class Postman_Google_Service_SQLAdmin_Operations_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves information about a specific operation that was performed on a
+ * Cloud SQL instance. (operations.get)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param string $operation Instance operation ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SQLAdmin_InstanceOperation
+ */
+ public function get($project, $instance, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_SQLAdmin_InstanceOperation");
+ }
+
+ /**
+ * Lists all operations that have been performed on a Cloud SQL instance.
+ * (operations.listOperations)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults Maximum number of operations per response.
+ * @opt_param string pageToken A previously-returned page token representing
+ * part of the larger set of results to view.
+ * @return Postman_Google_Service_SQLAdmin_OperationsListResponse
+ */
+ public function listOperations($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_SQLAdmin_OperationsListResponse");
+ }
+}
+
+/**
+ * The "sslCerts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $sqladminService = new Postman_Google_Service_SQLAdmin(...);
+ * $sslCerts = $sqladminService->sslCerts;
+ * </code>
+ */
+class Postman_Google_Service_SQLAdmin_SslCerts_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes an SSL certificate from a Cloud SQL instance. (sslCerts.delete)
+ *
+ * @param string $project Project ID of the project that contains the instance
+ * to be deleted.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param string $sha1Fingerprint Sha1 FingerPrint.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SQLAdmin_SslCertsDeleteResponse
+ */
+ public function delete($project, $instance, $sha1Fingerprint, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'sha1Fingerprint' => $sha1Fingerprint);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Postman_Google_Service_SQLAdmin_SslCertsDeleteResponse");
+ }
+
+ /**
+ * Retrieves an SSL certificate as specified by its SHA-1 fingerprint.
+ * (sslCerts.get)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param string $sha1Fingerprint Sha1 FingerPrint.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SQLAdmin_SslCert
+ */
+ public function get($project, $instance, $sha1Fingerprint, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'sha1Fingerprint' => $sha1Fingerprint);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_SQLAdmin_SslCert");
+ }
+
+ /**
+ * Creates an SSL certificate and returns the certificate, the associated
+ * private key, and the server certificate authority. (sslCerts.insert)
+ *
+ * @param string $project Project ID of the project to which the newly created
+ * Cloud SQL instances should belong.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param Postman_Google_SslCertsInsertRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SQLAdmin_SslCertsInsertResponse
+ */
+ public function insert($project, $instance, Postman_Google_Service_SQLAdmin_SslCertsInsertRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_SQLAdmin_SslCertsInsertResponse");
+ }
+
+ /**
+ * Lists all of the current SSL certificates defined for a Cloud SQL instance.
+ * (sslCerts.listSslCerts)
+ *
+ * @param string $project Project ID of the project for which to list Cloud SQL
+ * instances.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SQLAdmin_SslCertsListResponse
+ */
+ public function listSslCerts($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_SQLAdmin_SslCertsListResponse");
+ }
+}
+
+/**
+ * The "tiers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $sqladminService = new Postman_Google_Service_SQLAdmin(...);
+ * $tiers = $sqladminService->tiers;
+ * </code>
+ */
+class Postman_Google_Service_SQLAdmin_Tiers_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Lists service tiers that can be used to create Google Cloud SQL instances.
+ * (tiers.listTiers)
+ *
+ * @param string $project Project ID of the project for which to list tiers.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SQLAdmin_TiersListResponse
+ */
+ public function listTiers($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_SQLAdmin_TiersListResponse");
+ }
+}
+
+
+
+
+class Postman_Google_Service_SQLAdmin_BackupConfiguration extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $binaryLogEnabled;
+ public $enabled;
+ public $id;
+ public $kind;
+ public $startTime;
+
+
+ public function setBinaryLogEnabled($binaryLogEnabled)
+ {
+ $this->binaryLogEnabled = $binaryLogEnabled;
+ }
+ public function getBinaryLogEnabled()
+ {
+ return $this->binaryLogEnabled;
+ }
+ public function setEnabled($enabled)
+ {
+ $this->enabled = $enabled;
+ }
+ public function getEnabled()
+ {
+ return $this->enabled;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_BackupRun extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $backupConfiguration;
+ public $dueTime;
+ public $endTime;
+ public $enqueuedTime;
+ protected $errorType = 'Postman_Google_Service_SQLAdmin_OperationError';
+ protected $errorDataType = '';
+ public $instance;
+ public $kind;
+ public $startTime;
+ public $status;
+
+
+ public function setBackupConfiguration($backupConfiguration)
+ {
+ $this->backupConfiguration = $backupConfiguration;
+ }
+ public function getBackupConfiguration()
+ {
+ return $this->backupConfiguration;
+ }
+ public function setDueTime($dueTime)
+ {
+ $this->dueTime = $dueTime;
+ }
+ public function getDueTime()
+ {
+ return $this->dueTime;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setEnqueuedTime($enqueuedTime)
+ {
+ $this->enqueuedTime = $enqueuedTime;
+ }
+ public function getEnqueuedTime()
+ {
+ return $this->enqueuedTime;
+ }
+ public function setError(Postman_Google_Service_SQLAdmin_OperationError $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setInstance($instance)
+ {
+ $this->instance = $instance;
+ }
+ public function getInstance()
+ {
+ return $this->instance;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_BackupRunsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_SQLAdmin_BackupRun';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_BinLogCoordinates extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $binLogFileName;
+ public $binLogPosition;
+ public $kind;
+
+
+ public function setBinLogFileName($binLogFileName)
+ {
+ $this->binLogFileName = $binLogFileName;
+ }
+ public function getBinLogFileName()
+ {
+ return $this->binLogFileName;
+ }
+ public function setBinLogPosition($binLogPosition)
+ {
+ $this->binLogPosition = $binLogPosition;
+ }
+ public function getBinLogPosition()
+ {
+ return $this->binLogPosition;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_CloneContext extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $binLogCoordinatesType = 'Postman_Google_Service_SQLAdmin_BinLogCoordinates';
+ protected $binLogCoordinatesDataType = '';
+ public $destinationInstanceName;
+ public $kind;
+ public $sourceInstanceName;
+
+
+ public function setBinLogCoordinates(Postman_Google_Service_SQLAdmin_BinLogCoordinates $binLogCoordinates)
+ {
+ $this->binLogCoordinates = $binLogCoordinates;
+ }
+ public function getBinLogCoordinates()
+ {
+ return $this->binLogCoordinates;
+ }
+ public function setDestinationInstanceName($destinationInstanceName)
+ {
+ $this->destinationInstanceName = $destinationInstanceName;
+ }
+ public function getDestinationInstanceName()
+ {
+ return $this->destinationInstanceName;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSourceInstanceName($sourceInstanceName)
+ {
+ $this->sourceInstanceName = $sourceInstanceName;
+ }
+ public function getSourceInstanceName()
+ {
+ return $this->sourceInstanceName;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_DatabaseFlags extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+ public $value;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_DatabaseInstance extends Postman_Google_Collection
+{
+ protected $collection_key = 'replicaNames';
+ protected $internal_gapi_mappings = array(
+ );
+ public $currentDiskSize;
+ public $databaseVersion;
+ public $etag;
+ public $instance;
+ public $instanceType;
+ protected $ipAddressesType = 'Postman_Google_Service_SQLAdmin_IpMapping';
+ protected $ipAddressesDataType = 'array';
+ public $ipv6Address;
+ public $kind;
+ public $masterInstanceName;
+ public $maxDiskSize;
+ public $project;
+ public $region;
+ public $replicaNames;
+ protected $serverCaCertType = 'Postman_Google_Service_SQLAdmin_SslCert';
+ protected $serverCaCertDataType = '';
+ protected $settingsType = 'Postman_Google_Service_SQLAdmin_Settings';
+ protected $settingsDataType = '';
+ public $state;
+
+
+ public function setCurrentDiskSize($currentDiskSize)
+ {
+ $this->currentDiskSize = $currentDiskSize;
+ }
+ public function getCurrentDiskSize()
+ {
+ return $this->currentDiskSize;
+ }
+ public function setDatabaseVersion($databaseVersion)
+ {
+ $this->databaseVersion = $databaseVersion;
+ }
+ public function getDatabaseVersion()
+ {
+ return $this->databaseVersion;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setInstance($instance)
+ {
+ $this->instance = $instance;
+ }
+ public function getInstance()
+ {
+ return $this->instance;
+ }
+ public function setInstanceType($instanceType)
+ {
+ $this->instanceType = $instanceType;
+ }
+ public function getInstanceType()
+ {
+ return $this->instanceType;
+ }
+ public function setIpAddresses($ipAddresses)
+ {
+ $this->ipAddresses = $ipAddresses;
+ }
+ public function getIpAddresses()
+ {
+ return $this->ipAddresses;
+ }
+ public function setIpv6Address($ipv6Address)
+ {
+ $this->ipv6Address = $ipv6Address;
+ }
+ public function getIpv6Address()
+ {
+ return $this->ipv6Address;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMasterInstanceName($masterInstanceName)
+ {
+ $this->masterInstanceName = $masterInstanceName;
+ }
+ public function getMasterInstanceName()
+ {
+ return $this->masterInstanceName;
+ }
+ public function setMaxDiskSize($maxDiskSize)
+ {
+ $this->maxDiskSize = $maxDiskSize;
+ }
+ public function getMaxDiskSize()
+ {
+ return $this->maxDiskSize;
+ }
+ public function setProject($project)
+ {
+ $this->project = $project;
+ }
+ public function getProject()
+ {
+ return $this->project;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setReplicaNames($replicaNames)
+ {
+ $this->replicaNames = $replicaNames;
+ }
+ public function getReplicaNames()
+ {
+ return $this->replicaNames;
+ }
+ public function setServerCaCert(Postman_Google_Service_SQLAdmin_SslCert $serverCaCert)
+ {
+ $this->serverCaCert = $serverCaCert;
+ }
+ public function getServerCaCert()
+ {
+ return $this->serverCaCert;
+ }
+ public function setSettings(Postman_Google_Service_SQLAdmin_Settings $settings)
+ {
+ $this->settings = $settings;
+ }
+ public function getSettings()
+ {
+ return $this->settings;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_ExportContext extends Postman_Google_Collection
+{
+ protected $collection_key = 'table';
+ protected $internal_gapi_mappings = array(
+ );
+ public $database;
+ public $kind;
+ public $table;
+ public $uri;
+
+
+ public function setDatabase($database)
+ {
+ $this->database = $database;
+ }
+ public function getDatabase()
+ {
+ return $this->database;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setTable($table)
+ {
+ $this->table = $table;
+ }
+ public function getTable()
+ {
+ return $this->table;
+ }
+ public function setUri($uri)
+ {
+ $this->uri = $uri;
+ }
+ public function getUri()
+ {
+ return $this->uri;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_Flag extends Postman_Google_Collection
+{
+ protected $collection_key = 'appliesTo';
+ protected $internal_gapi_mappings = array(
+ );
+ public $allowedStringValues;
+ public $appliesTo;
+ public $kind;
+ public $maxValue;
+ public $minValue;
+ public $name;
+ public $type;
+
+
+ public function setAllowedStringValues($allowedStringValues)
+ {
+ $this->allowedStringValues = $allowedStringValues;
+ }
+ public function getAllowedStringValues()
+ {
+ return $this->allowedStringValues;
+ }
+ public function setAppliesTo($appliesTo)
+ {
+ $this->appliesTo = $appliesTo;
+ }
+ public function getAppliesTo()
+ {
+ return $this->appliesTo;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMaxValue($maxValue)
+ {
+ $this->maxValue = $maxValue;
+ }
+ public function getMaxValue()
+ {
+ return $this->maxValue;
+ }
+ public function setMinValue($minValue)
+ {
+ $this->minValue = $minValue;
+ }
+ public function getMinValue()
+ {
+ return $this->minValue;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_FlagsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_SQLAdmin_Flag';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_ImportContext extends Postman_Google_Collection
+{
+ protected $collection_key = 'uri';
+ protected $internal_gapi_mappings = array(
+ );
+ public $database;
+ public $kind;
+ public $uri;
+
+
+ public function setDatabase($database)
+ {
+ $this->database = $database;
+ }
+ public function getDatabase()
+ {
+ return $this->database;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUri($uri)
+ {
+ $this->uri = $uri;
+ }
+ public function getUri()
+ {
+ return $this->uri;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_InstanceOperation extends Postman_Google_Collection
+{
+ protected $collection_key = 'error';
+ protected $internal_gapi_mappings = array(
+ );
+ public $endTime;
+ public $enqueuedTime;
+ protected $errorType = 'Postman_Google_Service_SQLAdmin_OperationError';
+ protected $errorDataType = 'array';
+ protected $exportContextType = 'Postman_Google_Service_SQLAdmin_ExportContext';
+ protected $exportContextDataType = '';
+ protected $importContextType = 'Postman_Google_Service_SQLAdmin_ImportContext';
+ protected $importContextDataType = '';
+ public $instance;
+ public $kind;
+ public $operation;
+ public $operationType;
+ public $startTime;
+ public $state;
+ public $userEmailAddress;
+
+
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setEnqueuedTime($enqueuedTime)
+ {
+ $this->enqueuedTime = $enqueuedTime;
+ }
+ public function getEnqueuedTime()
+ {
+ return $this->enqueuedTime;
+ }
+ public function setError($error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setExportContext(Postman_Google_Service_SQLAdmin_ExportContext $exportContext)
+ {
+ $this->exportContext = $exportContext;
+ }
+ public function getExportContext()
+ {
+ return $this->exportContext;
+ }
+ public function setImportContext(Postman_Google_Service_SQLAdmin_ImportContext $importContext)
+ {
+ $this->importContext = $importContext;
+ }
+ public function getImportContext()
+ {
+ return $this->importContext;
+ }
+ public function setInstance($instance)
+ {
+ $this->instance = $instance;
+ }
+ public function getInstance()
+ {
+ return $this->instance;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOperation($operation)
+ {
+ $this->operation = $operation;
+ }
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+ public function setOperationType($operationType)
+ {
+ $this->operationType = $operationType;
+ }
+ public function getOperationType()
+ {
+ return $this->operationType;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setUserEmailAddress($userEmailAddress)
+ {
+ $this->userEmailAddress = $userEmailAddress;
+ }
+ public function getUserEmailAddress()
+ {
+ return $this->userEmailAddress;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_InstanceSetRootPasswordRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $setRootPasswordContextType = 'Postman_Google_Service_SQLAdmin_SetRootPasswordContext';
+ protected $setRootPasswordContextDataType = '';
+
+
+ public function setSetRootPasswordContext(Postman_Google_Service_SQLAdmin_SetRootPasswordContext $setRootPasswordContext)
+ {
+ $this->setRootPasswordContext = $setRootPasswordContext;
+ }
+ public function getSetRootPasswordContext()
+ {
+ return $this->setRootPasswordContext;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_InstancesCloneRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $cloneContextType = 'Postman_Google_Service_SQLAdmin_CloneContext';
+ protected $cloneContextDataType = '';
+
+
+ public function setCloneContext(Postman_Google_Service_SQLAdmin_CloneContext $cloneContext)
+ {
+ $this->cloneContext = $cloneContext;
+ }
+ public function getCloneContext()
+ {
+ return $this->cloneContext;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_InstancesCloneResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $operation;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOperation($operation)
+ {
+ $this->operation = $operation;
+ }
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_InstancesDeleteResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $operation;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOperation($operation)
+ {
+ $this->operation = $operation;
+ }
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_InstancesExportRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $exportContextType = 'Postman_Google_Service_SQLAdmin_ExportContext';
+ protected $exportContextDataType = '';
+
+
+ public function setExportContext(Postman_Google_Service_SQLAdmin_ExportContext $exportContext)
+ {
+ $this->exportContext = $exportContext;
+ }
+ public function getExportContext()
+ {
+ return $this->exportContext;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_InstancesExportResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $operation;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOperation($operation)
+ {
+ $this->operation = $operation;
+ }
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_InstancesImportRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $importContextType = 'Postman_Google_Service_SQLAdmin_ImportContext';
+ protected $importContextDataType = '';
+
+
+ public function setImportContext(Postman_Google_Service_SQLAdmin_ImportContext $importContext)
+ {
+ $this->importContext = $importContext;
+ }
+ public function getImportContext()
+ {
+ return $this->importContext;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_InstancesImportResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $operation;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOperation($operation)
+ {
+ $this->operation = $operation;
+ }
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_InstancesInsertResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $operation;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOperation($operation)
+ {
+ $this->operation = $operation;
+ }
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_InstancesListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_SQLAdmin_DatabaseInstance';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_InstancesPromoteReplicaResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $operation;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOperation($operation)
+ {
+ $this->operation = $operation;
+ }
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_InstancesResetSslConfigResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $operation;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOperation($operation)
+ {
+ $this->operation = $operation;
+ }
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_InstancesRestartResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $operation;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOperation($operation)
+ {
+ $this->operation = $operation;
+ }
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_InstancesRestoreBackupResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $operation;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOperation($operation)
+ {
+ $this->operation = $operation;
+ }
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_InstancesSetRootPasswordResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $operation;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOperation($operation)
+ {
+ $this->operation = $operation;
+ }
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_InstancesUpdateResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $operation;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOperation($operation)
+ {
+ $this->operation = $operation;
+ }
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_IpConfiguration extends Postman_Google_Collection
+{
+ protected $collection_key = 'authorizedNetworks';
+ protected $internal_gapi_mappings = array(
+ );
+ public $authorizedNetworks;
+ public $enabled;
+ public $kind;
+ public $requireSsl;
+
+
+ public function setAuthorizedNetworks($authorizedNetworks)
+ {
+ $this->authorizedNetworks = $authorizedNetworks;
+ }
+ public function getAuthorizedNetworks()
+ {
+ return $this->authorizedNetworks;
+ }
+ public function setEnabled($enabled)
+ {
+ $this->enabled = $enabled;
+ }
+ public function getEnabled()
+ {
+ return $this->enabled;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRequireSsl($requireSsl)
+ {
+ $this->requireSsl = $requireSsl;
+ }
+ public function getRequireSsl()
+ {
+ return $this->requireSsl;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_IpMapping extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $ipAddress;
+ public $timeToRetire;
+
+
+ public function setIpAddress($ipAddress)
+ {
+ $this->ipAddress = $ipAddress;
+ }
+ public function getIpAddress()
+ {
+ return $this->ipAddress;
+ }
+ public function setTimeToRetire($timeToRetire)
+ {
+ $this->timeToRetire = $timeToRetire;
+ }
+ public function getTimeToRetire()
+ {
+ return $this->timeToRetire;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_LocationPreference extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $followGaeApplication;
+ public $kind;
+ public $zone;
+
+
+ public function setFollowGaeApplication($followGaeApplication)
+ {
+ $this->followGaeApplication = $followGaeApplication;
+ }
+ public function getFollowGaeApplication()
+ {
+ return $this->followGaeApplication;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_OperationError extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $kind;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_OperationsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_SQLAdmin_InstanceOperation';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_SetRootPasswordContext extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $password;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPassword($password)
+ {
+ $this->password = $password;
+ }
+ public function getPassword()
+ {
+ return $this->password;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_Settings extends Postman_Google_Collection
+{
+ protected $collection_key = 'databaseFlags';
+ protected $internal_gapi_mappings = array(
+ );
+ public $activationPolicy;
+ public $authorizedGaeApplications;
+ protected $backupConfigurationType = 'Postman_Google_Service_SQLAdmin_BackupConfiguration';
+ protected $backupConfigurationDataType = 'array';
+ protected $databaseFlagsType = 'Postman_Google_Service_SQLAdmin_DatabaseFlags';
+ protected $databaseFlagsDataType = 'array';
+ public $databaseReplicationEnabled;
+ protected $ipConfigurationType = 'Postman_Google_Service_SQLAdmin_IpConfiguration';
+ protected $ipConfigurationDataType = '';
+ public $kind;
+ protected $locationPreferenceType = 'Postman_Google_Service_SQLAdmin_LocationPreference';
+ protected $locationPreferenceDataType = '';
+ public $pricingPlan;
+ public $replicationType;
+ public $settingsVersion;
+ public $tier;
+
+
+ public function setActivationPolicy($activationPolicy)
+ {
+ $this->activationPolicy = $activationPolicy;
+ }
+ public function getActivationPolicy()
+ {
+ return $this->activationPolicy;
+ }
+ public function setAuthorizedGaeApplications($authorizedGaeApplications)
+ {
+ $this->authorizedGaeApplications = $authorizedGaeApplications;
+ }
+ public function getAuthorizedGaeApplications()
+ {
+ return $this->authorizedGaeApplications;
+ }
+ public function setBackupConfiguration($backupConfiguration)
+ {
+ $this->backupConfiguration = $backupConfiguration;
+ }
+ public function getBackupConfiguration()
+ {
+ return $this->backupConfiguration;
+ }
+ public function setDatabaseFlags($databaseFlags)
+ {
+ $this->databaseFlags = $databaseFlags;
+ }
+ public function getDatabaseFlags()
+ {
+ return $this->databaseFlags;
+ }
+ public function setDatabaseReplicationEnabled($databaseReplicationEnabled)
+ {
+ $this->databaseReplicationEnabled = $databaseReplicationEnabled;
+ }
+ public function getDatabaseReplicationEnabled()
+ {
+ return $this->databaseReplicationEnabled;
+ }
+ public function setIpConfiguration(Postman_Google_Service_SQLAdmin_IpConfiguration $ipConfiguration)
+ {
+ $this->ipConfiguration = $ipConfiguration;
+ }
+ public function getIpConfiguration()
+ {
+ return $this->ipConfiguration;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLocationPreference(Postman_Google_Service_SQLAdmin_LocationPreference $locationPreference)
+ {
+ $this->locationPreference = $locationPreference;
+ }
+ public function getLocationPreference()
+ {
+ return $this->locationPreference;
+ }
+ public function setPricingPlan($pricingPlan)
+ {
+ $this->pricingPlan = $pricingPlan;
+ }
+ public function getPricingPlan()
+ {
+ return $this->pricingPlan;
+ }
+ public function setReplicationType($replicationType)
+ {
+ $this->replicationType = $replicationType;
+ }
+ public function getReplicationType()
+ {
+ return $this->replicationType;
+ }
+ public function setSettingsVersion($settingsVersion)
+ {
+ $this->settingsVersion = $settingsVersion;
+ }
+ public function getSettingsVersion()
+ {
+ return $this->settingsVersion;
+ }
+ public function setTier($tier)
+ {
+ $this->tier = $tier;
+ }
+ public function getTier()
+ {
+ return $this->tier;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_SslCert extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $cert;
+ public $certSerialNumber;
+ public $commonName;
+ public $createTime;
+ public $expirationTime;
+ public $instance;
+ public $kind;
+ public $sha1Fingerprint;
+
+
+ public function setCert($cert)
+ {
+ $this->cert = $cert;
+ }
+ public function getCert()
+ {
+ return $this->cert;
+ }
+ public function setCertSerialNumber($certSerialNumber)
+ {
+ $this->certSerialNumber = $certSerialNumber;
+ }
+ public function getCertSerialNumber()
+ {
+ return $this->certSerialNumber;
+ }
+ public function setCommonName($commonName)
+ {
+ $this->commonName = $commonName;
+ }
+ public function getCommonName()
+ {
+ return $this->commonName;
+ }
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setExpirationTime($expirationTime)
+ {
+ $this->expirationTime = $expirationTime;
+ }
+ public function getExpirationTime()
+ {
+ return $this->expirationTime;
+ }
+ public function setInstance($instance)
+ {
+ $this->instance = $instance;
+ }
+ public function getInstance()
+ {
+ return $this->instance;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSha1Fingerprint($sha1Fingerprint)
+ {
+ $this->sha1Fingerprint = $sha1Fingerprint;
+ }
+ public function getSha1Fingerprint()
+ {
+ return $this->sha1Fingerprint;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_SslCertDetail extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $certInfoType = 'Postman_Google_Service_SQLAdmin_SslCert';
+ protected $certInfoDataType = '';
+ public $certPrivateKey;
+
+
+ public function setCertInfo(Postman_Google_Service_SQLAdmin_SslCert $certInfo)
+ {
+ $this->certInfo = $certInfo;
+ }
+ public function getCertInfo()
+ {
+ return $this->certInfo;
+ }
+ public function setCertPrivateKey($certPrivateKey)
+ {
+ $this->certPrivateKey = $certPrivateKey;
+ }
+ public function getCertPrivateKey()
+ {
+ return $this->certPrivateKey;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_SslCertsDeleteResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $operation;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOperation($operation)
+ {
+ $this->operation = $operation;
+ }
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_SslCertsInsertRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $commonName;
+
+
+ public function setCommonName($commonName)
+ {
+ $this->commonName = $commonName;
+ }
+ public function getCommonName()
+ {
+ return $this->commonName;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_SslCertsInsertResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $clientCertType = 'Postman_Google_Service_SQLAdmin_SslCertDetail';
+ protected $clientCertDataType = '';
+ public $kind;
+ protected $serverCaCertType = 'Postman_Google_Service_SQLAdmin_SslCert';
+ protected $serverCaCertDataType = '';
+
+
+ public function setClientCert(Postman_Google_Service_SQLAdmin_SslCertDetail $clientCert)
+ {
+ $this->clientCert = $clientCert;
+ }
+ public function getClientCert()
+ {
+ return $this->clientCert;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setServerCaCert(Postman_Google_Service_SQLAdmin_SslCert $serverCaCert)
+ {
+ $this->serverCaCert = $serverCaCert;
+ }
+ public function getServerCaCert()
+ {
+ return $this->serverCaCert;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_SslCertsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_SQLAdmin_SslCert';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_Tier extends Postman_Google_Collection
+{
+ protected $collection_key = 'region';
+ protected $internal_gapi_mappings = array(
+ "diskQuota" => "DiskQuota",
+ "rAM" => "RAM",
+ );
+ public $diskQuota;
+ public $rAM;
+ public $kind;
+ public $region;
+ public $tier;
+
+
+ public function setDiskQuota($diskQuota)
+ {
+ $this->diskQuota = $diskQuota;
+ }
+ public function getDiskQuota()
+ {
+ return $this->diskQuota;
+ }
+ public function setRAM($rAM)
+ {
+ $this->rAM = $rAM;
+ }
+ public function getRAM()
+ {
+ return $this->rAM;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setTier($tier)
+ {
+ $this->tier = $tier;
+ }
+ public function getTier()
+ {
+ return $this->tier;
+ }
+}
+
+class Postman_Google_Service_SQLAdmin_TiersListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_SQLAdmin_Tier';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/ShoppingContent.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/ShoppingContent.php
new file mode 100644
index 0000000..ef7050f
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/ShoppingContent.php
@@ -0,0 +1,4309 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for ShoppingContent (v2).
+ *
+ * <p>
+ * Manage product items, inventory, and Merchant Center accounts for Google
+ * Shopping.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/shopping-content/v2/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_ShoppingContent extends Postman_Google_Service
+{
+ /** Manage your product listings and accounts for Google Shopping. */
+ const CONTENT =
+ "https://www.googleapis.com/auth/content";
+
+ public $accounts;
+ public $accountstatuses;
+ public $datafeeds;
+ public $datafeedstatuses;
+ public $inventory;
+ public $products;
+ public $productstatuses;
+
+
+ /**
+ * Constructs the internal representation of the ShoppingContent service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'content/v2/';
+ $this->version = 'v2';
+ $this->serviceName = 'content';
+
+ $this->accounts = new Postman_Google_Service_ShoppingContent_Accounts_Resource(
+ $this,
+ $this->serviceName,
+ 'accounts',
+ array(
+ 'methods' => array(
+ 'custombatch' => array(
+ 'path' => 'accounts/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => '{merchantId}/accounts/{accountId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{merchantId}/accounts/{accountId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{merchantId}/accounts',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{merchantId}/accounts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{merchantId}/accounts/{accountId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{merchantId}/accounts/{accountId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accountstatuses = new Postman_Google_Service_ShoppingContent_Accountstatuses_Resource(
+ $this,
+ $this->serviceName,
+ 'accountstatuses',
+ array(
+ 'methods' => array(
+ 'custombatch' => array(
+ 'path' => 'accountstatuses/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'get' => array(
+ 'path' => '{merchantId}/accountstatuses/{accountId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{merchantId}/accountstatuses',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->datafeeds = new Postman_Google_Service_ShoppingContent_Datafeeds_Resource(
+ $this,
+ $this->serviceName,
+ 'datafeeds',
+ array(
+ 'methods' => array(
+ 'custombatch' => array(
+ 'path' => 'datafeeds/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => '{merchantId}/datafeeds/{datafeedId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datafeedId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{merchantId}/datafeeds/{datafeedId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datafeedId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{merchantId}/datafeeds',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{merchantId}/datafeeds',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{merchantId}/datafeeds/{datafeedId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datafeedId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{merchantId}/datafeeds/{datafeedId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datafeedId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->datafeedstatuses = new Postman_Google_Service_ShoppingContent_Datafeedstatuses_Resource(
+ $this,
+ $this->serviceName,
+ 'datafeedstatuses',
+ array(
+ 'methods' => array(
+ 'custombatch' => array(
+ 'path' => 'datafeedstatuses/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'get' => array(
+ 'path' => '{merchantId}/datafeedstatuses/{datafeedId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datafeedId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{merchantId}/datafeedstatuses',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->inventory = new Postman_Google_Service_ShoppingContent_Inventory_Resource(
+ $this,
+ $this->serviceName,
+ 'inventory',
+ array(
+ 'methods' => array(
+ 'custombatch' => array(
+ 'path' => 'inventory/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'set' => array(
+ 'path' => '{merchantId}/inventory/{storeCode}/products/{productId}',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'storeCode' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->products = new Postman_Google_Service_ShoppingContent_Products_Resource(
+ $this,
+ $this->serviceName,
+ 'products',
+ array(
+ 'methods' => array(
+ 'custombatch' => array(
+ 'path' => 'products/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{merchantId}/products/{productId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{merchantId}/products/{productId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{merchantId}/products',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{merchantId}/products',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->productstatuses = new Postman_Google_Service_ShoppingContent_Productstatuses_Resource(
+ $this,
+ $this->serviceName,
+ 'productstatuses',
+ array(
+ 'methods' => array(
+ 'custombatch' => array(
+ 'path' => 'productstatuses/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'get' => array(
+ 'path' => '{merchantId}/productstatuses/{productId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{merchantId}/productstatuses',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $contentService = new Postman_Google_Service_ShoppingContent(...);
+ * $accounts = $contentService->accounts;
+ * </code>
+ */
+class Postman_Google_Service_ShoppingContent_Accounts_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves, inserts, updates, and deletes multiple Merchant Center
+ * (sub-)accounts in a single request. (accounts.custombatch)
+ *
+ * @param Postman_Google_AccountsCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_ShoppingContent_AccountsCustomBatchResponse
+ */
+ public function custombatch(Postman_Google_Service_ShoppingContent_AccountsCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Postman_Google_Service_ShoppingContent_AccountsCustomBatchResponse");
+ }
+
+ /**
+ * Deletes a Merchant Center sub-account. (accounts.delete)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $accountId The ID of the account.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($merchantId, $accountId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves a Merchant Center account. (accounts.get)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $accountId The ID of the account.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_ShoppingContent_Account
+ */
+ public function get($merchantId, $accountId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_ShoppingContent_Account");
+ }
+
+ /**
+ * Creates a Merchant Center sub-account. (accounts.insert)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param Postman_Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_ShoppingContent_Account
+ */
+ public function insert($merchantId, Postman_Google_Service_ShoppingContent_Account $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_ShoppingContent_Account");
+ }
+
+ /**
+ * Lists the sub-accounts in your Merchant Center account.
+ * (accounts.listAccounts)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param string maxResults The maximum number of accounts to return in the
+ * response, used for paging.
+ * @return Postman_Google_Service_ShoppingContent_AccountsListResponse
+ */
+ public function listAccounts($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_ShoppingContent_AccountsListResponse");
+ }
+
+ /**
+ * Updates a Merchant Center account. This method supports patch semantics.
+ * (accounts.patch)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $accountId The ID of the account.
+ * @param Postman_Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_ShoppingContent_Account
+ */
+ public function patch($merchantId, $accountId, Postman_Google_Service_ShoppingContent_Account $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_ShoppingContent_Account");
+ }
+
+ /**
+ * Updates a Merchant Center account. (accounts.update)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $accountId The ID of the account.
+ * @param Postman_Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_ShoppingContent_Account
+ */
+ public function update($merchantId, $accountId, Postman_Google_Service_ShoppingContent_Account $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_ShoppingContent_Account");
+ }
+}
+
+/**
+ * The "accountstatuses" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $contentService = new Postman_Google_Service_ShoppingContent(...);
+ * $accountstatuses = $contentService->accountstatuses;
+ * </code>
+ */
+class Postman_Google_Service_ShoppingContent_Accountstatuses_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * (accountstatuses.custombatch)
+ *
+ * @param Postman_Google_AccountstatusesCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse
+ */
+ public function custombatch(Postman_Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Postman_Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse");
+ }
+
+ /**
+ * Retrieves the status of a Merchant Center account. (accountstatuses.get)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $accountId The ID of the account.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_ShoppingContent_AccountStatus
+ */
+ public function get($merchantId, $accountId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_ShoppingContent_AccountStatus");
+ }
+
+ /**
+ * Lists the statuses of the sub-accounts in your Merchant Center account.
+ * (accountstatuses.listAccountstatuses)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param string maxResults The maximum number of account statuses to return
+ * in the response, used for paging.
+ * @return Postman_Google_Service_ShoppingContent_AccountstatusesListResponse
+ */
+ public function listAccountstatuses($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_ShoppingContent_AccountstatusesListResponse");
+ }
+}
+
+/**
+ * The "datafeeds" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $contentService = new Postman_Google_Service_ShoppingContent(...);
+ * $datafeeds = $contentService->datafeeds;
+ * </code>
+ */
+class Postman_Google_Service_ShoppingContent_Datafeeds_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * (datafeeds.custombatch)
+ *
+ * @param Postman_Google_DatafeedsCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_ShoppingContent_DatafeedsCustomBatchResponse
+ */
+ public function custombatch(Postman_Google_Service_ShoppingContent_DatafeedsCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Postman_Google_Service_ShoppingContent_DatafeedsCustomBatchResponse");
+ }
+
+ /**
+ * Deletes a datafeed from your Merchant Center account. (datafeeds.delete)
+ *
+ * @param string $merchantId
+ * @param string $datafeedId
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($merchantId, $datafeedId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves a datafeed from your Merchant Center account. (datafeeds.get)
+ *
+ * @param string $merchantId
+ * @param string $datafeedId
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_ShoppingContent_Datafeed
+ */
+ public function get($merchantId, $datafeedId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_ShoppingContent_Datafeed");
+ }
+
+ /**
+ * Registers a datafeed with your Merchant Center account. (datafeeds.insert)
+ *
+ * @param string $merchantId
+ * @param Postman_Google_Datafeed $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_ShoppingContent_Datafeed
+ */
+ public function insert($merchantId, Postman_Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_ShoppingContent_Datafeed");
+ }
+
+ /**
+ * Lists the datafeeds in your Merchant Center account.
+ * (datafeeds.listDatafeeds)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param string maxResults The maximum number of products to return in the
+ * response, used for paging.
+ * @return Postman_Google_Service_ShoppingContent_DatafeedsListResponse
+ */
+ public function listDatafeeds($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_ShoppingContent_DatafeedsListResponse");
+ }
+
+ /**
+ * Updates a datafeed of your Merchant Center account. This method supports
+ * patch semantics. (datafeeds.patch)
+ *
+ * @param string $merchantId
+ * @param string $datafeedId
+ * @param Postman_Google_Datafeed $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_ShoppingContent_Datafeed
+ */
+ public function patch($merchantId, $datafeedId, Postman_Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_ShoppingContent_Datafeed");
+ }
+
+ /**
+ * Updates a datafeed of your Merchant Center account. (datafeeds.update)
+ *
+ * @param string $merchantId
+ * @param string $datafeedId
+ * @param Postman_Google_Datafeed $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_ShoppingContent_Datafeed
+ */
+ public function update($merchantId, $datafeedId, Postman_Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_ShoppingContent_Datafeed");
+ }
+}
+
+/**
+ * The "datafeedstatuses" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $contentService = new Postman_Google_Service_ShoppingContent(...);
+ * $datafeedstatuses = $contentService->datafeedstatuses;
+ * </code>
+ */
+class Postman_Google_Service_ShoppingContent_Datafeedstatuses_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * (datafeedstatuses.custombatch)
+ *
+ * @param Postman_Google_DatafeedstatusesCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse
+ */
+ public function custombatch(Postman_Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Postman_Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse");
+ }
+
+ /**
+ * Retrieves the status of a datafeed from your Merchant Center account.
+ * (datafeedstatuses.get)
+ *
+ * @param string $merchantId
+ * @param string $datafeedId
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_ShoppingContent_DatafeedStatus
+ */
+ public function get($merchantId, $datafeedId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_ShoppingContent_DatafeedStatus");
+ }
+
+ /**
+ * Lists the statuses of the datafeeds in your Merchant Center account.
+ * (datafeedstatuses.listDatafeedstatuses)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param string maxResults The maximum number of products to return in the
+ * response, used for paging.
+ * @return Postman_Google_Service_ShoppingContent_DatafeedstatusesListResponse
+ */
+ public function listDatafeedstatuses($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_ShoppingContent_DatafeedstatusesListResponse");
+ }
+}
+
+/**
+ * The "inventory" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $contentService = new Postman_Google_Service_ShoppingContent(...);
+ * $inventory = $contentService->inventory;
+ * </code>
+ */
+class Postman_Google_Service_ShoppingContent_Inventory_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Updates price and availability for multiple products or stores in a single
+ * request. (inventory.custombatch)
+ *
+ * @param Postman_Google_InventoryCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_ShoppingContent_InventoryCustomBatchResponse
+ */
+ public function custombatch(Postman_Google_Service_ShoppingContent_InventoryCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Postman_Google_Service_ShoppingContent_InventoryCustomBatchResponse");
+ }
+
+ /**
+ * Updates price and availability of a product in your Merchant Center account.
+ * (inventory.set)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $storeCode The code of the store for which to update price and
+ * availability. Use online to update price and availability of an online
+ * product.
+ * @param string $productId The ID of the product for which to update price and
+ * availability.
+ * @param Postman_Google_InventorySetRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_ShoppingContent_InventorySetResponse
+ */
+ public function set($merchantId, $storeCode, $productId, Postman_Google_Service_ShoppingContent_InventorySetRequest $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'storeCode' => $storeCode, 'productId' => $productId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('set', array($params), "Postman_Google_Service_ShoppingContent_InventorySetResponse");
+ }
+}
+
+/**
+ * The "products" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $contentService = new Postman_Google_Service_ShoppingContent(...);
+ * $products = $contentService->products;
+ * </code>
+ */
+class Postman_Google_Service_ShoppingContent_Products_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves, inserts, and deletes multiple products in a single request.
+ * (products.custombatch)
+ *
+ * @param Postman_Google_ProductsCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ * @return Postman_Google_Service_ShoppingContent_ProductsCustomBatchResponse
+ */
+ public function custombatch(Postman_Google_Service_ShoppingContent_ProductsCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Postman_Google_Service_ShoppingContent_ProductsCustomBatchResponse");
+ }
+
+ /**
+ * Deletes a product from your Merchant Center account. (products.delete)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $productId The ID of the product.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ */
+ public function delete($merchantId, $productId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves a product from your Merchant Center account. (products.get)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $productId The ID of the product.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_ShoppingContent_Product
+ */
+ public function get($merchantId, $productId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_ShoppingContent_Product");
+ }
+
+ /**
+ * Uploads a product to your Merchant Center account. (products.insert)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param Postman_Google_Product $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun Flag to run the request in dry-run mode.
+ * @return Postman_Google_Service_ShoppingContent_Product
+ */
+ public function insert($merchantId, Postman_Google_Service_ShoppingContent_Product $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_ShoppingContent_Product");
+ }
+
+ /**
+ * Lists the products in your Merchant Center account. (products.listProducts)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param string maxResults The maximum number of products to return in the
+ * response, used for paging.
+ * @return Postman_Google_Service_ShoppingContent_ProductsListResponse
+ */
+ public function listProducts($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_ShoppingContent_ProductsListResponse");
+ }
+}
+
+/**
+ * The "productstatuses" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $contentService = new Postman_Google_Service_ShoppingContent(...);
+ * $productstatuses = $contentService->productstatuses;
+ * </code>
+ */
+class Postman_Google_Service_ShoppingContent_Productstatuses_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets the statuses of multiple products in a single request.
+ * (productstatuses.custombatch)
+ *
+ * @param Postman_Google_ProductstatusesCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse
+ */
+ public function custombatch(Postman_Google_Service_ShoppingContent_ProductstatusesCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Postman_Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse");
+ }
+
+ /**
+ * Gets the status of a product from your Merchant Center account.
+ * (productstatuses.get)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $productId The ID of the product.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_ShoppingContent_ProductStatus
+ */
+ public function get($merchantId, $productId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_ShoppingContent_ProductStatus");
+ }
+
+ /**
+ * Lists the statuses of the products in your Merchant Center account.
+ * (productstatuses.listProductstatuses)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param string maxResults The maximum number of product statuses to return
+ * in the response, used for paging.
+ * @return Postman_Google_Service_ShoppingContent_ProductstatusesListResponse
+ */
+ public function listProductstatuses($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_ShoppingContent_ProductstatusesListResponse");
+ }
+}
+
+
+
+
+class Postman_Google_Service_ShoppingContent_Account extends Postman_Google_Collection
+{
+ protected $collection_key = 'users';
+ protected $internal_gapi_mappings = array(
+ );
+ public $adultContent;
+ protected $adwordsLinksType = 'Postman_Google_Service_ShoppingContent_AccountAdwordsLink';
+ protected $adwordsLinksDataType = 'array';
+ public $id;
+ public $kind;
+ public $name;
+ public $reviewsUrl;
+ public $sellerId;
+ protected $usersType = 'Postman_Google_Service_ShoppingContent_AccountUser';
+ protected $usersDataType = 'array';
+ public $websiteUrl;
+
+
+ public function setAdultContent($adultContent)
+ {
+ $this->adultContent = $adultContent;
+ }
+ public function getAdultContent()
+ {
+ return $this->adultContent;
+ }
+ public function setAdwordsLinks($adwordsLinks)
+ {
+ $this->adwordsLinks = $adwordsLinks;
+ }
+ public function getAdwordsLinks()
+ {
+ return $this->adwordsLinks;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setReviewsUrl($reviewsUrl)
+ {
+ $this->reviewsUrl = $reviewsUrl;
+ }
+ public function getReviewsUrl()
+ {
+ return $this->reviewsUrl;
+ }
+ public function setSellerId($sellerId)
+ {
+ $this->sellerId = $sellerId;
+ }
+ public function getSellerId()
+ {
+ return $this->sellerId;
+ }
+ public function setUsers($users)
+ {
+ $this->users = $users;
+ }
+ public function getUsers()
+ {
+ return $this->users;
+ }
+ public function setWebsiteUrl($websiteUrl)
+ {
+ $this->websiteUrl = $websiteUrl;
+ }
+ public function getWebsiteUrl()
+ {
+ return $this->websiteUrl;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_AccountAdwordsLink extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $adwordsId;
+ public $status;
+
+
+ public function setAdwordsId($adwordsId)
+ {
+ $this->adwordsId = $adwordsId;
+ }
+ public function getAdwordsId()
+ {
+ return $this->adwordsId;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_AccountStatus extends Postman_Google_Collection
+{
+ protected $collection_key = 'dataQualityIssues';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ protected $dataQualityIssuesType = 'Postman_Google_Service_ShoppingContent_AccountStatusDataQualityIssue';
+ protected $dataQualityIssuesDataType = 'array';
+ public $kind;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setDataQualityIssues($dataQualityIssues)
+ {
+ $this->dataQualityIssues = $dataQualityIssues;
+ }
+ public function getDataQualityIssues()
+ {
+ return $this->dataQualityIssues;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_AccountStatusDataQualityIssue extends Postman_Google_Collection
+{
+ protected $collection_key = 'exampleItems';
+ protected $internal_gapi_mappings = array(
+ );
+ public $country;
+ public $displayedValue;
+ protected $exampleItemsType = 'Postman_Google_Service_ShoppingContent_AccountStatusExampleItem';
+ protected $exampleItemsDataType = 'array';
+ public $id;
+ public $lastChecked;
+ public $numItems;
+ public $severity;
+ public $submittedValue;
+
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setDisplayedValue($displayedValue)
+ {
+ $this->displayedValue = $displayedValue;
+ }
+ public function getDisplayedValue()
+ {
+ return $this->displayedValue;
+ }
+ public function setExampleItems($exampleItems)
+ {
+ $this->exampleItems = $exampleItems;
+ }
+ public function getExampleItems()
+ {
+ return $this->exampleItems;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLastChecked($lastChecked)
+ {
+ $this->lastChecked = $lastChecked;
+ }
+ public function getLastChecked()
+ {
+ return $this->lastChecked;
+ }
+ public function setNumItems($numItems)
+ {
+ $this->numItems = $numItems;
+ }
+ public function getNumItems()
+ {
+ return $this->numItems;
+ }
+ public function setSeverity($severity)
+ {
+ $this->severity = $severity;
+ }
+ public function getSeverity()
+ {
+ return $this->severity;
+ }
+ public function setSubmittedValue($submittedValue)
+ {
+ $this->submittedValue = $submittedValue;
+ }
+ public function getSubmittedValue()
+ {
+ return $this->submittedValue;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_AccountStatusExampleItem extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $itemId;
+ public $link;
+ public $submittedValue;
+ public $title;
+ public $valueOnLandingPage;
+
+
+ public function setItemId($itemId)
+ {
+ $this->itemId = $itemId;
+ }
+ public function getItemId()
+ {
+ return $this->itemId;
+ }
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+ public function getLink()
+ {
+ return $this->link;
+ }
+ public function setSubmittedValue($submittedValue)
+ {
+ $this->submittedValue = $submittedValue;
+ }
+ public function getSubmittedValue()
+ {
+ return $this->submittedValue;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setValueOnLandingPage($valueOnLandingPage)
+ {
+ $this->valueOnLandingPage = $valueOnLandingPage;
+ }
+ public function getValueOnLandingPage()
+ {
+ return $this->valueOnLandingPage;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_AccountUser extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $admin;
+ public $emailAddress;
+
+
+ public function setAdmin($admin)
+ {
+ $this->admin = $admin;
+ }
+ public function getAdmin()
+ {
+ return $this->admin;
+ }
+ public function setEmailAddress($emailAddress)
+ {
+ $this->emailAddress = $emailAddress;
+ }
+ public function getEmailAddress()
+ {
+ return $this->emailAddress;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_AccountsCustomBatchRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entriesType = 'Postman_Google_Service_ShoppingContent_AccountsCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_AccountsCustomBatchRequestEntry extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $accountType = 'Postman_Google_Service_ShoppingContent_Account';
+ protected $accountDataType = '';
+ public $accountId;
+ public $batchId;
+ public $merchantId;
+ public $method;
+
+
+ public function setAccount(Postman_Google_Service_ShoppingContent_Account $account)
+ {
+ $this->account = $account;
+ }
+ public function getAccount()
+ {
+ return $this->account;
+ }
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+ public function getMethod()
+ {
+ return $this->method;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_AccountsCustomBatchResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entriesType = 'Postman_Google_Service_ShoppingContent_AccountsCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_AccountsCustomBatchResponseEntry extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $accountType = 'Postman_Google_Service_ShoppingContent_Account';
+ protected $accountDataType = '';
+ public $batchId;
+ protected $errorsType = 'Postman_Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+
+
+ public function setAccount(Postman_Google_Service_ShoppingContent_Account $account)
+ {
+ $this->account = $account;
+ }
+ public function getAccount()
+ {
+ return $this->account;
+ }
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setErrors(Postman_Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_AccountsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'resources';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Postman_Google_Service_ShoppingContent_Account';
+ protected $resourcesDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entriesType = 'Postman_Google_Service_ShoppingContent_AccountstatusesCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_AccountstatusesCustomBatchRequestEntry extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $batchId;
+ public $merchantId;
+ public $method;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+ public function getMethod()
+ {
+ return $this->method;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entriesType = 'Postman_Google_Service_ShoppingContent_AccountstatusesCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_AccountstatusesCustomBatchResponseEntry extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $accountStatusType = 'Postman_Google_Service_ShoppingContent_AccountStatus';
+ protected $accountStatusDataType = '';
+ public $batchId;
+ protected $errorsType = 'Postman_Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+
+
+ public function setAccountStatus(Postman_Google_Service_ShoppingContent_AccountStatus $accountStatus)
+ {
+ $this->accountStatus = $accountStatus;
+ }
+ public function getAccountStatus()
+ {
+ return $this->accountStatus;
+ }
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setErrors(Postman_Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_AccountstatusesListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'resources';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Postman_Google_Service_ShoppingContent_AccountStatus';
+ protected $resourcesDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_Datafeed extends Postman_Google_Collection
+{
+ protected $collection_key = 'intendedDestinations';
+ protected $internal_gapi_mappings = array(
+ );
+ public $attributeLanguage;
+ public $contentLanguage;
+ public $contentType;
+ protected $fetchScheduleType = 'Postman_Google_Service_ShoppingContent_DatafeedFetchSchedule';
+ protected $fetchScheduleDataType = '';
+ public $fileName;
+ protected $formatType = 'Postman_Google_Service_ShoppingContent_DatafeedFormat';
+ protected $formatDataType = '';
+ public $id;
+ public $intendedDestinations;
+ public $kind;
+ public $name;
+ public $targetCountry;
+
+
+ public function setAttributeLanguage($attributeLanguage)
+ {
+ $this->attributeLanguage = $attributeLanguage;
+ }
+ public function getAttributeLanguage()
+ {
+ return $this->attributeLanguage;
+ }
+ public function setContentLanguage($contentLanguage)
+ {
+ $this->contentLanguage = $contentLanguage;
+ }
+ public function getContentLanguage()
+ {
+ return $this->contentLanguage;
+ }
+ public function setContentType($contentType)
+ {
+ $this->contentType = $contentType;
+ }
+ public function getContentType()
+ {
+ return $this->contentType;
+ }
+ public function setFetchSchedule(Postman_Google_Service_ShoppingContent_DatafeedFetchSchedule $fetchSchedule)
+ {
+ $this->fetchSchedule = $fetchSchedule;
+ }
+ public function getFetchSchedule()
+ {
+ return $this->fetchSchedule;
+ }
+ public function setFileName($fileName)
+ {
+ $this->fileName = $fileName;
+ }
+ public function getFileName()
+ {
+ return $this->fileName;
+ }
+ public function setFormat(Postman_Google_Service_ShoppingContent_DatafeedFormat $format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIntendedDestinations($intendedDestinations)
+ {
+ $this->intendedDestinations = $intendedDestinations;
+ }
+ public function getIntendedDestinations()
+ {
+ return $this->intendedDestinations;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setTargetCountry($targetCountry)
+ {
+ $this->targetCountry = $targetCountry;
+ }
+ public function getTargetCountry()
+ {
+ return $this->targetCountry;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_DatafeedFetchSchedule extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $dayOfMonth;
+ public $fetchUrl;
+ public $hour;
+ public $password;
+ public $timeZone;
+ public $username;
+ public $weekday;
+
+
+ public function setDayOfMonth($dayOfMonth)
+ {
+ $this->dayOfMonth = $dayOfMonth;
+ }
+ public function getDayOfMonth()
+ {
+ return $this->dayOfMonth;
+ }
+ public function setFetchUrl($fetchUrl)
+ {
+ $this->fetchUrl = $fetchUrl;
+ }
+ public function getFetchUrl()
+ {
+ return $this->fetchUrl;
+ }
+ public function setHour($hour)
+ {
+ $this->hour = $hour;
+ }
+ public function getHour()
+ {
+ return $this->hour;
+ }
+ public function setPassword($password)
+ {
+ $this->password = $password;
+ }
+ public function getPassword()
+ {
+ return $this->password;
+ }
+ public function setTimeZone($timeZone)
+ {
+ $this->timeZone = $timeZone;
+ }
+ public function getTimeZone()
+ {
+ return $this->timeZone;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+ public function setWeekday($weekday)
+ {
+ $this->weekday = $weekday;
+ }
+ public function getWeekday()
+ {
+ return $this->weekday;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_DatafeedFormat extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $columnDelimiter;
+ public $fileEncoding;
+ public $quotingMode;
+
+
+ public function setColumnDelimiter($columnDelimiter)
+ {
+ $this->columnDelimiter = $columnDelimiter;
+ }
+ public function getColumnDelimiter()
+ {
+ return $this->columnDelimiter;
+ }
+ public function setFileEncoding($fileEncoding)
+ {
+ $this->fileEncoding = $fileEncoding;
+ }
+ public function getFileEncoding()
+ {
+ return $this->fileEncoding;
+ }
+ public function setQuotingMode($quotingMode)
+ {
+ $this->quotingMode = $quotingMode;
+ }
+ public function getQuotingMode()
+ {
+ return $this->quotingMode;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_DatafeedStatus extends Postman_Google_Collection
+{
+ protected $collection_key = 'warnings';
+ protected $internal_gapi_mappings = array(
+ );
+ public $datafeedId;
+ protected $errorsType = 'Postman_Google_Service_ShoppingContent_DatafeedStatusError';
+ protected $errorsDataType = 'array';
+ public $itemsTotal;
+ public $itemsValid;
+ public $kind;
+ public $processingStatus;
+ protected $warningsType = 'Postman_Google_Service_ShoppingContent_DatafeedStatusError';
+ protected $warningsDataType = 'array';
+
+
+ public function setDatafeedId($datafeedId)
+ {
+ $this->datafeedId = $datafeedId;
+ }
+ public function getDatafeedId()
+ {
+ return $this->datafeedId;
+ }
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setItemsTotal($itemsTotal)
+ {
+ $this->itemsTotal = $itemsTotal;
+ }
+ public function getItemsTotal()
+ {
+ return $this->itemsTotal;
+ }
+ public function setItemsValid($itemsValid)
+ {
+ $this->itemsValid = $itemsValid;
+ }
+ public function getItemsValid()
+ {
+ return $this->itemsValid;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_DatafeedStatusError extends Postman_Google_Collection
+{
+ protected $collection_key = 'examples';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $count;
+ protected $examplesType = 'Postman_Google_Service_ShoppingContent_DatafeedStatusExample';
+ protected $examplesDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+ public function setExamples($examples)
+ {
+ $this->examples = $examples;
+ }
+ public function getExamples()
+ {
+ return $this->examples;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_DatafeedStatusExample extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $itemId;
+ public $lineNumber;
+ public $value;
+
+
+ public function setItemId($itemId)
+ {
+ $this->itemId = $itemId;
+ }
+ public function getItemId()
+ {
+ return $this->itemId;
+ }
+ public function setLineNumber($lineNumber)
+ {
+ $this->lineNumber = $lineNumber;
+ }
+ public function getLineNumber()
+ {
+ return $this->lineNumber;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_DatafeedsCustomBatchRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entriesType = 'Postman_Google_Service_ShoppingContent_DatafeedsCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_DatafeedsCustomBatchRequestEntry extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $batchId;
+ protected $datafeedType = 'Postman_Google_Service_ShoppingContent_Datafeed';
+ protected $datafeedDataType = '';
+ public $datafeedId;
+ public $merchantId;
+ public $method;
+
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setDatafeed(Postman_Google_Service_ShoppingContent_Datafeed $datafeed)
+ {
+ $this->datafeed = $datafeed;
+ }
+ public function getDatafeed()
+ {
+ return $this->datafeed;
+ }
+ public function setDatafeedId($datafeedId)
+ {
+ $this->datafeedId = $datafeedId;
+ }
+ public function getDatafeedId()
+ {
+ return $this->datafeedId;
+ }
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+ public function getMethod()
+ {
+ return $this->method;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_DatafeedsCustomBatchResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entriesType = 'Postman_Google_Service_ShoppingContent_DatafeedsCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_DatafeedsCustomBatchResponseEntry extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $batchId;
+ protected $datafeedType = 'Postman_Google_Service_ShoppingContent_Datafeed';
+ protected $datafeedDataType = '';
+ protected $errorsType = 'Postman_Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setDatafeed(Postman_Google_Service_ShoppingContent_Datafeed $datafeed)
+ {
+ $this->datafeed = $datafeed;
+ }
+ public function getDatafeed()
+ {
+ return $this->datafeed;
+ }
+ public function setErrors(Postman_Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_DatafeedsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'resources';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Postman_Google_Service_ShoppingContent_Datafeed';
+ protected $resourcesDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entriesType = 'Postman_Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequestEntry extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $batchId;
+ public $datafeedId;
+ public $merchantId;
+ public $method;
+
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setDatafeedId($datafeedId)
+ {
+ $this->datafeedId = $datafeedId;
+ }
+ public function getDatafeedId()
+ {
+ return $this->datafeedId;
+ }
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+ public function getMethod()
+ {
+ return $this->method;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entriesType = 'Postman_Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponseEntry extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $batchId;
+ protected $datafeedStatusType = 'Postman_Google_Service_ShoppingContent_DatafeedStatus';
+ protected $datafeedStatusDataType = '';
+ protected $errorsType = 'Postman_Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setDatafeedStatus(Postman_Google_Service_ShoppingContent_DatafeedStatus $datafeedStatus)
+ {
+ $this->datafeedStatus = $datafeedStatus;
+ }
+ public function getDatafeedStatus()
+ {
+ return $this->datafeedStatus;
+ }
+ public function setErrors(Postman_Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_DatafeedstatusesListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'resources';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Postman_Google_Service_ShoppingContent_DatafeedStatus';
+ protected $resourcesDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_Error extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $domain;
+ public $message;
+ public $reason;
+
+
+ public function setDomain($domain)
+ {
+ $this->domain = $domain;
+ }
+ public function getDomain()
+ {
+ return $this->domain;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_Errors extends Postman_Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $errorsType = 'Postman_Google_Service_ShoppingContent_Error';
+ protected $errorsDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_Inventory extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $availability;
+ public $kind;
+ protected $priceType = 'Postman_Google_Service_ShoppingContent_Price';
+ protected $priceDataType = '';
+ public $quantity;
+ protected $salePriceType = 'Postman_Google_Service_ShoppingContent_Price';
+ protected $salePriceDataType = '';
+ public $salePriceEffectiveDate;
+
+
+ public function setAvailability($availability)
+ {
+ $this->availability = $availability;
+ }
+ public function getAvailability()
+ {
+ return $this->availability;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPrice(Postman_Google_Service_ShoppingContent_Price $price)
+ {
+ $this->price = $price;
+ }
+ public function getPrice()
+ {
+ return $this->price;
+ }
+ public function setQuantity($quantity)
+ {
+ $this->quantity = $quantity;
+ }
+ public function getQuantity()
+ {
+ return $this->quantity;
+ }
+ public function setSalePrice(Postman_Google_Service_ShoppingContent_Price $salePrice)
+ {
+ $this->salePrice = $salePrice;
+ }
+ public function getSalePrice()
+ {
+ return $this->salePrice;
+ }
+ public function setSalePriceEffectiveDate($salePriceEffectiveDate)
+ {
+ $this->salePriceEffectiveDate = $salePriceEffectiveDate;
+ }
+ public function getSalePriceEffectiveDate()
+ {
+ return $this->salePriceEffectiveDate;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_InventoryCustomBatchRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entriesType = 'Postman_Google_Service_ShoppingContent_InventoryCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_InventoryCustomBatchRequestEntry extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $batchId;
+ protected $inventoryType = 'Postman_Google_Service_ShoppingContent_Inventory';
+ protected $inventoryDataType = '';
+ public $merchantId;
+ public $productId;
+ public $storeCode;
+
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setInventory(Postman_Google_Service_ShoppingContent_Inventory $inventory)
+ {
+ $this->inventory = $inventory;
+ }
+ public function getInventory()
+ {
+ return $this->inventory;
+ }
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+ public function setStoreCode($storeCode)
+ {
+ $this->storeCode = $storeCode;
+ }
+ public function getStoreCode()
+ {
+ return $this->storeCode;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_InventoryCustomBatchResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entriesType = 'Postman_Google_Service_ShoppingContent_InventoryCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_InventoryCustomBatchResponseEntry extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $batchId;
+ protected $errorsType = 'Postman_Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setErrors(Postman_Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_InventorySetRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $availability;
+ protected $priceType = 'Postman_Google_Service_ShoppingContent_Price';
+ protected $priceDataType = '';
+ public $quantity;
+ protected $salePriceType = 'Postman_Google_Service_ShoppingContent_Price';
+ protected $salePriceDataType = '';
+ public $salePriceEffectiveDate;
+
+
+ public function setAvailability($availability)
+ {
+ $this->availability = $availability;
+ }
+ public function getAvailability()
+ {
+ return $this->availability;
+ }
+ public function setPrice(Postman_Google_Service_ShoppingContent_Price $price)
+ {
+ $this->price = $price;
+ }
+ public function getPrice()
+ {
+ return $this->price;
+ }
+ public function setQuantity($quantity)
+ {
+ $this->quantity = $quantity;
+ }
+ public function getQuantity()
+ {
+ return $this->quantity;
+ }
+ public function setSalePrice(Postman_Google_Service_ShoppingContent_Price $salePrice)
+ {
+ $this->salePrice = $salePrice;
+ }
+ public function getSalePrice()
+ {
+ return $this->salePrice;
+ }
+ public function setSalePriceEffectiveDate($salePriceEffectiveDate)
+ {
+ $this->salePriceEffectiveDate = $salePriceEffectiveDate;
+ }
+ public function getSalePriceEffectiveDate()
+ {
+ return $this->salePriceEffectiveDate;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_InventorySetResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_LoyaltyPoints extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+ public $pointsValue;
+ public $ratio;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPointsValue($pointsValue)
+ {
+ $this->pointsValue = $pointsValue;
+ }
+ public function getPointsValue()
+ {
+ return $this->pointsValue;
+ }
+ public function setRatio($ratio)
+ {
+ $this->ratio = $ratio;
+ }
+ public function getRatio()
+ {
+ return $this->ratio;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_Price extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $currency;
+ public $value;
+
+
+ public function setCurrency($currency)
+ {
+ $this->currency = $currency;
+ }
+ public function getCurrency()
+ {
+ return $this->currency;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_Product extends Postman_Google_Collection
+{
+ protected $collection_key = 'warnings';
+ protected $internal_gapi_mappings = array(
+ );
+ public $additionalImageLinks;
+ public $adult;
+ public $adwordsGrouping;
+ public $adwordsLabels;
+ public $adwordsRedirect;
+ public $ageGroup;
+ public $availability;
+ public $availabilityDate;
+ public $brand;
+ public $channel;
+ public $color;
+ public $condition;
+ public $contentLanguage;
+ protected $customAttributesType = 'Postman_Google_Service_ShoppingContent_ProductCustomAttribute';
+ protected $customAttributesDataType = 'array';
+ protected $customGroupsType = 'Postman_Google_Service_ShoppingContent_ProductCustomGroup';
+ protected $customGroupsDataType = 'array';
+ public $customLabel0;
+ public $customLabel1;
+ public $customLabel2;
+ public $customLabel3;
+ public $customLabel4;
+ public $description;
+ protected $destinationsType = 'Postman_Google_Service_ShoppingContent_ProductDestination';
+ protected $destinationsDataType = 'array';
+ public $energyEfficiencyClass;
+ public $expirationDate;
+ public $gender;
+ public $googleProductCategory;
+ public $gtin;
+ public $id;
+ public $identifierExists;
+ public $imageLink;
+ protected $installmentType = 'Postman_Google_Service_ShoppingContent_ProductInstallment';
+ protected $installmentDataType = '';
+ public $isBundle;
+ public $itemGroupId;
+ public $kind;
+ public $link;
+ protected $loyaltyPointsType = 'Postman_Google_Service_ShoppingContent_LoyaltyPoints';
+ protected $loyaltyPointsDataType = '';
+ public $material;
+ public $mobileLink;
+ public $mpn;
+ public $multipack;
+ public $offerId;
+ public $onlineOnly;
+ public $pattern;
+ protected $priceType = 'Postman_Google_Service_ShoppingContent_Price';
+ protected $priceDataType = '';
+ public $productType;
+ protected $salePriceType = 'Postman_Google_Service_ShoppingContent_Price';
+ protected $salePriceDataType = '';
+ public $salePriceEffectiveDate;
+ protected $shippingType = 'Postman_Google_Service_ShoppingContent_ProductShipping';
+ protected $shippingDataType = 'array';
+ public $shippingLabel;
+ protected $shippingWeightType = 'Postman_Google_Service_ShoppingContent_ProductShippingWeight';
+ protected $shippingWeightDataType = '';
+ public $sizeSystem;
+ public $sizeType;
+ public $sizes;
+ public $targetCountry;
+ protected $taxesType = 'Postman_Google_Service_ShoppingContent_ProductTax';
+ protected $taxesDataType = 'array';
+ public $title;
+ protected $unitPricingBaseMeasureType = 'Postman_Google_Service_ShoppingContent_ProductUnitPricingBaseMeasure';
+ protected $unitPricingBaseMeasureDataType = '';
+ protected $unitPricingMeasureType = 'Postman_Google_Service_ShoppingContent_ProductUnitPricingMeasure';
+ protected $unitPricingMeasureDataType = '';
+ public $validatedDestinations;
+ protected $warningsType = 'Postman_Google_Service_ShoppingContent_Error';
+ protected $warningsDataType = 'array';
+
+
+ public function setAdditionalImageLinks($additionalImageLinks)
+ {
+ $this->additionalImageLinks = $additionalImageLinks;
+ }
+ public function getAdditionalImageLinks()
+ {
+ return $this->additionalImageLinks;
+ }
+ public function setAdult($adult)
+ {
+ $this->adult = $adult;
+ }
+ public function getAdult()
+ {
+ return $this->adult;
+ }
+ public function setAdwordsGrouping($adwordsGrouping)
+ {
+ $this->adwordsGrouping = $adwordsGrouping;
+ }
+ public function getAdwordsGrouping()
+ {
+ return $this->adwordsGrouping;
+ }
+ public function setAdwordsLabels($adwordsLabels)
+ {
+ $this->adwordsLabels = $adwordsLabels;
+ }
+ public function getAdwordsLabels()
+ {
+ return $this->adwordsLabels;
+ }
+ public function setAdwordsRedirect($adwordsRedirect)
+ {
+ $this->adwordsRedirect = $adwordsRedirect;
+ }
+ public function getAdwordsRedirect()
+ {
+ return $this->adwordsRedirect;
+ }
+ public function setAgeGroup($ageGroup)
+ {
+ $this->ageGroup = $ageGroup;
+ }
+ public function getAgeGroup()
+ {
+ return $this->ageGroup;
+ }
+ public function setAvailability($availability)
+ {
+ $this->availability = $availability;
+ }
+ public function getAvailability()
+ {
+ return $this->availability;
+ }
+ public function setAvailabilityDate($availabilityDate)
+ {
+ $this->availabilityDate = $availabilityDate;
+ }
+ public function getAvailabilityDate()
+ {
+ return $this->availabilityDate;
+ }
+ public function setBrand($brand)
+ {
+ $this->brand = $brand;
+ }
+ public function getBrand()
+ {
+ return $this->brand;
+ }
+ public function setChannel($channel)
+ {
+ $this->channel = $channel;
+ }
+ public function getChannel()
+ {
+ return $this->channel;
+ }
+ public function setColor($color)
+ {
+ $this->color = $color;
+ }
+ public function getColor()
+ {
+ return $this->color;
+ }
+ public function setCondition($condition)
+ {
+ $this->condition = $condition;
+ }
+ public function getCondition()
+ {
+ return $this->condition;
+ }
+ public function setContentLanguage($contentLanguage)
+ {
+ $this->contentLanguage = $contentLanguage;
+ }
+ public function getContentLanguage()
+ {
+ return $this->contentLanguage;
+ }
+ public function setCustomAttributes($customAttributes)
+ {
+ $this->customAttributes = $customAttributes;
+ }
+ public function getCustomAttributes()
+ {
+ return $this->customAttributes;
+ }
+ public function setCustomGroups($customGroups)
+ {
+ $this->customGroups = $customGroups;
+ }
+ public function getCustomGroups()
+ {
+ return $this->customGroups;
+ }
+ public function setCustomLabel0($customLabel0)
+ {
+ $this->customLabel0 = $customLabel0;
+ }
+ public function getCustomLabel0()
+ {
+ return $this->customLabel0;
+ }
+ public function setCustomLabel1($customLabel1)
+ {
+ $this->customLabel1 = $customLabel1;
+ }
+ public function getCustomLabel1()
+ {
+ return $this->customLabel1;
+ }
+ public function setCustomLabel2($customLabel2)
+ {
+ $this->customLabel2 = $customLabel2;
+ }
+ public function getCustomLabel2()
+ {
+ return $this->customLabel2;
+ }
+ public function setCustomLabel3($customLabel3)
+ {
+ $this->customLabel3 = $customLabel3;
+ }
+ public function getCustomLabel3()
+ {
+ return $this->customLabel3;
+ }
+ public function setCustomLabel4($customLabel4)
+ {
+ $this->customLabel4 = $customLabel4;
+ }
+ public function getCustomLabel4()
+ {
+ return $this->customLabel4;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDestinations($destinations)
+ {
+ $this->destinations = $destinations;
+ }
+ public function getDestinations()
+ {
+ return $this->destinations;
+ }
+ public function setEnergyEfficiencyClass($energyEfficiencyClass)
+ {
+ $this->energyEfficiencyClass = $energyEfficiencyClass;
+ }
+ public function getEnergyEfficiencyClass()
+ {
+ return $this->energyEfficiencyClass;
+ }
+ public function setExpirationDate($expirationDate)
+ {
+ $this->expirationDate = $expirationDate;
+ }
+ public function getExpirationDate()
+ {
+ return $this->expirationDate;
+ }
+ public function setGender($gender)
+ {
+ $this->gender = $gender;
+ }
+ public function getGender()
+ {
+ return $this->gender;
+ }
+ public function setGoogleProductCategory($googleProductCategory)
+ {
+ $this->googleProductCategory = $googleProductCategory;
+ }
+ public function getGoogleProductCategory()
+ {
+ return $this->googleProductCategory;
+ }
+ public function setGtin($gtin)
+ {
+ $this->gtin = $gtin;
+ }
+ public function getGtin()
+ {
+ return $this->gtin;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIdentifierExists($identifierExists)
+ {
+ $this->identifierExists = $identifierExists;
+ }
+ public function getIdentifierExists()
+ {
+ return $this->identifierExists;
+ }
+ public function setImageLink($imageLink)
+ {
+ $this->imageLink = $imageLink;
+ }
+ public function getImageLink()
+ {
+ return $this->imageLink;
+ }
+ public function setInstallment(Postman_Google_Service_ShoppingContent_ProductInstallment $installment)
+ {
+ $this->installment = $installment;
+ }
+ public function getInstallment()
+ {
+ return $this->installment;
+ }
+ public function setIsBundle($isBundle)
+ {
+ $this->isBundle = $isBundle;
+ }
+ public function getIsBundle()
+ {
+ return $this->isBundle;
+ }
+ public function setItemGroupId($itemGroupId)
+ {
+ $this->itemGroupId = $itemGroupId;
+ }
+ public function getItemGroupId()
+ {
+ return $this->itemGroupId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+ public function getLink()
+ {
+ return $this->link;
+ }
+ public function setLoyaltyPoints(Postman_Google_Service_ShoppingContent_LoyaltyPoints $loyaltyPoints)
+ {
+ $this->loyaltyPoints = $loyaltyPoints;
+ }
+ public function getLoyaltyPoints()
+ {
+ return $this->loyaltyPoints;
+ }
+ public function setMaterial($material)
+ {
+ $this->material = $material;
+ }
+ public function getMaterial()
+ {
+ return $this->material;
+ }
+ public function setMobileLink($mobileLink)
+ {
+ $this->mobileLink = $mobileLink;
+ }
+ public function getMobileLink()
+ {
+ return $this->mobileLink;
+ }
+ public function setMpn($mpn)
+ {
+ $this->mpn = $mpn;
+ }
+ public function getMpn()
+ {
+ return $this->mpn;
+ }
+ public function setMultipack($multipack)
+ {
+ $this->multipack = $multipack;
+ }
+ public function getMultipack()
+ {
+ return $this->multipack;
+ }
+ public function setOfferId($offerId)
+ {
+ $this->offerId = $offerId;
+ }
+ public function getOfferId()
+ {
+ return $this->offerId;
+ }
+ public function setOnlineOnly($onlineOnly)
+ {
+ $this->onlineOnly = $onlineOnly;
+ }
+ public function getOnlineOnly()
+ {
+ return $this->onlineOnly;
+ }
+ public function setPattern($pattern)
+ {
+ $this->pattern = $pattern;
+ }
+ public function getPattern()
+ {
+ return $this->pattern;
+ }
+ public function setPrice(Postman_Google_Service_ShoppingContent_Price $price)
+ {
+ $this->price = $price;
+ }
+ public function getPrice()
+ {
+ return $this->price;
+ }
+ public function setProductType($productType)
+ {
+ $this->productType = $productType;
+ }
+ public function getProductType()
+ {
+ return $this->productType;
+ }
+ public function setSalePrice(Postman_Google_Service_ShoppingContent_Price $salePrice)
+ {
+ $this->salePrice = $salePrice;
+ }
+ public function getSalePrice()
+ {
+ return $this->salePrice;
+ }
+ public function setSalePriceEffectiveDate($salePriceEffectiveDate)
+ {
+ $this->salePriceEffectiveDate = $salePriceEffectiveDate;
+ }
+ public function getSalePriceEffectiveDate()
+ {
+ return $this->salePriceEffectiveDate;
+ }
+ public function setShipping($shipping)
+ {
+ $this->shipping = $shipping;
+ }
+ public function getShipping()
+ {
+ return $this->shipping;
+ }
+ public function setShippingLabel($shippingLabel)
+ {
+ $this->shippingLabel = $shippingLabel;
+ }
+ public function getShippingLabel()
+ {
+ return $this->shippingLabel;
+ }
+ public function setShippingWeight(Postman_Google_Service_ShoppingContent_ProductShippingWeight $shippingWeight)
+ {
+ $this->shippingWeight = $shippingWeight;
+ }
+ public function getShippingWeight()
+ {
+ return $this->shippingWeight;
+ }
+ public function setSizeSystem($sizeSystem)
+ {
+ $this->sizeSystem = $sizeSystem;
+ }
+ public function getSizeSystem()
+ {
+ return $this->sizeSystem;
+ }
+ public function setSizeType($sizeType)
+ {
+ $this->sizeType = $sizeType;
+ }
+ public function getSizeType()
+ {
+ return $this->sizeType;
+ }
+ public function setSizes($sizes)
+ {
+ $this->sizes = $sizes;
+ }
+ public function getSizes()
+ {
+ return $this->sizes;
+ }
+ public function setTargetCountry($targetCountry)
+ {
+ $this->targetCountry = $targetCountry;
+ }
+ public function getTargetCountry()
+ {
+ return $this->targetCountry;
+ }
+ public function setTaxes($taxes)
+ {
+ $this->taxes = $taxes;
+ }
+ public function getTaxes()
+ {
+ return $this->taxes;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setUnitPricingBaseMeasure(Postman_Google_Service_ShoppingContent_ProductUnitPricingBaseMeasure $unitPricingBaseMeasure)
+ {
+ $this->unitPricingBaseMeasure = $unitPricingBaseMeasure;
+ }
+ public function getUnitPricingBaseMeasure()
+ {
+ return $this->unitPricingBaseMeasure;
+ }
+ public function setUnitPricingMeasure(Postman_Google_Service_ShoppingContent_ProductUnitPricingMeasure $unitPricingMeasure)
+ {
+ $this->unitPricingMeasure = $unitPricingMeasure;
+ }
+ public function getUnitPricingMeasure()
+ {
+ return $this->unitPricingMeasure;
+ }
+ public function setValidatedDestinations($validatedDestinations)
+ {
+ $this->validatedDestinations = $validatedDestinations;
+ }
+ public function getValidatedDestinations()
+ {
+ return $this->validatedDestinations;
+ }
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_ProductCustomAttribute extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+ public $type;
+ public $unit;
+ public $value;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUnit($unit)
+ {
+ $this->unit = $unit;
+ }
+ public function getUnit()
+ {
+ return $this->unit;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_ProductCustomGroup extends Postman_Google_Collection
+{
+ protected $collection_key = 'attributes';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $attributesType = 'Postman_Google_Service_ShoppingContent_ProductCustomAttribute';
+ protected $attributesDataType = 'array';
+ public $name;
+
+
+ public function setAttributes($attributes)
+ {
+ $this->attributes = $attributes;
+ }
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_ProductDestination extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $destinationName;
+ public $intention;
+
+
+ public function setDestinationName($destinationName)
+ {
+ $this->destinationName = $destinationName;
+ }
+ public function getDestinationName()
+ {
+ return $this->destinationName;
+ }
+ public function setIntention($intention)
+ {
+ $this->intention = $intention;
+ }
+ public function getIntention()
+ {
+ return $this->intention;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_ProductInstallment extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $amountType = 'Postman_Google_Service_ShoppingContent_Price';
+ protected $amountDataType = '';
+ public $months;
+
+
+ public function setAmount(Postman_Google_Service_ShoppingContent_Price $amount)
+ {
+ $this->amount = $amount;
+ }
+ public function getAmount()
+ {
+ return $this->amount;
+ }
+ public function setMonths($months)
+ {
+ $this->months = $months;
+ }
+ public function getMonths()
+ {
+ return $this->months;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_ProductShipping extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $country;
+ public $locationGroupName;
+ public $locationId;
+ public $postalCode;
+ protected $priceType = 'Postman_Google_Service_ShoppingContent_Price';
+ protected $priceDataType = '';
+ public $region;
+ public $service;
+
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setLocationGroupName($locationGroupName)
+ {
+ $this->locationGroupName = $locationGroupName;
+ }
+ public function getLocationGroupName()
+ {
+ return $this->locationGroupName;
+ }
+ public function setLocationId($locationId)
+ {
+ $this->locationId = $locationId;
+ }
+ public function getLocationId()
+ {
+ return $this->locationId;
+ }
+ public function setPostalCode($postalCode)
+ {
+ $this->postalCode = $postalCode;
+ }
+ public function getPostalCode()
+ {
+ return $this->postalCode;
+ }
+ public function setPrice(Postman_Google_Service_ShoppingContent_Price $price)
+ {
+ $this->price = $price;
+ }
+ public function getPrice()
+ {
+ return $this->price;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setService($service)
+ {
+ $this->service = $service;
+ }
+ public function getService()
+ {
+ return $this->service;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_ProductShippingWeight extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $unit;
+ public $value;
+
+
+ public function setUnit($unit)
+ {
+ $this->unit = $unit;
+ }
+ public function getUnit()
+ {
+ return $this->unit;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_ProductStatus extends Postman_Google_Collection
+{
+ protected $collection_key = 'destinationStatuses';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $dataQualityIssuesType = 'Postman_Google_Service_ShoppingContent_ProductStatusDataQualityIssue';
+ protected $dataQualityIssuesDataType = 'array';
+ protected $destinationStatusesType = 'Postman_Google_Service_ShoppingContent_ProductStatusDestinationStatus';
+ protected $destinationStatusesDataType = 'array';
+ public $kind;
+ public $link;
+ public $productId;
+ public $title;
+
+
+ public function setDataQualityIssues($dataQualityIssues)
+ {
+ $this->dataQualityIssues = $dataQualityIssues;
+ }
+ public function getDataQualityIssues()
+ {
+ return $this->dataQualityIssues;
+ }
+ public function setDestinationStatuses($destinationStatuses)
+ {
+ $this->destinationStatuses = $destinationStatuses;
+ }
+ public function getDestinationStatuses()
+ {
+ return $this->destinationStatuses;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+ public function getLink()
+ {
+ return $this->link;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_ProductStatusDataQualityIssue extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $detail;
+ public $fetchStatus;
+ public $id;
+ public $location;
+ public $timestamp;
+ public $valueOnLandingPage;
+ public $valueProvided;
+
+
+ public function setDetail($detail)
+ {
+ $this->detail = $detail;
+ }
+ public function getDetail()
+ {
+ return $this->detail;
+ }
+ public function setFetchStatus($fetchStatus)
+ {
+ $this->fetchStatus = $fetchStatus;
+ }
+ public function getFetchStatus()
+ {
+ return $this->fetchStatus;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setTimestamp($timestamp)
+ {
+ $this->timestamp = $timestamp;
+ }
+ public function getTimestamp()
+ {
+ return $this->timestamp;
+ }
+ public function setValueOnLandingPage($valueOnLandingPage)
+ {
+ $this->valueOnLandingPage = $valueOnLandingPage;
+ }
+ public function getValueOnLandingPage()
+ {
+ return $this->valueOnLandingPage;
+ }
+ public function setValueProvided($valueProvided)
+ {
+ $this->valueProvided = $valueProvided;
+ }
+ public function getValueProvided()
+ {
+ return $this->valueProvided;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_ProductStatusDestinationStatus extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $approvalStatus;
+ public $destination;
+ public $intention;
+
+
+ public function setApprovalStatus($approvalStatus)
+ {
+ $this->approvalStatus = $approvalStatus;
+ }
+ public function getApprovalStatus()
+ {
+ return $this->approvalStatus;
+ }
+ public function setDestination($destination)
+ {
+ $this->destination = $destination;
+ }
+ public function getDestination()
+ {
+ return $this->destination;
+ }
+ public function setIntention($intention)
+ {
+ $this->intention = $intention;
+ }
+ public function getIntention()
+ {
+ return $this->intention;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_ProductTax extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $country;
+ public $locationId;
+ public $postalCode;
+ public $rate;
+ public $region;
+ public $taxShip;
+
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setLocationId($locationId)
+ {
+ $this->locationId = $locationId;
+ }
+ public function getLocationId()
+ {
+ return $this->locationId;
+ }
+ public function setPostalCode($postalCode)
+ {
+ $this->postalCode = $postalCode;
+ }
+ public function getPostalCode()
+ {
+ return $this->postalCode;
+ }
+ public function setRate($rate)
+ {
+ $this->rate = $rate;
+ }
+ public function getRate()
+ {
+ return $this->rate;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setTaxShip($taxShip)
+ {
+ $this->taxShip = $taxShip;
+ }
+ public function getTaxShip()
+ {
+ return $this->taxShip;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_ProductUnitPricingBaseMeasure extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $unit;
+ public $value;
+
+
+ public function setUnit($unit)
+ {
+ $this->unit = $unit;
+ }
+ public function getUnit()
+ {
+ return $this->unit;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_ProductUnitPricingMeasure extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $unit;
+ public $value;
+
+
+ public function setUnit($unit)
+ {
+ $this->unit = $unit;
+ }
+ public function getUnit()
+ {
+ return $this->unit;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_ProductsCustomBatchRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entriesType = 'Postman_Google_Service_ShoppingContent_ProductsCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_ProductsCustomBatchRequestEntry extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $batchId;
+ public $merchantId;
+ public $method;
+ protected $productType = 'Postman_Google_Service_ShoppingContent_Product';
+ protected $productDataType = '';
+ public $productId;
+
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+ public function getMethod()
+ {
+ return $this->method;
+ }
+ public function setProduct(Postman_Google_Service_ShoppingContent_Product $product)
+ {
+ $this->product = $product;
+ }
+ public function getProduct()
+ {
+ return $this->product;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_ProductsCustomBatchResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entriesType = 'Postman_Google_Service_ShoppingContent_ProductsCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_ProductsCustomBatchResponseEntry extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $batchId;
+ protected $errorsType = 'Postman_Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+ protected $productType = 'Postman_Google_Service_ShoppingContent_Product';
+ protected $productDataType = '';
+
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setErrors(Postman_Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setProduct(Postman_Google_Service_ShoppingContent_Product $product)
+ {
+ $this->product = $product;
+ }
+ public function getProduct()
+ {
+ return $this->product;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_ProductsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'resources';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Postman_Google_Service_ShoppingContent_Product';
+ protected $resourcesDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_ProductstatusesCustomBatchRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entriesType = 'Postman_Google_Service_ShoppingContent_ProductstatusesCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_ProductstatusesCustomBatchRequestEntry extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $batchId;
+ public $merchantId;
+ public $method;
+ public $productId;
+
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+ public function getMethod()
+ {
+ return $this->method;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entriesType = 'Postman_Google_Service_ShoppingContent_ProductstatusesCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_ProductstatusesCustomBatchResponseEntry extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $batchId;
+ protected $errorsType = 'Postman_Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+ protected $productStatusType = 'Postman_Google_Service_ShoppingContent_ProductStatus';
+ protected $productStatusDataType = '';
+
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setErrors(Postman_Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setProductStatus(Postman_Google_Service_ShoppingContent_ProductStatus $productStatus)
+ {
+ $this->productStatus = $productStatus;
+ }
+ public function getProductStatus()
+ {
+ return $this->productStatus;
+ }
+}
+
+class Postman_Google_Service_ShoppingContent_ProductstatusesListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'resources';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Postman_Google_Service_ShoppingContent_ProductStatus';
+ protected $resourcesDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/SiteVerification.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/SiteVerification.php
new file mode 100644
index 0000000..edf6870
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/SiteVerification.php
@@ -0,0 +1,404 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for SiteVerification (v1).
+ *
+ * <p>
+ * Lets you programatically verify ownership of websites or domains with Google.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/site-verification/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_SiteVerification extends Postman_Google_Service
+{
+ /** Manage the list of sites and domains you control. */
+ const SITEVERIFICATION =
+ "https://www.googleapis.com/auth/siteverification";
+ /** Manage your new site verifications with Google. */
+ const SITEVERIFICATION_VERIFY_ONLY =
+ "https://www.googleapis.com/auth/siteverification.verify_only";
+
+ public $webResource;
+
+
+ /**
+ * Constructs the internal representation of the SiteVerification service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'siteVerification/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'siteVerification';
+
+ $this->webResource = new Postman_Google_Service_SiteVerification_WebResource_Resource(
+ $this,
+ $this->serviceName,
+ 'webResource',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'webResource/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'webResource/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'getToken' => array(
+ 'path' => 'token',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'insert' => array(
+ 'path' => 'webResource',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'verificationMethod' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'webResource',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),'patch' => array(
+ 'path' => 'webResource/{id}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'webResource/{id}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "webResource" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $siteVerificationService = new Postman_Google_Service_SiteVerification(...);
+ * $webResource = $siteVerificationService->webResource;
+ * </code>
+ */
+class Postman_Google_Service_SiteVerification_WebResource_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Relinquish ownership of a website or domain. (webResource.delete)
+ *
+ * @param string $id The id of a verified site or domain.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Get the most current data for a website or domain. (webResource.get)
+ *
+ * @param string $id The id of a verified site or domain.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SiteVerification_SiteVerificationWebResourceResource
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_SiteVerification_SiteVerificationWebResourceResource");
+ }
+
+ /**
+ * Get a verification token for placing on a website or domain.
+ * (webResource.getToken)
+ *
+ * @param Postman_Google_SiteVerificationWebResourceGettokenRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SiteVerification_SiteVerificationWebResourceGettokenResponse
+ */
+ public function getToken(Postman_Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getToken', array($params), "Postman_Google_Service_SiteVerification_SiteVerificationWebResourceGettokenResponse");
+ }
+
+ /**
+ * Attempt verification of a website or domain. (webResource.insert)
+ *
+ * @param string $verificationMethod The method to use for verifying a site or
+ * domain.
+ * @param Postman_Google_SiteVerificationWebResourceResource $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SiteVerification_SiteVerificationWebResourceResource
+ */
+ public function insert($verificationMethod, Postman_Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody, $optParams = array())
+ {
+ $params = array('verificationMethod' => $verificationMethod, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_SiteVerification_SiteVerificationWebResourceResource");
+ }
+
+ /**
+ * Get the list of your verified websites and domains.
+ * (webResource.listWebResource)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SiteVerification_SiteVerificationWebResourceListResponse
+ */
+ public function listWebResource($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_SiteVerification_SiteVerificationWebResourceListResponse");
+ }
+
+ /**
+ * Modify the list of owners for your website or domain. This method supports
+ * patch semantics. (webResource.patch)
+ *
+ * @param string $id The id of a verified site or domain.
+ * @param Postman_Google_SiteVerificationWebResourceResource $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SiteVerification_SiteVerificationWebResourceResource
+ */
+ public function patch($id, Postman_Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_SiteVerification_SiteVerificationWebResourceResource");
+ }
+
+ /**
+ * Modify the list of owners for your website or domain. (webResource.update)
+ *
+ * @param string $id The id of a verified site or domain.
+ * @param Postman_Google_SiteVerificationWebResourceResource $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_SiteVerification_SiteVerificationWebResourceResource
+ */
+ public function update($id, Postman_Google_Service_SiteVerification_SiteVerificationWebResourceResource $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_SiteVerification_SiteVerificationWebResourceResource");
+ }
+}
+
+
+
+
+class Postman_Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $siteType = 'Postman_Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequestSite';
+ protected $siteDataType = '';
+ public $verificationMethod;
+
+
+ public function setSite(Postman_Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequestSite $site)
+ {
+ $this->site = $site;
+ }
+ public function getSite()
+ {
+ return $this->site;
+ }
+ public function setVerificationMethod($verificationMethod)
+ {
+ $this->verificationMethod = $verificationMethod;
+ }
+ public function getVerificationMethod()
+ {
+ return $this->verificationMethod;
+ }
+}
+
+class Postman_Google_Service_SiteVerification_SiteVerificationWebResourceGettokenRequestSite extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $identifier;
+ public $type;
+
+
+ public function setIdentifier($identifier)
+ {
+ $this->identifier = $identifier;
+ }
+ public function getIdentifier()
+ {
+ return $this->identifier;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_SiteVerification_SiteVerificationWebResourceGettokenResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $method;
+ public $token;
+
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+ public function getMethod()
+ {
+ return $this->method;
+ }
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+ public function getToken()
+ {
+ return $this->token;
+ }
+}
+
+class Postman_Google_Service_SiteVerification_SiteVerificationWebResourceListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_SiteVerification_SiteVerificationWebResourceResource';
+ protected $itemsDataType = 'array';
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+}
+
+class Postman_Google_Service_SiteVerification_SiteVerificationWebResourceResource extends Postman_Google_Collection
+{
+ protected $collection_key = 'owners';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $owners;
+ protected $siteType = 'Postman_Google_Service_SiteVerification_SiteVerificationWebResourceResourceSite';
+ protected $siteDataType = '';
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setOwners($owners)
+ {
+ $this->owners = $owners;
+ }
+ public function getOwners()
+ {
+ return $this->owners;
+ }
+ public function setSite(Postman_Google_Service_SiteVerification_SiteVerificationWebResourceResourceSite $site)
+ {
+ $this->site = $site;
+ }
+ public function getSite()
+ {
+ return $this->site;
+ }
+}
+
+class Postman_Google_Service_SiteVerification_SiteVerificationWebResourceResourceSite extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $identifier;
+ public $type;
+
+
+ public function setIdentifier($identifier)
+ {
+ $this->identifier = $identifier;
+ }
+ public function getIdentifier()
+ {
+ return $this->identifier;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Spectrum.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Spectrum.php
new file mode 100644
index 0000000..7b86f41
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Spectrum.php
@@ -0,0 +1,1751 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Spectrum (v1explorer).
+ *
+ * <p>
+ * API for spectrum-management functions.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="http://developers.google.com/spectrum" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Spectrum extends Postman_Google_Service
+{
+
+
+ public $paws;
+
+
+ /**
+ * Constructs the internal representation of the Spectrum service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'spectrum/v1explorer/paws/';
+ $this->version = 'v1explorer';
+ $this->serviceName = 'spectrum';
+
+ $this->paws = new Postman_Google_Service_Spectrum_Paws_Resource(
+ $this,
+ $this->serviceName,
+ 'paws',
+ array(
+ 'methods' => array(
+ 'getSpectrum' => array(
+ 'path' => 'getSpectrum',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'getSpectrumBatch' => array(
+ 'path' => 'getSpectrumBatch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'init' => array(
+ 'path' => 'init',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'notifySpectrumUse' => array(
+ 'path' => 'notifySpectrumUse',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'register' => array(
+ 'path' => 'register',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'verifyDevice' => array(
+ 'path' => 'verifyDevice',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "paws" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $spectrumService = new Postman_Google_Service_Spectrum(...);
+ * $paws = $spectrumService->paws;
+ * </code>
+ */
+class Postman_Google_Service_Spectrum_Paws_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Requests information about the available spectrum for a device at a location.
+ * Requests from a fixed-mode device must include owner information so the
+ * device can be registered with the database. (paws.getSpectrum)
+ *
+ * @param Postman_Google_PawsGetSpectrumRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Spectrum_PawsGetSpectrumResponse
+ */
+ public function getSpectrum(Postman_Google_Service_Spectrum_PawsGetSpectrumRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getSpectrum', array($params), "Postman_Google_Service_Spectrum_PawsGetSpectrumResponse");
+ }
+
+ /**
+ * The Google Spectrum Database does not support batch requests, so this method
+ * always yields an UNIMPLEMENTED error. (paws.getSpectrumBatch)
+ *
+ * @param Postman_Google_PawsGetSpectrumBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Spectrum_PawsGetSpectrumBatchResponse
+ */
+ public function getSpectrumBatch(Postman_Google_Service_Spectrum_PawsGetSpectrumBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getSpectrumBatch', array($params), "Postman_Google_Service_Spectrum_PawsGetSpectrumBatchResponse");
+ }
+
+ /**
+ * Initializes the connection between a white space device and the database.
+ * (paws.init)
+ *
+ * @param Postman_Google_PawsInitRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Spectrum_PawsInitResponse
+ */
+ public function init(Postman_Google_Service_Spectrum_PawsInitRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('init', array($params), "Postman_Google_Service_Spectrum_PawsInitResponse");
+ }
+
+ /**
+ * Notifies the database that the device has selected certain frequency ranges
+ * for transmission. Only to be invoked when required by the regulator. The
+ * Google Spectrum Database does not operate in domains that require
+ * notification, so this always yields an UNIMPLEMENTED error.
+ * (paws.notifySpectrumUse)
+ *
+ * @param Postman_Google_PawsNotifySpectrumUseRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Spectrum_PawsNotifySpectrumUseResponse
+ */
+ public function notifySpectrumUse(Postman_Google_Service_Spectrum_PawsNotifySpectrumUseRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('notifySpectrumUse', array($params), "Postman_Google_Service_Spectrum_PawsNotifySpectrumUseResponse");
+ }
+
+ /**
+ * The Google Spectrum Database implements registration in the getSpectrum
+ * method. As such this always returns an UNIMPLEMENTED error. (paws.register)
+ *
+ * @param Postman_Google_PawsRegisterRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Spectrum_PawsRegisterResponse
+ */
+ public function register(Postman_Google_Service_Spectrum_PawsRegisterRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('register', array($params), "Postman_Google_Service_Spectrum_PawsRegisterResponse");
+ }
+
+ /**
+ * Validates a device for white space use in accordance with regulatory rules.
+ * The Google Spectrum Database does not support master/slave configurations, so
+ * this always yields an UNIMPLEMENTED error. (paws.verifyDevice)
+ *
+ * @param Postman_Google_PawsVerifyDeviceRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Spectrum_PawsVerifyDeviceResponse
+ */
+ public function verifyDevice(Postman_Google_Service_Spectrum_PawsVerifyDeviceRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('verifyDevice', array($params), "Postman_Google_Service_Spectrum_PawsVerifyDeviceResponse");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Spectrum_AntennaCharacteristics extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $height;
+ public $heightType;
+ public $heightUncertainty;
+
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setHeightType($heightType)
+ {
+ $this->heightType = $heightType;
+ }
+ public function getHeightType()
+ {
+ return $this->heightType;
+ }
+ public function setHeightUncertainty($heightUncertainty)
+ {
+ $this->heightUncertainty = $heightUncertainty;
+ }
+ public function getHeightUncertainty()
+ {
+ return $this->heightUncertainty;
+ }
+}
+
+class Postman_Google_Service_Spectrum_DatabaseSpec extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+ public $uri;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setUri($uri)
+ {
+ $this->uri = $uri;
+ }
+ public function getUri()
+ {
+ return $this->uri;
+ }
+}
+
+class Postman_Google_Service_Spectrum_DbUpdateSpec extends Postman_Google_Collection
+{
+ protected $collection_key = 'databases';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $databasesType = 'Postman_Google_Service_Spectrum_DatabaseSpec';
+ protected $databasesDataType = 'array';
+
+
+ public function setDatabases($databases)
+ {
+ $this->databases = $databases;
+ }
+ public function getDatabases()
+ {
+ return $this->databases;
+ }
+}
+
+class Postman_Google_Service_Spectrum_DeviceCapabilities extends Postman_Google_Collection
+{
+ protected $collection_key = 'frequencyRanges';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $frequencyRangesType = 'Postman_Google_Service_Spectrum_FrequencyRange';
+ protected $frequencyRangesDataType = 'array';
+
+
+ public function setFrequencyRanges($frequencyRanges)
+ {
+ $this->frequencyRanges = $frequencyRanges;
+ }
+ public function getFrequencyRanges()
+ {
+ return $this->frequencyRanges;
+ }
+}
+
+class Postman_Google_Service_Spectrum_DeviceDescriptor extends Postman_Google_Collection
+{
+ protected $collection_key = 'rulesetIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etsiEnDeviceCategory;
+ public $etsiEnDeviceEmissionsClass;
+ public $etsiEnDeviceType;
+ public $etsiEnTechnologyId;
+ public $fccId;
+ public $fccTvbdDeviceType;
+ public $manufacturerId;
+ public $modelId;
+ public $rulesetIds;
+ public $serialNumber;
+
+
+ public function setEtsiEnDeviceCategory($etsiEnDeviceCategory)
+ {
+ $this->etsiEnDeviceCategory = $etsiEnDeviceCategory;
+ }
+ public function getEtsiEnDeviceCategory()
+ {
+ return $this->etsiEnDeviceCategory;
+ }
+ public function setEtsiEnDeviceEmissionsClass($etsiEnDeviceEmissionsClass)
+ {
+ $this->etsiEnDeviceEmissionsClass = $etsiEnDeviceEmissionsClass;
+ }
+ public function getEtsiEnDeviceEmissionsClass()
+ {
+ return $this->etsiEnDeviceEmissionsClass;
+ }
+ public function setEtsiEnDeviceType($etsiEnDeviceType)
+ {
+ $this->etsiEnDeviceType = $etsiEnDeviceType;
+ }
+ public function getEtsiEnDeviceType()
+ {
+ return $this->etsiEnDeviceType;
+ }
+ public function setEtsiEnTechnologyId($etsiEnTechnologyId)
+ {
+ $this->etsiEnTechnologyId = $etsiEnTechnologyId;
+ }
+ public function getEtsiEnTechnologyId()
+ {
+ return $this->etsiEnTechnologyId;
+ }
+ public function setFccId($fccId)
+ {
+ $this->fccId = $fccId;
+ }
+ public function getFccId()
+ {
+ return $this->fccId;
+ }
+ public function setFccTvbdDeviceType($fccTvbdDeviceType)
+ {
+ $this->fccTvbdDeviceType = $fccTvbdDeviceType;
+ }
+ public function getFccTvbdDeviceType()
+ {
+ return $this->fccTvbdDeviceType;
+ }
+ public function setManufacturerId($manufacturerId)
+ {
+ $this->manufacturerId = $manufacturerId;
+ }
+ public function getManufacturerId()
+ {
+ return $this->manufacturerId;
+ }
+ public function setModelId($modelId)
+ {
+ $this->modelId = $modelId;
+ }
+ public function getModelId()
+ {
+ return $this->modelId;
+ }
+ public function setRulesetIds($rulesetIds)
+ {
+ $this->rulesetIds = $rulesetIds;
+ }
+ public function getRulesetIds()
+ {
+ return $this->rulesetIds;
+ }
+ public function setSerialNumber($serialNumber)
+ {
+ $this->serialNumber = $serialNumber;
+ }
+ public function getSerialNumber()
+ {
+ return $this->serialNumber;
+ }
+}
+
+class Postman_Google_Service_Spectrum_DeviceOwner extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $operatorType = 'Postman_Google_Service_Spectrum_Vcard';
+ protected $operatorDataType = '';
+ protected $ownerType = 'Postman_Google_Service_Spectrum_Vcard';
+ protected $ownerDataType = '';
+
+
+ public function setOperator(Postman_Google_Service_Spectrum_Vcard $operator)
+ {
+ $this->operator = $operator;
+ }
+ public function getOperator()
+ {
+ return $this->operator;
+ }
+ public function setOwner(Postman_Google_Service_Spectrum_Vcard $owner)
+ {
+ $this->owner = $owner;
+ }
+ public function getOwner()
+ {
+ return $this->owner;
+ }
+}
+
+class Postman_Google_Service_Spectrum_DeviceValidity extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $deviceDescType = 'Postman_Google_Service_Spectrum_DeviceDescriptor';
+ protected $deviceDescDataType = '';
+ public $isValid;
+ public $reason;
+
+
+ public function setDeviceDesc(Postman_Google_Service_Spectrum_DeviceDescriptor $deviceDesc)
+ {
+ $this->deviceDesc = $deviceDesc;
+ }
+ public function getDeviceDesc()
+ {
+ return $this->deviceDesc;
+ }
+ public function setIsValid($isValid)
+ {
+ $this->isValid = $isValid;
+ }
+ public function getIsValid()
+ {
+ return $this->isValid;
+ }
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+}
+
+class Postman_Google_Service_Spectrum_EventTime extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $startTime;
+ public $stopTime;
+
+
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setStopTime($stopTime)
+ {
+ $this->stopTime = $stopTime;
+ }
+ public function getStopTime()
+ {
+ return $this->stopTime;
+ }
+}
+
+class Postman_Google_Service_Spectrum_FrequencyRange extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $channelId;
+ public $maxPowerDBm;
+ public $startHz;
+ public $stopHz;
+
+
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setMaxPowerDBm($maxPowerDBm)
+ {
+ $this->maxPowerDBm = $maxPowerDBm;
+ }
+ public function getMaxPowerDBm()
+ {
+ return $this->maxPowerDBm;
+ }
+ public function setStartHz($startHz)
+ {
+ $this->startHz = $startHz;
+ }
+ public function getStartHz()
+ {
+ return $this->startHz;
+ }
+ public function setStopHz($stopHz)
+ {
+ $this->stopHz = $stopHz;
+ }
+ public function getStopHz()
+ {
+ return $this->stopHz;
+ }
+}
+
+class Postman_Google_Service_Spectrum_GeoLocation extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $confidence;
+ protected $pointType = 'Postman_Google_Service_Spectrum_GeoLocationEllipse';
+ protected $pointDataType = '';
+ protected $regionType = 'Postman_Google_Service_Spectrum_GeoLocationPolygon';
+ protected $regionDataType = '';
+
+
+ public function setConfidence($confidence)
+ {
+ $this->confidence = $confidence;
+ }
+ public function getConfidence()
+ {
+ return $this->confidence;
+ }
+ public function setPoint(Postman_Google_Service_Spectrum_GeoLocationEllipse $point)
+ {
+ $this->point = $point;
+ }
+ public function getPoint()
+ {
+ return $this->point;
+ }
+ public function setRegion(Postman_Google_Service_Spectrum_GeoLocationPolygon $region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+}
+
+class Postman_Google_Service_Spectrum_GeoLocationEllipse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $centerType = 'Postman_Google_Service_Spectrum_GeoLocationPoint';
+ protected $centerDataType = '';
+ public $orientation;
+ public $semiMajorAxis;
+ public $semiMinorAxis;
+
+
+ public function setCenter(Postman_Google_Service_Spectrum_GeoLocationPoint $center)
+ {
+ $this->center = $center;
+ }
+ public function getCenter()
+ {
+ return $this->center;
+ }
+ public function setOrientation($orientation)
+ {
+ $this->orientation = $orientation;
+ }
+ public function getOrientation()
+ {
+ return $this->orientation;
+ }
+ public function setSemiMajorAxis($semiMajorAxis)
+ {
+ $this->semiMajorAxis = $semiMajorAxis;
+ }
+ public function getSemiMajorAxis()
+ {
+ return $this->semiMajorAxis;
+ }
+ public function setSemiMinorAxis($semiMinorAxis)
+ {
+ $this->semiMinorAxis = $semiMinorAxis;
+ }
+ public function getSemiMinorAxis()
+ {
+ return $this->semiMinorAxis;
+ }
+}
+
+class Postman_Google_Service_Spectrum_GeoLocationPoint extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $latitude;
+ public $longitude;
+
+
+ public function setLatitude($latitude)
+ {
+ $this->latitude = $latitude;
+ }
+ public function getLatitude()
+ {
+ return $this->latitude;
+ }
+ public function setLongitude($longitude)
+ {
+ $this->longitude = $longitude;
+ }
+ public function getLongitude()
+ {
+ return $this->longitude;
+ }
+}
+
+class Postman_Google_Service_Spectrum_GeoLocationPolygon extends Postman_Google_Collection
+{
+ protected $collection_key = 'exterior';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $exteriorType = 'Postman_Google_Service_Spectrum_GeoLocationPoint';
+ protected $exteriorDataType = 'array';
+
+
+ public function setExterior($exterior)
+ {
+ $this->exterior = $exterior;
+ }
+ public function getExterior()
+ {
+ return $this->exterior;
+ }
+}
+
+class Postman_Google_Service_Spectrum_GeoSpectrumSchedule extends Postman_Google_Collection
+{
+ protected $collection_key = 'spectrumSchedules';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $locationType = 'Postman_Google_Service_Spectrum_GeoLocation';
+ protected $locationDataType = '';
+ protected $spectrumSchedulesType = 'Postman_Google_Service_Spectrum_SpectrumSchedule';
+ protected $spectrumSchedulesDataType = 'array';
+
+
+ public function setLocation(Postman_Google_Service_Spectrum_GeoLocation $location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setSpectrumSchedules($spectrumSchedules)
+ {
+ $this->spectrumSchedules = $spectrumSchedules;
+ }
+ public function getSpectrumSchedules()
+ {
+ return $this->spectrumSchedules;
+ }
+}
+
+class Postman_Google_Service_Spectrum_PawsGetSpectrumBatchRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'locations';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $antennaType = 'Postman_Google_Service_Spectrum_AntennaCharacteristics';
+ protected $antennaDataType = '';
+ protected $capabilitiesType = 'Postman_Google_Service_Spectrum_DeviceCapabilities';
+ protected $capabilitiesDataType = '';
+ protected $deviceDescType = 'Postman_Google_Service_Spectrum_DeviceDescriptor';
+ protected $deviceDescDataType = '';
+ protected $locationsType = 'Postman_Google_Service_Spectrum_GeoLocation';
+ protected $locationsDataType = 'array';
+ protected $masterDeviceDescType = 'Postman_Google_Service_Spectrum_DeviceDescriptor';
+ protected $masterDeviceDescDataType = '';
+ protected $ownerType = 'Postman_Google_Service_Spectrum_DeviceOwner';
+ protected $ownerDataType = '';
+ public $requestType;
+ public $type;
+ public $version;
+
+
+ public function setAntenna(Postman_Google_Service_Spectrum_AntennaCharacteristics $antenna)
+ {
+ $this->antenna = $antenna;
+ }
+ public function getAntenna()
+ {
+ return $this->antenna;
+ }
+ public function setCapabilities(Postman_Google_Service_Spectrum_DeviceCapabilities $capabilities)
+ {
+ $this->capabilities = $capabilities;
+ }
+ public function getCapabilities()
+ {
+ return $this->capabilities;
+ }
+ public function setDeviceDesc(Postman_Google_Service_Spectrum_DeviceDescriptor $deviceDesc)
+ {
+ $this->deviceDesc = $deviceDesc;
+ }
+ public function getDeviceDesc()
+ {
+ return $this->deviceDesc;
+ }
+ public function setLocations($locations)
+ {
+ $this->locations = $locations;
+ }
+ public function getLocations()
+ {
+ return $this->locations;
+ }
+ public function setMasterDeviceDesc(Postman_Google_Service_Spectrum_DeviceDescriptor $masterDeviceDesc)
+ {
+ $this->masterDeviceDesc = $masterDeviceDesc;
+ }
+ public function getMasterDeviceDesc()
+ {
+ return $this->masterDeviceDesc;
+ }
+ public function setOwner(Postman_Google_Service_Spectrum_DeviceOwner $owner)
+ {
+ $this->owner = $owner;
+ }
+ public function getOwner()
+ {
+ return $this->owner;
+ }
+ public function setRequestType($requestType)
+ {
+ $this->requestType = $requestType;
+ }
+ public function getRequestType()
+ {
+ return $this->requestType;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Postman_Google_Service_Spectrum_PawsGetSpectrumBatchResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'geoSpectrumSchedules';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $databaseChangeType = 'Postman_Google_Service_Spectrum_DbUpdateSpec';
+ protected $databaseChangeDataType = '';
+ protected $deviceDescType = 'Postman_Google_Service_Spectrum_DeviceDescriptor';
+ protected $deviceDescDataType = '';
+ protected $geoSpectrumSchedulesType = 'Postman_Google_Service_Spectrum_GeoSpectrumSchedule';
+ protected $geoSpectrumSchedulesDataType = 'array';
+ public $kind;
+ public $maxContiguousBwHz;
+ public $maxTotalBwHz;
+ public $needsSpectrumReport;
+ protected $rulesetInfoType = 'Postman_Google_Service_Spectrum_RulesetInfo';
+ protected $rulesetInfoDataType = '';
+ public $timestamp;
+ public $type;
+ public $version;
+
+
+ public function setDatabaseChange(Postman_Google_Service_Spectrum_DbUpdateSpec $databaseChange)
+ {
+ $this->databaseChange = $databaseChange;
+ }
+ public function getDatabaseChange()
+ {
+ return $this->databaseChange;
+ }
+ public function setDeviceDesc(Postman_Google_Service_Spectrum_DeviceDescriptor $deviceDesc)
+ {
+ $this->deviceDesc = $deviceDesc;
+ }
+ public function getDeviceDesc()
+ {
+ return $this->deviceDesc;
+ }
+ public function setGeoSpectrumSchedules($geoSpectrumSchedules)
+ {
+ $this->geoSpectrumSchedules = $geoSpectrumSchedules;
+ }
+ public function getGeoSpectrumSchedules()
+ {
+ return $this->geoSpectrumSchedules;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMaxContiguousBwHz($maxContiguousBwHz)
+ {
+ $this->maxContiguousBwHz = $maxContiguousBwHz;
+ }
+ public function getMaxContiguousBwHz()
+ {
+ return $this->maxContiguousBwHz;
+ }
+ public function setMaxTotalBwHz($maxTotalBwHz)
+ {
+ $this->maxTotalBwHz = $maxTotalBwHz;
+ }
+ public function getMaxTotalBwHz()
+ {
+ return $this->maxTotalBwHz;
+ }
+ public function setNeedsSpectrumReport($needsSpectrumReport)
+ {
+ $this->needsSpectrumReport = $needsSpectrumReport;
+ }
+ public function getNeedsSpectrumReport()
+ {
+ return $this->needsSpectrumReport;
+ }
+ public function setRulesetInfo(Postman_Google_Service_Spectrum_RulesetInfo $rulesetInfo)
+ {
+ $this->rulesetInfo = $rulesetInfo;
+ }
+ public function getRulesetInfo()
+ {
+ return $this->rulesetInfo;
+ }
+ public function setTimestamp($timestamp)
+ {
+ $this->timestamp = $timestamp;
+ }
+ public function getTimestamp()
+ {
+ return $this->timestamp;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Postman_Google_Service_Spectrum_PawsGetSpectrumRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $antennaType = 'Postman_Google_Service_Spectrum_AntennaCharacteristics';
+ protected $antennaDataType = '';
+ protected $capabilitiesType = 'Postman_Google_Service_Spectrum_DeviceCapabilities';
+ protected $capabilitiesDataType = '';
+ protected $deviceDescType = 'Postman_Google_Service_Spectrum_DeviceDescriptor';
+ protected $deviceDescDataType = '';
+ protected $locationType = 'Postman_Google_Service_Spectrum_GeoLocation';
+ protected $locationDataType = '';
+ protected $masterDeviceDescType = 'Postman_Google_Service_Spectrum_DeviceDescriptor';
+ protected $masterDeviceDescDataType = '';
+ protected $ownerType = 'Postman_Google_Service_Spectrum_DeviceOwner';
+ protected $ownerDataType = '';
+ public $requestType;
+ public $type;
+ public $version;
+
+
+ public function setAntenna(Postman_Google_Service_Spectrum_AntennaCharacteristics $antenna)
+ {
+ $this->antenna = $antenna;
+ }
+ public function getAntenna()
+ {
+ return $this->antenna;
+ }
+ public function setCapabilities(Postman_Google_Service_Spectrum_DeviceCapabilities $capabilities)
+ {
+ $this->capabilities = $capabilities;
+ }
+ public function getCapabilities()
+ {
+ return $this->capabilities;
+ }
+ public function setDeviceDesc(Postman_Google_Service_Spectrum_DeviceDescriptor $deviceDesc)
+ {
+ $this->deviceDesc = $deviceDesc;
+ }
+ public function getDeviceDesc()
+ {
+ return $this->deviceDesc;
+ }
+ public function setLocation(Postman_Google_Service_Spectrum_GeoLocation $location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setMasterDeviceDesc(Postman_Google_Service_Spectrum_DeviceDescriptor $masterDeviceDesc)
+ {
+ $this->masterDeviceDesc = $masterDeviceDesc;
+ }
+ public function getMasterDeviceDesc()
+ {
+ return $this->masterDeviceDesc;
+ }
+ public function setOwner(Postman_Google_Service_Spectrum_DeviceOwner $owner)
+ {
+ $this->owner = $owner;
+ }
+ public function getOwner()
+ {
+ return $this->owner;
+ }
+ public function setRequestType($requestType)
+ {
+ $this->requestType = $requestType;
+ }
+ public function getRequestType()
+ {
+ return $this->requestType;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Postman_Google_Service_Spectrum_PawsGetSpectrumResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'spectrumSchedules';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $databaseChangeType = 'Postman_Google_Service_Spectrum_DbUpdateSpec';
+ protected $databaseChangeDataType = '';
+ protected $deviceDescType = 'Postman_Google_Service_Spectrum_DeviceDescriptor';
+ protected $deviceDescDataType = '';
+ public $kind;
+ public $maxContiguousBwHz;
+ public $maxTotalBwHz;
+ public $needsSpectrumReport;
+ protected $rulesetInfoType = 'Postman_Google_Service_Spectrum_RulesetInfo';
+ protected $rulesetInfoDataType = '';
+ protected $spectrumSchedulesType = 'Postman_Google_Service_Spectrum_SpectrumSchedule';
+ protected $spectrumSchedulesDataType = 'array';
+ public $timestamp;
+ public $type;
+ public $version;
+
+
+ public function setDatabaseChange(Postman_Google_Service_Spectrum_DbUpdateSpec $databaseChange)
+ {
+ $this->databaseChange = $databaseChange;
+ }
+ public function getDatabaseChange()
+ {
+ return $this->databaseChange;
+ }
+ public function setDeviceDesc(Postman_Google_Service_Spectrum_DeviceDescriptor $deviceDesc)
+ {
+ $this->deviceDesc = $deviceDesc;
+ }
+ public function getDeviceDesc()
+ {
+ return $this->deviceDesc;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMaxContiguousBwHz($maxContiguousBwHz)
+ {
+ $this->maxContiguousBwHz = $maxContiguousBwHz;
+ }
+ public function getMaxContiguousBwHz()
+ {
+ return $this->maxContiguousBwHz;
+ }
+ public function setMaxTotalBwHz($maxTotalBwHz)
+ {
+ $this->maxTotalBwHz = $maxTotalBwHz;
+ }
+ public function getMaxTotalBwHz()
+ {
+ return $this->maxTotalBwHz;
+ }
+ public function setNeedsSpectrumReport($needsSpectrumReport)
+ {
+ $this->needsSpectrumReport = $needsSpectrumReport;
+ }
+ public function getNeedsSpectrumReport()
+ {
+ return $this->needsSpectrumReport;
+ }
+ public function setRulesetInfo(Postman_Google_Service_Spectrum_RulesetInfo $rulesetInfo)
+ {
+ $this->rulesetInfo = $rulesetInfo;
+ }
+ public function getRulesetInfo()
+ {
+ return $this->rulesetInfo;
+ }
+ public function setSpectrumSchedules($spectrumSchedules)
+ {
+ $this->spectrumSchedules = $spectrumSchedules;
+ }
+ public function getSpectrumSchedules()
+ {
+ return $this->spectrumSchedules;
+ }
+ public function setTimestamp($timestamp)
+ {
+ $this->timestamp = $timestamp;
+ }
+ public function getTimestamp()
+ {
+ return $this->timestamp;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Postman_Google_Service_Spectrum_PawsInitRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $deviceDescType = 'Postman_Google_Service_Spectrum_DeviceDescriptor';
+ protected $deviceDescDataType = '';
+ protected $locationType = 'Postman_Google_Service_Spectrum_GeoLocation';
+ protected $locationDataType = '';
+ public $type;
+ public $version;
+
+
+ public function setDeviceDesc(Postman_Google_Service_Spectrum_DeviceDescriptor $deviceDesc)
+ {
+ $this->deviceDesc = $deviceDesc;
+ }
+ public function getDeviceDesc()
+ {
+ return $this->deviceDesc;
+ }
+ public function setLocation(Postman_Google_Service_Spectrum_GeoLocation $location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Postman_Google_Service_Spectrum_PawsInitResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $databaseChangeType = 'Postman_Google_Service_Spectrum_DbUpdateSpec';
+ protected $databaseChangeDataType = '';
+ public $kind;
+ protected $rulesetInfoType = 'Postman_Google_Service_Spectrum_RulesetInfo';
+ protected $rulesetInfoDataType = '';
+ public $type;
+ public $version;
+
+
+ public function setDatabaseChange(Postman_Google_Service_Spectrum_DbUpdateSpec $databaseChange)
+ {
+ $this->databaseChange = $databaseChange;
+ }
+ public function getDatabaseChange()
+ {
+ return $this->databaseChange;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRulesetInfo(Postman_Google_Service_Spectrum_RulesetInfo $rulesetInfo)
+ {
+ $this->rulesetInfo = $rulesetInfo;
+ }
+ public function getRulesetInfo()
+ {
+ return $this->rulesetInfo;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Postman_Google_Service_Spectrum_PawsNotifySpectrumUseRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'spectra';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $deviceDescType = 'Postman_Google_Service_Spectrum_DeviceDescriptor';
+ protected $deviceDescDataType = '';
+ protected $locationType = 'Postman_Google_Service_Spectrum_GeoLocation';
+ protected $locationDataType = '';
+ protected $spectraType = 'Postman_Google_Service_Spectrum_SpectrumMessage';
+ protected $spectraDataType = 'array';
+ public $type;
+ public $version;
+
+
+ public function setDeviceDesc(Postman_Google_Service_Spectrum_DeviceDescriptor $deviceDesc)
+ {
+ $this->deviceDesc = $deviceDesc;
+ }
+ public function getDeviceDesc()
+ {
+ return $this->deviceDesc;
+ }
+ public function setLocation(Postman_Google_Service_Spectrum_GeoLocation $location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setSpectra($spectra)
+ {
+ $this->spectra = $spectra;
+ }
+ public function getSpectra()
+ {
+ return $this->spectra;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Postman_Google_Service_Spectrum_PawsNotifySpectrumUseResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $type;
+ public $version;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Postman_Google_Service_Spectrum_PawsRegisterRequest extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $antennaType = 'Postman_Google_Service_Spectrum_AntennaCharacteristics';
+ protected $antennaDataType = '';
+ protected $deviceDescType = 'Postman_Google_Service_Spectrum_DeviceDescriptor';
+ protected $deviceDescDataType = '';
+ protected $deviceOwnerType = 'Postman_Google_Service_Spectrum_DeviceOwner';
+ protected $deviceOwnerDataType = '';
+ protected $locationType = 'Postman_Google_Service_Spectrum_GeoLocation';
+ protected $locationDataType = '';
+ public $type;
+ public $version;
+
+
+ public function setAntenna(Postman_Google_Service_Spectrum_AntennaCharacteristics $antenna)
+ {
+ $this->antenna = $antenna;
+ }
+ public function getAntenna()
+ {
+ return $this->antenna;
+ }
+ public function setDeviceDesc(Postman_Google_Service_Spectrum_DeviceDescriptor $deviceDesc)
+ {
+ $this->deviceDesc = $deviceDesc;
+ }
+ public function getDeviceDesc()
+ {
+ return $this->deviceDesc;
+ }
+ public function setDeviceOwner(Postman_Google_Service_Spectrum_DeviceOwner $deviceOwner)
+ {
+ $this->deviceOwner = $deviceOwner;
+ }
+ public function getDeviceOwner()
+ {
+ return $this->deviceOwner;
+ }
+ public function setLocation(Postman_Google_Service_Spectrum_GeoLocation $location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Postman_Google_Service_Spectrum_PawsRegisterResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $databaseChangeType = 'Postman_Google_Service_Spectrum_DbUpdateSpec';
+ protected $databaseChangeDataType = '';
+ public $kind;
+ public $type;
+ public $version;
+
+
+ public function setDatabaseChange(Postman_Google_Service_Spectrum_DbUpdateSpec $databaseChange)
+ {
+ $this->databaseChange = $databaseChange;
+ }
+ public function getDatabaseChange()
+ {
+ return $this->databaseChange;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Postman_Google_Service_Spectrum_PawsVerifyDeviceRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'deviceDescs';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $deviceDescsType = 'Postman_Google_Service_Spectrum_DeviceDescriptor';
+ protected $deviceDescsDataType = 'array';
+ public $type;
+ public $version;
+
+
+ public function setDeviceDescs($deviceDescs)
+ {
+ $this->deviceDescs = $deviceDescs;
+ }
+ public function getDeviceDescs()
+ {
+ return $this->deviceDescs;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Postman_Google_Service_Spectrum_PawsVerifyDeviceResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'deviceValidities';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $databaseChangeType = 'Postman_Google_Service_Spectrum_DbUpdateSpec';
+ protected $databaseChangeDataType = '';
+ protected $deviceValiditiesType = 'Postman_Google_Service_Spectrum_DeviceValidity';
+ protected $deviceValiditiesDataType = 'array';
+ public $kind;
+ public $type;
+ public $version;
+
+
+ public function setDatabaseChange(Postman_Google_Service_Spectrum_DbUpdateSpec $databaseChange)
+ {
+ $this->databaseChange = $databaseChange;
+ }
+ public function getDatabaseChange()
+ {
+ return $this->databaseChange;
+ }
+ public function setDeviceValidities($deviceValidities)
+ {
+ $this->deviceValidities = $deviceValidities;
+ }
+ public function getDeviceValidities()
+ {
+ return $this->deviceValidities;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Postman_Google_Service_Spectrum_RulesetInfo extends Postman_Google_Collection
+{
+ protected $collection_key = 'rulesetIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $authority;
+ public $maxLocationChange;
+ public $maxPollingSecs;
+ public $rulesetIds;
+
+
+ public function setAuthority($authority)
+ {
+ $this->authority = $authority;
+ }
+ public function getAuthority()
+ {
+ return $this->authority;
+ }
+ public function setMaxLocationChange($maxLocationChange)
+ {
+ $this->maxLocationChange = $maxLocationChange;
+ }
+ public function getMaxLocationChange()
+ {
+ return $this->maxLocationChange;
+ }
+ public function setMaxPollingSecs($maxPollingSecs)
+ {
+ $this->maxPollingSecs = $maxPollingSecs;
+ }
+ public function getMaxPollingSecs()
+ {
+ return $this->maxPollingSecs;
+ }
+ public function setRulesetIds($rulesetIds)
+ {
+ $this->rulesetIds = $rulesetIds;
+ }
+ public function getRulesetIds()
+ {
+ return $this->rulesetIds;
+ }
+}
+
+class Postman_Google_Service_Spectrum_SpectrumMessage extends Postman_Google_Collection
+{
+ protected $collection_key = 'frequencyRanges';
+ protected $internal_gapi_mappings = array(
+ );
+ public $bandwidth;
+ protected $frequencyRangesType = 'Postman_Google_Service_Spectrum_FrequencyRange';
+ protected $frequencyRangesDataType = 'array';
+
+
+ public function setBandwidth($bandwidth)
+ {
+ $this->bandwidth = $bandwidth;
+ }
+ public function getBandwidth()
+ {
+ return $this->bandwidth;
+ }
+ public function setFrequencyRanges($frequencyRanges)
+ {
+ $this->frequencyRanges = $frequencyRanges;
+ }
+ public function getFrequencyRanges()
+ {
+ return $this->frequencyRanges;
+ }
+}
+
+class Postman_Google_Service_Spectrum_SpectrumSchedule extends Postman_Google_Collection
+{
+ protected $collection_key = 'spectra';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $eventTimeType = 'Postman_Google_Service_Spectrum_EventTime';
+ protected $eventTimeDataType = '';
+ protected $spectraType = 'Postman_Google_Service_Spectrum_SpectrumMessage';
+ protected $spectraDataType = 'array';
+
+
+ public function setEventTime(Postman_Google_Service_Spectrum_EventTime $eventTime)
+ {
+ $this->eventTime = $eventTime;
+ }
+ public function getEventTime()
+ {
+ return $this->eventTime;
+ }
+ public function setSpectra($spectra)
+ {
+ $this->spectra = $spectra;
+ }
+ public function getSpectra()
+ {
+ return $this->spectra;
+ }
+}
+
+class Postman_Google_Service_Spectrum_Vcard extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $adrType = 'Postman_Google_Service_Spectrum_VcardAddress';
+ protected $adrDataType = '';
+ protected $emailType = 'Postman_Google_Service_Spectrum_VcardTypedText';
+ protected $emailDataType = '';
+ public $fn;
+ protected $orgType = 'Postman_Google_Service_Spectrum_VcardTypedText';
+ protected $orgDataType = '';
+ protected $telType = 'Postman_Google_Service_Spectrum_VcardTelephone';
+ protected $telDataType = '';
+
+
+ public function setAdr(Postman_Google_Service_Spectrum_VcardAddress $adr)
+ {
+ $this->adr = $adr;
+ }
+ public function getAdr()
+ {
+ return $this->adr;
+ }
+ public function setEmail(Postman_Google_Service_Spectrum_VcardTypedText $email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setFn($fn)
+ {
+ $this->fn = $fn;
+ }
+ public function getFn()
+ {
+ return $this->fn;
+ }
+ public function setOrg(Postman_Google_Service_Spectrum_VcardTypedText $org)
+ {
+ $this->org = $org;
+ }
+ public function getOrg()
+ {
+ return $this->org;
+ }
+ public function setTel(Postman_Google_Service_Spectrum_VcardTelephone $tel)
+ {
+ $this->tel = $tel;
+ }
+ public function getTel()
+ {
+ return $this->tel;
+ }
+}
+
+class Postman_Google_Service_Spectrum_VcardAddress extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $country;
+ public $locality;
+ public $pobox;
+ public $region;
+ public $street;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setLocality($locality)
+ {
+ $this->locality = $locality;
+ }
+ public function getLocality()
+ {
+ return $this->locality;
+ }
+ public function setPobox($pobox)
+ {
+ $this->pobox = $pobox;
+ }
+ public function getPobox()
+ {
+ return $this->pobox;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setStreet($street)
+ {
+ $this->street = $street;
+ }
+ public function getStreet()
+ {
+ return $this->street;
+ }
+}
+
+class Postman_Google_Service_Spectrum_VcardTelephone extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $uri;
+
+
+ public function setUri($uri)
+ {
+ $this->uri = $uri;
+ }
+ public function getUri()
+ {
+ return $this->uri;
+ }
+}
+
+class Postman_Google_Service_Spectrum_VcardTypedText extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $text;
+
+
+ public function setText($text)
+ {
+ $this->text = $text;
+ }
+ public function getText()
+ {
+ return $this->text;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Storage.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Storage.php
new file mode 100644
index 0000000..672fcf4
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Storage.php
@@ -0,0 +1,3082 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Storage (v1).
+ *
+ * <p>
+ * Lets you store and retrieve potentially-large, immutable data objects.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/storage/docs/json_api/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Storage extends Postman_Google_Service
+{
+ /** View and manage your data across Google Cloud Platform services. */
+ const CLOUD_PLATFORM =
+ "https://www.googleapis.com/auth/cloud-platform";
+ /** Manage your data and permissions in Google Cloud Storage. */
+ const DEVSTORAGE_FULL_CONTROL =
+ "https://www.googleapis.com/auth/devstorage.full_control";
+ /** View your data in Google Cloud Storage. */
+ const DEVSTORAGE_READ_ONLY =
+ "https://www.googleapis.com/auth/devstorage.read_only";
+ /** Manage your data in Google Cloud Storage. */
+ const DEVSTORAGE_READ_WRITE =
+ "https://www.googleapis.com/auth/devstorage.read_write";
+
+ public $bucketAccessControls;
+ public $buckets;
+ public $channels;
+ public $defaultObjectAccessControls;
+ public $objectAccessControls;
+ public $objects;
+
+
+ /**
+ * Constructs the internal representation of the Storage service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'storage/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'storage';
+
+ $this->bucketAccessControls = new Postman_Google_Service_Storage_BucketAccessControls_Resource(
+ $this,
+ $this->serviceName,
+ 'bucketAccessControls',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'b/{bucket}/acl/{entity}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'entity' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'b/{bucket}/acl/{entity}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'entity' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'b/{bucket}/acl',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'b/{bucket}/acl',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'b/{bucket}/acl/{entity}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'entity' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'b/{bucket}/acl/{entity}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'entity' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->buckets = new Postman_Google_Service_Storage_Buckets_Resource(
+ $this,
+ $this->serviceName,
+ 'buckets',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'b/{bucket}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ifMetagenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'b/{bucket}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ifMetagenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'b',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'predefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'b',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'b/{bucket}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ifMetagenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'predefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'b/{bucket}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ifMetagenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'predefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->channels = new Postman_Google_Service_Storage_Channels_Resource(
+ $this,
+ $this->serviceName,
+ 'channels',
+ array(
+ 'methods' => array(
+ 'stop' => array(
+ 'path' => 'channels/stop',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->defaultObjectAccessControls = new Postman_Google_Service_Storage_DefaultObjectAccessControls_Resource(
+ $this,
+ $this->serviceName,
+ 'defaultObjectAccessControls',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'b/{bucket}/defaultObjectAcl/{entity}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'entity' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'b/{bucket}/defaultObjectAcl/{entity}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'entity' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'b/{bucket}/defaultObjectAcl',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'b/{bucket}/defaultObjectAcl',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ifMetagenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'b/{bucket}/defaultObjectAcl/{entity}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'entity' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'b/{bucket}/defaultObjectAcl/{entity}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'entity' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->objectAccessControls = new Postman_Google_Service_Storage_ObjectAccessControls_Resource(
+ $this,
+ $this->serviceName,
+ 'objectAccessControls',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'b/{bucket}/o/{object}/acl/{entity}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'object' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'entity' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'generation' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'b/{bucket}/o/{object}/acl/{entity}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'object' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'entity' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'generation' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'b/{bucket}/o/{object}/acl',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'object' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'generation' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'b/{bucket}/o/{object}/acl',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'object' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'generation' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'b/{bucket}/o/{object}/acl/{entity}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'object' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'entity' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'generation' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'b/{bucket}/o/{object}/acl/{entity}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'object' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'entity' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'generation' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->objects = new Postman_Google_Service_Storage_Objects_Resource(
+ $this,
+ $this->serviceName,
+ 'objects',
+ array(
+ 'methods' => array(
+ 'compose' => array(
+ 'path' => 'b/{destinationBucket}/o/{destinationObject}/compose',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'destinationBucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'destinationObject' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ifGenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'destinationPredefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'copy' => array(
+ 'path' => 'b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destinationBucket}/o/{destinationObject}',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'sourceBucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sourceObject' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'destinationBucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'destinationObject' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ifSourceGenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifSourceMetagenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sourceGeneration' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'destinationPredefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifSourceGenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifSourceMetagenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'b/{bucket}/o/{object}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'object' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ifGenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'generation' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'b/{bucket}/o/{object}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'object' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ifGenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'generation' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'b/{bucket}/o',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'predefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'contentEncoding' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'name' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'b/{bucket}/o',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'versions' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'prefix' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'delimiter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'b/{bucket}/o/{object}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'object' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'predefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'generation' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'b/{bucket}/o/{object}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'object' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'predefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'generation' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifGenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationNotMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'watchAll' => array(
+ 'path' => 'b/{bucket}/o/watch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'bucket' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'versions' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'prefix' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'delimiter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "bucketAccessControls" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $storageService = new Postman_Google_Service_Storage(...);
+ * $bucketAccessControls = $storageService->bucketAccessControls;
+ * </code>
+ */
+class Postman_Google_Service_Storage_BucketAccessControls_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Permanently deletes the ACL entry for the specified entity on the specified
+ * bucket. (bucketAccessControls.delete)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param string $entity The entity holding the permission. Can be user-userId,
+ * user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+ * allAuthenticatedUsers.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($bucket, $entity, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'entity' => $entity);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Returns the ACL entry for the specified entity on the specified bucket.
+ * (bucketAccessControls.get)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param string $entity The entity holding the permission. Can be user-userId,
+ * user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+ * allAuthenticatedUsers.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Storage_BucketAccessControl
+ */
+ public function get($bucket, $entity, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'entity' => $entity);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Storage_BucketAccessControl");
+ }
+
+ /**
+ * Creates a new ACL entry on the specified bucket.
+ * (bucketAccessControls.insert)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param Postman_Google_BucketAccessControl $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Storage_BucketAccessControl
+ */
+ public function insert($bucket, Postman_Google_Service_Storage_BucketAccessControl $postBody, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Storage_BucketAccessControl");
+ }
+
+ /**
+ * Retrieves ACL entries on the specified bucket.
+ * (bucketAccessControls.listBucketAccessControls)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Storage_BucketAccessControls
+ */
+ public function listBucketAccessControls($bucket, $optParams = array())
+ {
+ $params = array('bucket' => $bucket);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Storage_BucketAccessControls");
+ }
+
+ /**
+ * Updates an ACL entry on the specified bucket. This method supports patch
+ * semantics. (bucketAccessControls.patch)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param string $entity The entity holding the permission. Can be user-userId,
+ * user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+ * allAuthenticatedUsers.
+ * @param Postman_Google_BucketAccessControl $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Storage_BucketAccessControl
+ */
+ public function patch($bucket, $entity, Postman_Google_Service_Storage_BucketAccessControl $postBody, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'entity' => $entity, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Storage_BucketAccessControl");
+ }
+
+ /**
+ * Updates an ACL entry on the specified bucket. (bucketAccessControls.update)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param string $entity The entity holding the permission. Can be user-userId,
+ * user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+ * allAuthenticatedUsers.
+ * @param Postman_Google_BucketAccessControl $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Storage_BucketAccessControl
+ */
+ public function update($bucket, $entity, Postman_Google_Service_Storage_BucketAccessControl $postBody, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'entity' => $entity, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Storage_BucketAccessControl");
+ }
+}
+
+/**
+ * The "buckets" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $storageService = new Postman_Google_Service_Storage(...);
+ * $buckets = $storageService->buckets;
+ * </code>
+ */
+class Postman_Google_Service_Storage_Buckets_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Permanently deletes an empty bucket. (buckets.delete)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string ifMetagenerationMatch If set, only deletes the bucket if
+ * its metageneration matches this value.
+ * @opt_param string ifMetagenerationNotMatch If set, only deletes the bucket if
+ * its metageneration does not match this value.
+ */
+ public function delete($bucket, $optParams = array())
+ {
+ $params = array('bucket' => $bucket);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Returns metadata for the specified bucket. (buckets.get)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string ifMetagenerationMatch Makes the return of the bucket
+ * metadata conditional on whether the bucket's current metageneration matches
+ * the given value.
+ * @opt_param string ifMetagenerationNotMatch Makes the return of the bucket
+ * metadata conditional on whether the bucket's current metageneration does not
+ * match the given value.
+ * @opt_param string projection Set of properties to return. Defaults to noAcl.
+ * @return Postman_Google_Service_Storage_Bucket
+ */
+ public function get($bucket, $optParams = array())
+ {
+ $params = array('bucket' => $bucket);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Storage_Bucket");
+ }
+
+ /**
+ * Creates a new bucket. (buckets.insert)
+ *
+ * @param string $project A valid API project identifier.
+ * @param Postman_Google_Bucket $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string predefinedAcl Apply a predefined set of access controls to
+ * this bucket.
+ * @opt_param string projection Set of properties to return. Defaults to noAcl,
+ * unless the bucket resource specifies acl or defaultObjectAcl properties, when
+ * it defaults to full.
+ * @return Postman_Google_Service_Storage_Bucket
+ */
+ public function insert($project, Postman_Google_Service_Storage_Bucket $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Storage_Bucket");
+ }
+
+ /**
+ * Retrieves a list of buckets for a given project. (buckets.listBuckets)
+ *
+ * @param string $project A valid API project identifier.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A previously-returned page token representing
+ * part of the larger set of results to view.
+ * @opt_param string projection Set of properties to return. Defaults to noAcl.
+ * @opt_param string maxResults Maximum number of buckets to return.
+ * @return Postman_Google_Service_Storage_Buckets
+ */
+ public function listBuckets($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Storage_Buckets");
+ }
+
+ /**
+ * Updates a bucket. This method supports patch semantics. (buckets.patch)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param Postman_Google_Bucket $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string ifMetagenerationMatch Makes the return of the bucket
+ * metadata conditional on whether the bucket's current metageneration matches
+ * the given value.
+ * @opt_param string predefinedAcl Apply a predefined set of access controls to
+ * this bucket.
+ * @opt_param string ifMetagenerationNotMatch Makes the return of the bucket
+ * metadata conditional on whether the bucket's current metageneration does not
+ * match the given value.
+ * @opt_param string projection Set of properties to return. Defaults to full.
+ * @return Postman_Google_Service_Storage_Bucket
+ */
+ public function patch($bucket, Postman_Google_Service_Storage_Bucket $postBody, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Storage_Bucket");
+ }
+
+ /**
+ * Updates a bucket. (buckets.update)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param Postman_Google_Bucket $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string ifMetagenerationMatch Makes the return of the bucket
+ * metadata conditional on whether the bucket's current metageneration matches
+ * the given value.
+ * @opt_param string predefinedAcl Apply a predefined set of access controls to
+ * this bucket.
+ * @opt_param string ifMetagenerationNotMatch Makes the return of the bucket
+ * metadata conditional on whether the bucket's current metageneration does not
+ * match the given value.
+ * @opt_param string projection Set of properties to return. Defaults to full.
+ * @return Postman_Google_Service_Storage_Bucket
+ */
+ public function update($bucket, Postman_Google_Service_Storage_Bucket $postBody, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Storage_Bucket");
+ }
+}
+
+/**
+ * The "channels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $storageService = new Postman_Google_Service_Storage(...);
+ * $channels = $storageService->channels;
+ * </code>
+ */
+class Postman_Google_Service_Storage_Channels_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Stop watching resources through this channel (channels.stop)
+ *
+ * @param Postman_Google_Channel $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function stop(Postman_Google_Service_Storage_Channel $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('stop', array($params));
+ }
+}
+
+/**
+ * The "defaultObjectAccessControls" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $storageService = new Postman_Google_Service_Storage(...);
+ * $defaultObjectAccessControls = $storageService->defaultObjectAccessControls;
+ * </code>
+ */
+class Postman_Google_Service_Storage_DefaultObjectAccessControls_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Permanently deletes the default object ACL entry for the specified entity on
+ * the specified bucket. (defaultObjectAccessControls.delete)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param string $entity The entity holding the permission. Can be user-userId,
+ * user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+ * allAuthenticatedUsers.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($bucket, $entity, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'entity' => $entity);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Returns the default object ACL entry for the specified entity on the
+ * specified bucket. (defaultObjectAccessControls.get)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param string $entity The entity holding the permission. Can be user-userId,
+ * user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+ * allAuthenticatedUsers.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Storage_ObjectAccessControl
+ */
+ public function get($bucket, $entity, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'entity' => $entity);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Storage_ObjectAccessControl");
+ }
+
+ /**
+ * Creates a new default object ACL entry on the specified bucket.
+ * (defaultObjectAccessControls.insert)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param Postman_Google_ObjectAccessControl $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Storage_ObjectAccessControl
+ */
+ public function insert($bucket, Postman_Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Storage_ObjectAccessControl");
+ }
+
+ /**
+ * Retrieves default object ACL entries on the specified bucket.
+ * (defaultObjectAccessControls.listDefaultObjectAccessControls)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string ifMetagenerationMatch If present, only return default ACL
+ * listing if the bucket's current metageneration matches this value.
+ * @opt_param string ifMetagenerationNotMatch If present, only return default
+ * ACL listing if the bucket's current metageneration does not match the given
+ * value.
+ * @return Postman_Google_Service_Storage_ObjectAccessControls
+ */
+ public function listDefaultObjectAccessControls($bucket, $optParams = array())
+ {
+ $params = array('bucket' => $bucket);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Storage_ObjectAccessControls");
+ }
+
+ /**
+ * Updates a default object ACL entry on the specified bucket. This method
+ * supports patch semantics. (defaultObjectAccessControls.patch)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param string $entity The entity holding the permission. Can be user-userId,
+ * user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+ * allAuthenticatedUsers.
+ * @param Postman_Google_ObjectAccessControl $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Storage_ObjectAccessControl
+ */
+ public function patch($bucket, $entity, Postman_Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'entity' => $entity, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Storage_ObjectAccessControl");
+ }
+
+ /**
+ * Updates a default object ACL entry on the specified bucket.
+ * (defaultObjectAccessControls.update)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param string $entity The entity holding the permission. Can be user-userId,
+ * user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+ * allAuthenticatedUsers.
+ * @param Postman_Google_ObjectAccessControl $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Storage_ObjectAccessControl
+ */
+ public function update($bucket, $entity, Postman_Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'entity' => $entity, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Storage_ObjectAccessControl");
+ }
+}
+
+/**
+ * The "objectAccessControls" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $storageService = new Postman_Google_Service_Storage(...);
+ * $objectAccessControls = $storageService->objectAccessControls;
+ * </code>
+ */
+class Postman_Google_Service_Storage_ObjectAccessControls_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Permanently deletes the ACL entry for the specified entity on the specified
+ * object. (objectAccessControls.delete)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param string $object Name of the object.
+ * @param string $entity The entity holding the permission. Can be user-userId,
+ * user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+ * allAuthenticatedUsers.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string generation If present, selects a specific revision of this
+ * object (as opposed to the latest version, the default).
+ */
+ public function delete($bucket, $object, $entity, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'object' => $object, 'entity' => $entity);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Returns the ACL entry for the specified entity on the specified object.
+ * (objectAccessControls.get)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param string $object Name of the object.
+ * @param string $entity The entity holding the permission. Can be user-userId,
+ * user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+ * allAuthenticatedUsers.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string generation If present, selects a specific revision of this
+ * object (as opposed to the latest version, the default).
+ * @return Postman_Google_Service_Storage_ObjectAccessControl
+ */
+ public function get($bucket, $object, $entity, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'object' => $object, 'entity' => $entity);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Storage_ObjectAccessControl");
+ }
+
+ /**
+ * Creates a new ACL entry on the specified object.
+ * (objectAccessControls.insert)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param string $object Name of the object.
+ * @param Postman_Google_ObjectAccessControl $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string generation If present, selects a specific revision of this
+ * object (as opposed to the latest version, the default).
+ * @return Postman_Google_Service_Storage_ObjectAccessControl
+ */
+ public function insert($bucket, $object, Postman_Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'object' => $object, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Storage_ObjectAccessControl");
+ }
+
+ /**
+ * Retrieves ACL entries on the specified object.
+ * (objectAccessControls.listObjectAccessControls)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param string $object Name of the object.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string generation If present, selects a specific revision of this
+ * object (as opposed to the latest version, the default).
+ * @return Postman_Google_Service_Storage_ObjectAccessControls
+ */
+ public function listObjectAccessControls($bucket, $object, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'object' => $object);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Storage_ObjectAccessControls");
+ }
+
+ /**
+ * Updates an ACL entry on the specified object. This method supports patch
+ * semantics. (objectAccessControls.patch)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param string $object Name of the object.
+ * @param string $entity The entity holding the permission. Can be user-userId,
+ * user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+ * allAuthenticatedUsers.
+ * @param Postman_Google_ObjectAccessControl $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string generation If present, selects a specific revision of this
+ * object (as opposed to the latest version, the default).
+ * @return Postman_Google_Service_Storage_ObjectAccessControl
+ */
+ public function patch($bucket, $object, $entity, Postman_Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'object' => $object, 'entity' => $entity, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Storage_ObjectAccessControl");
+ }
+
+ /**
+ * Updates an ACL entry on the specified object. (objectAccessControls.update)
+ *
+ * @param string $bucket Name of a bucket.
+ * @param string $object Name of the object.
+ * @param string $entity The entity holding the permission. Can be user-userId,
+ * user-emailAddress, group-groupId, group-emailAddress, allUsers, or
+ * allAuthenticatedUsers.
+ * @param Postman_Google_ObjectAccessControl $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string generation If present, selects a specific revision of this
+ * object (as opposed to the latest version, the default).
+ * @return Postman_Google_Service_Storage_ObjectAccessControl
+ */
+ public function update($bucket, $object, $entity, Postman_Google_Service_Storage_ObjectAccessControl $postBody, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'object' => $object, 'entity' => $entity, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Storage_ObjectAccessControl");
+ }
+}
+
+/**
+ * The "objects" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $storageService = new Postman_Google_Service_Storage(...);
+ * $objects = $storageService->objects;
+ * </code>
+ */
+class Postman_Google_Service_Storage_Objects_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Concatenates a list of existing objects into a new object in the same bucket.
+ * (objects.compose)
+ *
+ * @param string $destinationBucket Name of the bucket in which to store the new
+ * object.
+ * @param string $destinationObject Name of the new object.
+ * @param Postman_Google_ComposeRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string ifGenerationMatch Makes the operation conditional on
+ * whether the object's current generation matches the given value.
+ * @opt_param string ifMetagenerationMatch Makes the operation conditional on
+ * whether the object's current metageneration matches the given value.
+ * @opt_param string destinationPredefinedAcl Apply a predefined set of access
+ * controls to the destination object.
+ * @return Postman_Google_Service_Storage_StorageObject
+ */
+ public function compose($destinationBucket, $destinationObject, Postman_Google_Service_Storage_ComposeRequest $postBody, $optParams = array())
+ {
+ $params = array('destinationBucket' => $destinationBucket, 'destinationObject' => $destinationObject, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('compose', array($params), "Postman_Google_Service_Storage_StorageObject");
+ }
+
+ /**
+ * Copies an object to a specified location. Optionally overrides metadata.
+ * (objects.copy)
+ *
+ * @param string $sourceBucket Name of the bucket in which to find the source
+ * object.
+ * @param string $sourceObject Name of the source object.
+ * @param string $destinationBucket Name of the bucket in which to store the new
+ * object. Overrides the provided object metadata's bucket value, if any.
+ * @param string $destinationObject Name of the new object. Required when the
+ * object metadata is not otherwise provided. Overrides the object metadata's
+ * name value, if any.
+ * @param Postman_Google_StorageObject $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string ifSourceGenerationNotMatch Makes the operation conditional
+ * on whether the source object's generation does not match the given value.
+ * @opt_param string ifGenerationNotMatch Makes the operation conditional on
+ * whether the destination object's current generation does not match the given
+ * value.
+ * @opt_param string ifSourceMetagenerationNotMatch Makes the operation
+ * conditional on whether the source object's current metageneration does not
+ * match the given value.
+ * @opt_param string ifMetagenerationMatch Makes the operation conditional on
+ * whether the destination object's current metageneration matches the given
+ * value.
+ * @opt_param string sourceGeneration If present, selects a specific revision of
+ * the source object (as opposed to the latest version, the default).
+ * @opt_param string destinationPredefinedAcl Apply a predefined set of access
+ * controls to the destination object.
+ * @opt_param string ifSourceGenerationMatch Makes the operation conditional on
+ * whether the source object's generation matches the given value.
+ * @opt_param string ifSourceMetagenerationMatch Makes the operation conditional
+ * on whether the source object's current metageneration matches the given
+ * value.
+ * @opt_param string ifGenerationMatch Makes the operation conditional on
+ * whether the destination object's current generation matches the given value.
+ * @opt_param string ifMetagenerationNotMatch Makes the operation conditional on
+ * whether the destination object's current metageneration does not match the
+ * given value.
+ * @opt_param string projection Set of properties to return. Defaults to noAcl,
+ * unless the object resource specifies the acl property, when it defaults to
+ * full.
+ * @return Postman_Google_Service_Storage_StorageObject
+ */
+ public function copy($sourceBucket, $sourceObject, $destinationBucket, $destinationObject, Postman_Google_Service_Storage_StorageObject $postBody, $optParams = array())
+ {
+ $params = array('sourceBucket' => $sourceBucket, 'sourceObject' => $sourceObject, 'destinationBucket' => $destinationBucket, 'destinationObject' => $destinationObject, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('copy', array($params), "Postman_Google_Service_Storage_StorageObject");
+ }
+
+ /**
+ * Deletes an object and its metadata. Deletions are permanent if versioning is
+ * not enabled for the bucket, or if the generation parameter is used.
+ * (objects.delete)
+ *
+ * @param string $bucket Name of the bucket in which the object resides.
+ * @param string $object Name of the object.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string ifGenerationNotMatch Makes the operation conditional on
+ * whether the object's current generation does not match the given value.
+ * @opt_param string generation If present, permanently deletes a specific
+ * revision of this object (as opposed to the latest version, the default).
+ * @opt_param string ifMetagenerationMatch Makes the operation conditional on
+ * whether the object's current metageneration matches the given value.
+ * @opt_param string ifGenerationMatch Makes the operation conditional on
+ * whether the object's current generation matches the given value.
+ * @opt_param string ifMetagenerationNotMatch Makes the operation conditional on
+ * whether the object's current metageneration does not match the given value.
+ */
+ public function delete($bucket, $object, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'object' => $object);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves an object or its metadata. (objects.get)
+ *
+ * @param string $bucket Name of the bucket in which the object resides.
+ * @param string $object Name of the object.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string ifGenerationNotMatch Makes the operation conditional on
+ * whether the object's generation does not match the given value.
+ * @opt_param string generation If present, selects a specific revision of this
+ * object (as opposed to the latest version, the default).
+ * @opt_param string ifMetagenerationMatch Makes the operation conditional on
+ * whether the object's current metageneration matches the given value.
+ * @opt_param string ifGenerationMatch Makes the operation conditional on
+ * whether the object's generation matches the given value.
+ * @opt_param string ifMetagenerationNotMatch Makes the operation conditional on
+ * whether the object's current metageneration does not match the given value.
+ * @opt_param string projection Set of properties to return. Defaults to noAcl.
+ * @return Postman_Google_Service_Storage_StorageObject
+ */
+ public function get($bucket, $object, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'object' => $object);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Storage_StorageObject");
+ }
+
+ /**
+ * Stores a new object and metadata. (objects.insert)
+ *
+ * @param string $bucket Name of the bucket in which to store the new object.
+ * Overrides the provided object metadata's bucket value, if any.
+ * @param Postman_Google_StorageObject $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string predefinedAcl Apply a predefined set of access controls to
+ * this object.
+ * @opt_param string projection Set of properties to return. Defaults to noAcl,
+ * unless the object resource specifies the acl property, when it defaults to
+ * full.
+ * @opt_param string ifGenerationNotMatch Makes the operation conditional on
+ * whether the object's current generation does not match the given value.
+ * @opt_param string ifMetagenerationMatch Makes the operation conditional on
+ * whether the object's current metageneration matches the given value.
+ * @opt_param string contentEncoding If set, sets the contentEncoding property
+ * of the final object to this value. Setting this parameter is equivalent to
+ * setting the contentEncoding metadata property. This can be useful when
+ * uploading an object with uploadType=media to indicate the encoding of the
+ * content being uploaded.
+ * @opt_param string ifGenerationMatch Makes the operation conditional on
+ * whether the object's current generation matches the given value.
+ * @opt_param string ifMetagenerationNotMatch Makes the operation conditional on
+ * whether the object's current metageneration does not match the given value.
+ * @opt_param string name Name of the object. Required when the object metadata
+ * is not otherwise provided. Overrides the object metadata's name value, if
+ * any.
+ * @return Postman_Google_Service_Storage_StorageObject
+ */
+ public function insert($bucket, Postman_Google_Service_Storage_StorageObject $postBody, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Storage_StorageObject");
+ }
+
+ /**
+ * Retrieves a list of objects matching the criteria. (objects.listObjects)
+ *
+ * @param string $bucket Name of the bucket in which to look for objects.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projection Set of properties to return. Defaults to noAcl.
+ * @opt_param bool versions If true, lists all versions of a file as distinct
+ * results.
+ * @opt_param string prefix Filter results to objects whose names begin with
+ * this prefix.
+ * @opt_param string maxResults Maximum number of items plus prefixes to return.
+ * As duplicate prefixes are omitted, fewer total results may be returned than
+ * requested.
+ * @opt_param string pageToken A previously-returned page token representing
+ * part of the larger set of results to view.
+ * @opt_param string delimiter Returns results in a directory-like mode. items
+ * will contain only objects whose names, aside from the prefix, do not contain
+ * delimiter. Objects whose names, aside from the prefix, contain delimiter will
+ * have their name, truncated after the delimiter, returned in prefixes.
+ * Duplicate prefixes are omitted.
+ * @return Postman_Google_Service_Storage_Objects
+ */
+ public function listObjects($bucket, $optParams = array())
+ {
+ $params = array('bucket' => $bucket);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Storage_Objects");
+ }
+
+ /**
+ * Updates an object's metadata. This method supports patch semantics.
+ * (objects.patch)
+ *
+ * @param string $bucket Name of the bucket in which the object resides.
+ * @param string $object Name of the object.
+ * @param Postman_Google_StorageObject $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string predefinedAcl Apply a predefined set of access controls to
+ * this object.
+ * @opt_param string ifGenerationNotMatch Makes the operation conditional on
+ * whether the object's current generation does not match the given value.
+ * @opt_param string generation If present, selects a specific revision of this
+ * object (as opposed to the latest version, the default).
+ * @opt_param string ifMetagenerationMatch Makes the operation conditional on
+ * whether the object's current metageneration matches the given value.
+ * @opt_param string ifGenerationMatch Makes the operation conditional on
+ * whether the object's current generation matches the given value.
+ * @opt_param string ifMetagenerationNotMatch Makes the operation conditional on
+ * whether the object's current metageneration does not match the given value.
+ * @opt_param string projection Set of properties to return. Defaults to full.
+ * @return Postman_Google_Service_Storage_StorageObject
+ */
+ public function patch($bucket, $object, Postman_Google_Service_Storage_StorageObject $postBody, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'object' => $object, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Storage_StorageObject");
+ }
+
+ /**
+ * Updates an object's metadata. (objects.update)
+ *
+ * @param string $bucket Name of the bucket in which the object resides.
+ * @param string $object Name of the object.
+ * @param Postman_Google_StorageObject $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string predefinedAcl Apply a predefined set of access controls to
+ * this object.
+ * @opt_param string ifGenerationNotMatch Makes the operation conditional on
+ * whether the object's current generation does not match the given value.
+ * @opt_param string generation If present, selects a specific revision of this
+ * object (as opposed to the latest version, the default).
+ * @opt_param string ifMetagenerationMatch Makes the operation conditional on
+ * whether the object's current metageneration matches the given value.
+ * @opt_param string ifGenerationMatch Makes the operation conditional on
+ * whether the object's current generation matches the given value.
+ * @opt_param string ifMetagenerationNotMatch Makes the operation conditional on
+ * whether the object's current metageneration does not match the given value.
+ * @opt_param string projection Set of properties to return. Defaults to full.
+ * @return Postman_Google_Service_Storage_StorageObject
+ */
+ public function update($bucket, $object, Postman_Google_Service_Storage_StorageObject $postBody, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'object' => $object, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Storage_StorageObject");
+ }
+
+ /**
+ * Watch for changes on all objects in a bucket. (objects.watchAll)
+ *
+ * @param string $bucket Name of the bucket in which to look for objects.
+ * @param Postman_Google_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projection Set of properties to return. Defaults to noAcl.
+ * @opt_param bool versions If true, lists all versions of a file as distinct
+ * results.
+ * @opt_param string prefix Filter results to objects whose names begin with
+ * this prefix.
+ * @opt_param string maxResults Maximum number of items plus prefixes to return.
+ * As duplicate prefixes are omitted, fewer total results may be returned than
+ * requested.
+ * @opt_param string pageToken A previously-returned page token representing
+ * part of the larger set of results to view.
+ * @opt_param string delimiter Returns results in a directory-like mode. items
+ * will contain only objects whose names, aside from the prefix, do not contain
+ * delimiter. Objects whose names, aside from the prefix, contain delimiter will
+ * have their name, truncated after the delimiter, returned in prefixes.
+ * Duplicate prefixes are omitted.
+ * @return Postman_Google_Service_Storage_Channel
+ */
+ public function watchAll($bucket, Postman_Google_Service_Storage_Channel $postBody, $optParams = array())
+ {
+ $params = array('bucket' => $bucket, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('watchAll', array($params), "Postman_Google_Service_Storage_Channel");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Storage_Bucket extends Postman_Google_Collection
+{
+ protected $collection_key = 'defaultObjectAcl';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $aclType = 'Postman_Google_Service_Storage_BucketAccessControl';
+ protected $aclDataType = 'array';
+ protected $corsType = 'Postman_Google_Service_Storage_BucketCors';
+ protected $corsDataType = 'array';
+ protected $defaultObjectAclType = 'Postman_Google_Service_Storage_ObjectAccessControl';
+ protected $defaultObjectAclDataType = 'array';
+ public $etag;
+ public $id;
+ public $kind;
+ protected $lifecycleType = 'Postman_Google_Service_Storage_BucketLifecycle';
+ protected $lifecycleDataType = '';
+ public $location;
+ protected $loggingType = 'Postman_Google_Service_Storage_BucketLogging';
+ protected $loggingDataType = '';
+ public $metageneration;
+ public $name;
+ protected $ownerType = 'Postman_Google_Service_Storage_BucketOwner';
+ protected $ownerDataType = '';
+ public $projectNumber;
+ public $selfLink;
+ public $storageClass;
+ public $timeCreated;
+ protected $versioningType = 'Postman_Google_Service_Storage_BucketVersioning';
+ protected $versioningDataType = '';
+ protected $websiteType = 'Postman_Google_Service_Storage_BucketWebsite';
+ protected $websiteDataType = '';
+
+
+ public function setAcl($acl)
+ {
+ $this->acl = $acl;
+ }
+ public function getAcl()
+ {
+ return $this->acl;
+ }
+ public function setCors($cors)
+ {
+ $this->cors = $cors;
+ }
+ public function getCors()
+ {
+ return $this->cors;
+ }
+ public function setDefaultObjectAcl($defaultObjectAcl)
+ {
+ $this->defaultObjectAcl = $defaultObjectAcl;
+ }
+ public function getDefaultObjectAcl()
+ {
+ return $this->defaultObjectAcl;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLifecycle(Postman_Google_Service_Storage_BucketLifecycle $lifecycle)
+ {
+ $this->lifecycle = $lifecycle;
+ }
+ public function getLifecycle()
+ {
+ return $this->lifecycle;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setLogging(Postman_Google_Service_Storage_BucketLogging $logging)
+ {
+ $this->logging = $logging;
+ }
+ public function getLogging()
+ {
+ return $this->logging;
+ }
+ public function setMetageneration($metageneration)
+ {
+ $this->metageneration = $metageneration;
+ }
+ public function getMetageneration()
+ {
+ return $this->metageneration;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOwner(Postman_Google_Service_Storage_BucketOwner $owner)
+ {
+ $this->owner = $owner;
+ }
+ public function getOwner()
+ {
+ return $this->owner;
+ }
+ public function setProjectNumber($projectNumber)
+ {
+ $this->projectNumber = $projectNumber;
+ }
+ public function getProjectNumber()
+ {
+ return $this->projectNumber;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStorageClass($storageClass)
+ {
+ $this->storageClass = $storageClass;
+ }
+ public function getStorageClass()
+ {
+ return $this->storageClass;
+ }
+ public function setTimeCreated($timeCreated)
+ {
+ $this->timeCreated = $timeCreated;
+ }
+ public function getTimeCreated()
+ {
+ return $this->timeCreated;
+ }
+ public function setVersioning(Postman_Google_Service_Storage_BucketVersioning $versioning)
+ {
+ $this->versioning = $versioning;
+ }
+ public function getVersioning()
+ {
+ return $this->versioning;
+ }
+ public function setWebsite(Postman_Google_Service_Storage_BucketWebsite $website)
+ {
+ $this->website = $website;
+ }
+ public function getWebsite()
+ {
+ return $this->website;
+ }
+}
+
+class Postman_Google_Service_Storage_BucketAccessControl extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $bucket;
+ public $domain;
+ public $email;
+ public $entity;
+ public $entityId;
+ public $etag;
+ public $id;
+ public $kind;
+ protected $projectTeamType = 'Postman_Google_Service_Storage_BucketAccessControlProjectTeam';
+ protected $projectTeamDataType = '';
+ public $role;
+ public $selfLink;
+
+
+ public function setBucket($bucket)
+ {
+ $this->bucket = $bucket;
+ }
+ public function getBucket()
+ {
+ return $this->bucket;
+ }
+ public function setDomain($domain)
+ {
+ $this->domain = $domain;
+ }
+ public function getDomain()
+ {
+ return $this->domain;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setEntity($entity)
+ {
+ $this->entity = $entity;
+ }
+ public function getEntity()
+ {
+ return $this->entity;
+ }
+ public function setEntityId($entityId)
+ {
+ $this->entityId = $entityId;
+ }
+ public function getEntityId()
+ {
+ return $this->entityId;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setProjectTeam(Postman_Google_Service_Storage_BucketAccessControlProjectTeam $projectTeam)
+ {
+ $this->projectTeam = $projectTeam;
+ }
+ public function getProjectTeam()
+ {
+ return $this->projectTeam;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Storage_BucketAccessControlProjectTeam extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $projectNumber;
+ public $team;
+
+
+ public function setProjectNumber($projectNumber)
+ {
+ $this->projectNumber = $projectNumber;
+ }
+ public function getProjectNumber()
+ {
+ return $this->projectNumber;
+ }
+ public function setTeam($team)
+ {
+ $this->team = $team;
+ }
+ public function getTeam()
+ {
+ return $this->team;
+ }
+}
+
+class Postman_Google_Service_Storage_BucketAccessControls extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Storage_BucketAccessControl';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Storage_BucketCors extends Postman_Google_Collection
+{
+ protected $collection_key = 'responseHeader';
+ protected $internal_gapi_mappings = array(
+ );
+ public $maxAgeSeconds;
+ public $method;
+ public $origin;
+ public $responseHeader;
+
+
+ public function setMaxAgeSeconds($maxAgeSeconds)
+ {
+ $this->maxAgeSeconds = $maxAgeSeconds;
+ }
+ public function getMaxAgeSeconds()
+ {
+ return $this->maxAgeSeconds;
+ }
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+ public function getMethod()
+ {
+ return $this->method;
+ }
+ public function setOrigin($origin)
+ {
+ $this->origin = $origin;
+ }
+ public function getOrigin()
+ {
+ return $this->origin;
+ }
+ public function setResponseHeader($responseHeader)
+ {
+ $this->responseHeader = $responseHeader;
+ }
+ public function getResponseHeader()
+ {
+ return $this->responseHeader;
+ }
+}
+
+class Postman_Google_Service_Storage_BucketLifecycle extends Postman_Google_Collection
+{
+ protected $collection_key = 'rule';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $ruleType = 'Postman_Google_Service_Storage_BucketLifecycleRule';
+ protected $ruleDataType = 'array';
+
+
+ public function setRule($rule)
+ {
+ $this->rule = $rule;
+ }
+ public function getRule()
+ {
+ return $this->rule;
+ }
+}
+
+class Postman_Google_Service_Storage_BucketLifecycleRule extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $actionType = 'Postman_Google_Service_Storage_BucketLifecycleRuleAction';
+ protected $actionDataType = '';
+ protected $conditionType = 'Postman_Google_Service_Storage_BucketLifecycleRuleCondition';
+ protected $conditionDataType = '';
+
+
+ public function setAction(Postman_Google_Service_Storage_BucketLifecycleRuleAction $action)
+ {
+ $this->action = $action;
+ }
+ public function getAction()
+ {
+ return $this->action;
+ }
+ public function setCondition(Postman_Google_Service_Storage_BucketLifecycleRuleCondition $condition)
+ {
+ $this->condition = $condition;
+ }
+ public function getCondition()
+ {
+ return $this->condition;
+ }
+}
+
+class Postman_Google_Service_Storage_BucketLifecycleRuleAction extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $type;
+
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Storage_BucketLifecycleRuleCondition extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $age;
+ public $createdBefore;
+ public $isLive;
+ public $numNewerVersions;
+
+
+ public function setAge($age)
+ {
+ $this->age = $age;
+ }
+ public function getAge()
+ {
+ return $this->age;
+ }
+ public function setCreatedBefore($createdBefore)
+ {
+ $this->createdBefore = $createdBefore;
+ }
+ public function getCreatedBefore()
+ {
+ return $this->createdBefore;
+ }
+ public function setIsLive($isLive)
+ {
+ $this->isLive = $isLive;
+ }
+ public function getIsLive()
+ {
+ return $this->isLive;
+ }
+ public function setNumNewerVersions($numNewerVersions)
+ {
+ $this->numNewerVersions = $numNewerVersions;
+ }
+ public function getNumNewerVersions()
+ {
+ return $this->numNewerVersions;
+ }
+}
+
+class Postman_Google_Service_Storage_BucketLogging extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $logBucket;
+ public $logObjectPrefix;
+
+
+ public function setLogBucket($logBucket)
+ {
+ $this->logBucket = $logBucket;
+ }
+ public function getLogBucket()
+ {
+ return $this->logBucket;
+ }
+ public function setLogObjectPrefix($logObjectPrefix)
+ {
+ $this->logObjectPrefix = $logObjectPrefix;
+ }
+ public function getLogObjectPrefix()
+ {
+ return $this->logObjectPrefix;
+ }
+}
+
+class Postman_Google_Service_Storage_BucketOwner extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $entity;
+ public $entityId;
+
+
+ public function setEntity($entity)
+ {
+ $this->entity = $entity;
+ }
+ public function getEntity()
+ {
+ return $this->entity;
+ }
+ public function setEntityId($entityId)
+ {
+ $this->entityId = $entityId;
+ }
+ public function getEntityId()
+ {
+ return $this->entityId;
+ }
+}
+
+class Postman_Google_Service_Storage_BucketVersioning extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $enabled;
+
+
+ public function setEnabled($enabled)
+ {
+ $this->enabled = $enabled;
+ }
+ public function getEnabled()
+ {
+ return $this->enabled;
+ }
+}
+
+class Postman_Google_Service_Storage_BucketWebsite extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $mainPageSuffix;
+ public $notFoundPage;
+
+
+ public function setMainPageSuffix($mainPageSuffix)
+ {
+ $this->mainPageSuffix = $mainPageSuffix;
+ }
+ public function getMainPageSuffix()
+ {
+ return $this->mainPageSuffix;
+ }
+ public function setNotFoundPage($notFoundPage)
+ {
+ $this->notFoundPage = $notFoundPage;
+ }
+ public function getNotFoundPage()
+ {
+ return $this->notFoundPage;
+ }
+}
+
+class Postman_Google_Service_Storage_Buckets extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Storage_Bucket';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Storage_Channel extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $address;
+ public $expiration;
+ public $id;
+ public $kind;
+ public $params;
+ public $payload;
+ public $resourceId;
+ public $resourceUri;
+ public $token;
+ public $type;
+
+
+ public function setAddress($address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
+ public function setExpiration($expiration)
+ {
+ $this->expiration = $expiration;
+ }
+ public function getExpiration()
+ {
+ return $this->expiration;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setParams($params)
+ {
+ $this->params = $params;
+ }
+ public function getParams()
+ {
+ return $this->params;
+ }
+ public function setPayload($payload)
+ {
+ $this->payload = $payload;
+ }
+ public function getPayload()
+ {
+ return $this->payload;
+ }
+ public function setResourceId($resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+ public function setResourceUri($resourceUri)
+ {
+ $this->resourceUri = $resourceUri;
+ }
+ public function getResourceUri()
+ {
+ return $this->resourceUri;
+ }
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+ public function getToken()
+ {
+ return $this->token;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Storage_ChannelParams extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Storage_ComposeRequest extends Postman_Google_Collection
+{
+ protected $collection_key = 'sourceObjects';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $destinationType = 'Postman_Google_Service_Storage_StorageObject';
+ protected $destinationDataType = '';
+ public $kind;
+ protected $sourceObjectsType = 'Postman_Google_Service_Storage_ComposeRequestSourceObjects';
+ protected $sourceObjectsDataType = 'array';
+
+
+ public function setDestination(Postman_Google_Service_Storage_StorageObject $destination)
+ {
+ $this->destination = $destination;
+ }
+ public function getDestination()
+ {
+ return $this->destination;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSourceObjects($sourceObjects)
+ {
+ $this->sourceObjects = $sourceObjects;
+ }
+ public function getSourceObjects()
+ {
+ return $this->sourceObjects;
+ }
+}
+
+class Postman_Google_Service_Storage_ComposeRequestSourceObjects extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $generation;
+ public $name;
+ protected $objectPreconditionsType = 'Postman_Google_Service_Storage_ComposeRequestSourceObjectsObjectPreconditions';
+ protected $objectPreconditionsDataType = '';
+
+
+ public function setGeneration($generation)
+ {
+ $this->generation = $generation;
+ }
+ public function getGeneration()
+ {
+ return $this->generation;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setObjectPreconditions(Postman_Google_Service_Storage_ComposeRequestSourceObjectsObjectPreconditions $objectPreconditions)
+ {
+ $this->objectPreconditions = $objectPreconditions;
+ }
+ public function getObjectPreconditions()
+ {
+ return $this->objectPreconditions;
+ }
+}
+
+class Postman_Google_Service_Storage_ComposeRequestSourceObjectsObjectPreconditions extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $ifGenerationMatch;
+
+
+ public function setIfGenerationMatch($ifGenerationMatch)
+ {
+ $this->ifGenerationMatch = $ifGenerationMatch;
+ }
+ public function getIfGenerationMatch()
+ {
+ return $this->ifGenerationMatch;
+ }
+}
+
+class Postman_Google_Service_Storage_ObjectAccessControl extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $bucket;
+ public $domain;
+ public $email;
+ public $entity;
+ public $entityId;
+ public $etag;
+ public $generation;
+ public $id;
+ public $kind;
+ public $object;
+ protected $projectTeamType = 'Postman_Google_Service_Storage_ObjectAccessControlProjectTeam';
+ protected $projectTeamDataType = '';
+ public $role;
+ public $selfLink;
+
+
+ public function setBucket($bucket)
+ {
+ $this->bucket = $bucket;
+ }
+ public function getBucket()
+ {
+ return $this->bucket;
+ }
+ public function setDomain($domain)
+ {
+ $this->domain = $domain;
+ }
+ public function getDomain()
+ {
+ return $this->domain;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setEntity($entity)
+ {
+ $this->entity = $entity;
+ }
+ public function getEntity()
+ {
+ return $this->entity;
+ }
+ public function setEntityId($entityId)
+ {
+ $this->entityId = $entityId;
+ }
+ public function getEntityId()
+ {
+ return $this->entityId;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setGeneration($generation)
+ {
+ $this->generation = $generation;
+ }
+ public function getGeneration()
+ {
+ return $this->generation;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setObject($object)
+ {
+ $this->object = $object;
+ }
+ public function getObject()
+ {
+ return $this->object;
+ }
+ public function setProjectTeam(Postman_Google_Service_Storage_ObjectAccessControlProjectTeam $projectTeam)
+ {
+ $this->projectTeam = $projectTeam;
+ }
+ public function getProjectTeam()
+ {
+ return $this->projectTeam;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Postman_Google_Service_Storage_ObjectAccessControlProjectTeam extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $projectNumber;
+ public $team;
+
+
+ public function setProjectNumber($projectNumber)
+ {
+ $this->projectNumber = $projectNumber;
+ }
+ public function getProjectNumber()
+ {
+ return $this->projectNumber;
+ }
+ public function setTeam($team)
+ {
+ $this->team = $team;
+ }
+ public function getTeam()
+ {
+ return $this->team;
+ }
+}
+
+class Postman_Google_Service_Storage_ObjectAccessControls extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $items;
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Storage_Objects extends Postman_Google_Collection
+{
+ protected $collection_key = 'prefixes';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Storage_StorageObject';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $prefixes;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPrefixes($prefixes)
+ {
+ $this->prefixes = $prefixes;
+ }
+ public function getPrefixes()
+ {
+ return $this->prefixes;
+ }
+}
+
+class Postman_Google_Service_Storage_StorageObject extends Postman_Google_Collection
+{
+ protected $collection_key = 'acl';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $aclType = 'Postman_Google_Service_Storage_ObjectAccessControl';
+ protected $aclDataType = 'array';
+ public $bucket;
+ public $cacheControl;
+ public $componentCount;
+ public $contentDisposition;
+ public $contentEncoding;
+ public $contentLanguage;
+ public $contentType;
+ public $crc32c;
+ public $etag;
+ public $generation;
+ public $id;
+ public $kind;
+ public $md5Hash;
+ public $mediaLink;
+ public $metadata;
+ public $metageneration;
+ public $name;
+ protected $ownerType = 'Postman_Google_Service_Storage_StorageObjectOwner';
+ protected $ownerDataType = '';
+ public $selfLink;
+ public $size;
+ public $storageClass;
+ public $timeDeleted;
+ public $updated;
+
+
+ public function setAcl($acl)
+ {
+ $this->acl = $acl;
+ }
+ public function getAcl()
+ {
+ return $this->acl;
+ }
+ public function setBucket($bucket)
+ {
+ $this->bucket = $bucket;
+ }
+ public function getBucket()
+ {
+ return $this->bucket;
+ }
+ public function setCacheControl($cacheControl)
+ {
+ $this->cacheControl = $cacheControl;
+ }
+ public function getCacheControl()
+ {
+ return $this->cacheControl;
+ }
+ public function setComponentCount($componentCount)
+ {
+ $this->componentCount = $componentCount;
+ }
+ public function getComponentCount()
+ {
+ return $this->componentCount;
+ }
+ public function setContentDisposition($contentDisposition)
+ {
+ $this->contentDisposition = $contentDisposition;
+ }
+ public function getContentDisposition()
+ {
+ return $this->contentDisposition;
+ }
+ public function setContentEncoding($contentEncoding)
+ {
+ $this->contentEncoding = $contentEncoding;
+ }
+ public function getContentEncoding()
+ {
+ return $this->contentEncoding;
+ }
+ public function setContentLanguage($contentLanguage)
+ {
+ $this->contentLanguage = $contentLanguage;
+ }
+ public function getContentLanguage()
+ {
+ return $this->contentLanguage;
+ }
+ public function setContentType($contentType)
+ {
+ $this->contentType = $contentType;
+ }
+ public function getContentType()
+ {
+ return $this->contentType;
+ }
+ public function setCrc32c($crc32c)
+ {
+ $this->crc32c = $crc32c;
+ }
+ public function getCrc32c()
+ {
+ return $this->crc32c;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setGeneration($generation)
+ {
+ $this->generation = $generation;
+ }
+ public function getGeneration()
+ {
+ return $this->generation;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMd5Hash($md5Hash)
+ {
+ $this->md5Hash = $md5Hash;
+ }
+ public function getMd5Hash()
+ {
+ return $this->md5Hash;
+ }
+ public function setMediaLink($mediaLink)
+ {
+ $this->mediaLink = $mediaLink;
+ }
+ public function getMediaLink()
+ {
+ return $this->mediaLink;
+ }
+ public function setMetadata($metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setMetageneration($metageneration)
+ {
+ $this->metageneration = $metageneration;
+ }
+ public function getMetageneration()
+ {
+ return $this->metageneration;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOwner(Postman_Google_Service_Storage_StorageObjectOwner $owner)
+ {
+ $this->owner = $owner;
+ }
+ public function getOwner()
+ {
+ return $this->owner;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setStorageClass($storageClass)
+ {
+ $this->storageClass = $storageClass;
+ }
+ public function getStorageClass()
+ {
+ return $this->storageClass;
+ }
+ public function setTimeDeleted($timeDeleted)
+ {
+ $this->timeDeleted = $timeDeleted;
+ }
+ public function getTimeDeleted()
+ {
+ return $this->timeDeleted;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+}
+
+class Postman_Google_Service_Storage_StorageObjectMetadata extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Storage_StorageObjectOwner extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $entity;
+ public $entityId;
+
+
+ public function setEntity($entity)
+ {
+ $this->entity = $entity;
+ }
+ public function getEntity()
+ {
+ return $this->entity;
+ }
+ public function setEntityId($entityId)
+ {
+ $this->entityId = $entityId;
+ }
+ public function getEntityId()
+ {
+ return $this->entityId;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/TagManager.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/TagManager.php
new file mode 100644
index 0000000..3367e26
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/TagManager.php
@@ -0,0 +1,3306 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for TagManager (v1).
+ *
+ * <p>
+ * API for accessing Tag Manager accounts and containers.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/tag-manager/api/v1/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_TagManager extends Postman_Google_Service
+{
+ /** Delete your Google Tag Manager containers. */
+ const TAGMANAGER_DELETE_CONTAINERS =
+ "https://www.googleapis.com/auth/tagmanager.delete.containers";
+ /** Manage your Google Tag Manager containers. */
+ const TAGMANAGER_EDIT_CONTAINERS =
+ "https://www.googleapis.com/auth/tagmanager.edit.containers";
+ /** Manage your Google Tag Manager container versions. */
+ const TAGMANAGER_EDIT_CONTAINERVERSIONS =
+ "https://www.googleapis.com/auth/tagmanager.edit.containerversions";
+ /** Manage your Google Tag Manager accounts. */
+ const TAGMANAGER_MANAGE_ACCOUNTS =
+ "https://www.googleapis.com/auth/tagmanager.manage.accounts";
+ /** Manage user permissions of your Google Tag Manager data. */
+ const TAGMANAGER_MANAGE_USERS =
+ "https://www.googleapis.com/auth/tagmanager.manage.users";
+ /** Publish your Google Tag Manager containers. */
+ const TAGMANAGER_PUBLISH =
+ "https://www.googleapis.com/auth/tagmanager.publish";
+ /** View your Google Tag Manager containers. */
+ const TAGMANAGER_READONLY =
+ "https://www.googleapis.com/auth/tagmanager.readonly";
+
+ public $accounts;
+ public $accounts_containers;
+ public $accounts_containers_macros;
+ public $accounts_containers_rules;
+ public $accounts_containers_tags;
+ public $accounts_containers_triggers;
+ public $accounts_containers_variables;
+ public $accounts_containers_versions;
+ public $accounts_permissions;
+
+
+ /**
+ * Constructs the internal representation of the TagManager service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'tagmanager/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'tagmanager';
+
+ $this->accounts = new Postman_Google_Service_TagManager_Accounts_Resource(
+ $this,
+ $this->serviceName,
+ 'accounts',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'accounts/{accountId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),'update' => array(
+ 'path' => 'accounts/{accountId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fingerprint' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_containers = new Postman_Google_Service_TagManager_AccountsContainers_Resource(
+ $this,
+ $this->serviceName,
+ 'containers',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'accounts/{accountId}/containers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts/{accountId}/containers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fingerprint' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_containers_macros = new Postman_Google_Service_TagManager_AccountsContainersMacros_Resource(
+ $this,
+ $this->serviceName,
+ 'macros',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/macros',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/macros/{macroId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'macroId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/macros/{macroId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'macroId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/macros',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/macros/{macroId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'macroId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fingerprint' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_containers_rules = new Postman_Google_Service_TagManager_AccountsContainersRules_Resource(
+ $this,
+ $this->serviceName,
+ 'rules',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/rules',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/rules/{ruleId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ruleId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/rules/{ruleId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ruleId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/rules',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/rules/{ruleId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ruleId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fingerprint' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_containers_tags = new Postman_Google_Service_TagManager_AccountsContainersTags_Resource(
+ $this,
+ $this->serviceName,
+ 'tags',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/tags',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'tagId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'tagId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/tags',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'tagId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fingerprint' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_containers_triggers = new Postman_Google_Service_TagManager_AccountsContainersTriggers_Resource(
+ $this,
+ $this->serviceName,
+ 'triggers',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/triggers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'triggerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'triggerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/triggers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'triggerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fingerprint' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_containers_variables = new Postman_Google_Service_TagManager_AccountsContainersVariables_Resource(
+ $this,
+ $this->serviceName,
+ 'variables',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/variables',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'variableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'variableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/variables',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'variableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fingerprint' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_containers_versions = new Postman_Google_Service_TagManager_AccountsContainersVersions_Resource(
+ $this,
+ $this->serviceName,
+ 'versions',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/versions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerVersionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerVersionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/versions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'headers' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'publish' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/publish',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerVersionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fingerprint' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'restore' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/restore',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerVersionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'undelete' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/undelete',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerVersionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'containerVersionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fingerprint' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounts_permissions = new Postman_Google_Service_TagManager_AccountsPermissions_Resource(
+ $this,
+ $this->serviceName,
+ 'permissions',
+ array(
+ 'methods' => array(
+ 'create' => array(
+ 'path' => 'accounts/{accountId}/permissions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'accounts/{accountId}/permissions/{permissionId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'permissionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'accounts/{accountId}/permissions/{permissionId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'permissionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'accounts/{accountId}/permissions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'accounts/{accountId}/permissions/{permissionId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'permissionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tagmanagerService = new Postman_Google_Service_TagManager(...);
+ * $accounts = $tagmanagerService->accounts;
+ * </code>
+ */
+class Postman_Google_Service_TagManager_Accounts_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Gets a GTM Account. (accounts.get)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_Account
+ */
+ public function get($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_TagManager_Account");
+ }
+
+ /**
+ * Lists all GTM Accounts that a user has access to. (accounts.listAccounts)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_ListAccountsResponse
+ */
+ public function listAccounts($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_TagManager_ListAccountsResponse");
+ }
+
+ /**
+ * Updates a GTM Account. (accounts.update)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param Postman_Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string fingerprint When provided, this fingerprint must match the
+ * fingerprint of the account in storage.
+ * @return Postman_Google_Service_TagManager_Account
+ */
+ public function update($accountId, Postman_Google_Service_TagManager_Account $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_TagManager_Account");
+ }
+}
+
+/**
+ * The "containers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tagmanagerService = new Postman_Google_Service_TagManager(...);
+ * $containers = $tagmanagerService->containers;
+ * </code>
+ */
+class Postman_Google_Service_TagManager_AccountsContainers_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Creates a Container. (containers.create)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param Postman_Google_Container $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_Container
+ */
+ public function create($accountId, Postman_Google_Service_TagManager_Container $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_TagManager_Container");
+ }
+
+ /**
+ * Deletes a Container. (containers.delete)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $containerId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a Container. (containers.get)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_Container
+ */
+ public function get($accountId, $containerId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_TagManager_Container");
+ }
+
+ /**
+ * Lists all Containers that belongs to a GTM Account.
+ * (containers.listAccountsContainers)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_ListContainersResponse
+ */
+ public function listAccountsContainers($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_TagManager_ListContainersResponse");
+ }
+
+ /**
+ * Updates a Container. (containers.update)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param Postman_Google_Container $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string fingerprint When provided, this fingerprint must match the
+ * fingerprint of the container in storage.
+ * @return Postman_Google_Service_TagManager_Container
+ */
+ public function update($accountId, $containerId, Postman_Google_Service_TagManager_Container $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_TagManager_Container");
+ }
+}
+
+/**
+ * The "macros" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tagmanagerService = new Postman_Google_Service_TagManager(...);
+ * $macros = $tagmanagerService->macros;
+ * </code>
+ */
+class Postman_Google_Service_TagManager_AccountsContainersMacros_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Creates a GTM Macro. (macros.create)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param Postman_Google_Macro $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_Macro
+ */
+ public function create($accountId, $containerId, Postman_Google_Service_TagManager_Macro $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_TagManager_Macro");
+ }
+
+ /**
+ * Deletes a GTM Macro. (macros.delete)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $macroId The GTM Macro ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $containerId, $macroId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'macroId' => $macroId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a GTM Macro. (macros.get)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $macroId The GTM Macro ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_Macro
+ */
+ public function get($accountId, $containerId, $macroId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'macroId' => $macroId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_TagManager_Macro");
+ }
+
+ /**
+ * Lists all GTM Macros of a Container. (macros.listAccountsContainersMacros)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_ListMacrosResponse
+ */
+ public function listAccountsContainersMacros($accountId, $containerId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_TagManager_ListMacrosResponse");
+ }
+
+ /**
+ * Updates a GTM Macro. (macros.update)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $macroId The GTM Macro ID.
+ * @param Postman_Google_Macro $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string fingerprint When provided, this fingerprint must match the
+ * fingerprint of the macro in storage.
+ * @return Postman_Google_Service_TagManager_Macro
+ */
+ public function update($accountId, $containerId, $macroId, Postman_Google_Service_TagManager_Macro $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'macroId' => $macroId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_TagManager_Macro");
+ }
+}
+/**
+ * The "rules" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tagmanagerService = new Postman_Google_Service_TagManager(...);
+ * $rules = $tagmanagerService->rules;
+ * </code>
+ */
+class Postman_Google_Service_TagManager_AccountsContainersRules_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Creates a GTM Rule. (rules.create)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param Postman_Google_Rule $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_Rule
+ */
+ public function create($accountId, $containerId, Postman_Google_Service_TagManager_Rule $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_TagManager_Rule");
+ }
+
+ /**
+ * Deletes a GTM Rule. (rules.delete)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $ruleId The GTM Rule ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $containerId, $ruleId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'ruleId' => $ruleId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a GTM Rule. (rules.get)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $ruleId The GTM Rule ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_Rule
+ */
+ public function get($accountId, $containerId, $ruleId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'ruleId' => $ruleId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_TagManager_Rule");
+ }
+
+ /**
+ * Lists all GTM Rules of a Container. (rules.listAccountsContainersRules)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_ListRulesResponse
+ */
+ public function listAccountsContainersRules($accountId, $containerId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_TagManager_ListRulesResponse");
+ }
+
+ /**
+ * Updates a GTM Rule. (rules.update)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $ruleId The GTM Rule ID.
+ * @param Postman_Google_Rule $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string fingerprint When provided, this fingerprint must match the
+ * fingerprint of the rule in storage.
+ * @return Postman_Google_Service_TagManager_Rule
+ */
+ public function update($accountId, $containerId, $ruleId, Postman_Google_Service_TagManager_Rule $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'ruleId' => $ruleId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_TagManager_Rule");
+ }
+}
+/**
+ * The "tags" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tagmanagerService = new Postman_Google_Service_TagManager(...);
+ * $tags = $tagmanagerService->tags;
+ * </code>
+ */
+class Postman_Google_Service_TagManager_AccountsContainersTags_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Creates a GTM Tag. (tags.create)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param Postman_Google_Tag $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_Tag
+ */
+ public function create($accountId, $containerId, Postman_Google_Service_TagManager_Tag $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_TagManager_Tag");
+ }
+
+ /**
+ * Deletes a GTM Tag. (tags.delete)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $tagId The GTM Tag ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $containerId, $tagId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'tagId' => $tagId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a GTM Tag. (tags.get)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $tagId The GTM Tag ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_Tag
+ */
+ public function get($accountId, $containerId, $tagId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'tagId' => $tagId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_TagManager_Tag");
+ }
+
+ /**
+ * Lists all GTM Tags of a Container. (tags.listAccountsContainersTags)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_ListTagsResponse
+ */
+ public function listAccountsContainersTags($accountId, $containerId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_TagManager_ListTagsResponse");
+ }
+
+ /**
+ * Updates a GTM Tag. (tags.update)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $tagId The GTM Tag ID.
+ * @param Postman_Google_Tag $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string fingerprint When provided, this fingerprint must match the
+ * fingerprint of the tag in storage.
+ * @return Postman_Google_Service_TagManager_Tag
+ */
+ public function update($accountId, $containerId, $tagId, Postman_Google_Service_TagManager_Tag $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'tagId' => $tagId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_TagManager_Tag");
+ }
+}
+/**
+ * The "triggers" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tagmanagerService = new Postman_Google_Service_TagManager(...);
+ * $triggers = $tagmanagerService->triggers;
+ * </code>
+ */
+class Postman_Google_Service_TagManager_AccountsContainersTriggers_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Creates a GTM Trigger. (triggers.create)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param Postman_Google_Trigger $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_Trigger
+ */
+ public function create($accountId, $containerId, Postman_Google_Service_TagManager_Trigger $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_TagManager_Trigger");
+ }
+
+ /**
+ * Deletes a GTM Trigger. (triggers.delete)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $triggerId The GTM Trigger ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $containerId, $triggerId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'triggerId' => $triggerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a GTM Trigger. (triggers.get)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $triggerId The GTM Trigger ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_Trigger
+ */
+ public function get($accountId, $containerId, $triggerId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'triggerId' => $triggerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_TagManager_Trigger");
+ }
+
+ /**
+ * Lists all GTM Triggers of a Container.
+ * (triggers.listAccountsContainersTriggers)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_ListTriggersResponse
+ */
+ public function listAccountsContainersTriggers($accountId, $containerId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_TagManager_ListTriggersResponse");
+ }
+
+ /**
+ * Updates a GTM Trigger. (triggers.update)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $triggerId The GTM Trigger ID.
+ * @param Postman_Google_Trigger $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string fingerprint When provided, this fingerprint must match the
+ * fingerprint of the trigger in storage.
+ * @return Postman_Google_Service_TagManager_Trigger
+ */
+ public function update($accountId, $containerId, $triggerId, Postman_Google_Service_TagManager_Trigger $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'triggerId' => $triggerId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_TagManager_Trigger");
+ }
+}
+/**
+ * The "variables" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tagmanagerService = new Postman_Google_Service_TagManager(...);
+ * $variables = $tagmanagerService->variables;
+ * </code>
+ */
+class Postman_Google_Service_TagManager_AccountsContainersVariables_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Creates a GTM Variable. (variables.create)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param Postman_Google_Variable $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_Variable
+ */
+ public function create($accountId, $containerId, Postman_Google_Service_TagManager_Variable $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_TagManager_Variable");
+ }
+
+ /**
+ * Deletes a GTM Variable. (variables.delete)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $variableId The GTM Variable ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $containerId, $variableId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'variableId' => $variableId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a GTM Variable. (variables.get)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $variableId The GTM Variable ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_Variable
+ */
+ public function get($accountId, $containerId, $variableId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'variableId' => $variableId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_TagManager_Variable");
+ }
+
+ /**
+ * Lists all GTM Variables of a Container.
+ * (variables.listAccountsContainersVariables)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_ListVariablesResponse
+ */
+ public function listAccountsContainersVariables($accountId, $containerId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_TagManager_ListVariablesResponse");
+ }
+
+ /**
+ * Updates a GTM Variable. (variables.update)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $variableId The GTM Variable ID.
+ * @param Postman_Google_Variable $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string fingerprint When provided, this fingerprint must match the
+ * fingerprint of the variable in storage.
+ * @return Postman_Google_Service_TagManager_Variable
+ */
+ public function update($accountId, $containerId, $variableId, Postman_Google_Service_TagManager_Variable $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'variableId' => $variableId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_TagManager_Variable");
+ }
+}
+/**
+ * The "versions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tagmanagerService = new Postman_Google_Service_TagManager(...);
+ * $versions = $tagmanagerService->versions;
+ * </code>
+ */
+class Postman_Google_Service_TagManager_AccountsContainersVersions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Creates a Container Version. (versions.create)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param Postman_Google_CreateContainerVersionRequestVersionOptions $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_CreateContainerVersionResponse
+ */
+ public function create($accountId, $containerId, Postman_Google_Service_TagManager_CreateContainerVersionRequestVersionOptions $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_TagManager_CreateContainerVersionResponse");
+ }
+
+ /**
+ * Deletes a Container Version. (versions.delete)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $containerVersionId The GTM Container Version ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $containerId, $containerVersionId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a Container Version. (versions.get)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $containerVersionId The GTM Container Version ID. Specify
+ * published to retrieve the currently published version.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_ContainerVersion
+ */
+ public function get($accountId, $containerId, $containerVersionId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_TagManager_ContainerVersion");
+ }
+
+ /**
+ * Lists all Container Versions of a GTM Container.
+ * (versions.listAccountsContainersVersions)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool headers Retrieve headers only when true.
+ * @return Postman_Google_Service_TagManager_ListContainerVersionsResponse
+ */
+ public function listAccountsContainersVersions($accountId, $containerId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_TagManager_ListContainerVersionsResponse");
+ }
+
+ /**
+ * Publishes a Container Version. (versions.publish)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $containerVersionId The GTM Container Version ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string fingerprint When provided, this fingerprint must match the
+ * fingerprint of the container version in storage.
+ * @return Postman_Google_Service_TagManager_PublishContainerVersionResponse
+ */
+ public function publish($accountId, $containerId, $containerVersionId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('publish', array($params), "Postman_Google_Service_TagManager_PublishContainerVersionResponse");
+ }
+
+ /**
+ * Restores a Container Version. This will overwrite the container's current
+ * configuration (including its macros, rules and tags). The operation will not
+ * have any effect on the version that is being served (i.e. the published
+ * version). (versions.restore)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $containerVersionId The GTM Container Version ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_ContainerVersion
+ */
+ public function restore($accountId, $containerId, $containerVersionId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('restore', array($params), "Postman_Google_Service_TagManager_ContainerVersion");
+ }
+
+ /**
+ * Undeletes a Container Version. (versions.undelete)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $containerVersionId The GTM Container Version ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_ContainerVersion
+ */
+ public function undelete($accountId, $containerId, $containerVersionId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('undelete', array($params), "Postman_Google_Service_TagManager_ContainerVersion");
+ }
+
+ /**
+ * Updates a Container Version. (versions.update)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $containerId The GTM Container ID.
+ * @param string $containerVersionId The GTM Container Version ID.
+ * @param Postman_Google_ContainerVersion $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string fingerprint When provided, this fingerprint must match the
+ * fingerprint of the container version in storage.
+ * @return Postman_Google_Service_TagManager_ContainerVersion
+ */
+ public function update($accountId, $containerId, $containerVersionId, Postman_Google_Service_TagManager_ContainerVersion $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'containerId' => $containerId, 'containerVersionId' => $containerVersionId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_TagManager_ContainerVersion");
+ }
+}
+/**
+ * The "permissions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tagmanagerService = new Postman_Google_Service_TagManager(...);
+ * $permissions = $tagmanagerService->permissions;
+ * </code>
+ */
+class Postman_Google_Service_TagManager_AccountsPermissions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Creates a user's Account & Container Permissions. (permissions.create)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param Postman_Google_UserAccess $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_UserAccess
+ */
+ public function create($accountId, Postman_Google_Service_TagManager_UserAccess $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Postman_Google_Service_TagManager_UserAccess");
+ }
+
+ /**
+ * Removes a user from the account, revoking access to it and all of its
+ * containers. (permissions.delete)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $permissionId The GTM User ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $permissionId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'permissionId' => $permissionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets a user's Account & Container Permissions. (permissions.get)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $permissionId The GTM User ID.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_UserAccess
+ */
+ public function get($accountId, $permissionId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'permissionId' => $permissionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_TagManager_UserAccess");
+ }
+
+ /**
+ * List all users that have access to the account along with Account and
+ * Container Permissions granted to each of them.
+ * (permissions.listAccountsPermissions)
+ *
+ * @param string $accountId The GTM Account ID. @required
+ * tagmanager.accounts.permissions.list
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_ListAccountUsersResponse
+ */
+ public function listAccountsPermissions($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_TagManager_ListAccountUsersResponse");
+ }
+
+ /**
+ * Updates a user's Account & Container Permissions. (permissions.update)
+ *
+ * @param string $accountId The GTM Account ID.
+ * @param string $permissionId The GTM User ID.
+ * @param Postman_Google_UserAccess $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_TagManager_UserAccess
+ */
+ public function update($accountId, $permissionId, Postman_Google_Service_TagManager_UserAccess $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'permissionId' => $permissionId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_TagManager_UserAccess");
+ }
+}
+
+
+
+
+class Postman_Google_Service_TagManager_Account extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $fingerprint;
+ public $name;
+ public $shareData;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setShareData($shareData)
+ {
+ $this->shareData = $shareData;
+ }
+ public function getShareData()
+ {
+ return $this->shareData;
+ }
+}
+
+class Postman_Google_Service_TagManager_AccountAccess extends Postman_Google_Collection
+{
+ protected $collection_key = 'permission';
+ protected $internal_gapi_mappings = array(
+ );
+ public $permission;
+
+
+ public function setPermission($permission)
+ {
+ $this->permission = $permission;
+ }
+ public function getPermission()
+ {
+ return $this->permission;
+ }
+}
+
+class Postman_Google_Service_TagManager_Condition extends Postman_Google_Collection
+{
+ protected $collection_key = 'parameter';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $parameterType = 'Postman_Google_Service_TagManager_Parameter';
+ protected $parameterDataType = 'array';
+ public $type;
+
+
+ public function setParameter($parameter)
+ {
+ $this->parameter = $parameter;
+ }
+ public function getParameter()
+ {
+ return $this->parameter;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_TagManager_Container extends Postman_Google_Collection
+{
+ protected $collection_key = 'usageContext';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $containerId;
+ public $domainName;
+ public $enabledBuiltInVariable;
+ public $fingerprint;
+ public $name;
+ public $notes;
+ public $publicId;
+ public $timeZoneCountryId;
+ public $timeZoneId;
+ public $usageContext;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setContainerId($containerId)
+ {
+ $this->containerId = $containerId;
+ }
+ public function getContainerId()
+ {
+ return $this->containerId;
+ }
+ public function setDomainName($domainName)
+ {
+ $this->domainName = $domainName;
+ }
+ public function getDomainName()
+ {
+ return $this->domainName;
+ }
+ public function setEnabledBuiltInVariable($enabledBuiltInVariable)
+ {
+ $this->enabledBuiltInVariable = $enabledBuiltInVariable;
+ }
+ public function getEnabledBuiltInVariable()
+ {
+ return $this->enabledBuiltInVariable;
+ }
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNotes($notes)
+ {
+ $this->notes = $notes;
+ }
+ public function getNotes()
+ {
+ return $this->notes;
+ }
+ public function setPublicId($publicId)
+ {
+ $this->publicId = $publicId;
+ }
+ public function getPublicId()
+ {
+ return $this->publicId;
+ }
+ public function setTimeZoneCountryId($timeZoneCountryId)
+ {
+ $this->timeZoneCountryId = $timeZoneCountryId;
+ }
+ public function getTimeZoneCountryId()
+ {
+ return $this->timeZoneCountryId;
+ }
+ public function setTimeZoneId($timeZoneId)
+ {
+ $this->timeZoneId = $timeZoneId;
+ }
+ public function getTimeZoneId()
+ {
+ return $this->timeZoneId;
+ }
+ public function setUsageContext($usageContext)
+ {
+ $this->usageContext = $usageContext;
+ }
+ public function getUsageContext()
+ {
+ return $this->usageContext;
+ }
+}
+
+class Postman_Google_Service_TagManager_ContainerAccess extends Postman_Google_Collection
+{
+ protected $collection_key = 'permission';
+ protected $internal_gapi_mappings = array(
+ );
+ public $containerId;
+ public $permission;
+
+
+ public function setContainerId($containerId)
+ {
+ $this->containerId = $containerId;
+ }
+ public function getContainerId()
+ {
+ return $this->containerId;
+ }
+ public function setPermission($permission)
+ {
+ $this->permission = $permission;
+ }
+ public function getPermission()
+ {
+ return $this->permission;
+ }
+}
+
+class Postman_Google_Service_TagManager_ContainerVersion extends Postman_Google_Collection
+{
+ protected $collection_key = 'variable';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ protected $containerType = 'Postman_Google_Service_TagManager_Container';
+ protected $containerDataType = '';
+ public $containerId;
+ public $containerVersionId;
+ public $deleted;
+ public $fingerprint;
+ protected $macroType = 'Postman_Google_Service_TagManager_Macro';
+ protected $macroDataType = 'array';
+ public $name;
+ public $notes;
+ protected $ruleType = 'Postman_Google_Service_TagManager_Rule';
+ protected $ruleDataType = 'array';
+ protected $tagType = 'Postman_Google_Service_TagManager_Tag';
+ protected $tagDataType = 'array';
+ protected $triggerType = 'Postman_Google_Service_TagManager_Trigger';
+ protected $triggerDataType = 'array';
+ protected $variableType = 'Postman_Google_Service_TagManager_Variable';
+ protected $variableDataType = 'array';
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setContainer(Postman_Google_Service_TagManager_Container $container)
+ {
+ $this->container = $container;
+ }
+ public function getContainer()
+ {
+ return $this->container;
+ }
+ public function setContainerId($containerId)
+ {
+ $this->containerId = $containerId;
+ }
+ public function getContainerId()
+ {
+ return $this->containerId;
+ }
+ public function setContainerVersionId($containerVersionId)
+ {
+ $this->containerVersionId = $containerVersionId;
+ }
+ public function getContainerVersionId()
+ {
+ return $this->containerVersionId;
+ }
+ public function setDeleted($deleted)
+ {
+ $this->deleted = $deleted;
+ }
+ public function getDeleted()
+ {
+ return $this->deleted;
+ }
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setMacro($macro)
+ {
+ $this->macro = $macro;
+ }
+ public function getMacro()
+ {
+ return $this->macro;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNotes($notes)
+ {
+ $this->notes = $notes;
+ }
+ public function getNotes()
+ {
+ return $this->notes;
+ }
+ public function setRule($rule)
+ {
+ $this->rule = $rule;
+ }
+ public function getRule()
+ {
+ return $this->rule;
+ }
+ public function setTag($tag)
+ {
+ $this->tag = $tag;
+ }
+ public function getTag()
+ {
+ return $this->tag;
+ }
+ public function setTrigger($trigger)
+ {
+ $this->trigger = $trigger;
+ }
+ public function getTrigger()
+ {
+ return $this->trigger;
+ }
+ public function setVariable($variable)
+ {
+ $this->variable = $variable;
+ }
+ public function getVariable()
+ {
+ return $this->variable;
+ }
+}
+
+class Postman_Google_Service_TagManager_ContainerVersionHeader extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $containerId;
+ public $containerVersionId;
+ public $deleted;
+ public $name;
+ public $numMacros;
+ public $numRules;
+ public $numTags;
+ public $numTriggers;
+ public $numVariables;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setContainerId($containerId)
+ {
+ $this->containerId = $containerId;
+ }
+ public function getContainerId()
+ {
+ return $this->containerId;
+ }
+ public function setContainerVersionId($containerVersionId)
+ {
+ $this->containerVersionId = $containerVersionId;
+ }
+ public function getContainerVersionId()
+ {
+ return $this->containerVersionId;
+ }
+ public function setDeleted($deleted)
+ {
+ $this->deleted = $deleted;
+ }
+ public function getDeleted()
+ {
+ return $this->deleted;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNumMacros($numMacros)
+ {
+ $this->numMacros = $numMacros;
+ }
+ public function getNumMacros()
+ {
+ return $this->numMacros;
+ }
+ public function setNumRules($numRules)
+ {
+ $this->numRules = $numRules;
+ }
+ public function getNumRules()
+ {
+ return $this->numRules;
+ }
+ public function setNumTags($numTags)
+ {
+ $this->numTags = $numTags;
+ }
+ public function getNumTags()
+ {
+ return $this->numTags;
+ }
+ public function setNumTriggers($numTriggers)
+ {
+ $this->numTriggers = $numTriggers;
+ }
+ public function getNumTriggers()
+ {
+ return $this->numTriggers;
+ }
+ public function setNumVariables($numVariables)
+ {
+ $this->numVariables = $numVariables;
+ }
+ public function getNumVariables()
+ {
+ return $this->numVariables;
+ }
+}
+
+class Postman_Google_Service_TagManager_CreateContainerVersionRequestVersionOptions extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+ public $notes;
+ public $quickPreview;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNotes($notes)
+ {
+ $this->notes = $notes;
+ }
+ public function getNotes()
+ {
+ return $this->notes;
+ }
+ public function setQuickPreview($quickPreview)
+ {
+ $this->quickPreview = $quickPreview;
+ }
+ public function getQuickPreview()
+ {
+ return $this->quickPreview;
+ }
+}
+
+class Postman_Google_Service_TagManager_CreateContainerVersionResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $compilerError;
+ protected $containerVersionType = 'Postman_Google_Service_TagManager_ContainerVersion';
+ protected $containerVersionDataType = '';
+
+
+ public function setCompilerError($compilerError)
+ {
+ $this->compilerError = $compilerError;
+ }
+ public function getCompilerError()
+ {
+ return $this->compilerError;
+ }
+ public function setContainerVersion(Postman_Google_Service_TagManager_ContainerVersion $containerVersion)
+ {
+ $this->containerVersion = $containerVersion;
+ }
+ public function getContainerVersion()
+ {
+ return $this->containerVersion;
+ }
+}
+
+class Postman_Google_Service_TagManager_ListAccountUsersResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'userAccess';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $userAccessType = 'Postman_Google_Service_TagManager_UserAccess';
+ protected $userAccessDataType = 'array';
+
+
+ public function setUserAccess($userAccess)
+ {
+ $this->userAccess = $userAccess;
+ }
+ public function getUserAccess()
+ {
+ return $this->userAccess;
+ }
+}
+
+class Postman_Google_Service_TagManager_ListAccountsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'accounts';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $accountsType = 'Postman_Google_Service_TagManager_Account';
+ protected $accountsDataType = 'array';
+
+
+ public function setAccounts($accounts)
+ {
+ $this->accounts = $accounts;
+ }
+ public function getAccounts()
+ {
+ return $this->accounts;
+ }
+}
+
+class Postman_Google_Service_TagManager_ListContainerVersionsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'containerVersionHeader';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $containerVersionType = 'Postman_Google_Service_TagManager_ContainerVersion';
+ protected $containerVersionDataType = 'array';
+ protected $containerVersionHeaderType = 'Postman_Google_Service_TagManager_ContainerVersionHeader';
+ protected $containerVersionHeaderDataType = 'array';
+
+
+ public function setContainerVersion($containerVersion)
+ {
+ $this->containerVersion = $containerVersion;
+ }
+ public function getContainerVersion()
+ {
+ return $this->containerVersion;
+ }
+ public function setContainerVersionHeader($containerVersionHeader)
+ {
+ $this->containerVersionHeader = $containerVersionHeader;
+ }
+ public function getContainerVersionHeader()
+ {
+ return $this->containerVersionHeader;
+ }
+}
+
+class Postman_Google_Service_TagManager_ListContainersResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'containers';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $containersType = 'Postman_Google_Service_TagManager_Container';
+ protected $containersDataType = 'array';
+
+
+ public function setContainers($containers)
+ {
+ $this->containers = $containers;
+ }
+ public function getContainers()
+ {
+ return $this->containers;
+ }
+}
+
+class Postman_Google_Service_TagManager_ListMacrosResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'macros';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $macrosType = 'Postman_Google_Service_TagManager_Macro';
+ protected $macrosDataType = 'array';
+
+
+ public function setMacros($macros)
+ {
+ $this->macros = $macros;
+ }
+ public function getMacros()
+ {
+ return $this->macros;
+ }
+}
+
+class Postman_Google_Service_TagManager_ListRulesResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'rules';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $rulesType = 'Postman_Google_Service_TagManager_Rule';
+ protected $rulesDataType = 'array';
+
+
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+}
+
+class Postman_Google_Service_TagManager_ListTagsResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'tags';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $tagsType = 'Postman_Google_Service_TagManager_Tag';
+ protected $tagsDataType = 'array';
+
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Postman_Google_Service_TagManager_ListTriggersResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'triggers';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $triggersType = 'Postman_Google_Service_TagManager_Trigger';
+ protected $triggersDataType = 'array';
+
+
+ public function setTriggers($triggers)
+ {
+ $this->triggers = $triggers;
+ }
+ public function getTriggers()
+ {
+ return $this->triggers;
+ }
+}
+
+class Postman_Google_Service_TagManager_ListVariablesResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'variables';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $variablesType = 'Postman_Google_Service_TagManager_Variable';
+ protected $variablesDataType = 'array';
+
+
+ public function setVariables($variables)
+ {
+ $this->variables = $variables;
+ }
+ public function getVariables()
+ {
+ return $this->variables;
+ }
+}
+
+class Postman_Google_Service_TagManager_Macro extends Postman_Google_Collection
+{
+ protected $collection_key = 'parameter';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $containerId;
+ public $disablingRuleId;
+ public $enablingRuleId;
+ public $fingerprint;
+ public $macroId;
+ public $name;
+ public $notes;
+ protected $parameterType = 'Postman_Google_Service_TagManager_Parameter';
+ protected $parameterDataType = 'array';
+ public $scheduleEndMs;
+ public $scheduleStartMs;
+ public $type;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setContainerId($containerId)
+ {
+ $this->containerId = $containerId;
+ }
+ public function getContainerId()
+ {
+ return $this->containerId;
+ }
+ public function setDisablingRuleId($disablingRuleId)
+ {
+ $this->disablingRuleId = $disablingRuleId;
+ }
+ public function getDisablingRuleId()
+ {
+ return $this->disablingRuleId;
+ }
+ public function setEnablingRuleId($enablingRuleId)
+ {
+ $this->enablingRuleId = $enablingRuleId;
+ }
+ public function getEnablingRuleId()
+ {
+ return $this->enablingRuleId;
+ }
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setMacroId($macroId)
+ {
+ $this->macroId = $macroId;
+ }
+ public function getMacroId()
+ {
+ return $this->macroId;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNotes($notes)
+ {
+ $this->notes = $notes;
+ }
+ public function getNotes()
+ {
+ return $this->notes;
+ }
+ public function setParameter($parameter)
+ {
+ $this->parameter = $parameter;
+ }
+ public function getParameter()
+ {
+ return $this->parameter;
+ }
+ public function setScheduleEndMs($scheduleEndMs)
+ {
+ $this->scheduleEndMs = $scheduleEndMs;
+ }
+ public function getScheduleEndMs()
+ {
+ return $this->scheduleEndMs;
+ }
+ public function setScheduleStartMs($scheduleStartMs)
+ {
+ $this->scheduleStartMs = $scheduleStartMs;
+ }
+ public function getScheduleStartMs()
+ {
+ return $this->scheduleStartMs;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_TagManager_Parameter extends Postman_Google_Collection
+{
+ protected $collection_key = 'map';
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ protected $listType = 'Postman_Google_Service_TagManager_Parameter';
+ protected $listDataType = 'array';
+ protected $mapType = 'Postman_Google_Service_TagManager_Parameter';
+ protected $mapDataType = 'array';
+ public $type;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setList($list)
+ {
+ $this->list = $list;
+ }
+ public function getList()
+ {
+ return $this->list;
+ }
+ public function setMap($map)
+ {
+ $this->map = $map;
+ }
+ public function getMap()
+ {
+ return $this->map;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_TagManager_PublishContainerVersionResponse extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $compilerError;
+ protected $containerVersionType = 'Postman_Google_Service_TagManager_ContainerVersion';
+ protected $containerVersionDataType = '';
+
+
+ public function setCompilerError($compilerError)
+ {
+ $this->compilerError = $compilerError;
+ }
+ public function getCompilerError()
+ {
+ return $this->compilerError;
+ }
+ public function setContainerVersion(Postman_Google_Service_TagManager_ContainerVersion $containerVersion)
+ {
+ $this->containerVersion = $containerVersion;
+ }
+ public function getContainerVersion()
+ {
+ return $this->containerVersion;
+ }
+}
+
+class Postman_Google_Service_TagManager_Rule extends Postman_Google_Collection
+{
+ protected $collection_key = 'condition';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ protected $conditionType = 'Postman_Google_Service_TagManager_Condition';
+ protected $conditionDataType = 'array';
+ public $containerId;
+ public $fingerprint;
+ public $name;
+ public $notes;
+ public $ruleId;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setCondition($condition)
+ {
+ $this->condition = $condition;
+ }
+ public function getCondition()
+ {
+ return $this->condition;
+ }
+ public function setContainerId($containerId)
+ {
+ $this->containerId = $containerId;
+ }
+ public function getContainerId()
+ {
+ return $this->containerId;
+ }
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNotes($notes)
+ {
+ $this->notes = $notes;
+ }
+ public function getNotes()
+ {
+ return $this->notes;
+ }
+ public function setRuleId($ruleId)
+ {
+ $this->ruleId = $ruleId;
+ }
+ public function getRuleId()
+ {
+ return $this->ruleId;
+ }
+}
+
+class Postman_Google_Service_TagManager_Tag extends Postman_Google_Collection
+{
+ protected $collection_key = 'parameter';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $blockingRuleId;
+ public $blockingTriggerId;
+ public $containerId;
+ public $fingerprint;
+ public $firingRuleId;
+ public $firingTriggerId;
+ public $liveOnly;
+ public $name;
+ public $notes;
+ protected $parameterType = 'Postman_Google_Service_TagManager_Parameter';
+ protected $parameterDataType = 'array';
+ protected $priorityType = 'Postman_Google_Service_TagManager_Parameter';
+ protected $priorityDataType = '';
+ public $scheduleEndMs;
+ public $scheduleStartMs;
+ public $tagId;
+ public $type;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setBlockingRuleId($blockingRuleId)
+ {
+ $this->blockingRuleId = $blockingRuleId;
+ }
+ public function getBlockingRuleId()
+ {
+ return $this->blockingRuleId;
+ }
+ public function setBlockingTriggerId($blockingTriggerId)
+ {
+ $this->blockingTriggerId = $blockingTriggerId;
+ }
+ public function getBlockingTriggerId()
+ {
+ return $this->blockingTriggerId;
+ }
+ public function setContainerId($containerId)
+ {
+ $this->containerId = $containerId;
+ }
+ public function getContainerId()
+ {
+ return $this->containerId;
+ }
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setFiringRuleId($firingRuleId)
+ {
+ $this->firingRuleId = $firingRuleId;
+ }
+ public function getFiringRuleId()
+ {
+ return $this->firingRuleId;
+ }
+ public function setFiringTriggerId($firingTriggerId)
+ {
+ $this->firingTriggerId = $firingTriggerId;
+ }
+ public function getFiringTriggerId()
+ {
+ return $this->firingTriggerId;
+ }
+ public function setLiveOnly($liveOnly)
+ {
+ $this->liveOnly = $liveOnly;
+ }
+ public function getLiveOnly()
+ {
+ return $this->liveOnly;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNotes($notes)
+ {
+ $this->notes = $notes;
+ }
+ public function getNotes()
+ {
+ return $this->notes;
+ }
+ public function setParameter($parameter)
+ {
+ $this->parameter = $parameter;
+ }
+ public function getParameter()
+ {
+ return $this->parameter;
+ }
+ public function setPriority(Postman_Google_Service_TagManager_Parameter $priority)
+ {
+ $this->priority = $priority;
+ }
+ public function getPriority()
+ {
+ return $this->priority;
+ }
+ public function setScheduleEndMs($scheduleEndMs)
+ {
+ $this->scheduleEndMs = $scheduleEndMs;
+ }
+ public function getScheduleEndMs()
+ {
+ return $this->scheduleEndMs;
+ }
+ public function setScheduleStartMs($scheduleStartMs)
+ {
+ $this->scheduleStartMs = $scheduleStartMs;
+ }
+ public function getScheduleStartMs()
+ {
+ return $this->scheduleStartMs;
+ }
+ public function setTagId($tagId)
+ {
+ $this->tagId = $tagId;
+ }
+ public function getTagId()
+ {
+ return $this->tagId;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_TagManager_Trigger extends Postman_Google_Collection
+{
+ protected $collection_key = 'filter';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ protected $autoEventFilterType = 'Postman_Google_Service_TagManager_Condition';
+ protected $autoEventFilterDataType = 'array';
+ protected $checkValidationType = 'Postman_Google_Service_TagManager_Parameter';
+ protected $checkValidationDataType = '';
+ public $containerId;
+ protected $customEventFilterType = 'Postman_Google_Service_TagManager_Condition';
+ protected $customEventFilterDataType = 'array';
+ protected $enableAllVideosType = 'Postman_Google_Service_TagManager_Parameter';
+ protected $enableAllVideosDataType = '';
+ protected $eventNameType = 'Postman_Google_Service_TagManager_Parameter';
+ protected $eventNameDataType = '';
+ protected $filterType = 'Postman_Google_Service_TagManager_Condition';
+ protected $filterDataType = 'array';
+ public $fingerprint;
+ protected $intervalType = 'Postman_Google_Service_TagManager_Parameter';
+ protected $intervalDataType = '';
+ protected $limitType = 'Postman_Google_Service_TagManager_Parameter';
+ protected $limitDataType = '';
+ public $name;
+ public $triggerId;
+ public $type;
+ protected $uniqueTriggerIdType = 'Postman_Google_Service_TagManager_Parameter';
+ protected $uniqueTriggerIdDataType = '';
+ protected $videoPercentageListType = 'Postman_Google_Service_TagManager_Parameter';
+ protected $videoPercentageListDataType = '';
+ protected $waitForTagsType = 'Postman_Google_Service_TagManager_Parameter';
+ protected $waitForTagsDataType = '';
+ protected $waitForTagsTimeoutType = 'Postman_Google_Service_TagManager_Parameter';
+ protected $waitForTagsTimeoutDataType = '';
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAutoEventFilter($autoEventFilter)
+ {
+ $this->autoEventFilter = $autoEventFilter;
+ }
+ public function getAutoEventFilter()
+ {
+ return $this->autoEventFilter;
+ }
+ public function setCheckValidation(Postman_Google_Service_TagManager_Parameter $checkValidation)
+ {
+ $this->checkValidation = $checkValidation;
+ }
+ public function getCheckValidation()
+ {
+ return $this->checkValidation;
+ }
+ public function setContainerId($containerId)
+ {
+ $this->containerId = $containerId;
+ }
+ public function getContainerId()
+ {
+ return $this->containerId;
+ }
+ public function setCustomEventFilter($customEventFilter)
+ {
+ $this->customEventFilter = $customEventFilter;
+ }
+ public function getCustomEventFilter()
+ {
+ return $this->customEventFilter;
+ }
+ public function setEnableAllVideos(Postman_Google_Service_TagManager_Parameter $enableAllVideos)
+ {
+ $this->enableAllVideos = $enableAllVideos;
+ }
+ public function getEnableAllVideos()
+ {
+ return $this->enableAllVideos;
+ }
+ public function setEventName(Postman_Google_Service_TagManager_Parameter $eventName)
+ {
+ $this->eventName = $eventName;
+ }
+ public function getEventName()
+ {
+ return $this->eventName;
+ }
+ public function setFilter($filter)
+ {
+ $this->filter = $filter;
+ }
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setInterval(Postman_Google_Service_TagManager_Parameter $interval)
+ {
+ $this->interval = $interval;
+ }
+ public function getInterval()
+ {
+ return $this->interval;
+ }
+ public function setLimit(Postman_Google_Service_TagManager_Parameter $limit)
+ {
+ $this->limit = $limit;
+ }
+ public function getLimit()
+ {
+ return $this->limit;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setTriggerId($triggerId)
+ {
+ $this->triggerId = $triggerId;
+ }
+ public function getTriggerId()
+ {
+ return $this->triggerId;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUniqueTriggerId(Postman_Google_Service_TagManager_Parameter $uniqueTriggerId)
+ {
+ $this->uniqueTriggerId = $uniqueTriggerId;
+ }
+ public function getUniqueTriggerId()
+ {
+ return $this->uniqueTriggerId;
+ }
+ public function setVideoPercentageList(Postman_Google_Service_TagManager_Parameter $videoPercentageList)
+ {
+ $this->videoPercentageList = $videoPercentageList;
+ }
+ public function getVideoPercentageList()
+ {
+ return $this->videoPercentageList;
+ }
+ public function setWaitForTags(Postman_Google_Service_TagManager_Parameter $waitForTags)
+ {
+ $this->waitForTags = $waitForTags;
+ }
+ public function getWaitForTags()
+ {
+ return $this->waitForTags;
+ }
+ public function setWaitForTagsTimeout(Postman_Google_Service_TagManager_Parameter $waitForTagsTimeout)
+ {
+ $this->waitForTagsTimeout = $waitForTagsTimeout;
+ }
+ public function getWaitForTagsTimeout()
+ {
+ return $this->waitForTagsTimeout;
+ }
+}
+
+class Postman_Google_Service_TagManager_UserAccess extends Postman_Google_Collection
+{
+ protected $collection_key = 'containerAccess';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $accountAccessType = 'Postman_Google_Service_TagManager_AccountAccess';
+ protected $accountAccessDataType = '';
+ public $accountId;
+ protected $containerAccessType = 'Postman_Google_Service_TagManager_ContainerAccess';
+ protected $containerAccessDataType = 'array';
+ public $emailAddress;
+ public $permissionId;
+
+
+ public function setAccountAccess(Postman_Google_Service_TagManager_AccountAccess $accountAccess)
+ {
+ $this->accountAccess = $accountAccess;
+ }
+ public function getAccountAccess()
+ {
+ return $this->accountAccess;
+ }
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setContainerAccess($containerAccess)
+ {
+ $this->containerAccess = $containerAccess;
+ }
+ public function getContainerAccess()
+ {
+ return $this->containerAccess;
+ }
+ public function setEmailAddress($emailAddress)
+ {
+ $this->emailAddress = $emailAddress;
+ }
+ public function getEmailAddress()
+ {
+ return $this->emailAddress;
+ }
+ public function setPermissionId($permissionId)
+ {
+ $this->permissionId = $permissionId;
+ }
+ public function getPermissionId()
+ {
+ return $this->permissionId;
+ }
+}
+
+class Postman_Google_Service_TagManager_Variable extends Postman_Google_Collection
+{
+ protected $collection_key = 'parameter';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $containerId;
+ public $disablingTriggerId;
+ public $enablingTriggerId;
+ public $fingerprint;
+ public $name;
+ public $notes;
+ protected $parameterType = 'Postman_Google_Service_TagManager_Parameter';
+ protected $parameterDataType = 'array';
+ public $scheduleEndMs;
+ public $scheduleStartMs;
+ public $type;
+ public $variableId;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setContainerId($containerId)
+ {
+ $this->containerId = $containerId;
+ }
+ public function getContainerId()
+ {
+ return $this->containerId;
+ }
+ public function setDisablingTriggerId($disablingTriggerId)
+ {
+ $this->disablingTriggerId = $disablingTriggerId;
+ }
+ public function getDisablingTriggerId()
+ {
+ return $this->disablingTriggerId;
+ }
+ public function setEnablingTriggerId($enablingTriggerId)
+ {
+ $this->enablingTriggerId = $enablingTriggerId;
+ }
+ public function getEnablingTriggerId()
+ {
+ return $this->enablingTriggerId;
+ }
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNotes($notes)
+ {
+ $this->notes = $notes;
+ }
+ public function getNotes()
+ {
+ return $this->notes;
+ }
+ public function setParameter($parameter)
+ {
+ $this->parameter = $parameter;
+ }
+ public function getParameter()
+ {
+ return $this->parameter;
+ }
+ public function setScheduleEndMs($scheduleEndMs)
+ {
+ $this->scheduleEndMs = $scheduleEndMs;
+ }
+ public function getScheduleEndMs()
+ {
+ return $this->scheduleEndMs;
+ }
+ public function setScheduleStartMs($scheduleStartMs)
+ {
+ $this->scheduleStartMs = $scheduleStartMs;
+ }
+ public function getScheduleStartMs()
+ {
+ return $this->scheduleStartMs;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setVariableId($variableId)
+ {
+ $this->variableId = $variableId;
+ }
+ public function getVariableId()
+ {
+ return $this->variableId;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Taskqueue.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Taskqueue.php
new file mode 100644
index 0000000..0f70ecf
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Taskqueue.php
@@ -0,0 +1,689 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Taskqueue (v1beta2).
+ *
+ * <p>
+ * Lets you access a Google App Engine Pull Task Queue over REST.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/appengine/docs/python/taskqueue/rest" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Taskqueue extends Postman_Google_Service
+{
+ /** Manage your Tasks and Taskqueues. */
+ const TASKQUEUE =
+ "https://www.googleapis.com/auth/taskqueue";
+ /** Consume Tasks from your Taskqueues. */
+ const TASKQUEUE_CONSUMER =
+ "https://www.googleapis.com/auth/taskqueue.consumer";
+
+ public $taskqueues;
+ public $tasks;
+
+
+ /**
+ * Constructs the internal representation of the Taskqueue service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'taskqueue/v1beta2/projects/';
+ $this->version = 'v1beta2';
+ $this->serviceName = 'taskqueue';
+
+ $this->taskqueues = new Postman_Google_Service_Taskqueue_Taskqueues_Resource(
+ $this,
+ $this->serviceName,
+ 'taskqueues',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{project}/taskqueues/{taskqueue}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'taskqueue' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'getStats' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->tasks = new Postman_Google_Service_Taskqueue_Tasks_Resource(
+ $this,
+ $this->serviceName,
+ 'tasks',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/taskqueues/{taskqueue}/tasks/{task}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'taskqueue' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'task' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/taskqueues/{taskqueue}/tasks/{task}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'taskqueue' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'task' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{project}/taskqueues/{taskqueue}/tasks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'taskqueue' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'lease' => array(
+ 'path' => '{project}/taskqueues/{taskqueue}/tasks/lease',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'taskqueue' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'numTasks' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'leaseSecs' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'groupByTag' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'tag' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/taskqueues/{taskqueue}/tasks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'taskqueue' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{project}/taskqueues/{taskqueue}/tasks/{task}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'taskqueue' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'task' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'newLeaseSeconds' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{project}/taskqueues/{taskqueue}/tasks/{task}',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'taskqueue' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'task' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'newLeaseSeconds' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "taskqueues" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $taskqueueService = new Postman_Google_Service_Taskqueue(...);
+ * $taskqueues = $taskqueueService->taskqueues;
+ * </code>
+ */
+class Postman_Google_Service_Taskqueue_Taskqueues_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Get detailed information about a TaskQueue. (taskqueues.get)
+ *
+ * @param string $project The project under which the queue lies.
+ * @param string $taskqueue The id of the taskqueue to get the properties of.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool getStats Whether to get stats. Optional.
+ * @return Postman_Google_Service_Taskqueue_TaskQueue
+ */
+ public function get($project, $taskqueue, $optParams = array())
+ {
+ $params = array('project' => $project, 'taskqueue' => $taskqueue);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Taskqueue_TaskQueue");
+ }
+}
+
+/**
+ * The "tasks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $taskqueueService = new Postman_Google_Service_Taskqueue(...);
+ * $tasks = $taskqueueService->tasks;
+ * </code>
+ */
+class Postman_Google_Service_Taskqueue_Tasks_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Delete a task from a TaskQueue. (tasks.delete)
+ *
+ * @param string $project The project under which the queue lies.
+ * @param string $taskqueue The taskqueue to delete a task from.
+ * @param string $task The id of the task to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($project, $taskqueue, $task, $optParams = array())
+ {
+ $params = array('project' => $project, 'taskqueue' => $taskqueue, 'task' => $task);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Get a particular task from a TaskQueue. (tasks.get)
+ *
+ * @param string $project The project under which the queue lies.
+ * @param string $taskqueue The taskqueue in which the task belongs.
+ * @param string $task The task to get properties of.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Taskqueue_Task
+ */
+ public function get($project, $taskqueue, $task, $optParams = array())
+ {
+ $params = array('project' => $project, 'taskqueue' => $taskqueue, 'task' => $task);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Taskqueue_Task");
+ }
+
+ /**
+ * Insert a new task in a TaskQueue (tasks.insert)
+ *
+ * @param string $project The project under which the queue lies
+ * @param string $taskqueue The taskqueue to insert the task into
+ * @param Postman_Google_Task $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Taskqueue_Task
+ */
+ public function insert($project, $taskqueue, Postman_Google_Service_Taskqueue_Task $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'taskqueue' => $taskqueue, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Taskqueue_Task");
+ }
+
+ /**
+ * Lease 1 or more tasks from a TaskQueue. (tasks.lease)
+ *
+ * @param string $project The project under which the queue lies.
+ * @param string $taskqueue The taskqueue to lease a task from.
+ * @param int $numTasks The number of tasks to lease.
+ * @param int $leaseSecs The lease in seconds.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool groupByTag When true, all returned tasks will have the same
+ * tag
+ * @opt_param string tag The tag allowed for tasks in the response. Must only be
+ * specified if group_by_tag is true. If group_by_tag is true and tag is not
+ * specified the tag will be that of the oldest task by eta, i.e. the first
+ * available tag
+ * @return Postman_Google_Service_Taskqueue_Tasks
+ */
+ public function lease($project, $taskqueue, $numTasks, $leaseSecs, $optParams = array())
+ {
+ $params = array('project' => $project, 'taskqueue' => $taskqueue, 'numTasks' => $numTasks, 'leaseSecs' => $leaseSecs);
+ $params = array_merge($params, $optParams);
+ return $this->call('lease', array($params), "Postman_Google_Service_Taskqueue_Tasks");
+ }
+
+ /**
+ * List Tasks in a TaskQueue (tasks.listTasks)
+ *
+ * @param string $project The project under which the queue lies.
+ * @param string $taskqueue The id of the taskqueue to list tasks from.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Taskqueue_Tasks2
+ */
+ public function listTasks($project, $taskqueue, $optParams = array())
+ {
+ $params = array('project' => $project, 'taskqueue' => $taskqueue);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Taskqueue_Tasks2");
+ }
+
+ /**
+ * Update tasks that are leased out of a TaskQueue. This method supports patch
+ * semantics. (tasks.patch)
+ *
+ * @param string $project The project under which the queue lies.
+ * @param string $taskqueue
+ * @param string $task
+ * @param int $newLeaseSeconds The new lease in seconds.
+ * @param Postman_Google_Task $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Taskqueue_Task
+ */
+ public function patch($project, $taskqueue, $task, $newLeaseSeconds, Postman_Google_Service_Taskqueue_Task $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'taskqueue' => $taskqueue, 'task' => $task, 'newLeaseSeconds' => $newLeaseSeconds, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Taskqueue_Task");
+ }
+
+ /**
+ * Update tasks that are leased out of a TaskQueue. (tasks.update)
+ *
+ * @param string $project The project under which the queue lies.
+ * @param string $taskqueue
+ * @param string $task
+ * @param int $newLeaseSeconds The new lease in seconds.
+ * @param Postman_Google_Task $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Taskqueue_Task
+ */
+ public function update($project, $taskqueue, $task, $newLeaseSeconds, Postman_Google_Service_Taskqueue_Task $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'taskqueue' => $taskqueue, 'task' => $task, 'newLeaseSeconds' => $newLeaseSeconds, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Taskqueue_Task");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Taskqueue_Task extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "retryCount" => "retry_count",
+ );
+ public $enqueueTimestamp;
+ public $id;
+ public $kind;
+ public $leaseTimestamp;
+ public $payloadBase64;
+ public $queueName;
+ public $retryCount;
+ public $tag;
+
+
+ public function setEnqueueTimestamp($enqueueTimestamp)
+ {
+ $this->enqueueTimestamp = $enqueueTimestamp;
+ }
+ public function getEnqueueTimestamp()
+ {
+ return $this->enqueueTimestamp;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLeaseTimestamp($leaseTimestamp)
+ {
+ $this->leaseTimestamp = $leaseTimestamp;
+ }
+ public function getLeaseTimestamp()
+ {
+ return $this->leaseTimestamp;
+ }
+ public function setPayloadBase64($payloadBase64)
+ {
+ $this->payloadBase64 = $payloadBase64;
+ }
+ public function getPayloadBase64()
+ {
+ return $this->payloadBase64;
+ }
+ public function setQueueName($queueName)
+ {
+ $this->queueName = $queueName;
+ }
+ public function getQueueName()
+ {
+ return $this->queueName;
+ }
+ public function setRetryCount($retryCount)
+ {
+ $this->retryCount = $retryCount;
+ }
+ public function getRetryCount()
+ {
+ return $this->retryCount;
+ }
+ public function setTag($tag)
+ {
+ $this->tag = $tag;
+ }
+ public function getTag()
+ {
+ return $this->tag;
+ }
+}
+
+class Postman_Google_Service_Taskqueue_TaskQueue extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $aclType = 'Postman_Google_Service_Taskqueue_TaskQueueAcl';
+ protected $aclDataType = '';
+ public $id;
+ public $kind;
+ public $maxLeases;
+ protected $statsType = 'Postman_Google_Service_Taskqueue_TaskQueueStats';
+ protected $statsDataType = '';
+
+
+ public function setAcl(Postman_Google_Service_Taskqueue_TaskQueueAcl $acl)
+ {
+ $this->acl = $acl;
+ }
+ public function getAcl()
+ {
+ return $this->acl;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMaxLeases($maxLeases)
+ {
+ $this->maxLeases = $maxLeases;
+ }
+ public function getMaxLeases()
+ {
+ return $this->maxLeases;
+ }
+ public function setStats(Postman_Google_Service_Taskqueue_TaskQueueStats $stats)
+ {
+ $this->stats = $stats;
+ }
+ public function getStats()
+ {
+ return $this->stats;
+ }
+}
+
+class Postman_Google_Service_Taskqueue_TaskQueueAcl extends Postman_Google_Collection
+{
+ protected $collection_key = 'producerEmails';
+ protected $internal_gapi_mappings = array(
+ );
+ public $adminEmails;
+ public $consumerEmails;
+ public $producerEmails;
+
+
+ public function setAdminEmails($adminEmails)
+ {
+ $this->adminEmails = $adminEmails;
+ }
+ public function getAdminEmails()
+ {
+ return $this->adminEmails;
+ }
+ public function setConsumerEmails($consumerEmails)
+ {
+ $this->consumerEmails = $consumerEmails;
+ }
+ public function getConsumerEmails()
+ {
+ return $this->consumerEmails;
+ }
+ public function setProducerEmails($producerEmails)
+ {
+ $this->producerEmails = $producerEmails;
+ }
+ public function getProducerEmails()
+ {
+ return $this->producerEmails;
+ }
+}
+
+class Postman_Google_Service_Taskqueue_TaskQueueStats extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $leasedLastHour;
+ public $leasedLastMinute;
+ public $oldestTask;
+ public $totalTasks;
+
+
+ public function setLeasedLastHour($leasedLastHour)
+ {
+ $this->leasedLastHour = $leasedLastHour;
+ }
+ public function getLeasedLastHour()
+ {
+ return $this->leasedLastHour;
+ }
+ public function setLeasedLastMinute($leasedLastMinute)
+ {
+ $this->leasedLastMinute = $leasedLastMinute;
+ }
+ public function getLeasedLastMinute()
+ {
+ return $this->leasedLastMinute;
+ }
+ public function setOldestTask($oldestTask)
+ {
+ $this->oldestTask = $oldestTask;
+ }
+ public function getOldestTask()
+ {
+ return $this->oldestTask;
+ }
+ public function setTotalTasks($totalTasks)
+ {
+ $this->totalTasks = $totalTasks;
+ }
+ public function getTotalTasks()
+ {
+ return $this->totalTasks;
+ }
+}
+
+class Postman_Google_Service_Taskqueue_Tasks extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Taskqueue_Task';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_Taskqueue_Tasks2 extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Taskqueue_Task';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Tasks.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Tasks.php
new file mode 100644
index 0000000..772d295
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Tasks.php
@@ -0,0 +1,907 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Tasks (v1).
+ *
+ * <p>
+ * Lets you manage your tasks and task lists.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/google-apps/tasks/firstapp" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Tasks extends Postman_Google_Service
+{
+ /** Manage your tasks. */
+ const TASKS =
+ "https://www.googleapis.com/auth/tasks";
+ /** View your tasks. */
+ const TASKS_READONLY =
+ "https://www.googleapis.com/auth/tasks.readonly";
+
+ public $tasklists;
+ public $tasks;
+
+
+ /**
+ * Constructs the internal representation of the Tasks service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'tasks/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'tasks';
+
+ $this->tasklists = new Postman_Google_Service_Tasks_Tasklists_Resource(
+ $this,
+ $this->serviceName,
+ 'tasklists',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'users/@me/lists/{tasklist}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'tasklist' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'users/@me/lists/{tasklist}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'tasklist' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'users/@me/lists',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'list' => array(
+ 'path' => 'users/@me/lists',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'users/@me/lists/{tasklist}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'tasklist' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'users/@me/lists/{tasklist}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'tasklist' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->tasks = new Postman_Google_Service_Tasks_Tasks_Resource(
+ $this,
+ $this->serviceName,
+ 'tasks',
+ array(
+ 'methods' => array(
+ 'clear' => array(
+ 'path' => 'lists/{tasklist}/clear',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'tasklist' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'lists/{tasklist}/tasks/{task}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'tasklist' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'task' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'lists/{tasklist}/tasks/{task}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'tasklist' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'task' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'lists/{tasklist}/tasks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'tasklist' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'parent' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'previous' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'lists/{tasklist}/tasks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'tasklist' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dueMax' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showDeleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'updatedMin' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'completedMin' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showCompleted' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'completedMax' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'showHidden' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'dueMin' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'move' => array(
+ 'path' => 'lists/{tasklist}/tasks/{task}/move',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'tasklist' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'task' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'parent' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'previous' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'lists/{tasklist}/tasks/{task}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'tasklist' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'task' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'lists/{tasklist}/tasks/{task}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'tasklist' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'task' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "tasklists" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tasksService = new Postman_Google_Service_Tasks(...);
+ * $tasklists = $tasksService->tasklists;
+ * </code>
+ */
+class Postman_Google_Service_Tasks_Tasklists_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes the authenticated user's specified task list. (tasklists.delete)
+ *
+ * @param string $tasklist Task list identifier.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($tasklist, $optParams = array())
+ {
+ $params = array('tasklist' => $tasklist);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Returns the authenticated user's specified task list. (tasklists.get)
+ *
+ * @param string $tasklist Task list identifier.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Tasks_TaskList
+ */
+ public function get($tasklist, $optParams = array())
+ {
+ $params = array('tasklist' => $tasklist);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Tasks_TaskList");
+ }
+
+ /**
+ * Creates a new task list and adds it to the authenticated user's task lists.
+ * (tasklists.insert)
+ *
+ * @param Postman_Google_TaskList $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Tasks_TaskList
+ */
+ public function insert(Postman_Google_Service_Tasks_TaskList $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Tasks_TaskList");
+ }
+
+ /**
+ * Returns all the authenticated user's task lists. (tasklists.listTasklists)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Token specifying the result page to return.
+ * Optional.
+ * @opt_param string maxResults Maximum number of task lists returned on one
+ * page. Optional. The default is 100.
+ * @return Postman_Google_Service_Tasks_TaskLists
+ */
+ public function listTasklists($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Tasks_TaskLists");
+ }
+
+ /**
+ * Updates the authenticated user's specified task list. This method supports
+ * patch semantics. (tasklists.patch)
+ *
+ * @param string $tasklist Task list identifier.
+ * @param Postman_Google_TaskList $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Tasks_TaskList
+ */
+ public function patch($tasklist, Postman_Google_Service_Tasks_TaskList $postBody, $optParams = array())
+ {
+ $params = array('tasklist' => $tasklist, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Tasks_TaskList");
+ }
+
+ /**
+ * Updates the authenticated user's specified task list. (tasklists.update)
+ *
+ * @param string $tasklist Task list identifier.
+ * @param Postman_Google_TaskList $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Tasks_TaskList
+ */
+ public function update($tasklist, Postman_Google_Service_Tasks_TaskList $postBody, $optParams = array())
+ {
+ $params = array('tasklist' => $tasklist, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Tasks_TaskList");
+ }
+}
+
+/**
+ * The "tasks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $tasksService = new Postman_Google_Service_Tasks(...);
+ * $tasks = $tasksService->tasks;
+ * </code>
+ */
+class Postman_Google_Service_Tasks_Tasks_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Clears all completed tasks from the specified task list. The affected tasks
+ * will be marked as 'hidden' and no longer be returned by default when
+ * retrieving all tasks for a task list. (tasks.clear)
+ *
+ * @param string $tasklist Task list identifier.
+ * @param array $optParams Optional parameters.
+ */
+ public function clear($tasklist, $optParams = array())
+ {
+ $params = array('tasklist' => $tasklist);
+ $params = array_merge($params, $optParams);
+ return $this->call('clear', array($params));
+ }
+
+ /**
+ * Deletes the specified task from the task list. (tasks.delete)
+ *
+ * @param string $tasklist Task list identifier.
+ * @param string $task Task identifier.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($tasklist, $task, $optParams = array())
+ {
+ $params = array('tasklist' => $tasklist, 'task' => $task);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Returns the specified task. (tasks.get)
+ *
+ * @param string $tasklist Task list identifier.
+ * @param string $task Task identifier.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Tasks_Task
+ */
+ public function get($tasklist, $task, $optParams = array())
+ {
+ $params = array('tasklist' => $tasklist, 'task' => $task);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Tasks_Task");
+ }
+
+ /**
+ * Creates a new task on the specified task list. (tasks.insert)
+ *
+ * @param string $tasklist Task list identifier.
+ * @param Postman_Google_Task $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string parent Parent task identifier. If the task is created at
+ * the top level, this parameter is omitted. Optional.
+ * @opt_param string previous Previous sibling task identifier. If the task is
+ * created at the first position among its siblings, this parameter is omitted.
+ * Optional.
+ * @return Postman_Google_Service_Tasks_Task
+ */
+ public function insert($tasklist, Postman_Google_Service_Tasks_Task $postBody, $optParams = array())
+ {
+ $params = array('tasklist' => $tasklist, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Tasks_Task");
+ }
+
+ /**
+ * Returns all tasks in the specified task list. (tasks.listTasks)
+ *
+ * @param string $tasklist Task list identifier.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string dueMax Upper bound for a task's due date (as a RFC 3339
+ * timestamp) to filter by. Optional. The default is not to filter by due date.
+ * @opt_param bool showDeleted Flag indicating whether deleted tasks are
+ * returned in the result. Optional. The default is False.
+ * @opt_param string updatedMin Lower bound for a task's last modification time
+ * (as a RFC 3339 timestamp) to filter by. Optional. The default is not to
+ * filter by last modification time.
+ * @opt_param string completedMin Lower bound for a task's completion date (as a
+ * RFC 3339 timestamp) to filter by. Optional. The default is not to filter by
+ * completion date.
+ * @opt_param string maxResults Maximum number of task lists returned on one
+ * page. Optional. The default is 100.
+ * @opt_param bool showCompleted Flag indicating whether completed tasks are
+ * returned in the result. Optional. The default is True.
+ * @opt_param string pageToken Token specifying the result page to return.
+ * Optional.
+ * @opt_param string completedMax Upper bound for a task's completion date (as a
+ * RFC 3339 timestamp) to filter by. Optional. The default is not to filter by
+ * completion date.
+ * @opt_param bool showHidden Flag indicating whether hidden tasks are returned
+ * in the result. Optional. The default is False.
+ * @opt_param string dueMin Lower bound for a task's due date (as a RFC 3339
+ * timestamp) to filter by. Optional. The default is not to filter by due date.
+ * @return Postman_Google_Service_Tasks_Tasks
+ */
+ public function listTasks($tasklist, $optParams = array())
+ {
+ $params = array('tasklist' => $tasklist);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Tasks_Tasks");
+ }
+
+ /**
+ * Moves the specified task to another position in the task list. This can
+ * include putting it as a child task under a new parent and/or move it to a
+ * different position among its sibling tasks. (tasks.move)
+ *
+ * @param string $tasklist Task list identifier.
+ * @param string $task Task identifier.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string parent New parent task identifier. If the task is moved to
+ * the top level, this parameter is omitted. Optional.
+ * @opt_param string previous New previous sibling task identifier. If the task
+ * is moved to the first position among its siblings, this parameter is omitted.
+ * Optional.
+ * @return Postman_Google_Service_Tasks_Task
+ */
+ public function move($tasklist, $task, $optParams = array())
+ {
+ $params = array('tasklist' => $tasklist, 'task' => $task);
+ $params = array_merge($params, $optParams);
+ return $this->call('move', array($params), "Postman_Google_Service_Tasks_Task");
+ }
+
+ /**
+ * Updates the specified task. This method supports patch semantics.
+ * (tasks.patch)
+ *
+ * @param string $tasklist Task list identifier.
+ * @param string $task Task identifier.
+ * @param Postman_Google_Task $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Tasks_Task
+ */
+ public function patch($tasklist, $task, Postman_Google_Service_Tasks_Task $postBody, $optParams = array())
+ {
+ $params = array('tasklist' => $tasklist, 'task' => $task, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Postman_Google_Service_Tasks_Task");
+ }
+
+ /**
+ * Updates the specified task. (tasks.update)
+ *
+ * @param string $tasklist Task list identifier.
+ * @param string $task Task identifier.
+ * @param Postman_Google_Task $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Tasks_Task
+ */
+ public function update($tasklist, $task, Postman_Google_Service_Tasks_Task $postBody, $optParams = array())
+ {
+ $params = array('tasklist' => $tasklist, 'task' => $task, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_Tasks_Task");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Tasks_Task extends Postman_Google_Collection
+{
+ protected $collection_key = 'links';
+ protected $internal_gapi_mappings = array(
+ );
+ public $completed;
+ public $deleted;
+ public $due;
+ public $etag;
+ public $hidden;
+ public $id;
+ public $kind;
+ protected $linksType = 'Postman_Google_Service_Tasks_TaskLinks';
+ protected $linksDataType = 'array';
+ public $notes;
+ public $parent;
+ public $position;
+ public $selfLink;
+ public $status;
+ public $title;
+ public $updated;
+
+
+ public function setCompleted($completed)
+ {
+ $this->completed = $completed;
+ }
+ public function getCompleted()
+ {
+ return $this->completed;
+ }
+ public function setDeleted($deleted)
+ {
+ $this->deleted = $deleted;
+ }
+ public function getDeleted()
+ {
+ return $this->deleted;
+ }
+ public function setDue($due)
+ {
+ $this->due = $due;
+ }
+ public function getDue()
+ {
+ return $this->due;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setHidden($hidden)
+ {
+ $this->hidden = $hidden;
+ }
+ public function getHidden()
+ {
+ return $this->hidden;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLinks($links)
+ {
+ $this->links = $links;
+ }
+ public function getLinks()
+ {
+ return $this->links;
+ }
+ public function setNotes($notes)
+ {
+ $this->notes = $notes;
+ }
+ public function getNotes()
+ {
+ return $this->notes;
+ }
+ public function setParent($parent)
+ {
+ $this->parent = $parent;
+ }
+ public function getParent()
+ {
+ return $this->parent;
+ }
+ public function setPosition($position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+}
+
+class Postman_Google_Service_Tasks_TaskLinks extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ public $link;
+ public $type;
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+ public function getLink()
+ {
+ return $this->link;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_Tasks_TaskList extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $id;
+ public $kind;
+ public $selfLink;
+ public $title;
+ public $updated;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+}
+
+class Postman_Google_Service_Tasks_TaskLists extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Tasks_TaskList';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Postman_Google_Service_Tasks_Tasks extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Postman_Google_Service_Tasks_Task';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Translate.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Translate.php
new file mode 100644
index 0000000..d2157ab
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Translate.php
@@ -0,0 +1,368 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Translate (v2).
+ *
+ * <p>
+ * Lets you translate text from one language to another</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/translate/v2/using_rest" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Translate extends Postman_Google_Service
+{
+
+
+ public $detections;
+ public $languages;
+ public $translations;
+
+
+ /**
+ * Constructs the internal representation of the Translate service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'language/translate/';
+ $this->version = 'v2';
+ $this->serviceName = 'translate';
+
+ $this->detections = new Postman_Google_Service_Translate_Detections_Resource(
+ $this,
+ $this->serviceName,
+ 'detections',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v2/detect',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->languages = new Postman_Google_Service_Translate_Languages_Resource(
+ $this,
+ $this->serviceName,
+ 'languages',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v2/languages',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'target' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->translations = new Postman_Google_Service_Translate_Translations_Resource(
+ $this,
+ $this->serviceName,
+ 'translations',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'v2',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ 'required' => true,
+ ),
+ 'target' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'source' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'format' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'cid' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "detections" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $translateService = new Postman_Google_Service_Translate(...);
+ * $detections = $translateService->detections;
+ * </code>
+ */
+class Postman_Google_Service_Translate_Detections_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Detect the language of text. (detections.listDetections)
+ *
+ * @param string $q The text to detect
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Translate_DetectionsListResponse
+ */
+ public function listDetections($q, $optParams = array())
+ {
+ $params = array('q' => $q);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Translate_DetectionsListResponse");
+ }
+}
+
+/**
+ * The "languages" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $translateService = new Postman_Google_Service_Translate(...);
+ * $languages = $translateService->languages;
+ * </code>
+ */
+class Postman_Google_Service_Translate_Languages_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * List the source/target languages supported by the API
+ * (languages.listLanguages)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string target the language and collation in which the localized
+ * results should be returned
+ * @return Postman_Google_Service_Translate_LanguagesListResponse
+ */
+ public function listLanguages($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Translate_LanguagesListResponse");
+ }
+}
+
+/**
+ * The "translations" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $translateService = new Postman_Google_Service_Translate(...);
+ * $translations = $translateService->translations;
+ * </code>
+ */
+class Postman_Google_Service_Translate_Translations_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns text translations from one language to another.
+ * (translations.listTranslations)
+ *
+ * @param string $q The text to translate
+ * @param string $target The target language into which the text should be
+ * translated
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string source The source language of the text
+ * @opt_param string format The format of the text
+ * @opt_param string cid The customization id for translate
+ * @return Postman_Google_Service_Translate_TranslationsListResponse
+ */
+ public function listTranslations($q, $target, $optParams = array())
+ {
+ $params = array('q' => $q, 'target' => $target);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Translate_TranslationsListResponse");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Translate_DetectionsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'detections';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $detectionsType = 'Postman_Google_Service_Translate_DetectionsResourceItems';
+ protected $detectionsDataType = 'array';
+
+
+ public function setDetections($detections)
+ {
+ $this->detections = $detections;
+ }
+ public function getDetections()
+ {
+ return $this->detections;
+ }
+}
+
+class Postman_Google_Service_Translate_DetectionsResourceItems extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $confidence;
+ public $isReliable;
+ public $language;
+
+
+ public function setConfidence($confidence)
+ {
+ $this->confidence = $confidence;
+ }
+ public function getConfidence()
+ {
+ return $this->confidence;
+ }
+ public function setIsReliable($isReliable)
+ {
+ $this->isReliable = $isReliable;
+ }
+ public function getIsReliable()
+ {
+ return $this->isReliable;
+ }
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+}
+
+class Postman_Google_Service_Translate_LanguagesListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'languages';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $languagesType = 'Postman_Google_Service_Translate_LanguagesResource';
+ protected $languagesDataType = 'array';
+
+
+ public function setLanguages($languages)
+ {
+ $this->languages = $languages;
+ }
+ public function getLanguages()
+ {
+ return $this->languages;
+ }
+}
+
+class Postman_Google_Service_Translate_LanguagesResource extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $language;
+ public $name;
+
+
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_Translate_TranslationsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'translations';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $translationsType = 'Postman_Google_Service_Translate_TranslationsResource';
+ protected $translationsDataType = 'array';
+
+
+ public function setTranslations($translations)
+ {
+ $this->translations = $translations;
+ }
+ public function getTranslations()
+ {
+ return $this->translations;
+ }
+}
+
+class Postman_Google_Service_Translate_TranslationsResource extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $detectedSourceLanguage;
+ public $translatedText;
+
+
+ public function setDetectedSourceLanguage($detectedSourceLanguage)
+ {
+ $this->detectedSourceLanguage = $detectedSourceLanguage;
+ }
+ public function getDetectedSourceLanguage()
+ {
+ return $this->detectedSourceLanguage;
+ }
+ public function setTranslatedText($translatedText)
+ {
+ $this->translatedText = $translatedText;
+ }
+ public function getTranslatedText()
+ {
+ return $this->translatedText;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Urlshortener.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Urlshortener.php
new file mode 100644
index 0000000..ff81979
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Urlshortener.php
@@ -0,0 +1,426 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Urlshortener (v1).
+ *
+ * <p>
+ * Lets you create, inspect, and manage goo.gl short URLs</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="http://code.google.com/apis/urlshortener/v1/getting_started.html" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Urlshortener extends Postman_Google_Service
+{
+ /** Manage your goo.gl short URLs. */
+ const URLSHORTENER =
+ "https://www.googleapis.com/auth/urlshortener";
+
+ public $url;
+
+
+ /**
+ * Constructs the internal representation of the Urlshortener service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'urlshortener/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'urlshortener';
+
+ $this->url = new Postman_Google_Service_Urlshortener_Url_Resource(
+ $this,
+ $this->serviceName,
+ 'url',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'url',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'shortUrl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'url',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'list' => array(
+ 'path' => 'url/history',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'start-token' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projection' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "url" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $urlshortenerService = new Postman_Google_Service_Urlshortener(...);
+ * $url = $urlshortenerService->url;
+ * </code>
+ */
+class Postman_Google_Service_Urlshortener_Url_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Expands a short URL or gets creation time and analytics. (url.get)
+ *
+ * @param string $shortUrl The short URL, including the protocol.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string projection Additional information to return.
+ * @return Postman_Google_Service_Urlshortener_Url
+ */
+ public function get($shortUrl, $optParams = array())
+ {
+ $params = array('shortUrl' => $shortUrl);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Urlshortener_Url");
+ }
+
+ /**
+ * Creates a new short URL. (url.insert)
+ *
+ * @param Postman_Google_Url $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Urlshortener_Url
+ */
+ public function insert(Postman_Google_Service_Urlshortener_Url $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_Urlshortener_Url");
+ }
+
+ /**
+ * Retrieves a list of URLs shortened by a user. (url.listUrl)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string start-token Token for requesting successive pages of
+ * results.
+ * @opt_param string projection Additional information to return.
+ * @return Postman_Google_Service_Urlshortener_UrlHistory
+ */
+ public function listUrl($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Urlshortener_UrlHistory");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Urlshortener_AnalyticsSnapshot extends Postman_Google_Collection
+{
+ protected $collection_key = 'referrers';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $browsersType = 'Postman_Google_Service_Urlshortener_StringCount';
+ protected $browsersDataType = 'array';
+ protected $countriesType = 'Postman_Google_Service_Urlshortener_StringCount';
+ protected $countriesDataType = 'array';
+ public $longUrlClicks;
+ protected $platformsType = 'Postman_Google_Service_Urlshortener_StringCount';
+ protected $platformsDataType = 'array';
+ protected $referrersType = 'Postman_Google_Service_Urlshortener_StringCount';
+ protected $referrersDataType = 'array';
+ public $shortUrlClicks;
+
+
+ public function setBrowsers($browsers)
+ {
+ $this->browsers = $browsers;
+ }
+ public function getBrowsers()
+ {
+ return $this->browsers;
+ }
+ public function setCountries($countries)
+ {
+ $this->countries = $countries;
+ }
+ public function getCountries()
+ {
+ return $this->countries;
+ }
+ public function setLongUrlClicks($longUrlClicks)
+ {
+ $this->longUrlClicks = $longUrlClicks;
+ }
+ public function getLongUrlClicks()
+ {
+ return $this->longUrlClicks;
+ }
+ public function setPlatforms($platforms)
+ {
+ $this->platforms = $platforms;
+ }
+ public function getPlatforms()
+ {
+ return $this->platforms;
+ }
+ public function setReferrers($referrers)
+ {
+ $this->referrers = $referrers;
+ }
+ public function getReferrers()
+ {
+ return $this->referrers;
+ }
+ public function setShortUrlClicks($shortUrlClicks)
+ {
+ $this->shortUrlClicks = $shortUrlClicks;
+ }
+ public function getShortUrlClicks()
+ {
+ return $this->shortUrlClicks;
+ }
+}
+
+class Postman_Google_Service_Urlshortener_AnalyticsSummary extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $allTimeType = 'Postman_Google_Service_Urlshortener_AnalyticsSnapshot';
+ protected $allTimeDataType = '';
+ protected $dayType = 'Postman_Google_Service_Urlshortener_AnalyticsSnapshot';
+ protected $dayDataType = '';
+ protected $monthType = 'Postman_Google_Service_Urlshortener_AnalyticsSnapshot';
+ protected $monthDataType = '';
+ protected $twoHoursType = 'Postman_Google_Service_Urlshortener_AnalyticsSnapshot';
+ protected $twoHoursDataType = '';
+ protected $weekType = 'Postman_Google_Service_Urlshortener_AnalyticsSnapshot';
+ protected $weekDataType = '';
+
+
+ public function setAllTime(Postman_Google_Service_Urlshortener_AnalyticsSnapshot $allTime)
+ {
+ $this->allTime = $allTime;
+ }
+ public function getAllTime()
+ {
+ return $this->allTime;
+ }
+ public function setDay(Postman_Google_Service_Urlshortener_AnalyticsSnapshot $day)
+ {
+ $this->day = $day;
+ }
+ public function getDay()
+ {
+ return $this->day;
+ }
+ public function setMonth(Postman_Google_Service_Urlshortener_AnalyticsSnapshot $month)
+ {
+ $this->month = $month;
+ }
+ public function getMonth()
+ {
+ return $this->month;
+ }
+ public function setTwoHours(Postman_Google_Service_Urlshortener_AnalyticsSnapshot $twoHours)
+ {
+ $this->twoHours = $twoHours;
+ }
+ public function getTwoHours()
+ {
+ return $this->twoHours;
+ }
+ public function setWeek(Postman_Google_Service_Urlshortener_AnalyticsSnapshot $week)
+ {
+ $this->week = $week;
+ }
+ public function getWeek()
+ {
+ return $this->week;
+ }
+}
+
+class Postman_Google_Service_Urlshortener_StringCount extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $count;
+ public $id;
+
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Postman_Google_Service_Urlshortener_Url extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $analyticsType = 'Postman_Google_Service_Urlshortener_AnalyticsSummary';
+ protected $analyticsDataType = '';
+ public $created;
+ public $id;
+ public $kind;
+ public $longUrl;
+ public $status;
+
+
+ public function setAnalytics(Postman_Google_Service_Urlshortener_AnalyticsSummary $analytics)
+ {
+ $this->analytics = $analytics;
+ }
+ public function getAnalytics()
+ {
+ return $this->analytics;
+ }
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+ public function getCreated()
+ {
+ return $this->created;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLongUrl($longUrl)
+ {
+ $this->longUrl = $longUrl;
+ }
+ public function getLongUrl()
+ {
+ return $this->longUrl;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Postman_Google_Service_Urlshortener_UrlHistory extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Urlshortener_Url';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextPageToken;
+ public $totalItems;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Webfonts.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Webfonts.php
new file mode 100644
index 0000000..08a1b8d
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Webfonts.php
@@ -0,0 +1,215 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Webfonts (v1).
+ *
+ * <p>
+ * The Google Fonts Developer API.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/fonts/docs/developer_api" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Webfonts extends Postman_Google_Service
+{
+
+
+ public $webfonts;
+
+
+ /**
+ * Constructs the internal representation of the Webfonts service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'webfonts/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'webfonts';
+
+ $this->webfonts = new Postman_Google_Service_Webfonts_Webfonts_Resource(
+ $this,
+ $this->serviceName,
+ 'webfonts',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'webfonts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'sort' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "webfonts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $webfontsService = new Postman_Google_Service_Webfonts(...);
+ * $webfonts = $webfontsService->webfonts;
+ * </code>
+ */
+class Postman_Google_Service_Webfonts_Webfonts_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves the list of fonts currently served by the Google Fonts Developer
+ * API (webfonts.listWebfonts)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string sort Enables sorting of the list
+ * @return Postman_Google_Service_Webfonts_WebfontList
+ */
+ public function listWebfonts($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Webfonts_WebfontList");
+ }
+}
+
+
+
+
+class Postman_Google_Service_Webfonts_Webfont extends Postman_Google_Collection
+{
+ protected $collection_key = 'variants';
+ protected $internal_gapi_mappings = array(
+ );
+ public $category;
+ public $family;
+ public $files;
+ public $kind;
+ public $lastModified;
+ public $subsets;
+ public $variants;
+ public $version;
+
+
+ public function setCategory($category)
+ {
+ $this->category = $category;
+ }
+ public function getCategory()
+ {
+ return $this->category;
+ }
+ public function setFamily($family)
+ {
+ $this->family = $family;
+ }
+ public function getFamily()
+ {
+ return $this->family;
+ }
+ public function setFiles($files)
+ {
+ $this->files = $files;
+ }
+ public function getFiles()
+ {
+ return $this->files;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastModified($lastModified)
+ {
+ $this->lastModified = $lastModified;
+ }
+ public function getLastModified()
+ {
+ return $this->lastModified;
+ }
+ public function setSubsets($subsets)
+ {
+ $this->subsets = $subsets;
+ }
+ public function getSubsets()
+ {
+ return $this->subsets;
+ }
+ public function setVariants($variants)
+ {
+ $this->variants = $variants;
+ }
+ public function getVariants()
+ {
+ return $this->variants;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Postman_Google_Service_Webfonts_WebfontFiles extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_Webfonts_WebfontList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_Webfonts_Webfont';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Webmasters.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Webmasters.php
new file mode 100644
index 0000000..c7f8c52
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Webmasters.php
@@ -0,0 +1,918 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for Webmasters (v3).
+ *
+ * <p>
+ * Lets you view Google Webmaster Tools data for your verified sites.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/webmaster-tools/v3/welcome" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_Webmasters extends Postman_Google_Service
+{
+ /** View and modify Webmaster Tools data for your verified sites. */
+ const WEBMASTERS =
+ "https://www.googleapis.com/auth/webmasters";
+ /** View Webmaster Tools data for your verified sites. */
+ const WEBMASTERS_READONLY =
+ "https://www.googleapis.com/auth/webmasters.readonly";
+
+ public $sitemaps;
+ public $sites;
+ public $urlcrawlerrorscounts;
+ public $urlcrawlerrorssamples;
+
+
+ /**
+ * Constructs the internal representation of the Webmasters service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'webmasters/v3/';
+ $this->version = 'v3';
+ $this->serviceName = 'webmasters';
+
+ $this->sitemaps = new Postman_Google_Service_Webmasters_Sitemaps_Resource(
+ $this,
+ $this->serviceName,
+ 'sitemaps',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'sites/{siteUrl}/sitemaps/{feedpath}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'siteUrl' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'feedpath' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'sites/{siteUrl}/sitemaps/{feedpath}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'siteUrl' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'feedpath' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'sites/{siteUrl}/sitemaps',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'siteUrl' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sitemapIndex' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'submit' => array(
+ 'path' => 'sites/{siteUrl}/sitemaps/{feedpath}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'siteUrl' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'feedpath' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->sites = new Postman_Google_Service_Webmasters_Sites_Resource(
+ $this,
+ $this->serviceName,
+ 'sites',
+ array(
+ 'methods' => array(
+ 'add' => array(
+ 'path' => 'sites/{siteUrl}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'siteUrl' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'sites/{siteUrl}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'siteUrl' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'sites/{siteUrl}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'siteUrl' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'sites',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->urlcrawlerrorscounts = new Postman_Google_Service_Webmasters_Urlcrawlerrorscounts_Resource(
+ $this,
+ $this->serviceName,
+ 'urlcrawlerrorscounts',
+ array(
+ 'methods' => array(
+ 'query' => array(
+ 'path' => 'sites/{siteUrl}/urlCrawlErrorsCounts/query',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'siteUrl' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'category' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'platform' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'latestCountsOnly' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->urlcrawlerrorssamples = new Postman_Google_Service_Webmasters_Urlcrawlerrorssamples_Resource(
+ $this,
+ $this->serviceName,
+ 'urlcrawlerrorssamples',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'sites/{siteUrl}/urlCrawlErrorsSamples/{url}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'siteUrl' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'url' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'category' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'platform' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'sites/{siteUrl}/urlCrawlErrorsSamples',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'siteUrl' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'category' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'platform' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'markAsFixed' => array(
+ 'path' => 'sites/{siteUrl}/urlCrawlErrorsSamples/{url}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'siteUrl' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'url' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'category' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'platform' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "sitemaps" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $webmastersService = new Postman_Google_Service_Webmasters(...);
+ * $sitemaps = $webmastersService->sitemaps;
+ * </code>
+ */
+class Postman_Google_Service_Webmasters_Sitemaps_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes a sitemap from this site. (sitemaps.delete)
+ *
+ * @param string $siteUrl The site's URL, including protocol, for example
+ * 'http://www.example.com/'
+ * @param string $feedpath The URL of the actual sitemap (for example
+ * http://www.example.com/sitemap.xml).
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($siteUrl, $feedpath, $optParams = array())
+ {
+ $params = array('siteUrl' => $siteUrl, 'feedpath' => $feedpath);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves information about a specific sitemap. (sitemaps.get)
+ *
+ * @param string $siteUrl The site's URL, including protocol, for example
+ * 'http://www.example.com/'
+ * @param string $feedpath The URL of the actual sitemap (for example
+ * http://www.example.com/sitemap.xml).
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Webmasters_WmxSitemap
+ */
+ public function get($siteUrl, $feedpath, $optParams = array())
+ {
+ $params = array('siteUrl' => $siteUrl, 'feedpath' => $feedpath);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Webmasters_WmxSitemap");
+ }
+
+ /**
+ * Lists sitemaps uploaded to the site. (sitemaps.listSitemaps)
+ *
+ * @param string $siteUrl The site's URL, including protocol, for example
+ * 'http://www.example.com/'
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string sitemapIndex A URL of a site's sitemap index.
+ * @return Postman_Google_Service_Webmasters_SitemapsListResponse
+ */
+ public function listSitemaps($siteUrl, $optParams = array())
+ {
+ $params = array('siteUrl' => $siteUrl);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Webmasters_SitemapsListResponse");
+ }
+
+ /**
+ * Submits a sitemap for a site. (sitemaps.submit)
+ *
+ * @param string $siteUrl The site's URL, including protocol, for example
+ * 'http://www.example.com/'
+ * @param string $feedpath The URL of the sitemap to add.
+ * @param array $optParams Optional parameters.
+ */
+ public function submit($siteUrl, $feedpath, $optParams = array())
+ {
+ $params = array('siteUrl' => $siteUrl, 'feedpath' => $feedpath);
+ $params = array_merge($params, $optParams);
+ return $this->call('submit', array($params));
+ }
+}
+
+/**
+ * The "sites" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $webmastersService = new Postman_Google_Service_Webmasters(...);
+ * $sites = $webmastersService->sites;
+ * </code>
+ */
+class Postman_Google_Service_Webmasters_Sites_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Adds a site to the set of the user's sites in Webmaster Tools. (sites.add)
+ *
+ * @param string $siteUrl The URL of the site to add.
+ * @param array $optParams Optional parameters.
+ */
+ public function add($siteUrl, $optParams = array())
+ {
+ $params = array('siteUrl' => $siteUrl);
+ $params = array_merge($params, $optParams);
+ return $this->call('add', array($params));
+ }
+
+ /**
+ * Removes a site from the set of the user's Webmaster Tools sites.
+ * (sites.delete)
+ *
+ * @param string $siteUrl The site's URL, including protocol, for example
+ * 'http://www.example.com/'
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($siteUrl, $optParams = array())
+ {
+ $params = array('siteUrl' => $siteUrl);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves information about specific site. (sites.get)
+ *
+ * @param string $siteUrl The site's URL, including protocol, for example
+ * 'http://www.example.com/'
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Webmasters_WmxSite
+ */
+ public function get($siteUrl, $optParams = array())
+ {
+ $params = array('siteUrl' => $siteUrl);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Webmasters_WmxSite");
+ }
+
+ /**
+ * Lists your Webmaster Tools sites. (sites.listSites)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Webmasters_SitesListResponse
+ */
+ public function listSites($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Webmasters_SitesListResponse");
+ }
+}
+
+/**
+ * The "urlcrawlerrorscounts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $webmastersService = new Postman_Google_Service_Webmasters(...);
+ * $urlcrawlerrorscounts = $webmastersService->urlcrawlerrorscounts;
+ * </code>
+ */
+class Postman_Google_Service_Webmasters_Urlcrawlerrorscounts_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves a time series of the number of URL crawl errors per error category
+ * and platform. (urlcrawlerrorscounts.query)
+ *
+ * @param string $siteUrl The site's URL, including protocol, for example
+ * 'http://www.example.com/'
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string category The crawl error category, for example
+ * 'serverError'. If not specified, we return results for all categories.
+ * @opt_param string platform The user agent type (platform) that made the
+ * request, for example 'web'. If not specified, we return results for all
+ * platforms.
+ * @opt_param bool latestCountsOnly If true, returns only the latest crawl error
+ * counts.
+ * @return Postman_Google_Service_Webmasters_UrlCrawlErrorsCountsQueryResponse
+ */
+ public function query($siteUrl, $optParams = array())
+ {
+ $params = array('siteUrl' => $siteUrl);
+ $params = array_merge($params, $optParams);
+ return $this->call('query', array($params), "Postman_Google_Service_Webmasters_UrlCrawlErrorsCountsQueryResponse");
+ }
+}
+
+/**
+ * The "urlcrawlerrorssamples" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $webmastersService = new Postman_Google_Service_Webmasters(...);
+ * $urlcrawlerrorssamples = $webmastersService->urlcrawlerrorssamples;
+ * </code>
+ */
+class Postman_Google_Service_Webmasters_Urlcrawlerrorssamples_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves details about crawl errors for a site's sample URL.
+ * (urlcrawlerrorssamples.get)
+ *
+ * @param string $siteUrl The site's URL, including protocol, for example
+ * 'http://www.example.com/'
+ * @param string $url The relative path (without the site) of the sample URL;
+ * must be one of the URLs returned by list
+ * @param string $category The crawl error category, for example
+ * 'authPermissions'
+ * @param string $platform The user agent type (platform) that made the request,
+ * for example 'web'
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Webmasters_UrlCrawlErrorsSample
+ */
+ public function get($siteUrl, $url, $category, $platform, $optParams = array())
+ {
+ $params = array('siteUrl' => $siteUrl, 'url' => $url, 'category' => $category, 'platform' => $platform);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Postman_Google_Service_Webmasters_UrlCrawlErrorsSample");
+ }
+
+ /**
+ * Lists a site's sample URLs for the specified crawl error category and
+ * platform. (urlcrawlerrorssamples.listUrlcrawlerrorssamples)
+ *
+ * @param string $siteUrl The site's URL, including protocol, for example
+ * 'http://www.example.com/'
+ * @param string $category The crawl error category, for example
+ * 'authPermissions'
+ * @param string $platform The user agent type (platform) that made the request,
+ * for example 'web'
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_Webmasters_UrlCrawlErrorsSamplesListResponse
+ */
+ public function listUrlcrawlerrorssamples($siteUrl, $category, $platform, $optParams = array())
+ {
+ $params = array('siteUrl' => $siteUrl, 'category' => $category, 'platform' => $platform);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_Webmasters_UrlCrawlErrorsSamplesListResponse");
+ }
+
+ /**
+ * Marks the provided site's sample URL as fixed, and removes it from the
+ * samples list. (urlcrawlerrorssamples.markAsFixed)
+ *
+ * @param string $siteUrl The site's URL, including protocol, for example
+ * 'http://www.example.com/'
+ * @param string $url The relative path (without the site) of the sample URL;
+ * must be one of the URLs returned by list
+ * @param string $category The crawl error category, for example
+ * 'authPermissions'
+ * @param string $platform The user agent type (platform) that made the request,
+ * for example 'web'
+ * @param array $optParams Optional parameters.
+ */
+ public function markAsFixed($siteUrl, $url, $category, $platform, $optParams = array())
+ {
+ $params = array('siteUrl' => $siteUrl, 'url' => $url, 'category' => $category, 'platform' => $platform);
+ $params = array_merge($params, $optParams);
+ return $this->call('markAsFixed', array($params));
+ }
+}
+
+
+
+
+class Postman_Google_Service_Webmasters_SitemapsListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'sitemap';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $sitemapType = 'Postman_Google_Service_Webmasters_WmxSitemap';
+ protected $sitemapDataType = 'array';
+
+
+ public function setSitemap($sitemap)
+ {
+ $this->sitemap = $sitemap;
+ }
+ public function getSitemap()
+ {
+ return $this->sitemap;
+ }
+}
+
+class Postman_Google_Service_Webmasters_SitesListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'siteEntry';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $siteEntryType = 'Postman_Google_Service_Webmasters_WmxSite';
+ protected $siteEntryDataType = 'array';
+
+
+ public function setSiteEntry($siteEntry)
+ {
+ $this->siteEntry = $siteEntry;
+ }
+ public function getSiteEntry()
+ {
+ return $this->siteEntry;
+ }
+}
+
+class Postman_Google_Service_Webmasters_UrlCrawlErrorCount extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $count;
+ public $timestamp;
+
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+ public function getCount()
+ {
+ return $this->count;
+ }
+ public function setTimestamp($timestamp)
+ {
+ $this->timestamp = $timestamp;
+ }
+ public function getTimestamp()
+ {
+ return $this->timestamp;
+ }
+}
+
+class Postman_Google_Service_Webmasters_UrlCrawlErrorCountsPerType extends Postman_Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $internal_gapi_mappings = array(
+ );
+ public $category;
+ protected $entriesType = 'Postman_Google_Service_Webmasters_UrlCrawlErrorCount';
+ protected $entriesDataType = 'array';
+ public $platform;
+
+
+ public function setCategory($category)
+ {
+ $this->category = $category;
+ }
+ public function getCategory()
+ {
+ return $this->category;
+ }
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+ public function setPlatform($platform)
+ {
+ $this->platform = $platform;
+ }
+ public function getPlatform()
+ {
+ return $this->platform;
+ }
+}
+
+class Postman_Google_Service_Webmasters_UrlCrawlErrorsCountsQueryResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'countPerTypes';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $countPerTypesType = 'Postman_Google_Service_Webmasters_UrlCrawlErrorCountsPerType';
+ protected $countPerTypesDataType = 'array';
+
+
+ public function setCountPerTypes($countPerTypes)
+ {
+ $this->countPerTypes = $countPerTypes;
+ }
+ public function getCountPerTypes()
+ {
+ return $this->countPerTypes;
+ }
+}
+
+class Postman_Google_Service_Webmasters_UrlCrawlErrorsSample extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "firstDetected" => "first_detected",
+ "lastCrawled" => "last_crawled",
+ );
+ public $firstDetected;
+ public $lastCrawled;
+ public $pageUrl;
+ public $responseCode;
+ protected $urlDetailsType = 'Postman_Google_Service_Webmasters_UrlSampleDetails';
+ protected $urlDetailsDataType = '';
+
+
+ public function setFirstDetected($firstDetected)
+ {
+ $this->firstDetected = $firstDetected;
+ }
+ public function getFirstDetected()
+ {
+ return $this->firstDetected;
+ }
+ public function setLastCrawled($lastCrawled)
+ {
+ $this->lastCrawled = $lastCrawled;
+ }
+ public function getLastCrawled()
+ {
+ return $this->lastCrawled;
+ }
+ public function setPageUrl($pageUrl)
+ {
+ $this->pageUrl = $pageUrl;
+ }
+ public function getPageUrl()
+ {
+ return $this->pageUrl;
+ }
+ public function setResponseCode($responseCode)
+ {
+ $this->responseCode = $responseCode;
+ }
+ public function getResponseCode()
+ {
+ return $this->responseCode;
+ }
+ public function setUrlDetails(Postman_Google_Service_Webmasters_UrlSampleDetails $urlDetails)
+ {
+ $this->urlDetails = $urlDetails;
+ }
+ public function getUrlDetails()
+ {
+ return $this->urlDetails;
+ }
+}
+
+class Postman_Google_Service_Webmasters_UrlCrawlErrorsSamplesListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'urlCrawlErrorSample';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $urlCrawlErrorSampleType = 'Postman_Google_Service_Webmasters_UrlCrawlErrorsSample';
+ protected $urlCrawlErrorSampleDataType = 'array';
+
+
+ public function setUrlCrawlErrorSample($urlCrawlErrorSample)
+ {
+ $this->urlCrawlErrorSample = $urlCrawlErrorSample;
+ }
+ public function getUrlCrawlErrorSample()
+ {
+ return $this->urlCrawlErrorSample;
+ }
+}
+
+class Postman_Google_Service_Webmasters_UrlSampleDetails extends Postman_Google_Collection
+{
+ protected $collection_key = 'linkedFromUrls';
+ protected $internal_gapi_mappings = array(
+ );
+ public $containingSitemaps;
+ public $linkedFromUrls;
+
+
+ public function setContainingSitemaps($containingSitemaps)
+ {
+ $this->containingSitemaps = $containingSitemaps;
+ }
+ public function getContainingSitemaps()
+ {
+ return $this->containingSitemaps;
+ }
+ public function setLinkedFromUrls($linkedFromUrls)
+ {
+ $this->linkedFromUrls = $linkedFromUrls;
+ }
+ public function getLinkedFromUrls()
+ {
+ return $this->linkedFromUrls;
+ }
+}
+
+class Postman_Google_Service_Webmasters_WmxSite extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $permissionLevel;
+ public $siteUrl;
+
+
+ public function setPermissionLevel($permissionLevel)
+ {
+ $this->permissionLevel = $permissionLevel;
+ }
+ public function getPermissionLevel()
+ {
+ return $this->permissionLevel;
+ }
+ public function setSiteUrl($siteUrl)
+ {
+ $this->siteUrl = $siteUrl;
+ }
+ public function getSiteUrl()
+ {
+ return $this->siteUrl;
+ }
+}
+
+class Postman_Google_Service_Webmasters_WmxSitemap extends Postman_Google_Collection
+{
+ protected $collection_key = 'contents';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $contentsType = 'Postman_Google_Service_Webmasters_WmxSitemapContent';
+ protected $contentsDataType = 'array';
+ public $errors;
+ public $isPending;
+ public $isSitemapsIndex;
+ public $lastDownloaded;
+ public $lastSubmitted;
+ public $path;
+ public $type;
+ public $warnings;
+
+
+ public function setContents($contents)
+ {
+ $this->contents = $contents;
+ }
+ public function getContents()
+ {
+ return $this->contents;
+ }
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setIsPending($isPending)
+ {
+ $this->isPending = $isPending;
+ }
+ public function getIsPending()
+ {
+ return $this->isPending;
+ }
+ public function setIsSitemapsIndex($isSitemapsIndex)
+ {
+ $this->isSitemapsIndex = $isSitemapsIndex;
+ }
+ public function getIsSitemapsIndex()
+ {
+ return $this->isSitemapsIndex;
+ }
+ public function setLastDownloaded($lastDownloaded)
+ {
+ $this->lastDownloaded = $lastDownloaded;
+ }
+ public function getLastDownloaded()
+ {
+ return $this->lastDownloaded;
+ }
+ public function setLastSubmitted($lastSubmitted)
+ {
+ $this->lastSubmitted = $lastSubmitted;
+ }
+ public function getLastSubmitted()
+ {
+ return $this->lastSubmitted;
+ }
+ public function setPath($path)
+ {
+ $this->path = $path;
+ }
+ public function getPath()
+ {
+ return $this->path;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
+
+class Postman_Google_Service_Webmasters_WmxSitemapContent extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $indexed;
+ public $submitted;
+ public $type;
+
+
+ public function setIndexed($indexed)
+ {
+ $this->indexed = $indexed;
+ }
+ public function getIndexed()
+ {
+ return $this->indexed;
+ }
+ public function setSubmitted($submitted)
+ {
+ $this->submitted = $submitted;
+ }
+ public function getSubmitted()
+ {
+ return $this->submitted;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/YouTube.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/YouTube.php
new file mode 100644
index 0000000..8f6f912
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/YouTube.php
@@ -0,0 +1,10456 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for YouTube (v3).
+ *
+ * <p>
+ * Programmatic access to YouTube features.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="https://developers.google.com/youtube/v3" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_YouTube extends Postman_Google_Service
+{
+ /** Manage your YouTube account. */
+ const YOUTUBE =
+ "https://www.googleapis.com/auth/youtube";
+ /** View your YouTube account. */
+ const YOUTUBE_READONLY =
+ "https://www.googleapis.com/auth/youtube.readonly";
+ /** Manage your YouTube videos. */
+ const YOUTUBE_UPLOAD =
+ "https://www.googleapis.com/auth/youtube.upload";
+ /** View and manage your assets and associated content on YouTube. */
+ const YOUTUBEPARTNER =
+ "https://www.googleapis.com/auth/youtubepartner";
+ /** View private information of your YouTube channel relevant during the audit process with a YouTube partner. */
+ const YOUTUBEPARTNER_CHANNEL_AUDIT =
+ "https://www.googleapis.com/auth/youtubepartner-channel-audit";
+
+ public $activities;
+ public $channelBanners;
+ public $channelSections;
+ public $channels;
+ public $guideCategories;
+ public $i18nLanguages;
+ public $i18nRegions;
+ public $liveBroadcasts;
+ public $liveStreams;
+ public $playlistItems;
+ public $playlists;
+ public $search;
+ public $subscriptions;
+ public $thumbnails;
+ public $videoCategories;
+ public $videos;
+ public $watermarks;
+
+
+ /**
+ * Constructs the internal representation of the YouTube service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'youtube/v3/';
+ $this->version = 'v3';
+ $this->serviceName = 'youtube';
+
+ $this->activities = new Postman_Google_Service_YouTube_Activities_Resource(
+ $this,
+ $this->serviceName,
+ 'activities',
+ array(
+ 'methods' => array(
+ 'insert' => array(
+ 'path' => 'activities',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'activities',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'regionCode' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'publishedBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'channelId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'mine' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'home' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'publishedAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->channelBanners = new Postman_Google_Service_YouTube_ChannelBanners_Resource(
+ $this,
+ $this->serviceName,
+ 'channelBanners',
+ array(
+ 'methods' => array(
+ 'insert' => array(
+ 'path' => 'channelBanners/insert',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->channelSections = new Postman_Google_Service_YouTube_ChannelSections_Resource(
+ $this,
+ $this->serviceName,
+ 'channelSections',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'channelSections',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'channelSections',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'channelSections',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'channelId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'mine' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'channelSections',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->channels = new Postman_Google_Service_YouTube_Channels_Resource(
+ $this,
+ $this->serviceName,
+ 'channels',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'channels',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'managedByMe' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'forUsername' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'mine' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'mySubscribers' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'categoryId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'channels',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->guideCategories = new Postman_Google_Service_YouTube_GuideCategories_Resource(
+ $this,
+ $this->serviceName,
+ 'guideCategories',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'guideCategories',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'regionCode' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'hl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->i18nLanguages = new Postman_Google_Service_YouTube_I18nLanguages_Resource(
+ $this,
+ $this->serviceName,
+ 'i18nLanguages',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'i18nLanguages',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'hl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->i18nRegions = new Postman_Google_Service_YouTube_I18nRegions_Resource(
+ $this,
+ $this->serviceName,
+ 'i18nRegions',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'i18nRegions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'hl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->liveBroadcasts = new Postman_Google_Service_YouTube_LiveBroadcasts_Resource(
+ $this,
+ $this->serviceName,
+ 'liveBroadcasts',
+ array(
+ 'methods' => array(
+ 'bind' => array(
+ 'path' => 'liveBroadcasts/bind',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'streamId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'control' => array(
+ 'path' => 'liveBroadcasts/control',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'displaySlate' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'offsetTimeMs' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'walltime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'liveBroadcasts',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'liveBroadcasts',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'liveBroadcasts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'broadcastStatus' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'mine' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'transition' => array(
+ 'path' => 'liveBroadcasts/transition',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'broadcastStatus' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'liveBroadcasts',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->liveStreams = new Postman_Google_Service_YouTube_LiveStreams_Resource(
+ $this,
+ $this->serviceName,
+ 'liveStreams',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'liveStreams',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'liveStreams',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'liveStreams',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'mine' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'liveStreams',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->playlistItems = new Postman_Google_Service_YouTube_PlaylistItems_Resource(
+ $this,
+ $this->serviceName,
+ 'playlistItems',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'playlistItems',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'playlistItems',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'playlistItems',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'playlistId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'playlistItems',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->playlists = new Postman_Google_Service_YouTube_Playlists_Resource(
+ $this,
+ $this->serviceName,
+ 'playlists',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'playlists',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'playlists',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'playlists',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'channelId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'mine' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'playlists',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->search = new Postman_Google_Service_YouTube_Search_Resource(
+ $this,
+ $this->serviceName,
+ 'search',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'search',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'eventType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'channelId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoSyndicated' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'channelType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoCaption' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'publishedAfter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'forContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'regionCode' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'location' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'locationRadius' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'type' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'topicId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'publishedBefore' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoDimension' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoLicense' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'relatedToVideoId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoDefinition' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoDuration' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'forMine' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'safeSearch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoEmbeddable' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoCategoryId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'order' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->subscriptions = new Postman_Google_Service_YouTube_Subscriptions_Resource(
+ $this,
+ $this->serviceName,
+ 'subscriptions',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'subscriptions',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'subscriptions',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'subscriptions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'channelId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'mine' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'forChannelId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'mySubscribers' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'order' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->thumbnails = new Postman_Google_Service_YouTube_Thumbnails_Resource(
+ $this,
+ $this->serviceName,
+ 'thumbnails',
+ array(
+ 'methods' => array(
+ 'set' => array(
+ 'path' => 'thumbnails/set',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'videoId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->videoCategories = new Postman_Google_Service_YouTube_VideoCategories_Resource(
+ $this,
+ $this->serviceName,
+ 'videoCategories',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'videoCategories',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'regionCode' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'hl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->videos = new Postman_Google_Service_YouTube_Videos_Resource(
+ $this,
+ $this->serviceName,
+ 'videos',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'videos',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'getRating' => array(
+ 'path' => 'videos/getRating',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'videos',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'stabilize' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'onBehalfOfContentOwnerChannel' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'notifySubscribers' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'autoLevels' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'videos',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'regionCode' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'locale' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'videoCategoryId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'chart' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'myRating' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'rate' => array(
+ 'path' => 'videos/rate',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'rating' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'videos',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'part' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->watermarks = new Postman_Google_Service_YouTube_Watermarks_Resource(
+ $this,
+ $this->serviceName,
+ 'watermarks',
+ array(
+ 'methods' => array(
+ 'set' => array(
+ 'path' => 'watermarks/set',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'channelId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'unset' => array(
+ 'path' => 'watermarks/unset',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'channelId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "activities" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Postman_Google_Service_YouTube(...);
+ * $activities = $youtubeService->activities;
+ * </code>
+ */
+class Postman_Google_Service_YouTube_Activities_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Posts a bulletin for a specific channel. (The user submitting the request
+ * must be authorized to act on the channel's behalf.)
+ *
+ * Note: Even though an activity resource can contain information about actions
+ * like a user rating a video or marking a video as a favorite, you need to use
+ * other API methods to generate those activity resources. For example, you
+ * would use the API's videos.rate() method to rate a video and the
+ * playlistItems.insert() method to mark a video as a favorite.
+ * (activities.insert)
+ *
+ * @param string $part The part parameter serves two purposes in this operation.
+ * It identifies the properties that the write operation will set as well as the
+ * properties that the API response will include.
+ *
+ * The part names that you can include in the parameter value are snippet and
+ * contentDetails.
+ * @param Postman_Google_Activity $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_YouTube_Activity
+ */
+ public function insert($part, Postman_Google_Service_YouTube_Activity $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_YouTube_Activity");
+ }
+
+ /**
+ * Returns a list of channel activity events that match the request criteria.
+ * For example, you can retrieve events associated with a particular channel,
+ * events associated with the user's subscriptions and Google+ friends, or the
+ * YouTube home page feed, which is customized for each user.
+ * (activities.listActivities)
+ *
+ * @param string $part The part parameter specifies a comma-separated list of
+ * one or more activity resource properties that the API response will include.
+ * The part names that you can include in the parameter value are id, snippet,
+ * and contentDetails.
+ *
+ * If the parameter identifies a property that contains child properties, the
+ * child properties will be included in the response. For example, in a activity
+ * resource, the snippet property contains other properties that identify the
+ * type of activity, a display title for the activity, and so forth. If you set
+ * part=snippet, the API response will also contain all of those nested
+ * properties.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string regionCode The regionCode parameter instructs the API to
+ * return results for the specified country. The parameter value is an ISO
+ * 3166-1 alpha-2 country code. YouTube uses this value when the authorized
+ * user's previous activity on YouTube does not provide enough information to
+ * generate the activity feed.
+ * @opt_param string publishedBefore The publishedBefore parameter specifies the
+ * date and time before which an activity must have occurred for that activity
+ * to be included in the API response. If the parameter value specifies a day,
+ * but not a time, then any activities that occurred that day will be excluded
+ * from the result set. The value is specified in ISO 8601 (YYYY-MM-
+ * DDThh:mm:ss.sZ) format.
+ * @opt_param string channelId The channelId parameter specifies a unique
+ * YouTube channel ID. The API will then return a list of that channel's
+ * activities.
+ * @opt_param bool mine Set this parameter's value to true to retrieve a feed of
+ * the authenticated user's activities.
+ * @opt_param string maxResults The maxResults parameter specifies the maximum
+ * number of items that should be returned in the result set.
+ * @opt_param string pageToken The pageToken parameter identifies a specific
+ * page in the result set that should be returned. In an API response, the
+ * nextPageToken and prevPageToken properties identify other pages that could be
+ * retrieved.
+ * @opt_param bool home Set this parameter's value to true to retrieve the
+ * activity feed that displays on the YouTube home page for the currently
+ * authenticated user.
+ * @opt_param string publishedAfter The publishedAfter parameter specifies the
+ * earliest date and time that an activity could have occurred for that activity
+ * to be included in the API response. If the parameter value specifies a day,
+ * but not a time, then any activities that occurred that day will be included
+ * in the result set. The value is specified in ISO 8601 (YYYY-MM-
+ * DDThh:mm:ss.sZ) format.
+ * @return Postman_Google_Service_YouTube_ActivityListResponse
+ */
+ public function listActivities($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_YouTube_ActivityListResponse");
+ }
+}
+
+/**
+ * The "channelBanners" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Postman_Google_Service_YouTube(...);
+ * $channelBanners = $youtubeService->channelBanners;
+ * </code>
+ */
+class Postman_Google_Service_YouTube_ChannelBanners_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Uploads a channel banner image to YouTube. This method represents the first
+ * two steps in a three-step process to update the banner image for a channel:
+ *
+ * - Call the channelBanners.insert method to upload the binary image data to
+ * YouTube. The image must have a 16:9 aspect ratio and be at least 2120x1192
+ * pixels. - Extract the url property's value from the response that the API
+ * returns for step 1. - Call the channels.update method to update the channel's
+ * branding settings. Set the brandingSettings.image.bannerExternalUrl
+ * property's value to the URL obtained in step 2. (channelBanners.insert)
+ *
+ * @param Postman_Google_ChannelBannerResource $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @return Postman_Google_Service_YouTube_ChannelBannerResource
+ */
+ public function insert(Postman_Google_Service_YouTube_ChannelBannerResource $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_YouTube_ChannelBannerResource");
+ }
+}
+
+/**
+ * The "channelSections" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Postman_Google_Service_YouTube(...);
+ * $channelSections = $youtubeService->channelSections;
+ * </code>
+ */
+class Postman_Google_Service_YouTube_ChannelSections_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes a channelSection. (channelSections.delete)
+ *
+ * @param string $id The id parameter specifies the YouTube channelSection ID
+ * for the resource that is being deleted. In a channelSection resource, the id
+ * property specifies the YouTube channelSection ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Adds a channelSection for the authenticated user's channel.
+ * (channelSections.insert)
+ *
+ * @param string $part The part parameter serves two purposes in this operation.
+ * It identifies the properties that the write operation will set as well as the
+ * properties that the API response will include.
+ *
+ * The part names that you can include in the parameter value are snippet and
+ * contentDetails.
+ * @param Postman_Google_ChannelSection $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
+ * used in a properly authorized request. Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
+ * of the channel to which a video is being added. This parameter is required
+ * when a request specifies a value for the onBehalfOfContentOwner parameter,
+ * and it can only be used in conjunction with that parameter. In addition, the
+ * request must be authorized using a CMS account that is linked to the content
+ * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
+ * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
+ * be linked to the content owner that the onBehalfOfContentOwner parameter
+ * specifies.
+ *
+ * This parameter is intended for YouTube content partners that own and manage
+ * many different YouTube channels. It allows content owners to authenticate
+ * once and perform actions on behalf of the channel specified in the parameter
+ * value, without having to provide authentication credentials for each separate
+ * channel.
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @return Postman_Google_Service_YouTube_ChannelSection
+ */
+ public function insert($part, Postman_Google_Service_YouTube_ChannelSection $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_YouTube_ChannelSection");
+ }
+
+ /**
+ * Returns channelSection resources that match the API request criteria.
+ * (channelSections.listChannelSections)
+ *
+ * @param string $part The part parameter specifies a comma-separated list of
+ * one or more channelSection resource properties that the API response will
+ * include. The part names that you can include in the parameter value are id,
+ * snippet, and contentDetails.
+ *
+ * If the parameter identifies a property that contains child properties, the
+ * child properties will be included in the response. For example, in a
+ * channelSection resource, the snippet property contains other properties, such
+ * as a display title for the channelSection. If you set part=snippet, the API
+ * response will also contain all of those nested properties.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @opt_param string channelId The channelId parameter specifies a YouTube
+ * channel ID. The API will only return that channel's channelSections.
+ * @opt_param string id The id parameter specifies a comma-separated list of the
+ * YouTube channelSection ID(s) for the resource(s) that are being retrieved. In
+ * a channelSection resource, the id property specifies the YouTube
+ * channelSection ID.
+ * @opt_param bool mine Set this parameter's value to true to retrieve a feed of
+ * the authenticated user's channelSections.
+ * @return Postman_Google_Service_YouTube_ChannelSectionListResponse
+ */
+ public function listChannelSections($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_YouTube_ChannelSectionListResponse");
+ }
+
+ /**
+ * Update a channelSection. (channelSections.update)
+ *
+ * @param string $part The part parameter serves two purposes in this operation.
+ * It identifies the properties that the write operation will set as well as the
+ * properties that the API response will include.
+ *
+ * The part names that you can include in the parameter value are snippet and
+ * contentDetails.
+ * @param Postman_Google_ChannelSection $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @return Postman_Google_Service_YouTube_ChannelSection
+ */
+ public function update($part, Postman_Google_Service_YouTube_ChannelSection $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_YouTube_ChannelSection");
+ }
+}
+
+/**
+ * The "channels" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Postman_Google_Service_YouTube(...);
+ * $channels = $youtubeService->channels;
+ * </code>
+ */
+class Postman_Google_Service_YouTube_Channels_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns a collection of zero or more channel resources that match the request
+ * criteria. (channels.listChannels)
+ *
+ * @param string $part The part parameter specifies a comma-separated list of
+ * one or more channel resource properties that the API response will include.
+ * The part names that you can include in the parameter value are id, snippet,
+ * contentDetails, statistics, topicDetails, and invideoPromotion.
+ *
+ * If the parameter identifies a property that contains child properties, the
+ * child properties will be included in the response. For example, in a channel
+ * resource, the contentDetails property contains other properties, such as the
+ * uploads properties. As such, if you set part=contentDetails, the API response
+ * will also contain all of those nested properties.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool managedByMe Set this parameter's value to true to instruct
+ * the API to only return channels managed by the content owner that the
+ * onBehalfOfContentOwner parameter specifies. The user must be authenticated as
+ * a CMS account linked to the specified content owner and
+ * onBehalfOfContentOwner must be provided.
+ * @opt_param string onBehalfOfContentOwner The onBehalfOfContentOwner parameter
+ * indicates that the authenticated user is acting on behalf of the content
+ * owner specified in the parameter value. This parameter is intended for
+ * YouTube content partners that own and manage many different YouTube channels.
+ * It allows content owners to authenticate once and get access to all their
+ * video and channel data, without having to provide authentication credentials
+ * for each individual channel. The actual CMS account that the user
+ * authenticates with needs to be linked to the specified YouTube content owner.
+ * @opt_param string forUsername The forUsername parameter specifies a YouTube
+ * username, thereby requesting the channel associated with that username.
+ * @opt_param bool mine Set this parameter's value to true to instruct the API
+ * to only return channels owned by the authenticated user.
+ * @opt_param string maxResults The maxResults parameter specifies the maximum
+ * number of items that should be returned in the result set.
+ * @opt_param string id The id parameter specifies a comma-separated list of the
+ * YouTube channel ID(s) for the resource(s) that are being retrieved. In a
+ * channel resource, the id property specifies the channel's YouTube channel ID.
+ * @opt_param string pageToken The pageToken parameter identifies a specific
+ * page in the result set that should be returned. In an API response, the
+ * nextPageToken and prevPageToken properties identify other pages that could be
+ * retrieved.
+ * @opt_param bool mySubscribers Set this parameter's value to true to retrieve
+ * a list of channels that subscribed to the authenticated user's channel.
+ * @opt_param string categoryId The categoryId parameter specifies a YouTube
+ * guide category, thereby requesting YouTube channels associated with that
+ * category.
+ * @return Postman_Google_Service_YouTube_ChannelListResponse
+ */
+ public function listChannels($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_YouTube_ChannelListResponse");
+ }
+
+ /**
+ * Updates a channel's metadata. (channels.update)
+ *
+ * @param string $part The part parameter serves two purposes in this operation.
+ * It identifies the properties that the write operation will set as well as the
+ * properties that the API response will include.
+ *
+ * The part names that you can include in the parameter value are id and
+ * invideoPromotion.
+ *
+ * Note that this method will override the existing values for all of the
+ * mutable properties that are contained in any parts that the parameter value
+ * specifies.
+ * @param Postman_Google_Channel $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner The onBehalfOfContentOwner parameter
+ * indicates that the authenticated user is acting on behalf of the content
+ * owner specified in the parameter value. This parameter is intended for
+ * YouTube content partners that own and manage many different YouTube channels.
+ * It allows content owners to authenticate once and get access to all their
+ * video and channel data, without having to provide authentication credentials
+ * for each individual channel. The actual CMS account that the user
+ * authenticates with needs to be linked to the specified YouTube content owner.
+ * @return Postman_Google_Service_YouTube_Channel
+ */
+ public function update($part, Postman_Google_Service_YouTube_Channel $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_YouTube_Channel");
+ }
+}
+
+/**
+ * The "guideCategories" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Postman_Google_Service_YouTube(...);
+ * $guideCategories = $youtubeService->guideCategories;
+ * </code>
+ */
+class Postman_Google_Service_YouTube_GuideCategories_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns a list of categories that can be associated with YouTube channels.
+ * (guideCategories.listGuideCategories)
+ *
+ * @param string $part The part parameter specifies a comma-separated list of
+ * one or more guideCategory resource properties that the API response will
+ * include. The part names that you can include in the parameter value are id
+ * and snippet.
+ *
+ * If the parameter identifies a property that contains child properties, the
+ * child properties will be included in the response. For example, in a
+ * guideCategory resource, the snippet property contains other properties, such
+ * as the category's title. If you set part=snippet, the API response will also
+ * contain all of those nested properties.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string regionCode The regionCode parameter instructs the API to
+ * return the list of guide categories available in the specified country. The
+ * parameter value is an ISO 3166-1 alpha-2 country code.
+ * @opt_param string id The id parameter specifies a comma-separated list of the
+ * YouTube channel category ID(s) for the resource(s) that are being retrieved.
+ * In a guideCategory resource, the id property specifies the YouTube channel
+ * category ID.
+ * @opt_param string hl The hl parameter specifies the language that will be
+ * used for text values in the API response.
+ * @return Postman_Google_Service_YouTube_GuideCategoryListResponse
+ */
+ public function listGuideCategories($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_YouTube_GuideCategoryListResponse");
+ }
+}
+
+/**
+ * The "i18nLanguages" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Postman_Google_Service_YouTube(...);
+ * $i18nLanguages = $youtubeService->i18nLanguages;
+ * </code>
+ */
+class Postman_Google_Service_YouTube_I18nLanguages_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns a list of supported languages. (i18nLanguages.listI18nLanguages)
+ *
+ * @param string $part The part parameter specifies a comma-separated list of
+ * one or more i18nLanguage resource properties that the API response will
+ * include. The part names that you can include in the parameter value are id
+ * and snippet.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string hl The hl parameter specifies the language that should be
+ * used for text values in the API response.
+ * @return Postman_Google_Service_YouTube_I18nLanguageListResponse
+ */
+ public function listI18nLanguages($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_YouTube_I18nLanguageListResponse");
+ }
+}
+
+/**
+ * The "i18nRegions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Postman_Google_Service_YouTube(...);
+ * $i18nRegions = $youtubeService->i18nRegions;
+ * </code>
+ */
+class Postman_Google_Service_YouTube_I18nRegions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns a list of supported regions. (i18nRegions.listI18nRegions)
+ *
+ * @param string $part The part parameter specifies a comma-separated list of
+ * one or more i18nRegion resource properties that the API response will
+ * include. The part names that you can include in the parameter value are id
+ * and snippet.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string hl The hl parameter specifies the language that should be
+ * used for text values in the API response.
+ * @return Postman_Google_Service_YouTube_I18nRegionListResponse
+ */
+ public function listI18nRegions($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_YouTube_I18nRegionListResponse");
+ }
+}
+
+/**
+ * The "liveBroadcasts" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Postman_Google_Service_YouTube(...);
+ * $liveBroadcasts = $youtubeService->liveBroadcasts;
+ * </code>
+ */
+class Postman_Google_Service_YouTube_LiveBroadcasts_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Binds a YouTube broadcast to a stream or removes an existing binding between
+ * a broadcast and a stream. A broadcast can only be bound to one video stream.
+ * (liveBroadcasts.bind)
+ *
+ * @param string $id The id parameter specifies the unique ID of the broadcast
+ * that is being bound to a video stream.
+ * @param string $part The part parameter specifies a comma-separated list of
+ * one or more liveBroadcast resource properties that the API response will
+ * include. The part names that you can include in the parameter value are id,
+ * snippet, contentDetails, and status.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
+ * used in a properly authorized request. Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
+ * of the channel to which a video is being added. This parameter is required
+ * when a request specifies a value for the onBehalfOfContentOwner parameter,
+ * and it can only be used in conjunction with that parameter. In addition, the
+ * request must be authorized using a CMS account that is linked to the content
+ * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
+ * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
+ * be linked to the content owner that the onBehalfOfContentOwner parameter
+ * specifies.
+ *
+ * This parameter is intended for YouTube content partners that own and manage
+ * many different YouTube channels. It allows content owners to authenticate
+ * once and perform actions on behalf of the channel specified in the parameter
+ * value, without having to provide authentication credentials for each separate
+ * channel.
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @opt_param string streamId The streamId parameter specifies the unique ID of
+ * the video stream that is being bound to a broadcast. If this parameter is
+ * omitted, the API will remove any existing binding between the broadcast and a
+ * video stream.
+ * @return Postman_Google_Service_YouTube_LiveBroadcast
+ */
+ public function bind($id, $part, $optParams = array())
+ {
+ $params = array('id' => $id, 'part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('bind', array($params), "Postman_Google_Service_YouTube_LiveBroadcast");
+ }
+
+ /**
+ * Controls the settings for a slate that can be displayed in the broadcast
+ * stream. (liveBroadcasts.control)
+ *
+ * @param string $id The id parameter specifies the YouTube live broadcast ID
+ * that uniquely identifies the broadcast in which the slate is being updated.
+ * @param string $part The part parameter specifies a comma-separated list of
+ * one or more liveBroadcast resource properties that the API response will
+ * include. The part names that you can include in the parameter value are id,
+ * snippet, contentDetails, and status.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @opt_param bool displaySlate The displaySlate parameter specifies whether the
+ * slate is being enabled or disabled.
+ * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
+ * used in a properly authorized request. Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
+ * of the channel to which a video is being added. This parameter is required
+ * when a request specifies a value for the onBehalfOfContentOwner parameter,
+ * and it can only be used in conjunction with that parameter. In addition, the
+ * request must be authorized using a CMS account that is linked to the content
+ * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
+ * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
+ * be linked to the content owner that the onBehalfOfContentOwner parameter
+ * specifies.
+ *
+ * This parameter is intended for YouTube content partners that own and manage
+ * many different YouTube channels. It allows content owners to authenticate
+ * once and perform actions on behalf of the channel specified in the parameter
+ * value, without having to provide authentication credentials for each separate
+ * channel.
+ * @opt_param string offsetTimeMs The offsetTimeMs parameter specifies a
+ * positive time offset when the specified slate change will occur. The value is
+ * measured in milliseconds from the beginning of the broadcast's monitor
+ * stream, which is the time that the testing phase for the broadcast began.
+ * Even though it is specified in milliseconds, the value is actually an
+ * approximation, and YouTube completes the requested action as closely as
+ * possible to that time.
+ *
+ * If you do not specify a value for this parameter, then YouTube performs the
+ * action as soon as possible. See the Getting started guide for more details.
+ *
+ * Important: You should only specify a value for this parameter if your
+ * broadcast stream is delayed.
+ * @opt_param string walltime The walltime parameter specifies the wall clock
+ * time at which the specified slate change will occur. The value is specified
+ * in ISO 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format.
+ * @return Postman_Google_Service_YouTube_LiveBroadcast
+ */
+ public function control($id, $part, $optParams = array())
+ {
+ $params = array('id' => $id, 'part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('control', array($params), "Postman_Google_Service_YouTube_LiveBroadcast");
+ }
+
+ /**
+ * Deletes a broadcast. (liveBroadcasts.delete)
+ *
+ * @param string $id The id parameter specifies the YouTube live broadcast ID
+ * for the resource that is being deleted.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
+ * used in a properly authorized request. Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
+ * of the channel to which a video is being added. This parameter is required
+ * when a request specifies a value for the onBehalfOfContentOwner parameter,
+ * and it can only be used in conjunction with that parameter. In addition, the
+ * request must be authorized using a CMS account that is linked to the content
+ * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
+ * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
+ * be linked to the content owner that the onBehalfOfContentOwner parameter
+ * specifies.
+ *
+ * This parameter is intended for YouTube content partners that own and manage
+ * many different YouTube channels. It allows content owners to authenticate
+ * once and perform actions on behalf of the channel specified in the parameter
+ * value, without having to provide authentication credentials for each separate
+ * channel.
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Creates a broadcast. (liveBroadcasts.insert)
+ *
+ * @param string $part The part parameter serves two purposes in this operation.
+ * It identifies the properties that the write operation will set as well as the
+ * properties that the API response will include.
+ *
+ * The part properties that you can include in the parameter value are id,
+ * snippet, contentDetails, and status.
+ * @param Postman_Google_LiveBroadcast $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
+ * used in a properly authorized request. Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
+ * of the channel to which a video is being added. This parameter is required
+ * when a request specifies a value for the onBehalfOfContentOwner parameter,
+ * and it can only be used in conjunction with that parameter. In addition, the
+ * request must be authorized using a CMS account that is linked to the content
+ * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
+ * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
+ * be linked to the content owner that the onBehalfOfContentOwner parameter
+ * specifies.
+ *
+ * This parameter is intended for YouTube content partners that own and manage
+ * many different YouTube channels. It allows content owners to authenticate
+ * once and perform actions on behalf of the channel specified in the parameter
+ * value, without having to provide authentication credentials for each separate
+ * channel.
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @return Postman_Google_Service_YouTube_LiveBroadcast
+ */
+ public function insert($part, Postman_Google_Service_YouTube_LiveBroadcast $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_YouTube_LiveBroadcast");
+ }
+
+ /**
+ * Returns a list of YouTube broadcasts that match the API request parameters.
+ * (liveBroadcasts.listLiveBroadcasts)
+ *
+ * @param string $part The part parameter specifies a comma-separated list of
+ * one or more liveBroadcast resource properties that the API response will
+ * include. The part names that you can include in the parameter value are id,
+ * snippet, contentDetails, and status.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string broadcastStatus The broadcastStatus parameter filters the
+ * API response to only include broadcasts with the specified status.
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
+ * used in a properly authorized request. Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
+ * of the channel to which a video is being added. This parameter is required
+ * when a request specifies a value for the onBehalfOfContentOwner parameter,
+ * and it can only be used in conjunction with that parameter. In addition, the
+ * request must be authorized using a CMS account that is linked to the content
+ * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
+ * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
+ * be linked to the content owner that the onBehalfOfContentOwner parameter
+ * specifies.
+ *
+ * This parameter is intended for YouTube content partners that own and manage
+ * many different YouTube channels. It allows content owners to authenticate
+ * once and perform actions on behalf of the channel specified in the parameter
+ * value, without having to provide authentication credentials for each separate
+ * channel.
+ * @opt_param bool mine The mine parameter can be used to instruct the API to
+ * only return broadcasts owned by the authenticated user. Set the parameter
+ * value to true to only retrieve your own broadcasts.
+ * @opt_param string maxResults The maxResults parameter specifies the maximum
+ * number of items that should be returned in the result set.
+ * @opt_param string pageToken The pageToken parameter identifies a specific
+ * page in the result set that should be returned. In an API response, the
+ * nextPageToken and prevPageToken properties identify other pages that could be
+ * retrieved.
+ * @opt_param string id The id parameter specifies a comma-separated list of
+ * YouTube broadcast IDs that identify the broadcasts being retrieved. In a
+ * liveBroadcast resource, the id property specifies the broadcast's ID.
+ * @return Postman_Google_Service_YouTube_LiveBroadcastListResponse
+ */
+ public function listLiveBroadcasts($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_YouTube_LiveBroadcastListResponse");
+ }
+
+ /**
+ * Changes the status of a YouTube live broadcast and initiates any processes
+ * associated with the new status. For example, when you transition a
+ * broadcast's status to testing, YouTube starts to transmit video to that
+ * broadcast's monitor stream. Before calling this method, you should confirm
+ * that the value of the status.streamStatus property for the stream bound to
+ * your broadcast is active. (liveBroadcasts.transition)
+ *
+ * @param string $broadcastStatus The broadcastStatus parameter identifies the
+ * state to which the broadcast is changing. Note that to transition a broadcast
+ * to either the testing or live state, the status.streamStatus must be active
+ * for the stream that the broadcast is bound to.
+ * @param string $id The id parameter specifies the unique ID of the broadcast
+ * that is transitioning to another status.
+ * @param string $part The part parameter specifies a comma-separated list of
+ * one or more liveBroadcast resource properties that the API response will
+ * include. The part names that you can include in the parameter value are id,
+ * snippet, contentDetails, and status.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
+ * used in a properly authorized request. Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
+ * of the channel to which a video is being added. This parameter is required
+ * when a request specifies a value for the onBehalfOfContentOwner parameter,
+ * and it can only be used in conjunction with that parameter. In addition, the
+ * request must be authorized using a CMS account that is linked to the content
+ * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
+ * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
+ * be linked to the content owner that the onBehalfOfContentOwner parameter
+ * specifies.
+ *
+ * This parameter is intended for YouTube content partners that own and manage
+ * many different YouTube channels. It allows content owners to authenticate
+ * once and perform actions on behalf of the channel specified in the parameter
+ * value, without having to provide authentication credentials for each separate
+ * channel.
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @return Postman_Google_Service_YouTube_LiveBroadcast
+ */
+ public function transition($broadcastStatus, $id, $part, $optParams = array())
+ {
+ $params = array('broadcastStatus' => $broadcastStatus, 'id' => $id, 'part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('transition', array($params), "Postman_Google_Service_YouTube_LiveBroadcast");
+ }
+
+ /**
+ * Updates a broadcast. For example, you could modify the broadcast settings
+ * defined in the liveBroadcast resource's contentDetails object.
+ * (liveBroadcasts.update)
+ *
+ * @param string $part The part parameter serves two purposes in this operation.
+ * It identifies the properties that the write operation will set as well as the
+ * properties that the API response will include.
+ *
+ * The part properties that you can include in the parameter value are id,
+ * snippet, contentDetails, and status.
+ *
+ * Note that this method will override the existing values for all of the
+ * mutable properties that are contained in any parts that the parameter value
+ * specifies. For example, a broadcast's privacy status is defined in the status
+ * part. As such, if your request is updating a private or unlisted broadcast,
+ * and the request's part parameter value includes the status part, the
+ * broadcast's privacy setting will be updated to whatever value the request
+ * body specifies. If the request body does not specify a value, the existing
+ * privacy setting will be removed and the broadcast will revert to the default
+ * privacy setting.
+ * @param Postman_Google_LiveBroadcast $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
+ * used in a properly authorized request. Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
+ * of the channel to which a video is being added. This parameter is required
+ * when a request specifies a value for the onBehalfOfContentOwner parameter,
+ * and it can only be used in conjunction with that parameter. In addition, the
+ * request must be authorized using a CMS account that is linked to the content
+ * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
+ * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
+ * be linked to the content owner that the onBehalfOfContentOwner parameter
+ * specifies.
+ *
+ * This parameter is intended for YouTube content partners that own and manage
+ * many different YouTube channels. It allows content owners to authenticate
+ * once and perform actions on behalf of the channel specified in the parameter
+ * value, without having to provide authentication credentials for each separate
+ * channel.
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @return Postman_Google_Service_YouTube_LiveBroadcast
+ */
+ public function update($part, Postman_Google_Service_YouTube_LiveBroadcast $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_YouTube_LiveBroadcast");
+ }
+}
+
+/**
+ * The "liveStreams" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Postman_Google_Service_YouTube(...);
+ * $liveStreams = $youtubeService->liveStreams;
+ * </code>
+ */
+class Postman_Google_Service_YouTube_LiveStreams_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes a video stream. (liveStreams.delete)
+ *
+ * @param string $id The id parameter specifies the YouTube live stream ID for
+ * the resource that is being deleted.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
+ * used in a properly authorized request. Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
+ * of the channel to which a video is being added. This parameter is required
+ * when a request specifies a value for the onBehalfOfContentOwner parameter,
+ * and it can only be used in conjunction with that parameter. In addition, the
+ * request must be authorized using a CMS account that is linked to the content
+ * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
+ * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
+ * be linked to the content owner that the onBehalfOfContentOwner parameter
+ * specifies.
+ *
+ * This parameter is intended for YouTube content partners that own and manage
+ * many different YouTube channels. It allows content owners to authenticate
+ * once and perform actions on behalf of the channel specified in the parameter
+ * value, without having to provide authentication credentials for each separate
+ * channel.
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Creates a video stream. The stream enables you to send your video to YouTube,
+ * which can then broadcast the video to your audience. (liveStreams.insert)
+ *
+ * @param string $part The part parameter serves two purposes in this operation.
+ * It identifies the properties that the write operation will set as well as the
+ * properties that the API response will include.
+ *
+ * The part properties that you can include in the parameter value are id,
+ * snippet, cdn, and status.
+ * @param Postman_Google_LiveStream $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
+ * used in a properly authorized request. Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
+ * of the channel to which a video is being added. This parameter is required
+ * when a request specifies a value for the onBehalfOfContentOwner parameter,
+ * and it can only be used in conjunction with that parameter. In addition, the
+ * request must be authorized using a CMS account that is linked to the content
+ * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
+ * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
+ * be linked to the content owner that the onBehalfOfContentOwner parameter
+ * specifies.
+ *
+ * This parameter is intended for YouTube content partners that own and manage
+ * many different YouTube channels. It allows content owners to authenticate
+ * once and perform actions on behalf of the channel specified in the parameter
+ * value, without having to provide authentication credentials for each separate
+ * channel.
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @return Postman_Google_Service_YouTube_LiveStream
+ */
+ public function insert($part, Postman_Google_Service_YouTube_LiveStream $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_YouTube_LiveStream");
+ }
+
+ /**
+ * Returns a list of video streams that match the API request parameters.
+ * (liveStreams.listLiveStreams)
+ *
+ * @param string $part The part parameter specifies a comma-separated list of
+ * one or more liveStream resource properties that the API response will
+ * include. The part names that you can include in the parameter value are id,
+ * snippet, cdn, and status.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
+ * used in a properly authorized request. Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
+ * of the channel to which a video is being added. This parameter is required
+ * when a request specifies a value for the onBehalfOfContentOwner parameter,
+ * and it can only be used in conjunction with that parameter. In addition, the
+ * request must be authorized using a CMS account that is linked to the content
+ * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
+ * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
+ * be linked to the content owner that the onBehalfOfContentOwner parameter
+ * specifies.
+ *
+ * This parameter is intended for YouTube content partners that own and manage
+ * many different YouTube channels. It allows content owners to authenticate
+ * once and perform actions on behalf of the channel specified in the parameter
+ * value, without having to provide authentication credentials for each separate
+ * channel.
+ * @opt_param bool mine The mine parameter can be used to instruct the API to
+ * only return streams owned by the authenticated user. Set the parameter value
+ * to true to only retrieve your own streams.
+ * @opt_param string maxResults The maxResults parameter specifies the maximum
+ * number of items that should be returned in the result set. Acceptable values
+ * are 0 to 50, inclusive. The default value is 5.
+ * @opt_param string pageToken The pageToken parameter identifies a specific
+ * page in the result set that should be returned. In an API response, the
+ * nextPageToken and prevPageToken properties identify other pages that could be
+ * retrieved.
+ * @opt_param string id The id parameter specifies a comma-separated list of
+ * YouTube stream IDs that identify the streams being retrieved. In a liveStream
+ * resource, the id property specifies the stream's ID.
+ * @return Postman_Google_Service_YouTube_LiveStreamListResponse
+ */
+ public function listLiveStreams($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_YouTube_LiveStreamListResponse");
+ }
+
+ /**
+ * Updates a video stream. If the properties that you want to change cannot be
+ * updated, then you need to create a new stream with the proper settings.
+ * (liveStreams.update)
+ *
+ * @param string $part The part parameter serves two purposes in this operation.
+ * It identifies the properties that the write operation will set as well as the
+ * properties that the API response will include.
+ *
+ * The part properties that you can include in the parameter value are id,
+ * snippet, cdn, and status.
+ *
+ * Note that this method will override the existing values for all of the
+ * mutable properties that are contained in any parts that the parameter value
+ * specifies. If the request body does not specify a value for a mutable
+ * property, the existing value for that property will be removed.
+ * @param Postman_Google_LiveStream $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
+ * used in a properly authorized request. Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
+ * of the channel to which a video is being added. This parameter is required
+ * when a request specifies a value for the onBehalfOfContentOwner parameter,
+ * and it can only be used in conjunction with that parameter. In addition, the
+ * request must be authorized using a CMS account that is linked to the content
+ * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
+ * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
+ * be linked to the content owner that the onBehalfOfContentOwner parameter
+ * specifies.
+ *
+ * This parameter is intended for YouTube content partners that own and manage
+ * many different YouTube channels. It allows content owners to authenticate
+ * once and perform actions on behalf of the channel specified in the parameter
+ * value, without having to provide authentication credentials for each separate
+ * channel.
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @return Postman_Google_Service_YouTube_LiveStream
+ */
+ public function update($part, Postman_Google_Service_YouTube_LiveStream $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_YouTube_LiveStream");
+ }
+}
+
+/**
+ * The "playlistItems" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Postman_Google_Service_YouTube(...);
+ * $playlistItems = $youtubeService->playlistItems;
+ * </code>
+ */
+class Postman_Google_Service_YouTube_PlaylistItems_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes a playlist item. (playlistItems.delete)
+ *
+ * @param string $id The id parameter specifies the YouTube playlist item ID for
+ * the playlist item that is being deleted. In a playlistItem resource, the id
+ * property specifies the playlist item's ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Adds a resource to a playlist. (playlistItems.insert)
+ *
+ * @param string $part The part parameter serves two purposes in this operation.
+ * It identifies the properties that the write operation will set as well as the
+ * properties that the API response will include.
+ *
+ * The part names that you can include in the parameter value are snippet,
+ * contentDetails, and status.
+ * @param Postman_Google_PlaylistItem $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @return Postman_Google_Service_YouTube_PlaylistItem
+ */
+ public function insert($part, Postman_Google_Service_YouTube_PlaylistItem $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_YouTube_PlaylistItem");
+ }
+
+ /**
+ * Returns a collection of playlist items that match the API request parameters.
+ * You can retrieve all of the playlist items in a specified playlist or
+ * retrieve one or more playlist items by their unique IDs.
+ * (playlistItems.listPlaylistItems)
+ *
+ * @param string $part The part parameter specifies a comma-separated list of
+ * one or more playlistItem resource properties that the API response will
+ * include. The part names that you can include in the parameter value are id,
+ * snippet, contentDetails, and status.
+ *
+ * If the parameter identifies a property that contains child properties, the
+ * child properties will be included in the response. For example, in a
+ * playlistItem resource, the snippet property contains numerous fields,
+ * including the title, description, position, and resourceId properties. As
+ * such, if you set part=snippet, the API response will contain all of those
+ * properties.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @opt_param string playlistId The playlistId parameter specifies the unique ID
+ * of the playlist for which you want to retrieve playlist items. Note that even
+ * though this is an optional parameter, every request to retrieve playlist
+ * items must specify a value for either the id parameter or the playlistId
+ * parameter.
+ * @opt_param string videoId The videoId parameter specifies that the request
+ * should return only the playlist items that contain the specified video.
+ * @opt_param string maxResults The maxResults parameter specifies the maximum
+ * number of items that should be returned in the result set.
+ * @opt_param string pageToken The pageToken parameter identifies a specific
+ * page in the result set that should be returned. In an API response, the
+ * nextPageToken and prevPageToken properties identify other pages that could be
+ * retrieved.
+ * @opt_param string id The id parameter specifies a comma-separated list of one
+ * or more unique playlist item IDs.
+ * @return Postman_Google_Service_YouTube_PlaylistItemListResponse
+ */
+ public function listPlaylistItems($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_YouTube_PlaylistItemListResponse");
+ }
+
+ /**
+ * Modifies a playlist item. For example, you could update the item's position
+ * in the playlist. (playlistItems.update)
+ *
+ * @param string $part The part parameter serves two purposes in this operation.
+ * It identifies the properties that the write operation will set as well as the
+ * properties that the API response will include.
+ *
+ * The part names that you can include in the parameter value are snippet,
+ * contentDetails, and status.
+ *
+ * Note that this method will override the existing values for all of the
+ * mutable properties that are contained in any parts that the parameter value
+ * specifies. For example, a playlist item can specify a start time and end
+ * time, which identify the times portion of the video that should play when
+ * users watch the video in the playlist. If your request is updating a playlist
+ * item that sets these values, and the request's part parameter value includes
+ * the contentDetails part, the playlist item's start and end times will be
+ * updated to whatever value the request body specifies. If the request body
+ * does not specify values, the existing start and end times will be removed and
+ * replaced with the default settings.
+ * @param Postman_Google_PlaylistItem $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_YouTube_PlaylistItem
+ */
+ public function update($part, Postman_Google_Service_YouTube_PlaylistItem $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_YouTube_PlaylistItem");
+ }
+}
+
+/**
+ * The "playlists" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Postman_Google_Service_YouTube(...);
+ * $playlists = $youtubeService->playlists;
+ * </code>
+ */
+class Postman_Google_Service_YouTube_Playlists_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes a playlist. (playlists.delete)
+ *
+ * @param string $id The id parameter specifies the YouTube playlist ID for the
+ * playlist that is being deleted. In a playlist resource, the id property
+ * specifies the playlist's ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Creates a playlist. (playlists.insert)
+ *
+ * @param string $part The part parameter serves two purposes in this operation.
+ * It identifies the properties that the write operation will set as well as the
+ * properties that the API response will include.
+ *
+ * The part names that you can include in the parameter value are snippet and
+ * status.
+ * @param Postman_Google_Playlist $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
+ * used in a properly authorized request. Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
+ * of the channel to which a video is being added. This parameter is required
+ * when a request specifies a value for the onBehalfOfContentOwner parameter,
+ * and it can only be used in conjunction with that parameter. In addition, the
+ * request must be authorized using a CMS account that is linked to the content
+ * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
+ * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
+ * be linked to the content owner that the onBehalfOfContentOwner parameter
+ * specifies.
+ *
+ * This parameter is intended for YouTube content partners that own and manage
+ * many different YouTube channels. It allows content owners to authenticate
+ * once and perform actions on behalf of the channel specified in the parameter
+ * value, without having to provide authentication credentials for each separate
+ * channel.
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @return Postman_Google_Service_YouTube_Playlist
+ */
+ public function insert($part, Postman_Google_Service_YouTube_Playlist $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_YouTube_Playlist");
+ }
+
+ /**
+ * Returns a collection of playlists that match the API request parameters. For
+ * example, you can retrieve all playlists that the authenticated user owns, or
+ * you can retrieve one or more playlists by their unique IDs.
+ * (playlists.listPlaylists)
+ *
+ * @param string $part The part parameter specifies a comma-separated list of
+ * one or more playlist resource properties that the API response will include.
+ * The part names that you can include in the parameter value are id, snippet,
+ * status, and contentDetails.
+ *
+ * If the parameter identifies a property that contains child properties, the
+ * child properties will be included in the response. For example, in a playlist
+ * resource, the snippet property contains properties like author, title,
+ * description, tags, and timeCreated. As such, if you set part=snippet, the API
+ * response will contain all of those properties.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
+ * used in a properly authorized request. Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
+ * of the channel to which a video is being added. This parameter is required
+ * when a request specifies a value for the onBehalfOfContentOwner parameter,
+ * and it can only be used in conjunction with that parameter. In addition, the
+ * request must be authorized using a CMS account that is linked to the content
+ * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
+ * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
+ * be linked to the content owner that the onBehalfOfContentOwner parameter
+ * specifies.
+ *
+ * This parameter is intended for YouTube content partners that own and manage
+ * many different YouTube channels. It allows content owners to authenticate
+ * once and perform actions on behalf of the channel specified in the parameter
+ * value, without having to provide authentication credentials for each separate
+ * channel.
+ * @opt_param string channelId This value indicates that the API should only
+ * return the specified channel's playlists.
+ * @opt_param bool mine Set this parameter's value to true to instruct the API
+ * to only return playlists owned by the authenticated user.
+ * @opt_param string maxResults The maxResults parameter specifies the maximum
+ * number of items that should be returned in the result set.
+ * @opt_param string pageToken The pageToken parameter identifies a specific
+ * page in the result set that should be returned. In an API response, the
+ * nextPageToken and prevPageToken properties identify other pages that could be
+ * retrieved.
+ * @opt_param string id The id parameter specifies a comma-separated list of the
+ * YouTube playlist ID(s) for the resource(s) that are being retrieved. In a
+ * playlist resource, the id property specifies the playlist's YouTube playlist
+ * ID.
+ * @return Postman_Google_Service_YouTube_PlaylistListResponse
+ */
+ public function listPlaylists($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_YouTube_PlaylistListResponse");
+ }
+
+ /**
+ * Modifies a playlist. For example, you could change a playlist's title,
+ * description, or privacy status. (playlists.update)
+ *
+ * @param string $part The part parameter serves two purposes in this operation.
+ * It identifies the properties that the write operation will set as well as the
+ * properties that the API response will include.
+ *
+ * The part names that you can include in the parameter value are snippet and
+ * status.
+ *
+ * Note that this method will override the existing values for all of the
+ * mutable properties that are contained in any parts that the parameter value
+ * specifies. For example, a playlist's privacy setting is contained in the
+ * status part. As such, if your request is updating a private playlist, and the
+ * request's part parameter value includes the status part, the playlist's
+ * privacy setting will be updated to whatever value the request body specifies.
+ * If the request body does not specify a value, the existing privacy setting
+ * will be removed and the playlist will revert to the default privacy setting.
+ * @param Postman_Google_Playlist $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @return Postman_Google_Service_YouTube_Playlist
+ */
+ public function update($part, Postman_Google_Service_YouTube_Playlist $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_YouTube_Playlist");
+ }
+}
+
+/**
+ * The "search" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Postman_Google_Service_YouTube(...);
+ * $search = $youtubeService->search;
+ * </code>
+ */
+class Postman_Google_Service_YouTube_Search_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns a collection of search results that match the query parameters
+ * specified in the API request. By default, a search result set identifies
+ * matching video, channel, and playlist resources, but you can also configure
+ * queries to only retrieve a specific type of resource. (search.listSearch)
+ *
+ * @param string $part The part parameter specifies a comma-separated list of
+ * one or more search resource properties that the API response will include.
+ * The part names that you can include in the parameter value are id and
+ * snippet.
+ *
+ * If the parameter identifies a property that contains child properties, the
+ * child properties will be included in the response. For example, in a search
+ * result, the snippet property contains other properties that identify the
+ * result's title, description, and so forth. If you set part=snippet, the API
+ * response will also contain all of those nested properties.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string eventType The eventType parameter restricts a search to
+ * broadcast events.
+ * @opt_param string channelId The channelId parameter indicates that the API
+ * response should only contain resources created by the channel
+ * @opt_param string videoSyndicated The videoSyndicated parameter lets you to
+ * restrict a search to only videos that can be played outside youtube.com.
+ * @opt_param string channelType The channelType parameter lets you restrict a
+ * search to a particular type of channel.
+ * @opt_param string videoCaption The videoCaption parameter indicates whether
+ * the API should filter video search results based on whether they have
+ * captions.
+ * @opt_param string publishedAfter The publishedAfter parameter indicates that
+ * the API response should only contain resources created after the specified
+ * time. The value is an RFC 3339 formatted date-time value
+ * (1970-01-01T00:00:00Z).
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @opt_param string pageToken The pageToken parameter identifies a specific
+ * page in the result set that should be returned. In an API response, the
+ * nextPageToken and prevPageToken properties identify other pages that could be
+ * retrieved.
+ * @opt_param bool forContentOwner Note: This parameter is intended exclusively
+ * for YouTube content partners.
+ *
+ * The forContentOwner parameter restricts the search to only retrieve resources
+ * owned by the content owner specified by the onBehalfOfContentOwner parameter.
+ * The user must be authenticated using a CMS account linked to the specified
+ * content owner and onBehalfOfContentOwner must be provided.
+ * @opt_param string regionCode The regionCode parameter instructs the API to
+ * return search results for the specified country. The parameter value is an
+ * ISO 3166-1 alpha-2 country code.
+ * @opt_param string location The location parameter restricts a search to
+ * videos that have a geographical location specified in their metadata. The
+ * value is a string that specifies geographic latitude/longitude coordinates
+ * e.g. (37.42307,-122.08427)
+ * @opt_param string locationRadius The locationRadius, in conjunction with the
+ * location parameter, defines a geographic area. If the geographic coordinates
+ * associated with a video fall within that area, then the video may be included
+ * in search results. This parameter value must be a floating point number
+ * followed by a measurement unit. Valid measurement units are m, km, ft, and
+ * mi. For example, valid parameter values include 1500m, 5km, 10000ft, and
+ * 0.75mi. The API does not support locationRadius parameter values larger than
+ * 1000 kilometers.
+ * @opt_param string videoType The videoType parameter lets you restrict a
+ * search to a particular type of videos.
+ * @opt_param string type The type parameter restricts a search query to only
+ * retrieve a particular type of resource. The value is a comma-separated list
+ * of resource types.
+ * @opt_param string topicId The topicId parameter indicates that the API
+ * response should only contain resources associated with the specified topic.
+ * The value identifies a Freebase topic ID.
+ * @opt_param string publishedBefore The publishedBefore parameter indicates
+ * that the API response should only contain resources created before the
+ * specified time. The value is an RFC 3339 formatted date-time value
+ * (1970-01-01T00:00:00Z).
+ * @opt_param string videoDimension The videoDimension parameter lets you
+ * restrict a search to only retrieve 2D or 3D videos.
+ * @opt_param string videoLicense The videoLicense parameter filters search
+ * results to only include videos with a particular license. YouTube lets video
+ * uploaders choose to attach either the Creative Commons license or the
+ * standard YouTube license to each of their videos.
+ * @opt_param string maxResults The maxResults parameter specifies the maximum
+ * number of items that should be returned in the result set.
+ * @opt_param string relatedToVideoId The relatedToVideoId parameter retrieves a
+ * list of videos that are related to the video that the parameter value
+ * identifies. The parameter value must be set to a YouTube video ID and, if you
+ * are using this parameter, the type parameter must be set to video.
+ * @opt_param string videoDefinition The videoDefinition parameter lets you
+ * restrict a search to only include either high definition (HD) or standard
+ * definition (SD) videos. HD videos are available for playback in at least
+ * 720p, though higher resolutions, like 1080p, might also be available.
+ * @opt_param string videoDuration The videoDuration parameter filters video
+ * search results based on their duration.
+ * @opt_param bool forMine The forMine parameter restricts the search to only
+ * retrieve videos owned by the authenticated user. If you set this parameter to
+ * true, then the type parameter's value must also be set to video.
+ * @opt_param string q The q parameter specifies the query term to search for.
+ * @opt_param string safeSearch The safeSearch parameter indicates whether the
+ * search results should include restricted content as well as standard content.
+ * @opt_param string videoEmbeddable The videoEmbeddable parameter lets you to
+ * restrict a search to only videos that can be embedded into a webpage.
+ * @opt_param string videoCategoryId The videoCategoryId parameter filters video
+ * search results based on their category.
+ * @opt_param string order The order parameter specifies the method that will be
+ * used to order resources in the API response.
+ * @return Postman_Google_Service_YouTube_SearchListResponse
+ */
+ public function listSearch($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_YouTube_SearchListResponse");
+ }
+}
+
+/**
+ * The "subscriptions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Postman_Google_Service_YouTube(...);
+ * $subscriptions = $youtubeService->subscriptions;
+ * </code>
+ */
+class Postman_Google_Service_YouTube_Subscriptions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes a subscription. (subscriptions.delete)
+ *
+ * @param string $id The id parameter specifies the YouTube subscription ID for
+ * the resource that is being deleted. In a subscription resource, the id
+ * property specifies the YouTube subscription ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Adds a subscription for the authenticated user's channel.
+ * (subscriptions.insert)
+ *
+ * @param string $part The part parameter serves two purposes in this operation.
+ * It identifies the properties that the write operation will set as well as the
+ * properties that the API response will include.
+ *
+ * The part names that you can include in the parameter value are snippet and
+ * contentDetails.
+ * @param Postman_Google_Subscription $postBody
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_YouTube_Subscription
+ */
+ public function insert($part, Postman_Google_Service_YouTube_Subscription $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_YouTube_Subscription");
+ }
+
+ /**
+ * Returns subscription resources that match the API request criteria.
+ * (subscriptions.listSubscriptions)
+ *
+ * @param string $part The part parameter specifies a comma-separated list of
+ * one or more subscription resource properties that the API response will
+ * include. The part names that you can include in the parameter value are id,
+ * snippet, and contentDetails.
+ *
+ * If the parameter identifies a property that contains child properties, the
+ * child properties will be included in the response. For example, in a
+ * subscription resource, the snippet property contains other properties, such
+ * as a display title for the subscription. If you set part=snippet, the API
+ * response will also contain all of those nested properties.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
+ * used in a properly authorized request. Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
+ * of the channel to which a video is being added. This parameter is required
+ * when a request specifies a value for the onBehalfOfContentOwner parameter,
+ * and it can only be used in conjunction with that parameter. In addition, the
+ * request must be authorized using a CMS account that is linked to the content
+ * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
+ * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
+ * be linked to the content owner that the onBehalfOfContentOwner parameter
+ * specifies.
+ *
+ * This parameter is intended for YouTube content partners that own and manage
+ * many different YouTube channels. It allows content owners to authenticate
+ * once and perform actions on behalf of the channel specified in the parameter
+ * value, without having to provide authentication credentials for each separate
+ * channel.
+ * @opt_param string channelId The channelId parameter specifies a YouTube
+ * channel ID. The API will only return that channel's subscriptions.
+ * @opt_param bool mine Set this parameter's value to true to retrieve a feed of
+ * the authenticated user's subscriptions.
+ * @opt_param string maxResults The maxResults parameter specifies the maximum
+ * number of items that should be returned in the result set.
+ * @opt_param string forChannelId The forChannelId parameter specifies a comma-
+ * separated list of channel IDs. The API response will then only contain
+ * subscriptions matching those channels.
+ * @opt_param string pageToken The pageToken parameter identifies a specific
+ * page in the result set that should be returned. In an API response, the
+ * nextPageToken and prevPageToken properties identify other pages that could be
+ * retrieved.
+ * @opt_param bool mySubscribers Set this parameter's value to true to retrieve
+ * a feed of the subscribers of the authenticated user.
+ * @opt_param string order The order parameter specifies the method that will be
+ * used to sort resources in the API response.
+ * @opt_param string id The id parameter specifies a comma-separated list of the
+ * YouTube subscription ID(s) for the resource(s) that are being retrieved. In a
+ * subscription resource, the id property specifies the YouTube subscription ID.
+ * @return Postman_Google_Service_YouTube_SubscriptionListResponse
+ */
+ public function listSubscriptions($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_YouTube_SubscriptionListResponse");
+ }
+}
+
+/**
+ * The "thumbnails" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Postman_Google_Service_YouTube(...);
+ * $thumbnails = $youtubeService->thumbnails;
+ * </code>
+ */
+class Postman_Google_Service_YouTube_Thumbnails_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Uploads a custom video thumbnail to YouTube and sets it for a video.
+ * (thumbnails.set)
+ *
+ * @param string $videoId The videoId parameter specifies a YouTube video ID for
+ * which the custom video thumbnail is being provided.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner The onBehalfOfContentOwner parameter
+ * indicates that the authenticated user is acting on behalf of the content
+ * owner specified in the parameter value. This parameter is intended for
+ * YouTube content partners that own and manage many different YouTube channels.
+ * It allows content owners to authenticate once and get access to all their
+ * video and channel data, without having to provide authentication credentials
+ * for each individual channel. The actual CMS account that the user
+ * authenticates with needs to be linked to the specified YouTube content owner.
+ * @return Postman_Google_Service_YouTube_ThumbnailSetResponse
+ */
+ public function set($videoId, $optParams = array())
+ {
+ $params = array('videoId' => $videoId);
+ $params = array_merge($params, $optParams);
+ return $this->call('set', array($params), "Postman_Google_Service_YouTube_ThumbnailSetResponse");
+ }
+}
+
+/**
+ * The "videoCategories" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Postman_Google_Service_YouTube(...);
+ * $videoCategories = $youtubeService->videoCategories;
+ * </code>
+ */
+class Postman_Google_Service_YouTube_VideoCategories_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Returns a list of categories that can be associated with YouTube videos.
+ * (videoCategories.listVideoCategories)
+ *
+ * @param string $part The part parameter specifies the videoCategory resource
+ * parts that the API response will include. Supported values are id and
+ * snippet.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string regionCode The regionCode parameter instructs the API to
+ * return the list of video categories available in the specified country. The
+ * parameter value is an ISO 3166-1 alpha-2 country code.
+ * @opt_param string id The id parameter specifies a comma-separated list of
+ * video category IDs for the resources that you are retrieving.
+ * @opt_param string hl The hl parameter specifies the language that should be
+ * used for text values in the API response.
+ * @return Postman_Google_Service_YouTube_VideoCategoryListResponse
+ */
+ public function listVideoCategories($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_YouTube_VideoCategoryListResponse");
+ }
+}
+
+/**
+ * The "videos" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Postman_Google_Service_YouTube(...);
+ * $videos = $youtubeService->videos;
+ * </code>
+ */
+class Postman_Google_Service_YouTube_Videos_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Deletes a YouTube video. (videos.delete)
+ *
+ * @param string $id The id parameter specifies the YouTube video ID for the
+ * resource that is being deleted. In a video resource, the id property
+ * specifies the video's ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The actual CMS
+ * account that the user authenticates with must be linked to the specified
+ * YouTube content owner.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves the ratings that the authorized user gave to a list of specified
+ * videos. (videos.getRating)
+ *
+ * @param string $id The id parameter specifies a comma-separated list of the
+ * YouTube video ID(s) for the resource(s) for which you are retrieving rating
+ * data. In a video resource, the id property specifies the video's ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @return Postman_Google_Service_YouTube_VideoGetRatingResponse
+ */
+ public function getRating($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('getRating', array($params), "Postman_Google_Service_YouTube_VideoGetRatingResponse");
+ }
+
+ /**
+ * Uploads a video to YouTube and optionally sets the video's metadata.
+ * (videos.insert)
+ *
+ * @param string $part The part parameter serves two purposes in this operation.
+ * It identifies the properties that the write operation will set as well as the
+ * properties that the API response will include.
+ *
+ * The part names that you can include in the parameter value are snippet,
+ * contentDetails, fileDetails, liveStreamingDetails, player, processingDetails,
+ * recordingDetails, statistics, status, suggestions, and topicDetails. However,
+ * not all of those parts contain properties that can be set when setting or
+ * updating a video's metadata. For example, the statistics object encapsulates
+ * statistics that YouTube calculates for a video and does not contain values
+ * that you can set or modify. If the parameter value specifies a part that does
+ * not contain mutable values, that part will still be included in the API
+ * response.
+ * @param Postman_Google_Video $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @opt_param bool stabilize The stabilize parameter indicates whether YouTube
+ * should adjust the video to remove shaky camera motions.
+ * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be
+ * used in a properly authorized request. Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID
+ * of the channel to which a video is being added. This parameter is required
+ * when a request specifies a value for the onBehalfOfContentOwner parameter,
+ * and it can only be used in conjunction with that parameter. In addition, the
+ * request must be authorized using a CMS account that is linked to the content
+ * owner that the onBehalfOfContentOwner parameter specifies. Finally, the
+ * channel that the onBehalfOfContentOwnerChannel parameter value specifies must
+ * be linked to the content owner that the onBehalfOfContentOwner parameter
+ * specifies.
+ *
+ * This parameter is intended for YouTube content partners that own and manage
+ * many different YouTube channels. It allows content owners to authenticate
+ * once and perform actions on behalf of the channel specified in the parameter
+ * value, without having to provide authentication credentials for each separate
+ * channel.
+ * @opt_param bool notifySubscribers The notifySubscribers parameter indicates
+ * whether YouTube should send notification to subscribers about the inserted
+ * video.
+ * @opt_param bool autoLevels The autoLevels parameter indicates whether YouTube
+ * should automatically enhance the video's lighting and color.
+ * @return Postman_Google_Service_YouTube_Video
+ */
+ public function insert($part, Postman_Google_Service_YouTube_Video $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Postman_Google_Service_YouTube_Video");
+ }
+
+ /**
+ * Returns a list of videos that match the API request parameters.
+ * (videos.listVideos)
+ *
+ * @param string $part The part parameter specifies a comma-separated list of
+ * one or more video resource properties that the API response will include. The
+ * part names that you can include in the parameter value are id, snippet,
+ * contentDetails, fileDetails, liveStreamingDetails, player, processingDetails,
+ * recordingDetails, statistics, status, suggestions, and topicDetails.
+ *
+ * If the parameter identifies a property that contains child properties, the
+ * child properties will be included in the response. For example, in a video
+ * resource, the snippet property contains the channelId, title, description,
+ * tags, and categoryId properties. As such, if you set part=snippet, the API
+ * response will contain all of those properties.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @opt_param string regionCode The regionCode parameter instructs the API to
+ * select a video chart available in the specified region. This parameter can
+ * only be used in conjunction with the chart parameter. The parameter value is
+ * an ISO 3166-1 alpha-2 country code.
+ * @opt_param string locale DEPRECATED
+ * @opt_param string videoCategoryId The videoCategoryId parameter identifies
+ * the video category for which the chart should be retrieved. This parameter
+ * can only be used in conjunction with the chart parameter. By default, charts
+ * are not restricted to a particular category.
+ * @opt_param string chart The chart parameter identifies the chart that you
+ * want to retrieve.
+ * @opt_param string maxResults The maxResults parameter specifies the maximum
+ * number of items that should be returned in the result set.
+ *
+ * Note: This parameter is supported for use in conjunction with the myRating
+ * parameter, but it is not supported for use in conjunction with the id
+ * parameter.
+ * @opt_param string pageToken The pageToken parameter identifies a specific
+ * page in the result set that should be returned. In an API response, the
+ * nextPageToken and prevPageToken properties identify other pages that could be
+ * retrieved.
+ *
+ * Note: This parameter is supported for use in conjunction with the myRating
+ * parameter, but it is not supported for use in conjunction with the id
+ * parameter.
+ * @opt_param string myRating Set this parameter's value to like or dislike to
+ * instruct the API to only return videos liked or disliked by the authenticated
+ * user.
+ * @opt_param string id The id parameter specifies a comma-separated list of the
+ * YouTube video ID(s) for the resource(s) that are being retrieved. In a video
+ * resource, the id property specifies the video's ID.
+ * @return Postman_Google_Service_YouTube_VideoListResponse
+ */
+ public function listVideos($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_YouTube_VideoListResponse");
+ }
+
+ /**
+ * Add a like or dislike rating to a video or remove a rating from a video.
+ * (videos.rate)
+ *
+ * @param string $id The id parameter specifies the YouTube video ID of the
+ * video that is being rated or having its rating removed.
+ * @param string $rating Specifies the rating to record.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ */
+ public function rate($id, $rating, $optParams = array())
+ {
+ $params = array('id' => $id, 'rating' => $rating);
+ $params = array_merge($params, $optParams);
+ return $this->call('rate', array($params));
+ }
+
+ /**
+ * Updates a video's metadata. (videos.update)
+ *
+ * @param string $part The part parameter serves two purposes in this operation.
+ * It identifies the properties that the write operation will set as well as the
+ * properties that the API response will include.
+ *
+ * The part names that you can include in the parameter value are snippet,
+ * contentDetails, fileDetails, liveStreamingDetails, player, processingDetails,
+ * recordingDetails, statistics, status, suggestions, and topicDetails.
+ *
+ * Note that this method will override the existing values for all of the
+ * mutable properties that are contained in any parts that the parameter value
+ * specifies. For example, a video's privacy setting is contained in the status
+ * part. As such, if your request is updating a private video, and the request's
+ * part parameter value includes the status part, the video's privacy setting
+ * will be updated to whatever value the request body specifies. If the request
+ * body does not specify a value, the existing privacy setting will be removed
+ * and the video will revert to the default privacy setting.
+ *
+ * In addition, not all of those parts contain properties that can be set when
+ * setting or updating a video's metadata. For example, the statistics object
+ * encapsulates statistics that YouTube calculates for a video and does not
+ * contain values that you can set or modify. If the parameter value specifies a
+ * part that does not contain mutable values, that part will still be included
+ * in the API response.
+ * @param Postman_Google_Video $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The actual CMS
+ * account that the user authenticates with must be linked to the specified
+ * YouTube content owner.
+ * @return Postman_Google_Service_YouTube_Video
+ */
+ public function update($part, Postman_Google_Service_YouTube_Video $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Postman_Google_Service_YouTube_Video");
+ }
+}
+
+/**
+ * The "watermarks" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeService = new Postman_Google_Service_YouTube(...);
+ * $watermarks = $youtubeService->watermarks;
+ * </code>
+ */
+class Postman_Google_Service_YouTube_Watermarks_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Uploads a watermark image to YouTube and sets it for a channel.
+ * (watermarks.set)
+ *
+ * @param string $channelId The channelId parameter specifies a YouTube channel
+ * ID for which the watermark is being provided.
+ * @param Postman_Google_InvideoBranding $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner The onBehalfOfContentOwner parameter
+ * indicates that the authenticated user is acting on behalf of the content
+ * owner specified in the parameter value. This parameter is intended for
+ * YouTube content partners that own and manage many different YouTube channels.
+ * It allows content owners to authenticate once and get access to all their
+ * video and channel data, without having to provide authentication credentials
+ * for each individual channel. The actual CMS account that the user
+ * authenticates with needs to be linked to the specified YouTube content owner.
+ */
+ public function set($channelId, Postman_Google_Service_YouTube_InvideoBranding $postBody, $optParams = array())
+ {
+ $params = array('channelId' => $channelId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('set', array($params));
+ }
+
+ /**
+ * Deletes a watermark. (watermarks.unsetWatermarks)
+ *
+ * @param string $channelId The channelId parameter specifies a YouTube channel
+ * ID for which the watermark is being unset.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner The onBehalfOfContentOwner parameter
+ * indicates that the authenticated user is acting on behalf of the content
+ * owner specified in the parameter value. This parameter is intended for
+ * YouTube content partners that own and manage many different YouTube channels.
+ * It allows content owners to authenticate once and get access to all their
+ * video and channel data, without having to provide authentication credentials
+ * for each individual channel. The actual CMS account that the user
+ * authenticates with needs to be linked to the specified YouTube content owner.
+ */
+ public function unsetWatermarks($channelId, $optParams = array())
+ {
+ $params = array('channelId' => $channelId);
+ $params = array_merge($params, $optParams);
+ return $this->call('unset', array($params));
+ }
+}
+
+
+
+
+class Postman_Google_Service_YouTube_AccessPolicy extends Postman_Google_Collection
+{
+ protected $collection_key = 'exception';
+ protected $internal_gapi_mappings = array(
+ );
+ public $allowed;
+ public $exception;
+
+
+ public function setAllowed($allowed)
+ {
+ $this->allowed = $allowed;
+ }
+ public function getAllowed()
+ {
+ return $this->allowed;
+ }
+ public function setException($exception)
+ {
+ $this->exception = $exception;
+ }
+ public function getException()
+ {
+ return $this->exception;
+ }
+}
+
+class Postman_Google_Service_YouTube_Activity extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $contentDetailsType = 'Postman_Google_Service_YouTube_ActivityContentDetails';
+ protected $contentDetailsDataType = '';
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Postman_Google_Service_YouTube_ActivitySnippet';
+ protected $snippetDataType = '';
+
+
+ public function setContentDetails(Postman_Google_Service_YouTube_ActivityContentDetails $contentDetails)
+ {
+ $this->contentDetails = $contentDetails;
+ }
+ public function getContentDetails()
+ {
+ return $this->contentDetails;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSnippet(Postman_Google_Service_YouTube_ActivitySnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
+
+class Postman_Google_Service_YouTube_ActivityContentDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $bulletinType = 'Postman_Google_Service_YouTube_ActivityContentDetailsBulletin';
+ protected $bulletinDataType = '';
+ protected $channelItemType = 'Postman_Google_Service_YouTube_ActivityContentDetailsChannelItem';
+ protected $channelItemDataType = '';
+ protected $commentType = 'Postman_Google_Service_YouTube_ActivityContentDetailsComment';
+ protected $commentDataType = '';
+ protected $favoriteType = 'Postman_Google_Service_YouTube_ActivityContentDetailsFavorite';
+ protected $favoriteDataType = '';
+ protected $likeType = 'Postman_Google_Service_YouTube_ActivityContentDetailsLike';
+ protected $likeDataType = '';
+ protected $playlistItemType = 'Postman_Google_Service_YouTube_ActivityContentDetailsPlaylistItem';
+ protected $playlistItemDataType = '';
+ protected $promotedItemType = 'Postman_Google_Service_YouTube_ActivityContentDetailsPromotedItem';
+ protected $promotedItemDataType = '';
+ protected $recommendationType = 'Postman_Google_Service_YouTube_ActivityContentDetailsRecommendation';
+ protected $recommendationDataType = '';
+ protected $socialType = 'Postman_Google_Service_YouTube_ActivityContentDetailsSocial';
+ protected $socialDataType = '';
+ protected $subscriptionType = 'Postman_Google_Service_YouTube_ActivityContentDetailsSubscription';
+ protected $subscriptionDataType = '';
+ protected $uploadType = 'Postman_Google_Service_YouTube_ActivityContentDetailsUpload';
+ protected $uploadDataType = '';
+
+
+ public function setBulletin(Postman_Google_Service_YouTube_ActivityContentDetailsBulletin $bulletin)
+ {
+ $this->bulletin = $bulletin;
+ }
+ public function getBulletin()
+ {
+ return $this->bulletin;
+ }
+ public function setChannelItem(Postman_Google_Service_YouTube_ActivityContentDetailsChannelItem $channelItem)
+ {
+ $this->channelItem = $channelItem;
+ }
+ public function getChannelItem()
+ {
+ return $this->channelItem;
+ }
+ public function setComment(Postman_Google_Service_YouTube_ActivityContentDetailsComment $comment)
+ {
+ $this->comment = $comment;
+ }
+ public function getComment()
+ {
+ return $this->comment;
+ }
+ public function setFavorite(Postman_Google_Service_YouTube_ActivityContentDetailsFavorite $favorite)
+ {
+ $this->favorite = $favorite;
+ }
+ public function getFavorite()
+ {
+ return $this->favorite;
+ }
+ public function setLike(Postman_Google_Service_YouTube_ActivityContentDetailsLike $like)
+ {
+ $this->like = $like;
+ }
+ public function getLike()
+ {
+ return $this->like;
+ }
+ public function setPlaylistItem(Postman_Google_Service_YouTube_ActivityContentDetailsPlaylistItem $playlistItem)
+ {
+ $this->playlistItem = $playlistItem;
+ }
+ public function getPlaylistItem()
+ {
+ return $this->playlistItem;
+ }
+ public function setPromotedItem(Postman_Google_Service_YouTube_ActivityContentDetailsPromotedItem $promotedItem)
+ {
+ $this->promotedItem = $promotedItem;
+ }
+ public function getPromotedItem()
+ {
+ return $this->promotedItem;
+ }
+ public function setRecommendation(Postman_Google_Service_YouTube_ActivityContentDetailsRecommendation $recommendation)
+ {
+ $this->recommendation = $recommendation;
+ }
+ public function getRecommendation()
+ {
+ return $this->recommendation;
+ }
+ public function setSocial(Postman_Google_Service_YouTube_ActivityContentDetailsSocial $social)
+ {
+ $this->social = $social;
+ }
+ public function getSocial()
+ {
+ return $this->social;
+ }
+ public function setSubscription(Postman_Google_Service_YouTube_ActivityContentDetailsSubscription $subscription)
+ {
+ $this->subscription = $subscription;
+ }
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+ public function setUpload(Postman_Google_Service_YouTube_ActivityContentDetailsUpload $upload)
+ {
+ $this->upload = $upload;
+ }
+ public function getUpload()
+ {
+ return $this->upload;
+ }
+}
+
+class Postman_Google_Service_YouTube_ActivityContentDetailsBulletin extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $resourceIdType = 'Postman_Google_Service_YouTube_ResourceId';
+ protected $resourceIdDataType = '';
+
+
+ public function setResourceId(Postman_Google_Service_YouTube_ResourceId $resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+}
+
+class Postman_Google_Service_YouTube_ActivityContentDetailsChannelItem extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $resourceIdType = 'Postman_Google_Service_YouTube_ResourceId';
+ protected $resourceIdDataType = '';
+
+
+ public function setResourceId(Postman_Google_Service_YouTube_ResourceId $resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+}
+
+class Postman_Google_Service_YouTube_ActivityContentDetailsComment extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $resourceIdType = 'Postman_Google_Service_YouTube_ResourceId';
+ protected $resourceIdDataType = '';
+
+
+ public function setResourceId(Postman_Google_Service_YouTube_ResourceId $resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+}
+
+class Postman_Google_Service_YouTube_ActivityContentDetailsFavorite extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $resourceIdType = 'Postman_Google_Service_YouTube_ResourceId';
+ protected $resourceIdDataType = '';
+
+
+ public function setResourceId(Postman_Google_Service_YouTube_ResourceId $resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+}
+
+class Postman_Google_Service_YouTube_ActivityContentDetailsLike extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $resourceIdType = 'Postman_Google_Service_YouTube_ResourceId';
+ protected $resourceIdDataType = '';
+
+
+ public function setResourceId(Postman_Google_Service_YouTube_ResourceId $resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+}
+
+class Postman_Google_Service_YouTube_ActivityContentDetailsPlaylistItem extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $playlistId;
+ public $playlistItemId;
+ protected $resourceIdType = 'Postman_Google_Service_YouTube_ResourceId';
+ protected $resourceIdDataType = '';
+
+
+ public function setPlaylistId($playlistId)
+ {
+ $this->playlistId = $playlistId;
+ }
+ public function getPlaylistId()
+ {
+ return $this->playlistId;
+ }
+ public function setPlaylistItemId($playlistItemId)
+ {
+ $this->playlistItemId = $playlistItemId;
+ }
+ public function getPlaylistItemId()
+ {
+ return $this->playlistItemId;
+ }
+ public function setResourceId(Postman_Google_Service_YouTube_ResourceId $resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+}
+
+class Postman_Google_Service_YouTube_ActivityContentDetailsPromotedItem extends Postman_Google_Collection
+{
+ protected $collection_key = 'impressionUrl';
+ protected $internal_gapi_mappings = array(
+ );
+ public $adTag;
+ public $clickTrackingUrl;
+ public $creativeViewUrl;
+ public $ctaType;
+ public $customCtaButtonText;
+ public $descriptionText;
+ public $destinationUrl;
+ public $forecastingUrl;
+ public $impressionUrl;
+ public $videoId;
+
+
+ public function setAdTag($adTag)
+ {
+ $this->adTag = $adTag;
+ }
+ public function getAdTag()
+ {
+ return $this->adTag;
+ }
+ public function setClickTrackingUrl($clickTrackingUrl)
+ {
+ $this->clickTrackingUrl = $clickTrackingUrl;
+ }
+ public function getClickTrackingUrl()
+ {
+ return $this->clickTrackingUrl;
+ }
+ public function setCreativeViewUrl($creativeViewUrl)
+ {
+ $this->creativeViewUrl = $creativeViewUrl;
+ }
+ public function getCreativeViewUrl()
+ {
+ return $this->creativeViewUrl;
+ }
+ public function setCtaType($ctaType)
+ {
+ $this->ctaType = $ctaType;
+ }
+ public function getCtaType()
+ {
+ return $this->ctaType;
+ }
+ public function setCustomCtaButtonText($customCtaButtonText)
+ {
+ $this->customCtaButtonText = $customCtaButtonText;
+ }
+ public function getCustomCtaButtonText()
+ {
+ return $this->customCtaButtonText;
+ }
+ public function setDescriptionText($descriptionText)
+ {
+ $this->descriptionText = $descriptionText;
+ }
+ public function getDescriptionText()
+ {
+ return $this->descriptionText;
+ }
+ public function setDestinationUrl($destinationUrl)
+ {
+ $this->destinationUrl = $destinationUrl;
+ }
+ public function getDestinationUrl()
+ {
+ return $this->destinationUrl;
+ }
+ public function setForecastingUrl($forecastingUrl)
+ {
+ $this->forecastingUrl = $forecastingUrl;
+ }
+ public function getForecastingUrl()
+ {
+ return $this->forecastingUrl;
+ }
+ public function setImpressionUrl($impressionUrl)
+ {
+ $this->impressionUrl = $impressionUrl;
+ }
+ public function getImpressionUrl()
+ {
+ return $this->impressionUrl;
+ }
+ public function setVideoId($videoId)
+ {
+ $this->videoId = $videoId;
+ }
+ public function getVideoId()
+ {
+ return $this->videoId;
+ }
+}
+
+class Postman_Google_Service_YouTube_ActivityContentDetailsRecommendation extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $reason;
+ protected $resourceIdType = 'Postman_Google_Service_YouTube_ResourceId';
+ protected $resourceIdDataType = '';
+ protected $seedResourceIdType = 'Postman_Google_Service_YouTube_ResourceId';
+ protected $seedResourceIdDataType = '';
+
+
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+ public function setResourceId(Postman_Google_Service_YouTube_ResourceId $resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+ public function setSeedResourceId(Postman_Google_Service_YouTube_ResourceId $seedResourceId)
+ {
+ $this->seedResourceId = $seedResourceId;
+ }
+ public function getSeedResourceId()
+ {
+ return $this->seedResourceId;
+ }
+}
+
+class Postman_Google_Service_YouTube_ActivityContentDetailsSocial extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $author;
+ public $imageUrl;
+ public $referenceUrl;
+ protected $resourceIdType = 'Postman_Google_Service_YouTube_ResourceId';
+ protected $resourceIdDataType = '';
+ public $type;
+
+
+ public function setAuthor($author)
+ {
+ $this->author = $author;
+ }
+ public function getAuthor()
+ {
+ return $this->author;
+ }
+ public function setImageUrl($imageUrl)
+ {
+ $this->imageUrl = $imageUrl;
+ }
+ public function getImageUrl()
+ {
+ return $this->imageUrl;
+ }
+ public function setReferenceUrl($referenceUrl)
+ {
+ $this->referenceUrl = $referenceUrl;
+ }
+ public function getReferenceUrl()
+ {
+ return $this->referenceUrl;
+ }
+ public function setResourceId(Postman_Google_Service_YouTube_ResourceId $resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_YouTube_ActivityContentDetailsSubscription extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $resourceIdType = 'Postman_Google_Service_YouTube_ResourceId';
+ protected $resourceIdDataType = '';
+
+
+ public function setResourceId(Postman_Google_Service_YouTube_ResourceId $resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+}
+
+class Postman_Google_Service_YouTube_ActivityContentDetailsUpload extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $videoId;
+
+
+ public function setVideoId($videoId)
+ {
+ $this->videoId = $videoId;
+ }
+ public function getVideoId()
+ {
+ return $this->videoId;
+ }
+}
+
+class Postman_Google_Service_YouTube_ActivityListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Postman_Google_Service_YouTube_Activity';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Postman_Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $prevPageToken;
+ protected $tokenPaginationType = 'Postman_Google_Service_YouTube_TokenPagination';
+ protected $tokenPaginationDataType = '';
+ public $visitorId;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPageInfo(Postman_Google_Service_YouTube_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setPrevPageToken($prevPageToken)
+ {
+ $this->prevPageToken = $prevPageToken;
+ }
+ public function getPrevPageToken()
+ {
+ return $this->prevPageToken;
+ }
+ public function setTokenPagination(Postman_Google_Service_YouTube_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Postman_Google_Service_YouTube_ActivitySnippet extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $channelId;
+ public $channelTitle;
+ public $description;
+ public $groupId;
+ public $publishedAt;
+ protected $thumbnailsType = 'Postman_Google_Service_YouTube_ThumbnailDetails';
+ protected $thumbnailsDataType = '';
+ public $title;
+ public $type;
+
+
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setChannelTitle($channelTitle)
+ {
+ $this->channelTitle = $channelTitle;
+ }
+ public function getChannelTitle()
+ {
+ return $this->channelTitle;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setGroupId($groupId)
+ {
+ $this->groupId = $groupId;
+ }
+ public function getGroupId()
+ {
+ return $this->groupId;
+ }
+ public function setPublishedAt($publishedAt)
+ {
+ $this->publishedAt = $publishedAt;
+ }
+ public function getPublishedAt()
+ {
+ return $this->publishedAt;
+ }
+ public function setThumbnails(Postman_Google_Service_YouTube_ThumbnailDetails $thumbnails)
+ {
+ $this->thumbnails = $thumbnails;
+ }
+ public function getThumbnails()
+ {
+ return $this->thumbnails;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_YouTube_CdnSettings extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $format;
+ protected $ingestionInfoType = 'Postman_Google_Service_YouTube_IngestionInfo';
+ protected $ingestionInfoDataType = '';
+ public $ingestionType;
+
+
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+ public function setIngestionInfo(Postman_Google_Service_YouTube_IngestionInfo $ingestionInfo)
+ {
+ $this->ingestionInfo = $ingestionInfo;
+ }
+ public function getIngestionInfo()
+ {
+ return $this->ingestionInfo;
+ }
+ public function setIngestionType($ingestionType)
+ {
+ $this->ingestionType = $ingestionType;
+ }
+ public function getIngestionType()
+ {
+ return $this->ingestionType;
+ }
+}
+
+class Postman_Google_Service_YouTube_Channel extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $auditDetailsType = 'Postman_Google_Service_YouTube_ChannelAuditDetails';
+ protected $auditDetailsDataType = '';
+ protected $brandingSettingsType = 'Postman_Google_Service_YouTube_ChannelBrandingSettings';
+ protected $brandingSettingsDataType = '';
+ protected $contentDetailsType = 'Postman_Google_Service_YouTube_ChannelContentDetails';
+ protected $contentDetailsDataType = '';
+ protected $contentOwnerDetailsType = 'Postman_Google_Service_YouTube_ChannelContentOwnerDetails';
+ protected $contentOwnerDetailsDataType = '';
+ protected $conversionPingsType = 'Postman_Google_Service_YouTube_ChannelConversionPings';
+ protected $conversionPingsDataType = '';
+ public $etag;
+ public $id;
+ protected $invideoPromotionType = 'Postman_Google_Service_YouTube_InvideoPromotion';
+ protected $invideoPromotionDataType = '';
+ public $kind;
+ protected $snippetType = 'Postman_Google_Service_YouTube_ChannelSnippet';
+ protected $snippetDataType = '';
+ protected $statisticsType = 'Postman_Google_Service_YouTube_ChannelStatistics';
+ protected $statisticsDataType = '';
+ protected $statusType = 'Postman_Google_Service_YouTube_ChannelStatus';
+ protected $statusDataType = '';
+ protected $topicDetailsType = 'Postman_Google_Service_YouTube_ChannelTopicDetails';
+ protected $topicDetailsDataType = '';
+
+
+ public function setAuditDetails(Postman_Google_Service_YouTube_ChannelAuditDetails $auditDetails)
+ {
+ $this->auditDetails = $auditDetails;
+ }
+ public function getAuditDetails()
+ {
+ return $this->auditDetails;
+ }
+ public function setBrandingSettings(Postman_Google_Service_YouTube_ChannelBrandingSettings $brandingSettings)
+ {
+ $this->brandingSettings = $brandingSettings;
+ }
+ public function getBrandingSettings()
+ {
+ return $this->brandingSettings;
+ }
+ public function setContentDetails(Postman_Google_Service_YouTube_ChannelContentDetails $contentDetails)
+ {
+ $this->contentDetails = $contentDetails;
+ }
+ public function getContentDetails()
+ {
+ return $this->contentDetails;
+ }
+ public function setContentOwnerDetails(Postman_Google_Service_YouTube_ChannelContentOwnerDetails $contentOwnerDetails)
+ {
+ $this->contentOwnerDetails = $contentOwnerDetails;
+ }
+ public function getContentOwnerDetails()
+ {
+ return $this->contentOwnerDetails;
+ }
+ public function setConversionPings(Postman_Google_Service_YouTube_ChannelConversionPings $conversionPings)
+ {
+ $this->conversionPings = $conversionPings;
+ }
+ public function getConversionPings()
+ {
+ return $this->conversionPings;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInvideoPromotion(Postman_Google_Service_YouTube_InvideoPromotion $invideoPromotion)
+ {
+ $this->invideoPromotion = $invideoPromotion;
+ }
+ public function getInvideoPromotion()
+ {
+ return $this->invideoPromotion;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSnippet(Postman_Google_Service_YouTube_ChannelSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+ public function setStatistics(Postman_Google_Service_YouTube_ChannelStatistics $statistics)
+ {
+ $this->statistics = $statistics;
+ }
+ public function getStatistics()
+ {
+ return $this->statistics;
+ }
+ public function setStatus(Postman_Google_Service_YouTube_ChannelStatus $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setTopicDetails(Postman_Google_Service_YouTube_ChannelTopicDetails $topicDetails)
+ {
+ $this->topicDetails = $topicDetails;
+ }
+ public function getTopicDetails()
+ {
+ return $this->topicDetails;
+ }
+}
+
+class Postman_Google_Service_YouTube_ChannelAuditDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $communityGuidelinesGoodStanding;
+ public $contentIdClaimsGoodStanding;
+ public $copyrightStrikesGoodStanding;
+ public $overallGoodStanding;
+
+
+ public function setCommunityGuidelinesGoodStanding($communityGuidelinesGoodStanding)
+ {
+ $this->communityGuidelinesGoodStanding = $communityGuidelinesGoodStanding;
+ }
+ public function getCommunityGuidelinesGoodStanding()
+ {
+ return $this->communityGuidelinesGoodStanding;
+ }
+ public function setContentIdClaimsGoodStanding($contentIdClaimsGoodStanding)
+ {
+ $this->contentIdClaimsGoodStanding = $contentIdClaimsGoodStanding;
+ }
+ public function getContentIdClaimsGoodStanding()
+ {
+ return $this->contentIdClaimsGoodStanding;
+ }
+ public function setCopyrightStrikesGoodStanding($copyrightStrikesGoodStanding)
+ {
+ $this->copyrightStrikesGoodStanding = $copyrightStrikesGoodStanding;
+ }
+ public function getCopyrightStrikesGoodStanding()
+ {
+ return $this->copyrightStrikesGoodStanding;
+ }
+ public function setOverallGoodStanding($overallGoodStanding)
+ {
+ $this->overallGoodStanding = $overallGoodStanding;
+ }
+ public function getOverallGoodStanding()
+ {
+ return $this->overallGoodStanding;
+ }
+}
+
+class Postman_Google_Service_YouTube_ChannelBannerResource extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $kind;
+ public $url;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Postman_Google_Service_YouTube_ChannelBrandingSettings extends Postman_Google_Collection
+{
+ protected $collection_key = 'hints';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $channelType = 'Postman_Google_Service_YouTube_ChannelSettings';
+ protected $channelDataType = '';
+ protected $hintsType = 'Postman_Google_Service_YouTube_PropertyValue';
+ protected $hintsDataType = 'array';
+ protected $imageType = 'Postman_Google_Service_YouTube_ImageSettings';
+ protected $imageDataType = '';
+ protected $watchType = 'Postman_Google_Service_YouTube_WatchSettings';
+ protected $watchDataType = '';
+
+
+ public function setChannel(Postman_Google_Service_YouTube_ChannelSettings $channel)
+ {
+ $this->channel = $channel;
+ }
+ public function getChannel()
+ {
+ return $this->channel;
+ }
+ public function setHints($hints)
+ {
+ $this->hints = $hints;
+ }
+ public function getHints()
+ {
+ return $this->hints;
+ }
+ public function setImage(Postman_Google_Service_YouTube_ImageSettings $image)
+ {
+ $this->image = $image;
+ }
+ public function getImage()
+ {
+ return $this->image;
+ }
+ public function setWatch(Postman_Google_Service_YouTube_WatchSettings $watch)
+ {
+ $this->watch = $watch;
+ }
+ public function getWatch()
+ {
+ return $this->watch;
+ }
+}
+
+class Postman_Google_Service_YouTube_ChannelContentDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $googlePlusUserId;
+ protected $relatedPlaylistsType = 'Postman_Google_Service_YouTube_ChannelContentDetailsRelatedPlaylists';
+ protected $relatedPlaylistsDataType = '';
+
+
+ public function setGooglePlusUserId($googlePlusUserId)
+ {
+ $this->googlePlusUserId = $googlePlusUserId;
+ }
+ public function getGooglePlusUserId()
+ {
+ return $this->googlePlusUserId;
+ }
+ public function setRelatedPlaylists(Postman_Google_Service_YouTube_ChannelContentDetailsRelatedPlaylists $relatedPlaylists)
+ {
+ $this->relatedPlaylists = $relatedPlaylists;
+ }
+ public function getRelatedPlaylists()
+ {
+ return $this->relatedPlaylists;
+ }
+}
+
+class Postman_Google_Service_YouTube_ChannelContentDetailsRelatedPlaylists extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $favorites;
+ public $likes;
+ public $uploads;
+ public $watchHistory;
+ public $watchLater;
+
+
+ public function setFavorites($favorites)
+ {
+ $this->favorites = $favorites;
+ }
+ public function getFavorites()
+ {
+ return $this->favorites;
+ }
+ public function setLikes($likes)
+ {
+ $this->likes = $likes;
+ }
+ public function getLikes()
+ {
+ return $this->likes;
+ }
+ public function setUploads($uploads)
+ {
+ $this->uploads = $uploads;
+ }
+ public function getUploads()
+ {
+ return $this->uploads;
+ }
+ public function setWatchHistory($watchHistory)
+ {
+ $this->watchHistory = $watchHistory;
+ }
+ public function getWatchHistory()
+ {
+ return $this->watchHistory;
+ }
+ public function setWatchLater($watchLater)
+ {
+ $this->watchLater = $watchLater;
+ }
+ public function getWatchLater()
+ {
+ return $this->watchLater;
+ }
+}
+
+class Postman_Google_Service_YouTube_ChannelContentOwnerDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $contentOwner;
+ public $timeLinked;
+
+
+ public function setContentOwner($contentOwner)
+ {
+ $this->contentOwner = $contentOwner;
+ }
+ public function getContentOwner()
+ {
+ return $this->contentOwner;
+ }
+ public function setTimeLinked($timeLinked)
+ {
+ $this->timeLinked = $timeLinked;
+ }
+ public function getTimeLinked()
+ {
+ return $this->timeLinked;
+ }
+}
+
+class Postman_Google_Service_YouTube_ChannelConversionPing extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $context;
+ public $conversionUrl;
+
+
+ public function setContext($context)
+ {
+ $this->context = $context;
+ }
+ public function getContext()
+ {
+ return $this->context;
+ }
+ public function setConversionUrl($conversionUrl)
+ {
+ $this->conversionUrl = $conversionUrl;
+ }
+ public function getConversionUrl()
+ {
+ return $this->conversionUrl;
+ }
+}
+
+class Postman_Google_Service_YouTube_ChannelConversionPings extends Postman_Google_Collection
+{
+ protected $collection_key = 'pings';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $pingsType = 'Postman_Google_Service_YouTube_ChannelConversionPing';
+ protected $pingsDataType = 'array';
+
+
+ public function setPings($pings)
+ {
+ $this->pings = $pings;
+ }
+ public function getPings()
+ {
+ return $this->pings;
+ }
+}
+
+class Postman_Google_Service_YouTube_ChannelListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Postman_Google_Service_YouTube_Channel';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Postman_Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $prevPageToken;
+ protected $tokenPaginationType = 'Postman_Google_Service_YouTube_TokenPagination';
+ protected $tokenPaginationDataType = '';
+ public $visitorId;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPageInfo(Postman_Google_Service_YouTube_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setPrevPageToken($prevPageToken)
+ {
+ $this->prevPageToken = $prevPageToken;
+ }
+ public function getPrevPageToken()
+ {
+ return $this->prevPageToken;
+ }
+ public function setTokenPagination(Postman_Google_Service_YouTube_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Postman_Google_Service_YouTube_ChannelSection extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $contentDetailsType = 'Postman_Google_Service_YouTube_ChannelSectionContentDetails';
+ protected $contentDetailsDataType = '';
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Postman_Google_Service_YouTube_ChannelSectionSnippet';
+ protected $snippetDataType = '';
+
+
+ public function setContentDetails(Postman_Google_Service_YouTube_ChannelSectionContentDetails $contentDetails)
+ {
+ $this->contentDetails = $contentDetails;
+ }
+ public function getContentDetails()
+ {
+ return $this->contentDetails;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSnippet(Postman_Google_Service_YouTube_ChannelSectionSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
+
+class Postman_Google_Service_YouTube_ChannelSectionContentDetails extends Postman_Google_Collection
+{
+ protected $collection_key = 'playlists';
+ protected $internal_gapi_mappings = array(
+ );
+ public $channels;
+ public $playlists;
+
+
+ public function setChannels($channels)
+ {
+ $this->channels = $channels;
+ }
+ public function getChannels()
+ {
+ return $this->channels;
+ }
+ public function setPlaylists($playlists)
+ {
+ $this->playlists = $playlists;
+ }
+ public function getPlaylists()
+ {
+ return $this->playlists;
+ }
+}
+
+class Postman_Google_Service_YouTube_ChannelSectionListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Postman_Google_Service_YouTube_ChannelSection';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $visitorId;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Postman_Google_Service_YouTube_ChannelSectionSnippet extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $channelId;
+ public $position;
+ public $style;
+ public $title;
+ public $type;
+
+
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setPosition($position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+ public function setStyle($style)
+ {
+ $this->style = $style;
+ }
+ public function getStyle()
+ {
+ return $this->style;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_YouTube_ChannelSettings extends Postman_Google_Collection
+{
+ protected $collection_key = 'featuredChannelsUrls';
+ protected $internal_gapi_mappings = array(
+ );
+ public $defaultTab;
+ public $description;
+ public $featuredChannelsTitle;
+ public $featuredChannelsUrls;
+ public $keywords;
+ public $moderateComments;
+ public $profileColor;
+ public $showBrowseView;
+ public $showRelatedChannels;
+ public $title;
+ public $trackingAnalyticsAccountId;
+ public $unsubscribedTrailer;
+
+
+ public function setDefaultTab($defaultTab)
+ {
+ $this->defaultTab = $defaultTab;
+ }
+ public function getDefaultTab()
+ {
+ return $this->defaultTab;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setFeaturedChannelsTitle($featuredChannelsTitle)
+ {
+ $this->featuredChannelsTitle = $featuredChannelsTitle;
+ }
+ public function getFeaturedChannelsTitle()
+ {
+ return $this->featuredChannelsTitle;
+ }
+ public function setFeaturedChannelsUrls($featuredChannelsUrls)
+ {
+ $this->featuredChannelsUrls = $featuredChannelsUrls;
+ }
+ public function getFeaturedChannelsUrls()
+ {
+ return $this->featuredChannelsUrls;
+ }
+ public function setKeywords($keywords)
+ {
+ $this->keywords = $keywords;
+ }
+ public function getKeywords()
+ {
+ return $this->keywords;
+ }
+ public function setModerateComments($moderateComments)
+ {
+ $this->moderateComments = $moderateComments;
+ }
+ public function getModerateComments()
+ {
+ return $this->moderateComments;
+ }
+ public function setProfileColor($profileColor)
+ {
+ $this->profileColor = $profileColor;
+ }
+ public function getProfileColor()
+ {
+ return $this->profileColor;
+ }
+ public function setShowBrowseView($showBrowseView)
+ {
+ $this->showBrowseView = $showBrowseView;
+ }
+ public function getShowBrowseView()
+ {
+ return $this->showBrowseView;
+ }
+ public function setShowRelatedChannels($showRelatedChannels)
+ {
+ $this->showRelatedChannels = $showRelatedChannels;
+ }
+ public function getShowRelatedChannels()
+ {
+ return $this->showRelatedChannels;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setTrackingAnalyticsAccountId($trackingAnalyticsAccountId)
+ {
+ $this->trackingAnalyticsAccountId = $trackingAnalyticsAccountId;
+ }
+ public function getTrackingAnalyticsAccountId()
+ {
+ return $this->trackingAnalyticsAccountId;
+ }
+ public function setUnsubscribedTrailer($unsubscribedTrailer)
+ {
+ $this->unsubscribedTrailer = $unsubscribedTrailer;
+ }
+ public function getUnsubscribedTrailer()
+ {
+ return $this->unsubscribedTrailer;
+ }
+}
+
+class Postman_Google_Service_YouTube_ChannelSnippet extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ public $publishedAt;
+ protected $thumbnailsType = 'Postman_Google_Service_YouTube_ThumbnailDetails';
+ protected $thumbnailsDataType = '';
+ public $title;
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setPublishedAt($publishedAt)
+ {
+ $this->publishedAt = $publishedAt;
+ }
+ public function getPublishedAt()
+ {
+ return $this->publishedAt;
+ }
+ public function setThumbnails(Postman_Google_Service_YouTube_ThumbnailDetails $thumbnails)
+ {
+ $this->thumbnails = $thumbnails;
+ }
+ public function getThumbnails()
+ {
+ return $this->thumbnails;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_YouTube_ChannelStatistics extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $commentCount;
+ public $hiddenSubscriberCount;
+ public $subscriberCount;
+ public $videoCount;
+ public $viewCount;
+
+
+ public function setCommentCount($commentCount)
+ {
+ $this->commentCount = $commentCount;
+ }
+ public function getCommentCount()
+ {
+ return $this->commentCount;
+ }
+ public function setHiddenSubscriberCount($hiddenSubscriberCount)
+ {
+ $this->hiddenSubscriberCount = $hiddenSubscriberCount;
+ }
+ public function getHiddenSubscriberCount()
+ {
+ return $this->hiddenSubscriberCount;
+ }
+ public function setSubscriberCount($subscriberCount)
+ {
+ $this->subscriberCount = $subscriberCount;
+ }
+ public function getSubscriberCount()
+ {
+ return $this->subscriberCount;
+ }
+ public function setVideoCount($videoCount)
+ {
+ $this->videoCount = $videoCount;
+ }
+ public function getVideoCount()
+ {
+ return $this->videoCount;
+ }
+ public function setViewCount($viewCount)
+ {
+ $this->viewCount = $viewCount;
+ }
+ public function getViewCount()
+ {
+ return $this->viewCount;
+ }
+}
+
+class Postman_Google_Service_YouTube_ChannelStatus extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $isLinked;
+ public $longUploadsStatus;
+ public $privacyStatus;
+
+
+ public function setIsLinked($isLinked)
+ {
+ $this->isLinked = $isLinked;
+ }
+ public function getIsLinked()
+ {
+ return $this->isLinked;
+ }
+ public function setLongUploadsStatus($longUploadsStatus)
+ {
+ $this->longUploadsStatus = $longUploadsStatus;
+ }
+ public function getLongUploadsStatus()
+ {
+ return $this->longUploadsStatus;
+ }
+ public function setPrivacyStatus($privacyStatus)
+ {
+ $this->privacyStatus = $privacyStatus;
+ }
+ public function getPrivacyStatus()
+ {
+ return $this->privacyStatus;
+ }
+}
+
+class Postman_Google_Service_YouTube_ChannelTopicDetails extends Postman_Google_Collection
+{
+ protected $collection_key = 'topicIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $topicIds;
+
+
+ public function setTopicIds($topicIds)
+ {
+ $this->topicIds = $topicIds;
+ }
+ public function getTopicIds()
+ {
+ return $this->topicIds;
+ }
+}
+
+class Postman_Google_Service_YouTube_ContentRating extends Postman_Google_Collection
+{
+ protected $collection_key = 'djctqRatingReasons';
+ protected $internal_gapi_mappings = array(
+ );
+ public $acbRating;
+ public $agcomRating;
+ public $anatelRating;
+ public $bbfcRating;
+ public $bfvcRating;
+ public $bmukkRating;
+ public $catvRating;
+ public $catvfrRating;
+ public $cbfcRating;
+ public $cccRating;
+ public $cceRating;
+ public $chfilmRating;
+ public $chvrsRating;
+ public $cicfRating;
+ public $cnaRating;
+ public $csaRating;
+ public $cscfRating;
+ public $czfilmRating;
+ public $djctqRating;
+ public $djctqRatingReasons;
+ public $eefilmRating;
+ public $egfilmRating;
+ public $eirinRating;
+ public $fcbmRating;
+ public $fcoRating;
+ public $fmocRating;
+ public $fpbRating;
+ public $fskRating;
+ public $grfilmRating;
+ public $icaaRating;
+ public $ifcoRating;
+ public $ilfilmRating;
+ public $incaaRating;
+ public $kfcbRating;
+ public $kijkwijzerRating;
+ public $kmrbRating;
+ public $lsfRating;
+ public $mccaaRating;
+ public $mccypRating;
+ public $mdaRating;
+ public $medietilsynetRating;
+ public $mekuRating;
+ public $mibacRating;
+ public $mocRating;
+ public $moctwRating;
+ public $mpaaRating;
+ public $mtrcbRating;
+ public $nbcRating;
+ public $nbcplRating;
+ public $nfrcRating;
+ public $nfvcbRating;
+ public $nkclvRating;
+ public $oflcRating;
+ public $pefilmRating;
+ public $rcnofRating;
+ public $resorteviolenciaRating;
+ public $rtcRating;
+ public $rteRating;
+ public $russiaRating;
+ public $skfilmRating;
+ public $smaisRating;
+ public $smsaRating;
+ public $tvpgRating;
+ public $ytRating;
+
+
+ public function setAcbRating($acbRating)
+ {
+ $this->acbRating = $acbRating;
+ }
+ public function getAcbRating()
+ {
+ return $this->acbRating;
+ }
+ public function setAgcomRating($agcomRating)
+ {
+ $this->agcomRating = $agcomRating;
+ }
+ public function getAgcomRating()
+ {
+ return $this->agcomRating;
+ }
+ public function setAnatelRating($anatelRating)
+ {
+ $this->anatelRating = $anatelRating;
+ }
+ public function getAnatelRating()
+ {
+ return $this->anatelRating;
+ }
+ public function setBbfcRating($bbfcRating)
+ {
+ $this->bbfcRating = $bbfcRating;
+ }
+ public function getBbfcRating()
+ {
+ return $this->bbfcRating;
+ }
+ public function setBfvcRating($bfvcRating)
+ {
+ $this->bfvcRating = $bfvcRating;
+ }
+ public function getBfvcRating()
+ {
+ return $this->bfvcRating;
+ }
+ public function setBmukkRating($bmukkRating)
+ {
+ $this->bmukkRating = $bmukkRating;
+ }
+ public function getBmukkRating()
+ {
+ return $this->bmukkRating;
+ }
+ public function setCatvRating($catvRating)
+ {
+ $this->catvRating = $catvRating;
+ }
+ public function getCatvRating()
+ {
+ return $this->catvRating;
+ }
+ public function setCatvfrRating($catvfrRating)
+ {
+ $this->catvfrRating = $catvfrRating;
+ }
+ public function getCatvfrRating()
+ {
+ return $this->catvfrRating;
+ }
+ public function setCbfcRating($cbfcRating)
+ {
+ $this->cbfcRating = $cbfcRating;
+ }
+ public function getCbfcRating()
+ {
+ return $this->cbfcRating;
+ }
+ public function setCccRating($cccRating)
+ {
+ $this->cccRating = $cccRating;
+ }
+ public function getCccRating()
+ {
+ return $this->cccRating;
+ }
+ public function setCceRating($cceRating)
+ {
+ $this->cceRating = $cceRating;
+ }
+ public function getCceRating()
+ {
+ return $this->cceRating;
+ }
+ public function setChfilmRating($chfilmRating)
+ {
+ $this->chfilmRating = $chfilmRating;
+ }
+ public function getChfilmRating()
+ {
+ return $this->chfilmRating;
+ }
+ public function setChvrsRating($chvrsRating)
+ {
+ $this->chvrsRating = $chvrsRating;
+ }
+ public function getChvrsRating()
+ {
+ return $this->chvrsRating;
+ }
+ public function setCicfRating($cicfRating)
+ {
+ $this->cicfRating = $cicfRating;
+ }
+ public function getCicfRating()
+ {
+ return $this->cicfRating;
+ }
+ public function setCnaRating($cnaRating)
+ {
+ $this->cnaRating = $cnaRating;
+ }
+ public function getCnaRating()
+ {
+ return $this->cnaRating;
+ }
+ public function setCsaRating($csaRating)
+ {
+ $this->csaRating = $csaRating;
+ }
+ public function getCsaRating()
+ {
+ return $this->csaRating;
+ }
+ public function setCscfRating($cscfRating)
+ {
+ $this->cscfRating = $cscfRating;
+ }
+ public function getCscfRating()
+ {
+ return $this->cscfRating;
+ }
+ public function setCzfilmRating($czfilmRating)
+ {
+ $this->czfilmRating = $czfilmRating;
+ }
+ public function getCzfilmRating()
+ {
+ return $this->czfilmRating;
+ }
+ public function setDjctqRating($djctqRating)
+ {
+ $this->djctqRating = $djctqRating;
+ }
+ public function getDjctqRating()
+ {
+ return $this->djctqRating;
+ }
+ public function setDjctqRatingReasons($djctqRatingReasons)
+ {
+ $this->djctqRatingReasons = $djctqRatingReasons;
+ }
+ public function getDjctqRatingReasons()
+ {
+ return $this->djctqRatingReasons;
+ }
+ public function setEefilmRating($eefilmRating)
+ {
+ $this->eefilmRating = $eefilmRating;
+ }
+ public function getEefilmRating()
+ {
+ return $this->eefilmRating;
+ }
+ public function setEgfilmRating($egfilmRating)
+ {
+ $this->egfilmRating = $egfilmRating;
+ }
+ public function getEgfilmRating()
+ {
+ return $this->egfilmRating;
+ }
+ public function setEirinRating($eirinRating)
+ {
+ $this->eirinRating = $eirinRating;
+ }
+ public function getEirinRating()
+ {
+ return $this->eirinRating;
+ }
+ public function setFcbmRating($fcbmRating)
+ {
+ $this->fcbmRating = $fcbmRating;
+ }
+ public function getFcbmRating()
+ {
+ return $this->fcbmRating;
+ }
+ public function setFcoRating($fcoRating)
+ {
+ $this->fcoRating = $fcoRating;
+ }
+ public function getFcoRating()
+ {
+ return $this->fcoRating;
+ }
+ public function setFmocRating($fmocRating)
+ {
+ $this->fmocRating = $fmocRating;
+ }
+ public function getFmocRating()
+ {
+ return $this->fmocRating;
+ }
+ public function setFpbRating($fpbRating)
+ {
+ $this->fpbRating = $fpbRating;
+ }
+ public function getFpbRating()
+ {
+ return $this->fpbRating;
+ }
+ public function setFskRating($fskRating)
+ {
+ $this->fskRating = $fskRating;
+ }
+ public function getFskRating()
+ {
+ return $this->fskRating;
+ }
+ public function setGrfilmRating($grfilmRating)
+ {
+ $this->grfilmRating = $grfilmRating;
+ }
+ public function getGrfilmRating()
+ {
+ return $this->grfilmRating;
+ }
+ public function setIcaaRating($icaaRating)
+ {
+ $this->icaaRating = $icaaRating;
+ }
+ public function getIcaaRating()
+ {
+ return $this->icaaRating;
+ }
+ public function setIfcoRating($ifcoRating)
+ {
+ $this->ifcoRating = $ifcoRating;
+ }
+ public function getIfcoRating()
+ {
+ return $this->ifcoRating;
+ }
+ public function setIlfilmRating($ilfilmRating)
+ {
+ $this->ilfilmRating = $ilfilmRating;
+ }
+ public function getIlfilmRating()
+ {
+ return $this->ilfilmRating;
+ }
+ public function setIncaaRating($incaaRating)
+ {
+ $this->incaaRating = $incaaRating;
+ }
+ public function getIncaaRating()
+ {
+ return $this->incaaRating;
+ }
+ public function setKfcbRating($kfcbRating)
+ {
+ $this->kfcbRating = $kfcbRating;
+ }
+ public function getKfcbRating()
+ {
+ return $this->kfcbRating;
+ }
+ public function setKijkwijzerRating($kijkwijzerRating)
+ {
+ $this->kijkwijzerRating = $kijkwijzerRating;
+ }
+ public function getKijkwijzerRating()
+ {
+ return $this->kijkwijzerRating;
+ }
+ public function setKmrbRating($kmrbRating)
+ {
+ $this->kmrbRating = $kmrbRating;
+ }
+ public function getKmrbRating()
+ {
+ return $this->kmrbRating;
+ }
+ public function setLsfRating($lsfRating)
+ {
+ $this->lsfRating = $lsfRating;
+ }
+ public function getLsfRating()
+ {
+ return $this->lsfRating;
+ }
+ public function setMccaaRating($mccaaRating)
+ {
+ $this->mccaaRating = $mccaaRating;
+ }
+ public function getMccaaRating()
+ {
+ return $this->mccaaRating;
+ }
+ public function setMccypRating($mccypRating)
+ {
+ $this->mccypRating = $mccypRating;
+ }
+ public function getMccypRating()
+ {
+ return $this->mccypRating;
+ }
+ public function setMdaRating($mdaRating)
+ {
+ $this->mdaRating = $mdaRating;
+ }
+ public function getMdaRating()
+ {
+ return $this->mdaRating;
+ }
+ public function setMedietilsynetRating($medietilsynetRating)
+ {
+ $this->medietilsynetRating = $medietilsynetRating;
+ }
+ public function getMedietilsynetRating()
+ {
+ return $this->medietilsynetRating;
+ }
+ public function setMekuRating($mekuRating)
+ {
+ $this->mekuRating = $mekuRating;
+ }
+ public function getMekuRating()
+ {
+ return $this->mekuRating;
+ }
+ public function setMibacRating($mibacRating)
+ {
+ $this->mibacRating = $mibacRating;
+ }
+ public function getMibacRating()
+ {
+ return $this->mibacRating;
+ }
+ public function setMocRating($mocRating)
+ {
+ $this->mocRating = $mocRating;
+ }
+ public function getMocRating()
+ {
+ return $this->mocRating;
+ }
+ public function setMoctwRating($moctwRating)
+ {
+ $this->moctwRating = $moctwRating;
+ }
+ public function getMoctwRating()
+ {
+ return $this->moctwRating;
+ }
+ public function setMpaaRating($mpaaRating)
+ {
+ $this->mpaaRating = $mpaaRating;
+ }
+ public function getMpaaRating()
+ {
+ return $this->mpaaRating;
+ }
+ public function setMtrcbRating($mtrcbRating)
+ {
+ $this->mtrcbRating = $mtrcbRating;
+ }
+ public function getMtrcbRating()
+ {
+ return $this->mtrcbRating;
+ }
+ public function setNbcRating($nbcRating)
+ {
+ $this->nbcRating = $nbcRating;
+ }
+ public function getNbcRating()
+ {
+ return $this->nbcRating;
+ }
+ public function setNbcplRating($nbcplRating)
+ {
+ $this->nbcplRating = $nbcplRating;
+ }
+ public function getNbcplRating()
+ {
+ return $this->nbcplRating;
+ }
+ public function setNfrcRating($nfrcRating)
+ {
+ $this->nfrcRating = $nfrcRating;
+ }
+ public function getNfrcRating()
+ {
+ return $this->nfrcRating;
+ }
+ public function setNfvcbRating($nfvcbRating)
+ {
+ $this->nfvcbRating = $nfvcbRating;
+ }
+ public function getNfvcbRating()
+ {
+ return $this->nfvcbRating;
+ }
+ public function setNkclvRating($nkclvRating)
+ {
+ $this->nkclvRating = $nkclvRating;
+ }
+ public function getNkclvRating()
+ {
+ return $this->nkclvRating;
+ }
+ public function setOflcRating($oflcRating)
+ {
+ $this->oflcRating = $oflcRating;
+ }
+ public function getOflcRating()
+ {
+ return $this->oflcRating;
+ }
+ public function setPefilmRating($pefilmRating)
+ {
+ $this->pefilmRating = $pefilmRating;
+ }
+ public function getPefilmRating()
+ {
+ return $this->pefilmRating;
+ }
+ public function setRcnofRating($rcnofRating)
+ {
+ $this->rcnofRating = $rcnofRating;
+ }
+ public function getRcnofRating()
+ {
+ return $this->rcnofRating;
+ }
+ public function setResorteviolenciaRating($resorteviolenciaRating)
+ {
+ $this->resorteviolenciaRating = $resorteviolenciaRating;
+ }
+ public function getResorteviolenciaRating()
+ {
+ return $this->resorteviolenciaRating;
+ }
+ public function setRtcRating($rtcRating)
+ {
+ $this->rtcRating = $rtcRating;
+ }
+ public function getRtcRating()
+ {
+ return $this->rtcRating;
+ }
+ public function setRteRating($rteRating)
+ {
+ $this->rteRating = $rteRating;
+ }
+ public function getRteRating()
+ {
+ return $this->rteRating;
+ }
+ public function setRussiaRating($russiaRating)
+ {
+ $this->russiaRating = $russiaRating;
+ }
+ public function getRussiaRating()
+ {
+ return $this->russiaRating;
+ }
+ public function setSkfilmRating($skfilmRating)
+ {
+ $this->skfilmRating = $skfilmRating;
+ }
+ public function getSkfilmRating()
+ {
+ return $this->skfilmRating;
+ }
+ public function setSmaisRating($smaisRating)
+ {
+ $this->smaisRating = $smaisRating;
+ }
+ public function getSmaisRating()
+ {
+ return $this->smaisRating;
+ }
+ public function setSmsaRating($smsaRating)
+ {
+ $this->smsaRating = $smsaRating;
+ }
+ public function getSmsaRating()
+ {
+ return $this->smsaRating;
+ }
+ public function setTvpgRating($tvpgRating)
+ {
+ $this->tvpgRating = $tvpgRating;
+ }
+ public function getTvpgRating()
+ {
+ return $this->tvpgRating;
+ }
+ public function setYtRating($ytRating)
+ {
+ $this->ytRating = $ytRating;
+ }
+ public function getYtRating()
+ {
+ return $this->ytRating;
+ }
+}
+
+class Postman_Google_Service_YouTube_GeoPoint extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $altitude;
+ public $latitude;
+ public $longitude;
+
+
+ public function setAltitude($altitude)
+ {
+ $this->altitude = $altitude;
+ }
+ public function getAltitude()
+ {
+ return $this->altitude;
+ }
+ public function setLatitude($latitude)
+ {
+ $this->latitude = $latitude;
+ }
+ public function getLatitude()
+ {
+ return $this->latitude;
+ }
+ public function setLongitude($longitude)
+ {
+ $this->longitude = $longitude;
+ }
+ public function getLongitude()
+ {
+ return $this->longitude;
+ }
+}
+
+class Postman_Google_Service_YouTube_GuideCategory extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Postman_Google_Service_YouTube_GuideCategorySnippet';
+ protected $snippetDataType = '';
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSnippet(Postman_Google_Service_YouTube_GuideCategorySnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
+
+class Postman_Google_Service_YouTube_GuideCategoryListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Postman_Google_Service_YouTube_GuideCategory';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Postman_Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $prevPageToken;
+ protected $tokenPaginationType = 'Postman_Google_Service_YouTube_TokenPagination';
+ protected $tokenPaginationDataType = '';
+ public $visitorId;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPageInfo(Postman_Google_Service_YouTube_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setPrevPageToken($prevPageToken)
+ {
+ $this->prevPageToken = $prevPageToken;
+ }
+ public function getPrevPageToken()
+ {
+ return $this->prevPageToken;
+ }
+ public function setTokenPagination(Postman_Google_Service_YouTube_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Postman_Google_Service_YouTube_GuideCategorySnippet extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $channelId;
+ public $title;
+
+
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_YouTube_I18nLanguage extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Postman_Google_Service_YouTube_I18nLanguageSnippet';
+ protected $snippetDataType = '';
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSnippet(Postman_Google_Service_YouTube_I18nLanguageSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
+
+class Postman_Google_Service_YouTube_I18nLanguageListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Postman_Google_Service_YouTube_I18nLanguage';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $visitorId;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Postman_Google_Service_YouTube_I18nLanguageSnippet extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $hl;
+ public $name;
+
+
+ public function setHl($hl)
+ {
+ $this->hl = $hl;
+ }
+ public function getHl()
+ {
+ return $this->hl;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_YouTube_I18nRegion extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Postman_Google_Service_YouTube_I18nRegionSnippet';
+ protected $snippetDataType = '';
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSnippet(Postman_Google_Service_YouTube_I18nRegionSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
+
+class Postman_Google_Service_YouTube_I18nRegionListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Postman_Google_Service_YouTube_I18nRegion';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $visitorId;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Postman_Google_Service_YouTube_I18nRegionSnippet extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $gl;
+ public $name;
+
+
+ public function setGl($gl)
+ {
+ $this->gl = $gl;
+ }
+ public function getGl()
+ {
+ return $this->gl;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Postman_Google_Service_YouTube_ImageSettings extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $backgroundImageUrlType = 'Postman_Google_Service_YouTube_LocalizedProperty';
+ protected $backgroundImageUrlDataType = '';
+ public $bannerExternalUrl;
+ public $bannerImageUrl;
+ public $bannerMobileExtraHdImageUrl;
+ public $bannerMobileHdImageUrl;
+ public $bannerMobileImageUrl;
+ public $bannerMobileLowImageUrl;
+ public $bannerMobileMediumHdImageUrl;
+ public $bannerTabletExtraHdImageUrl;
+ public $bannerTabletHdImageUrl;
+ public $bannerTabletImageUrl;
+ public $bannerTabletLowImageUrl;
+ public $bannerTvHighImageUrl;
+ public $bannerTvImageUrl;
+ public $bannerTvLowImageUrl;
+ public $bannerTvMediumImageUrl;
+ protected $largeBrandedBannerImageImapScriptType = 'Postman_Google_Service_YouTube_LocalizedProperty';
+ protected $largeBrandedBannerImageImapScriptDataType = '';
+ protected $largeBrandedBannerImageUrlType = 'Postman_Google_Service_YouTube_LocalizedProperty';
+ protected $largeBrandedBannerImageUrlDataType = '';
+ protected $smallBrandedBannerImageImapScriptType = 'Postman_Google_Service_YouTube_LocalizedProperty';
+ protected $smallBrandedBannerImageImapScriptDataType = '';
+ protected $smallBrandedBannerImageUrlType = 'Postman_Google_Service_YouTube_LocalizedProperty';
+ protected $smallBrandedBannerImageUrlDataType = '';
+ public $trackingImageUrl;
+ public $watchIconImageUrl;
+
+
+ public function setBackgroundImageUrl(Postman_Google_Service_YouTube_LocalizedProperty $backgroundImageUrl)
+ {
+ $this->backgroundImageUrl = $backgroundImageUrl;
+ }
+ public function getBackgroundImageUrl()
+ {
+ return $this->backgroundImageUrl;
+ }
+ public function setBannerExternalUrl($bannerExternalUrl)
+ {
+ $this->bannerExternalUrl = $bannerExternalUrl;
+ }
+ public function getBannerExternalUrl()
+ {
+ return $this->bannerExternalUrl;
+ }
+ public function setBannerImageUrl($bannerImageUrl)
+ {
+ $this->bannerImageUrl = $bannerImageUrl;
+ }
+ public function getBannerImageUrl()
+ {
+ return $this->bannerImageUrl;
+ }
+ public function setBannerMobileExtraHdImageUrl($bannerMobileExtraHdImageUrl)
+ {
+ $this->bannerMobileExtraHdImageUrl = $bannerMobileExtraHdImageUrl;
+ }
+ public function getBannerMobileExtraHdImageUrl()
+ {
+ return $this->bannerMobileExtraHdImageUrl;
+ }
+ public function setBannerMobileHdImageUrl($bannerMobileHdImageUrl)
+ {
+ $this->bannerMobileHdImageUrl = $bannerMobileHdImageUrl;
+ }
+ public function getBannerMobileHdImageUrl()
+ {
+ return $this->bannerMobileHdImageUrl;
+ }
+ public function setBannerMobileImageUrl($bannerMobileImageUrl)
+ {
+ $this->bannerMobileImageUrl = $bannerMobileImageUrl;
+ }
+ public function getBannerMobileImageUrl()
+ {
+ return $this->bannerMobileImageUrl;
+ }
+ public function setBannerMobileLowImageUrl($bannerMobileLowImageUrl)
+ {
+ $this->bannerMobileLowImageUrl = $bannerMobileLowImageUrl;
+ }
+ public function getBannerMobileLowImageUrl()
+ {
+ return $this->bannerMobileLowImageUrl;
+ }
+ public function setBannerMobileMediumHdImageUrl($bannerMobileMediumHdImageUrl)
+ {
+ $this->bannerMobileMediumHdImageUrl = $bannerMobileMediumHdImageUrl;
+ }
+ public function getBannerMobileMediumHdImageUrl()
+ {
+ return $this->bannerMobileMediumHdImageUrl;
+ }
+ public function setBannerTabletExtraHdImageUrl($bannerTabletExtraHdImageUrl)
+ {
+ $this->bannerTabletExtraHdImageUrl = $bannerTabletExtraHdImageUrl;
+ }
+ public function getBannerTabletExtraHdImageUrl()
+ {
+ return $this->bannerTabletExtraHdImageUrl;
+ }
+ public function setBannerTabletHdImageUrl($bannerTabletHdImageUrl)
+ {
+ $this->bannerTabletHdImageUrl = $bannerTabletHdImageUrl;
+ }
+ public function getBannerTabletHdImageUrl()
+ {
+ return $this->bannerTabletHdImageUrl;
+ }
+ public function setBannerTabletImageUrl($bannerTabletImageUrl)
+ {
+ $this->bannerTabletImageUrl = $bannerTabletImageUrl;
+ }
+ public function getBannerTabletImageUrl()
+ {
+ return $this->bannerTabletImageUrl;
+ }
+ public function setBannerTabletLowImageUrl($bannerTabletLowImageUrl)
+ {
+ $this->bannerTabletLowImageUrl = $bannerTabletLowImageUrl;
+ }
+ public function getBannerTabletLowImageUrl()
+ {
+ return $this->bannerTabletLowImageUrl;
+ }
+ public function setBannerTvHighImageUrl($bannerTvHighImageUrl)
+ {
+ $this->bannerTvHighImageUrl = $bannerTvHighImageUrl;
+ }
+ public function getBannerTvHighImageUrl()
+ {
+ return $this->bannerTvHighImageUrl;
+ }
+ public function setBannerTvImageUrl($bannerTvImageUrl)
+ {
+ $this->bannerTvImageUrl = $bannerTvImageUrl;
+ }
+ public function getBannerTvImageUrl()
+ {
+ return $this->bannerTvImageUrl;
+ }
+ public function setBannerTvLowImageUrl($bannerTvLowImageUrl)
+ {
+ $this->bannerTvLowImageUrl = $bannerTvLowImageUrl;
+ }
+ public function getBannerTvLowImageUrl()
+ {
+ return $this->bannerTvLowImageUrl;
+ }
+ public function setBannerTvMediumImageUrl($bannerTvMediumImageUrl)
+ {
+ $this->bannerTvMediumImageUrl = $bannerTvMediumImageUrl;
+ }
+ public function getBannerTvMediumImageUrl()
+ {
+ return $this->bannerTvMediumImageUrl;
+ }
+ public function setLargeBrandedBannerImageImapScript(Postman_Google_Service_YouTube_LocalizedProperty $largeBrandedBannerImageImapScript)
+ {
+ $this->largeBrandedBannerImageImapScript = $largeBrandedBannerImageImapScript;
+ }
+ public function getLargeBrandedBannerImageImapScript()
+ {
+ return $this->largeBrandedBannerImageImapScript;
+ }
+ public function setLargeBrandedBannerImageUrl(Postman_Google_Service_YouTube_LocalizedProperty $largeBrandedBannerImageUrl)
+ {
+ $this->largeBrandedBannerImageUrl = $largeBrandedBannerImageUrl;
+ }
+ public function getLargeBrandedBannerImageUrl()
+ {
+ return $this->largeBrandedBannerImageUrl;
+ }
+ public function setSmallBrandedBannerImageImapScript(Postman_Google_Service_YouTube_LocalizedProperty $smallBrandedBannerImageImapScript)
+ {
+ $this->smallBrandedBannerImageImapScript = $smallBrandedBannerImageImapScript;
+ }
+ public function getSmallBrandedBannerImageImapScript()
+ {
+ return $this->smallBrandedBannerImageImapScript;
+ }
+ public function setSmallBrandedBannerImageUrl(Postman_Google_Service_YouTube_LocalizedProperty $smallBrandedBannerImageUrl)
+ {
+ $this->smallBrandedBannerImageUrl = $smallBrandedBannerImageUrl;
+ }
+ public function getSmallBrandedBannerImageUrl()
+ {
+ return $this->smallBrandedBannerImageUrl;
+ }
+ public function setTrackingImageUrl($trackingImageUrl)
+ {
+ $this->trackingImageUrl = $trackingImageUrl;
+ }
+ public function getTrackingImageUrl()
+ {
+ return $this->trackingImageUrl;
+ }
+ public function setWatchIconImageUrl($watchIconImageUrl)
+ {
+ $this->watchIconImageUrl = $watchIconImageUrl;
+ }
+ public function getWatchIconImageUrl()
+ {
+ return $this->watchIconImageUrl;
+ }
+}
+
+class Postman_Google_Service_YouTube_IngestionInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $backupIngestionAddress;
+ public $ingestionAddress;
+ public $streamName;
+
+
+ public function setBackupIngestionAddress($backupIngestionAddress)
+ {
+ $this->backupIngestionAddress = $backupIngestionAddress;
+ }
+ public function getBackupIngestionAddress()
+ {
+ return $this->backupIngestionAddress;
+ }
+ public function setIngestionAddress($ingestionAddress)
+ {
+ $this->ingestionAddress = $ingestionAddress;
+ }
+ public function getIngestionAddress()
+ {
+ return $this->ingestionAddress;
+ }
+ public function setStreamName($streamName)
+ {
+ $this->streamName = $streamName;
+ }
+ public function getStreamName()
+ {
+ return $this->streamName;
+ }
+}
+
+class Postman_Google_Service_YouTube_InvideoBranding extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $imageBytes;
+ public $imageUrl;
+ protected $positionType = 'Postman_Google_Service_YouTube_InvideoPosition';
+ protected $positionDataType = '';
+ public $targetChannelId;
+ protected $timingType = 'Postman_Google_Service_YouTube_InvideoTiming';
+ protected $timingDataType = '';
+
+
+ public function setImageBytes($imageBytes)
+ {
+ $this->imageBytes = $imageBytes;
+ }
+ public function getImageBytes()
+ {
+ return $this->imageBytes;
+ }
+ public function setImageUrl($imageUrl)
+ {
+ $this->imageUrl = $imageUrl;
+ }
+ public function getImageUrl()
+ {
+ return $this->imageUrl;
+ }
+ public function setPosition(Postman_Google_Service_YouTube_InvideoPosition $position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+ public function setTargetChannelId($targetChannelId)
+ {
+ $this->targetChannelId = $targetChannelId;
+ }
+ public function getTargetChannelId()
+ {
+ return $this->targetChannelId;
+ }
+ public function setTiming(Postman_Google_Service_YouTube_InvideoTiming $timing)
+ {
+ $this->timing = $timing;
+ }
+ public function getTiming()
+ {
+ return $this->timing;
+ }
+}
+
+class Postman_Google_Service_YouTube_InvideoPosition extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $cornerPosition;
+ public $type;
+
+
+ public function setCornerPosition($cornerPosition)
+ {
+ $this->cornerPosition = $cornerPosition;
+ }
+ public function getCornerPosition()
+ {
+ return $this->cornerPosition;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_YouTube_InvideoPromotion extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $defaultTimingType = 'Postman_Google_Service_YouTube_InvideoTiming';
+ protected $defaultTimingDataType = '';
+ protected $itemsType = 'Postman_Google_Service_YouTube_PromotedItem';
+ protected $itemsDataType = 'array';
+ protected $positionType = 'Postman_Google_Service_YouTube_InvideoPosition';
+ protected $positionDataType = '';
+ public $useSmartTiming;
+
+
+ public function setDefaultTiming(Postman_Google_Service_YouTube_InvideoTiming $defaultTiming)
+ {
+ $this->defaultTiming = $defaultTiming;
+ }
+ public function getDefaultTiming()
+ {
+ return $this->defaultTiming;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setPosition(Postman_Google_Service_YouTube_InvideoPosition $position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+ public function setUseSmartTiming($useSmartTiming)
+ {
+ $this->useSmartTiming = $useSmartTiming;
+ }
+ public function getUseSmartTiming()
+ {
+ return $this->useSmartTiming;
+ }
+}
+
+class Postman_Google_Service_YouTube_InvideoTiming extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $durationMs;
+ public $offsetMs;
+ public $type;
+
+
+ public function setDurationMs($durationMs)
+ {
+ $this->durationMs = $durationMs;
+ }
+ public function getDurationMs()
+ {
+ return $this->durationMs;
+ }
+ public function setOffsetMs($offsetMs)
+ {
+ $this->offsetMs = $offsetMs;
+ }
+ public function getOffsetMs()
+ {
+ return $this->offsetMs;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_YouTube_LiveBroadcast extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $contentDetailsType = 'Postman_Google_Service_YouTube_LiveBroadcastContentDetails';
+ protected $contentDetailsDataType = '';
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Postman_Google_Service_YouTube_LiveBroadcastSnippet';
+ protected $snippetDataType = '';
+ protected $statusType = 'Postman_Google_Service_YouTube_LiveBroadcastStatus';
+ protected $statusDataType = '';
+
+
+ public function setContentDetails(Postman_Google_Service_YouTube_LiveBroadcastContentDetails $contentDetails)
+ {
+ $this->contentDetails = $contentDetails;
+ }
+ public function getContentDetails()
+ {
+ return $this->contentDetails;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSnippet(Postman_Google_Service_YouTube_LiveBroadcastSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+ public function setStatus(Postman_Google_Service_YouTube_LiveBroadcastStatus $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Postman_Google_Service_YouTube_LiveBroadcastContentDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $boundStreamId;
+ public $enableClosedCaptions;
+ public $enableContentEncryption;
+ public $enableDvr;
+ public $enableEmbed;
+ protected $monitorStreamType = 'Postman_Google_Service_YouTube_MonitorStreamInfo';
+ protected $monitorStreamDataType = '';
+ public $recordFromStart;
+ public $startWithSlate;
+
+
+ public function setBoundStreamId($boundStreamId)
+ {
+ $this->boundStreamId = $boundStreamId;
+ }
+ public function getBoundStreamId()
+ {
+ return $this->boundStreamId;
+ }
+ public function setEnableClosedCaptions($enableClosedCaptions)
+ {
+ $this->enableClosedCaptions = $enableClosedCaptions;
+ }
+ public function getEnableClosedCaptions()
+ {
+ return $this->enableClosedCaptions;
+ }
+ public function setEnableContentEncryption($enableContentEncryption)
+ {
+ $this->enableContentEncryption = $enableContentEncryption;
+ }
+ public function getEnableContentEncryption()
+ {
+ return $this->enableContentEncryption;
+ }
+ public function setEnableDvr($enableDvr)
+ {
+ $this->enableDvr = $enableDvr;
+ }
+ public function getEnableDvr()
+ {
+ return $this->enableDvr;
+ }
+ public function setEnableEmbed($enableEmbed)
+ {
+ $this->enableEmbed = $enableEmbed;
+ }
+ public function getEnableEmbed()
+ {
+ return $this->enableEmbed;
+ }
+ public function setMonitorStream(Postman_Google_Service_YouTube_MonitorStreamInfo $monitorStream)
+ {
+ $this->monitorStream = $monitorStream;
+ }
+ public function getMonitorStream()
+ {
+ return $this->monitorStream;
+ }
+ public function setRecordFromStart($recordFromStart)
+ {
+ $this->recordFromStart = $recordFromStart;
+ }
+ public function getRecordFromStart()
+ {
+ return $this->recordFromStart;
+ }
+ public function setStartWithSlate($startWithSlate)
+ {
+ $this->startWithSlate = $startWithSlate;
+ }
+ public function getStartWithSlate()
+ {
+ return $this->startWithSlate;
+ }
+}
+
+class Postman_Google_Service_YouTube_LiveBroadcastListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Postman_Google_Service_YouTube_LiveBroadcast';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Postman_Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $prevPageToken;
+ protected $tokenPaginationType = 'Postman_Google_Service_YouTube_TokenPagination';
+ protected $tokenPaginationDataType = '';
+ public $visitorId;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPageInfo(Postman_Google_Service_YouTube_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setPrevPageToken($prevPageToken)
+ {
+ $this->prevPageToken = $prevPageToken;
+ }
+ public function getPrevPageToken()
+ {
+ return $this->prevPageToken;
+ }
+ public function setTokenPagination(Postman_Google_Service_YouTube_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Postman_Google_Service_YouTube_LiveBroadcastSnippet extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $actualEndTime;
+ public $actualStartTime;
+ public $channelId;
+ public $description;
+ public $publishedAt;
+ public $scheduledEndTime;
+ public $scheduledStartTime;
+ protected $thumbnailsType = 'Postman_Google_Service_YouTube_ThumbnailDetails';
+ protected $thumbnailsDataType = '';
+ public $title;
+
+
+ public function setActualEndTime($actualEndTime)
+ {
+ $this->actualEndTime = $actualEndTime;
+ }
+ public function getActualEndTime()
+ {
+ return $this->actualEndTime;
+ }
+ public function setActualStartTime($actualStartTime)
+ {
+ $this->actualStartTime = $actualStartTime;
+ }
+ public function getActualStartTime()
+ {
+ return $this->actualStartTime;
+ }
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setPublishedAt($publishedAt)
+ {
+ $this->publishedAt = $publishedAt;
+ }
+ public function getPublishedAt()
+ {
+ return $this->publishedAt;
+ }
+ public function setScheduledEndTime($scheduledEndTime)
+ {
+ $this->scheduledEndTime = $scheduledEndTime;
+ }
+ public function getScheduledEndTime()
+ {
+ return $this->scheduledEndTime;
+ }
+ public function setScheduledStartTime($scheduledStartTime)
+ {
+ $this->scheduledStartTime = $scheduledStartTime;
+ }
+ public function getScheduledStartTime()
+ {
+ return $this->scheduledStartTime;
+ }
+ public function setThumbnails(Postman_Google_Service_YouTube_ThumbnailDetails $thumbnails)
+ {
+ $this->thumbnails = $thumbnails;
+ }
+ public function getThumbnails()
+ {
+ return $this->thumbnails;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_YouTube_LiveBroadcastStatus extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $lifeCycleStatus;
+ public $liveBroadcastPriority;
+ public $privacyStatus;
+ public $recordingStatus;
+
+
+ public function setLifeCycleStatus($lifeCycleStatus)
+ {
+ $this->lifeCycleStatus = $lifeCycleStatus;
+ }
+ public function getLifeCycleStatus()
+ {
+ return $this->lifeCycleStatus;
+ }
+ public function setLiveBroadcastPriority($liveBroadcastPriority)
+ {
+ $this->liveBroadcastPriority = $liveBroadcastPriority;
+ }
+ public function getLiveBroadcastPriority()
+ {
+ return $this->liveBroadcastPriority;
+ }
+ public function setPrivacyStatus($privacyStatus)
+ {
+ $this->privacyStatus = $privacyStatus;
+ }
+ public function getPrivacyStatus()
+ {
+ return $this->privacyStatus;
+ }
+ public function setRecordingStatus($recordingStatus)
+ {
+ $this->recordingStatus = $recordingStatus;
+ }
+ public function getRecordingStatus()
+ {
+ return $this->recordingStatus;
+ }
+}
+
+class Postman_Google_Service_YouTube_LiveStream extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $cdnType = 'Postman_Google_Service_YouTube_CdnSettings';
+ protected $cdnDataType = '';
+ protected $contentDetailsType = 'Postman_Google_Service_YouTube_LiveStreamContentDetails';
+ protected $contentDetailsDataType = '';
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Postman_Google_Service_YouTube_LiveStreamSnippet';
+ protected $snippetDataType = '';
+ protected $statusType = 'Postman_Google_Service_YouTube_LiveStreamStatus';
+ protected $statusDataType = '';
+
+
+ public function setCdn(Postman_Google_Service_YouTube_CdnSettings $cdn)
+ {
+ $this->cdn = $cdn;
+ }
+ public function getCdn()
+ {
+ return $this->cdn;
+ }
+ public function setContentDetails(Postman_Google_Service_YouTube_LiveStreamContentDetails $contentDetails)
+ {
+ $this->contentDetails = $contentDetails;
+ }
+ public function getContentDetails()
+ {
+ return $this->contentDetails;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSnippet(Postman_Google_Service_YouTube_LiveStreamSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+ public function setStatus(Postman_Google_Service_YouTube_LiveStreamStatus $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Postman_Google_Service_YouTube_LiveStreamContentDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $closedCaptionsIngestionUrl;
+ public $isReusable;
+
+
+ public function setClosedCaptionsIngestionUrl($closedCaptionsIngestionUrl)
+ {
+ $this->closedCaptionsIngestionUrl = $closedCaptionsIngestionUrl;
+ }
+ public function getClosedCaptionsIngestionUrl()
+ {
+ return $this->closedCaptionsIngestionUrl;
+ }
+ public function setIsReusable($isReusable)
+ {
+ $this->isReusable = $isReusable;
+ }
+ public function getIsReusable()
+ {
+ return $this->isReusable;
+ }
+}
+
+class Postman_Google_Service_YouTube_LiveStreamListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Postman_Google_Service_YouTube_LiveStream';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Postman_Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $prevPageToken;
+ protected $tokenPaginationType = 'Postman_Google_Service_YouTube_TokenPagination';
+ protected $tokenPaginationDataType = '';
+ public $visitorId;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPageInfo(Postman_Google_Service_YouTube_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setPrevPageToken($prevPageToken)
+ {
+ $this->prevPageToken = $prevPageToken;
+ }
+ public function getPrevPageToken()
+ {
+ return $this->prevPageToken;
+ }
+ public function setTokenPagination(Postman_Google_Service_YouTube_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Postman_Google_Service_YouTube_LiveStreamSnippet extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $channelId;
+ public $description;
+ public $publishedAt;
+ public $title;
+
+
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setPublishedAt($publishedAt)
+ {
+ $this->publishedAt = $publishedAt;
+ }
+ public function getPublishedAt()
+ {
+ return $this->publishedAt;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_YouTube_LiveStreamStatus extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $streamStatus;
+
+
+ public function setStreamStatus($streamStatus)
+ {
+ $this->streamStatus = $streamStatus;
+ }
+ public function getStreamStatus()
+ {
+ return $this->streamStatus;
+ }
+}
+
+class Postman_Google_Service_YouTube_LocalizedProperty extends Postman_Google_Collection
+{
+ protected $collection_key = 'localized';
+ protected $internal_gapi_mappings = array(
+ );
+ public $default;
+ protected $localizedType = 'Postman_Google_Service_YouTube_LocalizedString';
+ protected $localizedDataType = 'array';
+
+
+ public function setDefault($default)
+ {
+ $this->default = $default;
+ }
+ public function getDefault()
+ {
+ return $this->default;
+ }
+ public function setLocalized($localized)
+ {
+ $this->localized = $localized;
+ }
+ public function getLocalized()
+ {
+ return $this->localized;
+ }
+}
+
+class Postman_Google_Service_YouTube_LocalizedString extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $language;
+ public $value;
+
+
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_YouTube_MonitorStreamInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $broadcastStreamDelayMs;
+ public $embedHtml;
+ public $enableMonitorStream;
+
+
+ public function setBroadcastStreamDelayMs($broadcastStreamDelayMs)
+ {
+ $this->broadcastStreamDelayMs = $broadcastStreamDelayMs;
+ }
+ public function getBroadcastStreamDelayMs()
+ {
+ return $this->broadcastStreamDelayMs;
+ }
+ public function setEmbedHtml($embedHtml)
+ {
+ $this->embedHtml = $embedHtml;
+ }
+ public function getEmbedHtml()
+ {
+ return $this->embedHtml;
+ }
+ public function setEnableMonitorStream($enableMonitorStream)
+ {
+ $this->enableMonitorStream = $enableMonitorStream;
+ }
+ public function getEnableMonitorStream()
+ {
+ return $this->enableMonitorStream;
+ }
+}
+
+class Postman_Google_Service_YouTube_PageInfo extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $resultsPerPage;
+ public $totalResults;
+
+
+ public function setResultsPerPage($resultsPerPage)
+ {
+ $this->resultsPerPage = $resultsPerPage;
+ }
+ public function getResultsPerPage()
+ {
+ return $this->resultsPerPage;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+}
+
+class Postman_Google_Service_YouTube_Playlist extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $contentDetailsType = 'Postman_Google_Service_YouTube_PlaylistContentDetails';
+ protected $contentDetailsDataType = '';
+ public $etag;
+ public $id;
+ public $kind;
+ protected $playerType = 'Postman_Google_Service_YouTube_PlaylistPlayer';
+ protected $playerDataType = '';
+ protected $snippetType = 'Postman_Google_Service_YouTube_PlaylistSnippet';
+ protected $snippetDataType = '';
+ protected $statusType = 'Postman_Google_Service_YouTube_PlaylistStatus';
+ protected $statusDataType = '';
+
+
+ public function setContentDetails(Postman_Google_Service_YouTube_PlaylistContentDetails $contentDetails)
+ {
+ $this->contentDetails = $contentDetails;
+ }
+ public function getContentDetails()
+ {
+ return $this->contentDetails;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPlayer(Postman_Google_Service_YouTube_PlaylistPlayer $player)
+ {
+ $this->player = $player;
+ }
+ public function getPlayer()
+ {
+ return $this->player;
+ }
+ public function setSnippet(Postman_Google_Service_YouTube_PlaylistSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+ public function setStatus(Postman_Google_Service_YouTube_PlaylistStatus $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Postman_Google_Service_YouTube_PlaylistContentDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $itemCount;
+
+
+ public function setItemCount($itemCount)
+ {
+ $this->itemCount = $itemCount;
+ }
+ public function getItemCount()
+ {
+ return $this->itemCount;
+ }
+}
+
+class Postman_Google_Service_YouTube_PlaylistItem extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $contentDetailsType = 'Postman_Google_Service_YouTube_PlaylistItemContentDetails';
+ protected $contentDetailsDataType = '';
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Postman_Google_Service_YouTube_PlaylistItemSnippet';
+ protected $snippetDataType = '';
+ protected $statusType = 'Postman_Google_Service_YouTube_PlaylistItemStatus';
+ protected $statusDataType = '';
+
+
+ public function setContentDetails(Postman_Google_Service_YouTube_PlaylistItemContentDetails $contentDetails)
+ {
+ $this->contentDetails = $contentDetails;
+ }
+ public function getContentDetails()
+ {
+ return $this->contentDetails;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSnippet(Postman_Google_Service_YouTube_PlaylistItemSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+ public function setStatus(Postman_Google_Service_YouTube_PlaylistItemStatus $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Postman_Google_Service_YouTube_PlaylistItemContentDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $endAt;
+ public $note;
+ public $startAt;
+ public $videoId;
+
+
+ public function setEndAt($endAt)
+ {
+ $this->endAt = $endAt;
+ }
+ public function getEndAt()
+ {
+ return $this->endAt;
+ }
+ public function setNote($note)
+ {
+ $this->note = $note;
+ }
+ public function getNote()
+ {
+ return $this->note;
+ }
+ public function setStartAt($startAt)
+ {
+ $this->startAt = $startAt;
+ }
+ public function getStartAt()
+ {
+ return $this->startAt;
+ }
+ public function setVideoId($videoId)
+ {
+ $this->videoId = $videoId;
+ }
+ public function getVideoId()
+ {
+ return $this->videoId;
+ }
+}
+
+class Postman_Google_Service_YouTube_PlaylistItemListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Postman_Google_Service_YouTube_PlaylistItem';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Postman_Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $prevPageToken;
+ protected $tokenPaginationType = 'Postman_Google_Service_YouTube_TokenPagination';
+ protected $tokenPaginationDataType = '';
+ public $visitorId;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPageInfo(Postman_Google_Service_YouTube_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setPrevPageToken($prevPageToken)
+ {
+ $this->prevPageToken = $prevPageToken;
+ }
+ public function getPrevPageToken()
+ {
+ return $this->prevPageToken;
+ }
+ public function setTokenPagination(Postman_Google_Service_YouTube_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Postman_Google_Service_YouTube_PlaylistItemSnippet extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $channelId;
+ public $channelTitle;
+ public $description;
+ public $playlistId;
+ public $position;
+ public $publishedAt;
+ protected $resourceIdType = 'Postman_Google_Service_YouTube_ResourceId';
+ protected $resourceIdDataType = '';
+ protected $thumbnailsType = 'Postman_Google_Service_YouTube_ThumbnailDetails';
+ protected $thumbnailsDataType = '';
+ public $title;
+
+
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setChannelTitle($channelTitle)
+ {
+ $this->channelTitle = $channelTitle;
+ }
+ public function getChannelTitle()
+ {
+ return $this->channelTitle;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setPlaylistId($playlistId)
+ {
+ $this->playlistId = $playlistId;
+ }
+ public function getPlaylistId()
+ {
+ return $this->playlistId;
+ }
+ public function setPosition($position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+ public function setPublishedAt($publishedAt)
+ {
+ $this->publishedAt = $publishedAt;
+ }
+ public function getPublishedAt()
+ {
+ return $this->publishedAt;
+ }
+ public function setResourceId(Postman_Google_Service_YouTube_ResourceId $resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+ public function setThumbnails(Postman_Google_Service_YouTube_ThumbnailDetails $thumbnails)
+ {
+ $this->thumbnails = $thumbnails;
+ }
+ public function getThumbnails()
+ {
+ return $this->thumbnails;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_YouTube_PlaylistItemStatus extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $privacyStatus;
+
+
+ public function setPrivacyStatus($privacyStatus)
+ {
+ $this->privacyStatus = $privacyStatus;
+ }
+ public function getPrivacyStatus()
+ {
+ return $this->privacyStatus;
+ }
+}
+
+class Postman_Google_Service_YouTube_PlaylistListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Postman_Google_Service_YouTube_Playlist';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Postman_Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $prevPageToken;
+ protected $tokenPaginationType = 'Postman_Google_Service_YouTube_TokenPagination';
+ protected $tokenPaginationDataType = '';
+ public $visitorId;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPageInfo(Postman_Google_Service_YouTube_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setPrevPageToken($prevPageToken)
+ {
+ $this->prevPageToken = $prevPageToken;
+ }
+ public function getPrevPageToken()
+ {
+ return $this->prevPageToken;
+ }
+ public function setTokenPagination(Postman_Google_Service_YouTube_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Postman_Google_Service_YouTube_PlaylistPlayer extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $embedHtml;
+
+
+ public function setEmbedHtml($embedHtml)
+ {
+ $this->embedHtml = $embedHtml;
+ }
+ public function getEmbedHtml()
+ {
+ return $this->embedHtml;
+ }
+}
+
+class Postman_Google_Service_YouTube_PlaylistSnippet extends Postman_Google_Collection
+{
+ protected $collection_key = 'tags';
+ protected $internal_gapi_mappings = array(
+ );
+ public $channelId;
+ public $channelTitle;
+ public $description;
+ public $publishedAt;
+ public $tags;
+ protected $thumbnailsType = 'Postman_Google_Service_YouTube_ThumbnailDetails';
+ protected $thumbnailsDataType = '';
+ public $title;
+
+
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setChannelTitle($channelTitle)
+ {
+ $this->channelTitle = $channelTitle;
+ }
+ public function getChannelTitle()
+ {
+ return $this->channelTitle;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setPublishedAt($publishedAt)
+ {
+ $this->publishedAt = $publishedAt;
+ }
+ public function getPublishedAt()
+ {
+ return $this->publishedAt;
+ }
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+ public function getTags()
+ {
+ return $this->tags;
+ }
+ public function setThumbnails(Postman_Google_Service_YouTube_ThumbnailDetails $thumbnails)
+ {
+ $this->thumbnails = $thumbnails;
+ }
+ public function getThumbnails()
+ {
+ return $this->thumbnails;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_YouTube_PlaylistStatus extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $privacyStatus;
+
+
+ public function setPrivacyStatus($privacyStatus)
+ {
+ $this->privacyStatus = $privacyStatus;
+ }
+ public function getPrivacyStatus()
+ {
+ return $this->privacyStatus;
+ }
+}
+
+class Postman_Google_Service_YouTube_PromotedItem extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $customMessage;
+ protected $idType = 'Postman_Google_Service_YouTube_PromotedItemId';
+ protected $idDataType = '';
+ public $promotedByContentOwner;
+ protected $timingType = 'Postman_Google_Service_YouTube_InvideoTiming';
+ protected $timingDataType = '';
+
+
+ public function setCustomMessage($customMessage)
+ {
+ $this->customMessage = $customMessage;
+ }
+ public function getCustomMessage()
+ {
+ return $this->customMessage;
+ }
+ public function setId(Postman_Google_Service_YouTube_PromotedItemId $id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setPromotedByContentOwner($promotedByContentOwner)
+ {
+ $this->promotedByContentOwner = $promotedByContentOwner;
+ }
+ public function getPromotedByContentOwner()
+ {
+ return $this->promotedByContentOwner;
+ }
+ public function setTiming(Postman_Google_Service_YouTube_InvideoTiming $timing)
+ {
+ $this->timing = $timing;
+ }
+ public function getTiming()
+ {
+ return $this->timing;
+ }
+}
+
+class Postman_Google_Service_YouTube_PromotedItemId extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $recentlyUploadedBy;
+ public $type;
+ public $videoId;
+ public $websiteUrl;
+
+
+ public function setRecentlyUploadedBy($recentlyUploadedBy)
+ {
+ $this->recentlyUploadedBy = $recentlyUploadedBy;
+ }
+ public function getRecentlyUploadedBy()
+ {
+ return $this->recentlyUploadedBy;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setVideoId($videoId)
+ {
+ $this->videoId = $videoId;
+ }
+ public function getVideoId()
+ {
+ return $this->videoId;
+ }
+ public function setWebsiteUrl($websiteUrl)
+ {
+ $this->websiteUrl = $websiteUrl;
+ }
+ public function getWebsiteUrl()
+ {
+ return $this->websiteUrl;
+ }
+}
+
+class Postman_Google_Service_YouTube_PropertyValue extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $property;
+ public $value;
+
+
+ public function setProperty($property)
+ {
+ $this->property = $property;
+ }
+ public function getProperty()
+ {
+ return $this->property;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Postman_Google_Service_YouTube_ResourceId extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $channelId;
+ public $kind;
+ public $playlistId;
+ public $videoId;
+
+
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPlaylistId($playlistId)
+ {
+ $this->playlistId = $playlistId;
+ }
+ public function getPlaylistId()
+ {
+ return $this->playlistId;
+ }
+ public function setVideoId($videoId)
+ {
+ $this->videoId = $videoId;
+ }
+ public function getVideoId()
+ {
+ return $this->videoId;
+ }
+}
+
+class Postman_Google_Service_YouTube_SearchListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Postman_Google_Service_YouTube_SearchResult';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Postman_Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $prevPageToken;
+ protected $tokenPaginationType = 'Postman_Google_Service_YouTube_TokenPagination';
+ protected $tokenPaginationDataType = '';
+ public $visitorId;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPageInfo(Postman_Google_Service_YouTube_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setPrevPageToken($prevPageToken)
+ {
+ $this->prevPageToken = $prevPageToken;
+ }
+ public function getPrevPageToken()
+ {
+ return $this->prevPageToken;
+ }
+ public function setTokenPagination(Postman_Google_Service_YouTube_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Postman_Google_Service_YouTube_SearchResult extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $idType = 'Postman_Google_Service_YouTube_ResourceId';
+ protected $idDataType = '';
+ public $kind;
+ protected $snippetType = 'Postman_Google_Service_YouTube_SearchResultSnippet';
+ protected $snippetDataType = '';
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId(Postman_Google_Service_YouTube_ResourceId $id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSnippet(Postman_Google_Service_YouTube_SearchResultSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
+
+class Postman_Google_Service_YouTube_SearchResultSnippet extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $channelId;
+ public $channelTitle;
+ public $description;
+ public $liveBroadcastContent;
+ public $publishedAt;
+ protected $thumbnailsType = 'Postman_Google_Service_YouTube_ThumbnailDetails';
+ protected $thumbnailsDataType = '';
+ public $title;
+
+
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setChannelTitle($channelTitle)
+ {
+ $this->channelTitle = $channelTitle;
+ }
+ public function getChannelTitle()
+ {
+ return $this->channelTitle;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setLiveBroadcastContent($liveBroadcastContent)
+ {
+ $this->liveBroadcastContent = $liveBroadcastContent;
+ }
+ public function getLiveBroadcastContent()
+ {
+ return $this->liveBroadcastContent;
+ }
+ public function setPublishedAt($publishedAt)
+ {
+ $this->publishedAt = $publishedAt;
+ }
+ public function getPublishedAt()
+ {
+ return $this->publishedAt;
+ }
+ public function setThumbnails(Postman_Google_Service_YouTube_ThumbnailDetails $thumbnails)
+ {
+ $this->thumbnails = $thumbnails;
+ }
+ public function getThumbnails()
+ {
+ return $this->thumbnails;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_YouTube_Subscription extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $contentDetailsType = 'Postman_Google_Service_YouTube_SubscriptionContentDetails';
+ protected $contentDetailsDataType = '';
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Postman_Google_Service_YouTube_SubscriptionSnippet';
+ protected $snippetDataType = '';
+ protected $subscriberSnippetType = 'Postman_Google_Service_YouTube_SubscriptionSubscriberSnippet';
+ protected $subscriberSnippetDataType = '';
+
+
+ public function setContentDetails(Postman_Google_Service_YouTube_SubscriptionContentDetails $contentDetails)
+ {
+ $this->contentDetails = $contentDetails;
+ }
+ public function getContentDetails()
+ {
+ return $this->contentDetails;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSnippet(Postman_Google_Service_YouTube_SubscriptionSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+ public function setSubscriberSnippet(Postman_Google_Service_YouTube_SubscriptionSubscriberSnippet $subscriberSnippet)
+ {
+ $this->subscriberSnippet = $subscriberSnippet;
+ }
+ public function getSubscriberSnippet()
+ {
+ return $this->subscriberSnippet;
+ }
+}
+
+class Postman_Google_Service_YouTube_SubscriptionContentDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $activityType;
+ public $newItemCount;
+ public $totalItemCount;
+
+
+ public function setActivityType($activityType)
+ {
+ $this->activityType = $activityType;
+ }
+ public function getActivityType()
+ {
+ return $this->activityType;
+ }
+ public function setNewItemCount($newItemCount)
+ {
+ $this->newItemCount = $newItemCount;
+ }
+ public function getNewItemCount()
+ {
+ return $this->newItemCount;
+ }
+ public function setTotalItemCount($totalItemCount)
+ {
+ $this->totalItemCount = $totalItemCount;
+ }
+ public function getTotalItemCount()
+ {
+ return $this->totalItemCount;
+ }
+}
+
+class Postman_Google_Service_YouTube_SubscriptionListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Postman_Google_Service_YouTube_Subscription';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Postman_Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $prevPageToken;
+ protected $tokenPaginationType = 'Postman_Google_Service_YouTube_TokenPagination';
+ protected $tokenPaginationDataType = '';
+ public $visitorId;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPageInfo(Postman_Google_Service_YouTube_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setPrevPageToken($prevPageToken)
+ {
+ $this->prevPageToken = $prevPageToken;
+ }
+ public function getPrevPageToken()
+ {
+ return $this->prevPageToken;
+ }
+ public function setTokenPagination(Postman_Google_Service_YouTube_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Postman_Google_Service_YouTube_SubscriptionSnippet extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $channelId;
+ public $channelTitle;
+ public $description;
+ public $publishedAt;
+ protected $resourceIdType = 'Postman_Google_Service_YouTube_ResourceId';
+ protected $resourceIdDataType = '';
+ protected $thumbnailsType = 'Postman_Google_Service_YouTube_ThumbnailDetails';
+ protected $thumbnailsDataType = '';
+ public $title;
+
+
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setChannelTitle($channelTitle)
+ {
+ $this->channelTitle = $channelTitle;
+ }
+ public function getChannelTitle()
+ {
+ return $this->channelTitle;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setPublishedAt($publishedAt)
+ {
+ $this->publishedAt = $publishedAt;
+ }
+ public function getPublishedAt()
+ {
+ return $this->publishedAt;
+ }
+ public function setResourceId(Postman_Google_Service_YouTube_ResourceId $resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+ public function setThumbnails(Postman_Google_Service_YouTube_ThumbnailDetails $thumbnails)
+ {
+ $this->thumbnails = $thumbnails;
+ }
+ public function getThumbnails()
+ {
+ return $this->thumbnails;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_YouTube_SubscriptionSubscriberSnippet extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $channelId;
+ public $description;
+ protected $thumbnailsType = 'Postman_Google_Service_YouTube_ThumbnailDetails';
+ protected $thumbnailsDataType = '';
+ public $title;
+
+
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setThumbnails(Postman_Google_Service_YouTube_ThumbnailDetails $thumbnails)
+ {
+ $this->thumbnails = $thumbnails;
+ }
+ public function getThumbnails()
+ {
+ return $this->thumbnails;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_YouTube_Thumbnail extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $height;
+ public $url;
+ public $width;
+
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Postman_Google_Service_YouTube_ThumbnailDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $defaultType = 'Postman_Google_Service_YouTube_Thumbnail';
+ protected $defaultDataType = '';
+ protected $highType = 'Postman_Google_Service_YouTube_Thumbnail';
+ protected $highDataType = '';
+ protected $maxresType = 'Postman_Google_Service_YouTube_Thumbnail';
+ protected $maxresDataType = '';
+ protected $mediumType = 'Postman_Google_Service_YouTube_Thumbnail';
+ protected $mediumDataType = '';
+ protected $standardType = 'Postman_Google_Service_YouTube_Thumbnail';
+ protected $standardDataType = '';
+
+
+ public function setDefault(Postman_Google_Service_YouTube_Thumbnail $default)
+ {
+ $this->default = $default;
+ }
+ public function getDefault()
+ {
+ return $this->default;
+ }
+ public function setHigh(Postman_Google_Service_YouTube_Thumbnail $high)
+ {
+ $this->high = $high;
+ }
+ public function getHigh()
+ {
+ return $this->high;
+ }
+ public function setMaxres(Postman_Google_Service_YouTube_Thumbnail $maxres)
+ {
+ $this->maxres = $maxres;
+ }
+ public function getMaxres()
+ {
+ return $this->maxres;
+ }
+ public function setMedium(Postman_Google_Service_YouTube_Thumbnail $medium)
+ {
+ $this->medium = $medium;
+ }
+ public function getMedium()
+ {
+ return $this->medium;
+ }
+ public function setStandard(Postman_Google_Service_YouTube_Thumbnail $standard)
+ {
+ $this->standard = $standard;
+ }
+ public function getStandard()
+ {
+ return $this->standard;
+ }
+}
+
+class Postman_Google_Service_YouTube_ThumbnailSetResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Postman_Google_Service_YouTube_ThumbnailDetails';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $visitorId;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Postman_Google_Service_YouTube_TokenPagination extends Postman_Google_Model
+{
+}
+
+class Postman_Google_Service_YouTube_Video extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $ageGatingType = 'Postman_Google_Service_YouTube_VideoAgeGating';
+ protected $ageGatingDataType = '';
+ protected $contentDetailsType = 'Postman_Google_Service_YouTube_VideoContentDetails';
+ protected $contentDetailsDataType = '';
+ protected $conversionPingsType = 'Postman_Google_Service_YouTube_VideoConversionPings';
+ protected $conversionPingsDataType = '';
+ public $etag;
+ protected $fileDetailsType = 'Postman_Google_Service_YouTube_VideoFileDetails';
+ protected $fileDetailsDataType = '';
+ public $id;
+ public $kind;
+ protected $liveStreamingDetailsType = 'Postman_Google_Service_YouTube_VideoLiveStreamingDetails';
+ protected $liveStreamingDetailsDataType = '';
+ protected $monetizationDetailsType = 'Postman_Google_Service_YouTube_VideoMonetizationDetails';
+ protected $monetizationDetailsDataType = '';
+ protected $playerType = 'Postman_Google_Service_YouTube_VideoPlayer';
+ protected $playerDataType = '';
+ protected $processingDetailsType = 'Postman_Google_Service_YouTube_VideoProcessingDetails';
+ protected $processingDetailsDataType = '';
+ protected $projectDetailsType = 'Postman_Google_Service_YouTube_VideoProjectDetails';
+ protected $projectDetailsDataType = '';
+ protected $recordingDetailsType = 'Postman_Google_Service_YouTube_VideoRecordingDetails';
+ protected $recordingDetailsDataType = '';
+ protected $snippetType = 'Postman_Google_Service_YouTube_VideoSnippet';
+ protected $snippetDataType = '';
+ protected $statisticsType = 'Postman_Google_Service_YouTube_VideoStatistics';
+ protected $statisticsDataType = '';
+ protected $statusType = 'Postman_Google_Service_YouTube_VideoStatus';
+ protected $statusDataType = '';
+ protected $suggestionsType = 'Postman_Google_Service_YouTube_VideoSuggestions';
+ protected $suggestionsDataType = '';
+ protected $topicDetailsType = 'Postman_Google_Service_YouTube_VideoTopicDetails';
+ protected $topicDetailsDataType = '';
+
+
+ public function setAgeGating(Postman_Google_Service_YouTube_VideoAgeGating $ageGating)
+ {
+ $this->ageGating = $ageGating;
+ }
+ public function getAgeGating()
+ {
+ return $this->ageGating;
+ }
+ public function setContentDetails(Postman_Google_Service_YouTube_VideoContentDetails $contentDetails)
+ {
+ $this->contentDetails = $contentDetails;
+ }
+ public function getContentDetails()
+ {
+ return $this->contentDetails;
+ }
+ public function setConversionPings(Postman_Google_Service_YouTube_VideoConversionPings $conversionPings)
+ {
+ $this->conversionPings = $conversionPings;
+ }
+ public function getConversionPings()
+ {
+ return $this->conversionPings;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setFileDetails(Postman_Google_Service_YouTube_VideoFileDetails $fileDetails)
+ {
+ $this->fileDetails = $fileDetails;
+ }
+ public function getFileDetails()
+ {
+ return $this->fileDetails;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLiveStreamingDetails(Postman_Google_Service_YouTube_VideoLiveStreamingDetails $liveStreamingDetails)
+ {
+ $this->liveStreamingDetails = $liveStreamingDetails;
+ }
+ public function getLiveStreamingDetails()
+ {
+ return $this->liveStreamingDetails;
+ }
+ public function setMonetizationDetails(Postman_Google_Service_YouTube_VideoMonetizationDetails $monetizationDetails)
+ {
+ $this->monetizationDetails = $monetizationDetails;
+ }
+ public function getMonetizationDetails()
+ {
+ return $this->monetizationDetails;
+ }
+ public function setPlayer(Postman_Google_Service_YouTube_VideoPlayer $player)
+ {
+ $this->player = $player;
+ }
+ public function getPlayer()
+ {
+ return $this->player;
+ }
+ public function setProcessingDetails(Postman_Google_Service_YouTube_VideoProcessingDetails $processingDetails)
+ {
+ $this->processingDetails = $processingDetails;
+ }
+ public function getProcessingDetails()
+ {
+ return $this->processingDetails;
+ }
+ public function setProjectDetails(Postman_Google_Service_YouTube_VideoProjectDetails $projectDetails)
+ {
+ $this->projectDetails = $projectDetails;
+ }
+ public function getProjectDetails()
+ {
+ return $this->projectDetails;
+ }
+ public function setRecordingDetails(Postman_Google_Service_YouTube_VideoRecordingDetails $recordingDetails)
+ {
+ $this->recordingDetails = $recordingDetails;
+ }
+ public function getRecordingDetails()
+ {
+ return $this->recordingDetails;
+ }
+ public function setSnippet(Postman_Google_Service_YouTube_VideoSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+ public function setStatistics(Postman_Google_Service_YouTube_VideoStatistics $statistics)
+ {
+ $this->statistics = $statistics;
+ }
+ public function getStatistics()
+ {
+ return $this->statistics;
+ }
+ public function setStatus(Postman_Google_Service_YouTube_VideoStatus $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setSuggestions(Postman_Google_Service_YouTube_VideoSuggestions $suggestions)
+ {
+ $this->suggestions = $suggestions;
+ }
+ public function getSuggestions()
+ {
+ return $this->suggestions;
+ }
+ public function setTopicDetails(Postman_Google_Service_YouTube_VideoTopicDetails $topicDetails)
+ {
+ $this->topicDetails = $topicDetails;
+ }
+ public function getTopicDetails()
+ {
+ return $this->topicDetails;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoAgeGating extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $alcoholContent;
+ public $restricted;
+ public $videoGameRating;
+
+
+ public function setAlcoholContent($alcoholContent)
+ {
+ $this->alcoholContent = $alcoholContent;
+ }
+ public function getAlcoholContent()
+ {
+ return $this->alcoholContent;
+ }
+ public function setRestricted($restricted)
+ {
+ $this->restricted = $restricted;
+ }
+ public function getRestricted()
+ {
+ return $this->restricted;
+ }
+ public function setVideoGameRating($videoGameRating)
+ {
+ $this->videoGameRating = $videoGameRating;
+ }
+ public function getVideoGameRating()
+ {
+ return $this->videoGameRating;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoCategory extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Postman_Google_Service_YouTube_VideoCategorySnippet';
+ protected $snippetDataType = '';
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSnippet(Postman_Google_Service_YouTube_VideoCategorySnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoCategoryListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Postman_Google_Service_YouTube_VideoCategory';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Postman_Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $prevPageToken;
+ protected $tokenPaginationType = 'Postman_Google_Service_YouTube_TokenPagination';
+ protected $tokenPaginationDataType = '';
+ public $visitorId;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPageInfo(Postman_Google_Service_YouTube_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setPrevPageToken($prevPageToken)
+ {
+ $this->prevPageToken = $prevPageToken;
+ }
+ public function getPrevPageToken()
+ {
+ return $this->prevPageToken;
+ }
+ public function setTokenPagination(Postman_Google_Service_YouTube_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoCategorySnippet extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $assignable;
+ public $channelId;
+ public $title;
+
+
+ public function setAssignable($assignable)
+ {
+ $this->assignable = $assignable;
+ }
+ public function getAssignable()
+ {
+ return $this->assignable;
+ }
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoContentDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $caption;
+ protected $contentRatingType = 'Postman_Google_Service_YouTube_ContentRating';
+ protected $contentRatingDataType = '';
+ protected $countryRestrictionType = 'Postman_Google_Service_YouTube_AccessPolicy';
+ protected $countryRestrictionDataType = '';
+ public $definition;
+ public $dimension;
+ public $duration;
+ public $licensedContent;
+ protected $regionRestrictionType = 'Postman_Google_Service_YouTube_VideoContentDetailsRegionRestriction';
+ protected $regionRestrictionDataType = '';
+
+
+ public function setCaption($caption)
+ {
+ $this->caption = $caption;
+ }
+ public function getCaption()
+ {
+ return $this->caption;
+ }
+ public function setContentRating(Postman_Google_Service_YouTube_ContentRating $contentRating)
+ {
+ $this->contentRating = $contentRating;
+ }
+ public function getContentRating()
+ {
+ return $this->contentRating;
+ }
+ public function setCountryRestriction(Postman_Google_Service_YouTube_AccessPolicy $countryRestriction)
+ {
+ $this->countryRestriction = $countryRestriction;
+ }
+ public function getCountryRestriction()
+ {
+ return $this->countryRestriction;
+ }
+ public function setDefinition($definition)
+ {
+ $this->definition = $definition;
+ }
+ public function getDefinition()
+ {
+ return $this->definition;
+ }
+ public function setDimension($dimension)
+ {
+ $this->dimension = $dimension;
+ }
+ public function getDimension()
+ {
+ return $this->dimension;
+ }
+ public function setDuration($duration)
+ {
+ $this->duration = $duration;
+ }
+ public function getDuration()
+ {
+ return $this->duration;
+ }
+ public function setLicensedContent($licensedContent)
+ {
+ $this->licensedContent = $licensedContent;
+ }
+ public function getLicensedContent()
+ {
+ return $this->licensedContent;
+ }
+ public function setRegionRestriction(Postman_Google_Service_YouTube_VideoContentDetailsRegionRestriction $regionRestriction)
+ {
+ $this->regionRestriction = $regionRestriction;
+ }
+ public function getRegionRestriction()
+ {
+ return $this->regionRestriction;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoContentDetailsRegionRestriction extends Postman_Google_Collection
+{
+ protected $collection_key = 'blocked';
+ protected $internal_gapi_mappings = array(
+ );
+ public $allowed;
+ public $blocked;
+
+
+ public function setAllowed($allowed)
+ {
+ $this->allowed = $allowed;
+ }
+ public function getAllowed()
+ {
+ return $this->allowed;
+ }
+ public function setBlocked($blocked)
+ {
+ $this->blocked = $blocked;
+ }
+ public function getBlocked()
+ {
+ return $this->blocked;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoConversionPing extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $context;
+ public $conversionUrl;
+
+
+ public function setContext($context)
+ {
+ $this->context = $context;
+ }
+ public function getContext()
+ {
+ return $this->context;
+ }
+ public function setConversionUrl($conversionUrl)
+ {
+ $this->conversionUrl = $conversionUrl;
+ }
+ public function getConversionUrl()
+ {
+ return $this->conversionUrl;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoConversionPings extends Postman_Google_Collection
+{
+ protected $collection_key = 'pings';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $pingsType = 'Postman_Google_Service_YouTube_VideoConversionPing';
+ protected $pingsDataType = 'array';
+
+
+ public function setPings($pings)
+ {
+ $this->pings = $pings;
+ }
+ public function getPings()
+ {
+ return $this->pings;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoFileDetails extends Postman_Google_Collection
+{
+ protected $collection_key = 'videoStreams';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $audioStreamsType = 'Postman_Google_Service_YouTube_VideoFileDetailsAudioStream';
+ protected $audioStreamsDataType = 'array';
+ public $bitrateBps;
+ public $container;
+ public $creationTime;
+ public $durationMs;
+ public $fileName;
+ public $fileSize;
+ public $fileType;
+ protected $recordingLocationType = 'Postman_Google_Service_YouTube_GeoPoint';
+ protected $recordingLocationDataType = '';
+ protected $videoStreamsType = 'Postman_Google_Service_YouTube_VideoFileDetailsVideoStream';
+ protected $videoStreamsDataType = 'array';
+
+
+ public function setAudioStreams($audioStreams)
+ {
+ $this->audioStreams = $audioStreams;
+ }
+ public function getAudioStreams()
+ {
+ return $this->audioStreams;
+ }
+ public function setBitrateBps($bitrateBps)
+ {
+ $this->bitrateBps = $bitrateBps;
+ }
+ public function getBitrateBps()
+ {
+ return $this->bitrateBps;
+ }
+ public function setContainer($container)
+ {
+ $this->container = $container;
+ }
+ public function getContainer()
+ {
+ return $this->container;
+ }
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+ public function setDurationMs($durationMs)
+ {
+ $this->durationMs = $durationMs;
+ }
+ public function getDurationMs()
+ {
+ return $this->durationMs;
+ }
+ public function setFileName($fileName)
+ {
+ $this->fileName = $fileName;
+ }
+ public function getFileName()
+ {
+ return $this->fileName;
+ }
+ public function setFileSize($fileSize)
+ {
+ $this->fileSize = $fileSize;
+ }
+ public function getFileSize()
+ {
+ return $this->fileSize;
+ }
+ public function setFileType($fileType)
+ {
+ $this->fileType = $fileType;
+ }
+ public function getFileType()
+ {
+ return $this->fileType;
+ }
+ public function setRecordingLocation(Postman_Google_Service_YouTube_GeoPoint $recordingLocation)
+ {
+ $this->recordingLocation = $recordingLocation;
+ }
+ public function getRecordingLocation()
+ {
+ return $this->recordingLocation;
+ }
+ public function setVideoStreams($videoStreams)
+ {
+ $this->videoStreams = $videoStreams;
+ }
+ public function getVideoStreams()
+ {
+ return $this->videoStreams;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoFileDetailsAudioStream extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $bitrateBps;
+ public $channelCount;
+ public $codec;
+ public $vendor;
+
+
+ public function setBitrateBps($bitrateBps)
+ {
+ $this->bitrateBps = $bitrateBps;
+ }
+ public function getBitrateBps()
+ {
+ return $this->bitrateBps;
+ }
+ public function setChannelCount($channelCount)
+ {
+ $this->channelCount = $channelCount;
+ }
+ public function getChannelCount()
+ {
+ return $this->channelCount;
+ }
+ public function setCodec($codec)
+ {
+ $this->codec = $codec;
+ }
+ public function getCodec()
+ {
+ return $this->codec;
+ }
+ public function setVendor($vendor)
+ {
+ $this->vendor = $vendor;
+ }
+ public function getVendor()
+ {
+ return $this->vendor;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoFileDetailsVideoStream extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $aspectRatio;
+ public $bitrateBps;
+ public $codec;
+ public $frameRateFps;
+ public $heightPixels;
+ public $rotation;
+ public $vendor;
+ public $widthPixels;
+
+
+ public function setAspectRatio($aspectRatio)
+ {
+ $this->aspectRatio = $aspectRatio;
+ }
+ public function getAspectRatio()
+ {
+ return $this->aspectRatio;
+ }
+ public function setBitrateBps($bitrateBps)
+ {
+ $this->bitrateBps = $bitrateBps;
+ }
+ public function getBitrateBps()
+ {
+ return $this->bitrateBps;
+ }
+ public function setCodec($codec)
+ {
+ $this->codec = $codec;
+ }
+ public function getCodec()
+ {
+ return $this->codec;
+ }
+ public function setFrameRateFps($frameRateFps)
+ {
+ $this->frameRateFps = $frameRateFps;
+ }
+ public function getFrameRateFps()
+ {
+ return $this->frameRateFps;
+ }
+ public function setHeightPixels($heightPixels)
+ {
+ $this->heightPixels = $heightPixels;
+ }
+ public function getHeightPixels()
+ {
+ return $this->heightPixels;
+ }
+ public function setRotation($rotation)
+ {
+ $this->rotation = $rotation;
+ }
+ public function getRotation()
+ {
+ return $this->rotation;
+ }
+ public function setVendor($vendor)
+ {
+ $this->vendor = $vendor;
+ }
+ public function getVendor()
+ {
+ return $this->vendor;
+ }
+ public function setWidthPixels($widthPixels)
+ {
+ $this->widthPixels = $widthPixels;
+ }
+ public function getWidthPixels()
+ {
+ return $this->widthPixels;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoGetRatingResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Postman_Google_Service_YouTube_VideoRating';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $visitorId;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoListResponse extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Postman_Google_Service_YouTube_Video';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Postman_Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ public $prevPageToken;
+ protected $tokenPaginationType = 'Postman_Google_Service_YouTube_TokenPagination';
+ protected $tokenPaginationDataType = '';
+ public $visitorId;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPageInfo(Postman_Google_Service_YouTube_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setPrevPageToken($prevPageToken)
+ {
+ $this->prevPageToken = $prevPageToken;
+ }
+ public function getPrevPageToken()
+ {
+ return $this->prevPageToken;
+ }
+ public function setTokenPagination(Postman_Google_Service_YouTube_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoLiveStreamingDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $actualEndTime;
+ public $actualStartTime;
+ public $concurrentViewers;
+ public $scheduledEndTime;
+ public $scheduledStartTime;
+
+
+ public function setActualEndTime($actualEndTime)
+ {
+ $this->actualEndTime = $actualEndTime;
+ }
+ public function getActualEndTime()
+ {
+ return $this->actualEndTime;
+ }
+ public function setActualStartTime($actualStartTime)
+ {
+ $this->actualStartTime = $actualStartTime;
+ }
+ public function getActualStartTime()
+ {
+ return $this->actualStartTime;
+ }
+ public function setConcurrentViewers($concurrentViewers)
+ {
+ $this->concurrentViewers = $concurrentViewers;
+ }
+ public function getConcurrentViewers()
+ {
+ return $this->concurrentViewers;
+ }
+ public function setScheduledEndTime($scheduledEndTime)
+ {
+ $this->scheduledEndTime = $scheduledEndTime;
+ }
+ public function getScheduledEndTime()
+ {
+ return $this->scheduledEndTime;
+ }
+ public function setScheduledStartTime($scheduledStartTime)
+ {
+ $this->scheduledStartTime = $scheduledStartTime;
+ }
+ public function getScheduledStartTime()
+ {
+ return $this->scheduledStartTime;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoMonetizationDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $accessType = 'Postman_Google_Service_YouTube_AccessPolicy';
+ protected $accessDataType = '';
+
+
+ public function setAccess(Postman_Google_Service_YouTube_AccessPolicy $access)
+ {
+ $this->access = $access;
+ }
+ public function getAccess()
+ {
+ return $this->access;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoPlayer extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $embedHtml;
+
+
+ public function setEmbedHtml($embedHtml)
+ {
+ $this->embedHtml = $embedHtml;
+ }
+ public function getEmbedHtml()
+ {
+ return $this->embedHtml;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoProcessingDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $editorSuggestionsAvailability;
+ public $fileDetailsAvailability;
+ public $processingFailureReason;
+ public $processingIssuesAvailability;
+ protected $processingProgressType = 'Postman_Google_Service_YouTube_VideoProcessingDetailsProcessingProgress';
+ protected $processingProgressDataType = '';
+ public $processingStatus;
+ public $tagSuggestionsAvailability;
+ public $thumbnailsAvailability;
+
+
+ public function setEditorSuggestionsAvailability($editorSuggestionsAvailability)
+ {
+ $this->editorSuggestionsAvailability = $editorSuggestionsAvailability;
+ }
+ public function getEditorSuggestionsAvailability()
+ {
+ return $this->editorSuggestionsAvailability;
+ }
+ public function setFileDetailsAvailability($fileDetailsAvailability)
+ {
+ $this->fileDetailsAvailability = $fileDetailsAvailability;
+ }
+ public function getFileDetailsAvailability()
+ {
+ return $this->fileDetailsAvailability;
+ }
+ public function setProcessingFailureReason($processingFailureReason)
+ {
+ $this->processingFailureReason = $processingFailureReason;
+ }
+ public function getProcessingFailureReason()
+ {
+ return $this->processingFailureReason;
+ }
+ public function setProcessingIssuesAvailability($processingIssuesAvailability)
+ {
+ $this->processingIssuesAvailability = $processingIssuesAvailability;
+ }
+ public function getProcessingIssuesAvailability()
+ {
+ return $this->processingIssuesAvailability;
+ }
+ public function setProcessingProgress(Postman_Google_Service_YouTube_VideoProcessingDetailsProcessingProgress $processingProgress)
+ {
+ $this->processingProgress = $processingProgress;
+ }
+ public function getProcessingProgress()
+ {
+ return $this->processingProgress;
+ }
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+ public function setTagSuggestionsAvailability($tagSuggestionsAvailability)
+ {
+ $this->tagSuggestionsAvailability = $tagSuggestionsAvailability;
+ }
+ public function getTagSuggestionsAvailability()
+ {
+ return $this->tagSuggestionsAvailability;
+ }
+ public function setThumbnailsAvailability($thumbnailsAvailability)
+ {
+ $this->thumbnailsAvailability = $thumbnailsAvailability;
+ }
+ public function getThumbnailsAvailability()
+ {
+ return $this->thumbnailsAvailability;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoProcessingDetailsProcessingProgress extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $partsProcessed;
+ public $partsTotal;
+ public $timeLeftMs;
+
+
+ public function setPartsProcessed($partsProcessed)
+ {
+ $this->partsProcessed = $partsProcessed;
+ }
+ public function getPartsProcessed()
+ {
+ return $this->partsProcessed;
+ }
+ public function setPartsTotal($partsTotal)
+ {
+ $this->partsTotal = $partsTotal;
+ }
+ public function getPartsTotal()
+ {
+ return $this->partsTotal;
+ }
+ public function setTimeLeftMs($timeLeftMs)
+ {
+ $this->timeLeftMs = $timeLeftMs;
+ }
+ public function getTimeLeftMs()
+ {
+ return $this->timeLeftMs;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoProjectDetails extends Postman_Google_Collection
+{
+ protected $collection_key = 'tags';
+ protected $internal_gapi_mappings = array(
+ );
+ public $tags;
+
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoRating extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $rating;
+ public $videoId;
+
+
+ public function setRating($rating)
+ {
+ $this->rating = $rating;
+ }
+ public function getRating()
+ {
+ return $this->rating;
+ }
+ public function setVideoId($videoId)
+ {
+ $this->videoId = $videoId;
+ }
+ public function getVideoId()
+ {
+ return $this->videoId;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoRecordingDetails extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $locationType = 'Postman_Google_Service_YouTube_GeoPoint';
+ protected $locationDataType = '';
+ public $locationDescription;
+ public $recordingDate;
+
+
+ public function setLocation(Postman_Google_Service_YouTube_GeoPoint $location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setLocationDescription($locationDescription)
+ {
+ $this->locationDescription = $locationDescription;
+ }
+ public function getLocationDescription()
+ {
+ return $this->locationDescription;
+ }
+ public function setRecordingDate($recordingDate)
+ {
+ $this->recordingDate = $recordingDate;
+ }
+ public function getRecordingDate()
+ {
+ return $this->recordingDate;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoSnippet extends Postman_Google_Collection
+{
+ protected $collection_key = 'tags';
+ protected $internal_gapi_mappings = array(
+ );
+ public $categoryId;
+ public $channelId;
+ public $channelTitle;
+ public $description;
+ public $liveBroadcastContent;
+ public $publishedAt;
+ public $tags;
+ protected $thumbnailsType = 'Postman_Google_Service_YouTube_ThumbnailDetails';
+ protected $thumbnailsDataType = '';
+ public $title;
+
+
+ public function setCategoryId($categoryId)
+ {
+ $this->categoryId = $categoryId;
+ }
+ public function getCategoryId()
+ {
+ return $this->categoryId;
+ }
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setChannelTitle($channelTitle)
+ {
+ $this->channelTitle = $channelTitle;
+ }
+ public function getChannelTitle()
+ {
+ return $this->channelTitle;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setLiveBroadcastContent($liveBroadcastContent)
+ {
+ $this->liveBroadcastContent = $liveBroadcastContent;
+ }
+ public function getLiveBroadcastContent()
+ {
+ return $this->liveBroadcastContent;
+ }
+ public function setPublishedAt($publishedAt)
+ {
+ $this->publishedAt = $publishedAt;
+ }
+ public function getPublishedAt()
+ {
+ return $this->publishedAt;
+ }
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+ public function getTags()
+ {
+ return $this->tags;
+ }
+ public function setThumbnails(Postman_Google_Service_YouTube_ThumbnailDetails $thumbnails)
+ {
+ $this->thumbnails = $thumbnails;
+ }
+ public function getThumbnails()
+ {
+ return $this->thumbnails;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoStatistics extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $commentCount;
+ public $dislikeCount;
+ public $favoriteCount;
+ public $likeCount;
+ public $viewCount;
+
+
+ public function setCommentCount($commentCount)
+ {
+ $this->commentCount = $commentCount;
+ }
+ public function getCommentCount()
+ {
+ return $this->commentCount;
+ }
+ public function setDislikeCount($dislikeCount)
+ {
+ $this->dislikeCount = $dislikeCount;
+ }
+ public function getDislikeCount()
+ {
+ return $this->dislikeCount;
+ }
+ public function setFavoriteCount($favoriteCount)
+ {
+ $this->favoriteCount = $favoriteCount;
+ }
+ public function getFavoriteCount()
+ {
+ return $this->favoriteCount;
+ }
+ public function setLikeCount($likeCount)
+ {
+ $this->likeCount = $likeCount;
+ }
+ public function getLikeCount()
+ {
+ return $this->likeCount;
+ }
+ public function setViewCount($viewCount)
+ {
+ $this->viewCount = $viewCount;
+ }
+ public function getViewCount()
+ {
+ return $this->viewCount;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoStatus extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $embeddable;
+ public $failureReason;
+ public $license;
+ public $privacyStatus;
+ public $publicStatsViewable;
+ public $publishAt;
+ public $rejectionReason;
+ public $uploadStatus;
+
+
+ public function setEmbeddable($embeddable)
+ {
+ $this->embeddable = $embeddable;
+ }
+ public function getEmbeddable()
+ {
+ return $this->embeddable;
+ }
+ public function setFailureReason($failureReason)
+ {
+ $this->failureReason = $failureReason;
+ }
+ public function getFailureReason()
+ {
+ return $this->failureReason;
+ }
+ public function setLicense($license)
+ {
+ $this->license = $license;
+ }
+ public function getLicense()
+ {
+ return $this->license;
+ }
+ public function setPrivacyStatus($privacyStatus)
+ {
+ $this->privacyStatus = $privacyStatus;
+ }
+ public function getPrivacyStatus()
+ {
+ return $this->privacyStatus;
+ }
+ public function setPublicStatsViewable($publicStatsViewable)
+ {
+ $this->publicStatsViewable = $publicStatsViewable;
+ }
+ public function getPublicStatsViewable()
+ {
+ return $this->publicStatsViewable;
+ }
+ public function setPublishAt($publishAt)
+ {
+ $this->publishAt = $publishAt;
+ }
+ public function getPublishAt()
+ {
+ return $this->publishAt;
+ }
+ public function setRejectionReason($rejectionReason)
+ {
+ $this->rejectionReason = $rejectionReason;
+ }
+ public function getRejectionReason()
+ {
+ return $this->rejectionReason;
+ }
+ public function setUploadStatus($uploadStatus)
+ {
+ $this->uploadStatus = $uploadStatus;
+ }
+ public function getUploadStatus()
+ {
+ return $this->uploadStatus;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoSuggestions extends Postman_Google_Collection
+{
+ protected $collection_key = 'tagSuggestions';
+ protected $internal_gapi_mappings = array(
+ );
+ public $editorSuggestions;
+ public $processingErrors;
+ public $processingHints;
+ public $processingWarnings;
+ protected $tagSuggestionsType = 'Postman_Google_Service_YouTube_VideoSuggestionsTagSuggestion';
+ protected $tagSuggestionsDataType = 'array';
+
+
+ public function setEditorSuggestions($editorSuggestions)
+ {
+ $this->editorSuggestions = $editorSuggestions;
+ }
+ public function getEditorSuggestions()
+ {
+ return $this->editorSuggestions;
+ }
+ public function setProcessingErrors($processingErrors)
+ {
+ $this->processingErrors = $processingErrors;
+ }
+ public function getProcessingErrors()
+ {
+ return $this->processingErrors;
+ }
+ public function setProcessingHints($processingHints)
+ {
+ $this->processingHints = $processingHints;
+ }
+ public function getProcessingHints()
+ {
+ return $this->processingHints;
+ }
+ public function setProcessingWarnings($processingWarnings)
+ {
+ $this->processingWarnings = $processingWarnings;
+ }
+ public function getProcessingWarnings()
+ {
+ return $this->processingWarnings;
+ }
+ public function setTagSuggestions($tagSuggestions)
+ {
+ $this->tagSuggestions = $tagSuggestions;
+ }
+ public function getTagSuggestions()
+ {
+ return $this->tagSuggestions;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoSuggestionsTagSuggestion extends Postman_Google_Collection
+{
+ protected $collection_key = 'categoryRestricts';
+ protected $internal_gapi_mappings = array(
+ );
+ public $categoryRestricts;
+ public $tag;
+
+
+ public function setCategoryRestricts($categoryRestricts)
+ {
+ $this->categoryRestricts = $categoryRestricts;
+ }
+ public function getCategoryRestricts()
+ {
+ return $this->categoryRestricts;
+ }
+ public function setTag($tag)
+ {
+ $this->tag = $tag;
+ }
+ public function getTag()
+ {
+ return $this->tag;
+ }
+}
+
+class Postman_Google_Service_YouTube_VideoTopicDetails extends Postman_Google_Collection
+{
+ protected $collection_key = 'topicIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $relevantTopicIds;
+ public $topicIds;
+
+
+ public function setRelevantTopicIds($relevantTopicIds)
+ {
+ $this->relevantTopicIds = $relevantTopicIds;
+ }
+ public function getRelevantTopicIds()
+ {
+ return $this->relevantTopicIds;
+ }
+ public function setTopicIds($topicIds)
+ {
+ $this->topicIds = $topicIds;
+ }
+ public function getTopicIds()
+ {
+ return $this->topicIds;
+ }
+}
+
+class Postman_Google_Service_YouTube_WatchSettings extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $backgroundColor;
+ public $featuredPlaylistId;
+ public $textColor;
+
+
+ public function setBackgroundColor($backgroundColor)
+ {
+ $this->backgroundColor = $backgroundColor;
+ }
+ public function getBackgroundColor()
+ {
+ return $this->backgroundColor;
+ }
+ public function setFeaturedPlaylistId($featuredPlaylistId)
+ {
+ $this->featuredPlaylistId = $featuredPlaylistId;
+ }
+ public function getFeaturedPlaylistId()
+ {
+ return $this->featuredPlaylistId;
+ }
+ public function setTextColor($textColor)
+ {
+ $this->textColor = $textColor;
+ }
+ public function getTextColor()
+ {
+ return $this->textColor;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/YouTubeAnalytics.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/YouTubeAnalytics.php
new file mode 100644
index 0000000..158f559
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/YouTubeAnalytics.php
@@ -0,0 +1,608 @@
+<?php
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+
+/**
+ * Service definition for YouTubeAnalytics (v1).
+ *
+ * <p>
+ * Retrieve your YouTube Analytics reports.</p>
+ *
+ * <p>
+ * For more information about this service, see the API
+ * <a href="http://developers.google.com/youtube/analytics/" target="_blank">Documentation</a>
+ * </p>
+ *
+ * @author Google, Inc.
+ */
+class Postman_Google_Service_YouTubeAnalytics extends Postman_Google_Service
+{
+ /** View YouTube Analytics monetary reports for your YouTube content. */
+ const YT_ANALYTICS_MONETARY_READONLY =
+ "https://www.googleapis.com/auth/yt-analytics-monetary.readonly";
+ /** View YouTube Analytics reports for your YouTube content. */
+ const YT_ANALYTICS_READONLY =
+ "https://www.googleapis.com/auth/yt-analytics.readonly";
+
+ public $batchReportDefinitions;
+ public $batchReports;
+ public $reports;
+
+
+ /**
+ * Constructs the internal representation of the YouTubeAnalytics service.
+ *
+ * @param Postman_Google_Client $client
+ */
+ public function __construct(Postman_Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'youtube/analytics/v1/';
+ $this->version = 'v1';
+ $this->serviceName = 'youtubeAnalytics';
+
+ $this->batchReportDefinitions = new Postman_Google_Service_YouTubeAnalytics_BatchReportDefinitions_Resource(
+ $this,
+ $this->serviceName,
+ 'batchReportDefinitions',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'batchReportDefinitions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->batchReports = new Postman_Google_Service_YouTubeAnalytics_BatchReports_Resource(
+ $this,
+ $this->serviceName,
+ 'batchReports',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'batchReports',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'batchReportDefinitionId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'onBehalfOfContentOwner' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->reports = new Postman_Google_Service_YouTubeAnalytics_Reports_Resource(
+ $this,
+ $this->serviceName,
+ 'reports',
+ array(
+ 'methods' => array(
+ 'query' => array(
+ 'path' => 'reports',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'start-date' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'end-date' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'metrics' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'sort' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'dimensions' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'filters' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "batchReportDefinitions" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeAnalyticsService = new Postman_Google_Service_YouTubeAnalytics(...);
+ * $batchReportDefinitions = $youtubeAnalyticsService->batchReportDefinitions;
+ * </code>
+ */
+class Postman_Google_Service_YouTubeAnalytics_BatchReportDefinitions_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves a list of available batch report definitions.
+ * (batchReportDefinitions.listBatchReportDefinitions)
+ *
+ * @param string $onBehalfOfContentOwner The onBehalfOfContentOwner parameter
+ * identifies the content owner that the user is acting on behalf of.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_YouTubeAnalytics_BatchReportDefinitionList
+ */
+ public function listBatchReportDefinitions($onBehalfOfContentOwner, $optParams = array())
+ {
+ $params = array('onBehalfOfContentOwner' => $onBehalfOfContentOwner);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_YouTubeAnalytics_BatchReportDefinitionList");
+ }
+}
+
+/**
+ * The "batchReports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeAnalyticsService = new Postman_Google_Service_YouTubeAnalytics(...);
+ * $batchReports = $youtubeAnalyticsService->batchReports;
+ * </code>
+ */
+class Postman_Google_Service_YouTubeAnalytics_BatchReports_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieves a list of processed batch reports. (batchReports.listBatchReports)
+ *
+ * @param string $batchReportDefinitionId The batchReportDefinitionId parameter
+ * specifies the ID of the batch reportort definition for which you are
+ * retrieving reports.
+ * @param string $onBehalfOfContentOwner The onBehalfOfContentOwner parameter
+ * identifies the content owner that the user is acting on behalf of.
+ * @param array $optParams Optional parameters.
+ * @return Postman_Google_Service_YouTubeAnalytics_BatchReportList
+ */
+ public function listBatchReports($batchReportDefinitionId, $onBehalfOfContentOwner, $optParams = array())
+ {
+ $params = array('batchReportDefinitionId' => $batchReportDefinitionId, 'onBehalfOfContentOwner' => $onBehalfOfContentOwner);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Postman_Google_Service_YouTubeAnalytics_BatchReportList");
+ }
+}
+
+/**
+ * The "reports" collection of methods.
+ * Typical usage is:
+ * <code>
+ * $youtubeAnalyticsService = new Postman_Google_Service_YouTubeAnalytics(...);
+ * $reports = $youtubeAnalyticsService->reports;
+ * </code>
+ */
+class Postman_Google_Service_YouTubeAnalytics_Reports_Resource extends Postman_Google_Service_Resource
+{
+
+ /**
+ * Retrieve your YouTube Analytics reports. (reports.query)
+ *
+ * @param string $ids Identifies the YouTube channel or content owner for which
+ * you are retrieving YouTube Analytics data. - To request data for a YouTube
+ * user, set the ids parameter value to channel==CHANNEL_ID, where CHANNEL_ID
+ * specifies the unique YouTube channel ID. - To request data for a YouTube CMS
+ * content owner, set the ids parameter value to contentOwner==OWNER_NAME, where
+ * OWNER_NAME is the CMS name of the content owner.
+ * @param string $startDate The start date for fetching YouTube Analytics data.
+ * The value should be in YYYY-MM-DD format.
+ * @param string $endDate The end date for fetching YouTube Analytics data. The
+ * value should be in YYYY-MM-DD format.
+ * @param string $metrics A comma-separated list of YouTube Analytics metrics,
+ * such as views or likes,dislikes. See the Available Reports document for a
+ * list of the reports that you can retrieve and the metrics available in each
+ * report, and see the Metrics document for definitions of those metrics.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of rows to include in the
+ * response.
+ * @opt_param string sort A comma-separated list of dimensions or metrics that
+ * determine the sort order for YouTube Analytics data. By default the sort
+ * order is ascending. The '-' prefix causes descending sort order.
+ * @opt_param string dimensions A comma-separated list of YouTube Analytics
+ * dimensions, such as views or ageGroup,gender. See the Available Reports
+ * document for a list of the reports that you can retrieve and the dimensions
+ * used for those reports. Also see the Dimensions document for definitions of
+ * those dimensions.
+ * @opt_param int start-index An index of the first entity to retrieve. Use this
+ * parameter as a pagination mechanism along with the max-results parameter
+ * (one-based, inclusive).
+ * @opt_param string filters A list of filters that should be applied when
+ * retrieving YouTube Analytics data. The Available Reports document identifies
+ * the dimensions that can be used to filter each report, and the Dimensions
+ * document defines those dimensions. If a request uses multiple filters, join
+ * them together with a semicolon (;), and the returned result table will
+ * satisfy both filters. For example, a filters parameter value of
+ * video==dMH0bHeiRNg;country==IT restricts the result set to include data for
+ * the given video in Italy.
+ * @return Postman_Google_Service_YouTubeAnalytics_ResultTable
+ */
+ public function query($ids, $startDate, $endDate, $metrics, $optParams = array())
+ {
+ $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics);
+ $params = array_merge($params, $optParams);
+ return $this->call('query', array($params), "Postman_Google_Service_YouTubeAnalytics_ResultTable");
+ }
+}
+
+
+
+
+class Postman_Google_Service_YouTubeAnalytics_BatchReportDefinitionList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_YouTubeAnalytics_BatchReportDefinitionTemplate';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_YouTubeAnalytics_BatchReportDefinitionTemplate extends Postman_Google_Collection
+{
+ protected $collection_key = 'defaultOutput';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $defaultOutputType = 'Postman_Google_Service_YouTubeAnalytics_BatchReportDefinitionTemplateDefaultOutput';
+ protected $defaultOutputDataType = 'array';
+ public $id;
+ public $name;
+ public $status;
+ public $type;
+
+
+ public function setDefaultOutput($defaultOutput)
+ {
+ $this->defaultOutput = $defaultOutput;
+ }
+ public function getDefaultOutput()
+ {
+ return $this->defaultOutput;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_YouTubeAnalytics_BatchReportDefinitionTemplateDefaultOutput extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $format;
+ public $type;
+
+
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_YouTubeAnalytics_BatchReportList extends Postman_Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Postman_Google_Service_YouTubeAnalytics_BatchReportTemplate';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Postman_Google_Service_YouTubeAnalytics_BatchReportTemplate extends Postman_Google_Collection
+{
+ protected $collection_key = 'outputs';
+ protected $internal_gapi_mappings = array(
+ "reportId" => "report_id",
+ );
+ public $id;
+ protected $outputsType = 'Postman_Google_Service_YouTubeAnalytics_BatchReportTemplateOutputs';
+ protected $outputsDataType = 'array';
+ public $reportId;
+ protected $timeSpanType = 'Postman_Google_Service_YouTubeAnalytics_BatchReportTemplateTimeSpan';
+ protected $timeSpanDataType = '';
+ public $timeUpdated;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setOutputs($outputs)
+ {
+ $this->outputs = $outputs;
+ }
+ public function getOutputs()
+ {
+ return $this->outputs;
+ }
+ public function setReportId($reportId)
+ {
+ $this->reportId = $reportId;
+ }
+ public function getReportId()
+ {
+ return $this->reportId;
+ }
+ public function setTimeSpan(Postman_Google_Service_YouTubeAnalytics_BatchReportTemplateTimeSpan $timeSpan)
+ {
+ $this->timeSpan = $timeSpan;
+ }
+ public function getTimeSpan()
+ {
+ return $this->timeSpan;
+ }
+ public function setTimeUpdated($timeUpdated)
+ {
+ $this->timeUpdated = $timeUpdated;
+ }
+ public function getTimeUpdated()
+ {
+ return $this->timeUpdated;
+ }
+}
+
+class Postman_Google_Service_YouTubeAnalytics_BatchReportTemplateOutputs extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $downloadUrl;
+ public $format;
+ public $type;
+
+
+ public function setDownloadUrl($downloadUrl)
+ {
+ $this->downloadUrl = $downloadUrl;
+ }
+ public function getDownloadUrl()
+ {
+ return $this->downloadUrl;
+ }
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Postman_Google_Service_YouTubeAnalytics_BatchReportTemplateTimeSpan extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $endTime;
+ public $startTime;
+
+
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+}
+
+class Postman_Google_Service_YouTubeAnalytics_ResultTable extends Postman_Google_Collection
+{
+ protected $collection_key = 'rows';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $columnHeadersType = 'Postman_Google_Service_YouTubeAnalytics_ResultTableColumnHeaders';
+ protected $columnHeadersDataType = 'array';
+ public $kind;
+ public $rows;
+
+
+ public function setColumnHeaders($columnHeaders)
+ {
+ $this->columnHeaders = $columnHeaders;
+ }
+ public function getColumnHeaders()
+ {
+ return $this->columnHeaders;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRows($rows)
+ {
+ $this->rows = $rows;
+ }
+ public function getRows()
+ {
+ return $this->rows;
+ }
+}
+
+class Postman_Google_Service_YouTubeAnalytics_ResultTableColumnHeaders extends Postman_Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $columnType;
+ public $dataType;
+ public $name;
+
+
+ public function setColumnType($columnType)
+ {
+ $this->columnType = $columnType;
+ }
+ public function getColumnType()
+ {
+ return $this->columnType;
+ }
+ public function setDataType($dataType)
+ {
+ $this->dataType = $dataType;
+ }
+ public function getDataType()
+ {
+ return $this->dataType;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Signer/Abstract.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Signer/Abstract.php
new file mode 100644
index 0000000..3c62f85
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Signer/Abstract.php
@@ -0,0 +1,29 @@
+<?php
+/*
+ * Copyright 2011 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Signs data.
+ *
+ * @author Brian Eaton <beaton@google.com>
+ */
+abstract class Postman_Google_Signer_Abstract
+{
+ /**
+ * Signs data, returns the signature as binary data.
+ */
+ abstract public function sign($data);
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Signer/P12.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Signer/P12.php
new file mode 100644
index 0000000..f5bf691
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Signer/P12.php
@@ -0,0 +1,90 @@
+<?php
+/*
+ * Copyright 2011 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+/**
+ * Signs data.
+ *
+ * Only used for testing.
+ *
+ * @author Brian Eaton <beaton@google.com>
+ */
+class Postman_Google_Signer_P12 extends Postman_Google_Signer_Abstract
+{
+ // OpenSSL private key resource
+ private $privateKey;
+
+ // Creates a new signer from a .p12 file.
+ public function __construct($p12, $password)
+ {
+ if (!function_exists('openssl_x509_read')) {
+ throw new Postman_Google_Exception(
+ 'The Google PHP API library needs the openssl PHP extension'
+ );
+ }
+
+ // If the private key is provided directly, then this isn't in the p12
+ // format. Different versions of openssl support different p12 formats
+ // and the key from google wasn't being accepted by the version available
+ // at the time.
+ if (!$password && strpos($p12, "-----BEGIN RSA PRIVATE KEY-----") !== false) {
+ $this->privateKey = openssl_pkey_get_private($p12);
+ } else {
+ // This throws on error
+ $certs = array();
+ if (!openssl_pkcs12_read($p12, $certs, $password)) {
+ throw new Postman_Google_Auth_Exception(
+ "Unable to parse the p12 file. " .
+ "Is this a .p12 file? Is the password correct? OpenSSL error: " .
+ openssl_error_string()
+ );
+ }
+ // TODO(beaton): is this part of the contract for the openssl_pkcs12_read
+ // method? What happens if there are multiple private keys? Do we care?
+ if (!array_key_exists("pkey", $certs) || !$certs["pkey"]) {
+ throw new Postman_Google_Auth_Exception("No private key found in p12 file.");
+ }
+ $this->privateKey = openssl_pkey_get_private($certs['pkey']);
+ }
+
+ if (!$this->privateKey) {
+ throw new Postman_Google_Auth_Exception("Unable to load private key");
+ }
+ }
+
+ public function __destruct()
+ {
+ if ($this->privateKey) {
+ openssl_pkey_free($this->privateKey);
+ }
+ }
+
+ public function sign($data)
+ {
+ if (version_compare(PHP_VERSION, '5.3.0') < 0) {
+ throw new Postman_Google_Auth_Exception(
+ "PHP 5.3.0 or higher is required to use service accounts."
+ );
+ }
+ $hash = defined("OPENSSL_ALGO_SHA256") ? OPENSSL_ALGO_SHA256 : "sha256";
+ if (!openssl_sign($data, $signature, $this->privateKey, $hash)) {
+ throw new Postman_Google_Auth_Exception("Unable to sign data");
+ }
+ return $signature;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Utils.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Utils.php
new file mode 100644
index 0000000..d17f70d
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Utils.php
@@ -0,0 +1,135 @@
+<?php
+/*
+ * Copyright 2011 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Collection of static utility methods used for convenience across
+ * the client library.
+ *
+ * @author Chirag Shah <chirags@google.com>
+ */
+class Postman_Google_Utils
+{
+ public static function urlSafeB64Encode($data)
+ {
+ $b64 = base64_encode($data);
+ $b64 = str_replace(
+ array('+', '/', '\r', '\n', '='),
+ array('-', '_'),
+ $b64
+ );
+ return $b64;
+ }
+
+ public static function urlSafeB64Decode($b64)
+ {
+ $b64 = str_replace(
+ array('-', '_'),
+ array('+', '/'),
+ $b64
+ );
+ return base64_decode($b64);
+ }
+
+ /**
+ * Misc function used to count the number of bytes in a post body, in the
+ * world of multi-byte chars and the unpredictability of
+ * strlen/mb_strlen/sizeof, this is the only way to do that in a sane
+ * manner at the moment.
+ *
+ * This algorithm was originally developed for the
+ * Solar Framework by Paul M. Jones
+ *
+ * @link http://solarphp.com/
+ * @link http://svn.solarphp.com/core/trunk/Solar/Json.php
+ * @link http://framework.zend.com/svn/framework/standard/trunk/library/Zend/Json/Decoder.php
+ * @param string $str
+ * @return int The number of bytes in a string.
+ */
+ public static function getStrLen($str)
+ {
+ $strlenVar = strlen($str);
+ $d = $ret = 0;
+ for ($count = 0; $count < $strlenVar; ++ $count) {
+ $ordinalValue = ord($str{$ret});
+ switch (true) {
+ case (($ordinalValue >= 0x20) && ($ordinalValue <= 0x7F)):
+ // characters U-00000000 - U-0000007F (same as ASCII)
+ $ret ++;
+ break;
+ case (($ordinalValue & 0xE0) == 0xC0):
+ // characters U-00000080 - U-000007FF, mask 110XXXXX
+ // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
+ $ret += 2;
+ break;
+ case (($ordinalValue & 0xF0) == 0xE0):
+ // characters U-00000800 - U-0000FFFF, mask 1110XXXX
+ // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
+ $ret += 3;
+ break;
+ case (($ordinalValue & 0xF8) == 0xF0):
+ // characters U-00010000 - U-001FFFFF, mask 11110XXX
+ // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
+ $ret += 4;
+ break;
+ case (($ordinalValue & 0xFC) == 0xF8):
+ // characters U-00200000 - U-03FFFFFF, mask 111110XX
+ // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
+ $ret += 5;
+ break;
+ case (($ordinalValue & 0xFE) == 0xFC):
+ // characters U-04000000 - U-7FFFFFFF, mask 1111110X
+ // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
+ $ret += 6;
+ break;
+ default:
+ $ret ++;
+ }
+ }
+ return $ret;
+ }
+
+ /**
+ * Normalize all keys in an array to lower-case.
+ * @param array $arr
+ * @return array Normalized array.
+ */
+ public static function normalize($arr)
+ {
+ if (!is_array($arr)) {
+ return array();
+ }
+
+ $normalized = array();
+ foreach ($arr as $key => $val) {
+ $normalized[strtolower($key)] = $val;
+ }
+ return $normalized;
+ }
+
+ /**
+ * Convert a string to camelCase
+ * @param string $value
+ * @return string
+ */
+ public static function camelCase($value)
+ {
+ $value = ucwords(str_replace(array('-', '_'), ' ', $value));
+ $value = str_replace(' ', '', $value);
+ $value[0] = strtolower($value[0]);
+ return $value;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Utils/URITemplate.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Utils/URITemplate.php
new file mode 100644
index 0000000..29bb234
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Utils/URITemplate.php
@@ -0,0 +1,333 @@
+<?php
+/*
+ * Copyright 2013 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Implementation of levels 1-3 of the URI Template spec.
+ * @see http://tools.ietf.org/html/rfc6570
+ */
+class Postman_Google_Utils_URITemplate
+{
+ const TYPE_MAP = "1";
+ const TYPE_LIST = "2";
+ const TYPE_SCALAR = "4";
+
+ /**
+ * @var $operators array
+ * These are valid at the start of a template block to
+ * modify the way in which the variables inside are
+ * processed.
+ */
+ private $operators = array(
+ "+" => "reserved",
+ "/" => "segments",
+ "." => "dotprefix",
+ "#" => "fragment",
+ ";" => "semicolon",
+ "?" => "form",
+ "&" => "continuation"
+ );
+
+ /**
+ * @var reserved array
+ * These are the characters which should not be URL encoded in reserved
+ * strings.
+ */
+ private $reserved = array(
+ "=", ",", "!", "@", "|", ":", "/", "?", "#",
+ "[", "]",'$', "&", "'", "(", ")", "*", "+", ";"
+ );
+ private $reservedEncoded = array(
+ "%3D", "%2C", "%21", "%40", "%7C", "%3A", "%2F", "%3F",
+ "%23", "%5B", "%5D", "%24", "%26", "%27", "%28", "%29",
+ "%2A", "%2B", "%3B"
+ );
+
+ public function parse($string, array $parameters)
+ {
+ return $this->resolveNextSection($string, $parameters);
+ }
+
+ /**
+ * This function finds the first matching {...} block and
+ * executes the replacement. It then calls itself to find
+ * subsequent blocks, if any.
+ */
+ private function resolveNextSection($string, $parameters)
+ {
+ $start = strpos($string, "{");
+ if ($start === false) {
+ return $string;
+ }
+ $end = strpos($string, "}");
+ if ($end === false) {
+ return $string;
+ }
+ $string = $this->replace($string, $start, $end, $parameters);
+ return $this->resolveNextSection($string, $parameters);
+ }
+
+ private function replace($string, $start, $end, $parameters)
+ {
+ // We know a data block will have {} round it, so we can strip that.
+ $data = substr($string, $start + 1, $end - $start - 1);
+
+ // If the first character is one of the reserved operators, it effects
+ // the processing of the stream.
+ if (isset($this->operators[$data[0]])) {
+ $op = $this->operators[$data[0]];
+ $data = substr($data, 1);
+ $prefix = "";
+ $prefix_on_missing = false;
+
+ switch ($op) {
+ case "reserved":
+ // Reserved means certain characters should not be URL encoded
+ $data = $this->replaceVars($data, $parameters, ",", null, true);
+ break;
+ case "fragment":
+ // Comma separated with fragment prefix. Bare values only.
+ $prefix = "#";
+ $prefix_on_missing = true;
+ $data = $this->replaceVars($data, $parameters, ",", null, true);
+ break;
+ case "segments":
+ // Slash separated data. Bare values only.
+ $prefix = "/";
+ $data =$this->replaceVars($data, $parameters, "/");
+ break;
+ case "dotprefix":
+ // Dot separated data. Bare values only.
+ $prefix = ".";
+ $prefix_on_missing = true;
+ $data = $this->replaceVars($data, $parameters, ".");
+ break;
+ case "semicolon":
+ // Semicolon prefixed and separated. Uses the key name
+ $prefix = ";";
+ $data = $this->replaceVars($data, $parameters, ";", "=", false, true, false);
+ break;
+ case "form":
+ // Standard URL format. Uses the key name
+ $prefix = "?";
+ $data = $this->replaceVars($data, $parameters, "&", "=");
+ break;
+ case "continuation":
+ // Standard URL, but with leading ampersand. Uses key name.
+ $prefix = "&";
+ $data = $this->replaceVars($data, $parameters, "&", "=");
+ break;
+ }
+
+ // Add the initial prefix character if data is valid.
+ if ($data || ($data !== false && $prefix_on_missing)) {
+ $data = $prefix . $data;
+ }
+
+ } else {
+ // If no operator we replace with the defaults.
+ $data = $this->replaceVars($data, $parameters);
+ }
+ // This is chops out the {...} and replaces with the new section.
+ return substr($string, 0, $start) . $data . substr($string, $end + 1);
+ }
+
+ private function replaceVars(
+ $section,
+ $parameters,
+ $sep = ",",
+ $combine = null,
+ $reserved = false,
+ $tag_empty = false,
+ $combine_on_empty = true
+ ) {
+ if (strpos($section, ",") === false) {
+ // If we only have a single value, we can immediately process.
+ return $this->combine(
+ $section,
+ $parameters,
+ $sep,
+ $combine,
+ $reserved,
+ $tag_empty,
+ $combine_on_empty
+ );
+ } else {
+ // If we have multiple values, we need to split and loop over them.
+ // Each is treated individually, then glued together with the
+ // separator character.
+ $vars = explode(",", $section);
+ return $this->combineList(
+ $vars,
+ $sep,
+ $parameters,
+ $combine,
+ $reserved,
+ false, // Never emit empty strings in multi-param replacements
+ $combine_on_empty
+ );
+ }
+ }
+
+ public function combine(
+ $key,
+ $parameters,
+ $sep,
+ $combine,
+ $reserved,
+ $tag_empty,
+ $combine_on_empty
+ ) {
+ $length = false;
+ $explode = false;
+ $skip_final_combine = false;
+ $value = false;
+
+ // Check for length restriction.
+ if (strpos($key, ":") !== false) {
+ list($key, $length) = explode(":", $key);
+ }
+
+ // Check for explode parameter.
+ if ($key[strlen($key) - 1] == "*") {
+ $explode = true;
+ $key = substr($key, 0, -1);
+ $skip_final_combine = true;
+ }
+
+ // Define the list separator.
+ $list_sep = $explode ? $sep : ",";
+
+ if (isset($parameters[$key])) {
+ $data_type = $this->getDataType($parameters[$key]);
+ switch($data_type) {
+ case self::TYPE_SCALAR:
+ $value = $this->getValue($parameters[$key], $length);
+ break;
+ case self::TYPE_LIST:
+ $values = array();
+ foreach ($parameters[$key] as $pkey => $pvalue) {
+ $pvalue = $this->getValue($pvalue, $length);
+ if ($combine && $explode) {
+ $values[$pkey] = $key . $combine . $pvalue;
+ } else {
+ $values[$pkey] = $pvalue;
+ }
+ }
+ $value = implode($list_sep, $values);
+ if ($value == '') {
+ return '';
+ }
+ break;
+ case self::TYPE_MAP:
+ $values = array();
+ foreach ($parameters[$key] as $pkey => $pvalue) {
+ $pvalue = $this->getValue($pvalue, $length);
+ if ($explode) {
+ $pkey = $this->getValue($pkey, $length);
+ $values[] = $pkey . "=" . $pvalue; // Explode triggers = combine.
+ } else {
+ $values[] = $pkey;
+ $values[] = $pvalue;
+ }
+ }
+ $value = implode($list_sep, $values);
+ if ($value == '') {
+ return false;
+ }
+ break;
+ }
+ } else if ($tag_empty) {
+ // If we are just indicating empty values with their key name, return that.
+ return $key;
+ } else {
+ // Otherwise we can skip this variable due to not being defined.
+ return false;
+ }
+
+ if ($reserved) {
+ $value = str_replace($this->reservedEncoded, $this->reserved, $value);
+ }
+
+ // If we do not need to include the key name, we just return the raw
+ // value.
+ if (!$combine || $skip_final_combine) {
+ return $value;
+ }
+
+ // Else we combine the key name: foo=bar, if value is not the empty string.
+ return $key . ($value != '' || $combine_on_empty ? $combine . $value : '');
+ }
+
+ /**
+ * Return the type of a passed in value
+ */
+ private function getDataType($data)
+ {
+ if (is_array($data)) {
+ reset($data);
+ if (key($data) !== 0) {
+ return self::TYPE_MAP;
+ }
+ return self::TYPE_LIST;
+ }
+ return self::TYPE_SCALAR;
+ }
+
+ /**
+ * Utility function that merges multiple combine calls
+ * for multi-key templates.
+ */
+ private function combineList(
+ $vars,
+ $sep,
+ $parameters,
+ $combine,
+ $reserved,
+ $tag_empty,
+ $combine_on_empty
+ ) {
+ $ret = array();
+ foreach ($vars as $var) {
+ $response = $this->combine(
+ $var,
+ $parameters,
+ $sep,
+ $combine,
+ $reserved,
+ $tag_empty,
+ $combine_on_empty
+ );
+ if ($response === false) {
+ continue;
+ }
+ $ret[] = $response;
+ }
+ return implode($sep, $ret);
+ }
+
+ /**
+ * Utility function to encode and trim values
+ */
+ private function getValue($value, $length)
+ {
+ if ($length) {
+ $value = substr($value, 0, $length);
+ }
+ $value = rawurlencode($value);
+ return $value;
+ }
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Verifier/Abstract.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Verifier/Abstract.php
new file mode 100644
index 0000000..a041aa5
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Verifier/Abstract.php
@@ -0,0 +1,30 @@
+<?php
+/*
+ * Copyright 2011 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Verifies signatures.
+ *
+ * @author Brian Eaton <beaton@google.com>
+ */
+abstract class Postman_Google_Verifier_Abstract
+{
+ /**
+ * Checks a signature, returns true if the signature is correct,
+ * false otherwise.
+ */
+ abstract public function verify($data, $signature);
+}
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Verifier/Pem.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Verifier/Pem.php
new file mode 100644
index 0000000..1667a94
--- /dev/null
+++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Verifier/Pem.php
@@ -0,0 +1,73 @@
+<?php
+/*
+ * Copyright 2011 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
+
+/**
+ * Verifies signatures using PEM encoded certificates.
+ *
+ * @author Brian Eaton <beaton@google.com>
+ */
+class Postman_Google_Verifier_Pem extends Postman_Google_Verifier_Abstract
+{
+ private $publicKey;
+
+ /**
+ * Constructs a verifier from the supplied PEM-encoded certificate.
+ *
+ * $pem: a PEM encoded certificate (not a file).
+ * @param $pem
+ * @throws Postman_Google_Auth_Exception
+ * @throws Postman_Google_Exception
+ */
+ public function __construct($pem)
+ {
+ if (!function_exists('openssl_x509_read')) {
+ throw new Postman_Google_Exception('Google API PHP client needs the openssl PHP extension');
+ }
+ $this->publicKey = openssl_x509_read($pem);
+ if (!$this->publicKey) {
+ throw new Postman_Google_Auth_Exception("Unable to parse PEM: $pem");
+ }
+ }
+
+ public function __destruct()
+ {
+ if ($this->publicKey) {
+ openssl_x509_free($this->publicKey);
+ }
+ }
+
+ /**
+ * Verifies the signature on data.
+ *
+ * Returns true if the signature is valid, false otherwise.
+ * @param $data
+ * @param $signature
+ * @throws Postman_Google_Auth_Exception
+ * @return bool
+ */
+ public function verify($data, $signature)
+ {
+ $hash = defined("OPENSSL_ALGO_SHA256") ? OPENSSL_ALGO_SHA256 : "sha256";
+ $status = openssl_verify($data, $signature, $this->publicKey, $hash);
+ if ($status === -1) {
+ throw new Postman_Google_Auth_Exception('Signature verification error: ' . openssl_error_string());
+ }
+ return $status === 1;
+ }
+}
diff --git a/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/LICENSE b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/LICENSE
new file mode 100644
index 0000000..dfd048a
--- /dev/null
+++ b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/LICENSE
@@ -0,0 +1,13 @@
+Copyright 2013 The Rocket Science Group, LLC.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
diff --git a/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill.php b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill.php
new file mode 100644
index 0000000..61ebdca
--- /dev/null
+++ b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill.php
@@ -0,0 +1,161 @@
+<?php
+
+require_once 'Mandrill/Templates.php';
+require_once 'Mandrill/Exports.php';
+require_once 'Mandrill/Users.php';
+require_once 'Mandrill/Rejects.php';
+require_once 'Mandrill/Inbound.php';
+require_once 'Mandrill/Tags.php';
+require_once 'Mandrill/Messages.php';
+require_once 'Mandrill/Whitelists.php';
+require_once 'Mandrill/Ips.php';
+require_once 'Mandrill/Internal.php';
+require_once 'Mandrill/Subaccounts.php';
+require_once 'Mandrill/Urls.php';
+require_once 'Mandrill/Webhooks.php';
+require_once 'Mandrill/Senders.php';
+require_once 'Mandrill/Metadata.php';
+require_once 'Mandrill/Exceptions.php';
+
+class Postman_Mandrill {
+
+ public $apikey;
+ public $ch;
+ public $root = 'https://mandrillapp.com/api/1.0';
+ public $debug = false;
+
+ public static $error_map = array(
+ "ValidationError" => "Postman_Mandrill_ValidationError",
+ "Invalid_Key" => "Postman_Mandrill_Invalid_Key",
+ "PaymentRequired" => "Postman_Mandrill_PaymentRequired",
+ "Unknown_Subaccount" => "Postman_Mandrill_Unknown_Subaccount",
+ "Unknown_Template" => "Postman_Mandrill_Unknown_Template",
+ "ServiceUnavailable" => "Postman_Mandrill_ServiceUnavailable",
+ "Unknown_Message" => "Postman_Mandrill_Unknown_Message",
+ "Invalid_Tag_Name" => "Postman_Mandrill_Invalid_Tag_Name",
+ "Invalid_Reject" => "Postman_Mandrill_Invalid_Reject",
+ "Unknown_Sender" => "Postman_Mandrill_Unknown_Sender",
+ "Unknown_Url" => "Postman_Mandrill_Unknown_Url",
+ "Unknown_TrackingDomain" => "Postman_Mandrill_Unknown_TrackingDomain",
+ "Invalid_Template" => "Postman_Mandrill_Invalid_Template",
+ "Unknown_Webhook" => "Postman_Mandrill_Unknown_Webhook",
+ "Unknown_InboundDomain" => "Postman_Mandrill_Unknown_InboundDomain",
+ "Unknown_InboundRoute" => "Postman_Mandrill_Unknown_InboundRoute",
+ "Unknown_Export" => "Postman_Mandrill_Unknown_Export",
+ "IP_ProvisionLimit" => "Postman_Mandrill_IP_ProvisionLimit",
+ "Unknown_Pool" => "Postman_Mandrill_Unknown_Pool",
+ "NoSendingHistory" => "Postman_Mandrill_NoSendingHistory",
+ "PoorReputation" => "Postman_Mandrill_PoorReputation",
+ "Unknown_IP" => "Postman_Mandrill_Unknown_IP",
+ "Invalid_EmptyDefaultPool" => "Postman_Mandrill_Invalid_EmptyDefaultPool",
+ "Invalid_DeleteDefaultPool" => "Postman_Mandrill_Invalid_DeleteDefaultPool",
+ "Invalid_DeleteNonEmptyPool" => "Postman_Mandrill_Invalid_DeleteNonEmptyPool",
+ "Invalid_CustomDNS" => "Postman_Mandrill_Invalid_CustomDNS",
+ "Invalid_CustomDNSPending" => "Postman_Mandrill_Invalid_CustomDNSPending",
+ "Metadata_FieldLimit" => "Postman_Mandrill_Metadata_FieldLimit",
+ "Unknown_MetadataField" => "Postman_Mandrill_Unknown_MetadataField"
+ );
+
+ public function __construct($apikey=null) {
+ if(!$apikey) $apikey = getenv('MANDRILL_APIKEY');
+ if(!$apikey) $apikey = $this->readConfigs();
+ if(!$apikey) throw new Postman_Mandrill_Error('You must provide a Mandrill API key');
+ $this->apikey = $apikey;
+
+ $this->ch = curl_init();
+ curl_setopt($this->ch, CURLOPT_USERAGENT, 'Mandrill-PHP/1.0.55');
+ curl_setopt($this->ch, CURLOPT_POST, true);
+ curl_setopt($this->ch, CURLOPT_FOLLOWLOCATION, true);
+ curl_setopt($this->ch, CURLOPT_HEADER, false);
+ curl_setopt($this->ch, CURLOPT_RETURNTRANSFER, true);
+ curl_setopt($this->ch, CURLOPT_CONNECTTIMEOUT, 30);
+ curl_setopt($this->ch, CURLOPT_TIMEOUT, 600);
+
+ $this->root = rtrim($this->root, '/') . '/';
+
+ $this->templates = new Postman_Mandrill_Templates($this);
+ $this->exports = new Postman_Mandrill_Exports($this);
+ $this->users = new Postman_Mandrill_Users($this);
+ $this->rejects = new Postman_Mandrill_Rejects($this);
+ $this->inbound = new Postman_Mandrill_Inbound($this);
+ $this->tags = new Postman_Mandrill_Tags($this);
+ $this->messages = new Postman_Mandrill_Messages($this);
+ $this->whitelists = new Postman_Mandrill_Whitelists($this);
+ $this->ips = new Postman_Mandrill_Ips($this);
+ $this->internal = new Postman_Mandrill_Internal($this);
+ $this->subaccounts = new Postman_Mandrill_Subaccounts($this);
+ $this->urls = new Postman_Mandrill_Urls($this);
+ $this->webhooks = new Postman_Mandrill_Webhooks($this);
+ $this->senders = new Postman_Mandrill_Senders($this);
+ $this->metadata = new Postman_Mandrill_Metadata($this);
+ }
+
+ public function __destruct() {
+ curl_close($this->ch);
+ }
+
+ public function call($url, $params) {
+ $params['key'] = $this->apikey;
+ $params = json_encode($params);
+ $ch = $this->ch;
+
+ curl_setopt($ch, CURLOPT_URL, $this->root . $url . '.json');
+ curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
+ curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
+ curl_setopt($ch, CURLOPT_VERBOSE, $this->debug);
+
+ $start = microtime(true);
+ $this->log('Call to ' . $this->root . $url . '.json: ' . $params);
+ if($this->debug) {
+ $curl_buffer = fopen('php://memory', 'w+');
+ curl_setopt($ch, CURLOPT_STDERR, $curl_buffer);
+ }
+
+ $response_body = curl_exec($ch);
+ $info = curl_getinfo($ch);
+ $time = microtime(true) - $start;
+ if($this->debug) {
+ rewind($curl_buffer);
+ $this->log(stream_get_contents($curl_buffer));
+ fclose($curl_buffer);
+ }
+ $this->log('Completed in ' . number_format($time * 1000, 2) . 'ms');
+ $this->log('Got response: ' . $response_body);
+
+ if(curl_error($ch)) {
+ throw new Postman_Mandrill_HttpError("API call to $url failed: " . curl_error($ch));
+ }
+ $result = json_decode($response_body, true);
+ if($result === null) throw new Postman_Mandrill_Error('We were unable to decode the JSON response from the Mandrill API: ' . $response_body);
+
+ if(floor($info['http_code'] / 100) >= 4) {
+ throw $this->castError($result);
+ }
+
+ return $result;
+ }
+
+ public function readConfigs() {
+ $paths = array('~/.mandrill.key', '/etc/mandrill.key');
+ foreach($paths as $path) {
+ if(file_exists($path)) {
+ $apikey = trim(file_get_contents($path));
+ if($apikey) return $apikey;
+ }
+ }
+ return false;
+ }
+
+ public function castError($result) {
+ if($result['status'] !== 'error' || !$result['name']) throw new Postman_Mandrill_Error('We received an unexpected error: ' . json_encode($result));
+
+ $class = (isset(self::$error_map[$result['name']])) ? self::$error_map[$result['name']] : 'Mandrill_Error';
+ return new $class($result['message'], $result['code']);
+ }
+
+ public function log($msg) {
+ if($this->debug) error_log($msg);
+ }
+}
+
+
diff --git a/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Exceptions.php b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Exceptions.php
new file mode 100644
index 0000000..8df8411
--- /dev/null
+++ b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Exceptions.php
@@ -0,0 +1,151 @@
+<?php
+
+class Postman_Mandrill_Error extends Exception {}
+class Postman_Mandrill_HttpError extends Postman_Mandrill_Error {}
+
+/**
+ * The parameters passed to the API call are invalid or not provided when required
+ */
+class Postman_Mandrill_ValidationError extends Postman_Mandrill_Error {}
+
+/**
+ * The provided API key is not a valid Mandrill API key
+ */
+class Postman_Mandrill_Invalid_Key extends Postman_Mandrill_Error {}
+
+/**
+ * The requested feature requires payment.
+ */
+class Postman_Mandrill_PaymentRequired extends Postman_Mandrill_Error {}
+
+/**
+ * The provided subaccount id does not exist.
+ */
+class Postman_Mandrill_Unknown_Subaccount extends Postman_Mandrill_Error {}
+
+/**
+ * The requested template does not exist
+ */
+class Postman_Mandrill_Unknown_Template extends Postman_Mandrill_Error {}
+
+/**
+ * The subsystem providing this API call is down for maintenance
+ */
+class Postman_Mandrill_ServiceUnavailable extends Postman_Mandrill_Error {}
+
+/**
+ * The provided message id does not exist.
+ */
+class Postman_Mandrill_Unknown_Message extends Postman_Mandrill_Error {}
+
+/**
+ * The requested tag does not exist or contains invalid characters
+ */
+class Postman_Mandrill_Invalid_Tag_Name extends Postman_Mandrill_Error {}
+
+/**
+ * The requested email is not in the rejection list
+ */
+class Postman_Mandrill_Invalid_Reject extends Postman_Mandrill_Error {}
+
+/**
+ * The requested sender does not exist
+ */
+class Postman_Mandrill_Unknown_Sender extends Postman_Mandrill_Error {}
+
+/**
+ * The requested URL has not been seen in a tracked link
+ */
+class Postman_Mandrill_Unknown_Url extends Postman_Mandrill_Error {}
+
+/**
+ * The provided tracking domain does not exist.
+ */
+class Postman_Mandrill_Unknown_TrackingDomain extends Postman_Mandrill_Error {}
+
+/**
+ * The given template name already exists or contains invalid characters
+ */
+class Postman_Mandrill_Invalid_Template extends Postman_Mandrill_Error {}
+
+/**
+ * The requested webhook does not exist
+ */
+class Postman_Mandrill_Unknown_Webhook extends Postman_Mandrill_Error {}
+
+/**
+ * The requested inbound domain does not exist
+ */
+class Postman_Mandrill_Unknown_InboundDomain extends Postman_Mandrill_Error {}
+
+/**
+ * The provided inbound route does not exist.
+ */
+class Postman_Mandrill_Unknown_InboundRoute extends Postman_Mandrill_Error {}
+
+/**
+ * The requested export job does not exist
+ */
+class Postman_Mandrill_Unknown_Export extends Postman_Mandrill_Error {}
+
+/**
+ * A dedicated IP cannot be provisioned while another request is pending.
+ */
+class Postman_Mandrill_IP_ProvisionLimit extends Postman_Mandrill_Error {}
+
+/**
+ * The provided dedicated IP pool does not exist.
+ */
+class Postman_Mandrill_Unknown_Pool extends Postman_Mandrill_Error {}
+
+/**
+ * The user hasn't started sending yet.
+ */
+class Postman_Mandrill_NoSendingHistory extends Postman_Mandrill_Error {}
+
+/**
+ * The user's reputation is too low to continue.
+ */
+class Postman_Mandrill_PoorReputation extends Postman_Mandrill_Error {}
+
+/**
+ * The provided dedicated IP does not exist.
+ */
+class Postman_Mandrill_Unknown_IP extends Postman_Mandrill_Error {}
+
+/**
+ * You cannot remove the last IP from your default IP pool.
+ */
+class Postman_Mandrill_Invalid_EmptyDefaultPool extends Postman_Mandrill_Error {}
+
+/**
+ * The default pool cannot be deleted.
+ */
+class Postman_Mandrill_Invalid_DeleteDefaultPool extends Postman_Mandrill_Error {}
+
+/**
+ * Non-empty pools cannot be deleted.
+ */
+class Postman_Mandrill_Invalid_DeleteNonEmptyPool extends Postman_Mandrill_Error {}
+
+/**
+ * The domain name is not configured for use as the dedicated IP's custom reverse DNS.
+ */
+class Postman_Mandrill_Invalid_CustomDNS extends Postman_Mandrill_Error {}
+
+/**
+ * A custom DNS change for this dedicated IP is currently pending.
+ */
+class Postman_Mandrill_Invalid_CustomDNSPending extends Postman_Mandrill_Error {}
+
+/**
+ * Custom metadata field limit reached.
+ */
+class Postman_Mandrill_Metadata_FieldLimit extends Postman_Mandrill_Error {}
+
+/**
+ * The provided metadata field name does not exist.
+ */
+class Postman_Mandrill_Unknown_MetadataField extends Postman_Mandrill_Error {}
+
+
diff --git a/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Exports.php b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Exports.php
new file mode 100644
index 0000000..9500305
--- /dev/null
+++ b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Exports.php
@@ -0,0 +1,112 @@
+<?php
+
+class Postman_Mandrill_Exports {
+ public function __construct(Postman_Mandrill $master) {
+ $this->master = $master;
+ }
+
+ /**
+ * Returns information about an export job. If the export job's state is 'complete',
+the returned data will include a URL you can use to fetch the results. Every export
+job produces a zip archive, but the format of the archive is distinct for each job
+type. The api calls that initiate exports include more details about the output format
+for that job type.
+ * @param string $id an export job identifier
+ * @return struct the information about the export
+ * - id string the unique identifier for this Export. Use this identifier when checking the export job's status
+ * - created_at string the date and time that the export job was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - type string the type of the export job - activity, reject, or whitelist
+ * - finished_at string the date and time that the export job was finished as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - state string the export job's state - waiting, working, complete, error, or expired.
+ * - result_url string the url for the export job's results, if the job is completed.
+ */
+ public function info($id) {
+ $_params = array("id" => $id);
+ return $this->master->call('exports/info', $_params);
+ }
+
+ /**
+ * Returns a list of your exports.
+ * @return array the account's exports
+ * - return[] struct the individual export info
+ * - id string the unique identifier for this Export. Use this identifier when checking the export job's status
+ * - created_at string the date and time that the export job was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - type string the type of the export job - activity, reject, or whitelist
+ * - finished_at string the date and time that the export job was finished as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - state string the export job's state - waiting, working, complete, error, or expired.
+ * - result_url string the url for the export job's results, if the job is completed.
+ */
+ public function getList() {
+ $_params = array();
+ return $this->master->call('exports/list', $_params);
+ }
+
+ /**
+ * Begins an export of your rejection blacklist. The blacklist will be exported to a zip archive
+containing a single file named rejects.csv that includes the following fields: email,
+reason, detail, created_at, expires_at, last_event_at, expires_at.
+ * @param string $notify_email an optional email address to notify when the export job has finished.
+ * @return struct information about the rejects export job that was started
+ * - id string the unique identifier for this Export. Use this identifier when checking the export job's status
+ * - created_at string the date and time that the export job was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - type string the type of the export job
+ * - finished_at string the date and time that the export job was finished as a UTC string in YYYY-MM-DD HH:MM:SS format, or null for jobs that have not run
+ * - state string the export job's state
+ * - result_url string the url for the export job's results, if the job is complete
+ */
+ public function rejects($notify_email=null) {
+ $_params = array("notify_email" => $notify_email);
+ return $this->master->call('exports/rejects', $_params);
+ }
+
+ /**
+ * Begins an export of your rejection whitelist. The whitelist will be exported to a zip archive
+containing a single file named whitelist.csv that includes the following fields:
+email, detail, created_at.
+ * @param string $notify_email an optional email address to notify when the export job has finished.
+ * @return struct information about the whitelist export job that was started
+ * - id string the unique identifier for this Export. Use this identifier when checking the export job's status
+ * - created_at string the date and time that the export job was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - type string the type of the export job
+ * - finished_at string the date and time that the export job was finished as a UTC string in YYYY-MM-DD HH:MM:SS format, or null for jobs that have not run
+ * - state string the export job's state
+ * - result_url string the url for the export job's results, if the job is complete
+ */
+ public function whitelist($notify_email=null) {
+ $_params = array("notify_email" => $notify_email);
+ return $this->master->call('exports/whitelist', $_params);
+ }
+
+ /**
+ * Begins an export of your activity history. The activity will be exported to a zip archive
+containing a single file named activity.csv in the same format as you would be able to export
+from your account's activity view. It includes the following fields: Date, Email Address,
+Sender, Subject, Status, Tags, Opens, Clicks, Bounce Detail. If you have configured any custom
+metadata fields, they will be included in the exported data.
+ * @param string $notify_email an optional email address to notify when the export job has finished
+ * @param string $date_from start date as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * @param string $date_to end date as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * @param array $tags an array of tag names to narrow the export to; will match messages that contain ANY of the tags
+ * - tags[] string a tag name
+ * @param array $senders an array of senders to narrow the export to
+ * - senders[] string a sender address
+ * @param array $states an array of states to narrow the export to; messages with ANY of the states will be included
+ * - states[] string a message state
+ * @param array $api_keys an array of api keys to narrow the export to; messsagse sent with ANY of the keys will be included
+ * - api_keys[] string an API key associated with your account
+ * @return struct information about the activity export job that was started
+ * - id string the unique identifier for this Export. Use this identifier when checking the export job's status
+ * - created_at string the date and time that the export job was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - type string the type of the export job
+ * - finished_at string the date and time that the export job was finished as a UTC string in YYYY-MM-DD HH:MM:SS format, or null for jobs that have not run
+ * - state string the export job's state
+ * - result_url string the url for the export job's results, if the job is complete
+ */
+ public function activity($notify_email=null, $date_from=null, $date_to=null, $tags=null, $senders=null, $states=null, $api_keys=null) {
+ $_params = array("notify_email" => $notify_email, "date_from" => $date_from, "date_to" => $date_to, "tags" => $tags, "senders" => $senders, "states" => $states, "api_keys" => $api_keys);
+ return $this->master->call('exports/activity', $_params);
+ }
+
+}
+
+
diff --git a/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Inbound.php b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Inbound.php
new file mode 100644
index 0000000..eadacad
--- /dev/null
+++ b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Inbound.php
@@ -0,0 +1,138 @@
+<?php
+
+class Postman_Mandrill_Inbound {
+ public function __construct(Postman_Mandrill $master) {
+ $this->master = $master;
+ }
+
+ /**
+ * List the domains that have been configured for inbound delivery
+ * @return array the inbound domains associated with the account
+ * - return[] struct the individual domain info
+ * - domain string the domain name that is accepting mail
+ * - created_at string the date and time that the inbound domain was added as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - valid_mx boolean true if this inbound domain has successfully set up an MX record to deliver mail to the Mandrill servers
+ */
+ public function domains() {
+ $_params = array();
+ return $this->master->call('inbound/domains', $_params);
+ }
+
+ /**
+ * Add an inbound domain to your account
+ * @param string $domain a domain name
+ * @return struct information about the domain
+ * - domain string the domain name that is accepting mail
+ * - created_at string the date and time that the inbound domain was added as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - valid_mx boolean true if this inbound domain has successfully set up an MX record to deliver mail to the Mandrill servers
+ */
+ public function addDomain($domain) {
+ $_params = array("domain" => $domain);
+ return $this->master->call('inbound/add-domain', $_params);
+ }
+
+ /**
+ * Check the MX settings for an inbound domain. The domain must have already been added with the add-domain call
+ * @param string $domain an existing inbound domain
+ * @return struct information about the inbound domain
+ * - domain string the domain name that is accepting mail
+ * - created_at string the date and time that the inbound domain was added as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - valid_mx boolean true if this inbound domain has successfully set up an MX record to deliver mail to the Mandrill servers
+ */
+ public function checkDomain($domain) {
+ $_params = array("domain" => $domain);
+ return $this->master->call('inbound/check-domain', $_params);
+ }
+
+ /**
+ * Delete an inbound domain from the account. All mail will stop routing for this domain immediately.
+ * @param string $domain an existing inbound domain
+ * @return struct information about the deleted domain
+ * - domain string the domain name that is accepting mail
+ * - created_at string the date and time that the inbound domain was added as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - valid_mx boolean true if this inbound domain has successfully set up an MX record to deliver mail to the Mandrill servers
+ */
+ public function deleteDomain($domain) {
+ $_params = array("domain" => $domain);
+ return $this->master->call('inbound/delete-domain', $_params);
+ }
+
+ /**
+ * List the mailbox routes defined for an inbound domain
+ * @param string $domain the domain to check
+ * @return array the routes associated with the domain
+ * - return[] struct the individual mailbox route
+ * - id string the unique identifier of the route
+ * - pattern string the search pattern that the mailbox name should match
+ * - url string the webhook URL where inbound messages will be published
+ */
+ public function routes($domain) {
+ $_params = array("domain" => $domain);
+ return $this->master->call('inbound/routes', $_params);
+ }
+
+ /**
+ * Add a new mailbox route to an inbound domain
+ * @param string $domain an existing inbound domain
+ * @param string $pattern the search pattern that the mailbox name should match
+ * @param string $url the webhook URL where the inbound messages will be published
+ * @return struct the added mailbox route information
+ * - id string the unique identifier of the route
+ * - pattern string the search pattern that the mailbox name should match
+ * - url string the webhook URL where inbound messages will be published
+ */
+ public function addRoute($domain, $pattern, $url) {
+ $_params = array("domain" => $domain, "pattern" => $pattern, "url" => $url);
+ return $this->master->call('inbound/add-route', $_params);
+ }
+
+ /**
+ * Update the pattern or webhook of an existing inbound mailbox route. If null is provided for any fields, the values will remain unchanged.
+ * @param string $id the unique identifier of an existing mailbox route
+ * @param string $pattern the search pattern that the mailbox name should match
+ * @param string $url the webhook URL where the inbound messages will be published
+ * @return struct the updated mailbox route information
+ * - id string the unique identifier of the route
+ * - pattern string the search pattern that the mailbox name should match
+ * - url string the webhook URL where inbound messages will be published
+ */
+ public function updateRoute($id, $pattern=null, $url=null) {
+ $_params = array("id" => $id, "pattern" => $pattern, "url" => $url);
+ return $this->master->call('inbound/update-route', $_params);
+ }
+
+ /**
+ * Delete an existing inbound mailbox route
+ * @param string $id the unique identifier of an existing route
+ * @return struct the deleted mailbox route information
+ * - id string the unique identifier of the route
+ * - pattern string the search pattern that the mailbox name should match
+ * - url string the webhook URL where inbound messages will be published
+ */
+ public function deleteRoute($id) {
+ $_params = array("id" => $id);
+ return $this->master->call('inbound/delete-route', $_params);
+ }
+
+ /**
+ * Take a raw MIME document destined for a domain with inbound domains set up, and send it to the inbound hook exactly as if it had been sent over SMTP
+ * @param string $raw_message the full MIME document of an email message
+ * @param array|null $to optionally define the recipients to receive the message - otherwise we'll use the To, Cc, and Bcc headers provided in the document
+ * - to[] string the email address of the recipient
+ * @param string $mail_from the address specified in the MAIL FROM stage of the SMTP conversation. Required for the SPF check.
+ * @param string $helo the identification provided by the client mta in the MTA state of the SMTP conversation. Required for the SPF check.
+ * @param string $client_address the remote MTA's ip address. Optional; required for the SPF check.
+ * @return array an array of the information for each recipient in the message (usually one) that matched an inbound route
+ * - return[] struct the individual recipient information
+ * - email string the email address of the matching recipient
+ * - pattern string the mailbox route pattern that the recipient matched
+ * - url string the webhook URL that the message was posted to
+ */
+ public function sendRaw($raw_message, $to=null, $mail_from=null, $helo=null, $client_address=null) {
+ $_params = array("raw_message" => $raw_message, "to" => $to, "mail_from" => $mail_from, "helo" => $helo, "client_address" => $client_address);
+ return $this->master->call('inbound/send-raw', $_params);
+ }
+
+}
+
+
diff --git a/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Internal.php b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Internal.php
new file mode 100644
index 0000000..2f42de3
--- /dev/null
+++ b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Internal.php
@@ -0,0 +1,10 @@
+<?php
+
+class Postman_Mandrill_Internal {
+ public function __construct(Postman_Mandrill $master) {
+ $this->master = $master;
+ }
+
+}
+
+
diff --git a/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Ips.php b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Ips.php
new file mode 100644
index 0000000..2369c6b
--- /dev/null
+++ b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Ips.php
@@ -0,0 +1,279 @@
+<?php
+
+class Postman_Mandrill_Ips {
+ public function __construct(Postman_Mandrill $master) {
+ $this->master = $master;
+ }
+
+ /**
+ * Lists your dedicated IPs.
+ * @return array an array of structs for each dedicated IP
+ * - return[] struct information about a single dedicated IP
+ * - ip string the ip address
+ * - created_at string the date and time that the dedicated IP was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - pool string the name of the pool that this dedicated IP belongs to
+ * - domain string the domain name (reverse dns) of this dedicated IP
+ * - custom_dns struct information about the ip's custom dns, if it has been configured
+ * - enabled boolean a boolean indicating whether custom dns has been configured for this ip
+ * - valid boolean whether the ip's custom dns is currently valid
+ * - error string if the ip's custom dns is invalid, this will include details about the error
+ * - warmup struct information about the ip's warmup status
+ * - warming_up boolean whether the ip is currently in warmup mode
+ * - start_at string the start time for the warmup process as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - end_at string the end date and time for the warmup process as a UTC string in YYYY-MM-DD HH:MM:SS format
+ */
+ public function getList() {
+ $_params = array();
+ return $this->master->call('ips/list', $_params);
+ }
+
+ /**
+ * Retrieves information about a single dedicated ip.
+ * @param string $ip a dedicated IP address
+ * @return struct Information about the dedicated ip
+ * - ip string the ip address
+ * - created_at string the date and time that the dedicated IP was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - pool string the name of the pool that this dedicated IP belongs to
+ * - domain string the domain name (reverse dns) of this dedicated IP
+ * - custom_dns struct information about the ip's custom dns, if it has been configured
+ * - enabled boolean a boolean indicating whether custom dns has been configured for this ip
+ * - valid boolean whether the ip's custom dns is currently valid
+ * - error string if the ip's custom dns is invalid, this will include details about the error
+ * - warmup struct information about the ip's warmup status
+ * - warming_up boolean whether the ip is currently in warmup mode
+ * - start_at string the start time for the warmup process as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - end_at string the end date and time for the warmup process as a UTC string in YYYY-MM-DD HH:MM:SS format
+ */
+ public function info($ip) {
+ $_params = array("ip" => $ip);
+ return $this->master->call('ips/info', $_params);
+ }
+
+ /**
+ * Requests an additional dedicated IP for your account. Accounts may
+have one outstanding request at any time, and provisioning requests
+are processed within 24 hours.
+ * @param boolean $warmup whether to enable warmup mode for the ip
+ * @param string $pool the id of the pool to add the dedicated ip to, or null to use your account's default pool
+ * @return struct a description of the provisioning request that was created
+ * - requested_at string the date and time that the request was created as a UTC timestamp in YYYY-MM-DD HH:MM:SS format
+ */
+ public function provision($warmup=false, $pool=null) {
+ $_params = array("warmup" => $warmup, "pool" => $pool);
+ return $this->master->call('ips/provision', $_params);
+ }
+
+ /**
+ * Begins the warmup process for a dedicated IP. During the warmup process,
+Mandrill will gradually increase the percentage of your mail that is sent over
+the warming-up IP, over a period of roughly 30 days. The rest of your mail
+will be sent over shared IPs or other dedicated IPs in the same pool.
+ * @param string $ip a dedicated ip address
+ * @return struct Information about the dedicated IP
+ * - ip string the ip address
+ * - created_at string the date and time that the dedicated IP was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - pool string the name of the pool that this dedicated IP belongs to
+ * - domain string the domain name (reverse dns) of this dedicated IP
+ * - custom_dns struct information about the ip's custom dns, if it has been configured
+ * - enabled boolean a boolean indicating whether custom dns has been configured for this ip
+ * - valid boolean whether the ip's custom dns is currently valid
+ * - error string if the ip's custom dns is invalid, this will include details about the error
+ * - warmup struct information about the ip's warmup status
+ * - warming_up boolean whether the ip is currently in warmup mode
+ * - start_at string the start time for the warmup process as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - end_at string the end date and time for the warmup process as a UTC string in YYYY-MM-DD HH:MM:SS format
+ */
+ public function startWarmup($ip) {
+ $_params = array("ip" => $ip);
+ return $this->master->call('ips/start-warmup', $_params);
+ }
+
+ /**
+ * Cancels the warmup process for a dedicated IP.
+ * @param string $ip a dedicated ip address
+ * @return struct Information about the dedicated IP
+ * - ip string the ip address
+ * - created_at string the date and time that the dedicated IP was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - pool string the name of the pool that this dedicated IP belongs to
+ * - domain string the domain name (reverse dns) of this dedicated IP
+ * - custom_dns struct information about the ip's custom dns, if it has been configured
+ * - enabled boolean a boolean indicating whether custom dns has been configured for this ip
+ * - valid boolean whether the ip's custom dns is currently valid
+ * - error string if the ip's custom dns is invalid, this will include details about the error
+ * - warmup struct information about the ip's warmup status
+ * - warming_up boolean whether the ip is currently in warmup mode
+ * - start_at string the start time for the warmup process as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - end_at string the end date and time for the warmup process as a UTC string in YYYY-MM-DD HH:MM:SS format
+ */
+ public function cancelWarmup($ip) {
+ $_params = array("ip" => $ip);
+ return $this->master->call('ips/cancel-warmup', $_params);
+ }
+
+ /**
+ * Moves a dedicated IP to a different pool.
+ * @param string $ip a dedicated ip address
+ * @param string $pool the name of the new pool to add the dedicated ip to
+ * @param boolean $create_pool whether to create the pool if it does not exist; if false and the pool does not exist, an Unknown_Pool will be thrown.
+ * @return struct Information about the updated state of the dedicated IP
+ * - ip string the ip address
+ * - created_at string the date and time that the dedicated IP was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - pool string the name of the pool that this dedicated IP belongs to
+ * - domain string the domain name (reverse dns) of this dedicated IP
+ * - custom_dns struct information about the ip's custom dns, if it has been configured
+ * - enabled boolean a boolean indicating whether custom dns has been configured for this ip
+ * - valid boolean whether the ip's custom dns is currently valid
+ * - error string if the ip's custom dns is invalid, this will include details about the error
+ * - warmup struct information about the ip's warmup status
+ * - warming_up boolean whether the ip is currently in warmup mode
+ * - start_at string the start time for the warmup process as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - end_at string the end date and time for the warmup process as a UTC string in YYYY-MM-DD HH:MM:SS format
+ */
+ public function setPool($ip, $pool, $create_pool=false) {
+ $_params = array("ip" => $ip, "pool" => $pool, "create_pool" => $create_pool);
+ return $this->master->call('ips/set-pool', $_params);
+ }
+
+ /**
+ * Deletes a dedicated IP. This is permanent and cannot be undone.
+ * @param string $ip the dedicated ip to remove from your account
+ * @return struct a description of the ip that was removed from your account.
+ * - ip string the ip address
+ * - deleted string a boolean indicating whether the ip was successfully deleted
+ */
+ public function delete($ip) {
+ $_params = array("ip" => $ip);
+ return $this->master->call('ips/delete', $_params);
+ }
+
+ /**
+ * Lists your dedicated IP pools.
+ * @return array the dedicated IP pools for your account, up to a maximum of 1,000
+ * - return[] struct information about each dedicated IP pool
+ * - name string this pool's name
+ * - created_at string the date and time that this pool was created as a UTC timestamp in YYYY-MM-DD HH:MM:SS format
+ * - ips array the dedicated IPs in this pool
+ * - ips[] struct information about each dedicated IP
+ * - ip string the ip address
+ * - created_at string the date and time that the dedicated IP was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - pool string the name of the pool that this dedicated IP belongs to
+ * - domain string the domain name (reverse dns) of this dedicated IP
+ * - custom_dns struct information about the ip's custom dns, if it has been configured
+ * - enabled boolean a boolean indicating whether custom dns has been configured for this ip
+ * - valid boolean whether the ip's custom dns is currently valid
+ * - error string if the ip's custom dns is invalid, this will include details about the error
+ * - warmup struct information about the ip's warmup status
+ * - warming_up boolean whether the ip is currently in warmup mode
+ * - start_at string the start time for the warmup process as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - end_at string the end date and time for the warmup process as a UTC string in YYYY-MM-DD HH:MM:SS format
+ */
+ public function listPools() {
+ $_params = array();
+ return $this->master->call('ips/list-pools', $_params);
+ }
+
+ /**
+ * Describes a single dedicated IP pool.
+ * @param string $pool a pool name
+ * @return struct Information about the dedicated ip pool
+ * - name string this pool's name
+ * - created_at string the date and time that this pool was created as a UTC timestamp in YYYY-MM-DD HH:MM:SS format
+ * - ips array the dedicated IPs in this pool
+ * - ips[] struct information about each dedicated IP
+ * - ip string the ip address
+ * - created_at string the date and time that the dedicated IP was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - pool string the name of the pool that this dedicated IP belongs to
+ * - domain string the domain name (reverse dns) of this dedicated IP
+ * - custom_dns struct information about the ip's custom dns, if it has been configured
+ * - enabled boolean a boolean indicating whether custom dns has been configured for this ip
+ * - valid boolean whether the ip's custom dns is currently valid
+ * - error string if the ip's custom dns is invalid, this will include details about the error
+ * - warmup struct information about the ip's warmup status
+ * - warming_up boolean whether the ip is currently in warmup mode
+ * - start_at string the start time for the warmup process as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - end_at string the end date and time for the warmup process as a UTC string in YYYY-MM-DD HH:MM:SS format
+ */
+ public function poolInfo($pool) {
+ $_params = array("pool" => $pool);
+ return $this->master->call('ips/pool-info', $_params);
+ }
+
+ /**
+ * Creates a pool and returns it. If a pool already exists with this
+name, no action will be performed.
+ * @param string $pool the name of a pool to create
+ * @return struct Information about the dedicated ip pool
+ * - name string this pool's name
+ * - created_at string the date and time that this pool was created as a UTC timestamp in YYYY-MM-DD HH:MM:SS format
+ * - ips array the dedicated IPs in this pool
+ * - ips[] struct information about each dedicated IP
+ * - ip string the ip address
+ * - created_at string the date and time that the dedicated IP was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - pool string the name of the pool that this dedicated IP belongs to
+ * - domain string the domain name (reverse dns) of this dedicated IP
+ * - custom_dns struct information about the ip's custom dns, if it has been configured
+ * - enabled boolean a boolean indicating whether custom dns has been configured for this ip
+ * - valid boolean whether the ip's custom dns is currently valid
+ * - error string if the ip's custom dns is invalid, this will include details about the error
+ * - warmup struct information about the ip's warmup status
+ * - warming_up boolean whether the ip is currently in warmup mode
+ * - start_at string the start time for the warmup process as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - end_at string the end date and time for the warmup process as a UTC string in YYYY-MM-DD HH:MM:SS format
+ */
+ public function createPool($pool) {
+ $_params = array("pool" => $pool);
+ return $this->master->call('ips/create-pool', $_params);
+ }
+
+ /**
+ * Deletes a pool. A pool must be empty before you can delete it, and you cannot delete your default pool.
+ * @param string $pool the name of the pool to delete
+ * @return struct information about the status of the pool that was deleted
+ * - pool string the name of the pool
+ * - deleted boolean whether the pool was deleted
+ */
+ public function deletePool($pool) {
+ $_params = array("pool" => $pool);
+ return $this->master->call('ips/delete-pool', $_params);
+ }
+
+ /**
+ * Tests whether a domain name is valid for use as the custom reverse
+DNS for a dedicated IP.
+ * @param string $ip a dedicated ip address
+ * @param string $domain the domain name to test
+ * @return struct validation results for the domain
+ * - valid string whether the domain name has a correctly-configured A record pointing to the ip address
+ * - error string if valid is false, this will contain details about why the domain's A record is incorrect
+ */
+ public function checkCustomDns($ip, $domain) {
+ $_params = array("ip" => $ip, "domain" => $domain);
+ return $this->master->call('ips/check-custom-dns', $_params);
+ }
+
+ /**
+ * Configures the custom DNS name for a dedicated IP.
+ * @param string $ip a dedicated ip address
+ * @param string $domain a domain name to set as the dedicated IP's custom dns name.
+ * @return struct information about the dedicated IP's new configuration
+ * - ip string the ip address
+ * - created_at string the date and time that the dedicated IP was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - pool string the name of the pool that this dedicated IP belongs to
+ * - domain string the domain name (reverse dns) of this dedicated IP
+ * - custom_dns struct information about the ip's custom dns, if it has been configured
+ * - enabled boolean a boolean indicating whether custom dns has been configured for this ip
+ * - valid boolean whether the ip's custom dns is currently valid
+ * - error string if the ip's custom dns is invalid, this will include details about the error
+ * - warmup struct information about the ip's warmup status
+ * - warming_up boolean whether the ip is currently in warmup mode
+ * - start_at string the start time for the warmup process as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - end_at string the end date and time for the warmup process as a UTC string in YYYY-MM-DD HH:MM:SS format
+ */
+ public function setCustomDns($ip, $domain) {
+ $_params = array("ip" => $ip, "domain" => $domain);
+ return $this->master->call('ips/set-custom-dns', $_params);
+ }
+
+}
+
+
diff --git a/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Messages.php b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Messages.php
new file mode 100644
index 0000000..a9f4e76
--- /dev/null
+++ b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Messages.php
@@ -0,0 +1,410 @@
+<?php
+
+class Postman_Mandrill_Messages {
+ public function __construct(Postman_Mandrill $master) {
+ $this->master = $master;
+ }
+
+ /**
+ * Send a new transactional message through Mandrill
+ * @param struct $message the information on the message to send
+ * - html string the full HTML content to be sent
+ * - text string optional full text content to be sent
+ * - subject string the message subject
+ * - from_email string the sender email address.
+ * - from_name string optional from name to be used
+ * - to array an array of recipient information.
+ * - to[] struct a single recipient's information.
+ * - email string the email address of the recipient
+ * - name string the optional display name to use for the recipient
+ * - type string the header type to use for the recipient, defaults to "to" if not provided
+ * - headers struct optional extra headers to add to the message (most headers are allowed)
+ * - important boolean whether or not this message is important, and should be delivered ahead of non-important messages
+ * - track_opens boolean whether or not to turn on open tracking for the message
+ * - track_clicks boolean whether or not to turn on click tracking for the message
+ * - auto_text boolean whether or not to automatically generate a text part for messages that are not given text
+ * - auto_html boolean whether or not to automatically generate an HTML part for messages that are not given HTML
+ * - inline_css boolean whether or not to automatically inline all CSS styles provided in the message HTML - only for HTML documents less than 256KB in size
+ * - url_strip_qs boolean whether or not to strip the query string from URLs when aggregating tracked URL data
+ * - preserve_recipients boolean whether or not to expose all recipients in to "To" header for each email
+ * - view_content_link boolean set to false to remove content logging for sensitive emails
+ * - bcc_address string an optional address to receive an exact copy of each recipient's email
+ * - tracking_domain string a custom domain to use for tracking opens and clicks instead of mandrillapp.com
+ * - signing_domain string a custom domain to use for SPF/DKIM signing instead of mandrill (for "via" or "on behalf of" in email clients)
+ * - return_path_domain string a custom domain to use for the messages's return-path
+ * - merge boolean whether to evaluate merge tags in the message. Will automatically be set to true if either merge_vars or global_merge_vars are provided.
+ * - merge_language string the merge tag language to use when evaluating merge tags, either mailchimp or handlebars
+ * - global_merge_vars array global merge variables to use for all recipients. You can override these per recipient.
+ * - global_merge_vars[] struct a single global merge variable
+ * - name string the global merge variable's name. Merge variable names are case-insensitive and may not start with _
+ * - content mixed the global merge variable's content
+ * - merge_vars array per-recipient merge variables, which override global merge variables with the same name.
+ * - merge_vars[] struct per-recipient merge variables
+ * - rcpt string the email address of the recipient that the merge variables should apply to
+ * - vars array the recipient's merge variables
+ * - vars[] struct a single merge variable
+ * - name string the merge variable's name. Merge variable names are case-insensitive and may not start with _
+ * - content mixed the merge variable's content
+ * - tags array an array of string to tag the message with. Stats are accumulated using tags, though we only store the first 100 we see, so this should not be unique or change frequently. Tags should be 50 characters or less. Any tags starting with an underscore are reserved for internal use and will cause errors.
+ * - tags[] string a single tag - must not start with an underscore
+ * - subaccount string the unique id of a subaccount for this message - must already exist or will fail with an error
+ * - google_analytics_domains array an array of strings indicating for which any matching URLs will automatically have Google Analytics parameters appended to their query string automatically.
+ * - google_analytics_campaign array|string optional string indicating the value to set for the utm_campaign tracking parameter. If this isn't provided the email's from address will be used instead.
+ * - metadata array metadata an associative array of user metadata. Mandrill will store this metadata and make it available for retrieval. In addition, you can select up to 10 metadata fields to index and make searchable using the Mandrill search api.
+ * - recipient_metadata array Per-recipient metadata that will override the global values specified in the metadata parameter.
+ * - recipient_metadata[] struct metadata for a single recipient
+ * - rcpt string the email address of the recipient that the metadata is associated with
+ * - values array an associated array containing the recipient's unique metadata. If a key exists in both the per-recipient metadata and the global metadata, the per-recipient metadata will be used.
+ * - attachments array an array of supported attachments to add to the message
+ * - attachments[] struct a single supported attachment
+ * - type string the MIME type of the attachment
+ * - name string the file name of the attachment
+ * - content string the content of the attachment as a base64-encoded string
+ * - images array an array of embedded images to add to the message
+ * - images[] struct a single embedded image
+ * - type string the MIME type of the image - must start with "image/"
+ * - name string the Content ID of the image - use <img src="cid:THIS_VALUE"> to reference the image in your HTML content
+ * - content string the content of the image as a base64-encoded string
+ * @param boolean $async enable a background sending mode that is optimized for bulk sending. In async mode, messages/send will immediately return a status of "queued" for every recipient. To handle rejections when sending in async mode, set up a webhook for the 'reject' event. Defaults to false for messages with no more than 10 recipients; messages with more than 10 recipients are always sent asynchronously, regardless of the value of async.
+ * @param string $ip_pool the name of the dedicated ip pool that should be used to send the message. If you do not have any dedicated IPs, this parameter has no effect. If you specify a pool that does not exist, your default pool will be used instead.
+ * @param string $send_at when this message should be sent as a UTC timestamp in YYYY-MM-DD HH:MM:SS format. If you specify a time in the past, the message will be sent immediately. An additional fee applies for scheduled email, and this feature is only available to accounts with a positive balance.
+ * @return array of structs for each recipient containing the key "email" with the email address, and details of the message status for that recipient
+ * - return[] struct the sending results for a single recipient
+ * - email string the email address of the recipient
+ * - status string the sending status of the recipient - either "sent", "queued", "scheduled", "rejected", or "invalid"
+ * - reject_reason string the reason for the rejection if the recipient status is "rejected" - one of "hard-bounce", "soft-bounce", "spam", "unsub", "custom", "invalid-sender", "invalid", "test-mode-limit", or "rule"
+ * - _id string the message's unique id
+ */
+ public function send($message, $async=false, $ip_pool=null, $send_at=null) {
+ $_params = array("message" => $message, "async" => $async, "ip_pool" => $ip_pool, "send_at" => $send_at);
+ return $this->master->call('messages/send', $_params);
+ }
+
+ /**
+ * Send a new transactional message through Mandrill using a template
+ * @param string $template_name the immutable name or slug of a template that exists in the user's account. For backwards-compatibility, the template name may also be used but the immutable slug is preferred.
+ * @param array $template_content an array of template content to send. Each item in the array should be a struct with two keys - name: the name of the content block to set the content for, and content: the actual content to put into the block
+ * - template_content[] struct the injection of a single piece of content into a single editable region
+ * - name string the name of the mc:edit editable region to inject into
+ * - content string the content to inject
+ * @param struct $message the other information on the message to send - same as /messages/send, but without the html content
+ * - html string optional full HTML content to be sent if not in template
+ * - text string optional full text content to be sent
+ * - subject string the message subject
+ * - from_email string the sender email address.
+ * - from_name string optional from name to be used
+ * - to array an array of recipient information.
+ * - to[] struct a single recipient's information.
+ * - email string the email address of the recipient
+ * - name string the optional display name to use for the recipient
+ * - type string the header type to use for the recipient, defaults to "to" if not provided
+ * - headers struct optional extra headers to add to the message (most headers are allowed)
+ * - important boolean whether or not this message is important, and should be delivered ahead of non-important messages
+ * - track_opens boolean whether or not to turn on open tracking for the message
+ * - track_clicks boolean whether or not to turn on click tracking for the message
+ * - auto_text boolean whether or not to automatically generate a text part for messages that are not given text
+ * - auto_html boolean whether or not to automatically generate an HTML part for messages that are not given HTML
+ * - inline_css boolean whether or not to automatically inline all CSS styles provided in the message HTML - only for HTML documents less than 256KB in size
+ * - url_strip_qs boolean whether or not to strip the query string from URLs when aggregating tracked URL data
+ * - preserve_recipients boolean whether or not to expose all recipients in to "To" header for each email
+ * - view_content_link boolean set to false to remove content logging for sensitive emails
+ * - bcc_address string an optional address to receive an exact copy of each recipient's email
+ * - tracking_domain string a custom domain to use for tracking opens and clicks instead of mandrillapp.com
+ * - signing_domain string a custom domain to use for SPF/DKIM signing instead of mandrill (for "via" or "on behalf of" in email clients)
+ * - return_path_domain string a custom domain to use for the messages's return-path
+ * - merge boolean whether to evaluate merge tags in the message. Will automatically be set to true if either merge_vars or global_merge_vars are provided.
+ * - merge_language string the merge tag language to use when evaluating merge tags, either mailchimp or handlebars
+ * - global_merge_vars array global merge variables to use for all recipients. You can override these per recipient.
+ * - global_merge_vars[] struct a single global merge variable
+ * - name string the global merge variable's name. Merge variable names are case-insensitive and may not start with _
+ * - content mixed the global merge variable's content
+ * - merge_vars array per-recipient merge variables, which override global merge variables with the same name.
+ * - merge_vars[] struct per-recipient merge variables
+ * - rcpt string the email address of the recipient that the merge variables should apply to
+ * - vars array the recipient's merge variables
+ * - vars[] struct a single merge variable
+ * - name string the merge variable's name. Merge variable names are case-insensitive and may not start with _
+ * - content mixed the merge variable's content
+ * - tags array an array of string to tag the message with. Stats are accumulated using tags, though we only store the first 100 we see, so this should not be unique or change frequently. Tags should be 50 characters or less. Any tags starting with an underscore are reserved for internal use and will cause errors.
+ * - tags[] string a single tag - must not start with an underscore
+ * - subaccount string the unique id of a subaccount for this message - must already exist or will fail with an error
+ * - google_analytics_domains array an array of strings indicating for which any matching URLs will automatically have Google Analytics parameters appended to their query string automatically.
+ * - google_analytics_campaign array|string optional string indicating the value to set for the utm_campaign tracking parameter. If this isn't provided the email's from address will be used instead.
+ * - metadata array metadata an associative array of user metadata. Mandrill will store this metadata and make it available for retrieval. In addition, you can select up to 10 metadata fields to index and make searchable using the Mandrill search api.
+ * - recipient_metadata array Per-recipient metadata that will override the global values specified in the metadata parameter.
+ * - recipient_metadata[] struct metadata for a single recipient
+ * - rcpt string the email address of the recipient that the metadata is associated with
+ * - values array an associated array containing the recipient's unique metadata. If a key exists in both the per-recipient metadata and the global metadata, the per-recipient metadata will be used.
+ * - attachments array an array of supported attachments to add to the message
+ * - attachments[] struct a single supported attachment
+ * - type string the MIME type of the attachment
+ * - name string the file name of the attachment
+ * - content string the content of the attachment as a base64-encoded string
+ * - images array an array of embedded images to add to the message
+ * - images[] struct a single embedded image
+ * - type string the MIME type of the image - must start with "image/"
+ * - name string the Content ID of the image - use <img src="cid:THIS_VALUE"> to reference the image in your HTML content
+ * - content string the content of the image as a base64-encoded string
+ * @param boolean $async enable a background sending mode that is optimized for bulk sending. In async mode, messages/send will immediately return a status of "queued" for every recipient. To handle rejections when sending in async mode, set up a webhook for the 'reject' event. Defaults to false for messages with no more than 10 recipients; messages with more than 10 recipients are always sent asynchronously, regardless of the value of async.
+ * @param string $ip_pool the name of the dedicated ip pool that should be used to send the message. If you do not have any dedicated IPs, this parameter has no effect. If you specify a pool that does not exist, your default pool will be used instead.
+ * @param string $send_at when this message should be sent as a UTC timestamp in YYYY-MM-DD HH:MM:SS format. If you specify a time in the past, the message will be sent immediately. An additional fee applies for scheduled email, and this feature is only available to accounts with a positive balance.
+ * @return array of structs for each recipient containing the key "email" with the email address, and details of the message status for that recipient
+ * - return[] struct the sending results for a single recipient
+ * - email string the email address of the recipient
+ * - status string the sending status of the recipient - either "sent", "queued", "rejected", or "invalid"
+ * - reject_reason string the reason for the rejection if the recipient status is "rejected" - one of "hard-bounce", "soft-bounce", "spam", "unsub", "custom", "invalid-sender", "invalid", "test-mode-limit", or "rule"
+ * - _id string the message's unique id
+ */
+ public function sendTemplate($template_name, $template_content, $message, $async=false, $ip_pool=null, $send_at=null) {
+ $_params = array("template_name" => $template_name, "template_content" => $template_content, "message" => $message, "async" => $async, "ip_pool" => $ip_pool, "send_at" => $send_at);
+ return $this->master->call('messages/send-template', $_params);
+ }
+
+ /**
+ * Search recently sent messages and optionally narrow by date range, tags, senders, and API keys. If no date range is specified, results within the last 7 days are returned. This method may be called up to 20 times per minute. If you need the data more often, you can use <a href="/api/docs/messages.html#method=info">/messages/info.json</a> to get the information for a single message, or <a href="http://help.mandrill.com/entries/21738186-Introduction-to-Webhooks">webhooks</a> to push activity to your own application for querying.
+ * @param string $query <a href="http://help.mandrill.com/entries/22211902">search terms</a> to find matching messages
+ * @param string $date_from start date
+ * @param string $date_to end date
+ * @param array $tags an array of tag names to narrow the search to, will return messages that contain ANY of the tags
+ * @param array $senders an array of sender addresses to narrow the search to, will return messages sent by ANY of the senders
+ * @param array $api_keys an array of API keys to narrow the search to, will return messages sent by ANY of the keys
+ * @param integer $limit the maximum number of results to return, defaults to 100, 1000 is the maximum
+ * @return array of structs for each matching message
+ * - return[] struct the information for a single matching message
+ * - ts integer the Unix timestamp from when this message was sent
+ * - _id string the message's unique id
+ * - sender string the email address of the sender
+ * - template string the unique name of the template used, if any
+ * - subject string the message's subject line
+ * - email string the recipient email address
+ * - tags array list of tags on this message
+ * - tags[] string individual tag on this message
+ * - opens integer how many times has this message been opened
+ * - opens_detail array list of individual opens for the message
+ * - opens_detail[] struct information on an individual open
+ * - ts integer the unix timestamp from when the message was opened
+ * - ip string the IP address that generated the open
+ * - location string the approximate region and country that the opening IP is located
+ * - ua string the email client or browser data of the open
+ * - clicks integer how many times has a link been clicked in this message
+ * - clicks_detail array list of individual clicks for the message
+ * - clicks_detail[] struct information on an individual click
+ * - ts integer the unix timestamp from when the message was clicked
+ * - url string the URL that was clicked on
+ * - ip string the IP address that generated the click
+ * - location string the approximate region and country that the clicking IP is located
+ * - ua string the email client or browser data of the click
+ * - state string sending status of this message: sent, bounced, rejected
+ * - metadata struct any custom metadata provided when the message was sent
+ * - smtp_events array a log of up to 3 smtp events for the message
+ * - smtp_events[] struct information about a specific smtp event
+ * - ts integer the Unix timestamp when the event occured
+ * - type string the message's state as a result of this event
+ * - diag string the SMTP response from the recipient's server
+ */
+ public function search($query='*', $date_from=null, $date_to=null, $tags=null, $senders=null, $api_keys=null, $limit=100) {
+ $_params = array("query" => $query, "date_from" => $date_from, "date_to" => $date_to, "tags" => $tags, "senders" => $senders, "api_keys" => $api_keys, "limit" => $limit);
+ return $this->master->call('messages/search', $_params);
+ }
+
+ /**
+ * Search the content of recently sent messages and return the aggregated hourly stats for matching messages
+ * @param string $query the search terms to find matching messages for
+ * @param string $date_from start date
+ * @param string $date_to end date
+ * @param array $tags an array of tag names to narrow the search to, will return messages that contain ANY of the tags
+ * @param array $senders an array of sender addresses to narrow the search to, will return messages sent by ANY of the senders
+ * @return array the array of history information
+ * - return[] struct the stats for a single hour
+ * - time string the hour as a UTC date string in YYYY-MM-DD HH:MM:SS format
+ * - sent integer the number of emails that were sent during the hour
+ * - hard_bounces integer the number of emails that hard bounced during the hour
+ * - soft_bounces integer the number of emails that soft bounced during the hour
+ * - rejects integer the number of emails that were rejected during the hour
+ * - complaints integer the number of spam complaints received during the hour
+ * - unsubs integer the number of unsubscribes received during the hour
+ * - opens integer the number of emails opened during the hour
+ * - unique_opens integer the number of unique opens generated by messages sent during the hour
+ * - clicks integer the number of tracked URLs clicked during the hour
+ * - unique_clicks integer the number of unique clicks generated by messages sent during the hour
+ */
+ public function searchTimeSeries($query='*', $date_from=null, $date_to=null, $tags=null, $senders=null) {
+ $_params = array("query" => $query, "date_from" => $date_from, "date_to" => $date_to, "tags" => $tags, "senders" => $senders);
+ return $this->master->call('messages/search-time-series', $_params);
+ }
+
+ /**
+ * Get the information for a single recently sent message
+ * @param string $id the unique id of the message to get - passed as the "_id" field in webhooks, send calls, or search calls
+ * @return struct the information for the message
+ * - ts integer the Unix timestamp from when this message was sent
+ * - _id string the message's unique id
+ * - sender string the email address of the sender
+ * - template string the unique name of the template used, if any
+ * - subject string the message's subject line
+ * - email string the recipient email address
+ * - tags array list of tags on this message
+ * - tags[] string individual tag on this message
+ * - opens integer how many times has this message been opened
+ * - opens_detail array list of individual opens for the message
+ * - opens_detail[] struct information on an individual open
+ * - ts integer the unix timestamp from when the message was opened
+ * - ip string the IP address that generated the open
+ * - location string the approximate region and country that the opening IP is located
+ * - ua string the email client or browser data of the open
+ * - clicks integer how many times has a link been clicked in this message
+ * - clicks_detail array list of individual clicks for the message
+ * - clicks_detail[] struct information on an individual click
+ * - ts integer the unix timestamp from when the message was clicked
+ * - url string the URL that was clicked on
+ * - ip string the IP address that generated the click
+ * - location string the approximate region and country that the clicking IP is located
+ * - ua string the email client or browser data of the click
+ * - state string sending status of this message: sent, bounced, rejected
+ * - metadata struct any custom metadata provided when the message was sent
+ * - smtp_events array a log of up to 3 smtp events for the message
+ * - smtp_events[] struct information about a specific smtp event
+ * - ts integer the Unix timestamp when the event occured
+ * - type string the message's state as a result of this event
+ * - diag string the SMTP response from the recipient's server
+ */
+ public function info($id) {
+ $_params = array("id" => $id);
+ return $this->master->call('messages/info', $_params);
+ }
+
+ /**
+ * Get the full content of a recently sent message
+ * @param string $id the unique id of the message to get - passed as the "_id" field in webhooks, send calls, or search calls
+ * @return struct the content of the message
+ * - ts integer the Unix timestamp from when this message was sent
+ * - _id string the message's unique id
+ * - from_email string the email address of the sender
+ * - from_name string the alias of the sender (if any)
+ * - subject string the message's subject line
+ * - to struct the message recipient's information
+ * - email string the email address of the recipient
+ * - name string the alias of the recipient (if any)
+ * - tags array list of tags on this message
+ * - tags[] string individual tag on this message
+ * - headers struct the key-value pairs of the custom MIME headers for the message's main document
+ * - text string the text part of the message, if any
+ * - html string the HTML part of the message, if any
+ * - attachments array an array of any attachments that can be found in the message
+ * - attachments[] struct information about an individual attachment
+ * - name string the file name of the attachment
+ * - type string the MIME type of the attachment
+ * - content string the content of the attachment as a base64 encoded string
+ */
+ public function content($id) {
+ $_params = array("id" => $id);
+ return $this->master->call('messages/content', $_params);
+ }
+
+ /**
+ * Parse the full MIME document for an email message, returning the content of the message broken into its constituent pieces
+ * @param string $raw_message the full MIME document of an email message
+ * @return struct the parsed message
+ * - subject string the subject of the message
+ * - from_email string the email address of the sender
+ * - from_name string the alias of the sender (if any)
+ * - to array an array of any recipients in the message
+ * - to[] struct the information on a single recipient
+ * - email string the email address of the recipient
+ * - name string the alias of the recipient (if any)
+ * - headers struct the key-value pairs of the MIME headers for the message's main document
+ * - text string the text part of the message, if any
+ * - html string the HTML part of the message, if any
+ * - attachments array an array of any attachments that can be found in the message
+ * - attachments[] struct information about an individual attachment
+ * - name string the file name of the attachment
+ * - type string the MIME type of the attachment
+ * - binary boolean if this is set to true, the attachment is not pure-text, and the content will be base64 encoded
+ * - content string the content of the attachment as a text string or a base64 encoded string based on the attachment type
+ * - images array an array of any embedded images that can be found in the message
+ * - images[] struct information about an individual image
+ * - name string the Content-ID of the embedded image
+ * - type string the MIME type of the image
+ * - content string the content of the image as a base64 encoded string
+ */
+ public function parse($raw_message) {
+ $_params = array("raw_message" => $raw_message);
+ return $this->master->call('messages/parse', $_params);
+ }
+
+ /**
+ * Take a raw MIME document for a message, and send it exactly as if it were sent through Mandrill's SMTP servers
+ * @param string $raw_message the full MIME document of an email message
+ * @param string|null $from_email optionally define the sender address - otherwise we'll use the address found in the provided headers
+ * @param string|null $from_name optionally define the sender alias
+ * @param array|null $to optionally define the recipients to receive the message - otherwise we'll use the To, Cc, and Bcc headers provided in the document
+ * - to[] string the email address of the recipient
+ * @param boolean $async enable a background sending mode that is optimized for bulk sending. In async mode, messages/sendRaw will immediately return a status of "queued" for every recipient. To handle rejections when sending in async mode, set up a webhook for the 'reject' event. Defaults to false for messages with no more than 10 recipients; messages with more than 10 recipients are always sent asynchronously, regardless of the value of async.
+ * @param string $ip_pool the name of the dedicated ip pool that should be used to send the message. If you do not have any dedicated IPs, this parameter has no effect. If you specify a pool that does not exist, your default pool will be used instead.
+ * @param string $send_at when this message should be sent as a UTC timestamp in YYYY-MM-DD HH:MM:SS format. If you specify a time in the past, the message will be sent immediately.
+ * @param string $return_path_domain a custom domain to use for the messages's return-path
+ * @return array of structs for each recipient containing the key "email" with the email address, and details of the message status for that recipient
+ * - return[] struct the sending results for a single recipient
+ * - email string the email address of the recipient
+ * - status string the sending status of the recipient - either "sent", "queued", "scheduled", "rejected", or "invalid"
+ * - reject_reason string the reason for the rejection if the recipient status is "rejected" - one of "hard-bounce", "soft-bounce", "spam", "unsub", "custom", "invalid-sender", "invalid", "test-mode-limit", or "rule"
+ * - _id string the message's unique id
+ */
+ public function sendRaw($raw_message, $from_email=null, $from_name=null, $to=null, $async=false, $ip_pool=null, $send_at=null, $return_path_domain=null) {
+ $_params = array("raw_message" => $raw_message, "from_email" => $from_email, "from_name" => $from_name, "to" => $to, "async" => $async, "ip_pool" => $ip_pool, "send_at" => $send_at, "return_path_domain" => $return_path_domain);
+ return $this->master->call('messages/send-raw', $_params);
+ }
+
+ /**
+ * Queries your scheduled emails.
+ * @param string $to an optional recipient address to restrict results to
+ * @return array a list of up to 1000 scheduled emails
+ * - return[] struct a scheduled email
+ * - _id string the scheduled message id
+ * - created_at string the UTC timestamp when the message was created, in YYYY-MM-DD HH:MM:SS format
+ * - send_at string the UTC timestamp when the message will be sent, in YYYY-MM-DD HH:MM:SS format
+ * - from_email string the email's sender address
+ * - to string the email's recipient
+ * - subject string the email's subject
+ */
+ public function listScheduled($to=null) {
+ $_params = array("to" => $to);
+ return $this->master->call('messages/list-scheduled', $_params);
+ }
+
+ /**
+ * Cancels a scheduled email.
+ * @param string $id a scheduled email id, as returned by any of the messages/send calls or messages/list-scheduled
+ * @return struct information about the scheduled email that was cancelled.
+ * - _id string the scheduled message id
+ * - created_at string the UTC timestamp when the message was created, in YYYY-MM-DD HH:MM:SS format
+ * - send_at string the UTC timestamp when the message will be sent, in YYYY-MM-DD HH:MM:SS format
+ * - from_email string the email's sender address
+ * - to string the email's recipient
+ * - subject string the email's subject
+ */
+ public function cancelScheduled($id) {
+ $_params = array("id" => $id);
+ return $this->master->call('messages/cancel-scheduled', $_params);
+ }
+
+ /**
+ * Reschedules a scheduled email.
+ * @param string $id a scheduled email id, as returned by any of the messages/send calls or messages/list-scheduled
+ * @param string $send_at the new UTC timestamp when the message should sent. Mandrill can't time travel, so if you specify a time in past the message will be sent immediately
+ * @return struct information about the scheduled email that was rescheduled.
+ * - _id string the scheduled message id
+ * - created_at string the UTC timestamp when the message was created, in YYYY-MM-DD HH:MM:SS format
+ * - send_at string the UTC timestamp when the message will be sent, in YYYY-MM-DD HH:MM:SS format
+ * - from_email string the email's sender address
+ * - to string the email's recipient
+ * - subject string the email's subject
+ */
+ public function reschedule($id, $send_at) {
+ $_params = array("id" => $id, "send_at" => $send_at);
+ return $this->master->call('messages/reschedule', $_params);
+ }
+
+}
+
+
diff --git a/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Metadata.php b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Metadata.php
new file mode 100644
index 0000000..ca681e9
--- /dev/null
+++ b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Metadata.php
@@ -0,0 +1,64 @@
+<?php
+
+class Postman_Mandrill_Metadata {
+ public function __construct(Postman_Mandrill $master) {
+ $this->master = $master;
+ }
+
+ /**
+ * Get the list of custom metadata fields indexed for the account.
+ * @return array the custom metadata fields for the account
+ * - return[] struct the individual custom metadata field info
+ * - name string the unique identifier of the metadata field to update
+ * - state string the current state of the metadata field, one of "active", "delete", or "index"
+ * - view_template string Mustache template to control how the metadata is rendered in your activity log
+ */
+ public function getList() {
+ $_params = array();
+ return $this->master->call('metadata/list', $_params);
+ }
+
+ /**
+ * Add a new custom metadata field to be indexed for the account.
+ * @param string $name a unique identifier for the metadata field
+ * @param string $view_template optional Mustache template to control how the metadata is rendered in your activity log
+ * @return struct the information saved about the new metadata field
+ * - name string the unique identifier of the metadata field to update
+ * - state string the current state of the metadata field, one of "active", "delete", or "index"
+ * - view_template string Mustache template to control how the metadata is rendered in your activity log
+ */
+ public function add($name, $view_template=null) {
+ $_params = array("name" => $name, "view_template" => $view_template);
+ return $this->master->call('metadata/add', $_params);
+ }
+
+ /**
+ * Update an existing custom metadata field.
+ * @param string $name the unique identifier of the metadata field to update
+ * @param string $view_template optional Mustache template to control how the metadata is rendered in your activity log
+ * @return struct the information for the updated metadata field
+ * - name string the unique identifier of the metadata field to update
+ * - state string the current state of the metadata field, one of "active", "delete", or "index"
+ * - view_template string Mustache template to control how the metadata is rendered in your activity log
+ */
+ public function update($name, $view_template) {
+ $_params = array("name" => $name, "view_template" => $view_template);
+ return $this->master->call('metadata/update', $_params);
+ }
+
+ /**
+ * Delete an existing custom metadata field. Deletion isn't instataneous, and /metadata/list will continue to return the field until the asynchronous deletion process is complete.
+ * @param string $name the unique identifier of the metadata field to update
+ * @return struct the information for the deleted metadata field
+ * - name string the unique identifier of the metadata field to update
+ * - state string the current state of the metadata field, one of "active", "delete", or "index"
+ * - view_template string Mustache template to control how the metadata is rendered in your activity log
+ */
+ public function delete($name) {
+ $_params = array("name" => $name);
+ return $this->master->call('metadata/delete', $_params);
+ }
+
+}
+
+
diff --git a/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Rejects.php b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Rejects.php
new file mode 100644
index 0000000..1e75d2b
--- /dev/null
+++ b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Rejects.php
@@ -0,0 +1,80 @@
+<?php
+
+class Postman_Mandrill_Rejects {
+ public function __construct(Postman_Mandrill $master) {
+ $this->master = $master;
+ }
+
+ /**
+ * Adds an email to your email rejection blacklist. Addresses that you
+add manually will never expire and there is no reputation penalty
+for removing them from your blacklist. Attempting to blacklist an
+address that has been whitelisted will have no effect.
+ * @param string $email an email address to block
+ * @param string $comment an optional comment describing the rejection
+ * @param string $subaccount an optional unique identifier for the subaccount to limit the blacklist entry
+ * @return struct a status object containing the address and the result of the operation
+ * - email string the email address you provided
+ * - added boolean whether the operation succeeded
+ */
+ public function add($email, $comment=null, $subaccount=null) {
+ $_params = array("email" => $email, "comment" => $comment, "subaccount" => $subaccount);
+ return $this->master->call('rejects/add', $_params);
+ }
+
+ /**
+ * Retrieves your email rejection blacklist. You can provide an email
+address to limit the results. Returns up to 1000 results. By default,
+entries that have expired are excluded from the results; set
+include_expired to true to include them.
+ * @param string $email an optional email address to search by
+ * @param boolean $include_expired whether to include rejections that have already expired.
+ * @param string $subaccount an optional unique identifier for the subaccount to limit the blacklist
+ * @return array Up to 1000 rejection entries
+ * - return[] struct the information for each rejection blacklist entry
+ * - email string the email that is blocked
+ * - reason string the type of event (hard-bounce, soft-bounce, spam, unsub, custom) that caused this rejection
+ * - detail string extended details about the event, such as the SMTP diagnostic for bounces or the comment for manually-created rejections
+ * - created_at string when the email was added to the blacklist
+ * - last_event_at string the timestamp of the most recent event that either created or renewed this rejection
+ * - expires_at string when the blacklist entry will expire (this may be in the past)
+ * - expired boolean whether the blacklist entry has expired
+ * - sender struct the sender that this blacklist entry applies to, or null if none.
+ * - address string the sender's email address
+ * - created_at string the date and time that the sender was first seen by Mandrill as a UTC date string in YYYY-MM-DD HH:MM:SS format
+ * - sent integer the total number of messages sent by this sender
+ * - hard_bounces integer the total number of hard bounces by messages by this sender
+ * - soft_bounces integer the total number of soft bounces by messages by this sender
+ * - rejects integer the total number of rejected messages by this sender
+ * - complaints integer the total number of spam complaints received for messages by this sender
+ * - unsubs integer the total number of unsubscribe requests received for messages by this sender
+ * - opens integer the total number of times messages by this sender have been opened
+ * - clicks integer the total number of times tracked URLs in messages by this sender have been clicked
+ * - unique_opens integer the number of unique opens for emails sent for this sender
+ * - unique_clicks integer the number of unique clicks for emails sent for this sender
+ * - subaccount string the subaccount that this blacklist entry applies to, or null if none.
+ */
+ public function getList($email=null, $include_expired=false, $subaccount=null) {
+ $_params = array("email" => $email, "include_expired" => $include_expired, "subaccount" => $subaccount);
+ return $this->master->call('rejects/list', $_params);
+ }
+
+ /**
+ * Deletes an email rejection. There is no limit to how many rejections
+you can remove from your blacklist, but keep in mind that each deletion
+has an affect on your reputation.
+ * @param string $email an email address
+ * @param string $subaccount an optional unique identifier for the subaccount to limit the blacklist deletion
+ * @return struct a status object containing the address and whether the deletion succeeded.
+ * - email string the email address that was removed from the blacklist
+ * - deleted boolean whether the address was deleted successfully.
+ * - subaccount string the subaccount blacklist that the address was removed from, if any
+ */
+ public function delete($email, $subaccount=null) {
+ $_params = array("email" => $email, "subaccount" => $subaccount);
+ return $this->master->call('rejects/delete', $_params);
+ }
+
+}
+
+
diff --git a/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Senders.php b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Senders.php
new file mode 100644
index 0000000..4a939ab
--- /dev/null
+++ b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Senders.php
@@ -0,0 +1,218 @@
+<?php
+
+class Postman_Mandrill_Senders {
+ public function __construct(Postman_Mandrill $master) {
+ $this->master = $master;
+ }
+
+ /**
+ * Return the senders that have tried to use this account.
+ * @return array an array of sender data, one for each sending addresses used by the account
+ * - return[] struct the information on each sending address in the account
+ * - address string the sender's email address
+ * - created_at string the date and time that the sender was first seen by Mandrill as a UTC date string in YYYY-MM-DD HH:MM:SS format
+ * - sent integer the total number of messages sent by this sender
+ * - hard_bounces integer the total number of hard bounces by messages by this sender
+ * - soft_bounces integer the total number of soft bounces by messages by this sender
+ * - rejects integer the total number of rejected messages by this sender
+ * - complaints integer the total number of spam complaints received for messages by this sender
+ * - unsubs integer the total number of unsubscribe requests received for messages by this sender
+ * - opens integer the total number of times messages by this sender have been opened
+ * - clicks integer the total number of times tracked URLs in messages by this sender have been clicked
+ * - unique_opens integer the number of unique opens for emails sent for this sender
+ * - unique_clicks integer the number of unique clicks for emails sent for this sender
+ */
+ public function getList() {
+ $_params = array();
+ return $this->master->call('senders/list', $_params);
+ }
+
+ /**
+ * Returns the sender domains that have been added to this account.
+ * @return array an array of sender domain data, one for each sending domain used by the account
+ * - return[] struct the information on each sending domain for the account
+ * - domain string the sender domain name
+ * - created_at string the date and time that the sending domain was first seen as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - last_tested_at string when the domain's DNS settings were last tested as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - spf struct details about the domain's SPF record
+ * - valid boolean whether the domain's SPF record is valid for use with Mandrill
+ * - valid_after string when the domain's SPF record will be considered valid for use with Mandrill as a UTC string in YYYY-MM-DD HH:MM:SS format. If set, this indicates that the record is valid now, but was previously invalid, and Mandrill will wait until the record's TTL elapses to start using it.
+ * - error string an error describing the spf record, or null if the record is correct
+ * - dkim struct details about the domain's DKIM record
+ * - valid boolean whether the domain's DKIM record is valid for use with Mandrill
+ * - valid_after string when the domain's DKIM record will be considered valid for use with Mandrill as a UTC string in YYYY-MM-DD HH:MM:SS format. If set, this indicates that the record is valid now, but was previously invalid, and Mandrill will wait until the record's TTL elapses to start using it.
+ * - error string an error describing the DKIM record, or null if the record is correct
+ * - verified_at string if the domain has been verified, this indicates when that verification occurred as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - valid_signing boolean whether this domain can be used to authenticate mail, either for itself or as a custom signing domain. If this is false but spf and dkim are both valid, you will need to verify the domain before using it to authenticate mail
+ */
+ public function domains() {
+ $_params = array();
+ return $this->master->call('senders/domains', $_params);
+ }
+
+ /**
+ * Adds a sender domain to your account. Sender domains are added automatically as you
+send, but you can use this call to add them ahead of time.
+ * @param string $domain a domain name
+ * @return struct information about the domain
+ * - domain string the sender domain name
+ * - created_at string the date and time that the sending domain was first seen as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - last_tested_at string when the domain's DNS settings were last tested as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - spf struct details about the domain's SPF record
+ * - valid boolean whether the domain's SPF record is valid for use with Mandrill
+ * - valid_after string when the domain's SPF record will be considered valid for use with Mandrill as a UTC string in YYYY-MM-DD HH:MM:SS format. If set, this indicates that the record is valid now, but was previously invalid, and Mandrill will wait until the record's TTL elapses to start using it.
+ * - error string an error describing the spf record, or null if the record is correct
+ * - dkim struct details about the domain's DKIM record
+ * - valid boolean whether the domain's DKIM record is valid for use with Mandrill
+ * - valid_after string when the domain's DKIM record will be considered valid for use with Mandrill as a UTC string in YYYY-MM-DD HH:MM:SS format. If set, this indicates that the record is valid now, but was previously invalid, and Mandrill will wait until the record's TTL elapses to start using it.
+ * - error string an error describing the DKIM record, or null if the record is correct
+ * - verified_at string if the domain has been verified, this indicates when that verification occurred as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - valid_signing boolean whether this domain can be used to authenticate mail, either for itself or as a custom signing domain. If this is false but spf and dkim are both valid, you will need to verify the domain before using it to authenticate mail
+ */
+ public function addDomain($domain) {
+ $_params = array("domain" => $domain);
+ return $this->master->call('senders/add-domain', $_params);
+ }
+
+ /**
+ * Checks the SPF and DKIM settings for a domain. If you haven't already added this domain to your
+account, it will be added automatically.
+ * @param string $domain a domain name
+ * @return struct information about the sender domain
+ * - domain string the sender domain name
+ * - created_at string the date and time that the sending domain was first seen as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - last_tested_at string when the domain's DNS settings were last tested as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - spf struct details about the domain's SPF record
+ * - valid boolean whether the domain's SPF record is valid for use with Mandrill
+ * - valid_after string when the domain's SPF record will be considered valid for use with Mandrill as a UTC string in YYYY-MM-DD HH:MM:SS format. If set, this indicates that the record is valid now, but was previously invalid, and Mandrill will wait until the record's TTL elapses to start using it.
+ * - error string an error describing the spf record, or null if the record is correct
+ * - dkim struct details about the domain's DKIM record
+ * - valid boolean whether the domain's DKIM record is valid for use with Mandrill
+ * - valid_after string when the domain's DKIM record will be considered valid for use with Mandrill as a UTC string in YYYY-MM-DD HH:MM:SS format. If set, this indicates that the record is valid now, but was previously invalid, and Mandrill will wait until the record's TTL elapses to start using it.
+ * - error string an error describing the DKIM record, or null if the record is correct
+ * - verified_at string if the domain has been verified, this indicates when that verification occurred as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - valid_signing boolean whether this domain can be used to authenticate mail, either for itself or as a custom signing domain. If this is false but spf and dkim are both valid, you will need to verify the domain before using it to authenticate mail
+ */
+ public function checkDomain($domain) {
+ $_params = array("domain" => $domain);
+ return $this->master->call('senders/check-domain', $_params);
+ }
+
+ /**
+ * Sends a verification email in order to verify ownership of a domain.
+Domain verification is a required step to confirm ownership of a domain. Once a
+domain has been verified in a Mandrill account, other accounts may not have their
+messages signed by that domain unless they also verify the domain. This prevents
+other Mandrill accounts from sending mail signed by your domain.
+ * @param string $domain a domain name at which you can receive email
+ * @param string $mailbox a mailbox at the domain where the verification email should be sent
+ * @return struct information about the verification that was sent
+ * - status string "sent" indicates that the verification has been sent, "already_verified" indicates that the domain has already been verified with your account
+ * - domain string the domain name you provided
+ * - email string the email address the verification email was sent to
+ */
+ public function verifyDomain($domain, $mailbox) {
+ $_params = array("domain" => $domain, "mailbox" => $mailbox);
+ return $this->master->call('senders/verify-domain', $_params);
+ }
+
+ /**
+ * Return more detailed information about a single sender, including aggregates of recent stats
+ * @param string $address the email address of the sender
+ * @return struct the detailed information on the sender
+ * - address string the sender's email address
+ * - created_at string the date and time that the sender was first seen by Mandrill as a UTC date string in YYYY-MM-DD HH:MM:SS format
+ * - sent integer the total number of messages sent by this sender
+ * - hard_bounces integer the total number of hard bounces by messages by this sender
+ * - soft_bounces integer the total number of soft bounces by messages by this sender
+ * - rejects integer the total number of rejected messages by this sender
+ * - complaints integer the total number of spam complaints received for messages by this sender
+ * - unsubs integer the total number of unsubscribe requests received for messages by this sender
+ * - opens integer the total number of times messages by this sender have been opened
+ * - clicks integer the total number of times tracked URLs in messages by this sender have been clicked
+ * - stats struct an aggregate summary of the sender's sending stats
+ * - today struct stats for this sender so far today
+ * - sent integer the number of emails sent for this sender so far today
+ * - hard_bounces integer the number of emails hard bounced for this sender so far today
+ * - soft_bounces integer the number of emails soft bounced for this sender so far today
+ * - rejects integer the number of emails rejected for sending this sender so far today
+ * - complaints integer the number of spam complaints for this sender so far today
+ * - unsubs integer the number of unsubscribes for this sender so far today
+ * - opens integer the number of times emails have been opened for this sender so far today
+ * - unique_opens integer the number of unique opens for emails sent for this sender so far today
+ * - clicks integer the number of URLs that have been clicked for this sender so far today
+ * - unique_clicks integer the number of unique clicks for emails sent for this sender so far today
+ * - last_7_days struct stats for this sender in the last 7 days
+ * - sent integer the number of emails sent for this sender in the last 7 days
+ * - hard_bounces integer the number of emails hard bounced for this sender in the last 7 days
+ * - soft_bounces integer the number of emails soft bounced for this sender in the last 7 days
+ * - rejects integer the number of emails rejected for sending this sender in the last 7 days
+ * - complaints integer the number of spam complaints for this sender in the last 7 days
+ * - unsubs integer the number of unsubscribes for this sender in the last 7 days
+ * - opens integer the number of times emails have been opened for this sender in the last 7 days
+ * - unique_opens integer the number of unique opens for emails sent for this sender in the last 7 days
+ * - clicks integer the number of URLs that have been clicked for this sender in the last 7 days
+ * - unique_clicks integer the number of unique clicks for emails sent for this sender in the last 7 days
+ * - last_30_days struct stats for this sender in the last 30 days
+ * - sent integer the number of emails sent for this sender in the last 30 days
+ * - hard_bounces integer the number of emails hard bounced for this sender in the last 30 days
+ * - soft_bounces integer the number of emails soft bounced for this sender in the last 30 days
+ * - rejects integer the number of emails rejected for sending this sender in the last 30 days
+ * - complaints integer the number of spam complaints for this sender in the last 30 days
+ * - unsubs integer the number of unsubscribes for this sender in the last 30 days
+ * - opens integer the number of times emails have been opened for this sender in the last 30 days
+ * - unique_opens integer the number of unique opens for emails sent for this sender in the last 30 days
+ * - clicks integer the number of URLs that have been clicked for this sender in the last 30 days
+ * - unique_clicks integer the number of unique clicks for emails sent for this sender in the last 30 days
+ * - last_60_days struct stats for this sender in the last 60 days
+ * - sent integer the number of emails sent for this sender in the last 60 days
+ * - hard_bounces integer the number of emails hard bounced for this sender in the last 60 days
+ * - soft_bounces integer the number of emails soft bounced for this sender in the last 60 days
+ * - rejects integer the number of emails rejected for sending this sender in the last 60 days
+ * - complaints integer the number of spam complaints for this sender in the last 60 days
+ * - unsubs integer the number of unsubscribes for this sender in the last 60 days
+ * - opens integer the number of times emails have been opened for this sender in the last 60 days
+ * - unique_opens integer the number of unique opens for emails sent for this sender in the last 60 days
+ * - clicks integer the number of URLs that have been clicked for this sender in the last 60 days
+ * - unique_clicks integer the number of unique clicks for emails sent for this sender in the last 60 days
+ * - last_90_days struct stats for this sender in the last 90 days
+ * - sent integer the number of emails sent for this sender in the last 90 days
+ * - hard_bounces integer the number of emails hard bounced for this sender in the last 90 days
+ * - soft_bounces integer the number of emails soft bounced for this sender in the last 90 days
+ * - rejects integer the number of emails rejected for sending this sender in the last 90 days
+ * - complaints integer the number of spam complaints for this sender in the last 90 days
+ * - unsubs integer the number of unsubscribes for this sender in the last 90 days
+ * - opens integer the number of times emails have been opened for this sender in the last 90 days
+ * - unique_opens integer the number of unique opens for emails sent for this sender in the last 90 days
+ * - clicks integer the number of URLs that have been clicked for this sender in the last 90 days
+ * - unique_clicks integer the number of unique clicks for emails sent for this sender in the last 90 days
+ */
+ public function info($address) {
+ $_params = array("address" => $address);
+ return $this->master->call('senders/info', $_params);
+ }
+
+ /**
+ * Return the recent history (hourly stats for the last 30 days) for a sender
+ * @param string $address the email address of the sender
+ * @return array the array of history information
+ * - return[] struct the stats for a single hour
+ * - time string the hour as a UTC date string in YYYY-MM-DD HH:MM:SS format
+ * - sent integer the number of emails that were sent during the hour
+ * - hard_bounces integer the number of emails that hard bounced during the hour
+ * - soft_bounces integer the number of emails that soft bounced during the hour
+ * - rejects integer the number of emails that were rejected during the hour
+ * - complaints integer the number of spam complaints received during the hour
+ * - opens integer the number of emails opened during the hour
+ * - unique_opens integer the number of unique opens generated by messages sent during the hour
+ * - clicks integer the number of tracked URLs clicked during the hour
+ * - unique_clicks integer the number of unique clicks generated by messages sent during the hour
+ */
+ public function timeSeries($address) {
+ $_params = array("address" => $address);
+ return $this->master->call('senders/time-series', $_params);
+ }
+
+}
+
+
diff --git a/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Subaccounts.php b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Subaccounts.php
new file mode 100644
index 0000000..783aff7
--- /dev/null
+++ b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Subaccounts.php
@@ -0,0 +1,171 @@
+<?php
+
+class Postman_Mandrill_Subaccounts {
+ public function __construct(Postman_Mandrill $master) {
+ $this->master = $master;
+ }
+
+ /**
+ * Get the list of subaccounts defined for the account, optionally filtered by a prefix
+ * @param string $q an optional prefix to filter the subaccounts' ids and names
+ * @return array the subaccounts for the account, up to a maximum of 1,000
+ * - return[] struct the individual subaccount info
+ * - id string a unique indentifier for the subaccount
+ * - name string an optional display name for the subaccount
+ * - custom_quota integer an optional manual hourly quota for the subaccount. If not specified, the hourly quota will be managed based on reputation
+ * - status string the current sending status of the subaccount, one of "active" or "paused"
+ * - reputation integer the subaccount's current reputation on a scale from 0 to 100
+ * - created_at string the date and time that the subaccount was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - first_sent_at string the date and time that the subaccount first sent as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - sent_weekly integer the number of emails the subaccount has sent so far this week (weeks start on midnight Monday, UTC)
+ * - sent_monthly integer the number of emails the subaccount has sent so far this month (months start on midnight of the 1st, UTC)
+ * - sent_total integer the number of emails the subaccount has sent since it was created
+ */
+ public function getList($q=null) {
+ $_params = array("q" => $q);
+ return $this->master->call('subaccounts/list', $_params);
+ }
+
+ /**
+ * Add a new subaccount
+ * @param string $id a unique identifier for the subaccount to be used in sending calls
+ * @param string $name an optional display name to further identify the subaccount
+ * @param string $notes optional extra text to associate with the subaccount
+ * @param integer $custom_quota an optional manual hourly quota for the subaccount. If not specified, Mandrill will manage this based on reputation
+ * @return struct the information saved about the new subaccount
+ * - id string a unique indentifier for the subaccount
+ * - name string an optional display name for the subaccount
+ * - custom_quota integer an optional manual hourly quota for the subaccount. If not specified, the hourly quota will be managed based on reputation
+ * - status string the current sending status of the subaccount, one of "active" or "paused"
+ * - reputation integer the subaccount's current reputation on a scale from 0 to 100
+ * - created_at string the date and time that the subaccount was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - first_sent_at string the date and time that the subaccount first sent as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - sent_weekly integer the number of emails the subaccount has sent so far this week (weeks start on midnight Monday, UTC)
+ * - sent_monthly integer the number of emails the subaccount has sent so far this month (months start on midnight of the 1st, UTC)
+ * - sent_total integer the number of emails the subaccount has sent since it was created
+ */
+ public function add($id, $name=null, $notes=null, $custom_quota=null) {
+ $_params = array("id" => $id, "name" => $name, "notes" => $notes, "custom_quota" => $custom_quota);
+ return $this->master->call('subaccounts/add', $_params);
+ }
+
+ /**
+ * Given the ID of an existing subaccount, return the data about it
+ * @param string $id the unique identifier of the subaccount to query
+ * @return struct the information about the subaccount
+ * - id string a unique indentifier for the subaccount
+ * - name string an optional display name for the subaccount
+ * - notes string optional extra text to associate with the subaccount
+ * - custom_quota integer an optional manual hourly quota for the subaccount. If not specified, the hourly quota will be managed based on reputation
+ * - status string the current sending status of the subaccount, one of "active" or "paused"
+ * - reputation integer the subaccount's current reputation on a scale from 0 to 100
+ * - created_at string the date and time that the subaccount was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - first_sent_at string the date and time that the subaccount first sent as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - sent_weekly integer the number of emails the subaccount has sent so far this week (weeks start on midnight Monday, UTC)
+ * - sent_monthly integer the number of emails the subaccount has sent so far this month (months start on midnight of the 1st, UTC)
+ * - sent_total integer the number of emails the subaccount has sent since it was created
+ * - sent_hourly integer the number of emails the subaccount has sent in the last hour
+ * - hourly_quota integer the current hourly quota for the subaccount, either manual or reputation-based
+ * - last_30_days struct stats for this subaccount in the last 30 days
+ * - sent integer the number of emails sent for this subaccount in the last 30 days
+ * - hard_bounces integer the number of emails hard bounced for this subaccount in the last 30 days
+ * - soft_bounces integer the number of emails soft bounced for this subaccount in the last 30 days
+ * - rejects integer the number of emails rejected for sending this subaccount in the last 30 days
+ * - complaints integer the number of spam complaints for this subaccount in the last 30 days
+ * - unsubs integer the number of unsbuscribes for this subaccount in the last 30 days
+ * - opens integer the number of times emails have been opened for this subaccount in the last 30 days
+ * - unique_opens integer the number of unique opens for emails sent for this subaccount in the last 30 days
+ * - clicks integer the number of URLs that have been clicked for this subaccount in the last 30 days
+ * - unique_clicks integer the number of unique clicks for emails sent for this subaccount in the last 30 days
+ */
+ public function info($id) {
+ $_params = array("id" => $id);
+ return $this->master->call('subaccounts/info', $_params);
+ }
+
+ /**
+ * Update an existing subaccount
+ * @param string $id the unique identifier of the subaccount to update
+ * @param string $name an optional display name to further identify the subaccount
+ * @param string $notes optional extra text to associate with the subaccount
+ * @param integer $custom_quota an optional manual hourly quota for the subaccount. If not specified, Mandrill will manage this based on reputation
+ * @return struct the information for the updated subaccount
+ * - id string a unique indentifier for the subaccount
+ * - name string an optional display name for the subaccount
+ * - custom_quota integer an optional manual hourly quota for the subaccount. If not specified, the hourly quota will be managed based on reputation
+ * - status string the current sending status of the subaccount, one of "active" or "paused"
+ * - reputation integer the subaccount's current reputation on a scale from 0 to 100
+ * - created_at string the date and time that the subaccount was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - first_sent_at string the date and time that the subaccount first sent as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - sent_weekly integer the number of emails the subaccount has sent so far this week (weeks start on midnight Monday, UTC)
+ * - sent_monthly integer the number of emails the subaccount has sent so far this month (months start on midnight of the 1st, UTC)
+ * - sent_total integer the number of emails the subaccount has sent since it was created
+ */
+ public function update($id, $name=null, $notes=null, $custom_quota=null) {
+ $_params = array("id" => $id, "name" => $name, "notes" => $notes, "custom_quota" => $custom_quota);
+ return $this->master->call('subaccounts/update', $_params);
+ }
+
+ /**
+ * Delete an existing subaccount. Any email related to the subaccount will be saved, but stats will be removed and any future sending calls to this subaccount will fail.
+ * @param string $id the unique identifier of the subaccount to delete
+ * @return struct the information for the deleted subaccount
+ * - id string a unique indentifier for the subaccount
+ * - name string an optional display name for the subaccount
+ * - custom_quota integer an optional manual hourly quota for the subaccount. If not specified, the hourly quota will be managed based on reputation
+ * - status string the current sending status of the subaccount, one of "active" or "paused"
+ * - reputation integer the subaccount's current reputation on a scale from 0 to 100
+ * - created_at string the date and time that the subaccount was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - first_sent_at string the date and time that the subaccount first sent as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - sent_weekly integer the number of emails the subaccount has sent so far this week (weeks start on midnight Monday, UTC)
+ * - sent_monthly integer the number of emails the subaccount has sent so far this month (months start on midnight of the 1st, UTC)
+ * - sent_total integer the number of emails the subaccount has sent since it was created
+ */
+ public function delete($id) {
+ $_params = array("id" => $id);
+ return $this->master->call('subaccounts/delete', $_params);
+ }
+
+ /**
+ * Pause a subaccount's sending. Any future emails delivered to this subaccount will be queued for a maximum of 3 days until the subaccount is resumed.
+ * @param string $id the unique identifier of the subaccount to pause
+ * @return struct the information for the paused subaccount
+ * - id string a unique indentifier for the subaccount
+ * - name string an optional display name for the subaccount
+ * - custom_quota integer an optional manual hourly quota for the subaccount. If not specified, the hourly quota will be managed based on reputation
+ * - status string the current sending status of the subaccount, one of "active" or "paused"
+ * - reputation integer the subaccount's current reputation on a scale from 0 to 100
+ * - created_at string the date and time that the subaccount was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - first_sent_at string the date and time that the subaccount first sent as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - sent_weekly integer the number of emails the subaccount has sent so far this week (weeks start on midnight Monday, UTC)
+ * - sent_monthly integer the number of emails the subaccount has sent so far this month (months start on midnight of the 1st, UTC)
+ * - sent_total integer the number of emails the subaccount has sent since it was created
+ */
+ public function pause($id) {
+ $_params = array("id" => $id);
+ return $this->master->call('subaccounts/pause', $_params);
+ }
+
+ /**
+ * Resume a paused subaccount's sending
+ * @param string $id the unique identifier of the subaccount to resume
+ * @return struct the information for the resumed subaccount
+ * - id string a unique indentifier for the subaccount
+ * - name string an optional display name for the subaccount
+ * - custom_quota integer an optional manual hourly quota for the subaccount. If not specified, the hourly quota will be managed based on reputation
+ * - status string the current sending status of the subaccount, one of "active" or "paused"
+ * - reputation integer the subaccount's current reputation on a scale from 0 to 100
+ * - created_at string the date and time that the subaccount was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - first_sent_at string the date and time that the subaccount first sent as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - sent_weekly integer the number of emails the subaccount has sent so far this week (weeks start on midnight Monday, UTC)
+ * - sent_monthly integer the number of emails the subaccount has sent so far this month (months start on midnight of the 1st, UTC)
+ * - sent_total integer the number of emails the subaccount has sent since it was created
+ */
+ public function resume($id) {
+ $_params = array("id" => $id);
+ return $this->master->call('subaccounts/resume', $_params);
+ }
+
+}
+
+
diff --git a/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Tags.php b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Tags.php
new file mode 100644
index 0000000..055b793
--- /dev/null
+++ b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Tags.php
@@ -0,0 +1,174 @@
+<?php
+
+class Postman_Mandrill_Tags {
+ public function __construct(Postman_Mandrill $master) {
+ $this->master = $master;
+ }
+
+ /**
+ * Return all of the user-defined tag information
+ * @return array a list of user-defined tags
+ * - return[] struct a user-defined tag
+ * - tag string the actual tag as a string
+ * - reputation integer the tag's current reputation on a scale from 0 to 100.
+ * - sent integer the total number of messages sent with this tag
+ * - hard_bounces integer the total number of hard bounces by messages with this tag
+ * - soft_bounces integer the total number of soft bounces by messages with this tag
+ * - rejects integer the total number of rejected messages with this tag
+ * - complaints integer the total number of spam complaints received for messages with this tag
+ * - unsubs integer the total number of unsubscribe requests received for messages with this tag
+ * - opens integer the total number of times messages with this tag have been opened
+ * - clicks integer the total number of times tracked URLs in messages with this tag have been clicked
+ * - unique_opens integer the number of unique opens for emails sent with this tag
+ * - unique_clicks integer the number of unique clicks for emails sent with this tag
+ */
+ public function getList() {
+ $_params = array();
+ return $this->master->call('tags/list', $_params);
+ }
+
+ /**
+ * Deletes a tag permanently. Deleting a tag removes the tag from any messages
+that have been sent, and also deletes the tag's stats. There is no way to
+undo this operation, so use it carefully.
+ * @param string $tag a tag name
+ * @return struct the tag that was deleted
+ * - tag string the actual tag as a string
+ * - reputation integer the tag's current reputation on a scale from 0 to 100.
+ * - sent integer the total number of messages sent with this tag
+ * - hard_bounces integer the total number of hard bounces by messages with this tag
+ * - soft_bounces integer the total number of soft bounces by messages with this tag
+ * - rejects integer the total number of rejected messages with this tag
+ * - complaints integer the total number of spam complaints received for messages with this tag
+ * - unsubs integer the total number of unsubscribe requests received for messages with this tag
+ * - opens integer the total number of times messages with this tag have been opened
+ * - clicks integer the total number of times tracked URLs in messages with this tag have been clicked
+ * - unique_opens integer the number of unique opens for emails sent with this tag
+ * - unique_clicks integer the number of unique clicks for emails sent with this tag
+ */
+ public function delete($tag) {
+ $_params = array("tag" => $tag);
+ return $this->master->call('tags/delete', $_params);
+ }
+
+ /**
+ * Return more detailed information about a single tag, including aggregates of recent stats
+ * @param string $tag an existing tag name
+ * @return struct the detailed information on the tag
+ * - tag string the actual tag as a string
+ * - sent integer the total number of messages sent with this tag
+ * - hard_bounces integer the total number of hard bounces by messages with this tag
+ * - soft_bounces integer the total number of soft bounces by messages with this tag
+ * - rejects integer the total number of rejected messages with this tag
+ * - complaints integer the total number of spam complaints received for messages with this tag
+ * - unsubs integer the total number of unsubscribe requests received for messages with this tag
+ * - opens integer the total number of times messages with this tag have been opened
+ * - clicks integer the total number of times tracked URLs in messages with this tag have been clicked
+ * - stats struct an aggregate summary of the tag's sending stats
+ * - today struct stats with this tag so far today
+ * - sent integer the number of emails sent with this tag so far today
+ * - hard_bounces integer the number of emails hard bounced with this tag so far today
+ * - soft_bounces integer the number of emails soft bounced with this tag so far today
+ * - rejects integer the number of emails rejected for sending this tag so far today
+ * - complaints integer the number of spam complaints with this tag so far today
+ * - unsubs integer the number of unsubscribes with this tag so far today
+ * - opens integer the number of times emails have been opened with this tag so far today
+ * - unique_opens integer the number of unique opens for emails sent with this tag so far today
+ * - clicks integer the number of URLs that have been clicked with this tag so far today
+ * - unique_clicks integer the number of unique clicks for emails sent with this tag so far today
+ * - last_7_days struct stats with this tag in the last 7 days
+ * - sent integer the number of emails sent with this tag in the last 7 days
+ * - hard_bounces integer the number of emails hard bounced with this tag in the last 7 days
+ * - soft_bounces integer the number of emails soft bounced with this tag in the last 7 days
+ * - rejects integer the number of emails rejected for sending this tag in the last 7 days
+ * - complaints integer the number of spam complaints with this tag in the last 7 days
+ * - unsubs integer the number of unsubscribes with this tag in the last 7 days
+ * - opens integer the number of times emails have been opened with this tag in the last 7 days
+ * - unique_opens integer the number of unique opens for emails sent with this tag in the last 7 days
+ * - clicks integer the number of URLs that have been clicked with this tag in the last 7 days
+ * - unique_clicks integer the number of unique clicks for emails sent with this tag in the last 7 days
+ * - last_30_days struct stats with this tag in the last 30 days
+ * - sent integer the number of emails sent with this tag in the last 30 days
+ * - hard_bounces integer the number of emails hard bounced with this tag in the last 30 days
+ * - soft_bounces integer the number of emails soft bounced with this tag in the last 30 days
+ * - rejects integer the number of emails rejected for sending this tag in the last 30 days
+ * - complaints integer the number of spam complaints with this tag in the last 30 days
+ * - unsubs integer the number of unsubscribes with this tag in the last 30 days
+ * - opens integer the number of times emails have been opened with this tag in the last 30 days
+ * - unique_opens integer the number of unique opens for emails sent with this tag in the last 30 days
+ * - clicks integer the number of URLs that have been clicked with this tag in the last 30 days
+ * - unique_clicks integer the number of unique clicks for emails sent with this tag in the last 30 days
+ * - last_60_days struct stats with this tag in the last 60 days
+ * - sent integer the number of emails sent with this tag in the last 60 days
+ * - hard_bounces integer the number of emails hard bounced with this tag in the last 60 days
+ * - soft_bounces integer the number of emails soft bounced with this tag in the last 60 days
+ * - rejects integer the number of emails rejected for sending this tag in the last 60 days
+ * - complaints integer the number of spam complaints with this tag in the last 60 days
+ * - unsubs integer the number of unsubscribes with this tag in the last 60 days
+ * - opens integer the number of times emails have been opened with this tag in the last 60 days
+ * - unique_opens integer the number of unique opens for emails sent with this tag in the last 60 days
+ * - clicks integer the number of URLs that have been clicked with this tag in the last 60 days
+ * - unique_clicks integer the number of unique clicks for emails sent with this tag in the last 60 days
+ * - last_90_days struct stats with this tag in the last 90 days
+ * - sent integer the number of emails sent with this tag in the last 90 days
+ * - hard_bounces integer the number of emails hard bounced with this tag in the last 90 days
+ * - soft_bounces integer the number of emails soft bounced with this tag in the last 90 days
+ * - rejects integer the number of emails rejected for sending this tag in the last 90 days
+ * - complaints integer the number of spam complaints with this tag in the last 90 days
+ * - unsubs integer the number of unsubscribes with this tag in the last 90 days
+ * - opens integer the number of times emails have been opened with this tag in the last 90 days
+ * - unique_opens integer the number of unique opens for emails sent with this tag in the last 90 days
+ * - clicks integer the number of URLs that have been clicked with this tag in the last 90 days
+ * - unique_clicks integer the number of unique clicks for emails sent with this tag in the last 90 days
+ */
+ public function info($tag) {
+ $_params = array("tag" => $tag);
+ return $this->master->call('tags/info', $_params);
+ }
+
+ /**
+ * Return the recent history (hourly stats for the last 30 days) for a tag
+ * @param string $tag an existing tag name
+ * @return array the array of history information
+ * - return[] struct the stats for a single hour
+ * - time string the hour as a UTC date string in YYYY-MM-DD HH:MM:SS format
+ * - sent integer the number of emails that were sent during the hour
+ * - hard_bounces integer the number of emails that hard bounced during the hour
+ * - soft_bounces integer the number of emails that soft bounced during the hour
+ * - rejects integer the number of emails that were rejected during the hour
+ * - complaints integer the number of spam complaints received during the hour
+ * - unsubs integer the number of unsubscribes received during the hour
+ * - opens integer the number of emails opened during the hour
+ * - unique_opens integer the number of unique opens generated by messages sent during the hour
+ * - clicks integer the number of tracked URLs clicked during the hour
+ * - unique_clicks integer the number of unique clicks generated by messages sent during the hour
+ */
+ public function timeSeries($tag) {
+ $_params = array("tag" => $tag);
+ return $this->master->call('tags/time-series', $_params);
+ }
+
+ /**
+ * Return the recent history (hourly stats for the last 30 days) for all tags
+ * @return array the array of history information
+ * - return[] struct the stats for a single hour
+ * - time string the hour as a UTC date string in YYYY-MM-DD HH:MM:SS format
+ * - sent integer the number of emails that were sent during the hour
+ * - hard_bounces integer the number of emails that hard bounced during the hour
+ * - soft_bounces integer the number of emails that soft bounced during the hour
+ * - rejects integer the number of emails that were rejected during the hour
+ * - complaints integer the number of spam complaints received during the hour
+ * - unsubs integer the number of unsubscribes received during the hour
+ * - opens integer the number of emails opened during the hour
+ * - unique_opens integer the number of unique opens generated by messages sent during the hour
+ * - clicks integer the number of tracked URLs clicked during the hour
+ * - unique_clicks integer the number of unique clicks generated by messages sent during the hour
+ */
+ public function allTimeSeries() {
+ $_params = array();
+ return $this->master->call('tags/all-time-series', $_params);
+ }
+
+}
+
+
diff --git a/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Templates.php b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Templates.php
new file mode 100644
index 0000000..7895926
--- /dev/null
+++ b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Templates.php
@@ -0,0 +1,235 @@
+<?php
+
+class Postman_Mandrill_Templates {
+ public function __construct(Postman_Mandrill $master) {
+ $this->master = $master;
+ }
+
+ /**
+ * Add a new template
+ * @param string $name the name for the new template - must be unique
+ * @param string $from_email a default sending address for emails sent using this template
+ * @param string $from_name a default from name to be used
+ * @param string $subject a default subject line to be used
+ * @param string $code the HTML code for the template with mc:edit attributes for the editable elements
+ * @param string $text a default text part to be used when sending with this template
+ * @param boolean $publish set to false to add a draft template without publishing
+ * @param array $labels an optional array of up to 10 labels to use for filtering templates
+ * - labels[] string a single label
+ * @return struct the information saved about the new template
+ * - slug string the immutable unique code name of the template
+ * - name string the name of the template
+ * - labels array the list of labels applied to the template
+ * - labels[] string a single label
+ * - code string the full HTML code of the template, with mc:edit attributes marking the editable elements - draft version
+ * - subject string the subject line of the template, if provided - draft version
+ * - from_email string the default sender address for the template, if provided - draft version
+ * - from_name string the default sender from name for the template, if provided - draft version
+ * - text string the default text part of messages sent with the template, if provided - draft version
+ * - publish_name string the same as the template name - kept as a separate field for backwards compatibility
+ * - publish_code string the full HTML code of the template, with mc:edit attributes marking the editable elements that are available as published, if it has been published
+ * - publish_subject string the subject line of the template, if provided
+ * - publish_from_email string the default sender address for the template, if provided
+ * - publish_from_name string the default sender from name for the template, if provided
+ * - publish_text string the default text part of messages sent with the template, if provided
+ * - published_at string the date and time the template was last published as a UTC string in YYYY-MM-DD HH:MM:SS format, or null if it has not been published
+ * - created_at string the date and time the template was first created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - updated_at string the date and time the template was last modified as a UTC string in YYYY-MM-DD HH:MM:SS format
+ */
+ public function add($name, $from_email=null, $from_name=null, $subject=null, $code=null, $text=null, $publish=true, $labels=array()) {
+ $_params = array("name" => $name, "from_email" => $from_email, "from_name" => $from_name, "subject" => $subject, "code" => $code, "text" => $text, "publish" => $publish, "labels" => $labels);
+ return $this->master->call('templates/add', $_params);
+ }
+
+ /**
+ * Get the information for an existing template
+ * @param string $name the immutable name of an existing template
+ * @return struct the requested template information
+ * - slug string the immutable unique code name of the template
+ * - name string the name of the template
+ * - labels array the list of labels applied to the template
+ * - labels[] string a single label
+ * - code string the full HTML code of the template, with mc:edit attributes marking the editable elements - draft version
+ * - subject string the subject line of the template, if provided - draft version
+ * - from_email string the default sender address for the template, if provided - draft version
+ * - from_name string the default sender from name for the template, if provided - draft version
+ * - text string the default text part of messages sent with the template, if provided - draft version
+ * - publish_name string the same as the template name - kept as a separate field for backwards compatibility
+ * - publish_code string the full HTML code of the template, with mc:edit attributes marking the editable elements that are available as published, if it has been published
+ * - publish_subject string the subject line of the template, if provided
+ * - publish_from_email string the default sender address for the template, if provided
+ * - publish_from_name string the default sender from name for the template, if provided
+ * - publish_text string the default text part of messages sent with the template, if provided
+ * - published_at string the date and time the template was last published as a UTC string in YYYY-MM-DD HH:MM:SS format, or null if it has not been published
+ * - created_at string the date and time the template was first created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - updated_at string the date and time the template was last modified as a UTC string in YYYY-MM-DD HH:MM:SS format
+ */
+ public function info($name) {
+ $_params = array("name" => $name);
+ return $this->master->call('templates/info', $_params);
+ }
+
+ /**
+ * Update the code for an existing template. If null is provided for any fields, the values will remain unchanged.
+ * @param string $name the immutable name of an existing template
+ * @param string $from_email the new default sending address
+ * @param string $from_name the new default from name
+ * @param string $subject the new default subject line
+ * @param string $code the new code for the template
+ * @param string $text the new default text part to be used
+ * @param boolean $publish set to false to update the draft version of the template without publishing
+ * @param array $labels an optional array of up to 10 labels to use for filtering templates
+ * - labels[] string a single label
+ * @return struct the template that was updated
+ * - slug string the immutable unique code name of the template
+ * - name string the name of the template
+ * - labels array the list of labels applied to the template
+ * - labels[] string a single label
+ * - code string the full HTML code of the template, with mc:edit attributes marking the editable elements - draft version
+ * - subject string the subject line of the template, if provided - draft version
+ * - from_email string the default sender address for the template, if provided - draft version
+ * - from_name string the default sender from name for the template, if provided - draft version
+ * - text string the default text part of messages sent with the template, if provided - draft version
+ * - publish_name string the same as the template name - kept as a separate field for backwards compatibility
+ * - publish_code string the full HTML code of the template, with mc:edit attributes marking the editable elements that are available as published, if it has been published
+ * - publish_subject string the subject line of the template, if provided
+ * - publish_from_email string the default sender address for the template, if provided
+ * - publish_from_name string the default sender from name for the template, if provided
+ * - publish_text string the default text part of messages sent with the template, if provided
+ * - published_at string the date and time the template was last published as a UTC string in YYYY-MM-DD HH:MM:SS format, or null if it has not been published
+ * - created_at string the date and time the template was first created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - updated_at string the date and time the template was last modified as a UTC string in YYYY-MM-DD HH:MM:SS format
+ */
+ public function update($name, $from_email=null, $from_name=null, $subject=null, $code=null, $text=null, $publish=true, $labels=null) {
+ $_params = array("name" => $name, "from_email" => $from_email, "from_name" => $from_name, "subject" => $subject, "code" => $code, "text" => $text, "publish" => $publish, "labels" => $labels);
+ return $this->master->call('templates/update', $_params);
+ }
+
+ /**
+ * Publish the content for the template. Any new messages sent using this template will start using the content that was previously in draft.
+ * @param string $name the immutable name of an existing template
+ * @return struct the template that was published
+ * - slug string the immutable unique code name of the template
+ * - name string the name of the template
+ * - labels array the list of labels applied to the template
+ * - labels[] string a single label
+ * - code string the full HTML code of the template, with mc:edit attributes marking the editable elements - draft version
+ * - subject string the subject line of the template, if provided - draft version
+ * - from_email string the default sender address for the template, if provided - draft version
+ * - from_name string the default sender from name for the template, if provided - draft version
+ * - text string the default text part of messages sent with the template, if provided - draft version
+ * - publish_name string the same as the template name - kept as a separate field for backwards compatibility
+ * - publish_code string the full HTML code of the template, with mc:edit attributes marking the editable elements that are available as published, if it has been published
+ * - publish_subject string the subject line of the template, if provided
+ * - publish_from_email string the default sender address for the template, if provided
+ * - publish_from_name string the default sender from name for the template, if provided
+ * - publish_text string the default text part of messages sent with the template, if provided
+ * - published_at string the date and time the template was last published as a UTC string in YYYY-MM-DD HH:MM:SS format, or null if it has not been published
+ * - created_at string the date and time the template was first created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - updated_at string the date and time the template was last modified as a UTC string in YYYY-MM-DD HH:MM:SS format
+ */
+ public function publish($name) {
+ $_params = array("name" => $name);
+ return $this->master->call('templates/publish', $_params);
+ }
+
+ /**
+ * Delete a template
+ * @param string $name the immutable name of an existing template
+ * @return struct the template that was deleted
+ * - slug string the immutable unique code name of the template
+ * - name string the name of the template
+ * - labels array the list of labels applied to the template
+ * - labels[] string a single label
+ * - code string the full HTML code of the template, with mc:edit attributes marking the editable elements - draft version
+ * - subject string the subject line of the template, if provided - draft version
+ * - from_email string the default sender address for the template, if provided - draft version
+ * - from_name string the default sender from name for the template, if provided - draft version
+ * - text string the default text part of messages sent with the template, if provided - draft version
+ * - publish_name string the same as the template name - kept as a separate field for backwards compatibility
+ * - publish_code string the full HTML code of the template, with mc:edit attributes marking the editable elements that are available as published, if it has been published
+ * - publish_subject string the subject line of the template, if provided
+ * - publish_from_email string the default sender address for the template, if provided
+ * - publish_from_name string the default sender from name for the template, if provided
+ * - publish_text string the default text part of messages sent with the template, if provided
+ * - published_at string the date and time the template was last published as a UTC string in YYYY-MM-DD HH:MM:SS format, or null if it has not been published
+ * - created_at string the date and time the template was first created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - updated_at string the date and time the template was last modified as a UTC string in YYYY-MM-DD HH:MM:SS format
+ */
+ public function delete($name) {
+ $_params = array("name" => $name);
+ return $this->master->call('templates/delete', $_params);
+ }
+
+ /**
+ * Return a list of all the templates available to this user
+ * @param string $label an optional label to filter the templates
+ * @return array an array of structs with information about each template
+ * - return[] struct the information on each template in the account
+ * - slug string the immutable unique code name of the template
+ * - name string the name of the template
+ * - labels array the list of labels applied to the template
+ * - labels[] string a single label
+ * - code string the full HTML code of the template, with mc:edit attributes marking the editable elements - draft version
+ * - subject string the subject line of the template, if provided - draft version
+ * - from_email string the default sender address for the template, if provided - draft version
+ * - from_name string the default sender from name for the template, if provided - draft version
+ * - text string the default text part of messages sent with the template, if provided - draft version
+ * - publish_name string the same as the template name - kept as a separate field for backwards compatibility
+ * - publish_code string the full HTML code of the template, with mc:edit attributes marking the editable elements that are available as published, if it has been published
+ * - publish_subject string the subject line of the template, if provided
+ * - publish_from_email string the default sender address for the template, if provided
+ * - publish_from_name string the default sender from name for the template, if provided
+ * - publish_text string the default text part of messages sent with the template, if provided
+ * - published_at string the date and time the template was last published as a UTC string in YYYY-MM-DD HH:MM:SS format, or null if it has not been published
+ * - created_at string the date and time the template was first created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - updated_at string the date and time the template was last modified as a UTC string in YYYY-MM-DD HH:MM:SS format
+ */
+ public function getList($label=null) {
+ $_params = array("label" => $label);
+ return $this->master->call('templates/list', $_params);
+ }
+
+ /**
+ * Return the recent history (hourly stats for the last 30 days) for a template
+ * @param string $name the name of an existing template
+ * @return array the array of history information
+ * - return[] struct the stats for a single hour
+ * - time string the hour as a UTC date string in YYYY-MM-DD HH:MM:SS format
+ * - sent integer the number of emails that were sent during the hour
+ * - hard_bounces integer the number of emails that hard bounced during the hour
+ * - soft_bounces integer the number of emails that soft bounced during the hour
+ * - rejects integer the number of emails that were rejected during the hour
+ * - complaints integer the number of spam complaints received during the hour
+ * - opens integer the number of emails opened during the hour
+ * - unique_opens integer the number of unique opens generated by messages sent during the hour
+ * - clicks integer the number of tracked URLs clicked during the hour
+ * - unique_clicks integer the number of unique clicks generated by messages sent during the hour
+ */
+ public function timeSeries($name) {
+ $_params = array("name" => $name);
+ return $this->master->call('templates/time-series', $_params);
+ }
+
+ /**
+ * Inject content and optionally merge fields into a template, returning the HTML that results
+ * @param string $template_name the immutable name of a template that exists in the user's account
+ * @param array $template_content an array of template content to render. Each item in the array should be a struct with two keys - name: the name of the content block to set the content for, and content: the actual content to put into the block
+ * - template_content[] struct the injection of a single piece of content into a single editable region
+ * - name string the name of the mc:edit editable region to inject into
+ * - content string the content to inject
+ * @param array $merge_vars optional merge variables to use for injecting merge field content. If this is not provided, no merge fields will be replaced.
+ * - merge_vars[] struct a single merge variable
+ * - name string the merge variable's name. Merge variable names are case-insensitive and may not start with _
+ * - content string the merge variable's content
+ * @return struct the result of rendering the given template with the content and merge field values injected
+ * - html string the rendered HTML as a string
+ */
+ public function render($template_name, $template_content, $merge_vars=null) {
+ $_params = array("template_name" => $template_name, "template_content" => $template_content, "merge_vars" => $merge_vars);
+ return $this->master->call('templates/render', $_params);
+ }
+
+}
+
+
diff --git a/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Urls.php b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Urls.php
new file mode 100644
index 0000000..333eaeb
--- /dev/null
+++ b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Urls.php
@@ -0,0 +1,108 @@
+<?php
+
+class Postman_Mandrill_Urls {
+ public function __construct(Postman_Mandrill $master) {
+ $this->master = $master;
+ }
+
+ /**
+ * Get the 100 most clicked URLs
+ * @return array the 100 most clicked URLs and their stats
+ * - return[] struct the individual URL stats
+ * - url string the URL to be tracked
+ * - sent integer the number of emails that contained the URL
+ * - clicks integer the number of times the URL has been clicked from a tracked email
+ * - unique_clicks integer the number of unique emails that have generated clicks for this URL
+ */
+ public function getList() {
+ $_params = array();
+ return $this->master->call('urls/list', $_params);
+ }
+
+ /**
+ * Return the 100 most clicked URLs that match the search query given
+ * @param string $q a search query
+ * @return array the 100 most clicked URLs matching the search query
+ * - return[] struct the URL matching the query
+ * - url string the URL to be tracked
+ * - sent integer the number of emails that contained the URL
+ * - clicks integer the number of times the URL has been clicked from a tracked email
+ * - unique_clicks integer the number of unique emails that have generated clicks for this URL
+ */
+ public function search($q) {
+ $_params = array("q" => $q);
+ return $this->master->call('urls/search', $_params);
+ }
+
+ /**
+ * Return the recent history (hourly stats for the last 30 days) for a url
+ * @param string $url an existing URL
+ * @return array the array of history information
+ * - return[] struct the information for a single hour
+ * - time string the hour as a UTC date string in YYYY-MM-DD HH:MM:SS format
+ * - sent integer the number of emails that were sent with the URL during the hour
+ * - clicks integer the number of times the URL was clicked during the hour
+ * - unique_clicks integer the number of unique clicks generated for emails sent with this URL during the hour
+ */
+ public function timeSeries($url) {
+ $_params = array("url" => $url);
+ return $this->master->call('urls/time-series', $_params);
+ }
+
+ /**
+ * Get the list of tracking domains set up for this account
+ * @return array the tracking domains and their status
+ * - return[] struct the individual tracking domain
+ * - domain string the tracking domain name
+ * - created_at string the date and time that the tracking domain was added as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - last_tested_at string when the domain's DNS settings were last tested as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - cname struct details about the domain's CNAME record
+ * - valid boolean whether the domain's CNAME record is valid for use with Mandrill
+ * - valid_after string when the domain's CNAME record will be considered valid for use with Mandrill as a UTC string in YYYY-MM-DD HH:MM:SS format. If set, this indicates that the record is valid now, but was previously invalid, and Mandrill will wait until the record's TTL elapses to start using it.
+ * - error string an error describing the CNAME record, or null if the record is correct
+ * - valid_tracking boolean whether this domain can be used as a tracking domain for email.
+ */
+ public function trackingDomains() {
+ $_params = array();
+ return $this->master->call('urls/tracking-domains', $_params);
+ }
+
+ /**
+ * Add a tracking domain to your account
+ * @param string $domain a domain name
+ * @return struct information about the domain
+ * - domain string the tracking domain name
+ * - created_at string the date and time that the tracking domain was added as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - last_tested_at string when the domain's DNS settings were last tested as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - cname struct details about the domain's CNAME record
+ * - valid boolean whether the domain's CNAME record is valid for use with Mandrill
+ * - valid_after string when the domain's CNAME record will be considered valid for use with Mandrill as a UTC string in YYYY-MM-DD HH:MM:SS format. If set, this indicates that the record is valid now, but was previously invalid, and Mandrill will wait until the record's TTL elapses to start using it.
+ * - error string an error describing the CNAME record, or null if the record is correct
+ * - valid_tracking boolean whether this domain can be used as a tracking domain for email.
+ */
+ public function addTrackingDomain($domain) {
+ $_params = array("domain" => $domain);
+ return $this->master->call('urls/add-tracking-domain', $_params);
+ }
+
+ /**
+ * Checks the CNAME settings for a tracking domain. The domain must have been added already with the add-tracking-domain call
+ * @param string $domain an existing tracking domain name
+ * @return struct information about the tracking domain
+ * - domain string the tracking domain name
+ * - created_at string the date and time that the tracking domain was added as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - last_tested_at string when the domain's DNS settings were last tested as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - cname struct details about the domain's CNAME record
+ * - valid boolean whether the domain's CNAME record is valid for use with Mandrill
+ * - valid_after string when the domain's CNAME record will be considered valid for use with Mandrill as a UTC string in YYYY-MM-DD HH:MM:SS format. If set, this indicates that the record is valid now, but was previously invalid, and Mandrill will wait until the record's TTL elapses to start using it.
+ * - error string an error describing the CNAME record, or null if the record is correct
+ * - valid_tracking boolean whether this domain can be used as a tracking domain for email.
+ */
+ public function checkTrackingDomain($domain) {
+ $_params = array("domain" => $domain);
+ return $this->master->call('urls/check-tracking-domain', $_params);
+ }
+
+}
+
+
diff --git a/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Users.php b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Users.php
new file mode 100644
index 0000000..72679d1
--- /dev/null
+++ b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Users.php
@@ -0,0 +1,132 @@
+<?php
+
+class Postman_Mandrill_Users {
+ public function __construct(Postman_Mandrill $master) {
+ $this->master = $master;
+ }
+
+ /**
+ * Return the information about the API-connected user
+ * @return struct the user information including username, key, reputation, quota, and historical sending stats
+ * - username string the username of the user (used for SMTP authentication)
+ * - created_at string the date and time that the user's Mandrill account was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - public_id string a unique, permanent identifier for this user
+ * - reputation integer the reputation of the user on a scale from 0 to 100, with 75 generally being a "good" reputation
+ * - hourly_quota integer the maximum number of emails Mandrill will deliver for this user each hour. Any emails beyond that will be accepted and queued for later delivery. Users with higher reputations will have higher hourly quotas
+ * - backlog integer the number of emails that are queued for delivery due to exceeding your monthly or hourly quotas
+ * - stats struct an aggregate summary of the account's sending stats
+ * - today struct stats for this user so far today
+ * - sent integer the number of emails sent for this user so far today
+ * - hard_bounces integer the number of emails hard bounced for this user so far today
+ * - soft_bounces integer the number of emails soft bounced for this user so far today
+ * - rejects integer the number of emails rejected for sending this user so far today
+ * - complaints integer the number of spam complaints for this user so far today
+ * - unsubs integer the number of unsubscribes for this user so far today
+ * - opens integer the number of times emails have been opened for this user so far today
+ * - unique_opens integer the number of unique opens for emails sent for this user so far today
+ * - clicks integer the number of URLs that have been clicked for this user so far today
+ * - unique_clicks integer the number of unique clicks for emails sent for this user so far today
+ * - last_7_days struct stats for this user in the last 7 days
+ * - sent integer the number of emails sent for this user in the last 7 days
+ * - hard_bounces integer the number of emails hard bounced for this user in the last 7 days
+ * - soft_bounces integer the number of emails soft bounced for this user in the last 7 days
+ * - rejects integer the number of emails rejected for sending this user in the last 7 days
+ * - complaints integer the number of spam complaints for this user in the last 7 days
+ * - unsubs integer the number of unsubscribes for this user in the last 7 days
+ * - opens integer the number of times emails have been opened for this user in the last 7 days
+ * - unique_opens integer the number of unique opens for emails sent for this user in the last 7 days
+ * - clicks integer the number of URLs that have been clicked for this user in the last 7 days
+ * - unique_clicks integer the number of unique clicks for emails sent for this user in the last 7 days
+ * - last_30_days struct stats for this user in the last 30 days
+ * - sent integer the number of emails sent for this user in the last 30 days
+ * - hard_bounces integer the number of emails hard bounced for this user in the last 30 days
+ * - soft_bounces integer the number of emails soft bounced for this user in the last 30 days
+ * - rejects integer the number of emails rejected for sending this user in the last 30 days
+ * - complaints integer the number of spam complaints for this user in the last 30 days
+ * - unsubs integer the number of unsubscribes for this user in the last 30 days
+ * - opens integer the number of times emails have been opened for this user in the last 30 days
+ * - unique_opens integer the number of unique opens for emails sent for this user in the last 30 days
+ * - clicks integer the number of URLs that have been clicked for this user in the last 30 days
+ * - unique_clicks integer the number of unique clicks for emails sent for this user in the last 30 days
+ * - last_60_days struct stats for this user in the last 60 days
+ * - sent integer the number of emails sent for this user in the last 60 days
+ * - hard_bounces integer the number of emails hard bounced for this user in the last 60 days
+ * - soft_bounces integer the number of emails soft bounced for this user in the last 60 days
+ * - rejects integer the number of emails rejected for sending this user in the last 60 days
+ * - complaints integer the number of spam complaints for this user in the last 60 days
+ * - unsubs integer the number of unsubscribes for this user in the last 60 days
+ * - opens integer the number of times emails have been opened for this user in the last 60 days
+ * - unique_opens integer the number of unique opens for emails sent for this user in the last 60 days
+ * - clicks integer the number of URLs that have been clicked for this user in the last 60 days
+ * - unique_clicks integer the number of unique clicks for emails sent for this user in the last 60 days
+ * - last_90_days struct stats for this user in the last 90 days
+ * - sent integer the number of emails sent for this user in the last 90 days
+ * - hard_bounces integer the number of emails hard bounced for this user in the last 90 days
+ * - soft_bounces integer the number of emails soft bounced for this user in the last 90 days
+ * - rejects integer the number of emails rejected for sending this user in the last 90 days
+ * - complaints integer the number of spam complaints for this user in the last 90 days
+ * - unsubs integer the number of unsubscribes for this user in the last 90 days
+ * - opens integer the number of times emails have been opened for this user in the last 90 days
+ * - unique_opens integer the number of unique opens for emails sent for this user in the last 90 days
+ * - clicks integer the number of URLs that have been clicked for this user in the last 90 days
+ * - unique_clicks integer the number of unique clicks for emails sent for this user in the last 90 days
+ * - all_time struct stats for the lifetime of the user's account
+ * - sent integer the number of emails sent in the lifetime of the user's account
+ * - hard_bounces integer the number of emails hard bounced in the lifetime of the user's account
+ * - soft_bounces integer the number of emails soft bounced in the lifetime of the user's account
+ * - rejects integer the number of emails rejected for sending this user so far today
+ * - complaints integer the number of spam complaints in the lifetime of the user's account
+ * - unsubs integer the number of unsubscribes in the lifetime of the user's account
+ * - opens integer the number of times emails have been opened in the lifetime of the user's account
+ * - unique_opens integer the number of unique opens for emails sent in the lifetime of the user's account
+ * - clicks integer the number of URLs that have been clicked in the lifetime of the user's account
+ * - unique_clicks integer the number of unique clicks for emails sent in the lifetime of the user's account
+ */
+ public function info() {
+ $_params = array();
+ return $this->master->call('users/info', $_params);
+ }
+
+ /**
+ * Validate an API key and respond to a ping
+ * @return string the string "PONG!"
+ */
+ public function ping() {
+ $_params = array();
+ return $this->master->call('users/ping', $_params);
+ }
+
+ /**
+ * Validate an API key and respond to a ping (anal JSON parser version)
+ * @return struct a struct with one key "PING" with a static value "PONG!"
+ */
+ public function ping2() {
+ $_params = array();
+ return $this->master->call('users/ping2', $_params);
+ }
+
+ /**
+ * Return the senders that have tried to use this account, both verified and unverified
+ * @return array an array of sender data, one for each sending addresses used by the account
+ * - return[] struct the information on each sending address in the account
+ * - address string the sender's email address
+ * - created_at string the date and time that the sender was first seen by Mandrill as a UTC date string in YYYY-MM-DD HH:MM:SS format
+ * - sent integer the total number of messages sent by this sender
+ * - hard_bounces integer the total number of hard bounces by messages by this sender
+ * - soft_bounces integer the total number of soft bounces by messages by this sender
+ * - rejects integer the total number of rejected messages by this sender
+ * - complaints integer the total number of spam complaints received for messages by this sender
+ * - unsubs integer the total number of unsubscribe requests received for messages by this sender
+ * - opens integer the total number of times messages by this sender have been opened
+ * - clicks integer the total number of times tracked URLs in messages by this sender have been clicked
+ * - unique_opens integer the number of unique opens for emails sent for this sender
+ * - unique_clicks integer the number of unique clicks for emails sent for this sender
+ */
+ public function senders() {
+ $_params = array();
+ return $this->master->call('users/senders', $_params);
+ }
+
+}
+
+
diff --git a/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Webhooks.php b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Webhooks.php
new file mode 100644
index 0000000..203ec08
--- /dev/null
+++ b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Webhooks.php
@@ -0,0 +1,122 @@
+<?php
+
+class Postman_Mandrill_Webhooks {
+ public function __construct(Postman_Mandrill $master) {
+ $this->master = $master;
+ }
+
+ /**
+ * Get the list of all webhooks defined on the account
+ * @return array the webhooks associated with the account
+ * - return[] struct the individual webhook info
+ * - id integer a unique integer indentifier for the webhook
+ * - url string The URL that the event data will be posted to
+ * - description string a description of the webhook
+ * - auth_key string the key used to requests for this webhook
+ * - events array The message events that will be posted to the hook
+ * - events[] string the individual message event (send, hard_bounce, soft_bounce, open, click, spam, unsub, or reject)
+ * - created_at string the date and time that the webhook was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - last_sent_at string the date and time that the webhook last successfully received events as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - batches_sent integer the number of event batches that have ever been sent to this webhook
+ * - events_sent integer the total number of events that have ever been sent to this webhook
+ * - last_error string if we've ever gotten an error trying to post to this webhook, the last error that we've seen
+ */
+ public function getList() {
+ $_params = array();
+ return $this->master->call('webhooks/list', $_params);
+ }
+
+ /**
+ * Add a new webhook
+ * @param string $url the URL to POST batches of events
+ * @param string $description an optional description of the webhook
+ * @param array $events an optional list of events that will be posted to the webhook
+ * - events[] string the individual event to listen for
+ * @return struct the information saved about the new webhook
+ * - id integer a unique integer indentifier for the webhook
+ * - url string The URL that the event data will be posted to
+ * - description string a description of the webhook
+ * - auth_key string the key used to requests for this webhook
+ * - events array The message events that will be posted to the hook
+ * - events[] string the individual message event (send, hard_bounce, soft_bounce, open, click, spam, unsub, or reject)
+ * - created_at string the date and time that the webhook was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - last_sent_at string the date and time that the webhook last successfully received events as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - batches_sent integer the number of event batches that have ever been sent to this webhook
+ * - events_sent integer the total number of events that have ever been sent to this webhook
+ * - last_error string if we've ever gotten an error trying to post to this webhook, the last error that we've seen
+ */
+ public function add($url, $description=null, $events=array()) {
+ $_params = array("url" => $url, "description" => $description, "events" => $events);
+ return $this->master->call('webhooks/add', $_params);
+ }
+
+ /**
+ * Given the ID of an existing webhook, return the data about it
+ * @param integer $id the unique identifier of a webhook belonging to this account
+ * @return struct the information about the webhook
+ * - id integer a unique integer indentifier for the webhook
+ * - url string The URL that the event data will be posted to
+ * - description string a description of the webhook
+ * - auth_key string the key used to requests for this webhook
+ * - events array The message events that will be posted to the hook
+ * - events[] string the individual message event (send, hard_bounce, soft_bounce, open, click, spam, unsub, or reject)
+ * - created_at string the date and time that the webhook was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - last_sent_at string the date and time that the webhook last successfully received events as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - batches_sent integer the number of event batches that have ever been sent to this webhook
+ * - events_sent integer the total number of events that have ever been sent to this webhook
+ * - last_error string if we've ever gotten an error trying to post to this webhook, the last error that we've seen
+ */
+ public function info($id) {
+ $_params = array("id" => $id);
+ return $this->master->call('webhooks/info', $_params);
+ }
+
+ /**
+ * Update an existing webhook
+ * @param integer $id the unique identifier of a webhook belonging to this account
+ * @param string $url the URL to POST batches of events
+ * @param string $description an optional description of the webhook
+ * @param array $events an optional list of events that will be posted to the webhook
+ * - events[] string the individual event to listen for
+ * @return struct the information for the updated webhook
+ * - id integer a unique integer indentifier for the webhook
+ * - url string The URL that the event data will be posted to
+ * - description string a description of the webhook
+ * - auth_key string the key used to requests for this webhook
+ * - events array The message events that will be posted to the hook
+ * - events[] string the individual message event (send, hard_bounce, soft_bounce, open, click, spam, unsub, or reject)
+ * - created_at string the date and time that the webhook was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - last_sent_at string the date and time that the webhook last successfully received events as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - batches_sent integer the number of event batches that have ever been sent to this webhook
+ * - events_sent integer the total number of events that have ever been sent to this webhook
+ * - last_error string if we've ever gotten an error trying to post to this webhook, the last error that we've seen
+ */
+ public function update($id, $url, $description=null, $events=array()) {
+ $_params = array("id" => $id, "url" => $url, "description" => $description, "events" => $events);
+ return $this->master->call('webhooks/update', $_params);
+ }
+
+ /**
+ * Delete an existing webhook
+ * @param integer $id the unique identifier of a webhook belonging to this account
+ * @return struct the information for the deleted webhook
+ * - id integer a unique integer indentifier for the webhook
+ * - url string The URL that the event data will be posted to
+ * - description string a description of the webhook
+ * - auth_key string the key used to requests for this webhook
+ * - events array The message events that will be posted to the hook
+ * - events[] string the individual message event (send, hard_bounce, soft_bounce, open, click, spam, unsub, or reject)
+ * - created_at string the date and time that the webhook was created as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - last_sent_at string the date and time that the webhook last successfully received events as a UTC string in YYYY-MM-DD HH:MM:SS format
+ * - batches_sent integer the number of event batches that have ever been sent to this webhook
+ * - events_sent integer the total number of events that have ever been sent to this webhook
+ * - last_error string if we've ever gotten an error trying to post to this webhook, the last error that we've seen
+ */
+ public function delete($id) {
+ $_params = array("id" => $id);
+ return $this->master->call('webhooks/delete', $_params);
+ }
+
+}
+
+
diff --git a/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Whitelists.php b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Whitelists.php
new file mode 100644
index 0000000..fe73445
--- /dev/null
+++ b/Postman/Postman-Mail/mailchimp-mandrill-api-php-da3adc10042e/src/Mandrill/Whitelists.php
@@ -0,0 +1,52 @@
+<?php
+
+class Postman_Mandrill_Whitelists {
+ public function __construct(Postman_Mandrill $master) {
+ $this->master = $master;
+ }
+
+ /**
+ * Adds an email to your email rejection whitelist. If the address is
+currently on your blacklist, that blacklist entry will be removed
+automatically.
+ * @param string $email an email address to add to the whitelist
+ * @param string $comment an optional description of why the email was whitelisted
+ * @return struct a status object containing the address and the result of the operation
+ * - email string the email address you provided
+ * - added boolean whether the operation succeeded
+ */
+ public function add($email, $comment=null) {
+ $_params = array("email" => $email, "comment" => $comment);
+ return $this->master->call('whitelists/add', $_params);
+ }
+
+ /**
+ * Retrieves your email rejection whitelist. You can provide an email
+address or search prefix to limit the results. Returns up to 1000 results.
+ * @param string $email an optional email address or prefix to search by
+ * @return array up to 1000 whitelist entries
+ * - return[] struct the information for each whitelist entry
+ * - email string the email that is whitelisted
+ * - detail string a description of why the email was whitelisted
+ * - created_at string when the email was added to the whitelist
+ */
+ public function getList($email=null) {
+ $_params = array("email" => $email);
+ return $this->master->call('whitelists/list', $_params);
+ }
+
+ /**
+ * Removes an email address from the whitelist.
+ * @param string $email the email address to remove from the whitelist
+ * @return struct a status object containing the address and whether the deletion succeeded
+ * - email string the email address that was removed from the blacklist
+ * - deleted boolean whether the address was deleted successfully
+ */
+ public function delete($email) {
+ $_params = array("email" => $email);
+ return $this->master->call('whitelists/delete', $_params);
+ }
+
+}
+
+
diff --git a/Postman/Postman-Mail/postman_gmail.js b/Postman/Postman-Mail/postman_gmail.js
new file mode 100644
index 0000000..365bcdd
--- /dev/null
+++ b/Postman/Postman-Mail/postman_gmail.js
@@ -0,0 +1,35 @@
+jQuery(document).ready(function() {
+ postmanGmailInit();
+});
+
+function postmanGmailInit() {
+
+ // define the PostmanMandrill class
+ var PostmanGmail = function() {
+ this.slug = 'gmail_api';
+ }
+
+ // behavior for handling the user's transport change
+ PostmanGmail.prototype.handleTransportChange = function(transportName) {
+ if (transportName == this.slug) {
+ hide('div.transport_setting');
+ hide('div.authentication_setting');
+ show('div#oauth_settings');
+ }
+ }
+
+ PostmanGmail.prototype.handleConfigurationResponse = function(response) {
+ // handled by PostmanSmtp
+ }
+
+ // add this class to the global transports
+ var transport = new PostmanGmail();
+ transports.push(transport);
+
+ // since we are initialize the screen, check if needs to be modded
+ // by this
+ // transport
+ var transportName = jQuery('select#input_transport_type').val();
+ transport.handleTransportChange(transportName);
+
+} \ No newline at end of file
diff --git a/Postman/Postman-Mail/postman_mandrill.js b/Postman/Postman-Mail/postman_mandrill.js
new file mode 100644
index 0000000..5154246
--- /dev/null
+++ b/Postman/Postman-Mail/postman_mandrill.js
@@ -0,0 +1,40 @@
+jQuery(document).ready(function() {
+
+ // enable toggling of the API field from password to plain text
+ enablePasswordDisplayOnEntry('mandrill_api_key', 'toggleMandrillApiKey');
+
+ // define the PostmanMandrill class
+ var PostmanMandrill = function() {
+ this.slug = 'mandrill_api';
+ }
+
+ // behavior for handling the user's transport change
+ PostmanMandrill.prototype.handleTransportChange = function(transportName) {
+ if (transportName == this.slug) {
+ hide('div.transport_setting');
+ hide('div.authentication_setting');
+ show('div#mandrill_settings');
+ }
+ }
+
+ // behavior for handling the wizard configuration from the
+ // server (after the port test)
+ PostmanMandrill.prototype.handleConfigurationResponse = function(response) {
+ var transportName = response.configuration.transport_type;
+ if (transportName == this.slug) {
+ show('section.wizard_mandrill');
+ } else {
+ hide('section.wizard_mandrill');
+ }
+ }
+
+ // add this class to the global transports
+ var transport = new PostmanMandrill();
+ transports.push(transport);
+
+ // since we are initialize the screen, check if needs to be modded by this
+ // transport
+ var transportName = jQuery('select#input_transport_type').val();
+ transport.handleTransportChange(transportName);
+
+});
diff --git a/Postman/Postman-Mail/postman_sendgrid.js b/Postman/Postman-Mail/postman_sendgrid.js
new file mode 100644
index 0000000..9cbdef3
--- /dev/null
+++ b/Postman/Postman-Mail/postman_sendgrid.js
@@ -0,0 +1,40 @@
+jQuery(document).ready(function() {
+
+ // enable toggling of the API field from password to plain text
+ enablePasswordDisplayOnEntry('sendgrid_api_key', 'toggleSendGridApiKey');
+
+ // define the PostmanMandrill class
+ var PostmanSendGrid = function() {
+
+ }
+
+ // behavior for handling the user's transport change
+ PostmanSendGrid.prototype.handleTransportChange = function(transportName) {
+ if (transportName == 'sendgrid_api') {
+ hide('div.transport_setting');
+ hide('div.authentication_setting');
+ show('div#sendgrid_settings');
+ }
+ }
+
+ // behavior for handling the wizard configuration from the
+ // server (after the port test)
+ PostmanSendGrid.prototype.handleConfigurationResponse = function(response) {
+ var transportName = response.configuration.transport_type;
+ if (transportName == 'sendgrid_api') {
+ show('section.wizard_sendgrid');
+ } else {
+ hide('section.wizard_sendgrid');
+ }
+ }
+
+ // add this class to the global transports
+ var transport = new PostmanSendGrid();
+ transports.push(transport);
+
+ // since we are initialize the screen, check if needs to be modded by this
+ // transport
+ var transportName = jQuery('select#input_transport_type').val();
+ transport.handleTransportChange(transportName);
+
+});
diff --git a/Postman/Postman-Mail/postman_smtp.js b/Postman/Postman-Mail/postman_smtp.js
new file mode 100644
index 0000000..2e6d18f
--- /dev/null
+++ b/Postman/Postman-Mail/postman_smtp.js
@@ -0,0 +1,89 @@
+jQuery(document).ready(function() {
+ postmanSmtpInit();
+});
+
+function postmanSmtpInit() {
+ // define the PostmanMandrill class
+ var PostmanSmtp = function(name) {
+ this.slug = name;
+ }
+
+ // behavior for handling the user's transport change
+ PostmanSmtp.prototype.handleTransportChange = function(transportName) {
+ if (transportName == 'default') {
+ hide('div.transport_setting');
+ hide('div.authentication_setting');
+ } else if (transportName == this.slug) {
+ show('div#smtp_config');
+ var $choice = jQuery('select#input_auth_type').val();
+ if ($choice == 'none') {
+ hide('div.authentication_setting');
+ } else if ($choice != 'oauth2') {
+ show('div#password_settings');
+ hide('div.authentication_setting.non-basic');
+ } else {
+ hide('div.authentication_setting.non-oauth2');
+ show('div#oauth_settings');
+ }
+ }
+ }
+
+ // behavior for handling the wizard configuration from the
+ // server (after the port test)
+ PostmanSmtp.prototype.handleConfigurationResponse = function(response) {
+ var transportName = response.configuration.transport_type;
+ if (!(transportName == this.slug || transportName == 'gmail_api')) {
+ hide('.wizard-auth-oauth2');
+ hide('.wizard-auth-basic');
+ return;
+ }
+ console.debug('prepping screen for smtp transport ');
+ if (response.configuration.display_auth == 'oauth2') {
+ show('p#wizard_oauth2_help');
+ jQuery('p#wizard_oauth2_help').html(
+ response.configuration.help_text);
+ jQuery(postman_redirect_url_el).val(
+ response.configuration.redirect_url);
+ jQuery('#input_oauth_callback_domain').val(
+ response.configuration.callback_domain);
+ jQuery('#client_id').html(response.configuration.client_id_label);
+ jQuery('#client_secret').html(
+ response.configuration.client_secret_label);
+ jQuery('#redirect_url').html(
+ response.configuration.redirect_url_label);
+ jQuery('#callback_domain').html(
+ response.configuration.callback_domain_label);
+ }
+ redirectUrlWarning = response.configuration.dot_notation_url;
+ jQuery('#input_transport_type').val(
+ response.configuration.transport_type);
+ jQuery('#input_auth_type').val(response.configuration.auth_type);
+ jQuery('#input_enc_type').val(response.configuration.enc_type);
+ jQuery('#input_port').val(response.configuration.port);
+
+ // hide the fields we don't use so validation
+ // will work
+ if (response.configuration.display_auth == 'oauth2') {
+ // where authentication is oauth2
+ show('.wizard-auth-oauth2');
+ hide('.wizard-auth-basic');
+ } else if (response.configuration.display_auth == 'password') {
+ // where authentication is password
+ hide('.wizard-auth-oauth2');
+ show('.wizard-auth-basic');
+ } else {
+ // where authentication is none
+ hide('.wizard-auth-oauth2');
+ hide('.wizard-auth-basic');
+ }
+ }
+
+ // add this class to the global transports
+ var transport = new PostmanSmtp('smtp');
+ transports.push(transport);
+
+ // since we are initialize the screen, check if needs to be
+ // modded by this transport
+ var transportName = jQuery('select#input_transport_type').val();
+ transport.handleTransportChange(transportName);
+} \ No newline at end of file
diff --git a/Postman/Postman-Mail/sendgrid-php-3.2.0/.editorconfig b/Postman/Postman-Mail/sendgrid-php-3.2.0/.editorconfig
new file mode 100644
index 0000000..e18928d
--- /dev/null
+++ b/Postman/Postman-Mail/sendgrid-php-3.2.0/.editorconfig
@@ -0,0 +1,8 @@
+root = true
+
+[*.php]
+indent_style = space
+indent_size = 4
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
diff --git a/Postman/Postman-Mail/sendgrid-php-3.2.0/.gitignore b/Postman/Postman-Mail/sendgrid-php-3.2.0/.gitignore
new file mode 100644
index 0000000..6df0272
--- /dev/null
+++ b/Postman/Postman-Mail/sendgrid-php-3.2.0/.gitignore
@@ -0,0 +1,7 @@
+test/coverage/*
+examples/*
+dist/
+composer.lock
+vendor
+.env*
+sendgrid-php.php
diff --git a/Postman/Postman-Mail/sendgrid-php-3.2.0/.travis.yml b/Postman/Postman-Mail/sendgrid-php-3.2.0/.travis.yml
new file mode 100644
index 0000000..11fc944
--- /dev/null
+++ b/Postman/Postman-Mail/sendgrid-php-3.2.0/.travis.yml
@@ -0,0 +1,35 @@
+language: php
+before_script:
+- phpenv local 5.4
+- composer install --dev --no-interaction
+- phpenv local --unset
+- cd test
+script:
+- "../vendor/bin/phpunit --coverage-clover clover.xml"
+after_script:
+- cd ..
+- phpenv local 5.4
+- phpenv local --unset
+- "./scripts/s3upload.sh"
+php:
+- 5.3
+- 5.4
+- 5.5
+- 5.6
+env:
+ global:
+ - S3_POLICY: ewogICJleHBpcmF0aW9uIjogIjIxMDAtMDEtMDFUMTI6MDA6MDAuMDAwWiIsCiAgImNvbmRpdGlvbnMiOiBbCiAgICB7ImFjbCI6ICJwdWJsaWMtcmVhZCIgfSwKICAgIHsiYnVja2V0IjogInNlbmRncmlkLW9wZW4tc291cmNlIiB9LAogICAgWyJzdGFydHMtd2l0aCIsICIka2V5IiwgInNlbmRncmlkLXBocC8iXSwKICAgIFsiY29udGVudC1sZW5ndGgtcmFuZ2UiLCAyMDQ4LCAyNjg0MzU0NTZdLAogICAgWyJlcSIsICIkQ29udGVudC1UeXBlIiwgImFwcGxpY2F0aW9uL3ppcCJdCiAgXQp9Cgo=
+ - secure: eUN0huKA436uIkISu6V3yW01/gZHC6slBvlnprMPEhzclU2szH6qhWEXWS5CcOG6EEDBReqLZdNAwu+FC69KGFO9+6oW2GQQLSsfEViqFi/Ig2N0r4EBO4jLRebgq0GOfetPwQvJH27d8BCiloPy8rXBb5pskxSNw4B4bRyXHz4=
+ - secure: j38xzMNmzYXR/JJdVumPmDoDVxb6FUDF497AuVPHowGh0egFW8XHWCOMeQWqWZI4Gg17pViQNIJ3xC6WBvob70AF8fsNm0+vxF2s7abXDMcbq5flLTS6ydKLgNu+na/RAkOBbTwxJAGIH/fQh8BH8iGKerCwoqf8sDErAge4NMw=
+ - secure: h3HlxBOsNXBDrIJ0yl467ST6Q8R2TmbL7PltlPcRoHy5gAxn5UiDv5W2+6DSXrwQrTjOUunZ+O9ckcaQGQy1JNhGMwgIkJpyWAHDIHhTYGU289uUIDTHQW/soX0qHJSHSx3iMgDOIc7XnfTz6W7Nv1gYKZFedOMsZ5uBMeGyiXE=
+ - secure: SKSl/RHFQNhGT7OUj7E0AbrQnuDhhCRI/4jC76mmzvy8EJBDgUNevAKJGtug+LVilHrlbk9fLC8rayPW6SGv0s3PowTGm8NMOc48aRBLOr7QRo/sMikJCmRuU6HWptr0NKuf2fq6lV94WDm/pDdyOSNyLga9/eaIDs/Sacp78sw=
+notifications:
+ hipchat:
+ rooms:
+ secure: l4RUOBY44kVhSxx54NU3cmvn598rRMB7Y272Ct/W0fBm1tdGncp42A/rwg7JkiZH9EWXs3tKtoSjqw5xT6QeScUGQDdykS5QVO8lEIkDRGD4WwQ3VDJmRy1+04WtgqFEK8SyYTCcCl4ZJ0rtOcJZgDMvigkOJuLxwGXTDuvfu1k=
+ template:
+ - '<a href="https://travis-ci.org/%{repository}/builds/%{build_id}">%{repository}
+ Build %{build_number}</a> on branch <i>%{branch}</i> by %{author}: <strong>%{message}</strong>
+ <a href="https://github.com/sendgrid/docs/commits/%{commit}">View on GitHub</a>'
+ format: html
+ notify: true
diff --git a/Postman/Postman-Mail/sendgrid-php-3.2.0/CHANGELOG.md b/Postman/Postman-Mail/sendgrid-php-3.2.0/CHANGELOG.md
new file mode 100644
index 0000000..4648900
--- /dev/null
+++ b/Postman/Postman-Mail/sendgrid-php-3.2.0/CHANGELOG.md
@@ -0,0 +1,36 @@
+# Change Log
+All notable changes to this project will be documented in this file.
+This project adheres to [Semantic Versioning](http://semver.org/).
+
+## [v3.2.0] - (2015-05-13)
+### Added
+- Specify Guzzle proxy via [#149](https://github.com/sendgrid/sendgrid-php/pull/149)
+- Option to disable exception raising
+
+## [v3.1.0] - (2015-04-27)
+### Added
+- Support for API keys
+
+## [v3.0.0] - (2015-04-14)
+### Fixed
+- CC and BCC not working with SMTPAPI To
+
+### Changed
+- **Breaking:** A `\SendGrid\Exception` is now raised when response is not 200
+- **Breaking:** `addTo` now uses the Web API parameter as opposed to the SMTPAPI Header. Substitutions will most likely break unless you update to use `addSmtpapiTo`
+- The library now depends on Guzzle3
+- Major refactoring
+
+### Added
+- **Breaking:** `send()` now returns an instance of `\SendGrid\Response`
+- Numerous missing methods for new functionality
+- `addSmtpapiTo` for using the SMTPAPI To
+
+## [v2.2.1] - (2014-01-29)
+### Fixed
+- Fix turn_off_ssl_verification option via [#123](https://github.com/sendgrid/sendgrid-php/pull/123)
+
+## [v2.2.0] - (2014-01-12)
+### Changed
+- Remove [Unirest](https://github.com/Mashape/unirest-php/) and replace with native cURL
+- Add CHANGELOG.md
diff --git a/Postman/Postman-Mail/sendgrid-php-3.2.0/MIT.LICENSE b/Postman/Postman-Mail/sendgrid-php-3.2.0/MIT.LICENSE
new file mode 100644
index 0000000..f278588
--- /dev/null
+++ b/Postman/Postman-Mail/sendgrid-php-3.2.0/MIT.LICENSE
@@ -0,0 +1,15 @@
+Copyright (c) 2013 SendGrid
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
+documentation files (the "Software"), to deal in the Software without restriction, including without limitation
+the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
+and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of
+the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
+THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
+CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
diff --git a/Postman/Postman-Mail/sendgrid-php-3.2.0/README.md b/Postman/Postman-Mail/sendgrid-php-3.2.0/README.md
new file mode 100644
index 0000000..290438b
--- /dev/null
+++ b/Postman/Postman-Mail/sendgrid-php-3.2.0/README.md
@@ -0,0 +1,958 @@
+# SendGrid-PHP
+
+This library allows you to quickly and easily send emails through SendGrid using PHP.
+
+WARNING: This module was recently upgraded from [2.2.x](https://github.com/sendgrid/sendgrid-php/tree/v2.2.1) to 3.X. There were API breaking changes for various method names. See [usage](https://github.com/sendgrid/sendgrid-php#usage) for up to date method names.
+
+## PLEASE READ THIS
+
+**TLDR: If you upgrade and don't change your code appropriately, things *WILL* break.**
+
+One of the most notable changes is how `addTo()` behaves. We are now using our Web API parameters instead of the X-SMTPAPI header. What this means is that if you call `addTo()` multiple times for an email, **ONE** email will be sent with each email address visible to everyone. To utilize the original behavior of having an individual personalized email sent to each recipient you must now use `addSmtpapiTo()`. **This will break substitutions if there is more than one To address added unless you update to use `addSmtpapiTo()`.**
+
+Smtpapi addressing methods cannot be mixed with non Smtpapi addressing methods. Meaning you cannot currently use Cc and Bcc with `addSmtpapiTo()`.
+
+The `send()` method now raises a `\SendGrid\Exception` by default if the response code is not 200 and returns an instance of `\SendGrid\Response`.
+
+---
+
+Important: This library requires PHP 5.3 or higher.
+
+[![BuildStatus](https://travis-ci.org/sendgrid/sendgrid-php.svg?branch=master)](https://travis-ci.org/sendgrid/sendgrid-php)
+[![Latest Stable Version](https://poser.pugx.org/sendgrid/sendgrid/version.svg)](https://packagist.org/packages/sendgrid/sendgrid)
+
+```php
+$sendgrid = new SendGrid('username', 'password');
+$email = new SendGrid\Email();
+$email
+ ->addTo('foo@bar.com')
+ ->setFrom('me@bar.com')
+ ->setSubject('Subject goes here')
+ ->setText('Hello World!')
+ ->setHtml('<strong>Hello World!</strong>')
+;
+
+$sendgrid->send($email);
+
+// Or catch the error
+
+try {
+ $sendgrid->send($email);
+} catch(\SendGrid\Exception $e) {
+ echo $e->getCode();
+ foreach($e->getErrors() as $er) {
+ echo $er;
+ }
+}
+```
+
+## Installation
+
+Add SendGrid to your `composer.json` file. If you are not using [Composer](http://getcomposer.org), you should be. It's an excellent way to manage dependencies in your PHP application.
+
+```json
+{
+ "require": {
+ "sendgrid/sendgrid": "~3.2"
+ }
+}
+```
+
+Then at the top of your PHP script require the autoloader:
+
+```bash
+require 'vendor/autoload.php';
+```
+
+#### Alternative: Install from zip
+
+If you are not using Composer, simply download and install the **[latest packaged release of the library as a zip](https://sendgrid-open-source.s3.amazonaws.com/sendgrid-php/sendgrid-php.zip)**.
+
+[**⬇︎ Download Packaged Library ⬇︎**](https://sendgrid-open-source.s3.amazonaws.com/sendgrid-php/sendgrid-php.zip)
+
+Then require the library from package:
+
+```php
+require("path/to/sendgrid-php/sendgrid-php.php");
+```
+
+Previous versions of the library can be found in the [version index](https://sendgrid-open-source.s3.amazonaws.com/index.html).
+
+## Example App
+
+There is a [sendgrid-php-example app](https://github.com/sendgrid/sendgrid-php-example) to help jumpstart your development.
+
+## Usage
+
+To begin using this library, initialize the SendGrid object with your SendGrid credentials OR a SendGrid [API Key](https://sendgrid.com/docs/Classroom/Send/api_keys.html). API Key is the preferred method. To configure API keys, visit https://app.sendgrid.com/settings/api_keys.
+
+```php
+$sendgrid = new SendGrid('username', 'password');
+// OR
+$sendgrid = new SendGrid('sendgrid api key');
+```
+
+Create a new SendGrid Email object and add your message details.
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addTo('foo@bar.com')
+ ->addTo('bar@foo.com')
+ ->setFrom('me@bar.com')
+ ->setSubject('Subject goes here')
+ ->setText('Hello World!')
+ ->setHtml('<strong>Hello World!</strong>')
+;
+```
+
+Send it.
+
+```php
+$sendgrid->send($email);
+```
+
+### Exceptions
+
+A `SendGrid\Exception` is raised by default if the response is not 200 OK.
+
+To disable exceptions, pass in the `raise_exceptions => false` option when creating a `SendGrid\Client`.
+
+```php
+$client = new SendGrid('SENDGRID_APIKEY', array('raise_exceptions' => false));
+```
+
+### Options
+Options may be passed to the library when initializing the SendGrid object:
+
+```php
+$options = array(
+ 'turn_off_ssl_verification' => false,
+ 'protocol' => 'https',
+ 'host' => 'api.sendgrid.com',
+ 'endpoint' => '/api/mail.send.json',
+ 'port' => null,
+ 'url' => null,
+ 'raise_exceptions' => false
+);
+$sendgrid = new SendGrid('username', 'password', $options);
+// OR
+$sendgrid = new SendGrid('sendgrid api key', $options);
+```
+
+#### Changing URL
+You may change the URL sendgrid-php uses to send email by supplying various parameters to `options`, all parameters are optional:
+
+```php
+$sendgrid = new SendGrid(
+ 'username',
+ 'password',
+ array(
+ 'protocol' => 'http',
+ 'host' => 'sendgrid.org',
+ 'endpoint' => '/send',
+ 'port' => '80'
+ )
+);
+// OR
+$sendgrid = new SendGrid(
+ 'sendgrid_api_key',
+ array(
+ 'protocol' => 'http',
+ 'host' => 'sendgrid.org',
+ 'endpoint' => '/send',
+ 'port' => '80'
+ )
+);
+```
+
+A full URL may also be provided:
+
+```php
+$sendgrid = new SendGrid(
+ 'username',
+ 'password',
+ array( 'url' => 'http://sendgrid.org:80/send')
+);
+// OR
+$sendgrid = new SendGrid(
+ 'sendgrid_api_key',
+ array( 'url' => 'http://sendgrid.org:80/send')
+);
+```
+
+#### Ignoring SSL certificate verification
+
+You can optionally ignore verification of SSL certificate when using the Web API.
+
+```php
+$sendgrid = new SendGrid(
+ 'username',
+ 'password',
+ array("turn_off_ssl_verification" => true)
+);
+// OR
+$sendgrid = new SendGrid(
+ 'sendgrid_api_key',
+ array("turn_off_ssl_verification" => true)
+);
+```
+
+#### Response ####
+
+An instance of `\SendGrid\Response` is returned from the `send()` method.
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addTo('foo@bar.com')
+ ->setFrom('me@bar.com')
+ ->setSubject('Subject goes here')
+ ->setText('Hello World!');
+$res = sendgrid->send($email);
+
+var_dump($res);
+
+// Output
+object(SendGrid\Response)#31 (4) {
+ ["code"]=>
+ int(200)
+ ["headers"]=>
+ object(Guzzle\Http\Message\Header\HeaderCollection)#48 (1) {
+ ["headers":protected]=>
+ array(6) {
+ ...
+ ["content-type"]=>
+ object(Guzzle\Http\Message\Header)#41 (3) {
+ ["values":protected]=>
+ array(1) {
+ [0]=>
+ string(16) "application/json"
+ }
+ ["header":protected]=>
+ string(12) "Content-Type"
+ ["glue":protected]=>
+ string(1) ","
+ }
+ ...
+ }
+ }
+ ["raw_body"]=>
+ string(21) "{"message":"success"}"
+ ["body"]=>
+ array(1) {
+ ["message"]=>
+ string(7) "success"
+ }
+}
+```
+
+#### getCode ####
+
+Returns the status code of the response.
+
+```
+$res = $sendgrid->send($email);
+echo $res->getCode()
+```
+
+#### getHeaders ####
+
+Returns the headers of the response as a [Guzzle\Http\Message\Header\HeaderCollection object](https://docs.aws.amazon.com/aws-sdk-php/v2/api/class-Guzzle.Http.Message.Header.HeaderCollection.html).
+
+```
+$res = $sendgrid->send($email);
+$guzzle = $res->getHeaders();
+echo var_dump($guzzle);
+```
+
+#### getRawBody ####
+
+Returns the unparsed JSON response from SendGrid.
+
+```
+$res = $sendgrid->send($email);
+echo $res->getRawBody()
+```
+
+#### getBody ####
+
+Returns the parsed JSON from SendGrid.
+
+```
+$res = $sendgrid->send($email);
+echo var_dump($res->getBody());
+```
+
+### Exception ###
+
+A `\SendGrid\Exception` is raised if the response code is not 200. Catching it is optional but highly recommended.
+
+```php
+try {
+ $sendgrid->send($email);
+} catch(\SendGrid\Exception $e) {
+ echo $e->getCode() . "\n";
+ foreach($e->getErrors() as $er) {
+ echo $er;
+ }
+}
+
+// Output
+400
+Permission denied, wrong credentials
+```
+
+### SMTPAPI ###
+
+This library makes use of [sendgrid/smtpapi-php](https://github.com/sendgrid/smtpapi-php/) for all things related to the [X-SMTPAPI Header](https://sendgrid.com/docs/API_Reference/SMTP_API/index.html).
+
+---
+
+### Library Methods ###
+
+#### addTo
+
+You can add one or multiple TO addresses using `addTo` along with an optional TO name. Note: If using TO names, each address needs a name.
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addTo('foo@bar.com')
+ ->addTo('another@another.com')
+;
+$sendgrid->send($email);
+
+// With names
+$email = new SendGrid\Email();
+$email
+ ->addTo('foo@bar.com', 'Frank Foo')
+ ->addTo('another@another.com', 'Joe Bar')
+;
+$sendgrid->send($email);
+
+// As an array
+$email = new SendGrid\Email();
+$email
+ ->addTo(array('foo@bar.com', 'bar@example'), array('Frank Foo', 'Brian Bar'))
+;
+$sendgrid->send($email);
+```
+
+#### addSmtpapiTo
+
+Add a TO address to the smtpapi header along with an optional name.
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addSmtpapiTo('foo@bar.com')
+ ->addSmtpapiTo('another@another.com', 'Mike Bar')
+;
+$sendgrid->send($email);
+```
+
+#### setTos
+
+If you prefer, you can add multiple TO addresses as an array using the `setTos` method. This will unset any previous `addTo`s you appended.
+
+```php
+$email = new SendGrid\Email();
+$emails = array("foo@bar.com", "another@another.com", "other@other.com");
+$email->setTos($emails);
+$sendgrid->send($email);
+```
+
+#### setSmtpapiTos
+
+```php
+$email = new SendGrid\Email();
+$emails = array("foo@bar.com", "Brian Bar <bar@example.com>", "other@example.com");
+$email->setSmtpapiTos($emails);
+$sendgrid->send($email);
+```
+
+#### setFrom
+
+```php
+$email = new SendGrid\Email();
+$email->setFrom('foo@bar.com');
+$sendgrid->send($email);
+```
+
+#### setFromName
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->setFrom('foo@bar.com')
+ ->setFromName('Foo Bar')
+;
+$sendgrid->send($email);
+```
+
+#### setReplyTo
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addTo('foo@bar.com')
+ ->setReplyTo('someone.else@example.com')
+ ->setFromName('John Doe')
+ ...
+;
+```
+
+### Cc
+
+#### addCc
+
+```php
+$email = new SendGrid\Email();
+$email->addCc('foo@bar.com');
+$sendgrid->send($email);
+```
+
+#### setCc
+
+```php
+$email = new SendGrid\Email();
+$email->setCc('foo@bar.com');
+$sendgrid->send($email);
+```
+
+#### setCcs
+
+```php
+$email = new SendGrid\Email();
+$emails = array("foo@bar.com", "another@another.com", "other@other.com");
+$email->setCcs($emails);
+$sendgrid->send($email);
+```
+
+#### removeCc
+
+```php
+$email->removeCc('foo@bar.com');
+```
+
+### Bcc
+
+Use multiple `addSmtpapiTo`s as a superior alternative to `setBcc`.
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addSmtpapiTo('foo@bar.com')
+ ->addSmtpapiTo('someotheraddress@bar.com')
+ ->addSmtpapiTo('another@another.com')
+ ...
+;
+```
+
+But if you do still have a need for Bcc you can do the following:
+
+#### addBcc
+
+```php
+$email = new SendGrid\Email();
+$email->addTo('bar@example.com');
+$email->addBcc('foo@bar.com');
+$sendgrid->send($email);
+```
+
+#### setBcc
+
+```php
+$email = new SendGrid\Email();
+$email->setBcc('foo@bar.com');
+$sendgrid->send($email);
+```
+
+#### setBccs
+
+```php
+$email = new SendGrid\Email();
+$emails = array("foo@bar.com", "another@another.com", "other@other.com");
+$email->setBccs($emails);
+$sendgrid->send($email);
+```
+
+#### removeBcc
+
+```php
+$email->removeBcc('foo@bar.com');
+```
+
+**Important Gotcha**: Using multiple `addSmtpapiTo`s is recommended over bcc whenever possible. Each user will receive their own personalized email with that setup, and only see their own email.
+
+Standard `setBcc` will hide who the email is addressed to. If you use multiple `addSmtpapiTo`'s, each user will receive a personalized email showing *only* their email. This is more friendly and more personal.
+
+#### setSubject
+
+```php
+$email = new SendGrid\Email();
+$email->setSubject('This is a subject');
+$sendgrid->send($email);
+```
+
+#### setText
+
+```php
+$email = new SendGrid\Email();
+$email->setText('This is some text');
+$sendgrid->send($email);
+```
+
+#### setHtml
+
+```php
+$email = new SendGrid\Email();
+$email->setHtml('<h1>This is an html email</h1>');
+$sendgrid->send($email);
+```
+
+#### setDate
+
+```php
+$email = new SendGrid\Email();
+$email->setDate('Wed, 17 Dec 2014 19:21:16 +0000');
+$sendgrid->send($email);
+```
+
+#### setSendAt
+
+```php
+$email = new SendGrid\Email();
+$email->setSendAt(1409348513);
+$sendgrid->send($email);
+```
+
+#### setSendEachAt
+
+```php
+$email = new SendGrid\Email();
+$email->setSendEachAt(array(1409348513, 1409348514, 1409348515));
+$sendgrid->send($email);
+```
+
+#### addSendEachAt
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addSendEachAt(1409348513)
+ ->addSendEachAt(1409348514)
+ ->addSendEachAt(1409348515)
+;
+$sendgrid->send($email);
+```
+
+### Categories ###
+
+Categories are used to group email statistics provided by SendGrid.
+
+To use a category, simply set the category name. Note: there is a maximum of 10 categories per email.
+
+#### addCategory
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addTo('foo@bar.com')
+ ...
+ ->addCategory("Category 1")
+ ->addCategory("Category 2")
+;
+```
+
+#### setCategory
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addTo('foo@bar.com')
+ ...
+ ->setCategory("Category 1")
+;
+```
+
+#### setCategories
+
+```php
+$email = new SendGrid\Email();
+$categories = array("Category 1", "Category 2", "Category 3");
+$email->setCategories($categories);
+```
+
+#### removeCategory
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addTo('foo@bar.com')
+ ...
+ ->removeCategory("Category 1")
+;
+```
+
+### Attachments ###
+
+Attachments are currently file based only, with future plans for an in memory implementation as well.
+
+File attachments are limited to 7 MB per file.
+
+#### addAttachment
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addTo('foo@bar.com')
+ ...
+ ->addAttachment("../path/to/file.txt")
+;
+```
+
+#### setAttachment
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addTo('foo@bar.com')
+ ...
+ ->setAttachment("../path/to/file.txt")
+;
+```
+
+#### setAttachments
+
+```php
+$email = new SendGrid\Email();
+$attachments = array("../path/to/file1.txt", "../path/to/file2.txt");
+$email
+ ->addTo('foo@bar.com')
+ ...
+ ->setAttachments($attachments)
+;
+```
+
+#### removeAttachment
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addTo('foo@bar.com')
+ ...
+ ->addAttachment("../path/to/file.txt")
+ ->removeAttachment("../path/to/file.txt")
+;
+```
+
+You can tag files for use as inline HTML content. It will mark the file for inline disposition using the specified "cid".
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addTo('foo@bar.com')
+ ->setHtml('<div>Our logo:<img src="cid:file-cid"></div>')
+ ->addAttachment("../path/to/file.png", "super_file.png", "file-cid")
+;
+```
+
+### Substitutions ###
+
+Substitutions can be used to customize multi-recipient emails, and tailor them for the user.
+
+Unless you are only sending to one recipient, please make sure to use `addSmtpapiTo()`.
+
+#### addSubstitution
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addSmtpapiTo('john@somewhere.com')
+ ->addSmtpapiTo('harry@somewhere.com')
+ ->addSmtpapiTo('Bob@somewhere.com')
+ ...
+ ->setHtml("Hey %name%, we've seen that you've been gone for a while")
+ ->addSubstitution('%name%', array('John', 'Harry', 'Bob'))
+;
+```
+
+Substitutions can also be used to customize multi-recipient subjects.
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addSmtpapiTo(array('john@somewhere.com', 'harry@somewhere.com', 'bob@somewhere.com'))
+ ->setSubject('%subject%')
+ ->addSubstitution(
+ '%subject%',
+ array('Subject to John', 'Subject to Harry', 'Subject to Bob')
+ )
+ ...
+;
+```
+
+#### setSubstitutions
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addSmtpapiTo(array('john@somewhere.com', 'harry@somewhere.com', 'bob@somewhere.com'))
+ ->setSubject('%subject%')
+ ->setSubstitutions(array(
+ '%name%' => array('John', 'Harry', 'Bob'),
+ '%subject%' => array('Subject to John', 'Subject to Harry', 'Subject to Bob')
+ ))
+ ...
+;
+```
+
+### Sections ###
+
+Sections can be used to further customize messages for the end users. A section is only useful in conjunction with a substitution value.
+
+#### addSection
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addSmtpapiTo('john@somewhere.com')
+ ->addSmtpapiTo("harry@somewhere.com")
+ ->addSmtpapiTo("Bob@somewhere.com")
+ ...
+ ->setHtml("Hey %name%, you work at %place%")
+ ->addSubstitution("%name%", array("John", "Harry", "Bob"))
+ ->addSubstitution("%place%", array("%office%", "%office%", "%home%"))
+ ->addSection("%office%", "an office")
+ ->addSection("%home%", "your house")
+;
+```
+
+#### setSections
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addSmtpapiTo('john@somewhere.com')
+ ->addSmtpapiTo("harry@somewhere.com")
+ ->addSmtpapiTo("Bob@somewhere.com")
+ ...
+ ->setHtml("Hey %name%, you work at %place%")
+ ->addSubstitution("%name%", array("John", "Harry", "Bob"))
+ ->addSubstitution("%place%", array("%office%", "%office%", "%home%"))
+ ->setSections(array("%office%" => "an office", "%home%" => "your house"))
+;
+```
+
+### Unique Arguments ###
+
+[Unique Arguments](https://sendgrid.com/docs/API_Reference/SMTP_API/unique_arguments.html) are used for tracking purposes.
+
+#### addUniqueArg / addUniqueArgument
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addTo('foo@bar.com')
+ ...
+ ->addUniqueArg("Customer", "Someone")
+ ->addUniqueArg("location", "Somewhere")
+;
+```
+
+#### setUniqueArgs / setUniqueArguments
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addTo('foo@bar.com')
+ ...
+ ->setUniqueArgs(array('cow' => 'chicken'))
+;
+```
+
+### Filter Settings ###
+
+[Filter Settings](https://sendgrid.com/docs/API_Reference/SMTP_API/apps.html) are used to enable and disable apps, and to pass parameters to those apps.
+
+#### addFilter / addFilterSetting
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addTo('foo@bar.com')
+ ...
+ addFilter("gravatar", "enable", 1)
+ ->addFilter("footer", "enable", 1)
+ ->addFilter("footer", "text/plain", "Here is a plain text footer")
+ ->addFilter(
+ "footer",
+ "text/html",
+ "<p style='color:red;'>Here is an HTML footer</p>"
+ )
+;
+```
+
+#### setFilters / setFilterSettings
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addTo('foo@bar.com')
+ ...
+ setFilters(array("gravatar" => array("settings" => array("enable" => 1))))
+;
+```
+
+### Templates ###
+
+You can easily use SendGrid's [template engine](https://sendgrid.com/docs/User_Guide/Apps/template_engine.html) by applying filters.
+
+#### setTemplateId
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addTo('someone@example.com')
+ ->setFrom('support@example.com')
+ ->setFromName('Support')
+ ->setSubject('Subject goes here')
+ // set html or text to an empty space (see http://git.io/hCNy)
+ ->setHtml(' ') // <-- triggers the html version of the template
+ // AND / OR
+ ->setText(' ') // <-- triggers the plaintext version of the template
+ ->setTemplateId($templateId);
+```
+
+This is simply a convenience method for:
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addFilter('templates', 'enabled', 1)
+ ->addFilter('templates', 'template_id', $templateId)
+;
+```
+
+### Advanced Suppression Manager ###
+
+[ASM](https://sendgrid.com/docs/User_Guide/advanced_suppression_manager.html) is used to handle suppression groups.
+
+#### setAsmGroupId ####
+
+```php
+$email = new SendGrid\Email();
+$email->setAsmGroupId('my_group_id');
+```
+
+### Headers ###
+
+You can add standard email message headers as necessary.
+
+#### addHeader
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addTo('foo@bar.com')
+ ...
+ ->addHeader('X-Sent-Using', 'SendGrid-API')
+ ->addHeader('X-Transport', 'web')
+;
+```
+
+#### setHeaders
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addTo('foo@bar.com')
+ ...
+ ->setHeaders(array('X-Sent-Using' => 'SendGrid-API', 'X-Transport' => 'web'))
+;
+```
+
+#### removeHeader
+
+```php
+$email = new SendGrid\Email();
+$email
+ ->addTo('foo@bar.com')
+ ...
+ ->addHeader('X-Sent-Using', 'SendGrid-API')
+ ->addHeader('X-Transport', 'web')
+;
+$email->removeHeader('X-Transport');
+```
+
+### Sending to 1,000s of emails in one batch
+
+Sometimes you might want to send 1,000s of emails in one request. You can do that. It is recommended you break each batch up in 1,000 increments. So if you need to send to 5,000 emails, then you'd break this into a loop of 1,000 emails at a time.
+
+```php
+$sendgrid = new SendGrid(SENDGRID_USERNAME, SENDGRID_PASSWORD);
+// OR
+$sendgrid = new SendGrid(SENDGRID_APIKEY);
+$email = new SendGrid\Email();
+
+$recipients = array(
+ "alpha@mailinator.com",
+ "beta@mailinator.com",
+ "zeta@mailinator.com"
+);
+$names = array("Alpha", "Beta", "Zeta");
+
+$email
+ ->setFrom("from@mailinator.com")
+ ->setSubject('[sendgrid-php-batch-email]')
+ ->setSmtpapiTos($recipients)
+ ->addSubstitution("%name%", $names)
+ ->setText("Hey %name%, we have an email for you")
+ ->setHtml("<h1>Hey %name%, we have an email for you</h1>")
+;
+
+$result = $sendgrid->send($email);
+```
+
+## Contributing
+
+1. Fork it
+2. Create your feature branch (`git checkout -b my-new-feature`)
+3. Commit your changes (`git commit -am 'Added some feature'`)
+4. Push to the branch (`git push origin my-new-feature`)
+5. Create new Pull Request
+
+## Running Tests
+
+The existing tests in the `test` directory can be run using [PHPUnit](https://github.com/sebastianbergmann/phpunit/) with the following command:
+
+````bash
+composer update --dev
+cd test
+../vendor/bin/phpunit
+```
+
+or if you already have PHPUnit installed globally.
+
+```bash
+cd test
+phpunit
+```
+
+## Releasing
+
+To release a new version of this library, update the version in all locations, tag the version, and then push the tag up. Packagist.org takes care of the rest.
+
+#### Testing uploading to Amazon S3
+
+If you want to test uploading the zipped file to Amazon S3 (SendGrid employees only), do the following.
+
+```
+export S3_SIGNATURE="secret_signature"
+export S3_POLICY="secret_policy"
+export S3_BUCKET="sendgrid-open-source"
+export S3_ACCESS_KEY="secret_access_key"
+./scripts/s3upload.sh
+```
diff --git a/Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid.php b/Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid.php
new file mode 100644
index 0000000..5b775b2
--- /dev/null
+++ b/Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid.php
@@ -0,0 +1,156 @@
+<?php
+
+class SendGrid
+{
+ const VERSION = '3.2.0';
+
+ protected
+ $namespace = 'SendGrid',
+ $headers = array('Content-Type' => 'application/json'),
+ $client,
+ $options;
+
+ public
+ $apiUser,
+ $apiKey,
+ $url,
+ $endpoint,
+ $version = self::VERSION;
+
+ public function __construct($apiUserOrKey, $apiKeyOrOptions = null, $options = array())
+ {
+ // Check if given a username + password or api key
+ if (is_string($apiKeyOrOptions)) {
+ // Username and password
+ $this->apiUser = $apiUserOrKey;
+ $this->apiKey = $apiKeyOrOptions;
+ $this->options = $options;
+ } elseif (is_array($apiKeyOrOptions) || $apiKeyOrOptions === null) {
+ // API key
+ $this->apiKey = $apiUserOrKey;
+ $this->apiUser = null;
+
+ // With options
+ if (is_array($apiKeyOrOptions)) {
+ $this->options = $apiKeyOrOptions;
+ }
+ } else {
+ // Won't be thrown?
+ throw new InvalidArgumentException('Need a username + password or api key!');
+ }
+
+ $this->options['turn_off_ssl_verification'] = (isset($this->options['turn_off_ssl_verification']) && $this->options['turn_off_ssl_verification'] == true);
+ if (!isset($this->options['raise_exceptions'])) {
+ $this->options['raise_exceptions'] = true;
+ }
+ $protocol = isset($this->options['protocol']) ? $this->options['protocol'] : 'https';
+ $host = isset($this->options['host']) ? $this->options['host'] : 'api.sendgrid.com';
+ $port = isset($this->options['port']) ? $this->options['port'] : '';
+
+ $this->url = isset($this->options['url']) ? $this->options['url'] : $protocol . '://' . $host . ($port ? ':' . $port : '');
+ $this->endpoint = isset($this->options['endpoint']) ? $this->options['endpoint'] : '/api/mail.send.json';
+
+ $this->client = $this->prepareHttpClient();
+ }
+
+ /**
+ * Prepares the HTTP client
+ *
+ * @return \Guzzle\Http\Client
+ */
+ private function prepareHttpClient()
+ {
+ $guzzleOption = array(
+ 'request.options' => array(
+ 'verify' => !$this->options['turn_off_ssl_verification'],
+ 'exceptions' => (isset($this->options['enable_guzzle_exceptions']) && $this->options['enable_guzzle_exceptions'] == true)
+ )
+ );
+
+ // Using api key
+ if ($this->apiUser === null) {
+ $guzzleOption['request.options']['headers'] = array('Authorization' => 'Bearer ' . $this->apiKey);
+ }
+
+ // Using http proxy
+ if (isset($this->options['proxy'])) {
+ $guzzleOption['request.options']['proxy'] = $this->options['proxy'];
+ }
+
+ $client = new \Guzzle\Http\Client($this->url, $guzzleOption);
+ $client->setUserAgent('sendgrid/' . $this->version . ';php');
+
+ return $client;
+ }
+
+ /**
+ * @return array The protected options array
+ */
+ public function getOptions()
+ {
+ return $this->options;
+ }
+
+ /**
+ * Makes a post request to SendGrid to send an email
+ *
+ * @param SendGrid\Email $email Email object built
+ *
+ * @throws SendGrid\Exception if the response code is not 200
+ * @return stdClass SendGrid response object
+ */
+ public function send(SendGrid\Email $email)
+ {
+ $form = $email->toWebFormat();
+
+ // Using username password
+ if ($this->apiUser !== null) {
+ $form['api_user'] = $this->apiUser;
+ $form['api_key'] = $this->apiKey;
+ }
+
+ $response = $this->postRequest($this->endpoint, $form);
+
+ if ($response->code != 200 && $this->options['raise_exceptions']) {
+ throw new SendGrid\Exception($response->raw_body, $response->code);
+ }
+
+ return $response;
+ }
+
+ /**
+ * Makes the actual HTTP request to SendGrid
+ *
+ * @param $endpoint string endpoint to post to
+ * @param $form array web ready version of SendGrid\Email
+ *
+ * @return SendGrid\Response
+ */
+ public function postRequest($endpoint, $form)
+ {
+ $req = $this->client->post($endpoint, null, $form);
+
+ $res = $req->send();
+
+ $response = new SendGrid\Response($res->getStatusCode(), $res->getHeaders(), $res->getBody(true), $res->json());
+
+ return $response;
+ }
+
+ public static function register_autoloader()
+ {
+ spl_autoload_register(array('SendGrid', 'autoloader'));
+ }
+
+ public static function autoloader($class)
+ {
+ // Check that the class starts with 'SendGrid'
+ if ($class == 'SendGrid' || stripos($class, 'SendGrid\\') === 0) {
+ $file = str_replace('\\', '/', $class);
+
+ if (file_exists(dirname(__FILE__) . '/' . $file . '.php')) {
+ require_once(dirname(__FILE__) . '/' . $file . '.php');
+ }
+ }
+ }
+}
diff --git a/Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid/Email.php b/Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid/Email.php
new file mode 100644
index 0000000..6c6451a
--- /dev/null
+++ b/Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid/Email.php
@@ -0,0 +1,692 @@
+<?php
+
+namespace SendGrid;
+
+class Email
+{
+ public
+ $to,
+ $toName,
+ $from,
+ $fromName,
+ $replyTo,
+ $cc,
+ $ccName,
+ $bcc,
+ $bccName,
+ $subject,
+ $text,
+ $html,
+ $date,
+ $content,
+ $headers,
+ $smtpapi,
+ $attachments;
+
+ public function __construct()
+ {
+ $this->fromName = false;
+ $this->replyTo = false;
+ $this->smtpapi = new \Smtpapi\Header();
+ }
+
+ /**
+ * _removeFromList
+ * Given a list of key/value pairs, removes the associated keys
+ * where a value matches the given string ($item)
+ *
+ * @param Array $list - the list of key/value pairs
+ * @param String $item - the value to be removed
+ */
+ private function _removeFromList(&$list, $item, $key_field = null)
+ {
+ foreach ($list as $key => $val) {
+ if ($key_field) {
+ if ($val[$key_field] == $item) {
+ unset($list[$key]);
+ }
+ } else {
+ if ($val == $item) {
+ unset($list[$key]);
+ }
+ }
+ }
+ //repack the indices
+ $list = array_values($list);
+ }
+
+ public function addTo($email, $name = null)
+ {
+ if ($this->to == null) {
+ $this->to = array();
+ }
+
+ if (is_array($email)) {
+ foreach ($email as $e) {
+ $this->to[] = $e;
+ }
+ } else {
+ $this->to[] = $email;
+ }
+
+ if (is_array($name)) {
+ foreach ($name as $n) {
+ $this->addToName($n);
+ }
+ } elseif ($name) {
+ $this->addToName($name);
+ }
+
+ return $this;
+ }
+
+ public function addSmtpapiTo($email, $name = null)
+ {
+ $this->smtpapi->addTo($email, $name);
+
+ return $this;
+ }
+
+ public function setTos(array $emails)
+ {
+ $this->to = $emails;
+
+ return $this;
+ }
+
+ public function setSmtpapiTos(array $emails)
+ {
+ $this->smtpapi->setTos($emails);
+
+ return $this;
+ }
+
+ public function addToName($name)
+ {
+ if ($this->toName == null) {
+ $this->toName = array();
+ }
+
+ $this->toName[] = $name;
+
+ return $this;
+ }
+
+ public function getToNames()
+ {
+ return $this->toName;
+ }
+
+ public function setFrom($email)
+ {
+ $this->from = $email;
+
+ return $this;
+ }
+
+ public function getFrom($as_array = false)
+ {
+ if ($as_array && ($name = $this->getFromName())) {
+ return array("$this->from" => $name);
+ } else {
+ return $this->from;
+ }
+ }
+
+ public function setFromName($name)
+ {
+ $this->fromName = $name;
+
+ return $this;
+ }
+
+ public function getFromName()
+ {
+ return $this->fromName;
+ }
+
+ public function setReplyTo($email)
+ {
+ $this->replyTo = $email;
+
+ return $this;
+ }
+
+ public function getReplyTo()
+ {
+ return $this->replyTo;
+ }
+
+ public function setCc($email)
+ {
+ $this->cc = array($email);
+
+ return $this;
+ }
+
+ public function setCcs(array $email_list)
+ {
+ $this->cc = $email_list;
+
+ return $this;
+ }
+
+ public function addCc($email, $name = null)
+ {
+ if ($this->cc == null) {
+ $this->cc = array();
+ }
+
+ if (is_array($email)) {
+ foreach ($email as $e) {
+ $this->cc[] = $e;
+ }
+ } else {
+ $this->cc[] = $email;
+ }
+
+ if (is_array($name)) {
+ foreach ($name as $n) {
+ $this->addCcName($n);
+ }
+ } elseif ($name) {
+ $this->addCcName($name);
+ }
+
+ return $this;
+ }
+
+ public function addCcName($name)
+ {
+ if ($this->ccName == null) {
+ $this->ccName = array();
+ }
+
+ $this->ccName[] = $name;
+
+ return $this;
+ }
+
+ public function removeCc($email)
+ {
+ $this->_removeFromList($this->cc, $email);
+
+ return $this;
+ }
+
+ public function getCcs()
+ {
+ return $this->cc;
+ }
+
+ public function getCcNames()
+ {
+ return $this->ccName;
+ }
+
+ public function setBcc($email)
+ {
+ $this->bcc = array($email);
+
+ return $this;
+ }
+
+ public function setBccs($email_list)
+ {
+ $this->bcc = $email_list;
+
+ return $this;
+ }
+
+ public function addBcc($email, $name = null)
+ {
+ if ($this->bcc == null) {
+ $this->bcc = array();
+ }
+
+ if (is_array($email)) {
+ foreach ($email as $e) {
+ $this->bcc[] = $e;
+ }
+ } else {
+ $this->bcc[] = $email;
+ }
+
+ if (is_array($name)) {
+ foreach ($name as $n) {
+ $this->addBccName($n);
+ }
+ } elseif ($name) {
+ $this->addBccName($name);
+ }
+
+ return $this;
+ }
+
+ public function addBccName($name)
+ {
+ if ($this->bccName == null) {
+ $this->bccName = array();
+ }
+
+ $this->bccName[] = $name;
+
+ return $this;
+ }
+
+ public function getBccNames()
+ {
+ return $this->bccName;
+ }
+
+ public function removeBcc($email)
+ {
+ $this->_removeFromList($this->bcc, $email);
+
+ return $this;
+ }
+
+ public function getBccs()
+ {
+ return $this->bcc;
+ }
+
+ public function setSubject($subject)
+ {
+ $this->subject = $subject;
+
+ return $this;
+ }
+
+ public function getSubject()
+ {
+ return $this->subject;
+ }
+
+ public function setDate($date)
+ {
+ $this->date = $date;
+
+ return $this;
+ }
+
+ public function getDate()
+ {
+ return $this->date;
+ }
+
+ public function setText($text)
+ {
+ $this->text = $text;
+
+ return $this;
+ }
+
+ public function getText()
+ {
+ return $this->text;
+ }
+
+ public function setHtml($html)
+ {
+ $this->html = $html;
+
+ return $this;
+ }
+
+ public function getHtml()
+ {
+ return $this->html;
+ }
+
+ public function setSendAt($timestamp)
+ {
+ $this->smtpapi->setSendAt($timestamp);
+
+ return $this;
+ }
+
+ public function setSendEachAt(array $timestamps)
+ {
+ $this->smtpapi->setSendEachAt($timestamps);
+
+ return $this;
+ }
+
+ public function addSendEachAt($timestamp)
+ {
+ $this->smtpapi->addSendEachAt($timestamp);
+
+ return $this;
+ }
+
+ /**
+ * Convenience method to add template
+ *
+ * @param string The id of the template
+ *
+ * @return $this
+ */
+ public function setTemplateId($templateId)
+ {
+ $this->addFilter('templates', 'enabled', 1);
+ $this->addFilter('templates', 'template_id', $templateId);
+
+ return $this;
+ }
+
+ /** Convenience method to set asm group id
+ *
+ * @param string the group id
+ *
+ * @return $this
+ */
+ public function setAsmGroupId($groupId)
+ {
+ $this->smtpapi->setASMGroupID($groupId);
+
+ return $this;
+ }
+
+ public function setAttachments(array $files)
+ {
+ $this->attachments = array();
+
+ foreach ($files as $filename => $file) {
+ if (is_string($filename)) {
+ $this->addAttachment($file, $filename);
+ } else {
+ $this->addAttachment($file);
+ }
+ }
+
+ return $this;
+ }
+
+ public function setAttachment($file, $custom_filename = null, $cid = null)
+ {
+ $this->attachments = array($this->getAttachmentInfo($file, $custom_filename, $cid));
+
+ return $this;
+ }
+
+ public function addAttachment($file, $custom_filename = null, $cid = null)
+ {
+ $this->attachments[] = $this->getAttachmentInfo($file, $custom_filename, $cid);
+
+ return $this;
+ }
+
+ public function getAttachments()
+ {
+ return $this->attachments;
+ }
+
+ public function removeAttachment($file)
+ {
+ $this->_removeFromList($this->attachments, $file, "file");
+
+ return $this;
+ }
+
+ private function getAttachmentInfo($file, $custom_filename = null, $cid = null)
+ {
+ $info = pathinfo($file);
+ $info['file'] = $file;
+ if (!is_null($custom_filename)) {
+ $info['custom_filename'] = $custom_filename;
+ }
+ if ($cid !== null) {
+ $info['cid'] = $cid;
+ }
+
+ return $info;
+ }
+
+ public function setCategories($categories)
+ {
+ $this->smtpapi->setCategories($categories);
+
+ return $this;
+ }
+
+ public function setCategory($category)
+ {
+ $this->smtpapi->setCategory($category);
+
+ return $this;
+ }
+
+ public function addCategory($category)
+ {
+ $this->smtpapi->addCategory($category);
+
+ return $this;
+ }
+
+ public function removeCategory($category)
+ {
+ $this->smtpapi->removeCategory($category);
+
+ return $this;
+ }
+
+ public function setSubstitutions($key_value_pairs)
+ {
+ $this->smtpapi->setSubstitutions($key_value_pairs);
+
+ return $this;
+ }
+
+ public function addSubstitution($from_value, array $to_values)
+ {
+ $this->smtpapi->addSubstitution($from_value, $to_values);
+
+ return $this;
+ }
+
+ public function setSections(array $key_value_pairs)
+ {
+ $this->smtpapi->setSections($key_value_pairs);
+
+ return $this;
+ }
+
+ public function addSection($from_value, $to_value)
+ {
+ $this->smtpapi->addSection($from_value, $to_value);
+
+ return $this;
+ }
+
+ public function setUniqueArgs(array $key_value_pairs)
+ {
+ $this->smtpapi->setUniqueArgs($key_value_pairs);
+
+ return $this;
+ }
+
+ ## synonym method
+ public function setUniqueArguments(array $key_value_pairs)
+ {
+ $this->smtpapi->setUniqueArgs($key_value_pairs);
+
+ return $this;
+ }
+
+ public function addUniqueArg($key, $value)
+ {
+ $this->smtpapi->addUniqueArg($key, $value);
+
+ return $this;
+ }
+
+ ## synonym method
+ public function addUniqueArgument($key, $value)
+ {
+ $this->smtpapi->addUniqueArg($key, $value);
+
+ return $this;
+ }
+
+ public function setFilters($filter_settings)
+ {
+ $this->smtpapi->setFilters($filter_settings);
+
+ return $this;
+ }
+
+ ## synonym method
+ public function setFilterSettings($filter_settings)
+ {
+ $this->smtpapi->setFilters($filter_settings);
+
+ return $this;
+ }
+
+ public function addFilter($filter_name, $parameter_name, $parameter_value)
+ {
+ $this->smtpapi->addFilter($filter_name, $parameter_name, $parameter_value);
+
+ return $this;
+ }
+
+ ## synonym method
+ public function addFilterSetting($filter_name, $parameter_name, $parameter_value)
+ {
+ $this->smtpapi->addFilter($filter_name, $parameter_name, $parameter_value);
+
+ return $this;
+ }
+
+ public function getHeaders()
+ {
+ return $this->headers;
+ }
+
+ public function getHeadersJson()
+ {
+ if (count($this->getHeaders()) <= 0) {
+ return "{}";
+ }
+
+ return json_encode($this->getHeaders(), JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_HEX_AMP);
+ }
+
+ public function setHeaders($key_value_pairs)
+ {
+ $this->headers = $key_value_pairs;
+
+ return $this;
+ }
+
+ public function addHeader($key, $value)
+ {
+ $this->headers[$key] = $value;
+
+ return $this;
+ }
+
+ public function removeHeader($key)
+ {
+ unset($this->headers[$key]);
+
+ return $this;
+ }
+
+ public function getSmtpapi()
+ {
+ return $this->smtpapi;
+ }
+
+ public function toWebFormat()
+ {
+ $web = array(
+ 'to' => $this->to,
+ 'from' => $this->getFrom(),
+ 'x-smtpapi' => $this->smtpapi->jsonString(),
+ 'subject' => $this->getSubject(),
+ 'text' => $this->getText(),
+ 'html' => $this->getHtml(),
+ 'headers' => $this->getHeadersJson(),
+ );
+
+ if ($this->getToNames()) {
+ $web['toname'] = $this->getToNames();
+ }
+ if ($this->getCcs()) {
+ $web['cc'] = $this->getCcs();
+ }
+ if ($this->getCcNames()) {
+ $web['ccname'] = $this->getCcNames();
+ }
+ if ($this->getBccs()) {
+ $web['bcc'] = $this->getBccs();
+ }
+ if ($this->getBccNames()) {
+ $web['bccname'] = $this->getBccNames();
+ }
+ if ($this->getFromName()) {
+ $web['fromname'] = $this->getFromName();
+ }
+ if ($this->getReplyTo()) {
+ $web['replyto'] = $this->getReplyTo();
+ }
+ if ($this->getDate()) {
+ $web['date'] = $this->getDate();
+ }
+ if ($this->smtpapi->to && (count($this->smtpapi->to) > 0)) {
+ $web['to'] = "";
+ }
+
+ $web = $this->updateMissingTo($web);
+
+ if ($this->getAttachments()) {
+ foreach ($this->getAttachments() as $f) {
+ $file = $f['file'];
+ $extension = null;
+ if (array_key_exists('extension', $f)) {
+ $extension = $f['extension'];
+ };
+ $filename = $f['filename'];
+ $full_filename = $filename;
+
+ if (isset($extension)) {
+ $full_filename = $filename . '.' . $extension;
+ }
+ if (array_key_exists('custom_filename', $f)) {
+ $full_filename = $f['custom_filename'];
+ }
+
+ if (array_key_exists('cid', $f)) {
+ $web['content[' . $full_filename . ']'] = $f['cid'];
+ }
+
+ $contents = '@' . $file;
+
+ // Guzzle handles this for us.
+ // http://guzzle3.readthedocs.org/en/latest/http-client/request.html#post-requests
+ // if (class_exists('CurlFile', false)) { // php >= 5.5
+ // $contents = new \CurlFile($file, $extension, $filename);
+ // }
+
+ $web['files[' . $full_filename . ']'] = $contents;
+ };
+ }
+
+ return $web;
+ }
+
+ /**
+ * There needs to be at least 1 to address, or else the mail won't send.
+ * This method modifies the data that will be sent via either Rest
+ */
+ public function updateMissingTo($data)
+ {
+ if ($this->smtpapi->to && (count($this->smtpapi->to) > 0)) {
+ $data['to'] = $this->getFrom();
+ }
+
+ return $data;
+ }
+}
diff --git a/Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid/Exception.php b/Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid/Exception.php
new file mode 100644
index 0000000..9fc26e2
--- /dev/null
+++ b/Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid/Exception.php
@@ -0,0 +1,14 @@
+<?php
+
+namespace SendGrid;
+
+/**
+ * An exception thrown when SendGrid does not return a 200
+ */
+class Exception extends \Exception
+{
+ public function getErrors()
+ {
+ return json_decode($this->message)->errors;
+ }
+}
diff --git a/Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid/Response.php b/Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid/Response.php
new file mode 100644
index 0000000..077238e
--- /dev/null
+++ b/Postman/Postman-Mail/sendgrid-php-3.2.0/lib/SendGrid/Response.php
@@ -0,0 +1,40 @@
+<?php
+
+namespace SendGrid;
+
+class Response
+{
+ public
+ $code,
+ $headers,
+ $raw_body,
+ $body;
+
+ public function __construct($code, $headers, $raw_body, $body)
+ {
+ $this->code = $code;
+ $this->headers = $headers;
+ $this->raw_body = $raw_body;
+ $this->body = $body;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function getHeaders()
+ {
+ return $this->headers;
+ }
+
+ public function getRawBody()
+ {
+ return $this->raw_body;
+ }
+
+ public function getBody()
+ {
+ return $this->body;
+ }
+}
diff --git a/Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php b/Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php
new file mode 100644
index 0000000..1b0d106
--- /dev/null
+++ b/Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php
@@ -0,0 +1,353 @@
+<?php
+class PostmanSendTestEmailController {
+ const EMAIL_TEST_SLUG = 'postman/email_test';
+ const RECIPIENT_EMAIL_FIELD_NAME = 'postman_recipient_email';
+
+ // logging
+ private $logger;
+ private $options;
+
+ // Holds the values to be used in the fields callbacks
+ private $rootPluginFilenameAndPath;
+
+ /**
+ * Constructor
+ *
+ * @param unknown $rootPluginFilenameAndPath
+ */
+ public function __construct($rootPluginFilenameAndPath) {
+ assert ( ! empty ( $rootPluginFilenameAndPath ) );
+ assert ( PostmanUtils::isAdmin () );
+ assert ( is_admin () );
+
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ $this->rootPluginFilenameAndPath = $rootPluginFilenameAndPath;
+ $this->options = PostmanOptions::getInstance ();
+
+ PostmanUtils::registerAdminMenu ( $this, 'addEmailTestSubmenu' );
+
+ // hook on the init event
+ add_action ( 'init', array (
+ $this,
+ 'on_init'
+ ) );
+
+ // initialize the scripts, stylesheets and form fields
+ add_action ( 'admin_init', array (
+ $this,
+ 'on_admin_init'
+ ) );
+ }
+
+ /**
+ * Functions to execute on the init event
+ *
+ * "Typically used by plugins to initialize. The current user is already authenticated by this time."
+ * ref: http://codex.wordpress.org/Plugin_API/Action_Reference#Actions_Run_During_a_Typical_Request
+ */
+ public function on_init() {
+ // register Ajax handlers
+ new PostmanSendTestEmailAjaxController ();
+ }
+
+ /**
+ * Fires on the admin_init method
+ */
+ public function on_admin_init() {
+ //
+ $this->registerStylesAndScripts ();
+ }
+
+ /**
+ * Get the settings option array and print one of its values
+ */
+ public function test_email_callback() {
+ printf ( '<input type="text" id="%s" name="postman_test_options[test_email]" value="%s" class="required email" size="40"/>', self::RECIPIENT_EMAIL_FIELD_NAME, wp_get_current_user ()->user_email );
+ }
+
+ /**
+ * Register and add settings
+ */
+ private function registerStylesAndScripts() {
+ if ($this->logger->isTrace ()) {
+ $this->logger->trace ( 'registerStylesAndScripts()' );
+ }
+
+ //
+ $pluginData = apply_filters ( 'postman_get_plugin_metadata', null );
+
+ // register the stylesheet resource
+ wp_register_style ( 'postman_send_test_email', plugins_url ( 'Postman/Postman-Send-Test-Email/postman_send_test_email.css', $this->rootPluginFilenameAndPath ), PostmanViewController::POSTMAN_STYLE, $pluginData ['version'] );
+
+ // register the javascript resource
+ wp_register_script ( 'postman_test_email_wizard_script', plugins_url ( 'Postman/Postman-Send-Test-Email/postman_send_test_email.js', $this->rootPluginFilenameAndPath ), array (
+ PostmanViewController::JQUERY_SCRIPT,
+ 'jquery_validation',
+ 'jquery_steps_script',
+ PostmanViewController::POSTMAN_SCRIPT
+ ), $pluginData ['version'] );
+ }
+
+ /**
+ * Register the Email Test screen
+ */
+ public function addEmailTestSubmenu() {
+ $page = add_submenu_page ( null, sprintf ( __ ( '%s Setup', Postman::TEXT_DOMAIN ), __ ( 'Postman SMTP', Postman::TEXT_DOMAIN ) ), __ ( 'Postman SMTP', Postman::TEXT_DOMAIN ), Postman::MANAGE_POSTMAN_CAPABILITY_NAME, PostmanSendTestEmailController::EMAIL_TEST_SLUG, array (
+ $this,
+ 'outputTestEmailContent'
+ ) );
+ // When the plugin options page is loaded, also load the stylesheet
+ add_action ( 'admin_print_styles-' . $page, array (
+ $this,
+ 'enqueueEmailTestResources'
+ ) );
+ }
+
+ /**
+ */
+ function enqueueEmailTestResources() {
+ wp_enqueue_style ( 'jquery_steps_style' );
+ wp_enqueue_style ( PostmanViewController::POSTMAN_STYLE );
+ wp_enqueue_style ( 'postman_send_test_email' );
+ wp_enqueue_script ( 'postman_test_email_wizard_script' );
+ wp_localize_script ( PostmanViewController::POSTMAN_SCRIPT, 'postman_email_test', array (
+ 'recipient' => '#' . self::RECIPIENT_EMAIL_FIELD_NAME,
+ 'not_started' => _x ( 'In Outbox', 'Email Test Status', Postman::TEXT_DOMAIN ),
+ 'sending' => _x ( 'Sending...', 'Email Test Status', Postman::TEXT_DOMAIN ),
+ 'success' => _x ( 'Success', 'Email Test Status', Postman::TEXT_DOMAIN ),
+ 'failed' => _x ( 'Failed', 'Email Test Status', Postman::TEXT_DOMAIN ),
+ 'ajax_error' => __ ( 'Ajax Error', Postman::TEXT_DOMAIN )
+ ) );
+ }
+
+ /**
+ */
+ public function outputTestEmailContent() {
+ print '<div class="wrap">';
+
+ PostmanViewController::outputChildPageHeader ( __ ( 'Send a Test Email', Postman::TEXT_DOMAIN ) );
+
+ printf ( '<form id="postman_test_email_wizard" method="post" action="%s">', PostmanUtils::getSettingsPageUrl () );
+
+ // Step 1
+ printf ( '<h5>%s</h5>', __ ( 'Specify the Recipient', Postman::TEXT_DOMAIN ) );
+ print '<fieldset>';
+ printf ( '<legend>%s</legend>', __ ( 'Who is this message going to?', Postman::TEXT_DOMAIN ) );
+ printf ( '<p>%s', __ ( 'This utility allows you to send an email message for testing.', Postman::TEXT_DOMAIN ) );
+ print ' ';
+ /* translators: where %d is an amount of time, in seconds */
+ printf ( '%s</p>', sprintf ( _n ( 'If there is a problem, Postman will give up after %d second.', 'If there is a problem, Postman will give up after %d seconds.', $this->options->getReadTimeout (), Postman::TEXT_DOMAIN ), $this->options->getReadTimeout () ) );
+ printf ( '<label for="postman_test_options[test_email]">%s</label>', _x ( 'Recipient Email Address', 'Configuration Input Field', Postman::TEXT_DOMAIN ) );
+ print $this->test_email_callback ();
+ print '</fieldset>';
+
+ // Step 2
+ printf ( '<h5>%s</h5>', __ ( 'Send The Message', Postman::TEXT_DOMAIN ) );
+ print '<fieldset>';
+ print '<legend>';
+ print __ ( 'Sending the message:', Postman::TEXT_DOMAIN );
+ printf ( ' <span id="postman_test_message_status">%s</span>', _x ( 'In Outbox', 'Email Test Status', Postman::TEXT_DOMAIN ) );
+ print '</legend>';
+ print '<section>';
+ printf ( '<p><label>%s</label></p>', __ ( 'Status', Postman::TEXT_DOMAIN ) );
+ print '<textarea id="postman_test_message_error_message" readonly="readonly" cols="65" rows="4"></textarea>';
+ print '</section>';
+ print '</fieldset>';
+
+ // Step 3
+ printf ( '<h5>%s</h5>', __ ( 'Session Transcript', Postman::TEXT_DOMAIN ) );
+ print '<fieldset>';
+ printf ( '<legend>%s</legend>', __ ( 'Examine the Session Transcript if you need to.', Postman::TEXT_DOMAIN ) );
+ printf ( '<p>%s</p>', __ ( 'This is the conversation between Postman and the mail server. It can be useful for diagnosing problems. <b>DO NOT</b> post it on-line, it may contain your account password.', Postman::TEXT_DOMAIN ) );
+ print '<section>';
+ printf ( '<p><label for="postman_test_message_transcript">%s</label></p>', __ ( 'Session Transcript', Postman::TEXT_DOMAIN ) );
+ print '<textarea readonly="readonly" id="postman_test_message_transcript" cols="65" rows="8"></textarea>';
+ print '</section>';
+ print '</fieldset>';
+
+ print '</form>';
+ print '</div>';
+ }
+}
+
+/**
+ *
+ * @author jasonhendriks
+ *
+ */
+class PostmanSendTestEmailAjaxController extends PostmanAbstractAjaxHandler {
+
+ /**
+ * Constructor
+ *
+ * @param PostmanOptions $options
+ * @param PostmanOAuthToken $authorizationToken
+ * @param PostmanConfigTextHelper $oauthScribe
+ */
+ function __construct() {
+ parent::__construct ();
+ PostmanUtils::registerAjaxHandler ( 'postman_send_test_email', $this, 'sendTestEmailViaAjax' );
+ }
+
+ /**
+ * Yes, this procedure is just for testing.
+ *
+ * @return boolean
+ */
+ function test_mode() {
+ return true;
+ }
+
+ /**
+ * This Ajax sends a test email
+ */
+ function sendTestEmailViaAjax() {
+ // get the email address of the recipient from the HTTP Request
+ $email = $this->getRequestParameter ( 'email' );
+
+ // get the name of the server from the HTTP Request
+ $serverName = PostmanUtils::postmanGetServerName ();
+
+ /* translators: where %s is the domain name of the site */
+ $subject = sprintf ( _x ( 'Postman SMTP Test (%s)', 'Test Email Subject', Postman::TEXT_DOMAIN ), $serverName );
+
+ // Postman API: indicate to Postman this is just for testing
+ add_filter ( 'postman_test_email', array (
+ $this,
+ 'test_mode'
+ ) );
+
+ // this header specifies that there are many parts (one text part, one html part)
+ $header = 'Content-Type: multipart/alternative;';
+
+ // createt the message content
+ $message = $this->createMessageContent ();
+
+ // send the message
+ $success = wp_mail ( $email, $subject, $message, $header );
+
+ // Postman API: remove the testing indicator
+ remove_filter ( 'postman_test_email', array (
+ $this,
+ 'test_mode'
+ ) );
+
+ // Postman API: retrieve the result of sending this message from Postman
+ $result = apply_filters ( 'postman_wp_mail_result', null );
+
+ // post-handling
+ if ($success) {
+ $this->logger->debug ( 'Test Email delivered to server' );
+ // the message was sent successfully, generate an appropriate message for the user
+ $statusMessage = sprintf ( __ ( 'Your message was delivered (%d ms) to the SMTP server! Congratulations :)', Postman::TEXT_DOMAIN ), $result ['time'] );
+
+ //
+ $this->logger->debug ( 'statusmessage: ' . $statusMessage );
+
+ // compose the JSON response for the caller
+ $response = array (
+ 'message' => $statusMessage,
+ 'transcript' => $result ['transcript']
+ );
+
+ // log the response
+ if ($this->logger->isTrace ()) {
+ $this->logger->trace ( 'Ajax Response:' );
+ $this->logger->trace ( $response );
+ }
+
+ // send the JSON response
+ wp_send_json_success ( $response );
+ } else {
+ $this->logger->error ( 'Test Email NOT delivered to server - ' . $result ['exception']->getCode () );
+ // the message was NOT sent successfully, generate an appropriate message for the user
+ $statusMessage = $result ['exception']->getMessage ();
+
+ //
+ $this->logger->debug ( 'statusmessage: ' . $statusMessage );
+
+ // compose the JSON response for the caller
+ $response = array (
+ 'message' => $statusMessage,
+ 'transcript' => $result ['transcript']
+ );
+
+ // log the response
+ if ($this->logger->isTrace ()) {
+ $this->logger->trace ( 'Ajax Response:' );
+ $this->logger->trace ( $response );
+ }
+
+ // send the JSON response
+ wp_send_json_error ( $response );
+ }
+ }
+
+ /**
+ * Create the multipart message content
+ *
+ * @return string
+ */
+ private function createMessageContent() {
+ // Postman API: Get the plugin metadata
+ $pluginData = apply_filters ( 'postman_get_plugin_metadata', null );
+
+ /* translators: where %s is the Postman plugin version number (e.g. 1.4) */
+ // English - Mandarin - French - Hindi - Spanish - Portuguese - Russian - Japanese
+ // http://www.pinyin.info/tools/converter/chars2uninumbers.html
+ $greeting = 'Hello! - &#20320;&#22909; - Bonjour! - &#2344;&#2350;&#2360;&#2381;&#2340;&#2375; - ¡Hola! - Ol&#225; - &#1055;&#1088;&#1080;&#1074;&#1077;&#1090;! - &#20170;&#26085;&#12399;';
+ $sentBy = sprintf ( _x ( 'Sent by Postman %s', 'Test Email Tagline', Postman::TEXT_DOMAIN ), $pluginData ['version'] );
+ $imageSource = __ ( 'Image source', Postman::TEXT_DOMAIN );
+ $withPermission = __ ( 'Used with permission', Postman::TEXT_DOMAIN );
+ $messageArray = array (
+ 'Content-Type: text/plain; charset = "UTF-8"',
+ 'Content-Transfer-Encoding: 8bit',
+ '',
+ 'Hello!',
+ '',
+ sprintf ( '%s - https://wordpress.org/plugins/postman-smtp/', $sentBy ),
+ '',
+ 'Content-Type: text/html; charset=UTF-8',
+ 'Content-Transfer-Encoding: quoted-printable',
+ '',
+ '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
+ '<html xmlns="http://www.w3.org/1999/xhtml">',
+ '<head>',
+ '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />',
+ '<style type="text/css" media="all">',
+ '.wporg-notification .im {',
+ ' color: #888;',
+ '} /* undo a GMail-inserted style */',
+ '</style>',
+ '</head>',
+ '<body class="wporg-notification">',
+ ' <div style="background: #e8f6fe; font-family: &amp; quot; Helvetica Neue&amp;quot; , Helvetica ,Arial,sans-serif; font-size: 14px; color: #666; text-align: center; margin: 0; padding: 0">',
+ ' <table border="0" cellspacing="0" cellpadding="0" bgcolor="#e8f6fe" style="background: #e8f6fe; width: 100%;">',
+ ' <tbody>',
+ ' <tr>',
+ ' <td>',
+ ' <table border="0" cellspacing="0" cellpadding="0" align="center" style="padding: 0px; width: 100%;"">',
+ ' <tbody>',
+ ' <tr>',
+ ' <td>',
+ ' <div style="max-width: 600px; height: 400px; margin: 0 auto; overflow: hidden;background-image:url(\'https://ps.w.org/postman-smtp/assets/email/poofytoo.png\');background-repeat: no-repeat;">',
+ sprintf ( ' <div style="margin:50px 0 0 300px; width:300px; font-size:2em;">%s</div>', $greeting ),
+ sprintf ( ' <div style="text-align:right;font-size: 1.4em; color:black;margin:150px 0 0 200px;">%s', $sentBy ),
+ ' <br/><span style="font-size: 0.8em"><a style="color:#3f73b9" href="https://wordpress.org/plugins/postman-smtp/">https://wordpress.org/plugins/postman-smtp/</a></span>',
+ ' </div>',
+ ' </div>',
+ ' </td>',
+ ' </tr>',
+ ' </tbody>',
+ ' </table>',
+ sprintf ( ' <br><span style="font-size:0.9em;color:#94c0dc;">%s: <a style="color:#94c0dc" href="http://poofytoo.com">poofytoo.com</a> - %s</span>', $imageSource, $withPermission ),
+ ' </td>',
+ ' </tr>',
+ ' </tbody>',
+ ' </table>',
+ '</body>',
+ '</html>'
+ );
+ return implode ( PostmanMessage::EOL, $messageArray );
+ }
+}
diff --git a/Postman/Postman-Send-Test-Email/postman_send_test_email.css b/Postman/Postman-Send-Test-Email/postman_send_test_email.css
new file mode 100644
index 0000000..40d612c
--- /dev/null
+++ b/Postman/Postman-Send-Test-Email/postman_send_test_email.css
@@ -0,0 +1,3 @@
+.wizard>.content {
+ min-height: 26em;
+}
diff --git a/Postman/Postman-Send-Test-Email/postman_send_test_email.js b/Postman/Postman-Send-Test-Email/postman_send_test_email.js
new file mode 100644
index 0000000..c3e9f07
--- /dev/null
+++ b/Postman/Postman-Send-Test-Email/postman_send_test_email.js
@@ -0,0 +1,168 @@
+transcript = false;
+jQuery(document).ready(
+ function() {
+ ready = 0;
+ jQuery(postman_email_test.recipient).focus();
+ jQuery("#postman_test_email_wizard")
+ .steps(
+ {
+ forceMoveForward : true,
+ showFinishButtonAlways : true,
+ bodyTag : "fieldset",
+ headerTag : "h5",
+ transitionEffect : "slideLeft",
+ stepsOrientation : "vertical",
+ autoFocus : true,
+ labels : {
+ current : steps_current_step,
+ pagination : steps_pagination,
+ finish : steps_finish,
+ next : steps_next,
+ previous : steps_previous,
+ loading : steps_loading
+ },
+ onStepChanging : function(event, currentIndex,
+ newIndex) {
+ return handleStepChange(event,
+ currentIndex, newIndex,
+ jQuery(this));
+
+ },
+ onInit : function() {
+ jQuery(postman_email_test.recipient)
+ .focus();
+ jQuery('li + li').addClass('disabled');
+ },
+ onStepChanged : function(event, currentIndex,
+ priorIndex) {
+ return postHandleStepChange(event,
+ currentIndex, priorIndex,
+ jQuery(this));
+ },
+ onFinishing : function(event, currentIndex) {
+ return true;
+ },
+ onFinished : function(event, currentIndex) {
+ if (ready == 0) {
+ return false;
+ } else {
+ var form = jQuery(this);
+ form.submit();
+ }
+ }
+ }).validate({
+ errorPlacement : function(error, element) {
+ element.before(error);
+ }
+ });
+ });
+function handleStepChange(event, currentIndex, newIndex, form) {
+ // Always allow going backward even if
+ // the current step contains invalid fields!
+ if (currentIndex > newIndex) {
+ return false;
+ }
+
+ // Clean up if user went backward
+ // before
+ if (currentIndex < newIndex) {
+ // To remove error styles
+ jQuery(".body:eq(" + newIndex + ") label.error", form).remove();
+ jQuery(".body:eq(" + newIndex + ") .error", form).removeClass("error");
+ }
+
+ // Disable validation on fields that
+ // are disabled or hidden.
+ form.validate().settings.ignore = ":disabled,:hidden";
+
+ // Start validation; Prevent going
+ // forward if false
+ valid = form.valid();
+ if (!valid) {
+ return false;
+ }
+
+ if (currentIndex === 0) {
+ ready = 0;
+ // this disables the finish button during the screen slide
+ jQuery('li').addClass('disabled');
+ jQuery('#postman_test_message_status').html(
+ postman_email_test.not_started);
+ jQuery('#postman_test_message_status').css('color', '');
+ jQuery('#postman_test_message_error_message').val('');
+ jQuery('#postman_test_message_transcript').val('');
+ hide(jQuery('#test-success'));
+ hide(jQuery('#test-fail'));
+ } else if (currentIndex === 1) {
+ return transcript;
+ }
+
+ return true;
+}
+function postHandleStepChange(event, currentIndex, priorIndex, myself) {
+ if (currentIndex === 0) {
+ } else if (currentIndex === 1) {
+ // this is the second place I disable the finish button but Steps
+ // re-enables it after the screen slides
+ jQuery('li').addClass('disabled');
+ var data = {
+ 'action' : 'postman_send_test_email',
+ 'email' : jQuery(postman_email_test.recipient).val()
+ };
+ jQuery('#postman_test_message_status').html(postman_email_test.sending);
+ jQuery('#postman_test_message_status').css('color', 'blue');
+ // http://stackoverflow.com/questions/21987318/catch-handle-502-bad-gateway-error
+ jQuery
+ .ajax(
+ {
+ statusCode : {
+ 502 : function() {
+ alert('The server returned "HTTP Error 502 Bad gateway". Contact your hosting provider to resolve the error.');
+ }
+ },
+ method : "POST",
+ url : ajaxurl,
+ data : data
+ }).done(function(response) {
+ handleResponse(response);
+ }).fail(
+ function(response) {
+ // handle ajax failure
+ jQuery('#postman_test_message_status').html(
+ postman_email_test.ajax_error);
+ jQuery('#postman_test_message_status').css('color',
+ 'red');
+ jQuery('#postman_test_message_error_message').val(
+ postman_ajax_msg.bad_response + ":\n\n"
+ + response.responseText);
+ jQuery('li + li').removeClass('disabled');
+ });
+
+ }
+ function handleResponse(response) {
+ if (postmanValidateAjaxResponse(response)) {
+ if (response.data.transcript
+ && response.data.transcript.length != 0) {
+ // only enable the next button if there is a transcript
+ transcript = true;
+ jQuery('li').removeClass('disabled');
+ } else {
+ jQuery('li + li').removeClass('disabled');
+ }
+ if (response.success) {
+ jQuery('#postman_test_message_status').html(
+ postman_email_test.success);
+ jQuery('#postman_test_message_status').css('color', 'green');
+ } else {
+ jQuery('#postman_test_message_status').html(
+ postman_email_test.failed);
+ jQuery('#postman_test_message_status').css('color', 'red');
+ }
+ jQuery('#postman_test_message_error_message').val(
+ response.data.message);
+ jQuery('#postman_test_message_transcript').val(
+ response.data.transcript);
+ }
+ ready = 1;
+ }
+}
diff --git a/Postman/Postman.php b/Postman/Postman.php
new file mode 100644
index 0000000..a706636
--- /dev/null
+++ b/Postman/Postman.php
@@ -0,0 +1,399 @@
+<?php
+
+/**
+ * Postman execution begins here:
+ * - the default Postman transports are loaded
+ * - the wp_mail function is overloaded, whether or not Postman has been properly configured
+ * - the custom post types are created, in case they are needed for the WordPress importer
+ * - the database upgrade is run, if there is a version mismatch
+ * - the shortcode is created
+ * - the admin screens are loaded, the Message Handler created, if the current user can manage Postman
+ * - on activation/deactivation, the custom capability is added to/removed from the administrator role
+ * - a custom str_getcsv function is added to the global namespace, if it is missing
+ *
+ * @author jasonhendriks
+ * @copyright Jan 16, 2015
+ */
+class Postman {
+
+ //
+ const ADMINISTRATOR_ROLE_NAME = 'administrator';
+ const MANAGE_POSTMAN_CAPABILITY_NAME = 'manage_postman_smtp';
+ const TEXT_DOMAIN = 'postman-smtp';
+
+ //
+ private $logger;
+ private $messageHandler;
+ private $wpMailBinder;
+ private $pluginData;
+ private $rootPluginFilenameAndPath;
+
+ /**
+ * The constructor
+ *
+ * @param unknown $rootPluginFilenameAndPath
+ * - the __FILE__ of the caller
+ */
+ public function __construct($rootPluginFilenameAndPath, $version) {
+ assert ( ! empty ( $rootPluginFilenameAndPath ) );
+ assert ( ! empty ( $version ) );
+ $this->rootPluginFilenameAndPath = $rootPluginFilenameAndPath;
+
+ // load the dependencies
+ require_once 'PostmanOptions.php';
+ require_once 'PostmanState.php';
+ require_once 'PostmanLogger.php';
+ require_once 'PostmanUtils.php';
+ require_once 'Postman-Mail/PostmanTransportRegistry.php';
+ require_once 'Postman-Mail/PostmanDefaultModuleTransport.php';
+ require_once 'Postman-Mail/PostmanSmtpModuleTransport.php';
+ require_once 'Postman-Mail/PostmanGmailApiModuleTransport.php';
+ require_once 'Postman-Mail/PostmanMandrillTransport.php';
+ require_once 'Postman-Mail/PostmanSendGridTransport.php';
+ require_once 'PostmanOAuthToken.php';
+ require_once 'PostmanWpMailBinder.php';
+ require_once 'PostmanConfigTextHelper.php';
+ require_once 'Postman-Email-Log/PostmanEmailLogPostType.php';
+ require_once 'Postman-Mail/PostmanMyMailConnector.php';
+
+ // get plugin metadata - alternative to get_plugin_data
+ $this->pluginData = array (
+ 'name' => __ ( 'Postman SMTP', Postman::TEXT_DOMAIN ),
+ 'version' => $version
+ );
+
+ // register the plugin metadata filter (part of the Postman API)
+ add_filter ( 'postman_get_plugin_metadata', array (
+ $this,
+ 'getPluginMetaData'
+ ) );
+
+ // create an instance of the logger
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ if ($this->logger->isDebug ()) {
+ $this->logger->debug ( sprintf ( '%1$s v%2$s starting', $this->pluginData ['name'], $this->pluginData ['version'] ) );
+ }
+
+ if (isset ( $_REQUEST ['page'] ) && $this->logger->isTrace ()) {
+ $this->logger->trace ( 'Current page: ' . $_REQUEST ['page'] );
+ }
+
+ // register the email transports
+ $this->registerTransports ( $rootPluginFilenameAndPath );
+
+ // store an instance of the WpMailBinder
+ $this->wpMailBinder = PostmanWpMailBinder::getInstance ();
+
+ // bind to wp_mail - this has to happen before the "init" action
+ // this design allows other plugins to register a Postman transport and call bind()
+ // bind may be called more than once
+ $this->wpMailBinder->bind ();
+
+ // registers the custom post type for all callers
+ PostmanEmailLogPostType::automaticallyCreatePostType ();
+
+ // run the DatastoreUpgrader any time there is a version mismatch
+ if (PostmanState::getInstance ()->getVersion () != $this->pluginData ['version']) {
+ // manually trigger the activation hook
+ if ($this->logger->isInfo ()) {
+ $this->logger->info ( sprintf ( "Upgrading datastore from version %s to %s", PostmanState::getInstance ()->getVersion (), $this->pluginData ['version'] ) );
+ }
+ require_once 'PostmanInstaller.php';
+ $upgrader = new PostmanInstaller ();
+ $upgrader->activatePostman ();
+ }
+
+ // MyMail integration
+ new PostmanMyMailConnector ( $rootPluginFilenameAndPath );
+
+ // register the shortcode handler on the add_shortcode event
+ add_shortcode ( 'postman-version', array (
+ $this,
+ 'version_shortcode'
+ ) );
+
+ // hook on the plugins_loaded event
+ add_action ( 'plugins_loaded', array (
+ $this,
+ 'on_plugins_loaded'
+ ) );
+
+ // hook on the wp_loaded event
+ add_action ( 'wp_loaded', array (
+ $this,
+ 'on_wp_loaded'
+ ) );
+
+ // hook on the acivation event
+ register_activation_hook ( $rootPluginFilenameAndPath, array (
+ $this,
+ 'on_activation'
+ ) );
+
+ // hook on the deactivation event
+ register_deactivation_hook ( $rootPluginFilenameAndPath, array (
+ $this,
+ 'on_deactivation'
+ ) );
+ }
+
+ /**
+ * Functions to execute on the plugins_loaded event
+ *
+ * "After active plugins and pluggable functions are loaded"
+ * ref: http://codex.wordpress.org/Plugin_API/Action_Reference#Actions_Run_During_a_Typical_Request
+ */
+ public function on_plugins_loaded() {
+ // load the text domain
+ $this->loadTextDomain ();
+
+ // register the setup_admin function on plugins_loaded because we need to call
+ // current_user_can to verify the capability of the current user
+ if (PostmanUtils::isAdmin () && is_admin ()) {
+ $this->setup_admin ();
+ }
+ }
+
+ /**
+ * Functions to execute on the wp_loaded event
+ *
+ * "After WordPress is fully loaded"
+ * ref: http://codex.wordpress.org/Plugin_API/Action_Reference#Actions_Run_During_a_Typical_Request
+ */
+ public function on_wp_loaded() {
+ // register the check for configuration errors on the wp_loaded hook,
+ // because we want it to run after the OAuth Grant Code check on the init hook
+ $this->check_for_configuration_errors ();
+ }
+
+ /**
+ * Functions to execute on the register_activation_hook
+ * ref: https://codex.wordpress.org/Function_Reference/register_activation_hook
+ */
+ public function on_activation() {
+ if ($this->logger->isInfo ()) {
+ $this->logger->info ( 'Activating plugin' );
+ }
+ require_once 'PostmanInstaller.php';
+ $upgrader = new PostmanInstaller ();
+ $upgrader->activatePostman ();
+ }
+
+ /**
+ * Functions to execute on the register_deactivation_hook
+ * ref: https://codex.wordpress.org/Function_Reference/register_deactivation_hook
+ */
+ public function on_deactivation() {
+ if ($this->logger->isInfo ()) {
+ $this->logger->info ( 'Deactivating plugin' );
+ }
+ require_once 'PostmanInstaller.php';
+ $upgrader = new PostmanInstaller ();
+ $upgrader->deactivatePostman ();
+ }
+
+ /**
+ * If the user is on the WordPress Admin page, creates the Admin screens
+ */
+ public function setup_admin() {
+ $this->logger->debug ( 'Admin start-up sequence' );
+
+ $options = PostmanOptions::getInstance ();
+ $authToken = PostmanOAuthToken::getInstance ();
+ $rootPluginFilenameAndPath = $this->rootPluginFilenameAndPath;
+
+ // load the dependencies
+ require_once 'PostmanMessageHandler.php';
+ require_once 'PostmanAdminController.php';
+ require_once 'Postman-Controller/PostmanDashboardWidgetController.php';
+ require_once 'Postman-Controller/PostmanAdminPointer.php';
+ require_once 'Postman-Email-Log/PostmanEmailLogController.php';
+ require_once 'Postman-Connectivity-Test/PostmanConnectivityTestController.php';
+ require_once 'Postman-Configuration/PostmanConfigurationController.php';
+ require_once 'Postman-Send-Test-Email/PostmanSendTestEmailController.php';
+ require_once 'Postman-Diagnostic-Test/PostmanDiagnosticTestController.php';
+
+ // create and store an instance of the MessageHandler
+ $this->messageHandler = new PostmanMessageHandler ();
+
+ // create the Admin Controllers
+ new PostmanDashboardWidgetController ( $rootPluginFilenameAndPath, $options, $authToken, $this->wpMailBinder );
+ new PostmanAdminController ( $rootPluginFilenameAndPath, $options, $authToken, $this->messageHandler, $this->wpMailBinder );
+ new PostmanEmailLogController ( $rootPluginFilenameAndPath );
+ new PostmanConnectivityTestController ( $rootPluginFilenameAndPath );
+ new PostmanConfigurationController ( $rootPluginFilenameAndPath );
+ new PostmanSendTestEmailController ( $rootPluginFilenameAndPath );
+ new PostmanDiagnosticTestController ( $rootPluginFilenameAndPath );
+
+ // register the Postman signature (only if we're on a postman admin screen) on the in_admin_footer event
+ if (PostmanUtils::isCurrentPagePostmanAdmin ()) {
+ add_action ( 'in_admin_footer', array (
+ $this,
+ 'print_signature'
+ ) );
+ }
+ }
+
+ /**
+ * Check for configuration errors and displays messages to the user
+ */
+ public function check_for_configuration_errors() {
+ $options = PostmanOptions::getInstance ();
+ $authToken = PostmanOAuthToken::getInstance ();
+
+ // did Postman fail binding to wp_mail()?
+ if ($this->wpMailBinder->isUnboundDueToException ()) {
+ // this message gets printed on ANY WordPress admin page, as it's a fatal error that
+ // may occur just by activating a new plugin
+
+ // log the fatal message
+ $this->logger->fatal ( 'Postman: wp_mail has been declared by another plugin or theme, so you won\'t be able to use Postman until the conflict is resolved.' );
+
+ if (PostmanUtils::isAdmin () && is_admin ()) {
+ // on any admin pages, show this error message
+
+ // I noticed the wpMandrill and SendGrid plugins have the exact same error message here
+ // I've adopted their error message as well, for shits and giggles .... :D
+ $message = __ ( 'Postman: wp_mail has been declared by another plugin or theme, so you won\'t be able to use Postman until the conflict is resolved.', Postman::TEXT_DOMAIN );
+ $this->messageHandler->addError ( $message );
+ }
+ } else {
+ $transport = PostmanTransportRegistry::getInstance ()->getCurrentTransport ();
+ $scribe = $transport->getScribe ();
+
+ $virgin = $options->isNew ();
+ if (! $transport->isConfiguredAndReady ()) {
+ // if the configuration is broken, and the user has started to configure the plugin
+ // show this error message
+ $messages = $transport->getConfigurationMessages ();
+ foreach ( $messages as $message ) {
+ if ($message) {
+ // log the warning message
+ $this->logger->warn ( sprintf ( '%s Transport has a configuration problem: %s', $transport->getName (), $message ) );
+
+ if (PostmanUtils::isAdmin () && PostmanUtils::isCurrentPagePostmanAdmin ()) {
+ // on pages that are Postman admin pages only, show this error message
+ $this->messageHandler->addError ( $message );
+ }
+ }
+ }
+ }
+
+ // on pages that are NOT Postman admin pages only, show this error message
+ if (PostmanUtils::isAdmin () && ! PostmanUtils::isCurrentPagePostmanAdmin () && ! $transport->isConfiguredAndReady ()) {
+ // on pages that are *NOT* Postman admin pages only....
+ // if the configuration is broken show this error message
+ add_action ( 'admin_notices', Array (
+ $this,
+ 'display_configuration_required_warning'
+ ) );
+ }
+ }
+ }
+
+ /**
+ * Returns the plugin version number and name
+ * Part of the Postman API
+ *
+ * @return multitype:unknown NULL
+ */
+ public function getPluginMetaData() {
+ // get plugin metadata
+ return $this->pluginData;
+ }
+
+ /**
+ * This is the general message that Postman requires configuration, to warn users who think
+ * the plugin is ready-to-go as soon as it is activated.
+ * This message only goes away once the plugin is configured.
+ */
+ public function display_configuration_required_warning() {
+ if (PostmanUtils::isAdmin ()) {
+ if ($this->logger->isDebug ()) {
+ $this->logger->debug ( 'Displaying configuration required warning' );
+ }
+ $message = sprintf ( PostmanTransportRegistry::getInstance ()->getReadyMessage () );
+ $goToSettings = sprintf ( '<a href="%s">%s</a>', PostmanUtils::getSettingsPageUrl (), __ ( 'Settings', Postman::TEXT_DOMAIN ) );
+ $goToEmailLog = sprintf ( '%s', _x ( 'Email Log', 'The log of Emails that have been delivered', Postman::TEXT_DOMAIN ) );
+ if (PostmanOptions::getInstance ()->isMailLoggingEnabled ()) {
+ $goToEmailLog = sprintf ( '<a href="%s">%s</a>', PostmanUtils::getEmailLogPageUrl (), $goToEmailLog );
+ }
+ $message .= (sprintf ( ' %s | %s', $goToEmailLog, $goToSettings ));
+ ;
+ $this->messageHandler->printMessage ( $message, PostmanMessageHandler::WARNING_CLASS );
+ }
+ }
+
+ /**
+ * Register the email transports.
+ *
+ * The Gmail API used to be a separate plugin which was registered when that plugin
+ * was loaded. But now both the SMTP, Gmail API and other transports are registered here.
+ *
+ * @param unknown $pluginData
+ */
+ private function registerTransports($rootPluginFilenameAndPath) {
+ PostmanTransportRegistry::getInstance ()->registerTransport ( new PostmanDefaultModuleTransport ( $rootPluginFilenameAndPath ) );
+ PostmanTransportRegistry::getInstance ()->registerTransport ( new PostmanSmtpModuleTransport ( $rootPluginFilenameAndPath ) );
+ PostmanTransportRegistry::getInstance ()->registerTransport ( new PostmanGmailApiModuleTransport ( $rootPluginFilenameAndPath ) );
+ PostmanTransportRegistry::getInstance ()->registerTransport ( new PostmanMandrillTransport ( $rootPluginFilenameAndPath ) );
+ PostmanTransportRegistry::getInstance ()->registerTransport ( new PostmanSendGridTransport ( $rootPluginFilenameAndPath ) );
+ }
+
+ /**
+ * Print the Postman signature on the bottom of the page
+ *
+ * http://striderweb.com/nerdaphernalia/2008/06/give-your-wordpress-plugin-credit/
+ */
+ function print_signature() {
+ printf ( '<a href="https://wordpress.org/plugins/postman-smtp/">%s</a> %s<br/>', $this->pluginData ['name'], $this->pluginData ['version'] );
+ }
+
+ /**
+ * Loads the appropriate language file
+ */
+ private function loadTextDomain() {
+ // had to hardcode the third parameter, Relative path to WP_PLUGIN_DIR,
+ // because __FILE__ returns the wrong path if the plugin is installed as a symlink
+ $shortLocale = substr ( get_locale (), 0, 2 );
+ if ($shortLocale != 'en') {
+ $langDir = 'postman-smtp/Postman/languages';
+ $success = load_plugin_textdomain ( Postman::TEXT_DOMAIN, false, $langDir );
+ if ($this->logger->isDebug ()) {
+ if ($success) {
+ $this->logger->debug ( sprintf ( 'local translation file loaded for locale=%s', get_locale () ) );
+ } else {
+ $this->logger->debug ( sprintf ( 'failed to load local translation file: locale=%s file=%s/%s-%s.mo', get_locale (), $langDir, Postman::TEXT_DOMAIN, get_locale () ) );
+ }
+ }
+ }
+ }
+
+ /**
+ * Shortcode to return the current plugin version.
+ *
+ * From http://code.garyjones.co.uk/get-wordpress-plugin-version/
+ *
+ * @return string Plugin version
+ */
+ function version_shortcode() {
+ return $this->pluginData ['version'];
+ }
+}
+
+if (! function_exists ( 'str_getcsv' )) {
+ /**
+ * PHP version less than 5.3 don't have str_getcsv natively.
+ *
+ * @param unknown $string
+ * @return multitype:
+ */
+ function str_getcsv($string) {
+ $logger = new PostmanLogger ( 'postman-common-functions' );
+ if ($logger->isDebug ()) {
+ $logger->debug ( 'Using custom str_getcsv' );
+ }
+ return PostmanUtils::postman_strgetcsv_impl ( $string );
+ }
+}
+
diff --git a/Postman/PostmanAdminController.php b/Postman/PostmanAdminController.php
new file mode 100644
index 0000000..5e62dfe
--- /dev/null
+++ b/Postman/PostmanAdminController.php
@@ -0,0 +1,327 @@
+<?php
+if (! class_exists ( "PostmanAdminController" )) {
+
+ require_once 'PostmanOptions.php';
+ require_once 'PostmanState.php';
+ require_once 'PostmanState.php';
+ require_once 'PostmanOAuthToken.php';
+ require_once 'Postman-Connectivity-Test/Postman-PortTest.php';
+ require_once 'Postman-Configuration/PostmanSmtpDiscovery.php';
+ require_once 'PostmanInputSanitizer.php';
+ require_once 'Postman-Configuration/PostmanImportableConfiguration.php';
+ require_once 'PostmanConfigTextHelper.php';
+ require_once 'PostmanAjaxController.php';
+ require_once 'PostmanViewController.php';
+ require_once 'PostmanPreRequisitesCheck.php';
+ require_once 'Postman-Auth/PostmanAuthenticationManagerFactory.php';
+
+ //
+ class PostmanAdminController {
+
+ // this is the slug used in the URL
+ const MANAGE_OPTIONS_PAGE_SLUG = 'postman/manage-options';
+
+ // NONCE NAMES
+ const PURGE_DATA_SLUG = 'postman_purge_data';
+ const IMPORT_SETTINGS_SLUG = 'postman_import_settings';
+
+ // The Postman Group is used for saving data, make sure it is globally unique
+ const SETTINGS_GROUP_NAME = 'postman_group';
+
+ // a database entry specifically for the form that sends test e-mail
+ const TEST_OPTIONS = 'postman_test_options';
+ const SMTP_OPTIONS = 'postman_smtp_options';
+ const SMTP_SECTION = 'postman_smtp_section';
+ const BASIC_AUTH_OPTIONS = 'postman_basic_auth_options';
+ const BASIC_AUTH_SECTION = 'postman_basic_auth_section';
+ const OAUTH_AUTH_OPTIONS = 'postman_oauth_options';
+ const OAUTH_SECTION = 'postman_oauth_section';
+ const MESSAGE_SENDER_OPTIONS = 'postman_message_sender_options';
+ const MESSAGE_SENDER_SECTION = 'postman_message_sender_section';
+ const MESSAGE_FROM_OPTIONS = 'postman_message_from_options';
+ const MESSAGE_FROM_SECTION = 'postman_message_from_section';
+ const MESSAGE_OPTIONS = 'postman_message_options';
+ const MESSAGE_SECTION = 'postman_message_section';
+ const MESSAGE_HEADERS_OPTIONS = 'postman_message_headers_options';
+ const MESSAGE_HEADERS_SECTION = 'postman_message_headers_section';
+ const NETWORK_OPTIONS = 'postman_network_options';
+ const NETWORK_SECTION = 'postman_network_section';
+ const LOGGING_OPTIONS = 'postman_logging_options';
+ const LOGGING_SECTION = 'postman_logging_section';
+ const MULTISITE_OPTIONS = 'postman_multisite_options';
+ const MULTISITE_SECTION = 'postman_multisite_section';
+ const ADVANCED_OPTIONS = 'postman_advanced_options';
+ const ADVANCED_SECTION = 'postman_advanced_section';
+ const EMAIL_VALIDATION_SECTION = 'postman_email_validation_section';
+ const EMAIL_VALIDATION_OPTIONS = 'postman_email_validation_options';
+
+ // slugs
+ const POSTMAN_TEST_SLUG = 'postman-test';
+
+ // logging
+ private $logger;
+
+ // Holds the values to be used in the fields callbacks
+ private $rootPluginFilenameAndPath;
+ private $options;
+ private $authorizationToken;
+ private $importableConfiguration;
+
+ // helpers
+ private $messageHandler;
+ private $oauthScribe;
+ private $wpMailBinder;
+
+ /**
+ * Constructor
+ *
+ * @param unknown $rootPluginFilenameAndPath
+ * @param PostmanOptions $options
+ * @param PostmanOAuthToken $authorizationToken
+ * @param PostmanMessageHandler $messageHandler
+ * @param PostmanWpMailBinder $binder
+ */
+ public function __construct($rootPluginFilenameAndPath, PostmanOptions $options, PostmanOAuthToken $authorizationToken, PostmanMessageHandler $messageHandler, PostmanWpMailBinder $binder) {
+ assert ( ! empty ( $rootPluginFilenameAndPath ) );
+ assert ( ! empty ( $options ) );
+ assert ( ! empty ( $authorizationToken ) );
+ assert ( ! empty ( $messageHandler ) );
+ assert ( ! empty ( $binder ) );
+ assert ( PostmanUtils::isAdmin () );
+ assert ( is_admin () );
+
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ $this->options = $options;
+ $this->authorizationToken = $authorizationToken;
+ $this->messageHandler = $messageHandler;
+ $this->rootPluginFilenameAndPath = $rootPluginFilenameAndPath;
+ $this->wpMailBinder = $binder;
+
+ // check if the user saved data, and if validation was successful
+ $session = PostmanSession::getInstance ();
+ if ($session->isSetAction ()) {
+ $this->logger->debug ( sprintf ( 'session action: %s', $session->getAction () ) );
+ }
+ if ($session->getAction () == PostmanInputSanitizer::VALIDATION_SUCCESS) {
+ // unset the action
+ $session->unsetAction ();
+ // do a redirect on the init hook
+ $this->registerInitFunction ( 'handleSuccessfulSave' );
+ // add a saved message to be shown after the redirect
+ $this->messageHandler->addMessage ( _x ( 'Settings saved.', 'The plugin successfully saved new settings.', Postman::TEXT_DOMAIN ) );
+ return;
+ } else {
+ // unset the action in the failed case as well
+ $session->unsetAction ();
+ }
+
+ // test to see if an OAuth authentication is in progress
+ if ($session->isSetOauthInProgress ()) {
+ // there is only a three minute window that Postman will expect a Grant Code, once Grant is clicked by the user
+ $this->logger->debug ( 'Looking for grant code' );
+ if (isset ( $_GET ['code'] )) {
+ $this->logger->debug ( 'Found authorization grant code' );
+ // queue the function that processes the incoming grant code
+ $this->registerInitFunction ( 'handleAuthorizationGrant' );
+ return;
+ }
+ }
+
+ // continue to initialize the AdminController
+ add_action ( 'init', array (
+ $this,
+ 'on_init'
+ ) );
+
+ // Adds "Settings" link to the plugin action page
+ add_filter ( 'plugin_action_links_' . plugin_basename ( $this->rootPluginFilenameAndPath ), array (
+ $this,
+ 'postmanModifyLinksOnPluginsListPage'
+ ) );
+ }
+
+ /**
+ * Functions to execute on the init event
+ *
+ * "Typically used by plugins to initialize. The current user is already authenticated by this time."
+ * ref: http://codex.wordpress.org/Plugin_API/Action_Reference#Actions_Run_During_a_Typical_Request
+ */
+ public function on_init() {
+ // only administrators should be able to trigger this
+ if (PostmanUtils::isAdmin ()) {
+ //
+ $transport = PostmanTransportRegistry::getInstance ()->getCurrentTransport ();
+ $this->oauthScribe = $transport->getScribe ();
+
+ // register content handlers
+ $viewController = new PostmanViewController ( $this->rootPluginFilenameAndPath, $this->options, $this->authorizationToken, $this->oauthScribe, $this );
+
+ // register action handlers
+ $this->registerAdminPostAction ( self::PURGE_DATA_SLUG, 'handlePurgeDataAction' );
+ $this->registerAdminPostAction ( self::IMPORT_SETTINGS_SLUG, 'importSettingsAction' );
+ $this->registerAdminPostAction ( PostmanUtils::REQUEST_OAUTH2_GRANT_SLUG, 'handleOAuthPermissionRequestAction' );
+
+ if (PostmanUtils::isCurrentPagePostmanAdmin ()) {
+ $this->checkPreRequisites ();
+ }
+ }
+ }
+
+ /**
+ *
+ */
+ private function checkPreRequisites() {
+ $states = PostmanPreRequisitesCheck::getState ();
+ foreach ( $states as $state ) {
+ if (! $state ['ready']) {
+ /* Translators: where %1$s is the name of the library */
+ $message = sprintf ( __ ( 'This PHP installation requires the <b>%1$s</b> library.', Postman::TEXT_DOMAIN ), $state ['name'] );
+ if ($state ['required']) {
+ $this->messageHandler->addError ( $message );
+ } else {
+ // $this->messageHandler->addWarning ( $message );
+ }
+ }
+ }
+ }
+
+ /**
+ *
+ * @param unknown $actionName
+ * @param unknown $callbackName
+ */
+ private function registerInitFunction($callbackName) {
+ $this->logger->debug ( 'Registering init function ' . $callbackName );
+ add_action ( 'init', array (
+ $this,
+ $callbackName
+ ) );
+ }
+
+ /**
+ * Registers actions posted by am HTML FORM with the WordPress 'action' parameter
+ *
+ * @param unknown $actionName
+ * @param unknown $callbankName
+ */
+ private function registerAdminPostAction($actionName, $callbankName) {
+ // $this->logger->debug ( 'Registering ' . $actionName . ' Action Post handler' );
+ add_action ( 'admin_post_' . $actionName, array (
+ $this,
+ $callbankName
+ ) );
+ }
+
+ /**
+ * Add "Settings" link to the plugin action page
+ *
+ * @param unknown $links
+ * @return multitype:
+ */
+ public function postmanModifyLinksOnPluginsListPage($links) {
+ // only administrators should be able to trigger this
+ if (PostmanUtils::isAdmin ()) {
+ $mylinks = array (
+ sprintf ( '<a href="%s" class="postman_settings">%s</a>', PostmanUtils::getSettingsPageUrl (), __ ( 'Settings', Postman::TEXT_DOMAIN ) )
+ );
+ return array_merge ( $mylinks, $links );
+ }
+ }
+
+ /**
+ * This function runs after a successful, error-free save
+ */
+ public function handleSuccessfulSave() {
+ // WordPress likes to keep GET parameters around for a long time
+ // (something in the call to settings_fields() does this)
+ // here we redirect after a successful save to clear those parameters
+ PostmanUtils::redirect ( PostmanUtils::POSTMAN_HOME_PAGE_RELATIVE_URL );
+ }
+
+ /**
+ * This function handle the request to import plugin data
+ */
+ public function importSettingsAction() {
+ $this->logger->debug ( 'is wpnonce import-settings?' );
+ $success = true;
+ if (wp_verify_nonce ( $_REQUEST ['_wpnonce'], PostmanAdminController::IMPORT_SETTINGS_SLUG )) {
+ $success = PostmanOptions::getInstance ()->import ( $_POST ['settings'] );
+ } else {
+ $success = false;
+ }
+ if (! $success) {
+ $this->messageHandler->addError ( __ ( 'There was an error importing the data.', Postman::TEXT_DOMAIN ) );
+ $this->logger->error ( 'There was an error importing the data' );
+ }
+ PostmanUtils::redirect ( PostmanUtils::POSTMAN_HOME_PAGE_RELATIVE_URL );
+ }
+ /**
+ * This function handle the request to purge plugin data
+ */
+ public function handlePurgeDataAction() {
+ $this->logger->debug ( 'is wpnonce purge-data?' );
+ if (wp_verify_nonce ( $_REQUEST ['_wpnonce'], PostmanAdminController::PURGE_DATA_SLUG )) {
+ $this->logger->debug ( 'Purging stored data' );
+ delete_option ( PostmanOptions::POSTMAN_OPTIONS );
+ delete_option ( PostmanOAuthToken::OPTIONS_NAME );
+ delete_option ( PostmanAdminController::TEST_OPTIONS );
+ $logPurger = new PostmanEmailLogPurger ();
+ $logPurger->removeAll ();
+ $this->messageHandler->addMessage ( __ ( 'Plugin data was removed.', Postman::TEXT_DOMAIN ) );
+ PostmanUtils::redirect ( PostmanUtils::POSTMAN_HOME_PAGE_RELATIVE_URL );
+ }
+ }
+
+ /**
+ * Handles the authorization grant
+ */
+ function handleAuthorizationGrant() {
+ $logger = $this->logger;
+ $options = $this->options;
+ $authorizationToken = $this->authorizationToken;
+ $logger->debug ( 'Authorization in progress' );
+ $transactionId = PostmanSession::getInstance ()->getOauthInProgress ();
+
+ // begin transaction
+ PostmanUtils::lock ();
+
+ $authenticationManager = PostmanAuthenticationManagerFactory::getInstance ()->createAuthenticationManager ();
+ try {
+ if ($authenticationManager->processAuthorizationGrantCode ( $transactionId )) {
+ $logger->debug ( 'Authorization successful' );
+ // save to database
+ $authorizationToken->save ();
+ $this->messageHandler->addMessage ( __ ( 'The OAuth 2.0 authorization was successful. Ready to send e-mail.', Postman::TEXT_DOMAIN ) );
+ } else {
+ $this->messageHandler->addError ( __ ( 'Your email provider did not grant Postman permission. Try again.', Postman::TEXT_DOMAIN ) );
+ }
+ } catch ( PostmanStateIdMissingException $e ) {
+ $this->messageHandler->addError ( __ ( 'The grant code from Google had no accompanying state and may be a forgery', Postman::TEXT_DOMAIN ) );
+ } catch ( Exception $e ) {
+ $logger->error ( 'Error: ' . get_class ( $e ) . ' code=' . $e->getCode () . ' message=' . $e->getMessage () );
+ /* translators: %s is the error message */
+ $this->messageHandler->addError ( sprintf ( __ ( 'Error authenticating with this Client ID. [%s]', Postman::TEXT_DOMAIN ), '<em>' . $e->getMessage () . '</em>' ) );
+ }
+
+ // clean-up
+ PostmanUtils::unlock ();
+ PostmanSession::getInstance ()->unsetOauthInProgress ();
+
+ // redirect home
+ PostmanUtils::redirect ( PostmanUtils::POSTMAN_HOME_PAGE_RELATIVE_URL );
+ }
+
+ /**
+ * This method is called when a user clicks on a "Request Permission from Google" link.
+ * This link will create a remote API call for Google and redirect the user from WordPress to Google.
+ * Google will redirect back to WordPress after the user responds.
+ */
+ public function handleOAuthPermissionRequestAction() {
+ $this->logger->debug ( 'handling OAuth Permission request' );
+ $authenticationManager = PostmanAuthenticationManagerFactory::getInstance ()->createAuthenticationManager ();
+ $transactionId = $authenticationManager->generateRequestTransactionId ();
+ PostmanSession::getInstance ()->setOauthInProgress ( $transactionId );
+ $authenticationManager->requestVerificationCode ( $transactionId );
+ }
+ }
+} \ No newline at end of file
diff --git a/Postman/PostmanAjaxController.php b/Postman/PostmanAjaxController.php
new file mode 100644
index 0000000..caa23e9
--- /dev/null
+++ b/Postman/PostmanAjaxController.php
@@ -0,0 +1,57 @@
+<?php
+if (! class_exists ( 'PostmanAbstractAjaxHandler' )) {
+
+ require_once ('PostmanPreRequisitesCheck.php');
+ require_once ('Postman-Mail/PostmanMessage.php');
+
+ /**
+ *
+ * @author jasonhendriks
+ */
+ abstract class PostmanAbstractAjaxHandler {
+ protected $logger;
+ function __construct() {
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ }
+ /**
+ *
+ * @param unknown $actionName
+ * @param unknown $callbackName
+ */
+ protected function registerAjaxHandler($actionName, $class, $callbackName) {
+ if (is_admin ()) {
+ $fullname = 'wp_ajax_' . $actionName;
+ // $this->logger->debug ( 'Registering ' . 'wp_ajax_' . $fullname . ' Ajax handler' );
+ add_action ( $fullname, array (
+ $class,
+ $callbackName
+ ) );
+ }
+ }
+
+ /**
+ *
+ * @param unknown $parameterName
+ * @return mixed
+ */
+ protected function getBooleanRequestParameter($parameterName) {
+ return filter_var ( $this->getRequestParameter ( $parameterName ), FILTER_VALIDATE_BOOLEAN );
+ }
+
+ /**
+ *
+ * @param unknown $parameterName
+ * @return unknown
+ */
+ protected function getRequestParameter($parameterName) {
+ if (isset ( $_POST [$parameterName] )) {
+ $value = $_POST[$parameterName];
+ $this->logger->trace ( sprintf ( 'Found parameter "%s"', $parameterName ) );
+ $this->logger->trace ( $value );
+ return $value;
+ }
+ }
+ }
+}
+
+require_once ('Postman-Controller/PostmanManageConfigurationAjaxHandler.php');
diff --git a/Postman/PostmanConfigTextHelper.php b/Postman/PostmanConfigTextHelper.php
new file mode 100644
index 0000000..8477b2c
--- /dev/null
+++ b/Postman/PostmanConfigTextHelper.php
@@ -0,0 +1,307 @@
+<?php
+if (! interface_exists ( 'PostmanConfigTextHelper' )) {
+ interface PostmanConfigTextHelper {
+ public function isOauthHost();
+ public function isGoogle();
+ public function isMicrosoft();
+ public function isYahoo();
+ public function getCallbackUrl();
+ public function getCallbackDomain();
+ public function getClientIdLabel();
+ public function getClientSecretLabel();
+ public function getCallbackUrlLabel();
+ public function getCallbackDomainLabel();
+ public function getOwnerName();
+ public function getServiceName();
+ public function getApplicationDescription();
+ public function getApplicationPortalName();
+ public function getApplicationPortalUrl();
+ public function getOAuthPort();
+ public function getEncryptionType();
+ }
+}
+if (! class_exists ( 'PostmanAbstractConfigTextHelper' )) {
+
+ /**
+ *
+ * @author jasonhendriks
+ */
+ abstract class PostmanAbstractConfigTextHelper implements PostmanConfigTextHelper {
+ public function getOAuthHelp() {
+ $attention = __ ( 'Attention' );
+ /* translators: parameters available are 1=portal-url, 2=portal-name, 3=clientId-name, 4=clientSecret-name, 5=callbackUrl, 6=service-name, 7=portal-application (e.g. Open the Google Developer Console, create a Client ID for web application using the URL's displayed below, and copy the Client ID and Client Secret here.) */
+ $errorMessage = sprintf ( __ ( 'Open the <a href="%1$s" target="_new">%2$s</a>, create <b>%7$s</b> with the values displayed below, and copy the generated %3$s and %4$s here.', Postman::TEXT_DOMAIN ), $this->getApplicationPortalUrl (), $this->getApplicationPortalName (), $this->getClientIdLabel (), $this->getClientSecretLabel (), $this->getCallbackUrlLabel (), $this->getOwnerName (), $this->getApplicationDescription () );
+ $text = sprintf ( '<b style="color:red">%s!</b> %s', $attention, $errorMessage );
+ /* translators: parameters available are 1=clientId-name, 2=service-name, 3=FAQ-URL, 4=Video-URL (e.g. See How do I get a Google Client ID? in the F.A.Q.) */
+ $howToTemplate = __ ( 'See <a href="%3$s" target="_new">How do I get a %1$s %2$s?</a> in the F.A.Q. or <a href="%4$s" target="_new">watch our How-To video 📺</a>.', Postman::TEXT_DOMAIN );
+ $text .= sprintf ( ' %s', sprintf ( $howToTemplate, $this->getOwnerName (), $this->getClientIdLabel (), 'https://wordpress.org/plugins/postman-smtp/faq/', 'https://vimeo.com/128589255' ) );
+ return $text;
+ }
+ function isOauthHost() {
+ return false;
+ }
+ function isGoogle() {
+ return false;
+ }
+ function isMicrosoft() {
+ return false;
+ }
+ function isYahoo() {
+ return false;
+ }
+ public function getRequestPermissionLinkText() {
+ /* translators: where %s is the Email Service Owner (e.g. Google, Microsoft or Yahoo) */
+ return sprintf ( _x ( 'Grant permission with %s', 'Command to initiate OAuth authentication', Postman::TEXT_DOMAIN ), $this->getOwnerName () );
+ }
+ }
+}
+if (! class_exists ( 'PostmanGoogleOAuthScribe' )) {
+ class PostmanGoogleOAuthScribe extends PostmanAbstractConfigTextHelper {
+ public function isGoogle() {
+ return true;
+ }
+ function isOauthHost() {
+ return true;
+ }
+ public function getCallbackUrl() {
+ // see https://codex.wordpress.org/Function_Reference/admin_url#Related
+ return admin_url ( 'options-general.php' ) . '?page=postman';
+ }
+ function getCallbackDomain() {
+ $urlParts = parse_url ( $this->getCallbackUrl () );
+ if (isset ( $urlParts ['scheme'] ) && isset ( $urlParts ['host'] )) {
+ return $urlParts ['scheme'] . "://" . $urlParts ['host'];
+ } else {
+ throw new Exception ();
+ }
+ }
+ public function getClientIdLabel() {
+ /* Translators: This description is specific to Google */
+ return _x ( 'Client ID', 'Name of the OAuth 2.0 Client ID', Postman::TEXT_DOMAIN );
+ }
+ public function getClientSecretLabel() {
+ /* Translators: This description is specific to Google */
+ return _x ( 'Client Secret', 'Name of the OAuth 2.0 Client Secret', Postman::TEXT_DOMAIN );
+ }
+ public function getCallbackUrlLabel() {
+ /* Translators: This description is specific to Google */
+ return _x ( 'Authorized redirect URI', 'Name of the Application Callback URI', Postman::TEXT_DOMAIN );
+ }
+ public function getCallbackDomainLabel() {
+ /* Translators: This description is specific to Google */
+ return _x ( 'Authorized JavaScript origins', 'Name of the Application Callback Domain', Postman::TEXT_DOMAIN );
+ }
+ public function getOwnerName() {
+ /* Translators: This description is specific to Google */
+ return _x ( 'Google', 'Name of the email service owner', Postman::TEXT_DOMAIN );
+ }
+ public function getServiceName() {
+ /* Translators: This description is specific to Google */
+ return _x ( 'Gmail', 'Name of the email service', Postman::TEXT_DOMAIN );
+ }
+ public function getApplicationDescription() {
+ /* Translators: This description is specific to Google */
+ return _x ( 'a Client ID for web application', 'Description of the email service OAuth 2.0 Application', Postman::TEXT_DOMAIN );
+ }
+ public function getApplicationPortalName() {
+ /* Translators: This description is specific to Google */
+ return _x ( 'Google Developers Console Gmail Wizard', 'Name of the email service portal', Postman::TEXT_DOMAIN );
+ }
+ public function getApplicationPortalUrl() {
+ return 'https://www.google.com/accounts/Logout?continue=https://console.developers.google.com/start/api?id=gmail';
+ }
+ public function getOAuthPort() {
+ return 465;
+ }
+ public function getEncryptionType() {
+ return PostmanOptions::SECURITY_TYPE_SMTPS;
+ }
+ }
+}
+if (! class_exists ( 'PostmanMicrosoftOAuthScribe' )) {
+ class PostmanMicrosoftOAuthScribe extends PostmanAbstractConfigTextHelper {
+ public function isMicrosoft() {
+ return true;
+ }
+ function isOauthHost() {
+ return true;
+ }
+ public function getCallbackUrl() {
+ return admin_url ( 'options-general.php' );
+ }
+ function getCallbackDomain() {
+ $urlParts = parse_url ( $this->getCallbackUrl () );
+ if (isset ( $urlParts ['host'] )) {
+ return $urlParts ['host'];
+ } else {
+ throw new Exception ();
+ }
+ }
+ public function getClientIdLabel() {
+ /* Translators: This description is specific to Microsoft */
+ return _x ( 'Client ID', 'Name of the OAuth 2.0 Client ID', Postman::TEXT_DOMAIN );
+ }
+ public function getClientSecretLabel() {
+ /* Translators: This description is specific to Microsoft */
+ return _x ( 'Client Secret', 'Name of the OAuth 2.0 Client Secret', Postman::TEXT_DOMAIN );
+ }
+ public function getCallbackUrlLabel() {
+ /* Translators: This description is specific to Microsoft */
+ return _x ( 'Redirect URL', 'Name of the Application Callback URI', Postman::TEXT_DOMAIN );
+ }
+ public function getCallbackDomainLabel() {
+ /* Translators: This description is specific to Microsoft */
+ return _x ( 'Root Domain', 'Name of the Application Callback Domain', Postman::TEXT_DOMAIN );
+ }
+ public function getOwnerName() {
+ /* Translators: This description is specific to Microsoft */
+ return _x ( 'Microsoft', 'Name of the email service owner', Postman::TEXT_DOMAIN );
+ }
+ public function getServiceName() {
+ /* Translators: This description is specific to Microsoft */
+ return _x ( 'Outlook.com', 'Name of the email service', Postman::TEXT_DOMAIN );
+ }
+ public function getApplicationDescription() {
+ /* Translators: This description is specific to Microsoft */
+ return _x ( 'an Application', 'Description of the email service OAuth 2.0 Application', Postman::TEXT_DOMAIN );
+ }
+ public function getApplicationPortalName() {
+ /* Translators: This description is specific to Microsoft */
+ return _x ( 'Microsoft Developer Center', 'Name of the email service portal', Postman::TEXT_DOMAIN );
+ }
+ public function getApplicationPortalUrl() {
+ return 'https://account.live.com/developers/applications/index';
+ }
+ public function getOAuthPort() {
+ return 587;
+ }
+ public function getEncryptionType() {
+ return PostmanOptions::SECURITY_TYPE_STARTTLS;
+ }
+ }
+}
+if (! class_exists ( 'PostmanYahooOAuthScribe' )) {
+ class PostmanYahooOAuthScribe extends PostmanAbstractConfigTextHelper {
+ public function isYahoo() {
+ return true;
+ }
+ function isOauthHost() {
+ return true;
+ }
+ public function getCallbackUrl() {
+ return admin_url ( 'options-general.php' ) . '?page=postman';
+ }
+ function getCallbackDomain() {
+ $urlParts = parse_url ( $this->getCallbackUrl () );
+ if (isset ( $urlParts ['host'] )) {
+ return $urlParts ['host'];
+ } else {
+ throw new Exception ();
+ }
+ }
+ public function getClientIdLabel() {
+ /* Translators: This description is specific to Yahoo */
+ return _x ( 'Client ID', 'Name of the OAuth 2.0 Client ID', Postman::TEXT_DOMAIN );
+ }
+ public function getClientSecretLabel() {
+ /* Translators: This description is specific to Yahoo */
+ return _x ( 'Client Secret', 'Name of the OAuth 2.0 Client Secret', Postman::TEXT_DOMAIN );
+ }
+ public function getCallbackUrlLabel() {
+ /* Translators: This description is specific to Yahoo */
+ return _x ( 'Home Page URL', 'Name of the Application Callback URI', Postman::TEXT_DOMAIN );
+ }
+ public function getCallbackDomainLabel() {
+ /* Translators: This description is specific to Yahoo */
+ return _x ( 'Callback Domain', 'Name of the Application Callback Domain', Postman::TEXT_DOMAIN );
+ }
+ public function getOwnerName() {
+ /* Translators: This description is specific to Yahoo */
+ return _x ( 'Yahoo', 'Name of the email service owner', Postman::TEXT_DOMAIN );
+ }
+ public function getServiceName() {
+ /* Translators: This description is specific to Yahoo */
+ return _x ( 'Yahoo Mail', 'Name of the email service', Postman::TEXT_DOMAIN );
+ }
+ public function getApplicationDescription() {
+ /* Translators: This description is specific to Yahoo */
+ return _x ( 'an Application', 'Description of the email service OAuth 2.0 Application', Postman::TEXT_DOMAIN );
+ }
+ public function getApplicationPortalName() {
+ /* Translators: This description is specific to Yahoo */
+ return _x ( 'Yahoo Developer Network', 'Name of the email service portal', Postman::TEXT_DOMAIN );
+ }
+ public function getApplicationPortalUrl() {
+ return 'https://developer.yahoo.com/apps/';
+ }
+ public function getOAuthPort() {
+ return 465;
+ }
+ public function getEncryptionType() {
+ return PostmanOptions::SECURITY_TYPE_SMTPS;
+ }
+ }
+}
+if (! class_exists ( 'PostmanNonOAuthScribe' )) {
+ class PostmanNonOAuthScribe extends PostmanAbstractConfigTextHelper {
+ protected $hostname;
+ public function __construct($hostname) {
+ $this->hostname = $hostname;
+ }
+ public function isGoogle() {
+ return PostmanUtils::endsWith ( $this->hostname, 'gmail.com' );
+ }
+ public function isMicrosoft() {
+ return PostmanUtils::endsWith ( $this->hostname, 'live.com' );
+ }
+ public function isYahoo() {
+ return PostmanUtils::endsWith ( $this->hostname, 'yahoo.com' );
+ }
+ public function getOAuthHelp() {
+ $text = __ ( 'Enter an Outgoing Mail Server with OAuth2 capabilities.', Postman::TEXT_DOMAIN );
+ return sprintf ( '<span style="color:red" class="normal">%s</span>', $text );
+ }
+ public function getCallbackUrl() {
+ return '';
+ }
+ function getCallbackDomain() {
+ return '';
+ }
+ public function getClientIdLabel() {
+ return _x ( 'Client ID', 'Name of the OAuth 2.0 Client ID', Postman::TEXT_DOMAIN );
+ }
+ public function getClientSecretLabel() {
+ return _x ( 'Client Secret', 'Name of the OAuth 2.0 Client Secret', Postman::TEXT_DOMAIN );
+ }
+ public function getCallbackUrlLabel() {
+ return _x ( 'Redirect URI', 'Name of the Application Callback URI', Postman::TEXT_DOMAIN );
+ }
+ public function getCallbackDomainLabel() {
+ return _x ( 'Website Domain', 'Name of the Application Callback Domain', Postman::TEXT_DOMAIN );
+ }
+ public function getOwnerName() {
+ return '';
+ }
+ public function getServiceName() {
+ return '';
+ }
+ public function getApplicationDescription() {
+ return '';
+ }
+ public function getApplicationPortalName() {
+ return '';
+ }
+ public function getApplicationPortalUrl() {
+ return '';
+ }
+ public function getOAuthPort() {
+ return '';
+ }
+ public function getEncryptionType() {
+ return '';
+ }
+ public function getRequestPermissionLinkText() {
+ return __ ( 'Grant OAuth 2.0 Permission', Postman::TEXT_DOMAIN );
+ }
+ }
+} \ No newline at end of file
diff --git a/Postman/PostmanInputSanitizer.php b/Postman/PostmanInputSanitizer.php
new file mode 100644
index 0000000..008b3c9
--- /dev/null
+++ b/Postman/PostmanInputSanitizer.php
@@ -0,0 +1,154 @@
+<?php
+if (! class_exists ( 'PostmanInputSanitizer' )) {
+ class PostmanInputSanitizer {
+ private $logger;
+ private $options;
+ const VALIDATION_SUCCESS = 'validation_success';
+ const VALIDATION_FAILED = 'validation_failed';
+ public function __construct() {
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ $this->options = PostmanOptions::getInstance();
+ }
+
+ /**
+ * Sanitize each setting field as needed
+ *
+ * @param array $input
+ * Contains all settings fields as array keys
+ */
+ public function sanitize($input) {
+ $this->logger->debug ( "Sanitizing data before storage" );
+
+ $new_input = array ();
+ $success = true;
+
+ $this->sanitizeString ( 'Encryption Type', PostmanOptions::SECURITY_TYPE, $input, $new_input );
+ $this->sanitizeString ( 'Hostname', PostmanOptions::HOSTNAME, $input, $new_input );
+ if (! empty ( $input [PostmanOptions::PORT] )) {
+ $port = absint ( $input [PostmanOptions::PORT] );
+ if ($port > 0) {
+ $this->sanitizeInt ( 'Port', PostmanOptions::PORT, $input, $new_input );
+ } else {
+ $new_input [PostmanOptions::PORT] = $this->options->getPort ();
+ add_settings_error ( PostmanOptions::PORT, PostmanOptions::PORT, 'Invalid TCP Port', 'error' );
+ $success = false;
+ }
+ }
+ // check the auth type AFTER the hostname because we reset the hostname if auth is bad
+ $this->sanitizeString ( 'From Email', PostmanOptions::MESSAGE_SENDER_EMAIL, $input, $new_input );
+ // the wizard doesn't set an envelope sender, so we'll default it to From Email
+ $new_input [PostmanOptions::ENVELOPE_SENDER] = $new_input [PostmanOptions::MESSAGE_SENDER_EMAIL];
+ $this->sanitizeString ( 'Sender Email', PostmanOptions::ENVELOPE_SENDER, $input, $new_input );
+ $this->sanitizeString ( 'Transport Type', PostmanOptions::TRANSPORT_TYPE, $input, $new_input );
+ $this->sanitizeString ( 'Authorization Type', PostmanOptions::AUTHENTICATION_TYPE, $input, $new_input );
+ $this->sanitizeString ( 'From Name', PostmanOptions::MESSAGE_SENDER_NAME, $input, $new_input );
+ $this->sanitizeString ( 'Client ID', PostmanOptions::CLIENT_ID, $input, $new_input );
+ $this->sanitizeString ( 'Client Secret', PostmanOptions::CLIENT_SECRET, $input, $new_input );
+ $this->sanitizeString ( 'Username', PostmanOptions::BASIC_AUTH_USERNAME, $input, $new_input );
+ $this->sanitizePassword ( 'Password', PostmanOptions::BASIC_AUTH_PASSWORD, $input, $new_input, $this->options->getPassword () );
+ $this->sanitizePassword ( 'Mandrill API Key', PostmanOptions::MANDRILL_API_KEY, $input, $new_input, $this->options->getMandrillApiKey () );
+ $this->sanitizePassword ( 'SendGrid API Key', PostmanOptions::SENDGRID_API_KEY, $input, $new_input, $this->options->getSendGridApiKey () );
+ $this->sanitizeString ( 'Reply-To', PostmanOptions::REPLY_TO, $input, $new_input );
+ $this->sanitizeString ( 'From Name Override', PostmanOptions::PREVENT_MESSAGE_SENDER_NAME_OVERRIDE, $input, $new_input );
+ $this->sanitizeString ( 'From Email Override', PostmanOptions::PREVENT_MESSAGE_SENDER_EMAIL_OVERRIDE, $input, $new_input );
+ $this->sanitizeString ( 'Disable Email Validation', PostmanOptions::DISABLE_EMAIL_VALIDAITON, $input, $new_input );
+ $this->sanitizeString ( 'Forced To Recipients', PostmanOptions::FORCED_TO_RECIPIENTS, $input, $new_input );
+ $this->sanitizeString ( 'Forced CC Recipients', PostmanOptions::FORCED_CC_RECIPIENTS, $input, $new_input );
+ $this->sanitizeString ( 'Forced BCC Recipients', PostmanOptions::FORCED_BCC_RECIPIENTS, $input, $new_input );
+ $this->sanitizeString ( 'Additional Headers', PostmanOptions::ADDITIONAL_HEADERS, $input, $new_input );
+ $this->sanitizeInt ( 'Read Timeout', PostmanOptions::READ_TIMEOUT, $input, $new_input );
+ $this->sanitizeInt ( 'Conenction Timeout', PostmanOptions::CONNECTION_TIMEOUT, $input, $new_input );
+ $this->sanitizeInt ( 'Log Level', PostmanOptions::LOG_LEVEL, $input, $new_input );
+ $this->sanitizeString ( 'Email Log Enabled', PostmanOptions::MAIL_LOG_ENABLED_OPTION, $input, $new_input );
+ $this->sanitizeLogMax ( 'Email Log Max Entries', PostmanOptions::MAIL_LOG_MAX_ENTRIES, $input, $new_input );
+ $this->sanitizeString ( 'Run Mode', PostmanOptions::RUN_MODE, $input, $new_input );
+ $this->sanitizeString ( 'Stealth Mode', PostmanOptions::STEALTH_MODE, $input, $new_input );
+ $this->sanitizeInt ( 'Transcript Size', PostmanOptions::TRANSCRIPT_SIZE, $input, $new_input );
+ $this->sanitizeString ( 'Temporary Directory', PostmanOptions::TEMPORARY_DIRECTORY, $input, $new_input );
+
+ if ($new_input [PostmanOptions::CLIENT_ID] != $this->options->getClientId () || $new_input [PostmanOptions::CLIENT_SECRET] != $this->options->getClientSecret () || $new_input [PostmanOptions::HOSTNAME] != $this->options->getHostname ()) {
+ $this->logger->debug ( "Recognized new Client ID" );
+ // the user entered a new client id and we should destroy the stored auth token
+ delete_option ( PostmanOAuthToken::OPTIONS_NAME );
+ }
+
+ // can we create a tmp file? - this code is duplicated in ActivationHandler
+ PostmanUtils::deleteLockFile ( $new_input [PostmanOptions::TEMPORARY_DIRECTORY] );
+ $lockSuccess = PostmanUtils::createLockFile ( $new_input [PostmanOptions::TEMPORARY_DIRECTORY] );
+ // &= does not work as expected in my PHP
+ $lockSuccess = $lockSuccess && PostmanUtils::deleteLockFile ( $new_input [PostmanOptions::TEMPORARY_DIRECTORY] );
+ $this->logger->debug ( 'FileLocking=' . $lockSuccess );
+ PostmanState::getInstance ()->setFileLockingEnabled ( $lockSuccess );
+
+ if ($success) {
+ PostmanSession::getInstance ()->setAction ( self::VALIDATION_SUCCESS );
+ } else {
+ PostmanSession::getInstance ()->setAction ( self::VALIDATION_FAILED );
+ }
+
+ return $new_input;
+ }
+ private function sanitizeString($desc, $key, $input, &$new_input) {
+ if (isset ( $input [$key] )) {
+ $this->logSanitize ( $desc, $input [$key] );
+ $new_input [$key] = trim ( $input [$key] );
+ }
+ }
+
+ /**
+ * Sanitize a Basic Auth password, and base64-encode it
+ *
+ * @param unknown $desc
+ * @param unknown $key
+ * @param unknown $input
+ * @param unknown $new_input
+ */
+ private function sanitizePassword($desc, $key, $input, &$new_input, $existingPassword) {
+ // WordPress calling Sanitize twice is a known issue
+ // https://core.trac.wordpress.org/ticket/21989
+ $action = PostmanSession::getInstance ()->getAction ();
+ // if $action is not empty, then sanitize has already run
+ if (! empty ( $action )) {
+ // use the already encoded password in the $input
+ $new_input [$key] = $input [$key];
+ // log it
+ $this->logger->debug ( 'Warning, second sanitizePassword attempt detected' );
+ } else if (isset ( $input [$key] )) {
+ if (strlen ( $input [$key] ) > 0 && preg_match ( '/^\**$/', $input [$key] )) {
+ // if the password is all stars, then keep the existing password
+ $new_input [$key] = $existingPassword;
+ } else {
+ // otherwise the password is new, so trim it
+ $new_input [$key] = trim ( $input [$key] );
+ }
+ // log it
+ $this->logSanitize ( $desc, $new_input [$key] );
+ // base-64 scramble password
+ $new_input [$key] = base64_encode ( $new_input [$key] );
+ }
+ $this->logger->debug ( sprintf ( 'Encoding %s as %s', $desc, $new_input [$key] ) );
+ }
+ private function sanitizeLogMax($desc, $key, $input, &$new_input) {
+ if (isset ( $input [$key] )) {
+ $value = absint ( $input [$key] );
+ if ($value <= 0) {
+ $new_input [$key] = PostmanOptions::getInstance ()->getMailLoggingMaxEntries ();
+ $h = new PostmanMessageHandler ();
+ $h->addError ( sprintf ( '%s %s', __ ( 'Maximum Log Entries', 'Configuration Input Field', Postman::TEXT_DOMAIN ), __ ( 'must be greater than 0', Postman::TEXT_DOMAIN ) ) );
+ } else {
+ $this->logSanitize ( $desc, $input [$key] );
+ $new_input [$key] = $value;
+ }
+ }
+ }
+ private function sanitizeInt($desc, $key, $input, &$new_input) {
+ if (isset ( $input [$key] )) {
+ $this->logSanitize ( $desc, $input [$key] );
+ $new_input [$key] = absint ( $input [$key] );
+ }
+ }
+ private function logSanitize($desc, $value) {
+ $this->logger->trace ( 'Sanitize ' . $desc . ' ' . $value );
+ }
+ }
+}
diff --git a/Postman/PostmanInstaller.php b/Postman/PostmanInstaller.php
new file mode 100644
index 0000000..170ccf1
--- /dev/null
+++ b/Postman/PostmanInstaller.php
@@ -0,0 +1,232 @@
+<?php
+require_once ('PostmanOAuthToken.php');
+require_once ('PostmanOptions.php');
+
+/**
+ * If required, database upgrades are made during activation
+ * ALL NAMES should be HARDCODED..
+ * NO external constants. They might change over time!
+ *
+ * @author jasonhendriks
+ */
+class PostmanInstaller {
+ private $logger;
+
+ /**
+ */
+ public function __construct() {
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ }
+
+ /**
+ * Handle activation of the plugin
+ */
+ public function activatePostman() {
+ if (function_exists ( 'is_multisite' ) && is_multisite ()) {
+ // handle network activation
+ // from https://wordpress.org/support/topic/new-function-wp_get_sites?replies=11
+
+ // run the activation function for each blog id
+ $old_blog = get_current_blog_id ();
+ // Get all blog ids
+ $subsites = wp_get_sites ();
+ foreach ( $subsites as $subsite ) {
+ $this->logger->trace ( 'multisite: switching to blog ' . $subsite ['blog_id'] );
+ switch_to_blog ( $subsite ['blog_id'] );
+ $this->handleOptionUpdates ();
+ $this->addCapability ();
+ }
+ switch_to_blog ( $old_blog );
+ } else {
+ // handle single-site activation
+ $this->handleOptionUpdates ();
+ $this->addCapability ();
+ }
+ }
+
+ /**
+ * Handle deactivation of the plugin
+ */
+ public function deactivatePostman() {
+ if (function_exists ( 'is_multisite' ) && is_multisite ()) {
+ // handle network deactivation
+ // from https://wordpress.org/support/topic/new-function-wp_get_sites?replies=11
+
+ // run the deactivation function for each blog id
+ $old_blog = get_current_blog_id ();
+ // Get all blog ids
+ $subsites = wp_get_sites ();
+ foreach ( $subsites as $subsite ) {
+ $this->logger->trace ( 'multisite: switching to blog ' . $subsite ['blog_id'] );
+ switch_to_blog ( $subsite ['blog_id'] );
+ $this->removeCapability ();
+ }
+ switch_to_blog ( $old_blog );
+ } else {
+ // handle single-site deactivation
+ $this->removeCapability ();
+ }
+ }
+
+ /**
+ * Add the capability to manage postman
+ */
+ public function addCapability() {
+ if ($this->logger->isDebug ()) {
+ $this->logger->debug ( 'Adding admin capability' );
+ }
+ // ref: https://codex.wordpress.org/Function_Reference/add_cap
+ // NB: This setting is saved to the database, so it might be better to run this on theme/plugin activation
+
+ // add the custom capability to the administrator role
+ $role = get_role ( Postman::ADMINISTRATOR_ROLE_NAME );
+ $role->add_cap ( Postman::MANAGE_POSTMAN_CAPABILITY_NAME );
+ }
+
+ /**
+ * Remove the capability to manage postman
+ */
+ public function removeCapability() {
+ if ($this->logger->isDebug ()) {
+ $this->logger->debug ( 'Removing admin capability' );
+ }
+ // ref: https://codex.wordpress.org/Function_Reference/add_cap
+ // NB: This setting is saved to the database, so it might be better to run this on theme/plugin activation
+
+ // remove the custom capability from the administrator role
+ $role = get_role ( Postman::ADMINISTRATOR_ROLE_NAME );
+ $role->remove_cap ( Postman::MANAGE_POSTMAN_CAPABILITY_NAME );
+ }
+
+ /**
+ * Handle activation of plugin
+ */
+ private function handleOptionUpdates() {
+ $this->logger->debug ( "Activating plugin" );
+ // prior to version 0.2.5, $authOptions did not exist
+ $authOptions = get_option ( 'postman_auth_token' );
+ $options = get_option ( 'postman_options' );
+ $postmanState = get_option ( 'postman_state' );
+ if (empty ( $authOptions ) && ! (empty ( $options )) && ! empty ( $options ['access_token'] )) {
+ $this->logger->debug ( "Upgrading database: copying Authorization token from postman_options to postman_auth_token" );
+ // copy the variables from $options to $authToken
+ $authOptions ['access_token'] = $options ['access_token'];
+ $authOptions ['refresh_token'] = $options ['refresh_token'];
+ // there was a bug where we weren't setting the expiry time
+ if (! empty ( $options ['auth_token_expires'] )) {
+ $authOptions ['auth_token_expires'] = $options ['auth_token_expires'];
+ }
+ update_option ( 'postman_auth_token', $authOptions );
+ }
+ if (! isset ( $options ['authorization_type'] ) && ! isset ( $options ['auth_type'] )) {
+ // prior to 1.0.0, access tokens were saved in authOptions without an auth type
+ // prior to 0.2.5, access tokens were save in options without an auth type
+ // either way, only oauth2 was supported
+ if (isset ( $authOptions ['access_token'] ) || isset ( $options ['access_token'] )) {
+ $this->logger->debug ( "Upgrading database: setting authorization_type to 'oauth2'" );
+ $options ['authorization_type'] = 'oauth2';
+ update_option ( 'postman_options', $options );
+ }
+ }
+ if (! isset ( $options ['enc_type'] )) {
+ // prior to 1.3, encryption type was combined with authentication type
+ if (isset ( $options ['authorization_type'] )) {
+ $this->logger->debug ( "Upgrading database: creating auth_type and enc_type from authorization_type" );
+ $authType = $options ['authorization_type'];
+ switch ($authType) {
+ case 'none' :
+ $options ['auth_type'] = 'none';
+ $options ['enc_type'] = 'none';
+ break;
+ case 'basic-ssl' :
+ $options ['auth_type'] = 'login';
+ $options ['enc_type'] = 'ssl';
+ break;
+ case 'basic-tls' :
+ $options ['auth_type'] = 'login';
+ $options ['enc_type'] = 'tls';
+ break;
+ case 'oauth2' :
+ $options ['auth_type'] = 'oauth2';
+ $options ['enc_type'] = 'ssl';
+ break;
+ default :
+ }
+ update_option ( 'postman_options', $options );
+ }
+ }
+ // prior to 1.3.3, the version identifier was not stored and the passwords were plaintext
+ if (isset ( $options ['enc_type'] ) && ! (isset ( $options ['version'] ) || isset ( $postmanState ['version'] ))) {
+ $this->logger->debug ( "Upgrading database: added plugin version and encoding password" );
+ $options ['version'] = '1.3.3';
+ if (isset ( $options ['basic_auth_password'] )) {
+ $options ['basic_auth_password'] = base64_encode ( $options ['basic_auth_password'] );
+ }
+ update_option ( 'postman_options', $options );
+ }
+ // prior to 1.4.2, the transport was not identified and the auth token had no vendor
+ if (isset ( $options ['auth_type'] ) && ! isset ( $options ['transport_type'] )) {
+ $this->logger->debug ( "Upgrading database: added transport_type and vendor_name" );
+ $options ['transport_type'] = 'smtp';
+ update_option ( 'postman_options', $options );
+ if (isset ( $authOptions ['access_token'] ) && isset ( $options ['oauth_client_id'] )) {
+ // if there is a stored token..
+ if (PostmanUtils::endsWith ( $options ['oauth_client_id'], 'googleusercontent.com' ))
+ $authOptions ['vendor_name'] = 'google';
+ else if (strlen ( $options ['oauth_client_id'] < strlen ( $options ['oauth_client_secret'] ) ))
+ $authOptions ['vendor_name'] = 'microsoft';
+ else
+ $authOptions ['vendor_name'] = 'yahoo';
+ update_option ( 'postman_auth_token', $authOptions );
+ }
+ }
+
+ // for version 1.6.18, the envelope from was introduced
+ if (! empty ( $options ['sender_email'] ) && empty ( $options ['envelope_sender'] )) {
+ $this->logger->debug ( "Upgrading database: adding envelope_sender" );
+ $options ['envelope_sender'] = $options ['sender_email'];
+ update_option ( 'postman_options', $options );
+ }
+
+ if (isset ( $postmanState ['version'] ) && version_compare ( $postmanState ['version'], '1.7.0', '<' )) {
+ if ($options ['mail_log_max_entries'] == 10) {
+ $options ['mail_log_max_entries'] = 250;
+ }
+ $postmanStats = get_option ( 'postman_stats' );
+ $stateCleared = false;
+ if (! isset ( $postmanState ['delivery_success_total'] ) && isset ( $postmanStats ['delivery_success_total'] )) {
+ $postmanState ['delivery_success_total'] = $postmanStats ['delivery_success_total'];
+ $stateCleared = true;
+ }
+ if (! isset ( $postmanState ['delivery_fail_total'] ) && isset ( $postmanStats ['delivery_fail_total'] )) {
+ $postmanState ['delivery_fail_total'] = $postmanStats ['delivery_fail_total'];
+ $stateCleared = true;
+ }
+ if ($stateCleared) {
+ delete_option ( 'postman_stats' );
+ }
+ }
+
+ // can we create a tmp file? - this code is duplicated in InputSanitizer
+ PostmanUtils::deleteLockFile ();
+ $lockSuccess = PostmanUtils::createLockFile ();
+ // &= does not work as expected in my PHP
+ $lockSuccess = $lockSuccess && PostmanUtils::deleteLockFile ();
+ $postmanState ['locking_enabled'] = $lockSuccess;
+
+ // always update the version number
+ if (! isset ( $postmanState ['install_date'] )) {
+ $this->logger->debug ( "Upgrading database: adding install_date" );
+ $postmanState ['install_date'] = time ();
+ }
+ $pluginData = apply_filters ( 'postman_get_plugin_metadata', null );
+ $postmanState ['version'] = $pluginData ['version'];
+ update_option ( 'postman_state', $postmanState );
+ //
+ delete_option ( 'postman_session' );
+
+ // reload options
+ PostmanState::getInstance ()->reload ();
+ PostmanOptions::getInstance ()->reload ();
+ }
+}
diff --git a/Postman/PostmanLogger.php b/Postman/PostmanLogger.php
new file mode 100644
index 0000000..e57960b
--- /dev/null
+++ b/Postman/PostmanLogger.php
@@ -0,0 +1,69 @@
+<?php
+if (! class_exists ( "PostmanLogger" )) {
+
+ //
+ class PostmanLogger {
+ const ALL_INT = - 2147483648;
+ const TRACE_INT = 5000;
+ const DEBUG_INT = 10000;
+ const ERROR_INT = 40000;
+ const FATAL_INT = 50000;
+ const INFO_INT = 20000;
+ const OFF_INT = 2147483647;
+ const WARN_INT = 30000;
+ private $name;
+ private $logLevel;
+ private $wpDebug;
+ function __construct($name) {
+ $this->name = $name;
+ $this->wpDebug = defined ( 'WP_DEBUG' );
+ if (class_exists ( 'PostmanOptions' )) {
+ $this->logLevel = PostmanOptions::getInstance ()->getLogLevel ();
+ } else {
+ $this->logLevel = self::OFF_INT;
+ }
+ }
+ function trace($text) {
+ $this->printLog ( $text, self::TRACE_INT, 'TRACE' );
+ }
+ function debug($text) {
+ $this->printLog ( $text, self::DEBUG_INT, 'DEBUG' );
+ }
+ function info($text) {
+ $this->printLog ( $text, self::INFO_INT, 'INFO' );
+ }
+ function warn($text) {
+ $this->printLog ( $text, self::WARN_INT, 'WARN' );
+ }
+ function error($text) {
+ $this->printLog ( $text, self::ERROR_INT, 'ERROR' );
+ }
+ function fatal($text) {
+ $this->printLog ( $text, self::FATAL_INT, 'FATAL' );
+ }
+ /**
+ * better logging thanks to http://www.smashingmagazine.com/2011/03/08/ten-things-every-wordpress-plugin-developer-should-know/
+ *
+ * @param unknown $intLogLevel
+ * @param unknown $logLevelName
+ */
+ private function printLog($text, $intLogLevel, $logLevelName) {
+ if ($this->wpDebug && $intLogLevel >= $this->logLevel) {
+ if (is_array ( $text ) || is_object ( $text )) {
+ error_log ( $logLevelName . ' ' . $this->name . ': ' . print_r ( $text, true ) );
+ } else {
+ error_log ( $logLevelName . ' ' . $this->name . ': ' . $text );
+ }
+ }
+ }
+ public function isDebug() {
+ return self::DEBUG_INT >= $this->logLevel;
+ }
+ public function isTrace() {
+ return self::TRACE_INT >= $this->logLevel;
+ }
+ public function isInfo() {
+ return self::INFO_INT >= $this->logLevel;
+ }
+ }
+}
diff --git a/Postman/PostmanMessageHandler.php b/Postman/PostmanMessageHandler.php
new file mode 100644
index 0000000..e592369
--- /dev/null
+++ b/Postman/PostmanMessageHandler.php
@@ -0,0 +1,112 @@
+<?php
+if (! class_exists ( 'PostmanMessageHandler' )) {
+
+ require_once ('PostmanSession.php');
+ class PostmanMessageHandler {
+
+ // The Session variables that carry messages
+ const ERROR_CLASS = 'error';
+ const WARNING_CLASS = 'update-nag';
+ const SUCCESS_CLASS = 'updated';
+ private $logger;
+
+ /**
+ *
+ * @param unknown $options
+ */
+ function __construct() {
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+
+ // we'll let the 'init' functions run first; some of them may end the request
+ add_action ( 'admin_notices', Array (
+ $this,
+ 'displayAllMessages'
+ ) );
+ }
+
+ /**
+ *
+ * @param unknown $message
+ */
+ public function addError($message) {
+ $this->storeMessage ( $message, 'error' );
+ }
+ /**
+ *
+ * @param unknown $message
+ */
+ public function addWarning($message) {
+ $this->storeMessage ( $message, 'warning' );
+ }
+ /**
+ *
+ * @param unknown $message
+ */
+ public function addMessage($message) {
+ $this->storeMessage ( $message, 'notify' );
+ }
+
+ /**
+ * store messages for display later
+ *
+ * @param unknown $message
+ * @param unknown $type
+ */
+ private function storeMessage($message, $type) {
+ $messageArray = array ();
+ $oldMessageArray = PostmanSession::getInstance ()->getMessage ();
+ if ($oldMessageArray) {
+ $messageArray = $oldMessageArray;
+ }
+ $weGotIt = false;
+ foreach ( $messageArray as $storedMessage ) {
+ if ($storedMessage ['message'] === $message) {
+ $weGotIt = true;
+ }
+ }
+ if (! $weGotIt) {
+ $m = array (
+ 'type' => $type,
+ 'message' => $message
+ );
+ array_push ( $messageArray, $m );
+ PostmanSession::getInstance ()->setMessage ( $messageArray );
+ }
+ }
+ /**
+ * Retrieve the messages and show them
+ */
+ public function displayAllMessages() {
+ $messageArray = PostmanSession::getInstance ()->getMessage ();
+ if ($messageArray) {
+ PostmanSession::getInstance ()->unsetMessage ();
+ foreach ( $messageArray as $m ) {
+ $type = $m ['type'];
+ switch ($type) {
+ case 'error' :
+ $className = self::ERROR_CLASS;
+ break;
+ case 'warning' :
+ $className = self::WARNING_CLASS;
+ break;
+ default :
+ $className = self::SUCCESS_CLASS;
+ break;
+ }
+ $message = $m ['message'];
+ $this->printMessage ( $message, $className );
+ }
+ }
+ }
+
+ /**
+ * putput message
+ *
+ * @param unknown $message
+ * @param unknown $className
+ */
+ public function printMessage($message, $className) {
+ printf ( '<div class="%s"><p>%s</p></div>', $className, $message );
+ }
+ }
+}
diff --git a/Postman/PostmanOAuthToken.php b/Postman/PostmanOAuthToken.php
new file mode 100644
index 0000000..1f4de78
--- /dev/null
+++ b/Postman/PostmanOAuthToken.php
@@ -0,0 +1,86 @@
+<?php
+if (! class_exists ( 'PostmanOAuthToken.php' )) {
+
+ class PostmanOAuthToken {
+ const OPTIONS_NAME = 'postman_auth_token';
+ //
+ const REFRESH_TOKEN = 'refresh_token';
+ const EXPIRY_TIME = 'auth_token_expires';
+ const ACCESS_TOKEN = 'access_token';
+ const VENDOR_NAME = 'vendor_name';
+ //
+ private $vendorName;
+ private $accessToken;
+ private $refreshToken;
+ private $expiryTime;
+
+ // singleton instance
+ public static function getInstance() {
+ static $inst = null;
+ if ($inst === null) {
+ $inst = new PostmanOAuthToken ();
+ }
+ return $inst;
+ }
+
+ // private constructor
+ private function __construct() {
+ $this->load ();
+ }
+
+ /**
+ * Is there a valid access token and refresh token
+ */
+ public function isValid() {
+ $accessToken = $this->getAccessToken ();
+ $refreshToken = $this->getRefreshToken ();
+ return ! (empty ( $accessToken ) || empty ( $refreshToken ));
+ }
+
+ /**
+ * Load the Postman OAuth token properties to the database
+ */
+ private function load() {
+ $a = get_option ( PostmanOAuthToken::OPTIONS_NAME );
+ $this->setAccessToken ( $a [PostmanOAuthToken::ACCESS_TOKEN] );
+ $this->setRefreshToken ( $a [PostmanOAuthToken::REFRESH_TOKEN] );
+ $this->setExpiryTime ( $a [PostmanOAuthToken::EXPIRY_TIME] );
+ $this->setVendorName ( $a [PostmanOAuthToken::VENDOR_NAME] );
+ }
+
+ /**
+ * Save the Postman OAuth token properties to the database
+ */
+ public function save() {
+ $a [PostmanOAuthToken::ACCESS_TOKEN] = $this->getAccessToken ();
+ $a [PostmanOAuthToken::REFRESH_TOKEN] = $this->getRefreshToken ();
+ $a [PostmanOAuthToken::EXPIRY_TIME] = $this->getExpiryTime ();
+ $a [PostmanOAuthToken::VENDOR_NAME] = $this->getVendorName ();
+ update_option ( PostmanOAuthToken::OPTIONS_NAME, $a );
+ }
+ public function getVendorName() {
+ return $this->vendorName;
+ }
+ public function getExpiryTime() {
+ return $this->expiryTime;
+ }
+ public function getAccessToken() {
+ return $this->accessToken;
+ }
+ public function getRefreshToken() {
+ return $this->refreshToken;
+ }
+ public function setVendorName($name) {
+ $this->vendorName = sanitize_text_field ( $name );
+ }
+ public function setExpiryTime($time) {
+ $this->expiryTime = sanitize_text_field ( $time );
+ }
+ public function setAccessToken($token) {
+ $this->accessToken = sanitize_text_field ( $token );
+ }
+ public function setRefreshToken($token) {
+ $this->refreshToken = sanitize_text_field ( $token );
+ }
+ }
+} \ No newline at end of file
diff --git a/Postman/PostmanOptions.php b/Postman/PostmanOptions.php
new file mode 100644
index 0000000..863ce0d
--- /dev/null
+++ b/Postman/PostmanOptions.php
@@ -0,0 +1,430 @@
+<?php
+if (! interface_exists ( "PostmanOptionsInterface" )) {
+ interface PostmanOptionsInterface {
+ /**
+ * I'm stuck with these methods because of Gmail API Extension
+ */
+ public function save();
+ public function isNew();
+ public function getLogLevel();
+ public function getHostname();
+ public function getPort();
+ public function getMessageSenderEmail();
+ public function getMessageSenderName();
+ public function getClientId();
+ public function getClientSecret();
+ public function getTransportType();
+ public function getAuthenticationType();
+ public function getEncryptionType();
+ public function getUsername();
+ public function getPassword();
+ public function getReplyTo();
+ public function getConnectionTimeout();
+ public function getReadTimeout();
+ public function isSenderNameOverridePrevented();
+ public function isAuthTypePassword();
+ public function isAuthTypeOAuth2();
+ public function isAuthTypeLogin();
+ public function isAuthTypePlain();
+ public function isAuthTypeCrammd5();
+ public function isAuthTypeNone();
+
+ /**
+ *
+ * @deprecated
+ *
+ */
+ public function getSenderEmail();
+ /**
+ *
+ * @deprecated
+ *
+ */
+ public function getSenderName();
+ }
+}
+
+if (! class_exists ( "PostmanOptions" )) {
+
+ /**
+ * http://stackoverflow.com/questions/23880928/use-oauth-refresh-token-to-obtain-new-access-token-google-api
+ * http://pastebin.com/jA9sBNTk
+ *
+ * Make sure these emails are permitted (see http://en.wikipedia.org/wiki/E-mail_address#Internationalization):
+ */
+ class PostmanOptions implements PostmanOptionsInterface {
+
+ // the option database name
+ const POSTMAN_OPTIONS = 'postman_options';
+
+ // the options fields
+ const VERSION = 'version';
+ const ENVELOPE_SENDER = 'envelope_sender';
+ const MESSAGE_SENDER_EMAIL = 'sender_email';
+ const MESSAGE_SENDER_NAME = 'sender_name';
+ const REPLY_TO = 'reply_to';
+ const FORCED_TO_RECIPIENTS = 'forced_to';
+ const FORCED_CC_RECIPIENTS = 'forced_cc';
+ const FORCED_BCC_RECIPIENTS = 'forced_bcc';
+ const ADDITIONAL_HEADERS = 'headers';
+ const TEST_EMAIL = 'test_email';
+ const HOSTNAME = 'hostname';
+ const PORT = 'port';
+ const TRANSPORT_TYPE = 'transport_type';
+ const AUTHENTICATION_TYPE = 'auth_type';
+ const AUTHENTICATION_TYPE_NONE = 'none';
+ const AUTHENTICATION_TYPE_PLAIN = 'plain';
+ const AUTHENTICATION_TYPE_LOGIN = 'login';
+ const AUTHENTICATION_TYPE_CRAMMD5 = 'crammd5';
+ const AUTHENTICATION_TYPE_OAUTH2 = 'oauth2';
+ const SECURITY_TYPE = 'enc_type';
+ const SECURITY_TYPE_NONE = 'none';
+ const SECURITY_TYPE_SMTPS = 'ssl';
+ const SECURITY_TYPE_STARTTLS = 'tls';
+ const CLIENT_ID = 'oauth_client_id';
+ const CLIENT_SECRET = 'oauth_client_secret';
+ const BASIC_AUTH_USERNAME = 'basic_auth_username';
+ const BASIC_AUTH_PASSWORD = 'basic_auth_password';
+ const MANDRILL_API_KEY = 'mandrill_api_key';
+ const SENDGRID_API_KEY = 'sendgrid_api_key';
+ const PREVENT_MESSAGE_SENDER_NAME_OVERRIDE = 'prevent_sender_name_override';
+ const PREVENT_MESSAGE_SENDER_EMAIL_OVERRIDE = 'prevent_sender_email_override';
+ const CONNECTION_TIMEOUT = 'connection_timeout';
+ const READ_TIMEOUT = 'read_timeout';
+ const LOG_LEVEL = 'log_level';
+ const RUN_MODE = 'run_mode';
+ const RUN_MODE_PRODUCTION = 'production';
+ const RUN_MODE_LOG_ONLY = 'log_only';
+ const RUN_MODE_IGNORE = 'ignore';
+ const MAIL_LOG_ENABLED_OPTION = 'mail_log_enabled';
+ const MAIL_LOG_ENABLED_OPTION_YES = 'true';
+ const MAIL_LOG_ENABLED_OPTION_NO = 'false';
+ const MAIL_LOG_MAX_ENTRIES = 'mail_log_max_entries';
+ const STEALTH_MODE = 'stealth_mode';
+ const TRANSCRIPT_SIZE = 'transcript_size';
+ const TEMPORARY_DIRECTORY = 'tmp_dir';
+ const DISABLE_EMAIL_VALIDAITON = 'disable_email_validation';
+
+ // defaults
+ const DEFAULT_TRANSCRIPT_SIZE = 128;
+ const DEFAULT_STEALTH_MODE = false;
+ const DEFAULT_RUN_MODE = self::RUN_MODE_PRODUCTION;
+ const DEFAULT_MAIL_LOG_ENABLED = self::MAIL_LOG_ENABLED_OPTION_YES;
+ const DEFAULT_MAIL_LOG_ENTRIES = 250;
+ const DEFAULT_LOG_LEVEL = PostmanLogger::ERROR_INT;
+ const DEFAULT_TRANSPORT_TYPE = 'smtp'; // must match what's in PostmanSmtpModuleTransport
+ const DEFAULT_TCP_READ_TIMEOUT = 60;
+ const DEFAULT_TCP_CONNECTION_TIMEOUT = 10;
+ const DEFAULT_PLUGIN_MESSAGE_SENDER_NAME_ENFORCED = false;
+ const DEFAULT_PLUGIN_MESSAGE_SENDER_EMAIL_ENFORCED = false;
+ const DEFAULT_TEMP_DIRECTORY = '/tmp';
+
+ // options data
+ private $options;
+
+ // singleton instance
+ public static function getInstance() {
+ static $inst = null;
+ if ($inst === null) {
+ $inst = new PostmanOptions ();
+ }
+ return $inst;
+ }
+
+ /**
+ * private constructor
+ */
+ private function __construct() {
+ $this->load ();
+ }
+ //
+ public function save() {
+ update_option ( PostmanOptions::POSTMAN_OPTIONS, $this->options );
+ }
+ public function reload() {
+ $this->load ();
+ }
+ private function load() {
+ $this->options = get_option ( PostmanOptions::POSTMAN_OPTIONS );
+ }
+ public function isNew() {
+ return ! isset ( $this->options [PostmanOptions::TRANSPORT_TYPE] );
+ }
+ public function isMailLoggingEnabled() {
+ $allowed = $this->isMailLoggingAllowed ();
+ $enabled = $this->getMailLoggingEnabled () == self::MAIL_LOG_ENABLED_OPTION_YES;
+ return $allowed && $enabled;
+ }
+ public function getTempDirectory() {
+ if (isset ( $this->options [self::TEMPORARY_DIRECTORY] ))
+ return $this->options [self::TEMPORARY_DIRECTORY];
+ else
+ return self::DEFAULT_TEMP_DIRECTORY;
+ }
+ public function isMailLoggingAllowed() {
+ return true;
+ }
+ public function isStealthModeEnabled() {
+ if (isset ( $this->options [PostmanOptions::STEALTH_MODE] ))
+ return $this->options [PostmanOptions::STEALTH_MODE];
+ else
+ return self::DEFAULT_STEALTH_MODE;
+ }
+ public function getMailLoggingEnabled() {
+ if (isset ( $this->options [PostmanOptions::MAIL_LOG_ENABLED_OPTION] ))
+ return $this->options [PostmanOptions::MAIL_LOG_ENABLED_OPTION];
+ else
+ return self::DEFAULT_MAIL_LOG_ENABLED;
+ }
+ public function getRunMode() {
+ if (isset ( $this->options [self::RUN_MODE] ))
+ return $this->options [self::RUN_MODE];
+ else
+ return self::DEFAULT_RUN_MODE;
+ }
+ public function getMailLoggingMaxEntries() {
+ if (isset ( $this->options [PostmanOptions::MAIL_LOG_MAX_ENTRIES] ))
+ return $this->options [PostmanOptions::MAIL_LOG_MAX_ENTRIES];
+ else
+ return self::DEFAULT_MAIL_LOG_ENTRIES;
+ }
+ public function getTranscriptSize() {
+ if (isset ( $this->options [PostmanOptions::TRANSCRIPT_SIZE] ))
+ return $this->options [PostmanOptions::TRANSCRIPT_SIZE];
+ else
+ return self::DEFAULT_TRANSCRIPT_SIZE;
+ }
+ public function getLogLevel() {
+ if (isset ( $this->options [PostmanOptions::LOG_LEVEL] ))
+ return $this->options [PostmanOptions::LOG_LEVEL];
+ else
+ return self::DEFAULT_LOG_LEVEL;
+ }
+ public function getForcedToRecipients() {
+ if (isset ( $this->options [self::FORCED_TO_RECIPIENTS] ))
+ return $this->options [self::FORCED_TO_RECIPIENTS];
+ }
+ public function getForcedCcRecipients() {
+ if (isset ( $this->options [self::FORCED_CC_RECIPIENTS] ))
+ return $this->options [self::FORCED_CC_RECIPIENTS];
+ }
+ public function getForcedBccRecipients() {
+ if (isset ( $this->options [self::FORCED_BCC_RECIPIENTS] ))
+ return $this->options [self::FORCED_BCC_RECIPIENTS];
+ }
+ public function getAdditionalHeaders() {
+ if (isset ( $this->options [self::ADDITIONAL_HEADERS] ))
+ return $this->options [self::ADDITIONAL_HEADERS];
+ }
+ //
+ public function getHostname() {
+ if (isset ( $this->options [PostmanOptions::HOSTNAME] ))
+ return $this->options [PostmanOptions::HOSTNAME];
+ }
+ public function getPort() {
+ if (isset ( $this->options [PostmanOptions::PORT] ))
+ return $this->options [PostmanOptions::PORT];
+ }
+ public function getEnvelopeSender() {
+ if (isset ( $this->options [PostmanOptions::ENVELOPE_SENDER] ))
+ return $this->options [PostmanOptions::ENVELOPE_SENDER];
+ }
+ public function getMessageSenderEmail() {
+ if (isset ( $this->options [PostmanOptions::MESSAGE_SENDER_EMAIL] ))
+ return $this->options [PostmanOptions::MESSAGE_SENDER_EMAIL];
+ }
+ public function getMessageSenderName() {
+ if (isset ( $this->options [PostmanOptions::MESSAGE_SENDER_NAME] ))
+ return $this->options [PostmanOptions::MESSAGE_SENDER_NAME];
+ }
+ public function getClientId() {
+ if (isset ( $this->options [PostmanOptions::CLIENT_ID] ))
+ return $this->options [PostmanOptions::CLIENT_ID];
+ }
+ public function getClientSecret() {
+ if (isset ( $this->options [PostmanOptions::CLIENT_SECRET] ))
+ return $this->options [PostmanOptions::CLIENT_SECRET];
+ }
+ public function getTransportType() {
+ if (isset ( $this->options [PostmanOptions::TRANSPORT_TYPE] ))
+ return $this->options [PostmanOptions::TRANSPORT_TYPE];
+ }
+ public function getAuthenticationType() {
+ if (isset ( $this->options [PostmanOptions::AUTHENTICATION_TYPE] ))
+ return $this->options [PostmanOptions::AUTHENTICATION_TYPE];
+ }
+ public function getEncryptionType() {
+ if (isset ( $this->options [PostmanOptions::SECURITY_TYPE] ))
+ return $this->options [PostmanOptions::SECURITY_TYPE];
+ }
+ public function getUsername() {
+ if (isset ( $this->options [PostmanOptions::BASIC_AUTH_USERNAME] ))
+ return $this->options [PostmanOptions::BASIC_AUTH_USERNAME];
+ }
+ public function getPassword() {
+ if (isset ( $this->options [PostmanOptions::BASIC_AUTH_PASSWORD] ))
+ return base64_decode ( $this->options [PostmanOptions::BASIC_AUTH_PASSWORD] );
+ }
+ public function getMandrillApiKey() {
+ if (isset ( $this->options [PostmanOptions::MANDRILL_API_KEY] ))
+ return base64_decode ( $this->options [PostmanOptions::MANDRILL_API_KEY] );
+ }
+ public function getSendGridApiKey() {
+ if (isset ( $this->options [PostmanOptions::SENDGRID_API_KEY] ))
+ return base64_decode ( $this->options [PostmanOptions::SENDGRID_API_KEY] );
+ }
+ public function getReplyTo() {
+ if (isset ( $this->options [PostmanOptions::REPLY_TO] ))
+ return $this->options [PostmanOptions::REPLY_TO];
+ }
+ public function getConnectionTimeout() {
+ if (! empty ( $this->options [self::CONNECTION_TIMEOUT] ))
+ return $this->options [self::CONNECTION_TIMEOUT];
+ else
+ return self::DEFAULT_TCP_CONNECTION_TIMEOUT;
+ }
+ public function getReadTimeout() {
+ if (! empty ( $this->options [self::READ_TIMEOUT] ))
+ return $this->options [self::READ_TIMEOUT];
+ else
+ return self::DEFAULT_TCP_READ_TIMEOUT;
+ }
+ public function isPluginSenderNameEnforced() {
+ if ($this->isNew ())
+ return self::DEFAULT_PLUGIN_MESSAGE_SENDER_NAME_ENFORCED;
+ if (isset ( $this->options [PostmanOptions::PREVENT_MESSAGE_SENDER_NAME_OVERRIDE] ))
+ return $this->options [PostmanOptions::PREVENT_MESSAGE_SENDER_NAME_OVERRIDE];
+ }
+ public function isEmailValidationDisabled() {
+ if (isset ( $this->options [PostmanOptions::DISABLE_EMAIL_VALIDAITON] ))
+ return $this->options [PostmanOptions::DISABLE_EMAIL_VALIDAITON];
+ }
+ /**
+ * (non-PHPdoc)
+ *
+ * @see PostmanOptions::isSenderNameOverridePrevented()
+ * @deprecated by isPluginSenderNameEnforced
+ */
+ public function isSenderNameOverridePrevented() {
+ return $this->isPluginSenderEmailEnforced ();
+ }
+ public function isPluginSenderEmailEnforced() {
+ if ($this->isNew ())
+ return self::DEFAULT_PLUGIN_MESSAGE_SENDER_EMAIL_ENFORCED;
+ if (isset ( $this->options [PostmanOptions::PREVENT_MESSAGE_SENDER_EMAIL_OVERRIDE] ))
+ return $this->options [PostmanOptions::PREVENT_MESSAGE_SENDER_EMAIL_OVERRIDE];
+ }
+ /**
+ *
+ * @deprecated by isPluginSenderEmailEnforced
+ */
+ public function isSenderEmailOverridePrevented() {
+ return $this->isPluginSenderEmailEnforced ();
+ }
+ private function setSenderEmail($senderEmail) {
+ $this->options [PostmanOptions::MESSAGE_SENDER_EMAIL] = $senderEmail;
+ }
+ public function setMessageSenderEmailIfEmpty($senderEmail) {
+ if (empty ( $this->options [PostmanOptions::MESSAGE_SENDER_EMAIL] )) {
+ $this->setSenderEmail ( $senderEmail );
+ }
+ }
+ private function setSenderName($senderName) {
+ $this->options [PostmanOptions::MESSAGE_SENDER_NAME] = $senderName;
+ }
+ public function setMessageSenderNameIfEmpty($senderName) {
+ if (empty ( $this->options [PostmanOptions::MESSAGE_SENDER_NAME] )) {
+ $this->setSenderName ( $senderName );
+ }
+ }
+ public function isAuthTypePassword() {
+ return $this->isAuthTypeLogin () || $this->isAuthTypeCrammd5 () || $this->isAuthTypePlain ();
+ }
+ public function isAuthTypeOAuth2() {
+ return PostmanOptions::AUTHENTICATION_TYPE_OAUTH2 == $this->getAuthenticationType ();
+ }
+ public function isAuthTypeLogin() {
+ return PostmanOptions::AUTHENTICATION_TYPE_LOGIN == $this->getAuthenticationType ();
+ }
+ public function isAuthTypePlain() {
+ return PostmanOptions::AUTHENTICATION_TYPE_PLAIN == $this->getAuthenticationType ();
+ }
+ public function isAuthTypeCrammd5() {
+ return PostmanOptions::AUTHENTICATION_TYPE_CRAMMD5 == $this->getAuthenticationType ();
+ }
+ public function isAuthTypeNone() {
+ return PostmanOptions::AUTHENTICATION_TYPE_NONE == $this->getAuthenticationType ();
+ }
+ /**
+ *
+ * @deprecated Required by the Postman Gmail Extension
+ *
+ * @see PostmanOptionsInterface::getSenderEmail()
+ */
+ public function getSenderEmail() {
+ return $this->getMessageSenderEmail ();
+ }
+ /**
+ *
+ * @deprecated Required by the Postman Gmail Extension
+ *
+ * @see PostmanOptionsInterface::getSenderEmail()
+ */
+ public function getSenderName() {
+ return $this->getMessageNameEmail ();
+ }
+
+ /**
+ *
+ * @return string
+ */
+ public function export() {
+ if (PostmanPreRequisitesCheck::checkZlibEncode ()) {
+ $data = $this->options;
+ $data ['version'] = PostmanState::getInstance ()->getVersion ();
+ foreach ( PostmanTransportRegistry::getInstance ()->getTransports () as $transport ) {
+ $data = $transport->prepareOptionsForExport ( $data );
+ }
+ $data = base64_encode ( gzcompress ( json_encode ( $data ), 9 ) );
+ return $data;
+ }
+ }
+
+ /**
+ *
+ * @param unknown $data
+ */
+ public function import($data) {
+ if (PostmanPreRequisitesCheck::checkZlibEncode ()) {
+ $logger = new PostmanLogger ( get_class ( $this ) );
+ $logger->debug ( 'Importing Settings' );
+ $base64 = $data;
+ $logger->trace ( $base64 );
+ $gz = base64_decode ( $base64 );
+ $logger->trace ( $gz );
+ $json = @gzuncompress ( $gz );
+ $logger->trace ( $json );
+ if (! empty ( $json )) {
+ $data = json_decode ( $json, true );
+ $logger->trace ( $data );
+ {
+ // overwrite the current version with the version from the imported options
+ // this way database upgrading can occur
+ $postmanState = get_option ( 'postman_state' );
+ $postmanState ['version'] = $data ['version'];
+ $logger->trace ( sprintf ( 'Setting Postman version to %s', $postmanState ['version'] ) );
+ assert ( $postmanState ['version'] == $data ['version'] );
+ update_option ( 'postman_state', $postmanState );
+ }
+ $this->options = $data;
+ $logger->info ( 'Imported data' );
+ $this->save ();
+ return true;
+ } else {
+ $logger->error ( 'Could not import data - data error' );
+ return false;
+ }
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/Postman/PostmanPreRequisitesCheck.php b/Postman/PostmanPreRequisitesCheck.php
new file mode 100644
index 0000000..884ecdf
--- /dev/null
+++ b/Postman/PostmanPreRequisitesCheck.php
@@ -0,0 +1,84 @@
+<?php
+if (! class_exists ( 'PostmanPreRequisitesCheck' )) {
+ class PostmanPreRequisitesCheck {
+ public static function checkIconv() {
+ return function_exists ( 'iconv' );
+ }
+ public static function checkSpl() {
+ return function_exists ( 'spl_autoload_register' );
+ }
+ public static function checkZlibEncode() {
+ return extension_loaded ( "zlib" ) && function_exists ( 'gzcompress' ) && function_exists ( 'gzuncompress' );
+ }
+ public static function checkOpenSsl() {
+ // apparently curl can use ssl libraries in the OS, and doesn't need ssl in PHP
+ return extension_loaded ( 'openssl' ) || extension_loaded ( 'php_openssl' );
+ }
+ public static function checkSockets() {
+ return extension_loaded ( 'sockets' ) || extension_loaded ( 'php_sockets' );
+ }
+ public static function checkAllowUrlFopen() {
+ return filter_var ( ini_get ( 'allow_url_fopen' ), FILTER_VALIDATE_BOOLEAN );
+ }
+ public static function checkMcrypt() {
+ return function_exists ( 'mcrypt_get_iv_size' ) && function_exists ( 'mcrypt_create_iv' ) && function_exists ( 'mcrypt_encrypt' ) && function_exists ( 'mcrypt_decrypt' );
+ }
+ /**
+ * Return an array of state:
+ * [n][name=>x,ready=>true|false,required=true|false]
+ */
+ public static function getState() {
+ $state = array ();
+ array_push ( $state, array (
+ 'name' => 'iconv',
+ 'ready' => self::checkIconv (),
+ 'required' => true
+ ) );
+ array_push ( $state, array (
+ 'name' => 'spl_autoload',
+ 'ready' => self::checkSpl (),
+ 'required' => true
+ ) );
+ array_push ( $state, array (
+ 'name' => 'openssl',
+ 'ready' => self::checkOpenSsl (),
+ 'required' => false
+ ) );
+ array_push ( $state, array (
+ 'name' => 'sockets',
+ 'ready' => self::checkSockets (),
+ 'required' => false
+ ) );
+ array_push ( $state, array (
+ 'name' => 'allow_url_fopen',
+ 'ready' => self::checkAllowUrlFopen (),
+ 'required' => false
+ ) );
+ array_push ( $state, array (
+ 'name' => 'mcrypt',
+ 'ready' => self::checkMcrypt (),
+ 'required' => false
+ ) );
+ array_push ( $state, array (
+ 'name' => 'zlib_encode',
+ 'ready' => self::checkZlibEncode (),
+ 'required' => false
+ ) );
+ return $state;
+ }
+ /**
+ *
+ * @return boolean
+ */
+ public static function isReady() {
+ $states = self::getState ();
+ foreach ( $states as $state ) {
+ if ($state ['ready'] == false && $state ['required'] == true) {
+ return false;
+ }
+ }
+
+ return true;
+ }
+ }
+} \ No newline at end of file
diff --git a/Postman/PostmanSession.php b/Postman/PostmanSession.php
new file mode 100644
index 0000000..115c852
--- /dev/null
+++ b/Postman/PostmanSession.php
@@ -0,0 +1,92 @@
+<?php
+if (! class_exists ( 'PostmanSession' )) {
+
+ /**
+ * Persist session state to the database
+ *
+ * I heard plugins are forbidden from writing to the http session
+ * on some hosts, such as WPEngine, so this class write session
+ * state to the database instead.
+ *
+ * What's better about this is I don't have to prefix all my
+ * variables with , in fear of colliding with another
+ * plugin's similiarily named variables.
+ *
+ * @author jasonhendriks
+ *
+ */
+ class PostmanSession {
+ // length of time to keep items around
+ const MINUTES_IN_SECONDS = 60;
+
+ //
+ const OAUTH_IN_PROGRESS = 'oauth_in_progress';
+ const ACTION = 'action';
+ const ERROR_MESSAGE = 'error_message';
+
+ // singleton instance
+ public static function getInstance() {
+ static $inst = null;
+ if ($inst === null) {
+ $inst = new PostmanSession ();
+ }
+ return $inst;
+ }
+
+ /**
+ * OAuth is in progress $state is the randomly generated
+ * transaction ID
+ *
+ * @param unknown $state
+ */
+ public function isSetOauthInProgress() {
+ return get_transient ( self::OAUTH_IN_PROGRESS ) != false;
+ }
+ public function setOauthInProgress($state) {
+ set_transient ( self::OAUTH_IN_PROGRESS, $state, 3 * self::MINUTES_IN_SECONDS );
+ }
+ public function getOauthInProgress() {
+ return get_transient ( self::OAUTH_IN_PROGRESS );
+ }
+ public function unsetOauthInProgress() {
+ delete_transient ( self::OAUTH_IN_PROGRESS );
+ }
+
+ /**
+ * Sometimes I need to keep track of what I'm doing between requests
+ *
+ * @param unknown $action
+ */
+ public function isSetAction() {
+ return get_transient ( self::ACTION ) != false;
+ }
+ public function setAction($action) {
+ set_transient ( self::ACTION, $action, 30 * self::MINUTES_IN_SECONDS );
+ }
+ public function getAction() {
+ return get_transient ( self::ACTION );
+ }
+ public function unsetAction() {
+ delete_transient ( self::ACTION );
+ }
+
+ /**
+ * Sometimes I need to keep track of what I'm doing between requests
+ *
+ * @param unknown $message
+ */
+ public function isSetErrorMessage() {
+ return get_transient ( self::ERROR_MESSAGE ) != false;
+ }
+ public function setMessage($message) {
+ set_transient ( self::ERROR_MESSAGE, $message, 30 * self::MINUTES_IN_SECONDS );
+ }
+ public function getMessage() {
+ return get_transient ( self::ERROR_MESSAGE );
+ }
+ public function unsetMessage() {
+ delete_transient ( self::ERROR_MESSAGE );
+ }
+
+ }
+} \ No newline at end of file
diff --git a/Postman/PostmanState.php b/Postman/PostmanState.php
new file mode 100644
index 0000000..ac251fa
--- /dev/null
+++ b/Postman/PostmanState.php
@@ -0,0 +1,110 @@
+<?php
+if (! class_exists ( "PostmanState" )) {
+
+ /**
+ * http://stackoverflow.com/questions/23880928/use-oauth-refresh-token-to-obtain-new-access-token-google-api
+ * http://pastebin.com/jA9sBNTk
+ *
+ * Make sure these emails are permitted (see http://en.wikipedia.org/wiki/E-mail_address#Internationalization):
+ */
+ class PostmanState {
+
+ private $logger;
+
+ // the option database name
+ const SLUG = 'postman_state';
+ const TOO_LONG_SEC = 2592000; // 30 days
+
+ // the options fields
+ const VERSION = 'version';
+ const INSTALL_DATE = 'install_date';
+ const FILE_LOCKING_ENABLED = 'locking_enabled';
+ const DELIVERY_SUCCESS_TOTAL = 'delivery_success_total';
+ const DELIVERY_FAILURE_TOTAL = 'delivery_fail_total';
+
+ // options data
+ private $options;
+
+ // singleton instance
+ public static function getInstance() {
+ static $inst = null;
+ if ($inst === null) {
+ $inst = new PostmanState ();
+ }
+ return $inst;
+ }
+
+ /**
+ * private constructor
+ */
+ private function __construct() {
+ $this->logger = new PostmanLogger(get_class($this));
+ $this->load();
+ }
+ //
+ public function save() {
+ update_option ( self::SLUG, $this->options );
+ }
+ public function reload() {
+ $this->load ();
+ }
+ private function load() {
+ $this->options = get_option ( self::SLUG );
+ }
+ /**
+ * Shows the review feature of Postman up to thirty days after install
+ *
+ * @return boolean
+ */
+ public function isTimeToReviewPostman() {
+ if (! empty ( $this->options [self::INSTALL_DATE] )) {
+ $successful = PostmanState::getInstance ()->getSuccessfulDeliveries () > 0;
+ $maxTime = $this->options [self::INSTALL_DATE] + self::TOO_LONG_SEC;
+ return $successful && time () <= $maxTime;
+ }
+ }
+ public function isFileLockingEnabled() {
+ if (isset ( $this->options [self::FILE_LOCKING_ENABLED] ))
+ return $this->options [self::FILE_LOCKING_ENABLED];
+ else
+ return false;
+ }
+ public function setFileLockingEnabled($enabled) {
+ $this->options [self::FILE_LOCKING_ENABLED] = $enabled;
+ $this->save ();
+ }
+ public function getVersion() {
+ if (! empty ( $this->options [self::VERSION] )) {
+ return $this->options [self::VERSION];
+ }
+ }
+ function getSuccessfulDeliveries() {
+ if (isset ( $this->options [PostmanState::DELIVERY_SUCCESS_TOTAL] ))
+ return $this->options [PostmanState::DELIVERY_SUCCESS_TOTAL];
+ else
+ return 0;
+ }
+ function setSuccessfulDelivery($total) {
+ $this->options [PostmanState::DELIVERY_SUCCESS_TOTAL] = $total;
+ }
+ function incrementSuccessfulDelivery() {
+ $this->setSuccessfulDelivery ( $this->getSuccessfulDeliveries () + 1 );
+ $this->logger->debug ( 'incrementing success count: ' . $this->getSuccessfulDeliveries () );
+ $this->save ();
+ }
+ function getFailedDeliveries() {
+ if (isset ( $this->options [PostmanState::DELIVERY_FAILURE_TOTAL] ))
+ return $this->options [PostmanState::DELIVERY_FAILURE_TOTAL];
+ else
+ return 0;
+ }
+ function setFailedDelivery($total) {
+ $this->options [PostmanState::DELIVERY_FAILURE_TOTAL] = $total;
+ }
+ function incrementFailedDelivery() {
+ $this->setFailedDelivery ( $this->getFailedDeliveries () + 1 );
+ $this->logger->debug ( 'incrementing failure count: ' . $this->getFailedDeliveries () );
+ $this->save ();
+ }
+ }
+} \ No newline at end of file
diff --git a/Postman/PostmanUtils.php b/Postman/PostmanUtils.php
new file mode 100644
index 0000000..77e681f
--- /dev/null
+++ b/Postman/PostmanUtils.php
@@ -0,0 +1,462 @@
+<?php
+require_once 'PostmanLogger.php';
+require_once 'PostmanState.php';
+
+/**
+ *
+ * @author jasonhendriks
+ *
+ */
+class PostmanUtils {
+ private static $logger;
+ private static $emailValidator;
+
+ //
+ const POSTMAN_SETTINGS_PAGE_STUB = 'postman';
+ const REQUEST_OAUTH2_GRANT_SLUG = 'postman/requestOauthGrant';
+ const POSTMAN_EMAIL_LOG_PAGE_STUB = 'postman_email_log';
+
+ // redirections back to THIS SITE should always be relative because of IIS bug
+ const POSTMAN_EMAIL_LOG_PAGE_RELATIVE_URL = 'tools.php?page=postman_email_log';
+ const POSTMAN_HOME_PAGE_RELATIVE_URL = 'options-general.php?page=postman';
+
+ // custom admin post page
+ const ADMIN_POST_OAUTH2_GRANT_URL_PART = 'admin-post.php?action=postman/requestOauthGrant';
+
+ //
+ const NO_ECHO = false;
+
+ /**
+ * Initialize the Logger
+ */
+ public static function staticInit() {
+ PostmanUtils::$logger = new PostmanLogger ( 'PostmanUtils' );
+ }
+
+ /**
+ *
+ * @param unknown $slug
+ * @return string
+ */
+ public static function getPageUrl($slug) {
+ return get_admin_url () . 'options-general.php?page=' . $slug;
+ }
+
+ /**
+ * Returns an escaped URL
+ */
+ public static function getGrantOAuthPermissionUrl() {
+ return get_admin_url () . self::ADMIN_POST_OAUTH2_GRANT_URL_PART;
+ }
+
+ /**
+ * Returns an escaped URL
+ */
+ public static function getEmailLogPageUrl() {
+ return menu_page_url ( self::POSTMAN_EMAIL_LOG_PAGE_STUB, self::NO_ECHO );
+ }
+
+ /**
+ * Returns an escaped URL
+ */
+ public static function getSettingsPageUrl() {
+ return menu_page_url ( self::POSTMAN_SETTINGS_PAGE_STUB, self::NO_ECHO );
+ }
+
+ //
+ public static function isCurrentPagePostmanAdmin($page = 'postman') {
+ $result = (isset ( $_REQUEST ['page'] ) && substr ( $_REQUEST ['page'], 0, strlen ( $page ) ) == $page);
+ return $result;
+ }
+ /**
+ * from http://stackoverflow.com/questions/834303/startswith-and-endswith-functions-in-php
+ *
+ * @param unknown $haystack
+ * @param unknown $needle
+ * @return boolean
+ */
+ public static function startsWith($haystack, $needle) {
+ $length = strlen ( $needle );
+ return (substr ( $haystack, 0, $length ) === $needle);
+ }
+ /**
+ * from http://stackoverflow.com/questions/834303/startswith-and-endswith-functions-in-php
+ *
+ * @param unknown $haystack
+ * @param unknown $needle
+ * @return boolean
+ */
+ public static function endsWith($haystack, $needle) {
+ $length = strlen ( $needle );
+ if ($length == 0) {
+ return true;
+ }
+ return (substr ( $haystack, - $length ) === $needle);
+ }
+ public static function obfuscatePassword($password) {
+ return str_repeat ( '*', strlen ( $password ) );
+ }
+ /**
+ * Detect if the host is NOT a domain name
+ *
+ * @param unknown $ipAddress
+ * @return number
+ */
+ public static function isHostAddressNotADomainName($host) {
+ // IPv4 / IPv6 test from http://stackoverflow.com/a/17871737/4368109
+ $ipv6Detected = preg_match ( '/(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))/', $host );
+ $ipv4Detected = preg_match ( '/((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])/', $host );
+ return $ipv4Detected || $ipv6Detected;
+ // from http://stackoverflow.com/questions/106179/regular-expression-to-match-dns-hostname-or-ip-address
+ // return preg_match ( '/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9‌​]{2}|2[0-4][0-9]|25[0-5])$/', $ipAddress );
+ }
+ /**
+ * Makes the outgoing HTTP requests
+ * Inside WordPress we can use wp_remote_post().
+ * Outside WordPress, not so much.
+ *
+ * @param unknown $url
+ * @param unknown $args
+ * @return the HTML body
+ */
+ static function remotePostGetBodyOnly($url, $parameters, array $headers = array()) {
+ $response = PostmanUtils::remotePost ( $url, $parameters, $headers );
+ $theBody = wp_remote_retrieve_body ( $response );
+ return $theBody;
+ }
+
+ /**
+ * Makes the outgoing HTTP requests
+ * Inside WordPress we can use wp_remote_post().
+ * Outside WordPress, not so much.
+ *
+ * @param unknown $url
+ * @param unknown $args
+ * @return the HTTP response
+ */
+ static function remotePost($url, $parameters = array(), array $headers = array()) {
+ $args = array (
+ 'timeout' => PostmanOptions::getInstance ()->getConnectionTimeout (),
+ 'headers' => $headers,
+ 'body' => $parameters
+ );
+ if (PostmanUtils::$logger->isTrace ()) {
+ PostmanUtils::$logger->trace ( sprintf ( 'Posting to %s', $url ) );
+ PostmanUtils::$logger->trace ( 'Post header:' );
+ PostmanUtils::$logger->trace ( $headers );
+ PostmanUtils::$logger->trace ( 'Posting args:' );
+ PostmanUtils::$logger->trace ( $parameters );
+ }
+ $response = wp_remote_post ( $url, $args );
+
+ // pre-process the response
+ if (is_wp_error ( $response )) {
+ PostmanUtils::$logger->error ( $response->get_error_message () );
+ throw new Exception ( 'Error executing wp_remote_post: ' . $response->get_error_message () );
+ } else {
+ return $response;
+ }
+ }
+ /**
+ * A facade function that handles redirects.
+ * Inside WordPress we can use wp_redirect(). Outside WordPress, not so much. **Load it before postman-core.php**
+ *
+ * @param unknown $url
+ */
+ static function redirect($url) {
+ // redirections back to THIS SITE should always be relative because of IIS bug
+ if (PostmanUtils::$logger->isTrace ()) {
+ PostmanUtils::$logger->trace ( sprintf ( "Redirecting to '%s'", $url ) );
+ }
+ wp_redirect ( $url );
+ exit ();
+ }
+ static function parseBoolean($var) {
+ return filter_var ( $var, FILTER_VALIDATE_BOOLEAN );
+ }
+ static function logMemoryUse($startingMemory, $description) {
+ PostmanUtils::$logger->trace ( sprintf ( $description . ' memory used: %s', PostmanUtils::roundBytes ( memory_get_usage () - $startingMemory ) ) );
+ }
+
+ /**
+ * Rounds the bytes returned from memory_get_usage to smaller amounts used IEC binary prefixes
+ * See http://en.wikipedia.org/wiki/Binary_prefix
+ *
+ * @param unknown $size
+ * @return string
+ */
+ static function roundBytes($size) {
+ $unit = array (
+ 'B',
+ 'KiB',
+ 'MiB',
+ 'GiB',
+ 'TiB',
+ 'PiB'
+ );
+ return @round ( $size / pow ( 1024, ($i = floor ( log ( $size, 1024 ) )) ), 2 ) . ' ' . $unit [$i];
+ }
+
+ /**
+ * Unblock threads waiting on lock()
+ */
+ static function unlock() {
+ if (PostmanState::getInstance ()->isFileLockingEnabled ()) {
+ PostmanUtils::deleteLockFile ();
+ }
+ }
+
+ /**
+ * Processes will block on this method until unlock() is called
+ * Inspired by http://cubicspot.blogspot.ca/2010/10/forget-flock-and-system-v-semaphores.html
+ *
+ * @throws Exception
+ */
+ static function lock() {
+ if (PostmanState::getInstance ()->isFileLockingEnabled ()) {
+ $attempts = 0;
+ while ( true ) {
+ // create the semaphore
+ $lock = PostmanUtils::createLockFile ();
+ if ($lock) {
+ // if we got the lock, return
+ return;
+ } else {
+ $attempts ++;
+ if ($attempts >= 10) {
+ throw new Exception ( sprintf ( 'Could not create lockfile %s', '/tmp' . '/.postman.lock' ) );
+ }
+ sleep ( 1 );
+ }
+ }
+ }
+ }
+ static function deleteLockFile($tempDirectory = null) {
+ $path = PostmanUtils::calculateTemporaryLockPath ( $tempDirectory );
+ $success = @unlink ( $path );
+ if (PostmanUtils::$logger->isTrace ()) {
+ PostmanUtils::$logger->trace ( sprintf ( 'Deleting file %s : %s', $path, $success ) );
+ }
+ return $success;
+ }
+ static function createLockFile($tempDirectory = null) {
+ $path = PostmanUtils::calculateTemporaryLockPath ( $tempDirectory );
+ $success = @fopen ( $path, 'xb' );
+ if (PostmanUtils::$logger->isTrace ()) {
+ PostmanUtils::$logger->trace ( sprintf ( 'Creating file %s : %s', $path, $success ) );
+ }
+ return $success;
+ }
+
+ /**
+ * Creates the pathname of the lockfile
+ *
+ * @param unknown $tempDirectory
+ * @return string
+ */
+ private static function calculateTemporaryLockPath($tempDirectory) {
+ if (empty ( $tempDirectory )) {
+ $options = PostmanOptions::getInstance ();
+ $tempDirectory = $options->getTempDirectory ();
+ }
+ $fullPath = sprintf ( '%s/.postman_%s.lock', $tempDirectory, self::generateUniqueLockKey () );
+ return $fullPath;
+ }
+
+ /**
+ *
+ * @return string
+ */
+ private static function generateUniqueLockKey() {
+ // for single sites, use the network_site_url to generate the key because
+ // it is unique for every wordpress site unlike the blog ID which may be the same
+ $key = hash ( 'crc32', network_site_url ( '/' ) );
+ // TODO for multisites
+ // if the subsite is sharing the config - use the network_site_url of site 0
+ // if the subsite has its own config - use the network_site_url of the subsite
+ return $key;
+ }
+
+ /**
+ * From http://stackoverflow.com/a/381275/4368109
+ *
+ * @param unknown $text
+ * @return boolean
+ */
+ public static function isEmpty($text) {
+ // Function for basic field validation (present and neither empty nor only white space
+ return (! isset ( $text ) || trim ( $text ) === '');
+ }
+
+ /**
+ * Warning! This can only be called on hook 'init' or later
+ */
+ public static function isAdmin() {
+ /**
+ * is_admin() will return false when trying to access wp-login.php.
+ * is_admin() will return true when trying to make an ajax request.
+ * is_admin() will return true for calls to load-scripts.php and load-styles.php.
+ * is_admin() is not intended to be used for security checks. It will return true
+ * whenever the current URL is for a page on the admin side of WordPress. It does
+ * not check if the user is logged in, nor if the user even has access to the page
+ * being requested. It is a convenience function for plugins and themes to use for
+ * various purposes, but it is not suitable for validating secured requests.
+ *
+ * Good to know.
+ */
+ $logger = PostmanUtils::$logger = new PostmanLogger ( 'PostmanUtils' );
+ if ($logger->isTrace ()) {
+ $logger->trace ( 'calling current_user_can' );
+ }
+ return current_user_can ( Postman::MANAGE_POSTMAN_CAPABILITY_NAME ) && is_admin ();
+ }
+
+ /**
+ * Validate an e-mail address
+ *
+ * @param unknown $email
+ * @return number
+ */
+ static function validateEmail($email) {
+ if (PostmanOptions::getInstance ()->isEmailValidationDisabled ()) {
+ return true;
+ }
+ require_once 'Postman-Mail/Zend-1.12.10/Exception.php';
+ require_once 'Postman-Mail/Zend-1.12.10/Registry.php';
+ require_once 'Postman-Mail/Zend-1.12.10/Validate/Exception.php';
+ require_once 'Postman-Mail/Zend-1.12.10/Validate/Interface.php';
+ require_once 'Postman-Mail/Zend-1.12.10/Validate/Abstract.php';
+ require_once 'Postman-Mail/Zend-1.12.10/Validate/Ip.php';
+ require_once 'Postman-Mail/Zend-1.12.10/Validate/Hostname.php';
+ require_once 'Postman-Mail/Zend-1.12.10/Validate/EmailAddress.php';
+ if (! isset ( PostmanUtils::$emailValidator )) {
+ PostmanUtils::$emailValidator = new Postman_Zend_Validate_EmailAddress ();
+ }
+ return PostmanUtils::$emailValidator->isValid ( $email );
+ }
+
+ /**
+ * From http://stackoverflow.com/questions/13430120/str-getcsv-alternative-for-older-php-version-gives-me-an-empty-array-at-the-e
+ *
+ * @param unknown $string
+ * @return multitype:
+ */
+ static function postman_strgetcsv_impl($string) {
+ $fh = fopen ( 'php://temp', 'r+' );
+ fwrite ( $fh, $string );
+ rewind ( $fh );
+
+ $row = fgetcsv ( $fh );
+
+ fclose ( $fh );
+ return $row;
+ }
+
+ /**
+ *
+ * @return Ambigous <string, unknown>
+ */
+ static function postmanGetServerName() {
+ if (! empty ( $_SERVER ['SERVER_NAME'] )) {
+ $serverName = $_SERVER ['SERVER_NAME'];
+ } else if (! empty ( $_SERVER ['HTTP_HOST'] )) {
+ $serverName = $_SERVER ['HTTP_HOST'];
+ } else {
+ $serverName = 'localhost.localdomain';
+ }
+ return $serverName;
+ }
+
+ /**
+ * Does this hostname belong to Google?
+ *
+ * @param unknown $hostname
+ * @return boolean
+ */
+ static function isGoogle($hostname) {
+ return PostmanUtils::endsWith ( $hostname, 'gmail.com' ) || PostmanUtils::endsWith ( $hostname, 'googleapis.com' );
+ }
+
+ /**
+ *
+ * @param unknown $actionName
+ * @param unknown $callbackName
+ */
+ public static function registerAdminMenu($viewController, $callbackName) {
+ $logger = PostmanUtils::$logger;
+ if ($logger->isTrace ()) {
+ $logger->trace ( 'Registering admin menu ' . $callbackName );
+ }
+ add_action ( 'admin_menu', array (
+ $viewController,
+ $callbackName
+ ) );
+ }
+
+ /**
+ *
+ * @param unknown $actionName
+ * @param unknown $callbackName
+ */
+ public static function registerAjaxHandler($actionName, $class, $callbackName) {
+ if (is_admin ()) {
+ $fullname = 'wp_ajax_' . $actionName;
+ // $this->logger->debug ( 'Registering ' . 'wp_ajax_' . $fullname . ' Ajax handler' );
+ add_action ( $fullname, array (
+ $class,
+ $callbackName
+ ) );
+ }
+ }
+
+ /**
+ *
+ * @param unknown $parameterName
+ * @return mixed
+ */
+ public static function getBooleanRequestParameter($parameterName) {
+ return filter_var ( $this->getRequestParameter ( $parameterName ), FILTER_VALIDATE_BOOLEAN );
+ }
+
+ /**
+ *
+ * @param unknown $parameterName
+ * @return unknown
+ */
+ public static function getRequestParameter($parameterName) {
+ $logger = PostmanUtils::$logger;
+ if (isset ( $_POST [$parameterName] )) {
+ $value = filter_var( $_POST [$parameterName], FILTER_SANITIZE_STRING );
+ if ($logger->isTrace ()) {
+ $logger->trace ( sprintf ( 'Found parameter "%s"', $parameterName ) );
+ $logger->trace ( $value );
+ }
+ return $value;
+ }
+ }
+
+ public static function getServerIp() {
+ $ip = $_SERVER['SERVER_ADDR'];
+ $serverIp = filter_var( $ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 );
+
+ if ( ! $serverIp ) {
+ $serverIp = self::get_external_ip();
+ }
+
+ return $serverIp;
+ }
+
+ private static function get_external_ip() {
+ $ch = curl_init("https://postmansmtp.com/ip.php");
+ curl_setopt($ch, CURLOPT_HEADER, FALSE);
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
+ $result = curl_exec($ch);
+ curl_close($ch);
+ if ($result === FALSE) {
+ return "ERROR";
+ } else {
+ return trim($result);
+ }
+ }
+}
+PostmanUtils::staticInit ();
diff --git a/Postman/PostmanViewController.php b/Postman/PostmanViewController.php
new file mode 100644
index 0000000..55d7f2c
--- /dev/null
+++ b/Postman/PostmanViewController.php
@@ -0,0 +1,302 @@
+<?php
+if (! class_exists ( 'PostmanViewController' )) {
+ class PostmanViewController {
+ private $logger;
+ private $rootPluginFilenameAndPath;
+ private $options;
+ private $authorizationToken;
+ private $oauthScribe;
+ private $importableConfiguration;
+ private $adminController;
+ const POSTMAN_MENU_SLUG = 'postman';
+
+ // style sheets and scripts
+ const POSTMAN_STYLE = 'postman_style';
+ const JQUERY_SCRIPT = 'jquery';
+ const POSTMAN_SCRIPT = 'postman_script';
+
+ //
+ const BACK_ARROW_SYMBOL = '&#11013;';
+
+ /**
+ * Constructor
+ *
+ * @param PostmanOptions $options
+ * @param PostmanOAuthToken $authorizationToken
+ * @param PostmanConfigTextHelper $oauthScribe
+ */
+ function __construct($rootPluginFilenameAndPath, PostmanOptions $options, PostmanOAuthToken $authorizationToken, PostmanConfigTextHelper $oauthScribe, PostmanAdminController $adminController) {
+ $this->options = $options;
+ $this->rootPluginFilenameAndPath = $rootPluginFilenameAndPath;
+ $this->authorizationToken = $authorizationToken;
+ $this->oauthScribe = $oauthScribe;
+ $this->adminController = $adminController;
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ PostmanUtils::registerAdminMenu ( $this, 'generateDefaultContent' );
+ PostmanUtils::registerAdminMenu ( $this, 'addPurgeDataSubmenu' );
+
+ // initialize the scripts, stylesheets and form fields
+ add_action ( 'admin_init', array (
+ $this,
+ 'registerStylesAndScripts'
+ ), 0 );
+ }
+ public static function getPageUrl($slug) {
+ return PostmanUtils::getPageUrl ( $slug );
+ }
+
+ /**
+ * Add options page
+ */
+ public function generateDefaultContent() {
+ // This page will be under "Settings"
+ $pageTitle = sprintf ( __ ( '%s Setup', Postman::TEXT_DOMAIN ), __ ( 'Postman SMTP', Postman::TEXT_DOMAIN ) );
+ $pluginName = __ ( 'Postman SMTP', Postman::TEXT_DOMAIN );
+ $uniqueId = self::POSTMAN_MENU_SLUG;
+ $pageOptions = array (
+ $this,
+ 'outputDefaultContent'
+ );
+ $mainPostmanSettingsPage = add_options_page ( $pageTitle, $pluginName, Postman::MANAGE_POSTMAN_CAPABILITY_NAME, $uniqueId, $pageOptions );
+ // When the plugin options page is loaded, also load the stylesheet
+ add_action ( 'admin_print_styles-' . $mainPostmanSettingsPage, array (
+ $this,
+ 'enqueueHomeScreenStylesheet'
+ ) );
+ }
+ function enqueueHomeScreenStylesheet() {
+ wp_enqueue_style ( PostmanViewController::POSTMAN_STYLE );
+ wp_enqueue_script ( 'postman_script' );
+ }
+
+ /**
+ * Register the Email Test screen
+ */
+ public function addPurgeDataSubmenu() {
+ $page = add_submenu_page ( null, sprintf ( __ ( '%s Setup', Postman::TEXT_DOMAIN ), __ ( 'Postman SMTP', Postman::TEXT_DOMAIN ) ), __ ( 'Postman SMTP', Postman::TEXT_DOMAIN ), Postman::MANAGE_POSTMAN_CAPABILITY_NAME, PostmanAdminController::MANAGE_OPTIONS_PAGE_SLUG, array (
+ $this,
+ 'outputPurgeDataContent'
+ ) );
+ // When the plugin options page is loaded, also load the stylesheet
+ add_action ( 'admin_print_styles-' . $page, array (
+ $this,
+ 'enqueueHomeScreenStylesheet'
+ ) );
+ }
+
+ /**
+ * Register and add settings
+ */
+ public function registerStylesAndScripts() {
+ if ($this->logger->isTrace ()) {
+ $this->logger->trace ( 'registerStylesAndScripts()' );
+ }
+ // register the stylesheet and javascript external resources
+ $pluginData = apply_filters ( 'postman_get_plugin_metadata', null );
+ wp_register_style ( PostmanViewController::POSTMAN_STYLE, plugins_url ( 'style/postman.css', $this->rootPluginFilenameAndPath ), null, $pluginData ['version'] );
+ wp_register_style ( 'jquery_ui_style', plugins_url ( 'style/jquery-steps/jquery-ui.css', $this->rootPluginFilenameAndPath ), PostmanViewController::POSTMAN_STYLE, '1.1.0' );
+ wp_register_style ( 'jquery_steps_style', plugins_url ( 'style/jquery-steps/jquery.steps.css', $this->rootPluginFilenameAndPath ), PostmanViewController::POSTMAN_STYLE, '1.1.0' );
+
+ wp_register_script ( PostmanViewController::POSTMAN_SCRIPT, plugins_url ( 'script/postman.js', $this->rootPluginFilenameAndPath ), array (
+ PostmanViewController::JQUERY_SCRIPT
+ ), $pluginData ['version'] );
+ wp_register_script ( 'sprintf', plugins_url ( 'script/sprintf/sprintf.min.js', $this->rootPluginFilenameAndPath ), null, '1.0.2' );
+ wp_register_script ( 'jquery_steps_script', plugins_url ( 'script/jquery-steps/jquery.steps.min.js', $this->rootPluginFilenameAndPath ), array (
+ PostmanViewController::JQUERY_SCRIPT
+ ), '1.1.0' );
+ wp_register_script ( 'jquery_validation', plugins_url ( 'script/jquery-validate/jquery.validate.min.js', $this->rootPluginFilenameAndPath ), array (
+ PostmanViewController::JQUERY_SCRIPT
+ ), '1.13.1' );
+
+ wp_localize_script ( PostmanViewController::POSTMAN_SCRIPT, 'postman_ajax_msg', array (
+ 'bad_response' => __ ( 'An unexpected error occurred', Postman::TEXT_DOMAIN ),
+ 'corrupt_response' => __ ( 'Unexpected PHP messages corrupted the Ajax response', Postman::TEXT_DOMAIN )
+ ) );
+
+ wp_localize_script ( 'jquery_steps_script', 'steps_current_step', 'steps_current_step' );
+ wp_localize_script ( 'jquery_steps_script', 'steps_pagination', 'steps_pagination' );
+ wp_localize_script ( 'jquery_steps_script', 'steps_finish', _x ( 'Finish', 'Press this button to Finish this task', Postman::TEXT_DOMAIN ) );
+ wp_localize_script ( 'jquery_steps_script', 'steps_next', _x ( 'Next', 'Press this button to go to the next step', Postman::TEXT_DOMAIN ) );
+ wp_localize_script ( 'jquery_steps_script', 'steps_previous', _x ( 'Previous', 'Press this button to go to the previous step', Postman::TEXT_DOMAIN ) );
+ wp_localize_script ( 'jquery_steps_script', 'steps_loading', 'steps_loading' );
+ }
+
+ /**
+ * Options page callback
+ */
+ public function outputDefaultContent() {
+ // Set class property
+ print '<div class="wrap">';
+ $this->displayTopNavigation ();
+ if (! PostmanPreRequisitesCheck::isReady ()) {
+ printf ( '<p><span style="color:red; padding:2px 0; font-size:1.1em">%s</span></p>', __ ( 'Postman is unable to run. Email delivery is being handled by WordPress (or another plugin).', Postman::TEXT_DOMAIN ) );
+ } else {
+ $statusMessage = PostmanTransportRegistry::getInstance ()->getReadyMessage ();
+ if (PostmanTransportRegistry::getInstance ()->getActiveTransport ()->isConfiguredAndReady ()) {
+ if ($this->options->getRunMode () != PostmanOptions::RUN_MODE_PRODUCTION) {
+ printf ( '<p><span style="background-color:yellow">%s</span></p>', $statusMessage );
+ } else {
+ printf ( '<p><span style="color:green;padding:2px 0; font-size:1.1em">%s</span></p>', $statusMessage );
+ }
+ } else {
+ printf ( '<p><span style="color:red; padding:2px 0; font-size:1.1em">%s</span></p>', $statusMessage );
+ }
+ $this->printDeliveryDetails ();
+ /* translators: where %d is the number of emails delivered */
+ print '<p style="margin:10px 10px"><span>';
+ printf ( _n ( 'Postman has delivered <span style="color:green">%d</span> email.', 'Postman has delivered <span style="color:green">%d</span> emails.', PostmanState::getInstance ()->getSuccessfulDeliveries (), Postman::TEXT_DOMAIN ), PostmanState::getInstance ()->getSuccessfulDeliveries () );
+ if ($this->options->isMailLoggingEnabled ()) {
+ print ' ';
+ printf ( __ ( 'The last %d email attempts are recorded <a href="%s">in the log</a>.', Postman::TEXT_DOMAIN ), PostmanOptions::getInstance ()->getMailLoggingMaxEntries (), PostmanUtils::getEmailLogPageUrl () );
+ }
+ print '</span></p>';
+ }
+ if ($this->options->isNew ()) {
+ printf ( '<h3 style="padding-top:10px">%s</h3>', __ ( 'Thank-you for choosing Postman!', Postman::TEXT_DOMAIN ) );
+ /* translators: where %s is the URL of the Setup Wizard */
+ printf ( '<p><span>%s</span></p>', sprintf ( __ ( 'Let\'s get started! All users are strongly encouraged to <a href="%s">run the Setup Wizard</a>.', Postman::TEXT_DOMAIN ), $this->getPageUrl ( PostmanConfigurationController::CONFIGURATION_WIZARD_SLUG ) ) );
+ printf ( '<p><span>%s</span></p>', sprintf ( __ ( 'Alternately, <a href="%s">manually configure</a> your own settings and/or modify advanced options.', Postman::TEXT_DOMAIN ), $this->getPageUrl ( PostmanConfigurationController::CONFIGURATION_SLUG ) ) );
+ } else {
+ if (PostmanState::getInstance ()->isTimeToReviewPostman () && ! PostmanOptions::getInstance ()->isNew ()) {
+ print '</br><hr width="70%"></br>';
+ /* translators: where %s is the URL to the WordPress.org review and ratings page */
+ printf ( '%s</span></p>', sprintf ( __ ( 'Please consider <a href="%s">leaving a review</a> to help spread the word! :D', Postman::TEXT_DOMAIN ), 'https://wordpress.org/support/view/plugin-reviews/postman-smtp?filter=5' ) );
+ }
+ printf ( '<p><span>%s :-)</span></p>', sprintf ( __ ( 'Postman needs translators! Please take a moment to <a href="%s">translate a few sentences on-line</a>', Postman::TEXT_DOMAIN ), 'https://translate.wordpress.org/projects/wp-plugins/postman-smtp/stable' ) );
+ }
+ printf ( '<p><span>%s</span></p>', __ ( '<b style="background-color:yellow">New for v1.7!</style></b> Send mail with the Mandrill or SendGrid APIs.', Postman::TEXT_DOMAIN ) );
+ }
+
+ /**
+ */
+ private function printDeliveryDetails() {
+ $currentTransport = PostmanTransportRegistry::getInstance ()->getActiveTransport ();
+ $deliveryDetails = $currentTransport->getDeliveryDetails ( $this->options );
+ printf ( '<p style="margin:0 10px"><span>%s</span></p>', $deliveryDetails );
+ }
+
+ /**
+ *
+ * @param unknown $title
+ * @param string $slug
+ */
+ public static function outputChildPageHeader($title, $slug = '') {
+ printf ( '<h2>%s</h2>', sprintf ( __ ( '%s Setup', Postman::TEXT_DOMAIN ), __ ( 'Postman SMTP', Postman::TEXT_DOMAIN ) ) );
+ printf ( '<div id="postman-main-menu" class="welcome-panel %s">', $slug );
+ print '<div class="welcome-panel-content">';
+ print '<div class="welcome-panel-column-container">';
+ print '<div class="welcome-panel-column welcome-panel-last">';
+ printf ( '<h4>%s</h4>', $title );
+ print '</div>';
+ printf ( '<p id="back_to_main_menu">%s <a id="back_to_menu_link" href="%s">%s</a></p>', self::BACK_ARROW_SYMBOL, PostmanUtils::getSettingsPageUrl (), _x ( 'Back To Main Menu', 'Return to main menu link', Postman::TEXT_DOMAIN ) );
+ print '</div></div></div>';
+ }
+
+ /**
+ */
+ public function outputPurgeDataContent() {
+ $importTitle = __ ( 'Import', Postman::TEXT_DOMAIN );
+ $exportTile = __ ( 'Export', Postman::TEXT_DOMAIN );
+ $resetTitle = __ ( 'Reset Plugin', Postman::TEXT_DOMAIN );
+ $options = $this->options;
+ print '<div class="wrap">';
+ PostmanViewController::outputChildPageHeader ( sprintf ( '%s/%s/%s', $importTitle, $exportTile, $resetTitle ) );
+ print '<section id="export_settings">';
+ printf ( '<h3><span>%s<span></h3>', $exportTile );
+ printf ( '<p><span>%s</span></p>', __ ( 'Copy this data into another instance of Postman to duplicate the configuration.', Postman::TEXT_DOMAIN ) );
+ $data = '';
+ if (! PostmanPreRequisitesCheck::checkZlibEncode ()) {
+ $extraDeleteButtonAttributes = sprintf ( 'disabled="true"' );
+ $data = '';
+ } else {
+ $extraDeleteButtonAttributes = '';
+ if (! $options->isNew ()) {
+ $data = $options->export ();
+ }
+ }
+ printf ( '<textarea cols="80" rows="5" readonly="true" name="settings" %s>%s</textarea>', $extraDeleteButtonAttributes, $data );
+ print '</section>';
+ print '<section id="import_settings">';
+ printf ( '<h3><span>%s<span></h3>', $importTitle );
+ print '<form method="POST" action="' . get_admin_url () . 'admin-post.php">';
+ wp_nonce_field ( PostmanAdminController::IMPORT_SETTINGS_SLUG );
+ printf ( '<input type="hidden" name="action" value="%s" />', PostmanAdminController::IMPORT_SETTINGS_SLUG );
+ print '<p>';
+ printf ( '<span>%s</span>', __ ( 'Paste data from another instance of Postman here to duplicate the configuration.', Postman::TEXT_DOMAIN ) );
+ if (PostmanTransportRegistry::getInstance ()->getSelectedTransport ()->isOAuthUsed ( PostmanOptions::getInstance ()->getAuthenticationType () )) {
+ $warning = __ ( 'Warning', Postman::TEXT_DOMAIN );
+ $errorMessage = __ ( 'Using the same OAuth 2.0 Client ID and Client Secret from this site at the same time as another site will cause failures.', Postman::TEXT_DOMAIN );
+ printf ( ' <span><b>%s</b>: %s</span>', $warning, $errorMessage );
+ }
+ print '</p>';
+ printf ( '<textarea cols="80" rows="5" name="settings" %s></textarea>', $extraDeleteButtonAttributes );
+ submit_button ( __ ( 'Import', Postman::TEXT_DOMAIN ), 'primary', 'import', true, $extraDeleteButtonAttributes );
+ print '</form>';
+ print '</section>';
+ print '<section id="delete_settings">';
+ printf ( '<h3><span>%s<span></h3>', $resetTitle );
+ print '<form method="POST" action="' . get_admin_url () . 'admin-post.php">';
+ wp_nonce_field ( PostmanAdminController::PURGE_DATA_SLUG );
+ printf ( '<input type="hidden" name="action" value="%s" />', PostmanAdminController::PURGE_DATA_SLUG );
+ printf ( '<p><span>%s</span></p><p><span>%s</span></p>', __ ( 'This will purge all of Postman\'s settings, including account credentials and the email log.', Postman::TEXT_DOMAIN ), __ ( 'Are you sure?', Postman::TEXT_DOMAIN ) );
+ $extraDeleteButtonAttributes = 'style="background-color:red;color:white"';
+ if ($this->options->isNew ()) {
+ $extraDeleteButtonAttributes .= ' disabled="true"';
+ }
+ submit_button ( $resetTitle, 'delete', 'submit', true, $extraDeleteButtonAttributes );
+ print '</form>';
+ print '</section>';
+ print '</div>';
+ }
+
+ /**
+ */
+ private function displayTopNavigation() {
+ screen_icon ();
+ printf ( '<h2>%s</h2>', sprintf ( __ ( '%s Setup', Postman::TEXT_DOMAIN ), __ ( 'Postman SMTP', Postman::TEXT_DOMAIN ) ) );
+ print '<div id="postman-main-menu" class="welcome-panel">';
+ print '<div class="welcome-panel-content">';
+ print '<div class="welcome-panel-column-container">';
+ print '<div class="welcome-panel-column">';
+ printf ( '<h4>%s</h4>', __ ( 'Configuration', Postman::TEXT_DOMAIN ) );
+ printf ( '<a class="button button-primary button-hero" href="%s">%s</a>', $this->getPageUrl ( PostmanConfigurationController::CONFIGURATION_WIZARD_SLUG ), __ ( 'Start the Wizard', Postman::TEXT_DOMAIN ) );
+ printf ( '<p class="">or <a href="%s" class="configure_manually">%s</a></p>', $this->getPageUrl ( PostmanConfigurationController::CONFIGURATION_SLUG ), __ ( 'Show All Settings', Postman::TEXT_DOMAIN ) );
+ print '</div>';
+ print '<div class="welcome-panel-column">';
+ printf ( '<h4>%s</h4>', _x ( 'Actions', 'Main Menu', Postman::TEXT_DOMAIN ) );
+ print '<ul>';
+
+ // Grant permission with Google
+ PostmanTransportRegistry::getInstance ()->getSelectedTransport ()->printActionMenuItem ();
+
+ if (PostmanWpMailBinder::getInstance ()->isBound ()) {
+ printf ( '<li><a href="%s" class="welcome-icon send_test_email">%s</a></li>', $this->getPageUrl ( PostmanSendTestEmailController::EMAIL_TEST_SLUG ), __ ( 'Send a Test Email', Postman::TEXT_DOMAIN ) );
+ } else {
+ printf ( '<li><div class="welcome-icon send_test_email">%s</div></li>', __ ( 'Send a Test Email', Postman::TEXT_DOMAIN ) );
+ }
+
+ // import-export-reset menu item
+ if (! $this->options->isNew () || true) {
+ $purgeLinkPattern = '<li><a href="%1$s" class="welcome-icon oauth-authorize">%2$s</a></li>';
+ } else {
+ $purgeLinkPattern = '<li>%2$s</li>';
+ }
+ $importTitle = __ ( 'Import', Postman::TEXT_DOMAIN );
+ $exportTile = __ ( 'Export', Postman::TEXT_DOMAIN );
+ $resetTitle = __ ( 'Reset Plugin', Postman::TEXT_DOMAIN );
+ $importExportReset = sprintf ( '%s/%s/%s', $importTitle, $exportTile, $resetTitle );
+ printf ( $purgeLinkPattern, $this->getPageUrl ( PostmanAdminController::MANAGE_OPTIONS_PAGE_SLUG ), sprintf ( '%s', $importExportReset ) );
+ print '</ul>';
+ print '</div>';
+ print '<div class="welcome-panel-column welcome-panel-last">';
+ printf ( '<h4>%s</h4>', _x ( 'Troubleshooting', 'Main Menu', Postman::TEXT_DOMAIN ) );
+ print '<ul>';
+ printf ( '<li><a href="%s" class="welcome-icon run-port-test">%s</a></li>', $this->getPageUrl ( PostmanConnectivityTestController::PORT_TEST_SLUG ), __ ( 'Connectivity Test', Postman::TEXT_DOMAIN ) );
+ printf ( '<li><a href="%s" class="welcome-icon run-port-test">%s</a></li>', $this->getPageUrl ( PostmanDiagnosticTestController::DIAGNOSTICS_SLUG ), __ ( 'Diagnostic Test', Postman::TEXT_DOMAIN ) );
+ printf ( '<li><a href="https://wordpress.org/support/plugin/postman-smtp" class="welcome-icon postman_support">%s</a></li>', __ ( 'Online Support', Postman::TEXT_DOMAIN ) );
+ print '</ul></div></div></div></div>';
+ }
+
+ }
+}
+ \ No newline at end of file
diff --git a/Postman/PostmanWpMail.php b/Postman/PostmanWpMail.php
new file mode 100644
index 0000000..874a338
--- /dev/null
+++ b/Postman/PostmanWpMail.php
@@ -0,0 +1,340 @@
+<?php
+if (! class_exists ( "PostmanWpMail" )) {
+
+ /**
+ * Moved this code into a class so it could be used by both wp_mail() and PostmanSendTestEmailController
+ *
+ * @author jasonhendriks
+ *
+ */
+ class PostmanWpMail {
+ private $exception;
+ private $transcript;
+ private $totalTime;
+ private $logger;
+
+ /**
+ * Load the dependencies
+ */
+ public function init() {
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+ require_once 'Postman-Mail/PostmanMessage.php';
+ require_once 'Postman-Email-Log/PostmanEmailLogService.php';
+ require_once 'Postman-Mail/PostmanMailEngine.php';
+ require_once 'Postman-Auth/PostmanAuthenticationManagerFactory.php';
+ require_once 'PostmanState.php';
+ }
+
+ /**
+ * This methods follows the wp_mail function interface, but implements it Postman-style.
+ * Exceptions are held for later inspection.
+ * An instance of PostmanState updates the success/fail tally.
+ *
+ * @param unknown $to
+ * @param unknown $subject
+ * @param unknown $body
+ * @param unknown $headers
+ * @param unknown $attachments
+ * @return boolean
+ */
+ public function send($to, $subject, $message, $headers = '', $attachments = array()) {
+
+ // initialize for sending
+ $this->init ();
+
+ // build the message
+ $postmanMessage = $this->processWpMailCall ( $to, $subject, $message, $headers, $attachments );
+
+ // build the email log entry
+ $log = new PostmanEmailLog ();
+ $log->originalTo = $to;
+ $log->originalSubject = $subject;
+ $log->originalMessage = $message;
+ $log->originalHeaders = $headers;
+
+ // send the message and return the result
+ return $this->sendMessage ( $postmanMessage, $log );
+ }
+
+ /**
+ * Builds a PostmanMessage based on the WordPress wp_mail parameters
+ *
+ * @param unknown $to
+ * @param unknown $subject
+ * @param unknown $message
+ * @param unknown $headers
+ * @param unknown $attachments
+ */
+ private function processWpMailCall($to, $subject, $message, $headers, $attachments) {
+ $this->logger->trace ( 'wp_mail parameters before applying WordPress wp_mail filter:' );
+ $this->traceParameters ( $to, $subject, $message, $headers, $attachments );
+
+ /**
+ * Filter the wp_mail() arguments.
+ *
+ * @since 1.5.4
+ *
+ * @param array $args
+ * A compacted array of wp_mail() arguments, including the "to" email,
+ * subject, message, headers, and attachments values.
+ */
+ $atts = apply_filters ( 'wp_mail', compact ( 'to', 'subject', 'message', 'headers', 'attachments' ) );
+ if (isset ( $atts ['to'] )) {
+ $to = $atts ['to'];
+ }
+
+ if (isset ( $atts ['subject'] )) {
+ $subject = $atts ['subject'];
+ }
+
+ if (isset ( $atts ['message'] )) {
+ $message = $atts ['message'];
+ }
+
+ if (isset ( $atts ['headers'] )) {
+ $headers = $atts ['headers'];
+ }
+
+ if (isset ( $atts ['attachments'] )) {
+ $attachments = $atts ['attachments'];
+ }
+
+ if (! is_array ( $attachments )) {
+ $attachments = explode ( "\n", str_replace ( "\r\n", "\n", $attachments ) );
+ }
+
+ $this->logger->trace ( 'wp_mail parameters after applying WordPress wp_mail filter:' );
+ $this->traceParameters ( $to, $subject, $message, $headers, $attachments );
+
+ // Postman API: register the response hook
+ add_filter ( 'postman_wp_mail_result', array (
+ $this,
+ 'postman_wp_mail_result'
+ ) );
+
+ // create the message
+ $postmanMessage = $this->createNewMessage ();
+ $this->populateMessageFromWpMailParams ( $postmanMessage, $to, $subject, $message, $headers, $attachments );
+
+ // return the message
+ return $postmanMessage;
+ }
+
+ /**
+ * Creates a new instance of PostmanMessage with a pre-set From and Reply-To
+ *
+ * @return PostmanMessage
+ */
+ public function createNewMessage() {
+ $message = new PostmanMessage ();
+ $options = PostmanOptions::getInstance ();
+ // the From is set now so that it can be overridden
+ $transport = PostmanTransportRegistry::getInstance ()->getActiveTransport ();
+ $message->setFrom ( $transport->getFromEmailAddress (), $transport->getFromName () );
+ // the Reply-To is set now so that it can be overridden
+ $message->setReplyTo ( $options->getReplyTo () );
+ $message->setCharset ( get_bloginfo ( 'charset' ) );
+ return $message;
+ }
+
+ /**
+ * A convenient place for any code to inject a constructed PostmanMessage
+ * (for example, from MyMail)
+ *
+ * The body parts may be set already at this time.
+ *
+ * @param PostmanMessage $message
+ * @return boolean
+ */
+ public function sendMessage(PostmanMessage $message, PostmanEmailLog $log) {
+
+ // get the Options and AuthToken
+ $options = PostmanOptions::getInstance ();
+ $authorizationToken = PostmanOAuthToken::getInstance ();
+
+ // get the transport and create the transportConfig and engine
+ $transport = PostmanTransportRegistry::getInstance ()->getActiveTransport ();
+
+ // create the Mail Engine
+ $engine = $transport->createMailEngine ();
+
+ // add plugin-specific attributes to PostmanMessage
+ $message->addHeaders ( $options->getAdditionalHeaders () );
+ $message->addTo ( $options->getForcedToRecipients () );
+ $message->addCc ( $options->getForcedCcRecipients () );
+ $message->addBcc ( $options->getForcedBccRecipients () );
+
+ // apply the WordPress filters
+ // may impact the from address, from email, charset and content-type
+ $message->applyFilters ();
+
+ // create the body parts (if they are both missing)
+ if ($message->isBodyPartsEmpty ()) {
+ $message->createBodyParts ();
+ }
+
+ // is this a test run?
+ $testMode = apply_filters ( 'postman_test_email', false );
+ if ($this->logger->isDebug ()) {
+ $this->logger->debug ( 'testMode=' . $testMode );
+ }
+
+ // start the clock
+ $startTime = microtime ( true ) * 1000;
+
+ try {
+
+ // prepare the message
+ $message->validate ( $transport );
+
+ // send the message
+ if ($options->getRunMode () == PostmanOptions::RUN_MODE_PRODUCTION) {
+ if ($transport->isLockingRequired ()) {
+ PostmanUtils::lock ();
+ // may throw an exception attempting to contact the OAuth2 provider
+ $this->ensureAuthtokenIsUpdated ( $transport, $options, $authorizationToken );
+ }
+
+ $this->logger->debug ( 'Sending mail' );
+ // may throw an exception attempting to contact the SMTP server
+ $engine->send ( $message );
+
+ // increment the success counter, unless we are just tesitng
+ if (! $testMode) {
+ PostmanState::getInstance ()->incrementSuccessfulDelivery ();
+ }
+ }
+
+ // clean up
+ $this->postSend ( $engine, $startTime, $options, $transport );
+
+ if ($options->getRunMode () == PostmanOptions::RUN_MODE_PRODUCTION || $options->getRunMode () == PostmanOptions::RUN_MODE_LOG_ONLY) {
+ // log the successful delivery
+ PostmanEmailLogService::getInstance ()->writeSuccessLog ( $log, $message, $engine->getTranscript (), $transport );
+ }
+
+ // return successful
+ return true;
+ } catch ( Exception $e ) {
+ // save the error for later
+ $this->exception = $e;
+
+ // write the error to the PHP log
+ $this->logger->error ( get_class ( $e ) . ' code=' . $e->getCode () . ' message=' . trim ( $e->getMessage () ) );
+
+ // increment the failure counter, unless we are just tesitng
+ if (! $testMode && $options->getRunMode () == PostmanOptions::RUN_MODE_PRODUCTION) {
+ PostmanState::getInstance ()->incrementFailedDelivery ();
+ }
+
+ // clean up
+ $this->postSend ( $engine, $startTime, $options, $transport );
+
+ if ($options->getRunMode () == PostmanOptions::RUN_MODE_PRODUCTION || $options->getRunMode () == PostmanOptions::RUN_MODE_LOG_ONLY) {
+ // log the failed delivery
+ PostmanEmailLogService::getInstance ()->writeFailureLog ( $log, $message, $engine->getTranscript (), $transport, $e->getMessage () );
+ }
+
+ // return failure
+ return false;
+ }
+ }
+
+ /**
+ * Clean up after sending the mail
+ *
+ * @param PostmanZendMailEngine $engine
+ * @param unknown $startTime
+ */
+ private function postSend(PostmanMailEngine $engine, $startTime, PostmanOptions $options, PostmanModuleTransport $transport) {
+ // save the transcript
+ $this->transcript = $engine->getTranscript ();
+
+ // log the transcript
+ if ($this->logger->isTrace ()) {
+ $this->logger->trace ( 'Transcript:' );
+ $this->logger->trace ( $this->transcript );
+ }
+
+ // delete the semaphore
+ if ($transport->isLockingRequired ()) {
+ PostmanUtils::unlock ();
+ }
+
+ // stop the clock
+ $endTime = microtime ( true ) * 1000;
+ $this->totalTime = $endTime - $startTime;
+ }
+
+ /**
+ * Returns the result of the last call to send()
+ *
+ * @return multitype:Exception NULL
+ */
+ function postman_wp_mail_result() {
+ $result = array (
+ 'time' => $this->totalTime,
+ 'exception' => $this->exception,
+ 'transcript' => $this->transcript
+ );
+ return $result;
+ }
+
+ /**
+ */
+ private function ensureAuthtokenIsUpdated(PostmanModuleTransport $transport, PostmanOptions $options, PostmanOAuthToken $authorizationToken) {
+ assert ( ! empty ( $transport ) );
+ assert ( ! empty ( $options ) );
+ assert ( ! empty ( $authorizationToken ) );
+ // ensure the token is up-to-date
+ $this->logger->debug ( 'Ensuring Access Token is up-to-date' );
+ // interact with the Authentication Manager
+ $wpMailAuthManager = PostmanAuthenticationManagerFactory::getInstance ()->createAuthenticationManager ();
+ if ($wpMailAuthManager->isAccessTokenExpired ()) {
+ $this->logger->debug ( 'Access Token has expired, attempting refresh' );
+ $wpMailAuthManager->refreshToken ();
+ $authorizationToken->save ();
+ }
+ }
+
+ /**
+ * Aggregates all the content into a Message to be sent to the MailEngine
+ *
+ * @param unknown $to
+ * @param unknown $subject
+ * @param unknown $body
+ * @param unknown $headers
+ * @param unknown $attachments
+ */
+ private function populateMessageFromWpMailParams(PostmanMessage $message, $to, $subject, $body, $headers, $attachments) {
+ $message->addHeaders ( $headers );
+ $message->setBody ( $body );
+ $message->setSubject ( $subject );
+ $message->addTo ( $to );
+ $message->setAttachments ( $attachments );
+ return $message;
+ }
+
+ /**
+ * Trace the parameters to aid in debugging
+ *
+ * @param unknown $to
+ * @param unknown $subject
+ * @param unknown $body
+ * @param unknown $headers
+ * @param unknown $attachments
+ */
+ private function traceParameters($to, $subject, $message, $headers, $attachments) {
+ $this->logger->trace ( 'to:' );
+ $this->logger->trace ( $to );
+ $this->logger->trace ( 'subject:' );
+ $this->logger->trace ( $subject );
+ $this->logger->trace ( 'headers:' );
+ $this->logger->trace ( $headers );
+ $this->logger->trace ( 'attachments:' );
+ $this->logger->trace ( $attachments );
+ $this->logger->trace ( 'message:' );
+ $this->logger->trace ( $message );
+ }
+ }
+} \ No newline at end of file
diff --git a/Postman/PostmanWpMailBinder.php b/Postman/PostmanWpMailBinder.php
new file mode 100644
index 0000000..b0be8f4
--- /dev/null
+++ b/Postman/PostmanWpMailBinder.php
@@ -0,0 +1,130 @@
+<?php
+if (! class_exists ( 'PostmanWpMailBinder' )) {
+ class PostmanWpMailBinder {
+ private $logger;
+ private $bound;
+ private $bindError;
+
+ /**
+ * private singleton constructor
+ */
+ private function __construct() {
+ $this->logger = new PostmanLogger ( get_class ( $this ) );
+
+ // load the dependencies
+ require_once 'PostmanWpMail.php';
+ require_once 'PostmanOptions.php';
+ require_once 'PostmanPreRequisitesCheck.php';
+
+ // register the bind status hook
+ add_filter ( 'postman_wp_mail_bind_status', array (
+ $this,
+ 'postman_wp_mail_bind_status'
+ ) );
+ }
+
+ /**
+ * Return the Singleton instance
+ *
+ * @return Ambigous <NULL, PostmanWpMailBinder>
+ */
+ public static function getInstance() {
+ static $inst = null;
+ if ($inst === null) {
+ $inst = new PostmanWpMailBinder ();
+ }
+ return $inst;
+ }
+
+ /**
+ * Returns the bind result
+ */
+ public function postman_wp_mail_bind_status() {
+ $result = array (
+ 'bound' => $this->bound,
+ 'bind_error' => $this->bindError
+ );
+ return $result;
+ }
+
+ /**
+ * Important: bind() may be called multiple times
+ *
+ * Replace wp_mail() after making sure:
+ * 1) the plugin has not already bound to wp_mail and
+ * 2) wp_mail is available for use
+ * 3) the plugin is properly configured.
+ * 4) the plugin's prerequisites are met.
+ */
+ function bind() {
+ if (! $this->bound) {
+ $ready = true;
+ if (function_exists ( 'wp_mail' )) {
+ // If the function exists, it's probably because another plugin has
+ // replaced the pluggable function first, and we set an error flag.
+ // this is an error message because it is a Bind error
+ if ($this->logger->isTrace ()) {
+ $this->logger->trace ( 'wp_mail is already bound, Postman can not use it' );
+ }
+ $this->bindError = true;
+ $ready = false;
+ }
+ if (! PostmanPreRequisitesCheck::isReady ()) {
+ // this is a debug message because it is not up to the Binder to report transport errors
+ if ($this->logger->isTrace ()) {
+ $this->logger->trace ( 'Prerequisite check failed' );
+ }
+ $ready = false;
+ }
+ if ($ready) {
+ if ($this->logger->isTrace ()) {
+ $this->logger->trace ( 'Binding to wp_mail()' );
+ }
+ $this->replacePluggableFunctionWpMail ();
+ }
+ }
+ }
+
+ /**
+ * The code to replace the pluggable wp_mail()
+ *
+ * If the function does not exist, then the replacement was successful
+ * and we set a success flag.
+ *
+ * @return boolean
+ */
+ private function replacePluggableFunctionWpMail() {
+ /**
+ * The Postman drop-in replacement for the WordPress wp_mail() function
+ *
+ * @param string|array $to
+ * Array or comma-separated list of email addresses to send message.
+ * @param string $subject
+ * Email subject
+ * @param string $message
+ * Message contents
+ * @param string|array $headers
+ * Optional. Additional headers.
+ * @param string|array $attachments
+ * Optional. Files to attach.
+ * @return bool Whether the email contents were sent successfully.
+ */
+ function wp_mail($to, $subject, $message, $headers = '', $attachments = array()) {
+ // create an instance of PostmanWpMail to send the message
+ $postmanWpMail = new PostmanWpMail ();
+ // send the mail
+ $result = $postmanWpMail->send ( $to, $subject, $message, $headers, $attachments );
+ // return the result
+ return $result;
+ }
+ $this->logger->debug ( 'Bound to wp_mail()' );
+ $this->bound = true;
+ }
+ public function isBound() {
+ return $this->bound;
+ }
+ public function isUnboundDueToException() {
+ return $this->bindError;
+ }
+ }
+} \ No newline at end of file
diff --git a/Postman/extra/no-localhost-mails.php b/Postman/extra/no-localhost-mails.php
new file mode 100644
index 0000000..0c45778
--- /dev/null
+++ b/Postman/extra/no-localhost-mails.php
@@ -0,0 +1,9 @@
+<?php
+/**
+* Plugin Name: No localhost emails
+* Description: Overwrites WP pluggable function wp_mail
+*/
+
+if ( !function_exists( 'wp_mail' ) ) :
+ function wp_mail() {} // KILL EMAILS IN LOCALHOST
+endif;
diff --git a/Postman/languages/postman-smtp-el_GR.mo b/Postman/languages/postman-smtp-el_GR.mo
new file mode 100644
index 0000000..2f693d6
--- /dev/null
+++ b/Postman/languages/postman-smtp-el_GR.mo
Binary files differ
diff --git a/Postman/languages/postman-smtp-el_GR.po b/Postman/languages/postman-smtp-el_GR.po
new file mode 100644
index 0000000..64f5499
--- /dev/null
+++ b/Postman/languages/postman-smtp-el_GR.po
@@ -0,0 +1,1738 @@
+# Copyright (C) 2015 Postman SMTP
+# This file is distributed under the same license as the Postman SMTP package.
+msgid ""
+msgstr ""
+"Project-Id-Version: Postman SMTP 1.6.23\n"
+"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/postman-smtp\n"
+"POT-Creation-Date: 2015-11-08 17:21-0500\n"
+"PO-Revision-Date: 2015-11-09 01:47-0500\n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"Language: el_GR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.8.6\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:94
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:348
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:357
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:99
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:116
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:75
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:545
+#: Postman/PostmanViewController.php:227
+msgid "Warning"
+msgstr "Προειδοποίηση"
+
+#. translators: where %s is the name of the SMTP server
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:96
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:116
+msgid "connected to %1$s instead of %2$s."
+msgstr "συνδέθηκε στον %1$s αντί για τον %2$s."
+
+#. translators: where %d is a port number
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:98
+msgid "You are about to configure OAuth 2.0 with an IP address instead of a domain name. This is not permitted. Either assign a real domain name to your site or add a fake one in your local host file."
+msgstr "Πρόκειται να διαμορφώσετε την OAuth 2.0 με διεύθυνση IP αντί για όνομα τομέα. Αυτό δεν επιτρέπεται. Είτε δώστε ένα πραγματικό όνομα τομέα στον ιστότοπό σας ή προσθέστε ένα ψεύτικο στο τοπικό σας αρχείο host."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:132
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:157
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:83
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:81
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:95
+#: Postman/PostmanViewController.php:53 Postman/PostmanViewController.php:76
+#: Postman/PostmanViewController.php:184 Postman/PostmanViewController.php:256
+msgid "%s Setup"
+msgstr "Ρύθμιση του %s"
+
+#. Plugin Name of the plugin/theme
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:132
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:157
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:83
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:57
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:70
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:81
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:333
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:176
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:95
+#: Postman/Postman.php:61 Postman/PostmanViewController.php:53
+#: Postman/PostmanViewController.php:54 Postman/PostmanViewController.php:76
+#: Postman/PostmanViewController.php:184 Postman/PostmanViewController.php:256
+msgid "Postman SMTP"
+msgstr "Postman SMTP"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:196
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:81
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:200
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:217 Postman/Postman.php:316
+#: Postman/PostmanAdminController.php:225
+msgid "Settings"
+msgstr "Παράμετροι"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:198
+msgid "Account"
+msgstr "Λογαριασμός"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:199
+msgid "Message"
+msgstr "Μήνυμα"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:200
+msgid "Logging"
+msgstr "Σύνδεση"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:201
+msgid "Advanced"
+msgstr "Για Προχωρημένους"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:263
+msgid "Setup Wizard"
+msgstr "Οδηγός Ρύθμισης"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:296
+msgctxt "Wizard Step Title"
+msgid "Import Configuration"
+msgstr "Εισαγωγή Διαμόρφωσης"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:298
+msgctxt "Wizard Step Title"
+msgid "Import configuration from another plugin?"
+msgstr "Εισαγωγή ρυθμίσεων από άλλο πρόσθετο;"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:299
+msgid "If you had a working configuration with another Plugin, the Setup Wizard can begin with those settings."
+msgstr "Αν είχατε λειτουργικές ρυθμίσεις με άλλο πρόσθετο, ο Οδηγός Διαμόρφωσης μπορεί να ξεκινήσει με αυτές τις ρυθμίσεις."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:301
+#: Postman/Postman-Mail/PostmanModuleTransport.php:720
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:425
+msgid "None"
+msgstr "Καμμία"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:312
+msgctxt "Wizard Step Title"
+msgid "Sender Details"
+msgstr "Στοιχεία Αποστολέα"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:314
+msgctxt "Wizard Step Title"
+msgid "Who is the mail coming from?"
+msgstr "Από ποιον προέρχεται το e-mail;"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:315
+msgid "Enter the email address and name you'd like to send mail as."
+msgstr "Εισάγετε τη διεύθυνση e-mail και το όνομα με τα οποία θα θέλατε να στέλνετε αλληλογραφία."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:316
+msgid "Please note that to prevent abuse, many email services will <em>not</em> let you send from an email address other than the one you authenticate with."
+msgstr "Παρακαλούμε σημειώστε ότι για να αποφύγουν την κατάχρηση, πολλές υπηρεσίες e-mail <em>δεν</em> θα σας αφήσουν να αποστείλετε από διεύθυνση διαφορετική από αυτή με την οποία πιστοποιήστε (συνδέεστε)."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:317
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:49
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:112
+msgid "Email Address"
+msgstr "Διεύθυνση e-mail"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:320
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:59
+msgid "Name"
+msgstr "Όνομα"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:325
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:143
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:331
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:542
+msgid "Outgoing Mail Server Hostname"
+msgstr "Όνομα Διακομιστή Εξερχόμενης Αλληλογραφίας"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:333
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:337
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:138
+#: Postman/PostmanViewController.php:294
+msgid "Connectivity Test"
+msgstr "Τεστ Συνδεσιμότητας"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:335
+msgid "How will the connection to the mail server be established?"
+msgstr "Πως θα γίνει η σύνδεση με τον MSA;"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:336
+msgid "Your connection settings depend on what your email service provider offers, and what your WordPress host allows."
+msgstr "Οι ρυθμίσεις της σύνδεσής σας εξαρτώνται από το τι προσφέρει ο πάροχος υπηρεσιών αλληλογραφίας και τι επιτρέπει ο πάροχος του WordPress σας."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:337
+msgctxt "TCP Port Test Status"
+msgid "Ready"
+msgstr "Έτοιμο"
+
+#. Translators: Where %1$s is the socket identifier and %2$s is the
+#. authentication type
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:345
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgctxt "A socket is the network term for host and port together"
+msgid "Socket"
+msgstr "Socket"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:346
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:354
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:223
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:177
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:351
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:356
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:372
+msgid "Authentication"
+msgstr "Πιστοποίηση"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:349
+msgid "This configuration option will send your authorization credentials in the clear."
+msgstr "Αυτή η επιλογή θα στείλει τα στοιχεία σύνδεσής σας χωρίς κρυπτογράφηση."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:356
+msgid "How will you prove your identity to the mail server?"
+msgstr "Πως θα αποδείξετε την ταυτότητά σας στον MSA;"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:363
+msgctxt "The final step of the Wizard"
+msgid "Finish"
+msgstr "Τέλος"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:365
+msgctxt "Wizard Step Title"
+msgid "You're Done!"
+msgstr "Είστε Έτοιμοι!"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:367
+msgid "Click Finish to save these settings, then:"
+msgstr "Κάντε κλικ στο Τέλος για να αποθηκεύσετε αυτές τις ρυθμίσεις, μετά:"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:369
+msgid "Grant permission with the Email Provider for Postman to send email and"
+msgstr "Δώστε άδεια μέσω του παρόχου e-mail στο Postman να στέλνει μηνύματα και"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:370
+msgid "Send yourself a Test Email to make sure everything is working!"
+msgstr "Στείλτε ένα Δοκιμαστικό Μήνυμα στον εαυτό σας για να βεβαιωθείτε ότι όλα δουλεύουν!"
+
+#. translators: where %s is the URL to the Connectivity Test page
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:514
+msgid "Postman can't find any way to send mail on your system. Run a <a href=\"%s\">connectivity test</a>."
+msgstr "Το Postman δεν μπορεί να εντοπίσει κάποιο τρόπο αποστολής ηλ. ταχυδρομείου στο σύστημά σας. Κάντε ένα <a href=\"%s\">τεστ συνδεσιμότητας</a>."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:33
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Transport"
+msgstr "Μέθοδος αποστολής"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:38
+msgctxt "(i.e.) What kind is it?"
+msgid "Type"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:44
+msgctxt "The Message Sender Email Address"
+msgid "From Address"
+msgstr "Ηλ. Διεύθυνση Μηνύματος Από"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:70
+msgid "Additional Email Addresses"
+msgstr "Επιπλέον διευθύνσεις e-mail"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:75
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:220
+msgid "Reply-To"
+msgstr "Απάντηση σε"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:80
+msgid "To Recipient(s)"
+msgstr "Παραλήπτης(ες)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:85
+msgid "Carbon Copy Recipient(s)"
+msgstr "Κοινοποίηση σε"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:90
+msgid "Blind Carbon Copy Recipient(s)"
+msgstr "Κρυφή Κοινοποίηση σε"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:96
+msgid "Additional Headers"
+msgstr "Επιπλέον Κεφαλίδες"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:101
+msgid "Custom Headers"
+msgstr "Προσαρμοσμένες Κεφαλίδες"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:107
+msgid "Validation"
+msgstr "Επικύρωση"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:118
+msgid "Email Log Settings"
+msgstr "Ρυθμίσεις Καταγραφής E-mail"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:123
+msgid "Enable Logging"
+msgstr "Ενεργοποίηση Καταγραφής"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:128
+#: Postman/PostmanInputSanitizer.php:137
+msgid "Maximum Log Entries"
+msgstr "Μέγιστος Αριθμός Καταχωρήσεων Καταγραφής"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:133
+msgid "Maximum Transcript Size"
+msgstr "Μέγιστος Αριθμός Γραμμών σε μια Μεταγραφή"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:139
+msgid "Network Settings"
+msgstr "Ρυθμίσεις Δικτύου"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:144
+msgctxt "Configuration Input Field"
+msgid "TCP Connection Timeout (sec)"
+msgstr "Λήξη χρονικού ορίου σύνδεσης TCP (sec)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:149
+msgctxt "Configuration Input Field"
+msgid "TCP Read Timeout (sec)"
+msgstr "Λήξη χρονικού ορίου ανάγνωσης TCP (sec)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:155
+msgctxt "Configuration Section Title"
+msgid "Miscellaneous Settings"
+msgstr "Διάφορες Ρυθμίσεις"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:160
+msgctxt "Configuration Input Field"
+msgid "PHP Log Level"
+msgstr "Επίπεδο Καταγραφής PHP"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:165
+msgctxt "Configuration Input Field"
+msgid "Delivery Mode"
+msgstr "Τρόπος Παράδοσης"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:170
+msgctxt "This mode removes the Postman X-Mailer signature from emails"
+msgid "Stealth Mode"
+msgstr "Με απόκρυψη"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:175
+msgid "Temporary Directory"
+msgstr "Προσωρινός Κατάλογος"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:186
+msgid "Choose SMTP or a vendor-specific API:"
+msgstr "Επιλέξτε SMTP ή API συγκεκριμένου παρόχου:"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:189
+msgid "Configure the delivery audit log:"
+msgstr "Διαμορφώστε την καταγραφή αξιολόγησης παράδοσης:"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:196
+msgid "This address, like the <b>letterhead</b> printed on a letter, identifies the sender to the recipient. Change this when you are sending on behalf of someone else, for example to use Google's <a href=\"%s\">Send Mail As</a> feature. Other plugins, especially Contact Forms, may override this field to be your visitor's address."
+msgstr "Η διεύθυνση <b>Μήνυμα</b> Από είναι αυτή που βλέπει ο παραλήπτης ως αποστολέα. Αλλάξτε τη όταν στέλνετε εκ μέρους κάποιου άλλου, παραδείγματος χάριν για να χρησιμοποιήσετε τη δυνατότητα <a href=\\\"%s\\\">Αποστολή Αλληλογραιας Ως</a> της Google. Τα θέματα και άλλα πρόσθετα επιτρέπεται να τροποποιούν αυτό το πεδίο."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:203
+msgid "Separate multiple <b>to</b>/<b>cc</b>/<b>bcc</b> recipients with commas."
+msgstr "Διαχωρίστε πολλαπλούς παραλήπτες<b>προς</b>/<b>κοιν.</b>/<b>κρυφ.κοιν.</b> με κόμματα."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:210
+msgid "Increase the timeouts if your host is intermittenly failing to send mail. Be careful, this also correlates to how long your user must wait if the mail server is unreachable."
+msgstr "Αυξήστε τα χρονικά όρια λήξης αν ο διακομιστής σας αποτυγχάνει κατά περιόδους να αποστείλει αλληλογραφία. Προσέξτε όμως, αυτό επίσης σχετίζεται και με το πόσο χρόνο θα πρέπει να περιμένει ο χρήστης σας αν ο διακομιστής δεν αποκρίνεται."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:221
+msgid "Specify custom headers (e.g. <code>X-MC-Tags: wordpress-site-A</code>), one per line. Use custom headers with caution as they can negatively affect your Spam score."
+msgstr "Καθορίστε προσαρμοσμένες κεφαλίδες (π.χ. <code>X-MC-Tags: wordpress-site-A</code>), μία σε κάθε γραμμή. Χρησιμοποιήστε τις με προσοχή καθώς μπορεί να επηρεάσουν αρνητικά την Spam βαθμολογία σας."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:228
+msgid "E-mail addresses can be validated before sending e-mail, however this may fail with some newer domains."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:254
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:276
+msgid "Prevent <b>plugins</b> and <b>themes</b> from changing this"
+msgstr "Απαγορεύστε σε <b>πρόσθετα</b> και <b>θέματα</b> να το αλλάζουν αυτό"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:261
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:405
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:244
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:195
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:409
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:416
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:459
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:467
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:475
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:482
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:530
+msgid "Required"
+msgstr "Απαιτούμενα"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:268
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:531
+msgid "This address, like the <b>return address</b> printed on an envelope, identifies the account owner to the SMTP server."
+msgstr "Η διεύθυνση <b>Φάκελος</b> Από αφορά τον κάτοχο του λογαριασμού στον διακομιστή SMTP."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:289
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:108
+msgid "Yes"
+msgstr "Ναι"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:290
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:109
+msgid "No"
+msgstr "Όχι"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:300
+msgid "Change this value if you can't see the beginning of the transcript because your messages are too big."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:343
+msgid "Disable e-mail validation"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:350
+msgid "Log Level specifies the level of detail written to the <a target=\"_new\" href=\"%s\">WordPress Debug log</a> - view the log with <a target-\"_new\" href=\"%s\">Debug</a>."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:353
+msgid "Off"
+msgstr "Κλείσιμο"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:354
+msgid "Trace"
+msgstr "Ανίχνευση"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:355
+msgid "Debug"
+msgstr "Εύρεση σφαλμάτων"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:356
+msgid "Info"
+msgstr "Πληροφορίες"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:358
+msgid "Error"
+msgstr "Σφάλμα"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:366
+msgid "Delivery mode offers options useful for developing or testing."
+msgstr "Η κατάσταση Παράδοση προσφέρει επιλογές χρήσιμες για ανάπτυξη ή δοκιμές."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:369
+msgctxt "When the server is online to the public, this is \"Production\" mode"
+msgid "Log Email and Send"
+msgstr "Καταγραφή E-mail και Αποστολή"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:370
+msgid "Log Email and Delete"
+msgstr "Καταγραφή Email και Διαγραφή"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:371
+msgid "Delete All Emails"
+msgstr "Διαγραφή Όλων των E-mail"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:375
+msgid "Remove the Postman X-Header signature from messages"
+msgstr "Αφαίρεση της υπογραφής Postman X-Header από τα μηνύματα"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:378
+msgid "Lockfiles are written here to prevent users from triggering an OAuth 2.0 token refresh at the same time."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:381
+msgid "Valid"
+msgstr "Έγκυρο"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:383
+msgid "Invalid"
+msgstr "Άκυρο"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:105
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:109
+msgctxt "The \"please wait\" message"
+msgid "Checking.."
+msgstr "Γίνεται έλεγχος.."
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:106
+msgctxt "The port is open"
+msgid "Open"
+msgstr "Ανοιχτή"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:107
+msgctxt "The port is closed"
+msgid "Closed"
+msgstr "Κλειστή"
+
+#. translators: where %d is a port number
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:111
+msgid "No outbound route between this site and the Internet on Port %d."
+msgstr "Δεν υπάρχει εξερχόμενη διαδρομή μεταξύ αυτού του ιστότοπου και του Διαδικτύου στη θύρα %d."
+
+#. translators: where %d is a port number and %s is a hostname
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:113
+msgid "Port %d is open, but not to %s."
+msgstr "Η θύρα %d είναι ανοιχτή αλλά όχι προς %s."
+
+#. translators: where %d is the port number and %s is the hostname
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:115
+msgid "Port %d can be used for SMTP to %s."
+msgstr "Η θύρα %d μπορεί να χρησιμοποιηθεί για SMTP προς %s."
+
+#. translators: where %d is a port number and %s is the URL for the Postman
+#. Gmail Extension
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:118
+msgid "Port %d can be used with the %s."
+msgstr "Η θύρα %d μπορεί να χρησιμοποιηθεί για αποστολή email με το %s."
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:141
+msgid "This test determines which well-known ports are available for Postman to use."
+msgstr "Αυτή η δοκιμή βρίσκει ποιες από τις γνωστές θύρες είναι διαθέσιμες για να τις χρησιμοποιήσει το Postman."
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:145
+msgctxt "Button Label"
+msgid "Begin Test"
+msgstr "Έναρξη Δοκιμής"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:162
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:152
+msgid "Status"
+msgstr "Κατάσταση"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Service Available"
+msgstr "Διαθέσιμη Υπηρεσία"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Server ID"
+msgstr ""
+
+#. Translators: Meaning "Not Applicable"
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:155
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:260
+msgid "n/a"
+msgstr "δ/υ"
+
+#. Translators: Where %s is the name of the service providing Internet
+#. connectivity test
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:160
+msgid "According to %s"
+msgstr ""
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:163
+msgid "Summary"
+msgstr "Σύνοψη"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:168
+msgid "A test with <span style=\"color:red\">\"No\"</span> Service Available indicates one or more of these issues:"
+msgstr "Θύρα με Διαθέσιμη Υπηρεσία <span style=\"color:red\">\"Όχι\"</span> υποδεικνύει ένα ή περισσότερα από αυτά τα προβλήματα:"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:170
+msgid "Your web host has placed a firewall between this site and the Internet"
+msgstr "Ο πάροχος διακομιστή έχει θέσει ένα firewall μεταξύ αυτού του ιστοτόπου και του Διαδικτύου"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:171
+msgid "The SMTP hostname is wrong or the mail server does not provide service on this port"
+msgstr "Το όνομα διακομιστή SMTP είναι λάθος ή ο διακομιστής αλληλογραφίας δεν παρέχει υπηρεσίες σε αυτή τη θύρα"
+
+#. translators: where (1) is the URL and (2) is the system
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:173
+msgid "Your <a href=\"%1$s\">%2$s configuration</a> is preventing outbound connections"
+msgstr "Η <a href=\"%1$s\">διαμόρφωση της %2$s</a> σας εμποδίζει τις εξερχόμενες συνδέσεις"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:177
+msgid "If the issues above can not be resolved, your last option is to configure Postman to use an email account managed by your web host with an SMTP server managed by your web host."
+msgstr "Αν τα παραπάνω προβλήματα δεν μπορούν να επιλυθούν, η τελευταία σας επιλογή είναι να ρυθμίσετε το Postman να χρησιμοποιήσει ένα λογαριασμό e-mail που να τον διαχειρίζεται ο πάροχος του διακομιστή διαδικτύου σας με έναν διακομιστή SMTP που να τον χειρίζεται ο πάροχος."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:82
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman.php:317
+msgctxt "The log of Emails that have been delivered"
+msgid "Email Log"
+msgstr "Αρχείο Καταγραφής e-mail"
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:95
+msgid "Error: Postman is missing a required PHP library."
+msgstr "Σφάλμα: απουσιάζει μια απαιτούμενη από το Postman βιβλιοθήκη PHP."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:97
+#: Postman/Postman.php:257
+msgid "Postman: wp_mail has been declared by another plugin or theme, so you won't be able to use Postman until the conflict is resolved."
+msgstr "Postman: έχει δηλωθεί το wp_mail από άλλο πρόσθετο ή θέμα, έτσι δεν θα μπορέσετε να χρησιμοποιήσετε το Postman μέχρι να λυθεί η διένεξη."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:100
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:229
+msgid "Postman is in <em>non-Production</em> mode and is dumping all emails."
+msgstr "Postman είναι σε <em>μη-Παραγωγική</em> κατάσταση και απορρίπτει όλα τα e-mail."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:102
+msgid "<span style=\"color:green\">Postman is configured</span> and has delivered <span style=\"color:green\">%d</span> email."
+msgid_plural "<span style=\"color:green\">Postman is configured</span> and has delivered <span style=\"color:green\">%d</span> emails."
+msgstr[0] "<span style=\"color:green\">Postman is configured</span> and has delivered <span style=\"color:green\">%d</span> email."
+msgstr[1] "<span style=\"color:green\">Το Postman είναι ρυθμισμένο</span> και έχει παραδώσει <span style=\"color:green\">%d</span> emails."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:104
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:234
+msgid "Postman is <em>not</em> configured and is mimicking out-of-the-box WordPress email delivery."
+msgstr "Το Postman <em>δεν</em> είναι διαμορφωμένο και μιμείται την παράδοση e-mail του WordPress ως έχει."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:116
+msgid "Postman is operating in per-site mode."
+msgstr "Το Postman είναι σε κατάσταση λειτουργίας ανά-ιστότοπο."
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:102
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:107
+#: Postman/PostmanViewController.php:295
+msgid "Diagnostic Test"
+msgstr "Διαγνωστικό Τεστ"
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:104
+msgid "Are you having issues with Postman?"
+msgstr "Αντιμετωπίζετε προβλήματα με το Postman;"
+
+#. translators: where %1$s and %2$s are the URLs to the Troubleshooting and
+#. Support Forums on WordPress.org
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:106
+msgid "Please check the <a href=\"%1$s\">troubleshooting and error messages</a> page and the <a href=\"%2$s\">support forum</a>."
+msgstr "Παρακαλούμε ελέγξτε τη σελίδα <a href=\"%1$s\">αντιμετώπιση προβλημάτων και μηνύματα σφάλματος</a> και το <a href=\"%2$s\">φόρουμ υποστήριξης</a>."
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:108
+msgid "If you write for help, please include the following:"
+msgstr "Αν ζητήσετε βοήθεια, παρακαλούμε συμπεριλάβετε τα ακόλουθα:"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:90
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:242
+msgid "Your message was delivered (%d ms) to the SMTP server! Congratulations :)"
+msgstr "Το μήνυμά σας παραδόθηκε (%d ms) στο διακομιστή SMTP! Συγχαρητήρια :)"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:156
+msgid "Mail Log Entries were deleted."
+msgstr "Οι καταχωρήσεις της καταγραφής αλληλογραφίας διαγράφηκαν."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:179
+msgid "Mail Log Entry was deleted."
+msgstr "Η καταχώρηση της καταγραφής αλληλογραφίας διαγράφηκε."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:204
+msgctxt "Who is this message From?"
+msgid "From"
+msgstr "Από"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:208
+msgctxt "Who is this message To?"
+msgid "To"
+msgstr "Προς"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:212
+msgctxt "Who is this message Cc'd to?"
+msgid "Cc"
+msgstr "Κοιν."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:216
+msgctxt "Who is this message Bcc'd to?"
+msgid "Bcc"
+msgstr "Κρυφ. Κοιν."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:222
+msgctxt "What is the date today?"
+msgid "Date"
+msgstr "Ημερομηνία"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:223
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:161
+msgctxt "What is the subject of this message?"
+msgid "Subject"
+msgstr "Θέμα"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:226
+msgctxt "What is the unique URI of the configuration?"
+msgid "Delivery-URI"
+msgstr "URI-Παράδοσης"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:253
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:161
+msgid "This is the conversation between Postman and the mail server. It can be useful for diagnosing problems. <b>DO NOT</b> post it on-line, it may contain your account password."
+msgstr "Αυτή είναι η συζήτηση μεταξύ του Postman και του SMTP διακομιστή σας. Μπορεί να είναι χρήσιμη για διάγνωση προβλημάτων. <b>ΜΗΝ</b> τη δημοσιεύσετε διαδικτυακά, μπορεί να περιέχει τον κωδικό του λογαριασμού σας."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:333
+msgid "%s Email Log"
+msgstr "Καταγραφή email του %s"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:301
+msgid "Email was successfully resent (but without attachments)"
+msgstr ""
+
+#. Translators: Where %s is an error message
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:303
+msgid "Email could not be resent. Error: %s"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:304
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:110
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:112
+msgid "Resend"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:339
+msgid "This is a record of deliveries made to the mail server. It does not neccessarily indicate sucessful delivery to the recipient."
+msgstr "Αυτό είναι ένα αρχείο παραδόσεων που έγιναν στον Mail Submission Agent (MSA). Δεν σημαίνει απαραίτητα ότι παραδόθηκαν επιτυχώς στον παραλήπτη."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogPostType.php:37
+msgctxt "The group of Emails that have been delivered"
+msgid "Sent Emails"
+msgstr "Απεσταλμένα"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogPostType.php:38
+msgctxt "An Email that has been delivered"
+msgid "Sent Email"
+msgstr "Απεσταλμένο"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:75
+msgid "An empty subject line can result in delivery failure."
+msgstr "Προειδοποίηση: Κενή γραμμή θέματος μπορεί να καταλήξει σε αποτυχία παράδοσης."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:196
+msgid ".. +%d more"
+msgstr ".. +%d ακόμη"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:99
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:223
+msgctxt "Delete an item from the email log"
+msgid "Delete"
+msgstr "Διαγραφή"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:100
+msgctxt "View an item from the email log"
+msgid "View"
+msgstr "Προβολή"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:104
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:106
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:158
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:163
+msgid "Session Transcript"
+msgstr "Μεταγραφή Συνεδρίας"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:163
+msgctxt "When was this email sent?"
+msgid "Delivery Time"
+msgstr "Χρόνος Παράδοσης"
+
+#. Translators: where %s indicates the relative time from now
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:332
+msgctxt "A relative time as in \"five days ago\""
+msgid "%s ago"
+msgstr "πριν %s"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:338
+msgid "Sent"
+msgstr "Απεσταλμένα"
+
+#: Postman/Postman-Mail/PostmanDefaultModuleTransport.php:107
+msgid "Default"
+msgstr "προεπιλογή"
+
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:102
+msgid "Gmail API"
+msgstr "Gmail API"
+
+#. translators: where (1) is the secure icon and (2) is the transport name
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:152
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:135
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:79
+msgid "Postman will send mail via the <b>%1$s %2$s</b>."
+msgstr ""
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:166
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:117
+msgid "You have configured OAuth 2.0 authentication, but have not received permission to use it."
+msgstr "Έχετε ρυθμίσει την πιστοποίηση OAuth 2.0 αλλά δεν έχετε λάβει άδεια να τη χρησιμοποιήσετε."
+
+#. translators: where variables are (1) transport name (2) host and (3) port
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:206
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:181
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:125
+msgid "Postman recommends the %1$s to host %2$s on port %3$d."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:221
+#: Postman/Postman-Mail/PostmanModuleTransport.php:713
+msgid "OAuth 2.0 (requires Client ID and Client Secret)"
+msgstr "OAuth 2.0 (απαιτεί Client ID και Client Secret)"
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:44
+msgid "Mandrill API"
+msgstr "Mandrill API"
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:147
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:101
+msgid "API Key can not be empty"
+msgstr "Το κλειδί API δεν μπορεί να είναι κενό."
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:151
+#: Postman/Postman-Mail/PostmanModuleTransport.php:578
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:105
+msgid "Message From Address can not be empty"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:194
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:228
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:271
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:148
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:182
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:222
+msgid "API Key"
+msgstr "Κλειδί API"
+
+#. Translators: Where (1) is the service URL and (2) is the service name and
+#. (3) is a api key URL
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:238
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:189
+msgid "Create an account at <a href=\"%1$s\" target=\"_new\">%2$s</a> and enter <a href=\"%3$s\" target=\"_new\">an API key</a> below."
+msgstr "Δημιουργήστε ένα λογαριασμό στο <a href=\"%1$s\" target=\"_new\">%2$s</a> και εισάγετε <a href=\"%3$s\" target=\"_new\">ένα κλειδί API</a> παρακάτω."
+
+#. translators: where (1) is the transport type, (2) is the host, and (3) is
+#. the Authentication Type (e.g. Postman will send mail via smtp.gmail.com:465
+#. using OAuth 2.0 authentication.)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:506
+msgid "Postman will send mail via %1$s to %2$s using %3$s authentication."
+msgstr "Το Postman θα στέλνει e-mail μέσω του %1$s στο %2$s με πιστοποίηση %3$s."
+
+#. translators: where %1$s is the Transport type (e.g. SMTP or SMTPS) and %2$s
+#. is the encryption type (e.g. SSL or TLS)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:534
+msgctxt "as in \"There is no Spoon\""
+msgid "no"
+msgstr "καμία"
+
+#: Postman/Postman-Mail/PostmanModuleTransport.php:553
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:366
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:584
+msgid "Password"
+msgstr "Κωδικός"
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label (e.g. Warning: OAuth 2.0 authentication requires an OAuth 2.0-capable
+#. Outgoing Mail Server, Sender Email Address, Client ID, and Client Secret.)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:584
+msgid "OAuth 2.0 authentication requires a %1$s and %2$s."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanModuleTransport.php:706
+msgid "Password (requires username and password)"
+msgstr "Κωδικός (απαιτεί όνομα χρήστη και κωδικό)"
+
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:200
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:217
+msgid "MyMail: Change the delivery method in the %s!"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:39
+msgid "SendGrid API"
+msgstr "SendGrid API"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:95
+msgid "Outgoing Mail Server Hostname and Port can not be empty."
+msgstr "Το όνομα του διακομιστή εξερχομένων e-mail και η θύρα δεν μπορεί να είναι κενά."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:99
+msgid "Envelope-From Email Address can not be empty"
+msgstr "Η Διεύθυνση Αποστολέα Φακέλου και η Διεύθυνση Αποστολέα Μηνύματος δεν μπορούν να είναι κενές."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:103
+msgid "Username and password can not be empty."
+msgstr "Η πιστοποίηση με κωδικό (Απλή/Σύνδεση/CRAM-MD5) απαιτεί όνομα χρήστη και κωδικό."
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label (e.g. Warning: OAuth 2.0 authentication requires an OAuth 2.0-capable
+#. Outgoing Mail Server, Sender Email Address, Client ID, and Client Secret.)
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:109
+msgid "OAuth 2.0 authentication requires a supported OAuth 2.0-capable Outgoing Mail Server."
+msgstr "Η πιστοποίηση OAuth 2.0 απαιτεί ένα υποστηριζόμενο Διακομιστή Εξερχόμενης Αλληλογραφίας με δυνατότητες OAuth 2.0, %1$s και%2$s."
+
+#. translators: where %1$s is a description of the transport (eg. SMTPS-SSL),
+#. %2$s is a description of the authentication (eg. Password-CRAMMD5), %3$d is
+#. the TCP port (eg. 465), %4$d is the hostname
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:269
+msgid "Postman recommends %1$s with %2$s authentication to host %4$s on port %3$d."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:326
+msgid "Transport Settings"
+msgstr "Ρυθμίσεις Μεταφοράς"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:336
+msgid "Outgoing Mail Server Port"
+msgstr "Θύρα Διακομιστή Εξερχόμενης Αλληλογραφίας"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:341
+msgid "Envelope-From Email Address"
+msgstr "Διεύθυνση Αποστολέα Φακέλου"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:346
+msgctxt "Configuration Input Field"
+msgid "Security"
+msgstr "Ασφάλεια"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:361
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:580
+msgid "Username"
+msgstr "Όνομα χρήστη"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:402
+msgid "Configure the communication with the mail server."
+msgstr "Διαμορφώστε την επικοινωνία με τον Mail Submission Agent (MSA):"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:449
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:579
+msgid "Enter the account credentials."
+msgstr "Εισάγετε τα στοιχεία σας σύνδεσης."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:457
+msgid "The Username is usually the same as the Envelope-From Email Address."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:511
+msgid "Error computing your domain root - please enter it manually"
+msgstr "Σφάλμα υπολογισμού του root του τομέα σας - παρακαλούμε βάλτε το χειροκίνητα"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:532
+msgid "For reliable delivery, this domain must specify an <a target=\"_new\" href=\"%s\">SPF record</a> permitting the use of the SMTP server named above."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:539
+msgctxt "Wizard Step Title"
+msgid "Which host will relay the mail?"
+msgstr "Ποιος διακομιστής θα μεταδώσει το μήνυμα;"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:540
+msgid "This is the Outgoing (SMTP) Mail Server, or Mail Submission Agent (MSA), which Postman delegates mail delivery to. This server is specific to your email account, and if you don't know what to use, ask your email service provider."
+msgstr "Αυτός είναι ο Διακομιστής Εξερχόμενης Αλληλογραφίας (SMTP) ή ο Mail Submission Agent (MSA), στους οποίους το Postman μεταφέρει την παράδοση της αλληλογραφίας. Αυτός ο διακομιστής είναι συγκεκριμένος "
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:541
+msgid "Note that many WordPress hosts, such as GoDaddy, Bluehost and Dreamhost, require that you use their mail accounts with their mail servers, and prevent you from using others."
+msgstr "Σημειώστε ότι πολλοί πάροχοι WordPress, όπως οι GoDaddy, Bluehost και Dreamhost, απαιτούν να χρησιμοποιήσετε τους δικούς τους λογαριασμούς αλληλογραφίας με τους δικούς τους διακομιστές και εμποδίζουν τη χρήση άλλων."
+
+#. Translators: Where (%s) is the name of the web host
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:547
+msgid "Your email address <b>requires</b> access to a remote SMTP server blocked by %s."
+msgstr "Η διεύθυνση email σας <b>απαιτεί</b> πρόσβαση σε απομακρυσμένο διακομιστή SMTP που αποκλείεται από το %s."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:548
+msgid "If you have access to cPanel, enable the Remote Mail Exchanger."
+msgstr ""
+
+#. Translators: Where (%1$s) is the SPF-info URL and (%2$s) is the name of the
+#. web host
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:551
+msgid "If you own this domain, make sure it has an <a href=\"%1$s\">SPF record authorizing %2$s</a> as a relay, or you will have delivery problems."
+msgstr "Αν σας ανήκει αυτός ο τομέας, βεβαιωθείτε ότι έχει μια <a href=\"%1$s\">καταχώρηση SPF που εξουσιοδοτεί το %2$s</a> ως διαμεσολαβητή αλλιώς θα έχετε προβλήματα παράδοσης."
+
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:231
+msgid "Postman is configured."
+msgstr "Το Postman ρυθμίστηκε."
+
+#: Postman/Postman-Mail/PostmanZendMailEngine.php:209
+msgid "Communication Error [334] - make sure the Envelope From email is the same account used to create the Client ID."
+msgstr "Σφάλμα Επικοινωνίας [334] - βεβαιωθείτε ότι το e-mail στο Φάκελος Από είναι το ίδιο με του λογαριασμού που χρησιμοποιήθηκε για τη δημιουργία του Client ID."
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:115
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:149
+msgctxt "Email Test Status"
+msgid "In Outbox"
+msgstr "Στα Εξερχόμενα"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:116
+msgctxt "Email Test Status"
+msgid "Sending..."
+msgstr "Αποστολή..."
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:117
+msgctxt "Email Test Status"
+msgid "Success"
+msgstr "Επιτυχής"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:118
+msgctxt "Email Test Status"
+msgid "Failed"
+msgstr "Απέτυχε"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:119
+msgid "Ajax Error"
+msgstr ""
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:128
+#: Postman/PostmanViewController.php:273 Postman/PostmanViewController.php:275
+msgid "Send a Test Email"
+msgstr "Αποστολή Δοκιμαστικού E-mail"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:133
+msgid "Specify the Recipient"
+msgstr "Ορίστε τον Παραλήπτη"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:135
+msgid "Who is this message going to?"
+msgstr "Σε ποιον πηγαίνει το μήνυμα;"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:136
+msgid "This utility allows you to send an email message for testing."
+msgstr "Αυτή η υπηρεσία σας επιτρέπει να στείλετε ένα e-mail για δοκιμή."
+
+#. translators: where %d is an amount of time, in seconds
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:139
+msgid "If there is a problem, Postman will give up after %d second."
+msgid_plural "If there is a problem, Postman will give up after %d seconds."
+msgstr[0] "Αν υπάρχει πρόβλημα, το Postman θα εγκαταλείψει μετά από %d δευτερόλεπτο."
+msgstr[1] "Αν υπάρχει πρόβλημα, το Postman θα εγκαταλείψει μετά από %d δευτερόλεπτα."
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:140
+msgctxt "Configuration Input Field"
+msgid "Recipient Email Address"
+msgstr "Διεύθυνση e-mail παραλήπτη"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:145
+msgid "Send The Message"
+msgstr "Αποστολή Μηνύματος"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:148
+msgid "Sending the message:"
+msgstr "Το μήνυμα αποστέλλεται:"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:160
+msgid "Examine the Session Transcript if you need to."
+msgstr "Εξετάστε τη Μεταγραφή Συνεδρίας SMTP αν χρειάζεται."
+
+#. translators: where %s is the domain name of the site
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:212
+msgctxt "Test Email Subject"
+msgid "Postman SMTP Test (%s)"
+msgstr "Δοκιμή SMTP του Postman (%s)"
+
+#. translators: where %s is the Postman plugin version number (e.g. 1.4)
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:299
+msgctxt "Test Email Tagline"
+msgid "Sent by Postman %s"
+msgstr "Στάλθηκε από το Postman %s"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:300
+msgid "Image source"
+msgstr "Πηγή εικόνας"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:301
+msgid "Used with permission"
+msgstr "Χρήση με άδεια"
+
+#: Postman/PostmanAdminController.php:111
+msgctxt "The plugin successfully saved new settings."
+msgid "Settings saved."
+msgstr "Οι ρυθμίσεις αποθηκεύτηκαν."
+
+#. Translators: where %1$s is the name of the library
+#: Postman/PostmanAdminController.php:178
+msgid "This PHP installation requires the <b>%1$s</b> library."
+msgstr "Αυτή η εγκατάσταση της PHP απαιτεί τη βιβλιοθήκη <b>%1$s</b>."
+
+#: Postman/PostmanAdminController.php:253
+msgid "There was an error importing the data."
+msgstr ""
+
+#: Postman/PostmanAdminController.php:270
+msgid "Plugin data was removed."
+msgstr "Τα δεδομένα του πρόσθετου αφαιρέθηκαν."
+
+#: Postman/PostmanAdminController.php:294
+msgid "The OAuth 2.0 authorization was successful. Ready to send e-mail."
+msgstr "Η πιστοποίηση OAuth 2.0 ήταν επιτυχής. Έτοιμοι για αποστολή e-mail."
+
+#: Postman/PostmanAdminController.php:296
+msgid "Your email provider did not grant Postman permission. Try again."
+msgstr "Ο πάροχος του email σας δεν έδωσε άδεια στο Postman. Δοκιμάστε ξανά."
+
+#: Postman/PostmanAdminController.php:299
+msgid "The grant code from Google had no accompanying state and may be a forgery"
+msgstr "Ο κώδικας που δόθηκε από τη Google δεν είχε συνοδευτική κατάσταση και μπορεί να είναι πλαστός"
+
+#. translators: %s is the error message
+#: Postman/PostmanAdminController.php:303
+msgid "Error authenticating with this Client ID. [%s]"
+msgstr "Σφάλμα πιστοποίησης με αυτό το Client ID. [%s]"
+
+#: Postman/PostmanConfigTextHelper.php:31
+msgid "Attention"
+msgstr "Προσοχή"
+
+#. translators: parameters available are 1=portal-url, 2=portal-name,
+#. 3=clientId-name, 4=clientSecret-name, 5=callbackUrl, 6=service-name,
+#. 7=portal-application (e.g. Open the Google Developer Console, create a
+#. Client ID for web application using the URL's displayed below, and copy the
+#. Client ID and Client Secret here.)
+#: Postman/PostmanConfigTextHelper.php:33
+msgid "Open the <a href=\"%1$s\" target=\"_new\">%2$s</a>, create <b>%7$s</b> with the values displayed below, and copy the generated %3$s and %4$s here."
+msgstr "Ανοίξτε το <a href=\"%1$s\" target=\"_new\">%2$s</a>, δημιουργήστε <b>%7$s</b> με τις τιμές που εμφανίζονται παρακάτω και αντιγράψτε τα παραγόμενα %3$s και %4$s εδώ."
+
+#. translators: parameters available are 1=clientId-name, 2=service-name,
+#. 3=FAQ-URL, 4=Video-URL (e.g. See How do I get a Google Client ID? in the
+#. F.A.Q.)
+#: Postman/PostmanConfigTextHelper.php:36
+msgid "See <a href=\"%3$s\" target=\"_new\">How do I get a %1$s %2$s?</a> in the F.A.Q. or <a href=\"%4$s\" target=\"_new\">watch our How-To video 📺</a>."
+msgstr "Δείτε το <a href=\"%3$s\" target=\"_new\">How do I get a %1$s %2$s?</a> στις F.A.Q. ή <a href=\"%4$s\" target=\"_new\">παρακολουθήστε το How-To βίντεό μας 📺</a>."
+
+#. translators: where %s is the Email Service Owner (e.g. Google, Microsoft or
+#. Yahoo)
+#: Postman/PostmanConfigTextHelper.php:54
+msgctxt "Command to initiate OAuth authentication"
+msgid "Grant permission with %s"
+msgstr "Δώστε άδεια με %s"
+
+#. Translators: This description is specific to Google
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:80
+#: Postman/PostmanConfigTextHelper.php:142
+#: Postman/PostmanConfigTextHelper.php:204
+#: Postman/PostmanConfigTextHelper.php:271
+msgctxt "Name of the OAuth 2.0 Client ID"
+msgid "Client ID"
+msgstr "Client ID"
+
+#. Translators: This description is specific to Google
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:84
+#: Postman/PostmanConfigTextHelper.php:146
+#: Postman/PostmanConfigTextHelper.php:208
+#: Postman/PostmanConfigTextHelper.php:274
+msgctxt "Name of the OAuth 2.0 Client Secret"
+msgid "Client Secret"
+msgstr "Client Secret"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:88
+msgctxt "Name of the Application Callback URI"
+msgid "Authorized redirect URI"
+msgstr "URI για εξουσιοδοτημένη ανακατεύθυνση"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:92
+msgctxt "Name of the Application Callback Domain"
+msgid "Authorized JavaScript origins"
+msgstr "Εξουσιοδοτημένες προελεύσεις Javascript"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:96
+msgctxt "Name of the email service owner"
+msgid "Google"
+msgstr "Google"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:100
+msgctxt "Name of the email service"
+msgid "Gmail"
+msgstr "Gmail"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:104
+msgctxt "Description of the email service OAuth 2.0 Application"
+msgid "a Client ID for web application"
+msgstr "ένα Client ID για διαδικτυακή εφαρμογή"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:108
+msgctxt "Name of the email service portal"
+msgid "Google Developers Console Gmail Wizard"
+msgstr "Google Developers Console Gmail Wizard"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:150
+msgctxt "Name of the Application Callback URI"
+msgid "Redirect URL"
+msgstr "URL ανακατεύθυνσης"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:154
+msgctxt "Name of the Application Callback Domain"
+msgid "Root Domain"
+msgstr "Τομέας Root"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:158
+msgctxt "Name of the email service owner"
+msgid "Microsoft"
+msgstr "Microsoft"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:162
+msgctxt "Name of the email service"
+msgid "Outlook.com"
+msgstr "Outlook.com"
+
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:166
+#: Postman/PostmanConfigTextHelper.php:228
+msgctxt "Description of the email service OAuth 2.0 Application"
+msgid "an Application"
+msgstr "μια Εφαρμογή"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:170
+msgctxt "Name of the email service portal"
+msgid "Microsoft Developer Center"
+msgstr "Microsoft Developer Center"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:212
+msgctxt "Name of the Application Callback URI"
+msgid "Home Page URL"
+msgstr "URL Αρχικής Σελίδας"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:216
+msgctxt "Name of the Application Callback Domain"
+msgid "Callback Domain"
+msgstr "Τομέας Επανάκλησης (Callback)"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:220
+msgctxt "Name of the email service owner"
+msgid "Yahoo"
+msgstr "Yahoo"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:224
+msgctxt "Name of the email service"
+msgid "Yahoo Mail"
+msgstr "Yahoo Mail"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:232
+msgctxt "Name of the email service portal"
+msgid "Yahoo Developer Network"
+msgstr "Yahoo Developer Network"
+
+#: Postman/PostmanConfigTextHelper.php:261
+msgid "Enter an Outgoing Mail Server with OAuth2 capabilities."
+msgstr "Εισάγετε ένα Διακομιστή Εξερχόμενης Αλληλογραφίας που υποστηρίζει OAuth2."
+
+#: Postman/PostmanConfigTextHelper.php:277
+msgctxt "Name of the Application Callback URI"
+msgid "Redirect URI"
+msgstr "URI ανακατεύθυνσης"
+
+#: Postman/PostmanConfigTextHelper.php:280
+msgctxt "Name of the Application Callback Domain"
+msgid "Website Domain"
+msgstr "Τομέας Ιστότοπου"
+
+#: Postman/PostmanConfigTextHelper.php:304
+msgid "Grant OAuth 2.0 Permission"
+msgstr "Δώστε Άδεια OAuth 2.0"
+
+#: Postman/PostmanInputSanitizer.php:137
+msgid "must be greater than 0"
+msgstr "πρέπει να είναι μεγαλύτερη από 0"
+
+#: Postman/PostmanViewController.php:112
+msgid "An unexpected error occurred"
+msgstr ""
+
+#: Postman/PostmanViewController.php:113
+msgid "Unexpected PHP messages corrupted the Ajax response"
+msgstr "Μη αναμενόμενα μηνύματα PHP αλλοίωσαν την απόκριση του Ajax"
+
+#: Postman/PostmanViewController.php:118
+msgctxt "Press this button to Finish this task"
+msgid "Finish"
+msgstr "Τέλος"
+
+#: Postman/PostmanViewController.php:119
+msgctxt "Press this button to go to the next step"
+msgid "Next"
+msgstr "Επόμενο"
+
+#: Postman/PostmanViewController.php:120
+msgctxt "Press this button to go to the previous step"
+msgid "Previous"
+msgstr "Προηγούμενο"
+
+#: Postman/PostmanViewController.php:132
+msgid "Postman is unable to run. Email delivery is being handled by WordPress (or another plugin)."
+msgstr "Το Postman δεν μπορεί να εκτελεστεί. Η παράδοση των e-mail γίνεται από το WordPress (ή άλλο πρόσθετο)."
+
+#. translators: where %d is the number of emails delivered
+#: Postman/PostmanViewController.php:147
+msgid "Postman has delivered <span style=\"color:green\">%d</span> email."
+msgid_plural "Postman has delivered <span style=\"color:green\">%d</span> emails."
+msgstr[0] "Το Postman έχει παραδώσει <span style=\\\"color:green\\\">%d</span> email για εσάς."
+msgstr[1] "Το Postman έχει παραδώσει <span style=\\\"color:green\\\">%d</span> email για εσάς."
+
+#: Postman/PostmanViewController.php:150
+msgid "The last %d email attempts are recorded <a href=\"%s\">in the log</a>."
+msgstr "Προβολή αρχείου καταγραφής"
+
+#: Postman/PostmanViewController.php:155
+msgid "Thank-you for choosing Postman!"
+msgstr "Ευχαριστούμε που επιλέξατε το Postman!"
+
+#. translators: where %s is the URL of the Setup Wizard
+#: Postman/PostmanViewController.php:157
+msgid "Let's get started! All users are strongly encouraged to <a href=\"%s\">run the Setup Wizard</a>."
+msgstr "Ας ξεκινήσουμε! Προτείνουμε όλοι οι χρήστες να <a href=\"%s\">εκτελέσουν τον Οδηγό Ρύθμισης</a>."
+
+#: Postman/PostmanViewController.php:158
+msgid "Alternately, <a href=\"%s\">manually configure</a> your own settings and/or modify advanced options."
+msgstr "Εναλλακτικά, <a href=\"%s\">διαμορφώστε χειροκίνητα</a> τις δικές σας ρυθμίσεις και/ή τροποποιήστε τις επιλογές για προχωρημένους."
+
+#. translators: where %s is the URL to the WordPress.org review and ratings
+#. page
+#: Postman/PostmanViewController.php:163
+msgid "Please consider <a href=\"%s\">leaving a review</a> to help spread the word! :D"
+msgstr "Παρακαλούμε <a href=\"%s\">αφήστε μια κριτική</a> για να βοηθήσετε να γίνει γνωστό! :D"
+
+#: Postman/PostmanViewController.php:165
+msgid "Postman needs translators! Please take a moment to <a href=\"%s\">translate a few sentences on-line</a>"
+msgstr ""
+
+#: Postman/PostmanViewController.php:167
+msgid "<b style=\"background-color:yellow\">New for v1.7!</style></b> Send mail with the Mandrill or SendGrid APIs."
+msgstr ""
+
+#: Postman/PostmanViewController.php:191
+msgctxt "Return to main menu link"
+msgid "Back To Main Menu"
+msgstr "Πίσω στο Κεντρικό Μενού"
+
+#: Postman/PostmanViewController.php:198 Postman/PostmanViewController.php:233
+#: Postman/PostmanViewController.php:284
+msgid "Import"
+msgstr "Εισαγωγή"
+
+#: Postman/PostmanViewController.php:199 Postman/PostmanViewController.php:285
+msgid "Export"
+msgstr "Εξαγωγή"
+
+#: Postman/PostmanViewController.php:200 Postman/PostmanViewController.php:286
+msgid "Reset Plugin"
+msgstr ""
+
+#: Postman/PostmanViewController.php:206
+msgid "Copy this data into another instance of Postman to duplicate the configuration."
+msgstr ""
+
+#: Postman/PostmanViewController.php:225
+msgid "Paste data from another instance of Postman here to duplicate the configuration."
+msgstr ""
+
+#: Postman/PostmanViewController.php:228
+msgid "Using the same OAuth 2.0 Client ID and Client Secret from this site at the same time as another site will cause failures."
+msgstr ""
+
+#: Postman/PostmanViewController.php:241
+msgid "This will purge all of Postman's settings, including account credentials and the email log."
+msgstr "Αυτό θα εκκαθαρίσει όλες τις ρυθμίσεις του Postman, συμπεριλαμβανομένων των στοιχείων σύνδεσης λογαριασμών και του αρχείου καταγραφής email."
+
+#: Postman/PostmanViewController.php:241
+msgid "Are you sure?"
+msgstr "Είστε βέβαιοι;"
+
+#: Postman/PostmanViewController.php:261
+msgid "Configuration"
+msgstr "Ρύθμιση"
+
+#: Postman/PostmanViewController.php:262
+msgid "Start the Wizard"
+msgstr "Εκκίνηση του Οδηγού"
+
+#: Postman/PostmanViewController.php:263
+msgid "Show All Settings"
+msgstr ""
+
+#: Postman/PostmanViewController.php:266
+msgctxt "Main Menu"
+msgid "Actions"
+msgstr "Ενέργειες"
+
+#: Postman/PostmanViewController.php:292
+msgctxt "Main Menu"
+msgid "Troubleshooting"
+msgstr "Αντιμετώπιση προβλημάτων"
+
+#: Postman/PostmanViewController.php:296
+msgid "Online Support"
+msgstr "Διαδικτυακή Υποστήριξη"
+
+#. Plugin URI of the plugin/theme
+msgid "https://wordpress.org/plugins/postman-smtp/"
+msgstr "https://wordpress.org/plugins/postman-smtp/"
+
+#. Description of the plugin/theme
+msgid "Email not reliable? Postman is the first and only WordPress SMTP plugin to implement OAuth 2.0 for Gmail, Hotmail and Yahoo Mail. Setup is a breeze with the Configuration Wizard and integrated Port Tester. Enjoy worry-free delivery even if your password changes!"
+msgstr "Το e-mail σας δεν είναι αξιόπιστο; Το Postman είναι το πρώτο και το μοναδικό πρόσθετο SMTP του WordPress που υλοποιεί πιστοποίηση OAuth 2.0 για Gmail, Hotmail και Yahoo Mail. Η ρύθμιση είναι παιχνιδάκι με τον Οδηγό Διαμόρφωσης και την ενσωματωμένη Δοκιμή Θύρας. Απολαύστε παράδοση e-mail χωρίς άγχος ακόμα και αν αλλάξει ο κωδικός σας!"
+
+#. Author of the plugin/theme
+msgid "Jason Hendriks"
+msgstr "Jason Hendriks"
+
+#. Author URI of the plugin/theme
+msgid "http://www.codingmonkey.ca"
+msgstr "http://www.codingmonkey.ca"
+
+#~ msgid "Change the delivery method on the %s!"
+#~ msgstr "Αλλαγή της μεθόδου παράδοσης στο %s!"
+
+#~ msgid "<a href=\"%s\">Configure</a> the plugin."
+#~ msgstr "<a href=\"%s\">Διαμορφώστε</a> το πρόσθετο."
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Test Your Setup"
+#~ msgstr "Ελέγξτε τις ρυθμίσεις σας"
+
+#~ msgctxt "eg. TCP Port 25"
+#~ msgid "Port"
+#~ msgstr "Θύρα"
+
+#~ msgid "New for v1.6! Email Log"
+#~ msgstr "Νέο για την v1.6! Καταγραφή e-mail"
+
+#~ msgid "Enable to save a copy of all your emails. Great for troubleshooting or as a backup for messages that get lost. <b>Access the Email Log in the Tools menu.</b>"
+#~ msgstr "Ενεργοποιήστε για αποθήκευση ενός αντιγράφου όλων των e-mail σας. Εξαιρετικό για εντοπισμό προβλημάτων ή για αντίγραφο ασφαλείας μηνυμάτων που χάνονται. <b>Βρείτε την Καταγραφή e-mail στο μενού Εργαλεία.</b>"
+
+#~ msgctxt "The configuration page of the plugin"
+#~ msgid "Settings"
+#~ msgstr "Ρυθμίσεις"
+
+#~ msgid "Postman is <em>not</em> handling email delivery."
+#~ msgstr "Το Postman <em>δεν</em> διαχειρίζεται την παράδοση e-mail."
+
+#~ msgctxt "As in type used: None"
+#~ msgid "None"
+#~ msgstr "Κανένας"
+
+#~ msgctxt "Who do we reply to?"
+#~ msgid "Reply-To"
+#~ msgstr "Απάντηση σε"
+
+#~ msgid "This is the conversation between Postman and your SMTP server. It can be useful for diagnosing problems. <b>DO NOT</b> post it on-line, it may contain your account password."
+#~ msgstr "Αυτή είναι η συζήτηση μεταξύ του Postman και του SMTP διακομιστή σας. Μπορεί να είναι χρήσιμη για διάγνωση προβλημάτων. <b>ΜΗΝ</b> τη δημοσιεύσετε διαδικτυακά, μπορεί να περιέχει τον κωδικό του λογαριασμού σας."
+
+#~ msgid "Postman Email Log"
+#~ msgstr "Καταγραφή email του Postman"
+
+#~ msgid "This is a record of deliveries made to the Mail Submission Agent (MSA). It does not neccessarily indicate sucessful delivery to the recipient."
+#~ msgstr "Αυτό είναι ένα αρχείο παραδόσεων που έγιναν στον Mail Submission Agent (MSA). Δεν σημαίνει απαραίτητα ότι παραδόθηκαν επιτυχώς στον παραλήπτη."
+
+#~ msgid "Warning: An empty subject line can result in delivery failure."
+#~ msgstr "Προειδοποίηση: Κενή γραμμή θέματος μπορεί να καταλήξει σε αποτυχία παράδοσης."
+
+#~ msgctxt "View the transcript of an item from the email log"
+#~ msgid "Transcript"
+#~ msgstr "Μεταγραφή"
+
+#~ msgctxt "Attempt to resend this email"
+#~ msgid "Resend"
+#~ msgstr "Επαναποστολή"
+
+#~ msgctxt "Was sending this email successful or not?"
+#~ msgid "Status"
+#~ msgstr "Κατάσταση"
+
+#~ msgctxt "Transport Name"
+#~ msgid "Gmail API"
+#~ msgstr "Gmail API"
+
+#~ msgctxt "Authentication Type is OAuth 2.0"
+#~ msgid "OAuth 2.0"
+#~ msgstr "OAuth 2.0"
+
+#~ msgid "Postman will send mail via the <b>🔐Gmail API</b> using %s authentication."
+#~ msgstr "To Postman θα στέλνει e-mail μέσω του <b>🔐Gmail API</b> με χρήση πιστοποίησης %s."
+
+#~ msgid "OAuth 2.0 authentication requires a Client ID and Client Secret."
+#~ msgstr "Η πιστοποίηση OAuth 2.0 απαιτεί ένα Client ID και Client Secret."
+
+#~ msgid "Envelope From Address and Message From Address can not be empty."
+#~ msgstr "Η Διεύθυνση Αποστολέα Φακέλου και η Διεύθυνση Αποστολέα Μηνύματος δεν μπορούν να είναι κενές."
+
+#~ msgid "Postman recommends Gmail API configuration on port %d"
+#~ msgstr "Το Postman προτείνει τη ρύθμιση του Gmail API στη θύρα %d"
+
+#~ msgctxt "Transport Name"
+#~ msgid "SMTP"
+#~ msgstr "SMTP"
+
+#~ msgctxt "as in \"There is no Authentication\""
+#~ msgid "no"
+#~ msgstr "καμία"
+
+#~ msgctxt "As in type used: CRAM-MD5"
+#~ msgid "CRAM-MD5"
+#~ msgstr "CRAM-MD5"
+
+#~ msgctxt "As in type used: Login"
+#~ msgid "Login"
+#~ msgstr "Σύνδεση"
+
+#~ msgctxt "As in type used: Plain"
+#~ msgid "Plain"
+#~ msgstr "Απλή"
+
+#~ msgctxt "This authentication type is password-based"
+#~ msgid "Password (%s)"
+#~ msgstr "Κωδικός (%s)"
+
+#~ msgid "Password authentication (Plain/Login/CRAM-MD5) requires a username and password."
+#~ msgstr "Η πιστοποίηση με κωδικό (Απλή/Σύνδεση/CRAM-MD5) απαιτεί όνομα χρήστη και κωδικό."
+
+#~ msgid "OAuth 2.0 authentication requires a supported OAuth 2.0-capable Outgoing Mail Server, %1$s, and %2$s."
+#~ msgstr "Η πιστοποίηση OAuth 2.0 απαιτεί ένα υποστηριζόμενο Διακομιστή Εξερχόμενης Αλληλογραφίας με δυνατότητες OAuth 2.0, %1$s και%2$s."
+
+#~ msgid "Your recommended settings are %1$s with %2$s authentication to host %4$s on port %3$d."
+#~ msgstr "Οι προτεινόμενες ρυθμίσεις σας είναι %1$s με πιστοποίηση %2$s στο διακομιστή %4$s στη θύρα %3$d."
+
+#~ msgid "The selected transport '%s' is unavailable. The external plugin was probably deactivated."
+#~ msgstr "Η επιλεγμένη μέθοδος '%s' δεν είναι διαθέσιμη. Το εξωτερικό πρόσθετο πιθανώς απενεργοποιήθηκε."
+
+#~ msgid "WordPress is still handling email delivery, <em>not</em> Postman."
+#~ msgstr "Το Postman <em>δεν</em> διαχειρίζεται την παράδοση e-mail."
+
+#~ msgctxt "The Transport is the method for sending mail, SMTP or API"
+#~ msgid "Transport"
+#~ msgstr "Μέθοδος αποστολής"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Transport Settings"
+#~ msgstr "Ρυθμίσεις μεθόδου αποστολής"
+
+#~ msgctxt "Authentication proves the user's identity"
+#~ msgid "Authentication"
+#~ msgstr "Πιστοποίηση"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Username"
+#~ msgstr "Όνομα χρήστη"
+
+#~ msgctxt "The Envelope Sender Email Address"
+#~ msgid "Envelope From Address"
+#~ msgstr "Ηλ. Διεύθυνση Φακέλου Από"
+
+#~ msgctxt "The Message Sender Email Address"
+#~ msgid "Message From Address"
+#~ msgstr "Ηλ. Διεύθυνση Μηνύματος Από"
+
+#~ msgctxt "The email address to address replies to"
+#~ msgid "Reply-To"
+#~ msgstr "Ηλ. Διεύθυνση Απάντησης Σε"
+
+#~ msgid "Maximum Number of Log Entries"
+#~ msgstr "Μέγιστος Αριθμός Καταχωρήσεων Καταγραφής"
+
+#~ msgid "Maximum Number of Lines in a Transcript"
+#~ msgstr "Μέγιστος Αριθμός Γραμμών σε μια Μεταγραφή"
+
+#~ msgid "Configure the communication with the Mail Submission Agent (MSA):"
+#~ msgstr "Διαμορφώστε την επικοινωνία με τον Mail Submission Agent (MSA):"
+
+#~ msgid "Enter the account username (email address) and password:"
+#~ msgstr "Εισάγετε το όνομα χρήστη του λογαριασμού (διεύθυνση e-mail) και τον κωδικό:"
+
+#~ msgid "This will purge all of Postman's settings, including SMTP server info, username/password and OAuth Credentials."
+#~ msgstr "Αυτό θα διαγράψει όλες τις ρυθμίσεις του Postman, συμπεριλαμβανομένων των πληροφοριών διακομιστή SMTP, ονόματος χρήστη/κωδικού και Στοιχείων Ταυτοποίησης OAuth."
+
+#~ msgid "Log Level specifies the level of detail written to the WordPress log - view the log with <a href=\"%s\">Debug</a>. Delivery mode offers options useful for developing or testing."
+#~ msgstr "Το επίπεδο καταγραφής καθορίζει το επίπεδο λεπτομέρειας που καταγράφεται στο WordPress - δείτε το αρχείο καταγραφής με <a href=\"%s\">Αποσφαλμάτωση</a>. Η κατάσταση Παράδοση προσφέρει επιλογές χρήσιμες για ανάπτυξη ή δοκιμές."
+
+#~ msgctxt "Log Level"
+#~ msgid "Off"
+#~ msgstr "Καμία"
+
+#~ msgctxt "Log Level"
+#~ msgid "Trace"
+#~ msgstr "Ανίχνευση"
+
+#~ msgctxt "Log Level"
+#~ msgid "Debug"
+#~ msgstr "Αποσφαλμάτωση"
+
+#~ msgctxt "Log Level"
+#~ msgid "Info"
+#~ msgstr "Πληροφορίες"
+
+#~ msgctxt "Log Level"
+#~ msgid "Warning"
+#~ msgstr "Προειδοποίηση"
+
+#~ msgctxt "Log Level"
+#~ msgid "Error"
+#~ msgstr "Σφάλμα"
+
+#~ msgid "<b style=\"color:red\">Attention!</b> Open the <a href=\"%1$s\" target=\"_new\">%2$s</a>, create <b>%7$s</b> with the values displayed below, and copy the generated %3$s and %4$s here."
+#~ msgstr "<b style=\"color:red\">Προσοχή!</b> Ανοίξτε το <a href=\"%1$s\" target=\"_new\">%2$s</a>, δημιουργήστε <b>%7$s</b> με τις τιμές που εμφανίζονται παρακάτω και αντιγράψτε τα παραγόμενα %3$s και %4$s εδώ."
+
+#~ msgctxt "Command to initiate OAuth authentication"
+#~ msgid "Grant OAuth Permission"
+#~ msgstr "Δώστε Άδεια OAuth"
+
+#~ msgid " must be greater than 0"
+#~ msgstr "πρέπει να είναι μεγαλύτερη από 0"
+
+#~ msgctxt "Page Title"
+#~ msgid "Postman Setup"
+#~ msgstr "Ρύθμιση του Postman"
+
+#~ msgid "Having trouble? You can ask for help on our <a href=\"%1$s\" target=\"_blank\">Support Forum</a>. To get the help you need quickly, please post the <a href=\"%s\">Diagnostic Data</a> with your question. You can also check the <a href=\"%3$s\">FAQ</a> and <a href=\"%4$s\">Error Messages</a> pages for answers."
+#~ msgstr "Αντιμετωπίζετε προβλήματα; Μπορείτε να ζητήσετε βοήθεια στο <a href=\"%1$s\" target=\"_blank\">Φόρουμ ΥΠοστήριξης</a>. Για να πάρετε τη βοήθεια που θέλετε γρήγορα, παρακαλούμε συμπεριλάβετε τα <a href=\"%s\">Διαγνωστικά Δεδομένα</a> στην ερώτησή σας. Μπορείτε επίσης να δείτε τις <a href=\"%3$s\">Συχνές Ερωησεις</a> και τις σελίδες <a href=\"%4$s\">Μηνύματα Σφάλματος</a> για απαντήσεις."
+
+#~ msgctxt "Email Test Status"
+#~ msgid "Ajax Error"
+#~ msgstr "Σφάλμα Ajax"
+
+#~ msgid "Unexpected PHP messages corrupted the Ajax response:"
+#~ msgstr "Μη αναμενόμενα μηνύματα PHP αλλοίωσαν την απόκριση του Ajax:"
+
+#~ msgid "Warning: connected to %1$s instead of %2$s."
+#~ msgstr "Προειδοποίηση: συνδέθηκε στον %1$s αντί για τον %2$s."
+
+#~ msgid "Port %d can be used to send <b>Gmail</b> with the Gmail API."
+#~ msgstr "Η θύρα %d μπορεί να χρησιμοποιηθεί για αποστολή <b>Gmail</b> με το Gmail API."
+
+#~ msgid "WordPress (or another plugin) is currently handling email delivery, <em>not</em> Postman."
+#~ msgstr "Το WordPress (ή άλλο πρόσθετο) διαχειρίζεται την παράδοση e-mail αυτή τη στιγμή, <em>όχι</em> το Postman."
+
+#~ msgctxt "Page Title"
+#~ msgid "Manual Configuration"
+#~ msgstr "Χειροκίνητη Διαμόρφωση"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Account"
+#~ msgstr "Λογαριαμός"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Message"
+#~ msgstr "Μήνυμα"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Logging"
+#~ msgstr "Σύνδεση"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Advanced"
+#~ msgstr "Για Προχωρημένους"
+
+#~ msgid "Delete plugin settings"
+#~ msgstr "Διαγραφή ρυθμίσεων προσθέτου"
+
+#~ msgid "This will purge all of Postman's settings, including account credentials and the mail log."
+#~ msgstr "Αυτό θα εκκαθαρίσει όλες τις ρυθμίσεις του Postman, συμπεριλαμβανομένων των στοιχείων σύνδεσης λογαριασμών και του αρχείου καταγραφής email."
+
+#~ msgctxt "Button Label"
+#~ msgid "Delete All Data"
+#~ msgstr "Διαγραφή Όλων των Δεδομένων"
+
+#~ msgctxt "A testing tool which determines connectivity to the Internet"
+#~ msgid "Connectivity Test"
+#~ msgstr "Τεστ Συνδεσιμότητας"
+
+#~ msgctxt "The port number"
+#~ msgid "Port %s"
+#~ msgstr "Θύρα %s"
+
+#~ msgctxt "Is it possible to create network connections to the Internet?"
+#~ msgid "Outbound to Internet"
+#~ msgstr "Εξερχόμενη σύνδεση προς το Διαδίκτυο"
+
+#~ msgctxt "What service is available?"
+#~ msgid "Service Available"
+#~ msgstr "Διαθέσιμη Υπηρεσία"
+
+#~ msgctxt "What is this server's ID?"
+#~ msgid "ID"
+#~ msgstr "ID"
+
+#~ msgid "STARTTLS"
+#~ msgstr "STARTTLS"
+
+#~ msgctxt "Short for Authentication"
+#~ msgid "Auth"
+#~ msgstr "Πιστοπ."
+
+#~ msgctxt "Authentication Type"
+#~ msgid "None"
+#~ msgstr "Καμμία"
+
+#~ msgid "* Port 443 tests against googleapis.com, not the SMTP hostname you enter."
+#~ msgstr "* Η θύρα 443 τεστάρει για το googleapis.com, όχι για το όνομα διακομιστή SMTP που εισάγετε."
+
+#~ msgid "A port with Service Available <span style=\"color:red\">\"No\"</span> indicates one or more of these issues:"
+#~ msgstr "Θύρα με Διαθέσιμη Υπηρεσία <span style=\"color:red\">\"Όχι\"</span> υποδεικνύει ένα ή περισσότερα από αυτά τα προβλήματα:"
+
+#~ msgid "Your <a href=\"%s\">PHP configuration</a> is preventing outbound connections"
+#~ msgstr "Η <a href=\"%s\">διαμόρφωση της PHP</a> σας εμποδίζει τις εξερχόμενες συνδέσεις"
+
+#~ msgid "Your <a href=\"%s\">WordPress configuration</a> is preventing outbound connections"
+#~ msgstr "Η <a href=\"%s\">διαμόρφωση του WordPress</a> σας εμποδίζει εξερχόμενες συνδέσεις"
+
+#~ msgctxt "Adjust the Postman settings by hand"
+#~ msgid "Show Advanced Configuration"
+#~ msgstr "Εμφάνιση Διαμόρφωσης για Προχωρημένους"
+
+#~ msgid "Disable"
+#~ msgstr "Απενεργοποίηση"
+
+#~ msgctxt "Page Title"
+#~ msgid "Postman Setup Wizard"
+#~ msgstr "Οδηγός Ρύθμισης του Postman"
+
+#~ msgid "<b>Error</b>: Your email address <b>requires</b> access to a remote SMTP server blocked by GoDaddy. Use a different e-mail address."
+#~ msgstr "<b>Σφάλμα</b>: Η διεύθυνση email σας <b>απαιτεί</b> πρόσβαση σε απομακρυσμένο διακομιστή SMTP που αποκλείεται από το GoDaddy. Χρησιμοποιήστε διαφορετική διεύθυνση e-mail."
+
+#~ msgid "<b>Warning</b>: If you own this domain, make sure it has an <a href=\"%s\">SPF record authorizing GoDaddy</a> as a relay, or you will have delivery problems."
+#~ msgstr "<b>Προειδοποίηση</b>: Αν σας ανήκει αυτός ο τομέας, βεβαιωθείτε ότι έχει μια <a href=\"%s\">καταχώρηση SPF που εξουσιοδοτεί το GoDaddy</a> ως διαμεσολαβητή αλλιώς θα έχετε προβλήματα παράδοσης."
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "How will the connection to the MSA be established?"
+#~ msgstr "Πως θα γίνει η σύνδεση με τον MSA;"
+
+#~ msgid "Warning: This configuration option will send your authorization credentials in the clear."
+#~ msgstr "Προειδοποίηση: Αυτή η επιλογή θα στείλει τα στοιχεία σύνδεσής σας χωρίς κρυπτογράφηση."
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "How will you prove your identity to the MSA?"
+#~ msgstr "Πως θα αποδείξετε την ταυτότητά σας στον MSA;"
+
+#~ msgid "Enter your credentials. Your username is often your email address."
+#~ msgstr "Εισάγετε τα στοιχεία σας σύνδεσης. Το όνομα χρήστη συχνά είναι το e-mail σας."
+
+#~ msgid "Examine the SMTP Session Transcript if you need to."
+#~ msgstr "Εξετάστε τη Μεταγραφή Συνεδρίας SMTP αν χρειάζεται."
+
+#~ msgid "SMTP Session Transcript"
+#~ msgstr "Μεταγραφή Συνεδρίας SMTP"
+
+#~ msgid "Welcome"
+#~ msgstr "Καλώς ήλθατε"
+
+#~ msgid "The <b>Envelope</b> From address identifies the account owner to the SMTP server."
+#~ msgstr "Η διεύθυνση <b>Φάκελος</b> Από αφορά τον κάτοχο του λογαριασμού στον διακομιστή SMTP."
+
+#~ msgid "The <b>Message</b> From address identifies the sender to the recipient. Change this when you are sending on behalf of someone else, for example to use Google's <a href=\"%s\">Send Mail As</a> feature. Themes and other plugins, especially Contact Forms, are permitted to modify this field."
+#~ msgstr "Η διεύθυνση <b>Μήνυμα</b> Από είναι αυτή που βλέπει ο παραλήπτης ως αποστολέα. Αλλάξτε τη όταν στέλνετε εκ μέρους κάποιου άλλου, παραδείγματος χάριν για να χρησιμοποιήσετε τη δυνατότητα <a href=\"%s\">Αποστολή Αλληλογραιας Ως</a> της Google. Τα θέματα και άλλα πρόσθετα επιτρέπεται να τροποποιούν αυτό το πεδίο."
+
+#~ msgid "Postman has delivered <span style=\"color:green\">%d</span> email for you."
+#~ msgid_plural "Postman has delivered <span style=\"color:green\">%d</span> emails for you."
+#~ msgstr[0] "Το Postman έχει παραδώσει <span style=\"color:green\">%d</span> email για εσάς."
+#~ msgstr[1] "Το Postman έχει παραδώσει <span style=\"color:green\">%d</span> email για εσάς."
+
+#~ msgid "View the log"
+#~ msgstr "Προβολή αρχείου καταγραφής"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Import/Export"
+#~ msgstr "Εισαγωγή/Εξαγωγή"
diff --git a/Postman/languages/postman-smtp-fr_FR.mo b/Postman/languages/postman-smtp-fr_FR.mo
new file mode 100644
index 0000000..49edcd9
--- /dev/null
+++ b/Postman/languages/postman-smtp-fr_FR.mo
Binary files differ
diff --git a/Postman/languages/postman-smtp-fr_FR.po b/Postman/languages/postman-smtp-fr_FR.po
new file mode 100644
index 0000000..922eb88
--- /dev/null
+++ b/Postman/languages/postman-smtp-fr_FR.po
@@ -0,0 +1,2529 @@
+# Copyright (C) 2015 Postman SMTP
+# This file is distributed under the same license as the Postman SMTP package.
+msgid ""
+msgstr ""
+"Project-Id-Version: Postman SMTP 1.4.1\n"
+"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/postman-smtp\n"
+"POT-Creation-Date: 2015-11-08 17:20-0500\n"
+"PO-Revision-Date: 2015-11-09 01:44-0500\n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"Language: fr_CA\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.8.6\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:94
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:348
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:357
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:99
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:116
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:75
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:545
+#: Postman/PostmanViewController.php:227
+msgid "Warning"
+msgstr "Attention"
+
+#. translators: where %s is the name of the SMTP server
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:96
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:116
+msgid "connected to %1$s instead of %2$s."
+msgstr "connecté à %1$s au lieu de %2$s."
+
+#. translators: where %d is a port number
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:98
+msgid "You are about to configure OAuth 2.0 with an IP address instead of a domain name. This is not permitted. Either assign a real domain name to your site or add a fake one in your local host file."
+msgstr "Vous êtes sur le point de configurer OAuth 2.0 avec une adresse IP dans l'URL qui échouera. Soit attribuer un nom de domaine pour votre site ou ajouter un faux dans le fichier hôte de votre machine locale."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:132
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:157
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:83
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:81
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:95
+#: Postman/PostmanViewController.php:53 Postman/PostmanViewController.php:76
+#: Postman/PostmanViewController.php:184 Postman/PostmanViewController.php:256
+msgid "%s Setup"
+msgstr "Réglages de %s"
+
+#. Plugin Name of the plugin/theme
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:132
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:157
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:83
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:57
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:70
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:81
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:333
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:176
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:95
+#: Postman/Postman.php:61 Postman/PostmanViewController.php:53
+#: Postman/PostmanViewController.php:54 Postman/PostmanViewController.php:76
+#: Postman/PostmanViewController.php:184 Postman/PostmanViewController.php:256
+msgid "Postman SMTP"
+msgstr "Postman SMTP"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:196
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:81
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:200
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:217 Postman/Postman.php:316
+#: Postman/PostmanAdminController.php:225
+msgid "Settings"
+msgstr "Réglages"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:198
+msgid "Account"
+msgstr "Compte"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:199
+msgid "Message"
+msgstr "Texte"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:200
+msgid "Logging"
+msgstr "Journalisation"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:201
+msgid "Advanced"
+msgstr "Avancée"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:263
+msgid "Setup Wizard"
+msgstr "Setup Wizard"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:296
+msgctxt "Wizard Step Title"
+msgid "Import Configuration"
+msgstr "Importer configuration"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:298
+msgctxt "Wizard Step Title"
+msgid "Import configuration from another plugin?"
+msgstr "Importer configuration d'un autre plugin?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:299
+msgid "If you had a working configuration with another Plugin, the Setup Wizard can begin with those settings."
+msgstr "Si vous aviez une configuration de travail avec un autre plugin, l'assistant d'installation peut commencer avec ces paramètres."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:301
+#: Postman/Postman-Mail/PostmanModuleTransport.php:720
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:425
+msgid "None"
+msgstr "Aucun"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:312
+msgctxt "Wizard Step Title"
+msgid "Sender Details"
+msgstr "Sender Détails"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:314
+msgctxt "Wizard Step Title"
+msgid "Who is the mail coming from?"
+msgstr "Qui est le courrier en provenance?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:315
+msgid "Enter the email address and name you'd like to send mail as."
+msgstr "Entrez l'adresse e-mail et le nom que vous souhaitez envoyer un mail comme."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:316
+msgid "Please note that to prevent abuse, many email services will <em>not</em> let you send from an email address other than the one you authenticate with."
+msgstr "Veuillez noter que pour combattre le Spam, plusieurs services de messagerie <em>ne permettrons pas</em> l'envoi d'un message provenant d'une autre adresse que la vôtre."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:317
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:49
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:112
+msgid "Email Address"
+msgstr "Adresse e-mail"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:320
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:59
+msgid "Name"
+msgstr "Nom"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:325
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:143
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:331
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:542
+msgid "Outgoing Mail Server Hostname"
+msgstr "Nom d'Hôte du serveur SMTP"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:333
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:337
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:138
+#: Postman/PostmanViewController.php:294
+msgid "Connectivity Test"
+msgstr "Test de connectivité"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:335
+msgid "How will the connection to the mail server be established?"
+msgstr "Comment la connexion au ASC sera créé?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:336
+msgid "Your connection settings depend on what your email service provider offers, and what your WordPress host allows."
+msgstr "Vos paramètres de connexion dépendent sur les offres de ce que votre fournisseur de services de messagerie, et ce que votre hôte WordPress permet."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:337
+msgctxt "TCP Port Test Status"
+msgid "Ready"
+msgstr "Prêt"
+
+#. Translators: Where %1$s is the socket identifier and %2$s is the
+#. authentication type
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:345
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgctxt "A socket is the network term for host and port together"
+msgid "Socket"
+msgstr "Socket"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:346
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:354
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:223
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:177
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:351
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:356
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:372
+msgid "Authentication"
+msgstr "Authentification"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:349
+msgid "This configuration option will send your authorization credentials in the clear."
+msgstr "Cette option de configuration envoie vos informations d'identification de l'autorisation en clair."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:356
+msgid "How will you prove your identity to the mail server?"
+msgstr "Comment allez-vous prouver votre identité à la ASC?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:363
+msgctxt "The final step of the Wizard"
+msgid "Finish"
+msgstr "Fin"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:365
+msgctxt "Wizard Step Title"
+msgid "You're Done!"
+msgstr "Vous avez fini!"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:367
+msgid "Click Finish to save these settings, then:"
+msgstr "Cliquer sur Fin pour sauver ces réglages, ensuite:"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:369
+msgid "Grant permission with the Email Provider for Postman to send email and"
+msgstr "Accorder l'autorisation avec le fournisseur de messagerie pour Postman, envoyer des e-mails et"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:370
+msgid "Send yourself a Test Email to make sure everything is working!"
+msgstr "Envoyez-vous un message test pour vérifier que tout fonctionne!"
+
+#. translators: where %s is the URL to the Connectivity Test page
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:514
+msgid "Postman can't find any way to send mail on your system. Run a <a href=\"%s\">connectivity test</a>."
+msgstr "Postman ne peut pas trouver un moyen pour envoyer des messages sur votre système. Faire un <a href=\"%s\">test de connexion de port</a>."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:33
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Transport"
+msgstr "Transport"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:38
+msgctxt "(i.e.) What kind is it?"
+msgid "Type"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:44
+msgctxt "The Message Sender Email Address"
+msgid "From Address"
+msgstr "Adresse d'expéditeur du message"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:70
+msgid "Additional Email Addresses"
+msgstr "Adresses e-mail supplémentaires"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:75
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:220
+msgid "Reply-To"
+msgstr "Reply-To"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:80
+msgid "To Recipient(s)"
+msgstr "Récipiendaires To"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:85
+msgid "Carbon Copy Recipient(s)"
+msgstr "Récipiendaires Carbon Copy"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:90
+msgid "Blind Carbon Copy Recipient(s)"
+msgstr "Récipiendaires Blind Carbon Copy"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:96
+msgid "Additional Headers"
+msgstr "Têtes additionnels"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:101
+msgid "Custom Headers"
+msgstr "Têtes personnalisés"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:107
+msgid "Validation"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:118
+msgid "Email Log Settings"
+msgstr "Paramètres Niveau du journal"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:123
+msgid "Enable Logging"
+msgstr "Activer la journalisation"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:128
+#: Postman/PostmanInputSanitizer.php:137
+msgid "Maximum Log Entries"
+msgstr "Entrées de journal de courrier ont été supprimées."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:133
+msgid "Maximum Transcript Size"
+msgstr "Taille de la transcription (Total des lignes)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:139
+msgid "Network Settings"
+msgstr "Paramètres réseau"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:144
+msgctxt "Configuration Input Field"
+msgid "TCP Connection Timeout (sec)"
+msgstr "Délai d'attente de connexion (sec)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:149
+msgctxt "Configuration Input Field"
+msgid "TCP Read Timeout (sec)"
+msgstr "Délai pour l'interrogation des données (sec)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:155
+msgctxt "Configuration Section Title"
+msgid "Miscellaneous Settings"
+msgstr "Paramètres divers"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:160
+msgctxt "Configuration Input Field"
+msgid "PHP Log Level"
+msgstr "Niveau de Log PHP"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:165
+msgctxt "Configuration Input Field"
+msgid "Delivery Mode"
+msgstr "Mode de livraison"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:170
+msgctxt "This mode removes the Postman X-Mailer signature from emails"
+msgid "Stealth Mode"
+msgstr "Mode Furtif"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:175
+msgid "Temporary Directory"
+msgstr "Dossier temporaire"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:186
+msgid "Choose SMTP or a vendor-specific API:"
+msgstr "Choisir le SMTP ou une API spécifique au fournisseur :"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:189
+msgid "Configure the delivery audit log:"
+msgstr "Configurer le journal d'audit de livraison:"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:196
+msgid "This address, like the <b>letterhead</b> printed on a letter, identifies the sender to the recipient. Change this when you are sending on behalf of someone else, for example to use Google's <a href=\"%s\">Send Mail As</a> feature. Other plugins, especially Contact Forms, may override this field to be your visitor's address."
+msgstr "Cette adresse, comme le <b>en-tête</b> imprimé sur une lettre, identifie l'expéditeur au destinataire. Changer lorsque vous envoyez au nom de quelqu'un d'autre, par exemple pour utiliser Google <a href=\"%s\">Send Mail As</a> fonctionnalité. Autres plugins, en particulier les formulaires de contact, peut l'emporter ce domaine pour être l'adresse de votre visiteur."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:203
+msgid "Separate multiple <b>to</b>/<b>cc</b>/<b>bcc</b> recipients with commas."
+msgstr "Séparer les <b>to</b>/<b>cc</b>/<b>bcc</b> destinataires par des virgules."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:210
+msgid "Increase the timeouts if your host is intermittenly failing to send mail. Be careful, this also correlates to how long your user must wait if the mail server is unreachable."
+msgstr "Augmenter le temp de lecture si votre hôte échoue à envoyer du courrier à répétitions. Attention, cette action est en corrélation avec le temps d'attente que subira l'usager si votre serveur de courrier est injoignable."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:221
+msgid "Specify custom headers (e.g. <code>X-MC-Tags: wordpress-site-A</code>), one per line. Use custom headers with caution as they can negatively affect your Spam score."
+msgstr "Spécifiez têtes personnalisés (par exemple <code>X-MC-Tags: wordpress site-A</code>), un par ligne. Utilisez-têtes personnalisés avec prudence, car ils peuvent nuire à votre score de spam."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:228
+msgid "E-mail addresses can be validated before sending e-mail, however this may fail with some newer domains."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:254
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:276
+msgid "Prevent <b>plugins</b> and <b>themes</b> from changing this"
+msgstr "Empêcher des <b>plugins</b> et des <b>thèmes</b> de modifier ceci"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:261
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:405
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:244
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:195
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:409
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:416
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:459
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:467
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:475
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:482
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:530
+msgid "Required"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:268
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:531
+msgid "This address, like the <b>return address</b> printed on an envelope, identifies the account owner to the SMTP server."
+msgstr "Cette adresse, comme le <b>adresse de retour</b> imprimé sur une enveloppe, identifie le propriétaire du compte sur le serveur SMTP."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:289
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:108
+msgid "Yes"
+msgstr "Oui"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:290
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:109
+msgid "No"
+msgstr "Non"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:300
+msgid "Change this value if you can't see the beginning of the transcript because your messages are too big."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:343
+msgid "Disable e-mail validation"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:350
+msgid "Log Level specifies the level of detail written to the <a target=\"_new\" href=\"%s\">WordPress Debug log</a> - view the log with <a target-\"_new\" href=\"%s\">Debug</a>."
+msgstr "Niveau du journal spécifie le niveau de détail écrite dans les fichiers journaux de WordPress et PHP. Mode de livraison offre des options utiles dans un environnement de développement."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:353
+msgid "Off"
+msgstr "Aucun"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:354
+msgid "Trace"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:355
+msgid "Debug"
+msgstr "Debug"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:356
+msgid "Info"
+msgstr "Information"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:358
+msgid "Error"
+msgstr "Erreur"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:366
+msgid "Delivery mode offers options useful for developing or testing."
+msgstr "Cette fonction vous permet d'envoyer un message en test."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:369
+msgctxt "When the server is online to the public, this is \"Production\" mode"
+msgid "Log Email and Send"
+msgstr "Journal E-mail et envoyer"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:370
+msgid "Log Email and Delete"
+msgstr "Journal E-mail et Supprimer"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:371
+msgid "Delete All Emails"
+msgstr "Supprimez toutes les e-mails"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:375
+msgid "Remove the Postman X-Header signature from messages"
+msgstr "Supprimer la signature de l'en-tête X facteur de messages"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:378
+msgid "Lockfiles are written here to prevent users from triggering an OAuth 2.0 token refresh at the same time."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:381
+msgid "Valid"
+msgstr "Valide"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:383
+msgid "Invalid"
+msgstr "Invalide"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:105
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:109
+msgctxt "The \"please wait\" message"
+msgid "Checking.."
+msgstr "Vérification.."
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:106
+msgctxt "The port is open"
+msgid "Open"
+msgstr "Ouvert"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:107
+msgctxt "The port is closed"
+msgid "Closed"
+msgstr "Fermé"
+
+#. translators: where %d is a port number
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:111
+msgid "No outbound route between this site and the Internet on Port %d."
+msgstr "Aucun itinéraire sortant entre ce site et de l'Internet sur le Port %d."
+
+#. translators: where %d is a port number and %s is a hostname
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:113
+msgid "Port %d is open, but not to %s."
+msgstr "Port %d est ouvert, mais pas a %s."
+
+#. translators: where %d is the port number and %s is the hostname
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:115
+msgid "Port %d can be used for SMTP to %s."
+msgstr "Port %d peut être utilisé pour SMTP %s."
+
+#. translators: where %d is a port number and %s is the URL for the Postman
+#. Gmail Extension
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:118
+msgid "Port %d can be used with the %s."
+msgstr "Port %d peut servir à envoyer les courriels avec le %s."
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:141
+msgid "This test determines which well-known ports are available for Postman to use."
+msgstr "Ce test détermine les ports bien connus sont disponibles pour Postman à utiliser."
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:145
+msgctxt "Button Label"
+msgid "Begin Test"
+msgstr "Commencer le test"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:162
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:152
+msgid "Status"
+msgstr "Statut"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Service Available"
+msgstr "Service Disponible"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Server ID"
+msgstr "ID de Serveur"
+
+#. Translators: Meaning "Not Applicable"
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:155
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:260
+msgid "n/a"
+msgstr "n/a"
+
+#. Translators: Where %s is the name of the service providing Internet
+#. connectivity test
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:160
+msgid "According to %s"
+msgstr ""
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:163
+msgid "Summary"
+msgstr "Summary"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:168
+msgid "A test with <span style=\"color:red\">\"No\"</span> Service Available indicates one or more of these issues:"
+msgstr "Un port <span style=\"color:red\">Fermé</span> peut vouloir dire ceci:"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:170
+msgid "Your web host has placed a firewall between this site and the Internet"
+msgstr "L'Hôte à mis en place un Firewall entre ce site et le serveur SMTP"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:171
+msgid "The SMTP hostname is wrong or the mail server does not provide service on this port"
+msgstr "Le nom d'hôte SMTP est erronée ou le serveur de messagerie ne fournit pas de service sur ce port"
+
+#. translators: where (1) is the URL and (2) is the system
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:173
+msgid "Your <a href=\"%1$s\">%2$s configuration</a> is preventing outbound connections"
+msgstr "Votre <a href=\"%1$s\">configuration de %2$s</a> empêche les connexions sortantes"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:177
+msgid "If the issues above can not be resolved, your last option is to configure Postman to use an email account managed by your web host with an SMTP server managed by your web host."
+msgstr "Si les questions ci-dessus ne peuvent pas être résolues, votre dernière option consiste à configurer postier pour utiliser un compte de messagerie géré par votre hôte web avec un serveur SMTP géré par votre hébergeur."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:82
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman.php:317
+msgctxt "The log of Emails that have been delivered"
+msgid "Email Log"
+msgstr "Niveau du journal"
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:95
+msgid "Error: Postman is missing a required PHP library."
+msgstr "Postman manque une bibliothèque PHP requise."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:97
+#: Postman/Postman.php:257
+msgid "Postman: wp_mail has been declared by another plugin or theme, so you won't be able to use Postman until the conflict is resolved."
+msgstr "Erreur: Postman est correctement configuré, mais le thème actuel ou un autre plugin empêche service."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:100
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:229
+msgid "Postman is in <em>non-Production</em> mode and is dumping all emails."
+msgstr "Postman est en mode <em>non-production</em>."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:102
+msgid "<span style=\"color:green\">Postman is configured</span> and has delivered <span style=\"color:green\">%d</span> email."
+msgid_plural "<span style=\"color:green\">Postman is configured</span> and has delivered <span style=\"color:green\">%d</span> emails."
+msgstr[0] "<span style=\"color:green\">Postman est configuré</span> et a livré <span style=\"color:green\">%d</span> e-mail."
+msgstr[1] "<span style=\"color:green\">Postman est configuré</span> et a livré <span style=\"color:green\">%d</span> e-mails."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:104
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:234
+msgid "Postman is <em>not</em> configured and is mimicking out-of-the-box WordPress email delivery."
+msgstr ""
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:116
+msgid "Postman is operating in per-site mode."
+msgstr "Postier fonctionne en mode par-site."
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:102
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:107
+#: Postman/PostmanViewController.php:295
+msgid "Diagnostic Test"
+msgstr "Test de diagnostic"
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:104
+msgid "Are you having issues with Postman?"
+msgstr "Rencontrez-vous des problèmes avec Postman?"
+
+#. translators: where %1$s and %2$s are the URLs to the Troubleshooting and
+#. Support Forums on WordPress.org
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:106
+msgid "Please check the <a href=\"%1$s\">troubleshooting and error messages</a> page and the <a href=\"%2$s\">support forum</a>."
+msgstr "Consultez la page <a href=\"%1$s/\">des messages de dépannage et d'erreur</a> et le <a href=\"%2$s\">forum de support</a>."
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:108
+msgid "If you write for help, please include the following:"
+msgstr "Si vous écrivez à l'aide, se il vous plaît inclure les informations de diagnostic suivant:"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:90
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:242
+msgid "Your message was delivered (%d ms) to the SMTP server! Congratulations :)"
+msgstr "Votre message à été livrer (%d ms) au serveur SMTP! Félicitations :)"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:156
+msgid "Mail Log Entries were deleted."
+msgstr "Entrées de journal de courrier ont été supprimées."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:179
+msgid "Mail Log Entry was deleted."
+msgstr "Entrée du journal des messages a été supprimée."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:204
+msgctxt "Who is this message From?"
+msgid "From"
+msgstr "De"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:208
+msgctxt "Who is this message To?"
+msgid "To"
+msgstr "A"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:212
+msgctxt "Who is this message Cc'd to?"
+msgid "Cc"
+msgstr "Cc"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:216
+msgctxt "Who is this message Bcc'd to?"
+msgid "Bcc"
+msgstr "Bcc"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:222
+msgctxt "What is the date today?"
+msgid "Date"
+msgstr "Date"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:223
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:161
+msgctxt "What is the subject of this message?"
+msgid "Subject"
+msgstr "Sujet"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:226
+msgctxt "What is the unique URI of the configuration?"
+msgid "Delivery-URI"
+msgstr "Livraison-URI"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:253
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:161
+msgid "This is the conversation between Postman and the mail server. It can be useful for diagnosing problems. <b>DO NOT</b> post it on-line, it may contain your account password."
+msgstr "C'est la conversation entre Postman et votre serveur SMTP. Il peut être utile pour diagnostiquer les problèmes. <b>NE PAS</b> poster en ligne, il peut contenir votre mot de passe sous forme codée."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:333
+msgid "%s Email Log"
+msgstr "Niveau du journal de %s"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:301
+msgid "Email was successfully resent (but without attachments)"
+msgstr ""
+
+#. Translators: Where %s is an error message
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:303
+msgid "Email could not be resent. Error: %s"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:304
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:110
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:112
+msgid "Resend"
+msgstr "Renvoyer"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:339
+msgid "This is a record of deliveries made to the mail server. It does not neccessarily indicate sucessful delivery to the recipient."
+msgstr "Il s'agit d'un record de tentatives de remise faite à l'Agent de Submission Courrier (ASC). Il n'indique pas nécessairement sucessful remise au destinataire."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogPostType.php:37
+msgctxt "The group of Emails that have been delivered"
+msgid "Sent Emails"
+msgstr "Courriels envoyés"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogPostType.php:38
+msgctxt "An Email that has been delivered"
+msgid "Sent Email"
+msgstr "Courriel envoyé"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:75
+msgid "An empty subject line can result in delivery failure."
+msgstr "Une ligne d'objet vide peut provoquer l'échec de la livraison."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:196
+msgid ".. +%d more"
+msgstr ".. et %d plus"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:99
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:223
+msgctxt "Delete an item from the email log"
+msgid "Delete"
+msgstr "Supprimer"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:100
+msgctxt "View an item from the email log"
+msgid "View"
+msgstr "Voir"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:104
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:106
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:158
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:163
+msgid "Session Transcript"
+msgstr "Session Transcription"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:163
+msgctxt "When was this email sent?"
+msgid "Delivery Time"
+msgstr "Délai de livraison"
+
+#. Translators: where %s indicates the relative time from now
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:332
+msgctxt "A relative time as in \"five days ago\""
+msgid "%s ago"
+msgstr "Il ya %s"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:338
+msgid "Sent"
+msgstr "Envoyé"
+
+#: Postman/Postman-Mail/PostmanDefaultModuleTransport.php:107
+msgid "Default"
+msgstr "Défaut"
+
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:102
+msgid "Gmail API"
+msgstr "API de Gmail"
+
+#. translators: where (1) is the secure icon and (2) is the transport name
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:152
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:135
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:79
+msgid "Postman will send mail via the <b>%1$s %2$s</b>."
+msgstr ""
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:166
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:117
+msgid "You have configured OAuth 2.0 authentication, but have not received permission to use it."
+msgstr "Vous avez configuré l'authentification OAuth 2.0, mais ne avons pas reçu la permission de l'utiliser."
+
+#. translators: where variables are (1) transport name (2) host and (3) port
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:206
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:181
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:125
+msgid "Postman recommends the %1$s to host %2$s on port %3$d."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:221
+#: Postman/Postman-Mail/PostmanModuleTransport.php:713
+msgid "OAuth 2.0 (requires Client ID and Client Secret)"
+msgstr "OAuth 2.0 (nécessite ID de client et le client secret)"
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:44
+msgid "Mandrill API"
+msgstr "API de Mandrill"
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:147
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:101
+msgid "API Key can not be empty"
+msgstr "La clef API ne peut pas être vide."
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:151
+#: Postman/Postman-Mail/PostmanModuleTransport.php:578
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:105
+msgid "Message From Address can not be empty"
+msgstr "Adresse d'expéditeur du message ne peut être vide."
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:194
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:228
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:271
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:148
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:182
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:222
+msgid "API Key"
+msgstr "Clé d’API"
+
+#. Translators: Where (1) is the service URL and (2) is the service name and
+#. (3) is a api key URL
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:238
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:189
+msgid "Create an account at <a href=\"%1$s\" target=\"_new\">%2$s</a> and enter <a href=\"%3$s\" target=\"_new\">an API key</a> below."
+msgstr ""
+
+#. translators: where (1) is the transport type, (2) is the host, and (3) is
+#. the Authentication Type (e.g. Postman will send mail via smtp.gmail.com:465
+#. using OAuth 2.0 authentication.)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:506
+msgid "Postman will send mail via %1$s to %2$s using %3$s authentication."
+msgstr "Postman va envoyer le courrier par %1$s à %2$s en utilisant l'authentification %3$s."
+
+#. translators: where %1$s is the Transport type (e.g. SMTP or SMTPS) and %2$s
+#. is the encryption type (e.g. SSL or TLS)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:534
+msgctxt "as in \"There is no Spoon\""
+msgid "no"
+msgstr "non"
+
+#: Postman/Postman-Mail/PostmanModuleTransport.php:553
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:366
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:584
+msgid "Password"
+msgstr "Password"
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label (e.g. Warning: OAuth 2.0 authentication requires an OAuth 2.0-capable
+#. Outgoing Mail Server, Sender Email Address, Client ID, and Client Secret.)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:584
+msgid "OAuth 2.0 authentication requires a %1$s and %2$s."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanModuleTransport.php:706
+msgid "Password (requires username and password)"
+msgstr "Mot de passe (nécessite nom d'utilisateur et mot de passe)"
+
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:200
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:217
+msgid "MyMail: Change the delivery method in the %s!"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:39
+msgid "SendGrid API"
+msgstr "API de SendGrid"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:95
+msgid "Outgoing Mail Server Hostname and Port can not be empty."
+msgstr "Sortant Mail Server Hostname et Port ne peuvent pas être vide."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:99
+msgid "Envelope-From Email Address can not be empty"
+msgstr "Adresse d'expéditeur d'enveloppe ne peut être vide."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:103
+msgid "Username and password can not be empty."
+msgstr ""
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label (e.g. Warning: OAuth 2.0 authentication requires an OAuth 2.0-capable
+#. Outgoing Mail Server, Sender Email Address, Client ID, and Client Secret.)
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:109
+msgid "OAuth 2.0 authentication requires a supported OAuth 2.0-capable Outgoing Mail Server."
+msgstr ""
+
+#. translators: where %1$s is a description of the transport (eg. SMTPS-SSL),
+#. %2$s is a description of the authentication (eg. Password-CRAMMD5), %3$d is
+#. the TCP port (eg. 465), %4$d is the hostname
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:269
+msgid "Postman recommends %1$s with %2$s authentication to host %4$s on port %3$d."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:326
+msgid "Transport Settings"
+msgstr "Réglages de Transport"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:336
+msgid "Outgoing Mail Server Port"
+msgstr "Port du serveur SMTP"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:341
+msgid "Envelope-From Email Address"
+msgstr "Adresse d'expéditeur d'enveloppe"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:346
+msgctxt "Configuration Input Field"
+msgid "Security"
+msgstr "Sécurité "
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:361
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:580
+msgid "Username"
+msgstr "Identifiant"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:402
+msgid "Configure the communication with the mail server."
+msgstr "Configurer la communication avec Agent de Submission Courrier (ASC)."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:449
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:579
+msgid "Enter the account credentials."
+msgstr "Entrez vos informations d'identification."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:457
+msgid "The Username is usually the same as the Envelope-From Email Address."
+msgstr "Votre nom d'utilisateur est sans doutes votre adresse de messagerie."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:511
+msgid "Error computing your domain root - please enter it manually"
+msgstr "Erreur de compilation de votre serveur souche - entrez le manuellement"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:532
+msgid "For reliable delivery, this domain must specify an <a target=\"_new\" href=\"%s\">SPF record</a> permitting the use of the SMTP server named above."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:539
+msgctxt "Wizard Step Title"
+msgid "Which host will relay the mail?"
+msgstr "Quel hôte sera relayer le courrier?"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:540
+msgid "This is the Outgoing (SMTP) Mail Server, or Mail Submission Agent (MSA), which Postman delegates mail delivery to. This server is specific to your email account, and if you don't know what to use, ask your email service provider."
+msgstr "C'est le serveur de courrier sortant (SMTP), ou Agent de Submission Courrier (ASC), dont les représentants postier courrier à. Ces serveurs sont spécifiques à votre compte de messagerie et si vous ne savez pas quoi utiliser, demandent à votre fournisseur de service de messagerie."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:541
+msgid "Note that many WordPress hosts, such as GoDaddy, Bluehost and Dreamhost, require that you use their mail accounts with their mail servers, and prevent you from using others."
+msgstr "Notez que de nombreux hôtes de WordPress, comme GoDaddy, Bluehost et Dreamhost, nécessitent d'utiliser leurs comptes de messagerie avec leurs serveurs de messagerie et vous empêche d'utiliser d'autres."
+
+#. Translators: Where (%s) is the name of the web host
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:547
+msgid "Your email address <b>requires</b> access to a remote SMTP server blocked by %s."
+msgstr "Votre adresse e-mail <b>nécessite</b> l'accès à un serveur SMTP distant bloqué par %s."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:548
+msgid "If you have access to cPanel, enable the Remote Mail Exchanger."
+msgstr ""
+
+#. Translators: Where (%1$s) is the SPF-info URL and (%2$s) is the name of the
+#. web host
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:551
+msgid "If you own this domain, make sure it has an <a href=\"%1$s\">SPF record authorizing %2$s</a> as a relay, or you will have delivery problems."
+msgstr "Si vous possédez ce domaine, assurez-vous qu'il a un <a href=\"%1$s\">enregistrement SPF autorisant %2$s</a> comme un relais, ou vous aurez des problèmes de livraison."
+
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:231
+msgid "Postman is configured."
+msgstr "Postman est configuré."
+
+#: Postman/Postman-Mail/PostmanZendMailEngine.php:209
+msgid "Communication Error [334] - make sure the Envelope From email is the same account used to create the Client ID."
+msgstr "Erreur de communications [334] - Assurez-vous que l'adresse d'envoi appartient au compte qui a fourni le consentement de OAuth 2.0."
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:115
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:149
+msgctxt "Email Test Status"
+msgid "In Outbox"
+msgstr "Dans la boîte d'envoi"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:116
+msgctxt "Email Test Status"
+msgid "Sending..."
+msgstr "Envoi..."
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:117
+msgctxt "Email Test Status"
+msgid "Success"
+msgstr "Succès"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:118
+msgctxt "Email Test Status"
+msgid "Failed"
+msgstr "Echoué"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:119
+msgid "Ajax Error"
+msgstr ""
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:128
+#: Postman/PostmanViewController.php:273 Postman/PostmanViewController.php:275
+msgid "Send a Test Email"
+msgstr "Envoyer un message test"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:133
+msgid "Specify the Recipient"
+msgstr "Choisir un récipiandaire"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:135
+msgid "Who is this message going to?"
+msgstr "Qui est ce message pour?"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:136
+msgid "This utility allows you to send an email message for testing."
+msgstr "Cette fonction vous permet d'envoyer un message en test."
+
+#. translators: where %d is an amount of time, in seconds
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:139
+msgid "If there is a problem, Postman will give up after %d second."
+msgid_plural "If there is a problem, Postman will give up after %d seconds."
+msgstr[0] "S'il rencontre un problème, Postman abandonnera la tâche après %d second."
+msgstr[1] "S'il rencontre un problème, Postman abandonnera la tâche après %d secondes."
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:140
+msgctxt "Configuration Input Field"
+msgid "Recipient Email Address"
+msgstr "Adresse d'envoi"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:145
+msgid "Send The Message"
+msgstr "Envoyez le Message"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:148
+msgid "Sending the message:"
+msgstr "Envoi du message:"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:160
+msgid "Examine the Session Transcript if you need to."
+msgstr "Examinez la session SMTP Transcription si vous devez."
+
+#. translators: where %s is the domain name of the site
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:212
+msgctxt "Test Email Subject"
+msgid "Postman SMTP Test (%s)"
+msgstr "Test SMTP de Postman (%s)"
+
+#. translators: where %s is the Postman plugin version number (e.g. 1.4)
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:299
+msgctxt "Test Email Tagline"
+msgid "Sent by Postman %s"
+msgstr "Envoyé par Postman %s"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:300
+msgid "Image source"
+msgstr "Source de l'image"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:301
+msgid "Used with permission"
+msgstr "Utilisé avec permission"
+
+#: Postman/PostmanAdminController.php:111
+msgctxt "The plugin successfully saved new settings."
+msgid "Settings saved."
+msgstr "Options enregistrées."
+
+#. Translators: where %1$s is the name of the library
+#: Postman/PostmanAdminController.php:178
+msgid "This PHP installation requires the <b>%1$s</b> library."
+msgstr "Cette installation de PHP nécessite la <b>%1$s</b> bibliothèque."
+
+#: Postman/PostmanAdminController.php:253
+msgid "There was an error importing the data."
+msgstr ""
+
+#: Postman/PostmanAdminController.php:270
+msgid "Plugin data was removed."
+msgstr "Tous les paramètres des plugins ont été enlevés."
+
+#: Postman/PostmanAdminController.php:294
+msgid "The OAuth 2.0 authorization was successful. Ready to send e-mail."
+msgstr "L'autorisation de OAuth 2.0 a réussi. Prêt à envoyer des messages électroniques."
+
+#: Postman/PostmanAdminController.php:296
+msgid "Your email provider did not grant Postman permission. Try again."
+msgstr "Votre fournisseur de messagerie n'a pas accordé la permission à Postman. Réessayez. "
+
+#: Postman/PostmanAdminController.php:299
+msgid "The grant code from Google had no accompanying state and may be a forgery"
+msgstr "Le code de subvention de Google n'avait pas l'état d'accompagnement et peut être un faux"
+
+#. translators: %s is the error message
+#: Postman/PostmanAdminController.php:303
+msgid "Error authenticating with this Client ID. [%s]"
+msgstr "Erreur authentification avec cet ID de Client. [%s]"
+
+#: Postman/PostmanConfigTextHelper.php:31
+msgid "Attention"
+msgstr "Faites attention"
+
+#. translators: parameters available are 1=portal-url, 2=portal-name,
+#. 3=clientId-name, 4=clientSecret-name, 5=callbackUrl, 6=service-name,
+#. 7=portal-application (e.g. Open the Google Developer Console, create a
+#. Client ID for web application using the URL's displayed below, and copy the
+#. Client ID and Client Secret here.)
+#: Postman/PostmanConfigTextHelper.php:33
+msgid "Open the <a href=\"%1$s\" target=\"_new\">%2$s</a>, create <b>%7$s</b> with the values displayed below, and copy the generated %3$s and %4$s here."
+msgstr "Ouvrez le <a href=\"%1$s\" target=\"_new\">%2$s</a>, créer <b>%7$s</b> avec les valeurs affichées ci-dessous, et copiez les générés %3$s et %4$s ici."
+
+#. translators: parameters available are 1=clientId-name, 2=service-name,
+#. 3=FAQ-URL, 4=Video-URL (e.g. See How do I get a Google Client ID? in the
+#. F.A.Q.)
+#: Postman/PostmanConfigTextHelper.php:36
+msgid "See <a href=\"%3$s\" target=\"_new\">How do I get a %1$s %2$s?</a> in the F.A.Q. or <a href=\"%4$s\" target=\"_new\">watch our How-To video 📺</a>."
+msgstr "Voir <a href=\"%3$s\" target=\"_new\">Comment faire un %1$s %2$s?</a> dans la F.A.Q. ou <a href=\"%4$s\" target=\"_new\">regarder notre 📺 vidéo How-to</a>."
+
+#. translators: where %s is the Email Service Owner (e.g. Google, Microsoft or
+#. Yahoo)
+#: Postman/PostmanConfigTextHelper.php:54
+msgctxt "Command to initiate OAuth authentication"
+msgid "Grant permission with %s"
+msgstr "Accorder l'autorisation avec %s"
+
+#. Translators: This description is specific to Google
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:80
+#: Postman/PostmanConfigTextHelper.php:142
+#: Postman/PostmanConfigTextHelper.php:204
+#: Postman/PostmanConfigTextHelper.php:271
+msgctxt "Name of the OAuth 2.0 Client ID"
+msgid "Client ID"
+msgstr "ID du client"
+
+#. Translators: This description is specific to Google
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:84
+#: Postman/PostmanConfigTextHelper.php:146
+#: Postman/PostmanConfigTextHelper.php:208
+#: Postman/PostmanConfigTextHelper.php:274
+msgctxt "Name of the OAuth 2.0 Client Secret"
+msgid "Client Secret"
+msgstr "Secret du client"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:88
+msgctxt "Name of the Application Callback URI"
+msgid "Authorized redirect URI"
+msgstr "Authorized redirect URI"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:92
+msgctxt "Name of the Application Callback Domain"
+msgid "Authorized JavaScript origins"
+msgstr "Authorized JavaScript origins"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:96
+msgctxt "Name of the email service owner"
+msgid "Google"
+msgstr "Google"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:100
+msgctxt "Name of the email service"
+msgid "Gmail"
+msgstr "Gmail"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:104
+msgctxt "Description of the email service OAuth 2.0 Application"
+msgid "a Client ID for web application"
+msgstr "un ID de client pour une application web."
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:108
+msgctxt "Name of the email service portal"
+msgid "Google Developers Console Gmail Wizard"
+msgstr "Console de développement Google"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:150
+msgctxt "Name of the Application Callback URI"
+msgid "Redirect URL"
+msgstr "Rediriger URL"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:154
+msgctxt "Name of the Application Callback Domain"
+msgid "Root Domain"
+msgstr "Domaine Souche"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:158
+msgctxt "Name of the email service owner"
+msgid "Microsoft"
+msgstr "Microsoft"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:162
+msgctxt "Name of the email service"
+msgid "Outlook.com"
+msgstr "Outlook.com"
+
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:166
+#: Postman/PostmanConfigTextHelper.php:228
+msgctxt "Description of the email service OAuth 2.0 Application"
+msgid "an Application"
+msgstr "un programme"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:170
+msgctxt "Name of the email service portal"
+msgid "Microsoft Developer Center"
+msgstr "Centre de Développement Microsoft"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:212
+msgctxt "Name of the Application Callback URI"
+msgid "Home Page URL"
+msgstr "URL de la Page d'Acceuil"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:216
+msgctxt "Name of the Application Callback Domain"
+msgid "Callback Domain"
+msgstr "Domaine de retour d'appel"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:220
+msgctxt "Name of the email service owner"
+msgid "Yahoo"
+msgstr "Yahoo"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:224
+msgctxt "Name of the email service"
+msgid "Yahoo Mail"
+msgstr "Yahoo Mail"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:232
+msgctxt "Name of the email service portal"
+msgid "Yahoo Developer Network"
+msgstr "Réseau de Développement de Yahoo"
+
+#: Postman/PostmanConfigTextHelper.php:261
+msgid "Enter an Outgoing Mail Server with OAuth2 capabilities."
+msgstr "Adhérer à un serveur d'envoi avec des compatibilitées OAuth 2.0."
+
+#: Postman/PostmanConfigTextHelper.php:277
+msgctxt "Name of the Application Callback URI"
+msgid "Redirect URI"
+msgstr "Rediriger URI"
+
+#: Postman/PostmanConfigTextHelper.php:280
+msgctxt "Name of the Application Callback Domain"
+msgid "Website Domain"
+msgstr "Nom de domaine web"
+
+#: Postman/PostmanConfigTextHelper.php:304
+msgid "Grant OAuth 2.0 Permission"
+msgstr "Demander l'autorisation de OAuth 2.0"
+
+#: Postman/PostmanInputSanitizer.php:137
+msgid "must be greater than 0"
+msgstr "doit être supérieur à 0"
+
+#: Postman/PostmanViewController.php:112
+msgid "An unexpected error occurred"
+msgstr ""
+
+#: Postman/PostmanViewController.php:113
+msgid "Unexpected PHP messages corrupted the Ajax response"
+msgstr ""
+
+#: Postman/PostmanViewController.php:118
+msgctxt "Press this button to Finish this task"
+msgid "Finish"
+msgstr "Fin"
+
+#: Postman/PostmanViewController.php:119
+msgctxt "Press this button to go to the next step"
+msgid "Next"
+msgstr "Prochain"
+
+#: Postman/PostmanViewController.php:120
+msgctxt "Press this button to go to the previous step"
+msgid "Previous"
+msgstr "Précédent"
+
+#: Postman/PostmanViewController.php:132
+msgid "Postman is unable to run. Email delivery is being handled by WordPress (or another plugin)."
+msgstr "WordPress (ou un autre plugin) gère actuellement la livraison d'email, <em>pas</em> Postman."
+
+#. translators: where %d is the number of emails delivered
+#: Postman/PostmanViewController.php:147
+msgid "Postman has delivered <span style=\"color:green\">%d</span> email."
+msgid_plural "Postman has delivered <span style=\"color:green\">%d</span> emails."
+msgstr[0] "Postier a livré <span style=“color:green”>%d</span> courriel."
+msgstr[1] "Postier a livré <span style=“color:green”>%d</span> courriels."
+
+#: Postman/PostmanViewController.php:150
+msgid "The last %d email attempts are recorded <a href=\"%s\">in the log</a>."
+msgstr "Les derniers %d tentatives email sont enregistrés <a href=\"%s\">dans le</a> journal."
+
+#: Postman/PostmanViewController.php:155
+msgid "Thank-you for choosing Postman!"
+msgstr "Merci d'avoir choisi Postman!"
+
+#. translators: where %s is the URL of the Setup Wizard
+#: Postman/PostmanViewController.php:157
+msgid "Let's get started! All users are strongly encouraged to <a href=\"%s\">run the Setup Wizard</a>."
+msgstr "Commençons! Tout les utilisateurs sont fortements encouragés à commencer <a href=\"%s\">mettre en marche le Setup Wizard</a>."
+
+#: Postman/PostmanViewController.php:158
+msgid "Alternately, <a href=\"%s\">manually configure</a> your own settings and/or modify advanced options."
+msgstr "Alternativement, <a href=\"%s\">configurer manuellement</a> vos propres paramètres et / ou modifier les options avancées."
+
+#. translators: where %s is the URL to the WordPress.org review and ratings
+#. page
+#: Postman/PostmanViewController.php:163
+msgid "Please consider <a href=\"%s\">leaving a review</a> to help spread the word! :D"
+msgstr "Se il vous plaît envisager de laisser <a href=\"%s\">une critique de Postman SMTP</a> pour aider à passer le mot! :D"
+
+#: Postman/PostmanViewController.php:165
+msgid "Postman needs translators! Please take a moment to <a href=\"%s\">translate a few sentences on-line</a>"
+msgstr ""
+
+#: Postman/PostmanViewController.php:167
+msgid "<b style=\"background-color:yellow\">New for v1.7!</style></b> Send mail with the Mandrill or SendGrid APIs."
+msgstr ""
+
+#: Postman/PostmanViewController.php:191
+msgctxt "Return to main menu link"
+msgid "Back To Main Menu"
+msgstr "Retour au menu principal"
+
+#: Postman/PostmanViewController.php:198 Postman/PostmanViewController.php:233
+#: Postman/PostmanViewController.php:284
+msgid "Import"
+msgstr "Import"
+
+#: Postman/PostmanViewController.php:199 Postman/PostmanViewController.php:285
+msgid "Export"
+msgstr "Export"
+
+#: Postman/PostmanViewController.php:200 Postman/PostmanViewController.php:286
+msgid "Reset Plugin"
+msgstr ""
+
+#: Postman/PostmanViewController.php:206
+msgid "Copy this data into another instance of Postman to duplicate the configuration."
+msgstr ""
+
+#: Postman/PostmanViewController.php:225
+msgid "Paste data from another instance of Postman here to duplicate the configuration."
+msgstr ""
+
+#: Postman/PostmanViewController.php:228
+msgid "Using the same OAuth 2.0 Client ID and Client Secret from this site at the same time as another site will cause failures."
+msgstr ""
+
+#: Postman/PostmanViewController.php:241
+msgid "This will purge all of Postman's settings, including account credentials and the email log."
+msgstr "Cette purge tous les paramètres du postier, y compris les informations d'identification de compte et le journal de la messagerie."
+
+#: Postman/PostmanViewController.php:241
+msgid "Are you sure?"
+msgstr "En êtes-vous sûre?"
+
+#: Postman/PostmanViewController.php:261
+msgid "Configuration"
+msgstr "Configuration"
+
+#: Postman/PostmanViewController.php:262
+msgid "Start the Wizard"
+msgstr "Mettre en marche le Wizard"
+
+#: Postman/PostmanViewController.php:263
+msgid "Show All Settings"
+msgstr ""
+
+#: Postman/PostmanViewController.php:266
+msgctxt "Main Menu"
+msgid "Actions"
+msgstr "Actions"
+
+#: Postman/PostmanViewController.php:292
+msgctxt "Main Menu"
+msgid "Troubleshooting"
+msgstr "Dépannage"
+
+#: Postman/PostmanViewController.php:296
+msgid "Online Support"
+msgstr "Assistance en ligne"
+
+#. Plugin URI of the plugin/theme
+msgid "https://wordpress.org/plugins/postman-smtp/"
+msgstr "https://fr.wordpress.org/plugins/postman-smtp/"
+
+#. Description of the plugin/theme
+msgid "Email not reliable? Postman is the first and only WordPress SMTP plugin to implement OAuth 2.0 for Gmail, Hotmail and Yahoo Mail. Setup is a breeze with the Configuration Wizard and integrated Port Tester. Enjoy worry-free delivery even if your password changes!"
+msgstr "Email ne fonctionne pas? Postman est le premier et seul plugin WordPress SMTP pour mettre en œuvre la sécurité OAuth 2.0 pour Gmail et Hotmail. L'installation est un jeu d'enfant avec l'assistant de configuration et intégrée Port Tester. Profitez de la livraison sans souci, même si les modifications de mot de passe!"
+
+#. Author of the plugin/theme
+msgid "Jason Hendriks"
+msgstr "Jason Hendriks"
+
+#. Author URI of the plugin/theme
+msgid "http://www.codingmonkey.ca"
+msgstr "http://www.codingmonkey.ca"
+
+#~ msgid "Change the delivery method on the %s!"
+#~ msgstr "Changer la méthode de livraison sur la %s!"
+
+#~ msgid "<a href=\"%s\">Configure</a> the plugin."
+#~ msgstr "<a href=\"%s\">Configurez</a> le plugin"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Test Your Setup"
+#~ msgstr "Tester votre configuration"
+
+#~ msgctxt "eg. TCP Port 25"
+#~ msgid "Port"
+#~ msgstr "Port"
+
+#~ msgid "New for v1.6! Email Log"
+#~ msgstr "Du nouveau pour v1.6! Journal de courriel"
+
+#~ msgid "Enable to save a copy of all your emails. Great for troubleshooting or as a backup for messages that get lost. <b>Access the Email Log in the Tools menu.</b>"
+#~ msgstr "Permettre d'enregistrer une copie de tous vos emails. Idéal pour le dépannage ou une sauvegarde des messages qui se perdent. <b>Accéder au journal des Email dans le menu Outils.</b>"
+
+#~ msgctxt "The configuration page of the plugin"
+#~ msgid "Settings"
+#~ msgstr "Réglages"
+
+#~ msgid "Postman is <em>not</em> handling email delivery."
+#~ msgstr "Postman <em>n'intercepte pas</em> les demandes de courrier."
+
+#~ msgctxt "As in type used: None"
+#~ msgid "None"
+#~ msgstr "Aucun"
+
+#~ msgctxt "Who do we reply to?"
+#~ msgid "Reply-To"
+#~ msgstr "Reply-To"
+
+#~ msgid "This is the conversation between Postman and your SMTP server. It can be useful for diagnosing problems. <b>DO NOT</b> post it on-line, it may contain your account password."
+#~ msgstr "C'est la conversation entre Postman et votre serveur SMTP. Il peut être utile pour diagnostiquer les problèmes. <b>NE PAS</b> poster en ligne, il peut contenir votre mot de passe sous forme codée."
+
+#~ msgid "Postman Email Log"
+#~ msgstr "Niveau du journal"
+
+#~ msgid "This is a record of deliveries made to the Mail Submission Agent (MSA). It does not neccessarily indicate sucessful delivery to the recipient."
+#~ msgstr "Il s'agit d'un record de tentatives de remise faite à l'Agent de Submission Courrier (ASC). Il n'indique pas nécessairement sucessful remise au destinataire."
+
+#~ msgid "Warning: An empty subject line can result in delivery failure."
+#~ msgstr "Attention: Une ligne d'objet vide peut provoquer l'échec de la livraison."
+
+#~ msgctxt "View the transcript of an item from the email log"
+#~ msgid "Transcript"
+#~ msgstr "Transcription"
+
+#~ msgctxt "Attempt to resend this email"
+#~ msgid "Resend"
+#~ msgstr "Renvoyer"
+
+#~ msgctxt "Was sending this email successful or not?"
+#~ msgid "Status"
+#~ msgstr "Statut"
+
+#~ msgctxt "Transport Name"
+#~ msgid "Gmail API"
+#~ msgstr "Gmail API"
+
+#~ msgctxt "Authentication Type is OAuth 2.0"
+#~ msgid "OAuth 2.0"
+#~ msgstr "OAuth 2,0"
+
+#~ msgid "Postman will send mail via the <b>🔐Gmail API</b> using %s authentication."
+#~ msgstr "Postier enverra des mails via l'<b>🔐Gmail API</b> en utilisant l'authentification de %s."
+
+#~ msgid "OAuth 2.0 authentication requires a Client ID and Client Secret."
+#~ msgstr "L'authentification OAuth 2.0 requiert un ID de Client, et un Secret du client."
+
+#~ msgid "Envelope From Address and Message From Address can not be empty."
+#~ msgstr "Adresse d'expéditeur d'enveloppe et adresse d'expéditeur du message ne peut être vide."
+
+#~ msgid "Postman recommends Gmail API configuration on port %d"
+#~ msgstr "Recommande configuration API Gmail sur le port %d"
+
+#~ msgctxt "Transport Name"
+#~ msgid "SMTP"
+#~ msgstr "SMTP"
+
+#~ msgctxt "as in \"There is no Authentication\""
+#~ msgid "no"
+#~ msgstr "non"
+
+#~ msgctxt "As in type used: CRAM-MD5"
+#~ msgid "CRAM-MD5"
+#~ msgstr "CRAM-MD5"
+
+#~ msgctxt "As in type used: Login"
+#~ msgid "Login"
+#~ msgstr "Login"
+
+#~ msgctxt "As in type used: Plain"
+#~ msgid "Plain"
+#~ msgstr "Vide"
+
+#~ msgctxt "This authentication type is password-based"
+#~ msgid "Password (%s)"
+#~ msgstr "Mot de Passe (%s)"
+
+#~ msgid "Password authentication (Plain/Login/CRAM-MD5) requires a username and password."
+#~ msgstr "L'authentification par mot de passe (plaine / Connexion / CRAMMD5) nécessite un nom d'utilisateur et mot de passe."
+
+#~ msgid "OAuth 2.0 authentication requires a supported OAuth 2.0-capable Outgoing Mail Server, %1$s, and %2$s."
+#~ msgstr "Attention: L'authentification OAuth 2.0 requiert un serveur d'envoi valide avec OAuth 2.0, un adresse d'expédition, un %1$s, et un %2$s."
+
+#~ msgid "Your recommended settings are %1$s with %2$s authentication to host %4$s on port %3$d."
+#~ msgstr "Vos paramètres recommandés sont%1$s avec l&#39;authentification de 2% $ pour organiser%4$s sur le port% 3 $ d."
+
+#~ msgid "The selected transport '%s' is unavailable. The external plugin was probably deactivated."
+#~ msgstr "Le transport sélectionné '%s' ne est pas disponible. Le plugin externe a été probablement désactivée."
+
+#~ msgid "WordPress is still handling email delivery, <em>not</em> Postman."
+#~ msgstr "Postman <em>n'intercepte pas</em> les demandes de courrier."
+
+#~ msgctxt "The Transport is the method for sending mail, SMTP or API"
+#~ msgid "Transport"
+#~ msgstr "Transport"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Transport Settings"
+#~ msgstr "Réglages de Transport"
+
+#~ msgctxt "Authentication proves the user's identity"
+#~ msgid "Authentication"
+#~ msgstr "Authentification"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Username"
+#~ msgstr "Nom d'Utilisateur"
+
+#~ msgctxt "The Envelope Sender Email Address"
+#~ msgid "Envelope From Address"
+#~ msgstr "Adresse d'expéditeur d'enveloppe"
+
+#~ msgctxt "The Message Sender Email Address"
+#~ msgid "Message From Address"
+#~ msgstr "Adresse d'expéditeur du message"
+
+#~ msgctxt "The email address to address replies to"
+#~ msgid "Reply-To"
+#~ msgstr "Reply-To"
+
+#~ msgid "Maximum Number of Log Entries"
+#~ msgstr "Entrées de journal de courrier ont été supprimées."
+
+#~ msgid "Maximum Number of Lines in a Transcript"
+#~ msgstr "Taille de la transcription (Total des lignes)"
+
+#~ msgid "Configure the communication with the Mail Submission Agent (MSA):"
+#~ msgstr "Configurer la communication avec Agent de Submission Courrier (ASC):"
+
+#~ msgid "Enter the account username (email address) and password:"
+#~ msgstr "Entrer le nom d'utilisateur (adresse de messagerie) et mot de passe."
+
+#~ msgid "This will purge all of Postman's settings, including SMTP server info, username/password and OAuth Credentials."
+#~ msgstr "Cette action réinitialiser a tous les réglages de Postman, incluant les informations du serveur SMTP, nom d'utilisateur/mot de passe et l'accréditation OAuth."
+
+#~ msgid "Log Level specifies the level of detail written to the WordPress log - view the log with <a href=\"%s\">Debug</a>. Delivery mode offers options useful for developing or testing."
+#~ msgstr "Niveau du journal spécifie le niveau de détail dans le journal de WordPress - afficher le journal avec <a href=“%s”>Debug</a>. Mode de livraison propose des options utiles pour le développement ou de test."
+
+#~ msgctxt "Log Level"
+#~ msgid "Off"
+#~ msgstr "Off"
+
+#~ msgctxt "Log Level"
+#~ msgid "Trace"
+#~ msgstr "Trace"
+
+#~ msgctxt "Log Level"
+#~ msgid "Debug"
+#~ msgstr "Début"
+
+#~ msgctxt "Log Level"
+#~ msgid "Info"
+#~ msgstr "Info"
+
+#~ msgctxt "Log Level"
+#~ msgid "Warning"
+#~ msgstr "Warning"
+
+#~ msgctxt "Log Level"
+#~ msgid "Error"
+#~ msgstr "Error"
+
+#~ msgid "<b style=\"color:red\">Attention!</b> Open the <a href=\"%1$s\" target=\"_new\">%2$s</a>, create <b>%7$s</b> with the values displayed below, and copy the generated %3$s and %4$s here."
+#~ msgstr "<b style=\"color:red\">Attention!</b> Ouvrez le <a href=\"%1$s\" target=\"_new\">%2$s</a>, créer <b>%7$s</b> avec les valeurs affichées ci-dessous, et copiez les générés %3$s et %4$s ici."
+
+#~ msgctxt "Command to initiate OAuth authentication"
+#~ msgid "Grant OAuth Permission"
+#~ msgstr "Demander l'autorisation de OAuth."
+
+#~ msgid " must be greater than 0"
+#~ msgstr "doit être supérieur à 0"
+
+#~ msgctxt "Page Title"
+#~ msgid "Postman Setup"
+#~ msgstr "Réglages de Postman"
+
+#~ msgid "Welcome"
+#~ msgstr "Bienvenue"
+
+#~ msgid "This is the Settings page for Postman, an SMTP mailer that delivers email from your WordPress site to the Internet. From here you can configure the plugin, and access testing and diagnostic tools."
+#~ msgstr "Il s'agit de la page Paramètres du postier, un mailer SMTP qui fournit courriel provenant de votre site WordPress à l'Internet. De là, vous pouvez configurer le plugin et accéder aux outils de tests et de Diagnostics."
+
+#~ msgid "Having trouble? You can ask for help on our <a href=\"%1$s\" target=\"_blank\">Support Forum</a>. To get the help you need quickly, please post the <a href=\"%s\">Diagnostic Data</a> with your question. You can also check the <a href=\"%3$s\">FAQ</a> and <a href=\"%4$s\">Error Messages</a> pages for answers."
+#~ msgstr "Avoir l'ennui ? Vous pouvez demander de l'aide sur notre <a href=\"%1$s\" target=\"_blank\">Forum de Support</a>. Pour obtenir l'aide dont vous avez besoin rapidement, veuillez publier les <a href=\"%s\">Données de Diagnostic</a> avec votre question. Vous pouvez également consulter les pages <a href=\"%3$s\">FAQ</a> et <a href=\"%4$s\">Messages d'erreur</a> pour obtenir des réponses."
+
+#~ msgid "The Email Test will send an email to you. If the test fails, the full SMTP session transcript is available to you. <br/><br/>Receiving a single test email does not indicate perfect configuration. Some services may dump your email into a black-hole or mark it as Spam if you:"
+#~ msgstr "Le Test Email enverra un e-mail pour vous. Si le test échoue, la transcription complète de session SMTP est à votre disposition.<br><br>Recevez un e-mail de test unique n'indique pas la configuration parfaite. Certains services peuvent vider votre e-mail dans un trou noir ou le marquer comme Spam si vous :"
+
+#~ msgid "Violate an SPF record"
+#~ msgstr "Violer un enregistrement SPF"
+
+#~ msgid "You must use the SMTP server (MSA) approved by your domain to deliver your mail. (eg.) a @gmail.com sender address requires that authentication and delivery always be through smtp.gmail.com."
+#~ msgstr "Vous devez utiliser le serveur SMTP (ASC), approuvé par votre nom de domaine pour votre courrier entrant. Par exemple, une adresse de l'expéditeur @gmail.com exige que l'authentification et la livraison toujours par smtp.gmail.com."
+
+#~ msgctxt "Forge as in a forgery (fake) is made"
+#~ msgid "Forge the From Address"
+#~ msgstr "Forger l'adresse"
+
+#~ msgid "<a href=\"%s\">Spoofing</a>, when it results in an SPF violation, will get your message binned. Use your own address as the sender (From:) in <em>every</em> email.</li>"
+#~ msgstr "<a href=\"%s\">Spoofing</a> , quand il aboutit à une violation SPF, va faire passer votre message mis en cellule. Utilisez votre propre adresse comme expéditeur (De :) dans <em>chaque</em> email. </li>"
+
+#~ msgid "Consolidates details of your setup to aid the author in debugging problems, including: operating system details, WordPress configuration, Postman configuration, network connectivity and your domain's primary MX and SPF records. Your private authorization credentials are masked."
+#~ msgstr "Consolide détails de votre installation pour aider l&#39;auteur dans le débogage des problèmes, y compris: les détails du système d&#39;exploitation, la configuration, la configuration WordPress Postman, la connectivité réseau et primaires enregistrements MX et SPF de votre domaine. Vos informations d&#39;identification d&#39;autorisation privées sont masquées."
+
+#~ msgid "The Connectivity Test will report this site's ability to reach a mail server, and interrogate the mail server for it's capabilities."
+#~ msgstr "Le Test de connectivité sera rapport capacité de ce site pour atteindre un serveur de messagerie et interroger le serveur de messagerie pour ses capacités."
+
+#~ msgctxt "Is it possible to create network connections to the Internet?"
+#~ msgid "Outbound to Internet"
+#~ msgstr "Sortant à Internet"
+
+#~ msgid "This tests the ability to make outbound connections from your site to the Internet in general. If the result is Closed, then there is a communication problem with the Internet, like a firewall.</li>"
+#~ msgstr "Il teste la capacité de faire les connexions sortantes de votre site Internet en général. Si le résultat est fermé, puis il y a un problème de communication avec l'Internet, comme un pare-feu."
+
+#~ msgctxt "What service is available?"
+#~ msgid "Service Available"
+#~ msgstr "Service Disponible"
+
+#~ msgid "This shows the service found for a particular host/port. Possible successful results are <b>SMTP</b>, <b>SMTPS</b> (secure) and <b>HTTPS</b> (secure). If the result is No and the hostname you entered is correct, there was a communication problem with the mail server, like a firewall.</li>"
+#~ msgstr "Cela montre le service trouvé pour un hôte/port particulier. Résultats positifs possibles sont le <b>SMTP</b>, <b>SMTPS</b> (sécurisé) et <b>HTTPS</b> (sécurisé). Si le résultat est non, et le nom d'hôte que vous avez entré est correct, il y avait un problème de communication avec le serveur de messagerie, comme un pare-feu."
+
+#~ msgctxt "What is this server's ID?"
+#~ msgid "ID"
+#~ msgstr "ID"
+
+#~ msgid "Some hosts redirect mail traffic to their own mail server, breaking authentication and SPF verification. This is revealed by an incorrect server identity.</li>"
+#~ msgstr "Certains hébergeurs de redirigent le trafic de courrier à leur propre serveur de messagerie, rupture d'authentification et de vérification SPF. Ceci est révélé par une identité de serveur incorrect."
+
+#~ msgid "STARTTLS"
+#~ msgstr "STARTTLS"
+
+#~ msgid "This indicates whether the server supports protocol-level security. Either STARTTLS, SMTPS or HTTPS is required for secure transmission of your credentials.</li>"
+#~ msgstr "Ceci indique si le serveur prend en charge la sécurité au niveau du protocole. STARTTLS, SMTPS ou HTTPS est requis pour la transmission sécurisée de vos informations d'identification."
+
+#~ msgctxt "Short for Authentication"
+#~ msgid "Auth"
+#~ msgstr "Auth"
+
+#~ msgid "This indicates the authenication methods that the server supports. All are password-based, except for OAuth 2.0, which is token-based.</li>"
+#~ msgstr "Ceci indique les méthodes d'authentification que le serveur prend en charge. Tous sont par mot de passe, à l'exception de OAuth 2.0, qui est basée sur les jetons."
+
+#~ msgctxt "A testing tool which determines connectivity to the Internet"
+#~ msgid "Connectivity Test"
+#~ msgstr "Test de connectivité"
+
+#~ msgctxt "Email Test Status"
+#~ msgid "Ajax Error"
+#~ msgstr "Erreur AJAX"
+
+#~ msgid "Unexpected PHP messages corrupted the Ajax response:"
+#~ msgstr "Les messages PHP inattendus corrompu la réponse Ajax :"
+
+#~ msgid "Warning: connected to %1$s instead of %2$s."
+#~ msgstr "Avertissement: connecté à %1$s au lieu de %2$s."
+
+#~ msgid "Port %d can be used to send <b>Gmail</b> with the Gmail API."
+#~ msgstr "Port %d peut servir à envoyer <b>Gmail</b> avec l'API de Gmail."
+
+#~ msgid "WordPress (or another plugin) is currently handling email delivery, <em>not</em> Postman."
+#~ msgstr "WordPress (ou un autre plugin) gère actuellement la livraison d'email, <em>pas</em> Postman."
+
+#~ msgctxt "Page Title"
+#~ msgid "Manual Configuration"
+#~ msgstr "Configuration manuelle"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Account"
+#~ msgstr "Compte"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Message"
+#~ msgstr "Message"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Logging"
+#~ msgstr "Journalisation"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Advanced"
+#~ msgstr "Paramètres avancés"
+
+#~ msgid "Delete plugin settings"
+#~ msgstr "Supprimer les réglages de l'extension"
+
+#~ msgid "This will purge all of Postman's settings, including account credentials and the mail log."
+#~ msgstr "Cette purge tous les paramètres du postier, y compris les informations d'identification de compte et le journal de la messagerie."
+
+#~ msgctxt "Button Label"
+#~ msgid "Delete All Data"
+#~ msgstr "Supprimer toutes les données"
+
+#~ msgctxt "The port number"
+#~ msgid "Port %s"
+#~ msgstr "Port %s"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "None"
+#~ msgstr "Aucun"
+
+#~ msgid "* Port 443 tests against googleapis.com, not the SMTP hostname you enter."
+#~ msgstr "* Port 443 teste contre googleapis.com, pas le nom d'hôte SMTP vous entrez."
+
+#~ msgid "A port with Service Available <span style=\"color:red\">\"No\"</span> indicates one or more of these issues:"
+#~ msgstr "Un port <span style=\"color:red\">Fermé</span> peut vouloir dire ceci:"
+
+#~ msgid "Your <a href=\"%s\">PHP configuration</a> is preventing outbound connections"
+#~ msgstr "Votre <a href=\"%s\">configuration de PHP</a> empêche les connexions sortantes"
+
+#~ msgid "Your <a href=\"%s\">WordPress configuration</a> is preventing outbound connections"
+#~ msgstr "Votre <a href=\"%s\">configuration de WordPress</a> empêche les connexions sortantes"
+
+#~ msgctxt "Adjust the Postman settings by hand"
+#~ msgid "Show Advanced Configuration"
+#~ msgstr "Configuration avancée"
+
+#~ msgid "Disable"
+#~ msgstr "Désactiver"
+
+#~ msgctxt "Page Title"
+#~ msgid "Postman Setup Wizard"
+#~ msgstr "Setup Wizard de Postman"
+
+#~ msgid "<b>Error</b>: Your email address <b>requires</b> access to a remote SMTP server blocked by GoDaddy. Use a different e-mail address."
+#~ msgstr "<b>Erreur:</b> Votre adresse e-mail <b>nécessite</b> l'accès à un serveur SMTP distant bloqué par GoDaddy. Utilisez une adresse e-mail différente."
+
+#~ msgid "<b>Warning</b>: If you own this domain, make sure it has an <a href=\"%s\">SPF record authorizing GoDaddy</a> as a relay, or you will have delivery problems."
+#~ msgstr "<b>Attention:</b> Si vous possédez ce domaine, assurez-vous qu'il a un <a href=\"%s\">enregistrement SPF autorisant GoDaddy</a> comme un relais, ou vous aurez des problèmes de livraison."
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "How will the connection to the MSA be established?"
+#~ msgstr "Comment la connexion au ASC sera créé?"
+
+#~ msgid "Warning: This configuration option will send your authorization credentials in the clear."
+#~ msgstr "AVERTISSEMENT : Cette option de configuration envoie vos informations d'identification de l'autorisation en clair."
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "How will you prove your identity to the MSA?"
+#~ msgstr "Comment allez-vous prouver votre identité à la ASC?"
+
+#~ msgid "Enter your credentials. Your username is often your email address."
+#~ msgstr "Entrez vos informations d'identification. Votre nom d'utilisateur est souvent votre adresse email."
+
+#~ msgid "Examine the SMTP Session Transcript if you need to."
+#~ msgstr "Examinez la session SMTP Transcription si vous devez."
+
+#~ msgid "SMTP Session Transcript"
+#~ msgstr "Transcription de la session SMTP"
+
+#~ msgid "The <b>Envelope</b> From address identifies the account owner to the SMTP server."
+#~ msgstr "L'adresse d'expéditeur <b>d'enveloppe</b> identifie le propriétaire du compte sur le serveur SMTP."
+
+#~ msgid "The <b>Message</b> From address identifies the sender to the recipient. Change this when you are sending on behalf of someone else, for example to use Google's <a href=\"%s\">Send Mail As</a> feature. Themes and other plugins, especially Contact Forms, are permitted to modify this field."
+#~ msgstr "L'adresse d'expéditeur du <b>message</b> identifie l'expéditeur au destinataire. Changer cela lorsque vous envoyez au nom de quelqu'un d'autre, par exemple d'utiliser <a href=\"%s\">Envoyer Mail en tant que</a> fonctionnalité Google. Thèmes et autres plugins, notamment les formulaires de Contact, sont autorisés à modifier ce champ."
+
+#~ msgid "Log Level specifies the level of detail written to the WordPress and PHP logfiles. Delivery mode offers options useful for developing or testing."
+#~ msgstr "Niveau du journal spécifie le niveau de détail écrite dans les fichiers journaux de WordPress et PHP. Mode de livraison offre des options utiles dans un environnement de développement."
+
+#~ msgid "The server returned an unexpected result:"
+#~ msgstr "Le serveur a renvoyé un résultat inattendu et non valide :"
+
+#~ msgid "Postman has delivered <span style=\"color:green\">%d</span> email for you."
+#~ msgid_plural "Postman has delivered <span style=\"color:green\">%d</span> emails for you."
+#~ msgstr[0] "Postman a livré <span style=\"color:green\">%d</span> e-mail pour vous."
+#~ msgstr[1] "Postman a livré <span style=\"color:green\">%d</span> e-mails pour vous."
+
+#~ msgid "View the log"
+#~ msgstr "Niveau du journal"
+
+#~ msgctxt "Adjust the Postman settings by hand"
+#~ msgid "configure manually"
+#~ msgstr "configurer manuellement"
+
+#~ msgid "The server returned an unexpected and invalid result:"
+#~ msgstr "Le serveur a renvoyé un résultat inattendu et non valide :"
+
+#~ msgid "Communication Error [334] - make sure the Sender Email belongs to the account which provided the OAuth 2.0 consent."
+#~ msgstr "Erreur de communications [334] - Assurez-vous que l'adresse d'envoi appartient au compte qui a fourni le consentement de OAuth 2.0."
+
+#~ msgid "https://profiles.wordpress.org/jasonhendriks/"
+#~ msgstr "https://profiles.wordpress.org/jasonhendriks/"
+
+#~ msgid "This is the conversation between Postman and your SMTP server. It can be useful for diagnosing problems. <b>DO NOT</b> post it on-line, it may contain your shared secret (password) in encoded form."
+#~ msgstr "C'est la conversation entre Postman et votre serveur SMTP. Il peut être utile pour diagnostiquer les problèmes. <b>NE PAS</b> poster en ligne, il peut contenir votre mot de passe sous forme codée."
+
+#~ msgid "Choose the Recipient"
+#~ msgstr "Choisir un récipiandaire"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Email Address"
+#~ msgstr "Adresse e-mail"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Name"
+#~ msgstr "Nom"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Envelope From Address"
+#~ msgstr "Adresse d'expéditeur d'enveloppe"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Message From Address"
+#~ msgstr "Adresse d'expéditeur du message"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Additional Email Addresses"
+#~ msgstr "Adresses e-mail supplémentaires"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "To Recipient(s)"
+#~ msgstr "Pour destinataire(s)"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Carbon Copy Recipient(s)"
+#~ msgstr "Récipiendaires Carbon Copy"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Blind Carbon Copy Recipient(s)"
+#~ msgstr "Récipiendaires Blind Carbon Copy"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Additional Headers"
+#~ msgstr "Têtes additionnels"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Custom Headers"
+#~ msgstr "Têtes personnalisés"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Enable Logging"
+#~ msgstr "Activer la journalisation"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Log Entries Limit"
+#~ msgstr "Limite d'entrées de journal"
+
+#~ msgctxt "The maximum number of lines of the SMTP transcript"
+#~ msgid "Transcript Size (Total Lines)"
+#~ msgstr "Taille de la transcription (Total des lignes)"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Network Settings"
+#~ msgstr "Paramètres réseau"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Envelope From"
+#~ msgstr "Enveloppe De"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Message From"
+#~ msgstr "Message De"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Additional Addresses"
+#~ msgstr "Adresses supplémentaires"
+
+#~ msgid "The Gmail API transport requires a Sender Email Address, Client ID and Client Secret."
+#~ msgstr "Le Gmail API nécessite un transport à l'expéditeur Adresse courriel, numéro de client et client secret."
+
+#~ msgid "Outgoing Mail Server Hostname/Port and Sender Email Address can not be empty."
+#~ msgstr "Sortant Mail Server Hostname/Port et adresse Email de l'expéditeur ne peuvent pas être vide."
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Sender"
+#~ msgstr "l'Expéditeur"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Sender Email Address"
+#~ msgstr "Adresse de l'expéditeur"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Sender Name"
+#~ msgstr "Nom de l'expéditeur"
+
+#~ msgid "The Sender sets both the envelope <b>Mail-From</b> and the message <b>From</b> header. However, the <b>From</b> header can be modified by another plugin (e.g. for setting a visitor's email address from a Contact Form)."
+#~ msgstr "L'expéditeur définit les deux l'enveloppe <b>Mail-From</b> et l'en-tête <b>From</b> message. Toutefois, l'en-tête <b>From</b> peut être modifié par un autre plugin (par exemple pour mettre en adresse e-mail du visiteur d'un formulaire de Contact)."
+
+#~ msgid "Force this in the <b>From</b> header for all messages"
+#~ msgstr "Forcer cet expéditeur pour tous les messages"
+
+#~ msgid "Communication Error [334] - make sure the Sender Email belongs to the account which provided the %s OAuth 2.0 consent."
+#~ msgstr "Erreur de communications [334] - Assurez-vous que l'adresse d'envoi appartient au compte qui a fourni le consentement %s de OAuth 2.0."
+
+#~ msgid "Please note that to combat Spam, many email services will <em>not</em> let you send from an email address other than the one you authenticate with."
+#~ msgstr "Veuillez noter que pour combattre le Spam, plusieurs services de messagerie <em>ne permettrons pas</em> l'envoi d'un message provenant d'une autre adresse que la vôtre."
+
+#~ msgctxt "Who is this message from?"
+#~ msgid "From"
+#~ msgstr "De"
+
+#~ msgctxt "Who is this message to?"
+#~ msgid "To"
+#~ msgstr "A"
+
+#~ msgctxt "Name of the email service portal"
+#~ msgid "Google Developer Console"
+#~ msgstr "Console de développement Google"
+
+#~ msgid "Please check the <a href=\"%1$s\">troubleshooting and error messages</a> page and the <a href=\"%2$s\">support forum</a>.</br>If you write for help, please include the following:"
+#~ msgstr "Consultez la page <a href=\"%1$s/\">des messages de dépannage et d'erreur</a> et le <a href=\"%2$s\">forum de support</a>. </br> Si vous écrivez à l'aide, se il vous plaît inclure les informations de diagnostic suivant:"
+
+#~ msgid "Postman will send mail via the <b>Gmail API</b> using %s authentication."
+#~ msgstr "Postier enverra des mails via l'<b>Gmail API</b> en utilisant l'authentification de %s."
+
+#~ msgctxt "Transport Name"
+#~ msgid "SMTPS"
+#~ msgstr "SMTPS"
+
+#~ msgctxt "Transport Name"
+#~ msgid "SMTP-STARTTLS"
+#~ msgstr "SMTP-STARTTLS"
+
+#~ msgid "The message sender is used as the default <b>From:</b> address."
+#~ msgstr "L'expéditeur du message est utilisé comme <b>De:</b> adresse."
+
+#~ msgid "Log Level specifies the level of detail written to the WordPress and PHP logfiles. Delivery mode offers options useful in a development environment."
+#~ msgstr "Niveau du journal spécifie le niveau de détail écrite dans les fichiers journaux de WordPress et PHP. Mode de livraison offre des options utiles dans un environnement de développement."
+
+#~ msgid "Force this Sender Name for all messages"
+#~ msgstr "Forcer ce nom d'expéditeur pour tous les messages"
+
+#~ msgid "Force this Sender Email Address for all messages"
+#~ msgstr "Forcer cette adresse E-mail de l'expéditeur pour tous les messages"
+
+#~ msgid "Please note: <em>When composing email, some WordPress plugins and themes may set an unauthorized sender email address causing rejection with services like Yahoo Mail. If you experience problems, enable \"Force this Sender Email Address for all messages\" in the settings.</em>"
+#~ msgstr "Veuillez noter : <em>quand composer par courriel, à certains thèmes et plugins WordPress peut fixer un expéditeur non autorisé e-mail adresse rejet causant avec des services comme Yahoo Mail. Si vous rencontrez des problèmes, activez « Cette adresse E-mail de l'expéditeur pour tous les messages de Force » dans les paramètres.</em>"
+
+#~ msgctxt "Encryption Type"
+#~ msgid "SSL (SMTPS)"
+#~ msgstr "SSL (SMTPS)"
+
+#~ msgctxt "Encryption Type"
+#~ msgid "TLS (StartTLS)"
+#~ msgstr "TLS (StartTLS)"
+
+#~ msgid "The impossible is possible; sending through wp_mail() failed, but sending through internal engine succeeded."
+#~ msgstr "L'impossible est possible; l'envoi avec wp_mail() à échoué, mais l'envoi interne à réussi."
+
+#~ msgid "Error: Postman is properly configured, but the current theme or another plugin is preventing service."
+#~ msgstr "Erreur: Postman est correctement configuré, mais le thème actuel ou un autre plugin empêche service."
+
+#~ msgid "See <a href=\"https://wordpress.org/plugins/postman-smtp/faq/\" target=\"_new\">How do I get a %6$s %3$s?</a> in the F.A.Q. for help."
+#~ msgstr "Visitez le <a href=\"https://wordpress.org/plugins/postman-smtp/faq/\" target=\"_new\">Comment puis je avoir un %3$s de %6$s?</a> dans la F.A.Q. pour de l'assistance."
+
+#~ msgctxt "Short for \"Diagnostic Information\""
+#~ msgid "Diagnostic Info"
+#~ msgstr "Diagnostic Infos"
+
+#~ msgctxt "Details about the system"
+#~ msgid "Diagnostic Information"
+#~ msgstr "Informations de diagnostic"
+
+#~ msgid "Run a Connectivity Test"
+#~ msgstr "Faire un test de connexion de port"
+
+#~ msgid "The most common transport is SMTP:"
+#~ msgstr "Le transport le plus couramment est SMTP :"
+
+#~ msgid "Email not working? Postman is the first and only WordPress SMTP plugin to implement OAuth 2.0 for Gmail, Hotmail and Yahoo Mail. Setup is a breeze with the Configuration Wizard and integrated Port Tester. Enjoy worry-free delivery even if your password changes!"
+#~ msgstr "Email ne fonctionne pas? Postman est le premier et seul plugin WordPress SMTP pour mettre en œuvre la sécurité OAuth 2.0 pour Gmail et Hotmail. L'installation est un jeu d'enfant avec l'assistant de configuration et intégrée Port Tester. Profitez de la livraison sans souci, même si les modifications de mot de passe!"
+
+#~ msgid "Log Level specifies the level of detail written to the WordPress and PHP logfiles."
+#~ msgstr "Log Level spécifie le niveau de détail par écrit les fichiers journaux et WordPress PHP."
+
+#~ msgctxt "When the server is online to the public, this is \"Production\" mode"
+#~ msgid "Production"
+#~ msgstr "Production"
+
+#~ msgid "Log Emails, then Dump"
+#~ msgstr "Connectez-mails, puis déposez."
+
+#~ msgid "Dump All Emails"
+#~ msgstr "Supprimez toutes les e-mails"
+
+#~ msgid "This is a record of delivery attempts made to the Mail Submission Agent (MSA). It does not neccessarily indicate sucessful delivery to the recipient."
+#~ msgstr "Il s'agit d'un record de tentatives de remise faite à l'Agent de Submission Courrier (ASC). Il n'indique pas nécessairement sucessful remise au destinataire."
+
+#~ msgid "Error authenticating with this Client ID - please create a new one. [%s]"
+#~ msgstr "Erreur authentification avec cet ID client - s'l vous plaît, en créer un nouveau. [%s]"
+
+#~ msgid "Warning: connected to %1$s instead of %2$s. This may be a problem."
+#~ msgstr "Avertissement: connecté à %1$s au lieu de %2$s. Cela peut être un problème."
+
+#~ msgid "Outgoing Mail Server (SMTP) and Port can not be empty."
+#~ msgstr "Serveur de courrier sortant (SMTP) et Port ne peut être vide."
+
+#~ msgid "OAuth 2.0 authentication requires a supported OAuth 2.0-capable Outgoing Mail Server, Sender Email Address, %1$s, and %2$s."
+#~ msgstr "Attention: L'authentification OAuth 2.0 requiert un serveur d'envoi valide avec OAuth 2.0, un adresse d'expédition, un %1$s, et un %2$s."
+
+#~ msgid "Postman is properly configured, but another plugin has taken over the mail service. Deactivate the other plugin."
+#~ msgstr "Postman à été configuré correctement, mais une autre extension a pris le contrôle de la messagerie. Désactivez l'autre extension."
+
+#~ msgctxt "postman-smtp"
+#~ msgid "OAuth 2.0 (requires Client ID and Client Secret)"
+#~ msgstr "OAuth 2.0 (nécessite ID de client et le client secret)"
+
+#~ msgid "Warning: Expected to reach %1$s but %2$s answered instead, something may be wrong."
+#~ msgstr "ATTENTION : Devrait atteindre %1$s %2$s a répondu à la place, quelque chose peut être un problème."
+
+#~ msgid "Postman is missing a required PHP library."
+#~ msgstr "Postman manque une bibliothèque PHP requise."
+
+#~ msgctxt "as in \"No Authentication\""
+#~ msgid "No"
+#~ msgstr "Non"
+
+#~ msgid "Your recommended settings are %1$s with %2$s authentication on port %3$d."
+#~ msgstr "Recommandons %1$s avec l'authentification de %2$s sur le port %3$d."
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Logging Settings"
+#~ msgstr "Paramètres de journalisation"
+
+#~ msgid "<b style=\"color:red\">Attention!</b> Open the <a href=\"%1$s\" target=\"_new\">%2$s</a>, create %7$s using the URL's displayed below, and copy the %3$s and %4$s here."
+#~ msgstr "<b style=\"color:red\">Faites attention!</b> Ouvrez <a href=\"%1$s\" target=\"_new\">%2$s</a>, créer %7$s en utilisant l'URL qui apparaît ci-dessous, puis copiez le %3$s et le %4$s ici.\""
+
+#~ msgid "Please wait for the port test to finish"
+#~ msgstr "S'il vous plaît attendre la fin du test de port"
+
+#~ msgid "Warning: Your email address belongs to %1$s, but you are not using the %1$s SMTP server. Mail delivery will not be reliable."
+#~ msgstr "AVERTISSEMENT : Votre adresse e-mail appartient à %1$s, mais vous n'utilisez pas le serveur SMTP de %1$s. La distribution du courrier ne sera pas fiable."
+
+#~ msgid "This is the Outgoing (SMTP) Mail Server, or Mail Submission Agent (MSA), which Postman delegates mail delivery to. These servers are specific to your email account, and if you don't know what to use, ask your email service provider."
+#~ msgstr "C'est le serveur de courrier sortant (SMTP), ou Agent de Submission Courrier (ASC), dont les représentants postier courrier à. Ces serveurs sont spécifiques à votre compte de messagerie et si vous ne savez pas quoi utiliser, demandent à votre fournisseur de service de messagerie."
+
+#~ msgid "Your connection settings depend on what your email service provider offers, and what your WordPress host allows. Postman will attempt to determine which options are available to you."
+#~ msgstr "Le nom d'hôte du serveur et le port, vous pouvez utiliser est une combinaison de ce que votre service de courrier offres des fournisseurs, et ce que votre hôte WordPress permet. Postman tentera de déterminer les options qui se offrent à vous."
+
+#~ msgid "Configuration will proceed on socket %1$s using %2$s authentication."
+#~ msgstr "Configuration procédera sur le socket %1$s en utilisant l'authentification de %2$s."
+
+#~ msgid "Forge the From Address"
+#~ msgstr "Forger l'adresse"
+
+#~ msgctxt "The port number"
+#~ msgid "Port %d"
+#~ msgstr "Port %d"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "Plain"
+#~ msgstr "Vide"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "OAuth 2.0"
+#~ msgstr "OAuth 2,0"
+
+#~ msgctxt "As in type used: OAuth 2.0"
+#~ msgid "OAuth 2.0"
+#~ msgstr "OAuth 2,0"
+
+#~ msgctxt "Connectivity Test Table"
+#~ msgid "Test"
+#~ msgstr "Test"
+
+#~ msgctxt "Port Test"
+#~ msgid "Port %s"
+#~ msgstr "Port %s"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "CRAM-MD5"
+#~ msgstr "CRAM-MD5"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "Login"
+#~ msgstr "Login"
+
+#~ msgctxt "Page Title"
+#~ msgid "Send a Test Email"
+#~ msgstr "Envoyer un message test"
+
+#~ msgctxt "Postman Dashboard Widget Title"
+#~ msgid "Postman SMTP"
+#~ msgstr "Postman SMTP"
+
+#~ msgctxt "Dashboard Widget Settings Link label"
+#~ msgid "Settings"
+#~ msgstr "Réglages"
+
+#~ msgctxt "Authentication Type is Password"
+#~ msgid "Password"
+#~ msgstr "Password"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "no"
+#~ msgstr "non"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "Password (%s)"
+#~ msgstr "Mot de Passe (%s)"
+
+#~ msgctxt "Plugin Action Links"
+#~ msgid "Settings"
+#~ msgstr "Réglages"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Transport"
+#~ msgstr "Transport"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Transport"
+#~ msgstr "Transport"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Outgoing Mail Server Hostname"
+#~ msgstr "Nom d'Hôte du serveur SMTP"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Outgoing Mail Server Port"
+#~ msgstr "Port du serveur SMTP"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Authentication"
+#~ msgstr "Authentification"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Authentication"
+#~ msgstr "Authentification"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Password"
+#~ msgstr "Mot de Passe"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Reply-To"
+#~ msgstr "Reply-To"
+
+#~ msgctxt "Encryption Type"
+#~ msgid "None"
+#~ msgstr "Aucun"
+
+#~ msgctxt "Encryption Type"
+#~ msgid "SSL"
+#~ msgstr "SSL"
+
+#~ msgctxt "Encryption Type"
+#~ msgid "TLS"
+#~ msgstr "TLS"
+
+#~ msgctxt "Name of the OAuth 2.0 Client Secret"
+#~ msgid "Client secret"
+#~ msgstr "Secret du client"
+
+#~ msgctxt "Command to initiate OAuth authentication"
+#~ msgid "Request OAuth Permission"
+#~ msgstr "Demander l'autorisation de OAuth."
+
+#~ msgctxt "TCP Port Test Status"
+#~ msgid "Checking.."
+#~ msgstr "Vérification.."
+
+#~ msgctxt "TCP Port Test Status"
+#~ msgid "Open"
+#~ msgstr "Ouvert"
+
+#~ msgctxt "TCP Port Test Status"
+#~ msgid "Closed"
+#~ msgstr "Fermé"
+
+#~ msgctxt "TCP Port Test Status"
+#~ msgid "Done."
+#~ msgstr "Fini."
+
+#~ msgctxt "TCP Port Test Status"
+#~ msgid "Yes"
+#~ msgstr "Oui"
+
+#~ msgctxt "TCP Port Test Status"
+#~ msgid "No"
+#~ msgstr "Non"
+
+#~ msgctxt "TCP Port Test Status"
+#~ msgid "Port"
+#~ msgstr "Port"
+
+#~ msgctxt "Please Wait, the screen is loading."
+#~ msgid "Loading ..."
+#~ msgstr "Attendez ..."
+
+#~ msgctxt "Connectivity Test Table"
+#~ msgid "STARTTLS"
+#~ msgstr "STARTTLS"
+
+#~ msgctxt "Wizard Label"
+#~ msgid "Loading ..."
+#~ msgstr "Attendez ..."
+
+#~ msgctxt "Main Menu"
+#~ msgid "Settings"
+#~ msgstr "Réglages"
+
+#~ msgctxt "Button Label"
+#~ msgid "Start the Wizard"
+#~ msgstr "Mettre en marche le Wizard"
+
+#~ msgctxt "Main Menu"
+#~ msgid "Run a Connectivity Test"
+#~ msgstr "Faire un test de connexion de port"
+
+#~ msgctxt "Main Menu"
+#~ msgid "Online Support"
+#~ msgstr "Assistance en ligne"
+
+#~ msgctxt "Plugin to Import Configuration from"
+#~ msgid "None"
+#~ msgstr "Aucun"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Sender Email Name"
+#~ msgstr "Nom de l'Expéditeur"
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "Outgoing Mail Server Hostname"
+#~ msgstr "Nom d'Hôte du serveur SMTP"
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "Authentication"
+#~ msgstr "Authentification"
+
+#~ msgctxt "The end of the Wizard"
+#~ msgid "Finish"
+#~ msgstr "Fin"
+
+#~ msgid "Status Message"
+#~ msgstr "Message d'état"
+
+#~ msgid "Delete"
+#~ msgstr "Supprimer"
+
+#~ msgid "View"
+#~ msgstr "Voir"
+
+#~ msgid "Subject"
+#~ msgstr "Sujet"
+
+#~ msgid "Delivery Time"
+#~ msgstr "Délai de livraison"
+
+#~ msgid "To"
+#~ msgstr "A"
+
+#~ msgid "Delivery-URI"
+#~ msgstr "Livraison-URI"
+
+#~ msgid "The transport is normally SMTP, though new transports will become available in the form of APIs:"
+#~ msgstr "Le transport est normalement SMTP, bien que les nouveaux transports deviendra disponibles sous forme d'API :"
+
+#~ msgctxt "Wizard Label"
+#~ msgid "current step:"
+#~ msgstr "étape en cours:"
+
+#~ msgctxt "Wizard Label"
+#~ msgid "Pagination"
+#~ msgstr "Pagination"
+
+#~ msgctxt "Wizard Label"
+#~ msgid "Finish"
+#~ msgstr "Fin"
+
+#~ msgctxt "Wizard Label"
+#~ msgid "Next"
+#~ msgstr "Prochain"
+
+#~ msgctxt "Wizard Label"
+#~ msgid "Previous"
+#~ msgstr "Précédent"
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "Finish"
+#~ msgstr "Fin"
+
+#~ msgid "Date"
+#~ msgstr "Date"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Delete plugin settings"
+#~ msgstr "Supprimer les réglages de l'extension"
+
+#~ msgctxt "Page Title"
+#~ msgid "Postman Settings"
+#~ msgstr "Réglages de Postman"
+
+#~ msgid "Configure Manually"
+#~ msgstr "Configurer manuellement"
+
+#~ msgid "Diagnostic Info"
+#~ msgstr "Diagnostic Infos"
+
+#~ msgctxt "Page Title"
+#~ msgid "Delete plugin settings"
+#~ msgstr "Supprimer les réglages de l'Extension"
+
+#~ msgctxt "Page Title"
+#~ msgid "Connectivity Test"
+#~ msgstr "Test de connectivité"
+
+#~ msgctxt "Page Title"
+#~ msgid "Diagnostic Info"
+#~ msgstr "Diagnostic Infos"
+
+#~ msgid "Please check the <a href=\"%1$s\">troubleshooting and error messages</a> page and the <a href=\"%2$s\">support forum</a>.</br>If you write for help, please include the following diagnostic information:"
+#~ msgstr "Consultez la page <a href=\"%1$s/\">des messages de dépannage et d'erreur</a> et le <a href=\"%2$s\">forum de support</a>. </br> Si vous écrivez à l'aide, se il vous plaît inclure les informations de diagnostic suivant:"
+
+#~ msgctxt "Page Title"
+#~ msgid "Diagnostic Information"
+#~ msgstr "Informations de diagnostic"
+
+#~ msgctxt "Main Menu"
+#~ msgid "Get Started"
+#~ msgstr "Commencez"
+
+#~ msgctxt "Main Menu"
+#~ msgid "configure manually"
+#~ msgstr "configurer manuellement"
+
+#~ msgctxt "Main Menu"
+#~ msgid "Delete plugin settings"
+#~ msgstr "Supprimer les réglages de l'extension"
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "Connectivity Test"
+#~ msgstr "Test de connectivité"
+
+#~ msgctxt "Wizard Action"
+#~ msgid "Connectivity Test"
+#~ msgstr "Test de connectivité"
+
+#~ msgid "Password authentication (Plain/Login/CRAMMD5) requires a username and password."
+#~ msgstr "L'authentification par mot de passe (plaine / Connexion / CRAMMD5) nécessite un nom d'utilisateur et mot de passe."
+
+#~ msgid "All plugin settings were removed."
+#~ msgstr "Tous les paramètres des plugins ont été enlevés."
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Log Level"
+#~ msgstr "Niveau du journal"
+
+#, fuzzy
+#~ msgid "The default transport is SMTP."
+#~ msgstr "Le transport par défaut est SMTP."
+
+#~ msgid "Select the transport to use:"
+#~ msgstr "Un ou plusieurs extension (s) a installé transports supplémentaires:"
+
+#~ msgid "Select the authentication method, security type, and enter the Mail Submission Agent (MSA) hostname and port:"
+#~ msgstr "Sélectionnez la méthode d'authentification et entrez le nom du serveur SMTP et le port:"
+
+#~ msgid "Enter the username (email address) and password you use to send email"
+#~ msgstr "Entrer le nom d'utilisateur (adresse de messagerie) et mot de passe que vous utilisez pour envoyer du courrier électronique."
+
+#~ msgid "The message sender is used as the <b>From:</b> address."
+#~ msgstr "L'expéditeur du message est utilisé comme <b>De:</b> adresse."
+
+#~ msgid "The Reply-To overrides the Sender when the recipient composes a reply. Separate multiple <b>to</b>/<b>cc</b>/<b>bcc</b> recipients with commas."
+#~ msgstr "Le Reply-To remplace le expéditeur lorsque le destinataire compose une réponse. Séparer les <b>to</b>/<b>cc</b>/<b>bcc</b> destinataires par des virgules."
+
+#~ msgid "Prevent the Sender Name from being overridden"
+#~ msgstr "Prévenir l'expéditeur Nom d'être surchargée"
+
+#~ msgid "Prevent the Sender Email Address from being overridden"
+#~ msgstr "Empêcher l'adresse email de l'expéditeur d'être surchargée"
+
+#~ msgctxt "Command to initiate OAuth authentication"
+#~ msgid "Request permission from %s"
+#~ msgstr "Demandez la permission à %s"
+
+#~ msgctxt "Name of the Application Callback Domain"
+#~ msgid "Javascript Origins"
+#~ msgstr "Origines du Javascript"
+
+#~ msgctxt "Name of the OAuth 2.0 Client ID"
+#~ msgid "Consumer Key"
+#~ msgstr "Clé-Client"
+
+#~ msgctxt "Name of the OAuth 2.0 Client Secret"
+#~ msgid "Consumer Secret"
+#~ msgstr "Secret Client"
+
+#~ msgid "Port %d is blocked. Contact your host for a solution, such as using their local SMTP server or opening the port."
+#~ msgstr "Port %d est bloqué. Contactez votre hôte pour une solution, comme l'utilisation de leur serveur SMTP local ou l'ouverture du port."
+
+#~ msgid "Port %d can't send mail with %s. Try a different SMTP server."
+#~ msgstr "Port %d ne peut pas envoyer des messages avec %s. Essayez un autre serveur SMTP."
+
+#~ msgid "Port %d can be used to send Gmail with the <a href=\"%s\">Postman Gmail Extension</a>."
+#~ msgstr "Port %d peut être utilisé pour envoyer Gmail avec le <a href=\"%s\">Postman Gmail Extension</a>."
+
+#~ msgid "Port %d is blocked. Contact your host for a solution, such as opening the port."
+#~ msgstr "Port %d est bloqué. Contactez votre hôte pour une solution, comme l'ouverture du port."
+
+#~ msgid "No ports are available for this SMTP server. Try a different SMTP host or contact your WordPress host for their specific solution."
+#~ msgstr "Aucuns ports disponibles pour ce serveur SMTP. Essayez un hôte SMTP différent ou contactez votre hôte WordPress pour une solution spécifique."
+
+#~ msgid "Please note: <em>When composing email, other WordPress plugins and themes are forbidden from overriding the sender email address.</em>"
+#~ msgstr "Notez bien: <em>En composant votre message, d'autres thèmes ou extensions de WordPress risque d'écraser le nom de l'expéditeur seulement.</em>"
+
+#~ msgid "Please note: <em>When composing email, other WordPress plugins and themes may override the sender name and email address causing rejection with some email services, such as Yahoo Mail. If you experience problems, try leaving the sender email address empty in these plugins or themes.</em>"
+#~ msgstr "Notez bien: <em>En composant votre message, d'autres thèmes ou extensions de WordPress risque d'écraser le nom de l'expéditeur et l'adresse de messagerie, causant un rejet de certains service de messagerie, comme Yahoo Mail. Si vous avez un problème, laissez le champ d'adresse d'envoi vide pour ces extensions ou thèmes.</em>"
+
+#~ msgid "Postman has delivered <span style=\"color:green\">%d</span> email for you!"
+#~ msgid_plural "Postman has delivered <span style=\"color:green\">%d</span> emails for you!"
+#~ msgstr[0] "Postman a livré <span style=\"color:green\">%d</span> e-mail pour vous!"
+#~ msgstr[1] "Postman a livré <span style=\"color:green\">%d</span> e-mails pour vous!"
+
+#~ msgid "Please consider leaving a <a href=\"%s\">review of Postman SMTP</a> to help spread the word about the new way to send email from WordPress! :D"
+#~ msgstr "Se il vous plaît envisager de laisser <a href=\"%s\">une critique de Postman SMTP</a> pour aider à passer le mot à propos de la nouvelle façon d'envoyer des courriels à partir de WordPress! :D"
+
+#~ msgctxt "Connectivity Test Table"
+#~ msgid "Outbound to Internet"
+#~ msgstr "Sortant à Internet"
+
+#~ msgctxt "Connectivity Test Table"
+#~ msgid "Service Available"
+#~ msgstr "Service Disponible"
+
+#~ msgid "Conclusion"
+#~ msgstr "Conclusion"
+
+#~ msgid "A <span style=\"color:red\">Closed</span> port indicates one or more of these issues:"
+#~ msgstr "Un port <span style=\"color:red\">Fermé</span> peut vouloir dire ceci:"
+
+#~ msgid "Your host has placed a firewall between this site and the Internet"
+#~ msgstr "L'Hôte à mis en place un Firewall entre ce site et le serveur SMTP"
+
+#~ msgctxt "Page Title"
+#~ msgid "Tips and Diagnostic Info"
+#~ msgstr "Conseils et diagnostic Infos"
+
+#~ msgid "Please enter the email address and name you'd like to send mail from."
+#~ msgstr "Entrez l'adresse de messagerie et pseudo dont vous désiré envoyer des messages."
+
+#~ msgid "Please note that to combat Spam, many email services will <em>not</em> let you send from an e-mail address other than the one you authenticate with in step 5."
+#~ msgstr "Veuillez noter que pour combattre le Spam, plusieurs services de messagerie <em>ne permettrons pas</em> l'envoi d'un message provenant d'une autre adresse que la vôtre.\""
+
+#~ msgid "This is the local Outgoing Mail Server, or Mail Submission Agent (MSA), which Postman delegates mail delivery to. These servers are normally specific to the email account you have, and if you don't know which server to use, ask your email service provider.<br/><br/>If possible, the Wizard will pre-fill this field based on the e-mail address you entered."
+#~ msgstr "C'est le serveur, aussi connu comme une Agent de Submission Courrier (ASC), qui Postman utilisé pour vous livrer votre courrier. Si possible, Postman tentera de déterminer ce nom d'hôte basé sur l'adresse e-mail."
+
+#~ msgid "Enter your credentials. Your username is most likely your email address."
+#~ msgstr "Votre nom d'utilisateur est sans doutes votre adresse de messagerie."
+
+#~ msgid "Request permission from the Email Provider to allow Postman to send email and"
+#~ msgstr "Demandez la permission à votre service de messagerie de permettre à Postman d'envoyer du courrier puis"
+
+#~ msgctxt "OAuthentication Type is OAuth 2.0"
+#~ msgid "OAuth 2.0"
+#~ msgstr "OAuth 2.0"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "Password"
+#~ msgstr "Password"
+
+#~ msgctxt "Connectivity Test Table"
+#~ msgid "Auth"
+#~ msgstr "Auth"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "SMTP Server Hostname"
+#~ msgstr "Nom d'Hôte du serveur SMTP"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "SMTP Server Port"
+#~ msgstr "Port du serveur SMTP"
+
+#~ msgid "Select the authentication method and enter the SMTP server hostname and port:"
+#~ msgstr "Sélectionnez la méthode d'authentification et entrez le nom du serveur SMTP et le port:"
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "SMTP Server Hostname"
+#~ msgstr "Nom d'Hôte du serveur SMTP"
+
+#~ msgid "Your connection to the SMTP server depends on what your email service provider offers, and what your WordPress host allows. Postman will attempt to determine which options are available to you."
+#~ msgstr "Le nom d'hôte du serveur et le port, vous pouvez utiliser est une combinaison de ce que votre service de courrier offres des fournisseurs, et ce que votre hôte WordPress permet. Postman tentera de déterminer les options qui se offrent à vous."
+
+#~ msgid "This is the Outgoing Mail Server, also known as a Mail Submission Agent (MSA), that Postman will use to deliver your mail. If possible, Postman will try to determine this hostname based on the e-mail address."
+#~ msgstr "C'est le serveur, aussi connu comme une Courrier Submission Agent (CSA), qui Postman utilisé pour vous livrer votre courrier. Si possible, Postman tentera de déterminer ce nom d'hôte basé sur l'adresse e-mail."
+
+#~ msgid "You are about to configure OAuth 2.0 with an IP address in the URL which will fail. Either assign a real domain name to your site or add a fake one in your local machine's host file."
+#~ msgstr "Vous êtes sur le point de configurer OAuth 2.0 avec une adresse IP dans l'URL qui échouera. Soit attribuer un nom de domaine pour votre site ou ajouter un faux dans le fichier hôte de votre machine locale."
+
+#~ msgid "This test determines which well-known sockets are available for Postman to use."
+#~ msgstr "Ce test détermine les prises bien connus sont disponibles pour Postman à utiliser."
+
+#~ msgid "You will receive an email from Postman with the subject \"WordPress Postman SMTP Test.\""
+#~ msgstr "Vous recevrez un message de Postman avec l'objet suivant \"WordPress Postman SMTP Test.\""
+
+#~ msgctxt "TCP Port Test Status"
+#~ msgid "Checking.. "
+#~ msgstr "Vérification.. "
+
+#~ msgid "Please considering leaving a <a href=\"%s\">review of Postman SMTP</a> to help spread the word about the new way to send email from WordPress! :D"
+#~ msgstr "Se il vous plaît envisager de laisser <a href=\"%s\">une critique de Postman SMTP</a> pour aider à passer le mot à propos de la nouvelle façon d'envoyer des courriels à partir de WordPress! :D"
+
+#~ msgctxt "Test Email Subject"
+#~ msgid "WordPress Postman SMTP Test"
+#~ msgstr "Test SMTP de WordPress Postman"
+
+#~ msgctxt "Test Email Tagline"
+#~ msgid "Sent by Postman v%s"
+#~ msgstr "Envoyé par Postman v%s"
+
+#~ msgid "Sent by Postman %s"
+#~ msgstr "Envoyé par Postman %s"
+
+#~ msgid "Port 443 can be used to send Gmail with the <a href=\"%s\">Postman Gmail Extension</a>."
+#~ msgstr "Port 443 peut être utilisé pour envoyer Gmail avec le <a href=\"%s\">Postman Gmail Extension</a>."
+
+#~ msgid "Port 443 is blocked. Contact your host for a solution, such as opening the port."
+#~ msgstr "Port 443 est bloqué. Contactez votre hôte pour une solution, comme l'ouverture du port."
+
+#~ msgctxt "Main Menu"
+#~ msgid "Send a Test Email"
+#~ msgstr "Envoyer un message test"
+
+#~ msgid "Tips and Diagnostic Info"
+#~ msgstr "Conseils et diagnostic Infos"
+
+#~ msgid "In Outbox"
+#~ msgstr "Dans la boîte d'envoi"
diff --git a/Postman/languages/postman-smtp-it_IT.mo b/Postman/languages/postman-smtp-it_IT.mo
new file mode 100644
index 0000000..e56feca
--- /dev/null
+++ b/Postman/languages/postman-smtp-it_IT.mo
Binary files differ
diff --git a/Postman/languages/postman-smtp-it_IT.po b/Postman/languages/postman-smtp-it_IT.po
new file mode 100644
index 0000000..df8a03d
--- /dev/null
+++ b/Postman/languages/postman-smtp-it_IT.po
@@ -0,0 +1,2397 @@
+# Copyright (C) 2015 Postman SMTP
+# This file is distributed under the same license as the Postman SMTP package.
+msgid ""
+msgstr ""
+"Project-Id-Version: Postman SMTP 1.4.2\n"
+"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/postman-smtp\n"
+"POT-Creation-Date: 2015-11-08 17:19-0500\n"
+"PO-Revision-Date: 2015-11-09 01:31-0500\n"
+"Last-Translator: Andrea Greco <andreag.email@gmail.com>\n"
+"Language-Team: \n"
+"Language: it_IT\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.8.6\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:94
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:348
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:357
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:99
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:116
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:75
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:545
+#: Postman/PostmanViewController.php:227
+msgid "Warning"
+msgstr "Avviso"
+
+#. translators: where %s is the name of the SMTP server
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:96
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:116
+msgid "connected to %1$s instead of %2$s."
+msgstr "collegati a %1$s invece di %2$s."
+
+#. translators: where %d is a port number
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:98
+msgid "You are about to configure OAuth 2.0 with an IP address instead of a domain name. This is not permitted. Either assign a real domain name to your site or add a fake one in your local host file."
+msgstr "Stai per configurare OAuth 2.0 con un indirizzo IP nell'URL che fallirà. O assegnare un vero nome di dominio per il tuo sito o aggiungere un falso in file host del computer locale."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:132
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:157
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:83
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:81
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:95
+#: Postman/PostmanViewController.php:53 Postman/PostmanViewController.php:76
+#: Postman/PostmanViewController.php:184 Postman/PostmanViewController.php:256
+msgid "%s Setup"
+msgstr "Impostazioni %s"
+
+#. Plugin Name of the plugin/theme
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:132
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:157
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:83
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:57
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:70
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:81
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:333
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:176
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:95
+#: Postman/Postman.php:61 Postman/PostmanViewController.php:53
+#: Postman/PostmanViewController.php:54 Postman/PostmanViewController.php:76
+#: Postman/PostmanViewController.php:184 Postman/PostmanViewController.php:256
+msgid "Postman SMTP"
+msgstr "Postman SMTP"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:196
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:81
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:200
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:217 Postman/Postman.php:316
+#: Postman/PostmanAdminController.php:225
+msgid "Settings"
+msgstr "Optioni"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:198
+msgid "Account"
+msgstr "Account"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:199
+msgid "Message"
+msgstr "Messaggio"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:200
+msgid "Logging"
+msgstr "Registrazione"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:201
+msgid "Advanced"
+msgstr "Configurazione avanzata"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:263
+msgid "Setup Wizard"
+msgstr "Preparare Procedura Guidata"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:296
+msgctxt "Wizard Step Title"
+msgid "Import Configuration"
+msgstr "Importa configurazione"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:298
+msgctxt "Wizard Step Title"
+msgid "Import configuration from another plugin?"
+msgstr "Importa configurazione da un altro plugin?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:299
+msgid "If you had a working configuration with another Plugin, the Setup Wizard can begin with those settings."
+msgstr "Se tu avessi una configurazione di lavoro con un'altra Plugin, l'installazione guidata può iniziare con queste impostazioni."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:301
+#: Postman/Postman-Mail/PostmanModuleTransport.php:720
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:425
+msgid "None"
+msgstr "Nessuno"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:312
+msgctxt "Wizard Step Title"
+msgid "Sender Details"
+msgstr "Sender Dettagli"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:314
+msgctxt "Wizard Step Title"
+msgid "Who is the mail coming from?"
+msgstr "Chi è la posta proveniente da?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:315
+msgid "Enter the email address and name you'd like to send mail as."
+msgstr "Inserisci per favore l'indirizzo email e il nome dal quale vuoi inviare la posta."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:316
+msgid "Please note that to prevent abuse, many email services will <em>not</em> let you send from an email address other than the one you authenticate with."
+msgstr "Si prega di notare che per combattere lo spam, molti servizi di posta elettronica <em>non</em> consentono l’ invio da un indirizzo e-mail diverso dal proprio."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:317
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:49
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:112
+msgid "Email Address"
+msgstr "Indirizzo Email"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:320
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:59
+msgid "Name"
+msgstr "Nome"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:325
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:143
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:331
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:542
+msgid "Outgoing Mail Server Hostname"
+msgstr "Nome host server SMTP"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:333
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:337
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:138
+#: Postman/PostmanViewController.php:294
+msgid "Connectivity Test"
+msgstr "Test di connettività"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:335
+msgid "How will the connection to the mail server be established?"
+msgstr "Come verrà stabilita la connessione al MSA?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:336
+msgid "Your connection settings depend on what your email service provider offers, and what your WordPress host allows."
+msgstr "Il nome host del server e la porta si può usare è una combinazione di ciò che le vostre offerte fornitore di servizi di posta, e che cosa il vostro ospite WordPress permette. Postman tenterà di determinare quali opzioni sono a vostra disposizione."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:337
+msgctxt "TCP Port Test Status"
+msgid "Ready"
+msgstr "È Pronta"
+
+#. Translators: Where %1$s is the socket identifier and %2$s is the
+#. authentication type
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:345
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgctxt "A socket is the network term for host and port together"
+msgid "Socket"
+msgstr "Presa"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:346
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:354
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:223
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:177
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:351
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:356
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:372
+msgid "Authentication"
+msgstr "Autenticazione"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:349
+msgid "This configuration option will send your authorization credentials in the clear."
+msgstr "Questa opzione di configurazione invierà le credenziali di autorizzazione in chiaro."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:356
+msgid "How will you prove your identity to the mail server?"
+msgstr "Come pensate di dimostrare la propria identità per la MSA?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:363
+msgctxt "The final step of the Wizard"
+msgid "Finish"
+msgstr "Finito"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:365
+msgctxt "Wizard Step Title"
+msgid "You're Done!"
+msgstr "Gioco è fatto!"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:367
+msgid "Click Finish to save these settings, then:"
+msgstr "Fare clic su Fine per salvare le impostazioni, quindi:"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:369
+msgid "Grant permission with the Email Provider for Postman to send email and"
+msgstr "Richiedi il permesso dal provider di posta elettronica per consentire a Postman di inviare e-mail e"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:370
+msgid "Send yourself a Test Email to make sure everything is working!"
+msgstr "Inviati un messaggio di prova per accertarti che tutto funzioni!"
+
+#. translators: where %s is the URL to the Connectivity Test page
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:514
+msgid "Postman can't find any way to send mail on your system. Run a <a href=\"%s\">connectivity test</a>."
+msgstr "Postman non riesce a trovare un modo per inviare la posta sul proprio sistema. Eseguire un <a href=\"%s\">test di connettività</a>."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:33
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Transport"
+msgstr "Trasporto"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:38
+msgctxt "(i.e.) What kind is it?"
+msgid "Type"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:44
+msgctxt "The Message Sender Email Address"
+msgid "From Address"
+msgstr "Messaggio Mittente Indirizzo"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:70
+msgid "Additional Email Addresses"
+msgstr "Indirizzi Aggiuntivi"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:75
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:220
+msgid "Reply-To"
+msgstr "Reply-To"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:80
+msgid "To Recipient(s)"
+msgstr "Al destinatario(s)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:85
+msgid "Carbon Copy Recipient(s)"
+msgstr "Carbon Copy Destinatario(s)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:90
+msgid "Blind Carbon Copy Recipient(s)"
+msgstr "Blind Carbon Copy Destinatario(s)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:96
+msgid "Additional Headers"
+msgstr "Intestazioni Aggiuntive"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:101
+msgid "Custom Headers"
+msgstr "Intestazioni Personalizzate"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:107
+msgid "Validation"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:118
+msgid "Email Log Settings"
+msgstr "Impostazioni del registro di e-mail"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:123
+msgid "Enable Logging"
+msgstr "Abilita registrazione"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:128
+#: Postman/PostmanInputSanitizer.php:137
+msgid "Maximum Log Entries"
+msgstr "Numero max, elementi registro"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:133
+msgid "Maximum Transcript Size"
+msgstr "Dimensione di trascrizione (linee totale)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:139
+msgid "Network Settings"
+msgstr "Impostazioni di rete"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:144
+msgctxt "Configuration Input Field"
+msgid "TCP Connection Timeout (sec)"
+msgstr "Timeout connessione TCP (sec)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:149
+msgctxt "Configuration Input Field"
+msgid "TCP Read Timeout (sec)"
+msgstr "Leggi Timeout TCP (sec)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:155
+msgctxt "Configuration Section Title"
+msgid "Miscellaneous Settings"
+msgstr "Impostazioni varie"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:160
+msgctxt "Configuration Input Field"
+msgid "PHP Log Level"
+msgstr "Livello di registrazione PHP"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:165
+msgctxt "Configuration Input Field"
+msgid "Delivery Mode"
+msgstr "Modalità di consegna"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:170
+msgctxt "This mode removes the Postman X-Mailer signature from emails"
+msgid "Stealth Mode"
+msgstr "Modalità stealth"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:175
+msgid "Temporary Directory"
+msgstr "Cartella temporanea"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:186
+msgid "Choose SMTP or a vendor-specific API:"
+msgstr "Scegliere un fornitore-specifiche API o SMTP:"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:189
+msgid "Configure the delivery audit log:"
+msgstr "Configurare il registro di controllo della consegna:"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:196
+msgid "This address, like the <b>letterhead</b> printed on a letter, identifies the sender to the recipient. Change this when you are sending on behalf of someone else, for example to use Google's <a href=\"%s\">Send Mail As</a> feature. Other plugins, especially Contact Forms, may override this field to be your visitor's address."
+msgstr "Questo indirizzo, come il <b>intestata</b> stampato su una lettera, identifica il mittente al destinatario. Modificare questo quando si sta inviando a nome di qualcun altro, per esempio per utilizzare Google <a href=\"%s\">Send Mail As</a> caratteristica. Altri plugin, in particolare moduli di contatto, possono sovrascrivere questo campo per essere l'indirizzo del vostro ospite."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:203
+msgid "Separate multiple <b>to</b>/<b>cc</b>/<b>bcc</b> recipients with commas."
+msgstr "Separare più <b>a</b>/<b>cc</b>/ destinatari<b>Ccn</b> con virgole."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:210
+msgid "Increase the timeouts if your host is intermittenly failing to send mail. Be careful, this also correlates to how long your user must wait if the mail server is unreachable."
+msgstr "Aumentare il timeout di lettura se il tuo host riesce ad inviare i messaggi solo in maniera intermittènte. Attenzione, questo è correlato anche a quanto tempo il tuo utente deve attendere se il server di posta non è raggiungibile."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:221
+msgid "Specify custom headers (e.g. <code>X-MC-Tags: wordpress-site-A</code>), one per line. Use custom headers with caution as they can negatively affect your Spam score."
+msgstr "Specificare le intestazioni personalizzate (ad esempio <code>X-MC-Tags: wordpress-site-A</code>), uno per riga. Utilizzare intestazioni personalizzate con cautela in quanto possono influenzare negativamente il tuo punteggio Spam."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:228
+msgid "E-mail addresses can be validated before sending e-mail, however this may fail with some newer domains."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:254
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:276
+msgid "Prevent <b>plugins</b> and <b>themes</b> from changing this"
+msgstr "Impedire di modificare questo <b>plugin</b> e <b>temi</b>"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:261
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:405
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:244
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:195
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:409
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:416
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:459
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:467
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:475
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:482
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:530
+msgid "Required"
+msgstr "Obbligatorio"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:268
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:531
+msgid "This address, like the <b>return address</b> printed on an envelope, identifies the account owner to the SMTP server."
+msgstr "Questo indirizzo, come il <b>indirizzo di ritorno</b> stampato su una busta, identifica il proprietario dell'account al server SMTP."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:289
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:108
+msgid "Yes"
+msgstr "Si"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:290
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:109
+msgid "No"
+msgstr "No"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:300
+msgid "Change this value if you can't see the beginning of the transcript because your messages are too big."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:343
+msgid "Disable e-mail validation"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:350
+msgid "Log Level specifies the level of detail written to the <a target=\"_new\" href=\"%s\">WordPress Debug log</a> - view the log with <a target-\"_new\" href=\"%s\">Debug</a>."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:353
+msgid "Off"
+msgstr "Disattivo"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:354
+msgid "Trace"
+msgstr "Trace"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:355
+msgid "Debug"
+msgstr "Debug"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:356
+msgid "Info"
+msgstr "Info"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:358
+msgid "Error"
+msgstr "Errore"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:366
+msgid "Delivery mode offers options useful for developing or testing."
+msgstr "Modalità di consegna offre opzioni utili per lo sviluppo o il test."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:369
+msgctxt "When the server is online to the public, this is \"Production\" mode"
+msgid "Log Email and Send"
+msgstr "Registro Email e invia"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:370
+msgid "Log Email and Delete"
+msgstr "Registro Email e cancella"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:371
+msgid "Delete All Emails"
+msgstr "Elimina tutti i dati"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:375
+msgid "Remove the Postman X-Header signature from messages"
+msgstr "Rimuovere la firma del postino X-Header da messaggi"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:378
+msgid "Lockfiles are written here to prevent users from triggering an OAuth 2.0 token refresh at the same time."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:381
+msgid "Valid"
+msgstr "Valido"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:383
+msgid "Invalid"
+msgstr "Non valido"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:105
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:109
+msgctxt "The \"please wait\" message"
+msgid "Checking.."
+msgstr "Verificando.."
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:106
+msgctxt "The port is open"
+msgid "Open"
+msgstr "Aperto"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:107
+msgctxt "The port is closed"
+msgid "Closed"
+msgstr "Chiuso"
+
+#. translators: where %d is a port number
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:111
+msgid "No outbound route between this site and the Internet on Port %d."
+msgstr "Nessun percorso in uscita tra questo sito e Internet sulla porta %d."
+
+#. translators: where %d is a port number and %s is a hostname
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:113
+msgid "Port %d is open, but not to %s."
+msgstr "Porta %d è aperta, ma non a %s."
+
+#. translators: where %d is the port number and %s is the hostname
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:115
+msgid "Port %d can be used for SMTP to %s."
+msgstr "Port %d può essere utilizzato per SMTP per %s."
+
+#. translators: where %d is a port number and %s is the URL for the Postman
+#. Gmail Extension
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:118
+msgid "Port %d can be used with the %s."
+msgstr ""
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:141
+msgid "This test determines which well-known ports are available for Postman to use."
+msgstr "Questo test determina quali sono disponibili per Postman usare prese noti."
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:145
+msgctxt "Button Label"
+msgid "Begin Test"
+msgstr "Inizia test"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:162
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:152
+msgid "Status"
+msgstr "Stato"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Service Available"
+msgstr "Servizio disponibile"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Server ID"
+msgstr ""
+
+#. Translators: Meaning "Not Applicable"
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:155
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:260
+msgid "n/a"
+msgstr "n/d"
+
+#. Translators: Where %s is the name of the service providing Internet
+#. connectivity test
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:160
+msgid "According to %s"
+msgstr ""
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:163
+msgid "Summary"
+msgstr "Sommario"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:168
+msgid "A test with <span style=\"color:red\">\"No\"</span> Service Available indicates one or more of these issues:"
+msgstr "Una porta <span style=\"color:red\">No</span> indica:"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:170
+msgid "Your web host has placed a firewall between this site and the Internet"
+msgstr "Il tuo host ha inserito un firewall tra il sito e il server SMTP oppure"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:171
+msgid "The SMTP hostname is wrong or the mail server does not provide service on this port"
+msgstr "Il nome host SMTP è errato o il server di posta non fornisce il servizio su questa porta"
+
+#. translators: where (1) is the URL and (2) is the system
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:173
+msgid "Your <a href=\"%1$s\">%2$s configuration</a> is preventing outbound connections"
+msgstr "Il tuo <a href=\"%1$s\">configurazione di %2$s</a> sta impedendo le connessioni in uscita"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:177
+msgid "If the issues above can not be resolved, your last option is to configure Postman to use an email account managed by your web host with an SMTP server managed by your web host."
+msgstr "Se non è possibile risolvere i problemi di cui sopra, l'ultima opzione consiste nel configurare il postino per utilizzare un account di posta elettronica gestiti dal tuo host web con un server SMTP gestito dal tuo host web."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:82
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman.php:317
+msgctxt "The log of Emails that have been delivered"
+msgid "Email Log"
+msgstr "Livello di registrazione"
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:95
+msgid "Error: Postman is missing a required PHP library."
+msgstr "Postman manca una libreria PHP richiesta."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:97
+#: Postman/Postman.php:257
+msgid "Postman: wp_mail has been declared by another plugin or theme, so you won't be able to use Postman until the conflict is resolved."
+msgstr "Errore: Postino è configurato correttamente, ma il tema corrente o un altro plugin sta impedendo il servizio."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:100
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:229
+msgid "Postman is in <em>non-Production</em> mode and is dumping all emails."
+msgstr "Postino è in modalità <em>Non di produzione</em> ed è dumping tutte le email."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:102
+msgid "<span style=\"color:green\">Postman is configured</span> and has delivered <span style=\"color:green\">%d</span> email."
+msgid_plural "<span style=\"color:green\">Postman is configured</span> and has delivered <span style=\"color:green\">%d</span> emails."
+msgstr[0] "<span style=\"color:green\">Postman è configurato</span> e ha consegnato <span style=\"color:green\">%d</span> e-mail."
+msgstr[1] "<span style=\"color:green\">Postman è configurato</span> e ha consegnato <span style=\"color:green\">%d</span> e-mail."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:104
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:234
+msgid "Postman is <em>not</em> configured and is mimicking out-of-the-box WordPress email delivery."
+msgstr ""
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:116
+msgid "Postman is operating in per-site mode."
+msgstr "Postino sta operando in modalità per sito."
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:102
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:107
+#: Postman/PostmanViewController.php:295
+msgid "Diagnostic Test"
+msgstr "Consigli e informazioni di diagnostica"
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:104
+msgid "Are you having issues with Postman?"
+msgstr "Stai avendo problemi con Postman?"
+
+#. translators: where %1$s and %2$s are the URLs to the Troubleshooting and
+#. Support Forums on WordPress.org
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:106
+msgid "Please check the <a href=\"%1$s\">troubleshooting and error messages</a> page and the <a href=\"%2$s\">support forum</a>."
+msgstr "Controllare la pagina di <a href=\"%1$s\">risoluzione dei problemi e messaggi di errore</a> e il <a href=\"%2$s\">forum di supporto</a>."
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:108
+msgid "If you write for help, please include the following:"
+msgstr "Se si scrive per un aiuto, si prega di includere le seguenti informazioni di diagnostica:"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:90
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:242
+msgid "Your message was delivered (%d ms) to the SMTP server! Congratulations :)"
+msgstr "Il tuo messaggio è stato consegnato (%d ms) al server SMTP! Congratulazioni :)"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:156
+msgid "Mail Log Entries were deleted."
+msgstr "Le voci del Log di posta sono state cancellate."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:179
+msgid "Mail Log Entry was deleted."
+msgstr "Voce di Log di posta è stato eliminato."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:204
+msgctxt "Who is this message From?"
+msgid "From"
+msgstr "Dal"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:208
+msgctxt "Who is this message To?"
+msgid "To"
+msgstr "A"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:212
+msgctxt "Who is this message Cc'd to?"
+msgid "Cc"
+msgstr "Cc"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:216
+msgctxt "Who is this message Bcc'd to?"
+msgid "Bcc"
+msgstr "Bcc"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:222
+msgctxt "What is the date today?"
+msgid "Date"
+msgstr "Data"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:223
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:161
+msgctxt "What is the subject of this message?"
+msgid "Subject"
+msgstr "Oggetto"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:226
+msgctxt "What is the unique URI of the configuration?"
+msgid "Delivery-URI"
+msgstr "Consegna-URI"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:253
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:161
+msgid "This is the conversation between Postman and the mail server. It can be useful for diagnosing problems. <b>DO NOT</b> post it on-line, it may contain your account password."
+msgstr "Questa è la conversazione tra postino e il server SMTP. Può essere utile per la diagnosi dei problemi. <b>NON</b> pubblicarlo on-line, si può contenere la password in forma codificata."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:333
+msgid "%s Email Log"
+msgstr "%s Email Log"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:301
+msgid "Email was successfully resent (but without attachments)"
+msgstr ""
+
+#. Translators: Where %s is an error message
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:303
+msgid "Email could not be resent. Error: %s"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:304
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:110
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:112
+msgid "Resend"
+msgstr "Invia di nuovo"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:339
+msgid "This is a record of deliveries made to the mail server. It does not neccessarily indicate sucessful delivery to the recipient."
+msgstr "Questo è un record di consegna tentativi fatti a posta presentazione agente (MSA). Non indica necessariamente sucessful consegna al destinatario."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogPostType.php:37
+msgctxt "The group of Emails that have been delivered"
+msgid "Sent Emails"
+msgstr "E-mail inviate"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogPostType.php:38
+msgctxt "An Email that has been delivered"
+msgid "Sent Email"
+msgstr "E-mail inviata"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:75
+msgid "An empty subject line can result in delivery failure."
+msgstr "Un oggetto vuoto può causare la mancata consegna."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:196
+msgid ".. +%d more"
+msgstr ".. e altro %d."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:99
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:223
+msgctxt "Delete an item from the email log"
+msgid "Delete"
+msgstr "Elimina"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:100
+msgctxt "View an item from the email log"
+msgid "View"
+msgstr "Vista"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:104
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:106
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:158
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:163
+msgid "Session Transcript"
+msgstr "Trascrizione della Sessione SMTP"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:163
+msgctxt "When was this email sent?"
+msgid "Delivery Time"
+msgstr "Tempo di consegna"
+
+#. Translators: where %s indicates the relative time from now
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:332
+msgctxt "A relative time as in \"five days ago\""
+msgid "%s ago"
+msgstr "%s fa"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:338
+msgid "Sent"
+msgstr "Inviato"
+
+#: Postman/Postman-Mail/PostmanDefaultModuleTransport.php:107
+msgid "Default"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:102
+msgid "Gmail API"
+msgstr "Gmail API"
+
+#. translators: where (1) is the secure icon and (2) is the transport name
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:152
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:135
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:79
+msgid "Postman will send mail via the <b>%1$s %2$s</b>."
+msgstr "Postman invierà mail tramite il <b>%1$s %2$s</b>."
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:166
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:117
+msgid "You have configured OAuth 2.0 authentication, but have not received permission to use it."
+msgstr "Hai configurato l'autenticazione OAuth 2.0, ma non hai ricevuto il permesso per l'utilizzo."
+
+#. translators: where variables are (1) transport name (2) host and (3) port
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:206
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:181
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:125
+msgid "Postman recommends the %1$s to host %2$s on port %3$d."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:221
+#: Postman/Postman-Mail/PostmanModuleTransport.php:713
+msgid "OAuth 2.0 (requires Client ID and Client Secret)"
+msgstr "OAuth 2.0 (richiede un ID Client e Client segreto)"
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:44
+msgid "Mandrill API"
+msgstr "Mandrill API"
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:147
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:101
+msgid "API Key can not be empty"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:151
+#: Postman/Postman-Mail/PostmanModuleTransport.php:578
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:105
+msgid "Message From Address can not be empty"
+msgstr "Messaggio Mittente Indirizzo non può essere vuoto."
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:194
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:228
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:271
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:148
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:182
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:222
+msgid "API Key"
+msgstr ""
+
+#. Translators: Where (1) is the service URL and (2) is the service name and
+#. (3) is a api key URL
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:238
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:189
+msgid "Create an account at <a href=\"%1$s\" target=\"_new\">%2$s</a> and enter <a href=\"%3$s\" target=\"_new\">an API key</a> below."
+msgstr ""
+
+#. translators: where (1) is the transport type, (2) is the host, and (3) is
+#. the Authentication Type (e.g. Postman will send mail via smtp.gmail.com:465
+#. using OAuth 2.0 authentication.)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:506
+msgid "Postman will send mail via %1$s to %2$s using %3$s authentication."
+msgstr "Postman invierà la posta via %1$s al %2$s utilizzando %3$s autenticazione."
+
+#. translators: where %1$s is the Transport type (e.g. SMTP or SMTPS) and %2$s
+#. is the encryption type (e.g. SSL or TLS)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:534
+msgctxt "as in \"There is no Spoon\""
+msgid "no"
+msgstr "no"
+
+#: Postman/Postman-Mail/PostmanModuleTransport.php:553
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:366
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:584
+msgid "Password"
+msgstr "Password"
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label (e.g. Warning: OAuth 2.0 authentication requires an OAuth 2.0-capable
+#. Outgoing Mail Server, Sender Email Address, Client ID, and Client Secret.)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:584
+msgid "OAuth 2.0 authentication requires a %1$s and %2$s."
+msgstr "L’ autenticazione OAuth 2.0 richiede un %1$s e %2$s."
+
+#: Postman/Postman-Mail/PostmanModuleTransport.php:706
+msgid "Password (requires username and password)"
+msgstr "Password (richiede nome utente e password)"
+
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:200
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:217
+msgid "MyMail: Change the delivery method in the %s!"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:39
+msgid "SendGrid API"
+msgstr "SendGrid API"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:95
+msgid "Outgoing Mail Server Hostname and Port can not be empty."
+msgstr "Server Posta in Uscita (SMTP) e Porta non possono essere vuoti."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:99
+msgid "Envelope-From Email Address can not be empty"
+msgstr "Busta Mittente Indirizzo non può essere vuoto."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:103
+msgid "Username and password can not be empty."
+msgstr "L'autenticazione password (Plain / Login / CRAMMD5) richiede un nome utente e una password."
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label (e.g. Warning: OAuth 2.0 authentication requires an OAuth 2.0-capable
+#. Outgoing Mail Server, Sender Email Address, Client ID, and Client Secret.)
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:109
+msgid "OAuth 2.0 authentication requires a supported OAuth 2.0-capable Outgoing Mail Server."
+msgstr "L’ autenticazione OAuth 2.0 richiede un server cha abbia la funzione per la posta in uscita OAuth 2.0 abilitata, Indirizzo e-mail del mittente."
+
+#. translators: where %1$s is a description of the transport (eg. SMTPS-SSL),
+#. %2$s is a description of the authentication (eg. Password-CRAMMD5), %3$d is
+#. the TCP port (eg. 465), %4$d is the hostname
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:269
+msgid "Postman recommends %1$s with %2$s authentication to host %4$s on port %3$d."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:326
+msgid "Transport Settings"
+msgstr "Impostazioni di trasporto"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:336
+msgid "Outgoing Mail Server Port"
+msgstr "Porta Server SMTP"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:341
+msgid "Envelope-From Email Address"
+msgstr "Busta mittente Indirizzo"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:346
+msgctxt "Configuration Input Field"
+msgid "Security"
+msgstr "Sicurezza"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:361
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:580
+msgid "Username"
+msgstr "Nome Utente"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:402
+msgid "Configure the communication with the mail server."
+msgstr "Configurare la comunicazione con il Mail Submission Agent (MSA):"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:449
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:579
+msgid "Enter the account credentials."
+msgstr "Inserisci le tue credenziali."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:457
+msgid "The Username is usually the same as the Envelope-From Email Address."
+msgstr "Il nome utente è più probabile il tuo indirizzo email."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:511
+msgid "Error computing your domain root - please enter it manually"
+msgstr "Errore nello stabilire la tua root di dominio - per favore inseriscila manualmente"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:532
+msgid "For reliable delivery, this domain must specify an <a target=\"_new\" href=\"%s\">SPF record</a> permitting the use of the SMTP server named above."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:539
+msgctxt "Wizard Step Title"
+msgid "Which host will relay the mail?"
+msgstr "Che accoglienza si inoltrare la posta?"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:540
+msgid "This is the Outgoing (SMTP) Mail Server, or Mail Submission Agent (MSA), which Postman delegates mail delivery to. This server is specific to your email account, and if you don't know what to use, ask your email service provider."
+msgstr "Questo è il server di posta in uscita, noto anche come un Invio posta Agent, che Postman userà per consegnare la posta. Se possibile, Postman cercherà di determinare questo nome host in base all'indirizzo e-mail."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:541
+msgid "Note that many WordPress hosts, such as GoDaddy, Bluehost and Dreamhost, require that you use their mail accounts with their mail servers, and prevent you from using others."
+msgstr "Nota che molti ospiti di WordPress, come GoDaddy, Bluehost e Dreamhost, richiedono di utilizzare il loro account di posta con i loro server di posta e ti impedisce di utilizzare gli altri."
+
+#. Translators: Where (%s) is the name of the web host
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:547
+msgid "Your email address <b>requires</b> access to a remote SMTP server blocked by %s."
+msgstr "Tua e-mail indirizzo <b>richiede</b> l'accesso a un server SMTP remoto bloccato da %s."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:548
+msgid "If you have access to cPanel, enable the Remote Mail Exchanger."
+msgstr ""
+
+#. Translators: Where (%1$s) is the SPF-info URL and (%2$s) is the name of the
+#. web host
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:551
+msgid "If you own this domain, make sure it has an <a href=\"%1$s\">SPF record authorizing %2$s</a> as a relay, or you will have delivery problems."
+msgstr "Se possedete questo dominio, assicurarsi che dispone di un <a href=\"%1$s\">record SPF che autorizza %2$s</a> come un relè, o avrete problemi di consegna."
+
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:231
+msgid "Postman is configured."
+msgstr "Postman è configurato."
+
+#: Postman/Postman-Mail/PostmanZendMailEngine.php:209
+msgid "Communication Error [334] - make sure the Envelope From email is the same account used to create the Client ID."
+msgstr "Errore di comunicazione [334] - assicurarsi che il Mittente Email appartenga allo stesso profilo per il quale e' concesso il consenso OAuth 2.0."
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:115
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:149
+msgctxt "Email Test Status"
+msgid "In Outbox"
+msgstr "Posta in uscita"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:116
+msgctxt "Email Test Status"
+msgid "Sending..."
+msgstr "Invio.."
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:117
+msgctxt "Email Test Status"
+msgid "Success"
+msgstr "Eseguito"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:118
+msgctxt "Email Test Status"
+msgid "Failed"
+msgstr "Errore"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:119
+msgid "Ajax Error"
+msgstr ""
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:128
+#: Postman/PostmanViewController.php:273 Postman/PostmanViewController.php:275
+msgid "Send a Test Email"
+msgstr "Invia una mail di prova"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:133
+msgid "Specify the Recipient"
+msgstr "Scegliere il destinatario"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:135
+msgid "Who is this message going to?"
+msgstr "Chi è questo messaggio sta per?"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:136
+msgid "This utility allows you to send an email message for testing."
+msgstr "Questa utilità consente di inviare un messaggio di posta elettronica per il test."
+
+#. translators: where %d is an amount of time, in seconds
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:139
+msgid "If there is a problem, Postman will give up after %d second."
+msgid_plural "If there is a problem, Postman will give up after %d seconds."
+msgstr[0] "Se c'è un problema, Postman si interromperà dopo %d secondo."
+msgstr[1] "Se c'è un problema, Postman si interromperà dopo %d secondi."
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:140
+msgctxt "Configuration Input Field"
+msgid "Recipient Email Address"
+msgstr "Destinatario Indirizzo e-mail"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:145
+msgid "Send The Message"
+msgstr "Inviare il messaggio"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:148
+msgid "Sending the message:"
+msgstr "Invio del messaggio in corso:"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:160
+msgid "Examine the Session Transcript if you need to."
+msgstr "Esaminare la sessione SMTP Trascrizione se è necessario."
+
+#. translators: where %s is the domain name of the site
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:212
+msgctxt "Test Email Subject"
+msgid "Postman SMTP Test (%s)"
+msgstr "Postman test SMTP (%s)"
+
+#. translators: where %s is the Postman plugin version number (e.g. 1.4)
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:299
+msgctxt "Test Email Tagline"
+msgid "Sent by Postman %s"
+msgstr "Inviato da Postman %s"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:300
+msgid "Image source"
+msgstr "Origine immagine"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:301
+msgid "Used with permission"
+msgstr "Usato con permesso"
+
+#: Postman/PostmanAdminController.php:111
+msgctxt "The plugin successfully saved new settings."
+msgid "Settings saved."
+msgstr "Impostazioni salvate"
+
+#. Translators: where %1$s is the name of the library
+#: Postman/PostmanAdminController.php:178
+msgid "This PHP installation requires the <b>%1$s</b> library."
+msgstr "Questa installazione PHP richiede la <b>%1$s</b> library."
+
+#: Postman/PostmanAdminController.php:253
+msgid "There was an error importing the data."
+msgstr ""
+
+#: Postman/PostmanAdminController.php:270
+msgid "Plugin data was removed."
+msgstr "Tutte le impostazioni del plugin sono stati rimossi."
+
+#: Postman/PostmanAdminController.php:294
+msgid "The OAuth 2.0 authorization was successful. Ready to send e-mail."
+msgstr "L'autorizzazione di OAuth 2.0 ha avuto successo. Pronto per inviare e-mail."
+
+#: Postman/PostmanAdminController.php:296
+msgid "Your email provider did not grant Postman permission. Try again."
+msgstr "Il tuo provider di posta elettronica non ha permesso l’ accesso a Postman. Riprova."
+
+#: Postman/PostmanAdminController.php:299
+msgid "The grant code from Google had no accompanying state and may be a forgery"
+msgstr "Il codice di accesso di Google non ha corrispondenza e potrebbe essere falso"
+
+#. translators: %s is the error message
+#: Postman/PostmanAdminController.php:303
+msgid "Error authenticating with this Client ID. [%s]"
+msgstr "Errore di autenticazione con questo Client ID. [%s]"
+
+#: Postman/PostmanConfigTextHelper.php:31
+msgid "Attention"
+msgstr "Attenzione"
+
+#. translators: parameters available are 1=portal-url, 2=portal-name,
+#. 3=clientId-name, 4=clientSecret-name, 5=callbackUrl, 6=service-name,
+#. 7=portal-application (e.g. Open the Google Developer Console, create a
+#. Client ID for web application using the URL's displayed below, and copy the
+#. Client ID and Client Secret here.)
+#: Postman/PostmanConfigTextHelper.php:33
+msgid "Open the <a href=\"%1$s\" target=\"_new\">%2$s</a>, create <b>%7$s</b> with the values displayed below, and copy the generated %3$s and %4$s here."
+msgstr "Apri il <a href=\"%1$s\" target=\"_new\">%2$s</a>, creato <b>%7$s</b> usando l' URL mostrato di seguito, e copia i %3$s and %4$s qui."
+
+#. translators: parameters available are 1=clientId-name, 2=service-name,
+#. 3=FAQ-URL, 4=Video-URL (e.g. See How do I get a Google Client ID? in the
+#. F.A.Q.)
+#: Postman/PostmanConfigTextHelper.php:36
+msgid "See <a href=\"%3$s\" target=\"_new\">How do I get a %1$s %2$s?</a> in the F.A.Q. or <a href=\"%4$s\" target=\"_new\">watch our How-To video 📺</a>."
+msgstr "Vedere <a href=\"%3$s\" target=\"_new\">come a ottenere un %1$s %2$s?</a> nella F.A.Q. o <a href=\"%4$s\" target=\"_new\">Guarda i nostri how-to dei 📺</a>."
+
+#. translators: where %s is the Email Service Owner (e.g. Google, Microsoft or
+#. Yahoo)
+#: Postman/PostmanConfigTextHelper.php:54
+msgctxt "Command to initiate OAuth authentication"
+msgid "Grant permission with %s"
+msgstr "Richiesta permesso di %s"
+
+#. Translators: This description is specific to Google
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:80
+#: Postman/PostmanConfigTextHelper.php:142
+#: Postman/PostmanConfigTextHelper.php:204
+#: Postman/PostmanConfigTextHelper.php:271
+msgctxt "Name of the OAuth 2.0 Client ID"
+msgid "Client ID"
+msgstr "Client ID"
+
+#. Translators: This description is specific to Google
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:84
+#: Postman/PostmanConfigTextHelper.php:146
+#: Postman/PostmanConfigTextHelper.php:208
+#: Postman/PostmanConfigTextHelper.php:274
+msgctxt "Name of the OAuth 2.0 Client Secret"
+msgid "Client Secret"
+msgstr "Client Secret"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:88
+msgctxt "Name of the Application Callback URI"
+msgid "Authorized redirect URI"
+msgstr "Authorized redirect URI"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:92
+msgctxt "Name of the Application Callback Domain"
+msgid "Authorized JavaScript origins"
+msgstr "Authorized JavaScript origins"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:96
+msgctxt "Name of the email service owner"
+msgid "Google"
+msgstr "Google"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:100
+msgctxt "Name of the email service"
+msgid "Gmail"
+msgstr "Gmail"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:104
+msgctxt "Description of the email service OAuth 2.0 Application"
+msgid "a Client ID for web application"
+msgstr "un ID client per applicazioni web"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:108
+msgctxt "Name of the email service portal"
+msgid "Google Developers Console Gmail Wizard"
+msgstr "Guidata di Gmail di Google gli sviluppatori Console"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:150
+msgctxt "Name of the Application Callback URI"
+msgid "Redirect URL"
+msgstr "URL di reindirizzamento"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:154
+msgctxt "Name of the Application Callback Domain"
+msgid "Root Domain"
+msgstr "Root di dominio"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:158
+msgctxt "Name of the email service owner"
+msgid "Microsoft"
+msgstr "Microsoft"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:162
+msgctxt "Name of the email service"
+msgid "Outlook.com"
+msgstr "Outlook.com"
+
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:166
+#: Postman/PostmanConfigTextHelper.php:228
+msgctxt "Description of the email service OAuth 2.0 Application"
+msgid "an Application"
+msgstr "una Applicazione"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:170
+msgctxt "Name of the email service portal"
+msgid "Microsoft Developer Center"
+msgstr "Microsoft Developer Center"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:212
+msgctxt "Name of the Application Callback URI"
+msgid "Home Page URL"
+msgstr "Indirizzo URL Home Page"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:216
+msgctxt "Name of the Application Callback Domain"
+msgid "Callback Domain"
+msgstr "Callback Domain"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:220
+msgctxt "Name of the email service owner"
+msgid "Yahoo"
+msgstr "Yahoo"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:224
+msgctxt "Name of the email service"
+msgid "Yahoo Mail"
+msgstr "Yahoo Mail"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:232
+msgctxt "Name of the email service portal"
+msgid "Yahoo Developer Network"
+msgstr "Yahoo Developer Network"
+
+#: Postman/PostmanConfigTextHelper.php:261
+msgid "Enter an Outgoing Mail Server with OAuth2 capabilities."
+msgstr "Inserisci un server di posta in uscita con funzionalità OAuth2."
+
+#: Postman/PostmanConfigTextHelper.php:277
+msgctxt "Name of the Application Callback URI"
+msgid "Redirect URI"
+msgstr "URI reindirizzamento"
+
+#: Postman/PostmanConfigTextHelper.php:280
+msgctxt "Name of the Application Callback Domain"
+msgid "Website Domain"
+msgstr "Nome di dominio website"
+
+#: Postman/PostmanConfigTextHelper.php:304
+msgid "Grant OAuth 2.0 Permission"
+msgstr "Autorizzazioni Grant OAuth 2.0"
+
+#: Postman/PostmanInputSanitizer.php:137
+msgid "must be greater than 0"
+msgstr "deve essere maggiore di 0"
+
+#: Postman/PostmanViewController.php:112
+msgid "An unexpected error occurred"
+msgstr ""
+
+#: Postman/PostmanViewController.php:113
+msgid "Unexpected PHP messages corrupted the Ajax response"
+msgstr ""
+
+#: Postman/PostmanViewController.php:118
+msgctxt "Press this button to Finish this task"
+msgid "Finish"
+msgstr "Finito"
+
+#: Postman/PostmanViewController.php:119
+msgctxt "Press this button to go to the next step"
+msgid "Next"
+msgstr "Il Prossimo"
+
+#: Postman/PostmanViewController.php:120
+msgctxt "Press this button to go to the previous step"
+msgid "Previous"
+msgstr "Precedente"
+
+#: Postman/PostmanViewController.php:132
+msgid "Postman is unable to run. Email delivery is being handled by WordPress (or another plugin)."
+msgstr ""
+
+#. translators: where %d is the number of emails delivered
+#: Postman/PostmanViewController.php:147
+msgid "Postman has delivered <span style=\"color:green\">%d</span> email."
+msgid_plural "Postman has delivered <span style=\"color:green\">%d</span> emails."
+msgstr[0] "Postman ha consegnato <span style=\"color:green\">%d</span> e-mail."
+msgstr[1] "Postman ha consegnato <span style=\"color:green\">%d</span> e-mail."
+
+#: Postman/PostmanViewController.php:150
+msgid "The last %d email attempts are recorded <a href=\"%s\">in the log</a>."
+msgstr "I tentativi di posta elettronica ultimi %d sono registrati <a href=\"%s\">nel</a> registro."
+
+#: Postman/PostmanViewController.php:155
+msgid "Thank-you for choosing Postman!"
+msgstr "Grazie per aver scelto Postman!"
+
+#. translators: where %s is the URL of the Setup Wizard
+#: Postman/PostmanViewController.php:157
+msgid "Let's get started! All users are strongly encouraged to <a href=\"%s\">run the Setup Wizard</a>."
+msgstr "Cominciamo! Tutti gli utenti sono fortemente incoraggiati a iniziare <a href=\"%s\">eseguendo l' installazione guidata</a>."
+
+#: Postman/PostmanViewController.php:158
+msgid "Alternately, <a href=\"%s\">manually configure</a> your own settings and/or modify advanced options."
+msgstr "In alternativa, <a href=\"%s\">configurare manualmente</a> le proprie impostazioni e / o modificare le opzioni avanzate."
+
+#. translators: where %s is the URL to the WordPress.org review and ratings
+#. page
+#: Postman/PostmanViewController.php:163
+msgid "Please consider <a href=\"%s\">leaving a review</a> to help spread the word! :D"
+msgstr "Si prega di considerare di <a href=\"%s\">lasciare una recensione</a> per aiutare a diffondere la parola! : D"
+
+#: Postman/PostmanViewController.php:165
+msgid "Postman needs translators! Please take a moment to <a href=\"%s\">translate a few sentences on-line</a>"
+msgstr ""
+
+#: Postman/PostmanViewController.php:167
+msgid "<b style=\"background-color:yellow\">New for v1.7!</style></b> Send mail with the Mandrill or SendGrid APIs."
+msgstr ""
+
+#: Postman/PostmanViewController.php:191
+msgctxt "Return to main menu link"
+msgid "Back To Main Menu"
+msgstr "Tornare al menu principale"
+
+#: Postman/PostmanViewController.php:198 Postman/PostmanViewController.php:233
+#: Postman/PostmanViewController.php:284
+msgid "Import"
+msgstr "Importare"
+
+#: Postman/PostmanViewController.php:199 Postman/PostmanViewController.php:285
+msgid "Export"
+msgstr "Esportazione"
+
+#: Postman/PostmanViewController.php:200 Postman/PostmanViewController.php:286
+msgid "Reset Plugin"
+msgstr "Ripristina Plugin"
+
+#: Postman/PostmanViewController.php:206
+msgid "Copy this data into another instance of Postman to duplicate the configuration."
+msgstr ""
+
+#: Postman/PostmanViewController.php:225
+msgid "Paste data from another instance of Postman here to duplicate the configuration."
+msgstr ""
+
+#: Postman/PostmanViewController.php:228
+msgid "Using the same OAuth 2.0 Client ID and Client Secret from this site at the same time as another site will cause failures."
+msgstr ""
+
+#: Postman/PostmanViewController.php:241
+msgid "This will purge all of Postman's settings, including account credentials and the email log."
+msgstr "Questo sarà eliminare tutte le impostazioni del postino, comprese le credenziali dell'account e il log di posta."
+
+#: Postman/PostmanViewController.php:241
+msgid "Are you sure?"
+msgstr "Sei sicuro?"
+
+#: Postman/PostmanViewController.php:261
+msgid "Configuration"
+msgstr "Configurazione"
+
+#: Postman/PostmanViewController.php:262
+msgid "Start the Wizard"
+msgstr "Avviare la procedura guidata"
+
+#: Postman/PostmanViewController.php:263
+msgid "Show All Settings"
+msgstr "Configurare Manualmente"
+
+#: Postman/PostmanViewController.php:266
+msgctxt "Main Menu"
+msgid "Actions"
+msgstr "Azioni"
+
+#: Postman/PostmanViewController.php:292
+msgctxt "Main Menu"
+msgid "Troubleshooting"
+msgstr "Risoluzione Dei Problemi"
+
+#: Postman/PostmanViewController.php:296
+msgid "Online Support"
+msgstr "Supporto Online"
+
+#. Plugin URI of the plugin/theme
+msgid "https://wordpress.org/plugins/postman-smtp/"
+msgstr "https://it.wordpress.org/plugins/postman-smtp/"
+
+#. Description of the plugin/theme
+msgid "Email not reliable? Postman is the first and only WordPress SMTP plugin to implement OAuth 2.0 for Gmail, Hotmail and Yahoo Mail. Setup is a breeze with the Configuration Wizard and integrated Port Tester. Enjoy worry-free delivery even if your password changes!"
+msgstr "La Email non funziona? Postman è il primo e unico plugin WordPress SMTP per implementare lo standard di sicurezza OAuth 2.0 per Gmail e Hotmail. L'installazione è un gioco da ragazzi con la procedura guidata di configurazione e Tester Port integrata. Godetevi la consegna senza problemi, anche se effettuate una modifica della password!"
+
+#. Author of the plugin/theme
+msgid "Jason Hendriks"
+msgstr "Jason Hendriks"
+
+#. Author URI of the plugin/theme
+msgid "http://www.codingmonkey.ca"
+msgstr "http://www.codingmonkey.ca"
+
+#~ msgid "Change the delivery method on the %s!"
+#~ msgstr "Cambiare il metodo di consegna sul %s!"
+
+#~ msgid "<a href=\"%s\">Configure</a> the plugin."
+#~ msgstr "<a href=\"%s\">Configura</a> il plugin."
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Test Your Setup"
+#~ msgstr "Verifica La Tua Configurazione"
+
+#~ msgctxt "eg. TCP Port 25"
+#~ msgid "Port"
+#~ msgstr "Porta"
+
+#~ msgid "Port %d can be used to send email with the %s."
+#~ msgstr "Porta %d può essere utilizzata per l'API di %s."
+
+#~ msgctxt "as in \"There is no Authentication\""
+#~ msgid "no"
+#~ msgstr "no"
+
+#~ msgctxt "Log Level"
+#~ msgid "Off"
+#~ msgstr "Off"
+
+#~ msgctxt "Log Level"
+#~ msgid "Trace"
+#~ msgstr "Trace"
+
+#~ msgctxt "Log Level"
+#~ msgid "Debug"
+#~ msgstr "Debug"
+
+#~ msgctxt "Log Level"
+#~ msgid "Info"
+#~ msgstr "Info"
+
+#~ msgctxt "Log Level"
+#~ msgid "Warning"
+#~ msgstr "Warning"
+
+#~ msgctxt "Log Level"
+#~ msgid "Error"
+#~ msgstr "Error"
+
+#~ msgid "New for v1.6! Email Log"
+#~ msgstr "Nuovo per v 1.6! E-mail Log"
+
+#~ msgid "Enable to save a copy of all your emails. Great for troubleshooting or as a backup for messages that get lost. <b>Access the Email Log in the Tools menu.</b>"
+#~ msgstr "Permettono di salvare una copia di tutte le tue email. Grande per la risoluzione dei problemi o come backup per i messaggi che si perdono. <b>Accedere al Registro di Email nel menu strumenti.</b>"
+
+#~ msgctxt "The configuration page of the plugin"
+#~ msgid "Settings"
+#~ msgstr "Impostazioni"
+
+#~ msgid "Postman is <em>not</em> handling email delivery."
+#~ msgstr "Postman è <em>non</em> movimentazione consegna della posta."
+
+#~ msgctxt "As in type used: None"
+#~ msgid "None"
+#~ msgstr "Nessuno"
+
+#~ msgctxt "Who do we reply to?"
+#~ msgid "Reply-To"
+#~ msgstr "Reply-To"
+
+#~ msgid "This is the conversation between Postman and your SMTP server. It can be useful for diagnosing problems. <b>DO NOT</b> post it on-line, it may contain your account password."
+#~ msgstr "Questa è la conversazione tra postino e il server SMTP. Può essere utile per la diagnosi dei problemi. <b>NON</b> pubblicarlo on-line, si può contenere la password in forma codificata."
+
+#~ msgid "Postman Email Log"
+#~ msgstr "Postino Email Log"
+
+#~ msgid "This is a record of deliveries made to the Mail Submission Agent (MSA). It does not neccessarily indicate sucessful delivery to the recipient."
+#~ msgstr "Questo è un record di consegna tentativi fatti a posta presentazione agente (MSA). Non indica necessariamente sucessful consegna al destinatario."
+
+#~ msgid "Warning: An empty subject line can result in delivery failure."
+#~ msgstr "Attenzione: un oggetto vuoto può causare la mancata consegna."
+
+#~ msgctxt "View the transcript of an item from the email log"
+#~ msgid "Transcript"
+#~ msgstr "Trascrizione"
+
+#~ msgctxt "Attempt to resend this email"
+#~ msgid "Resend"
+#~ msgstr "Invia di nuovo"
+
+#~ msgctxt "Was sending this email successful or not?"
+#~ msgid "Status"
+#~ msgstr "Status"
+
+#~ msgctxt "Transport Name"
+#~ msgid "Gmail API"
+#~ msgstr "Gmail API"
+
+#~ msgctxt "Authentication Type is OAuth 2.0"
+#~ msgid "OAuth 2.0"
+#~ msgstr "OAuth 2.0"
+
+#~ msgid "Postman will send mail via the <b>🔐Gmail API</b> using %s authentication."
+#~ msgstr "Postman invierà mail tramite il <b>🔐API Gmail</b> utilizzando l'autenticazione %s."
+
+#~ msgid "OAuth 2.0 authentication requires a Client ID and Client Secret."
+#~ msgstr "L'autenticazione OAuth 2.0 un mittente Indirizzo e-mail, ID client e client segreto."
+
+#~ msgid "Envelope From Address and Message From Address can not be empty."
+#~ msgstr "Busta Mittente Indirizzo e Messaggio Mittente Indirizzo non può essere vuoto."
+
+#~ msgid "Postman recommends Gmail API configuration on port %d"
+#~ msgstr "Postman raccomanda configurazione API Gmail sulla porta %d"
+
+#~ msgctxt "Transport Name"
+#~ msgid "SMTP"
+#~ msgstr "SMTP"
+
+#~ msgctxt "As in type used: CRAM-MD5"
+#~ msgid "CRAM-MD5"
+#~ msgstr "CRAM-MD5"
+
+#~ msgctxt "As in type used: Login"
+#~ msgid "Login"
+#~ msgstr "Accesso"
+
+#~ msgctxt "As in type used: Plain"
+#~ msgid "Plain"
+#~ msgstr "Intero"
+
+#~ msgctxt "This authentication type is password-based"
+#~ msgid "Password (%s)"
+#~ msgstr "Password (%s)"
+
+#~ msgid "Password authentication (Plain/Login/CRAM-MD5) requires a username and password."
+#~ msgstr "L'autenticazione password (Plain / Login / CRAMMD5) richiede un nome utente e una password."
+
+#~ msgid "OAuth 2.0 authentication requires a supported OAuth 2.0-capable Outgoing Mail Server, %1$s, and %2$s."
+#~ msgstr "L’ autenticazione OAuth 2.0 richiede un server cha abbia la funzione per la posta in uscita OAuth 2.0 abilitata, Indirizzo e-mail del mittente, %1$s, e %2$s."
+
+#~ msgid "Your recommended settings are %1$s with %2$s authentication to host %4$s on port %3$d."
+#~ msgstr "Postman raccomanda %1$s con l'autenticazione %2$s sulla porta %3$d."
+
+#~ msgid "The selected transport '%s' is unavailable. The external plugin was probably deactivated."
+#~ msgstr "La scelta del trasporto '%s' non è disponibile. Il plugin esterno è stato probabilmente disattivato."
+
+#~ msgid "WordPress is still handling email delivery, <em>not</em> Postman."
+#~ msgstr "Postman è <em>non</em> movimentazione consegna della posta."
+
+#~ msgctxt "The Transport is the method for sending mail, SMTP or API"
+#~ msgid "Transport"
+#~ msgstr "Trasporto"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Transport Settings"
+#~ msgstr "Impostazioni di trasporto"
+
+#~ msgctxt "Authentication proves the user's identity"
+#~ msgid "Authentication"
+#~ msgstr "Autenticazione"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Username"
+#~ msgstr "Nome Utente"
+
+#~ msgctxt "The Envelope Sender Email Address"
+#~ msgid "Envelope From Address"
+#~ msgstr "Busta mittente Indirizzo"
+
+#~ msgctxt "The Message Sender Email Address"
+#~ msgid "Message From Address"
+#~ msgstr "Messaggio Mittente Indirizzo"
+
+#~ msgctxt "The email address to address replies to"
+#~ msgid "Reply-To"
+#~ msgstr "Reply-To"
+
+#~ msgid "Maximum Number of Log Entries"
+#~ msgstr "Limite di voci di registro"
+
+#~ msgid "Maximum Number of Lines in a Transcript"
+#~ msgstr "Dimensione di trascrizione (linee totale)"
+
+#~ msgid "Configure the communication with the Mail Submission Agent (MSA):"
+#~ msgstr "Configurare la comunicazione con il Mail Submission Agent (MSA):"
+
+#~ msgid "Enter the account username (email address) and password:"
+#~ msgstr "Inserire il nome utente (indirizzo e-mail) e la password:"
+
+#~ msgid "This will purge all of Postman's settings, including SMTP server info, username/password and OAuth Credentials."
+#~ msgstr "Questo eliminerà tutte le impostazioni di Postman, comprese informazioni server SMTP, nome utente / password e credenziali OAuth."
+
+#~ msgid "Log Level specifies the level of detail written to the WordPress log - view the log with <a href=\"%s\">Debug</a>. Delivery mode offers options useful for developing or testing."
+#~ msgstr "Livello di log specifica il livello di dettaglio scritto alle WordPress lo - visualizzare il registro con <a href=\"%s\">Debug</a>. Modalità di consegna offre opzioni utili per lo sviluppo o il test."
+
+#~ msgid "<b style=\"color:red\">Attention!</b> Open the <a href=\"%1$s\" target=\"_new\">%2$s</a>, create <b>%7$s</b> with the values displayed below, and copy the generated %3$s and %4$s here."
+#~ msgstr "<b style=\"color:red\">Attenzione!</b> Apri il <a href=\"%1$s\" target=\"_new\">%2$s</a>, creato %7$s usando l' URL mostrato di seguito, e copia i %3$s and %4$s qui"
+
+#~ msgctxt "Command to initiate OAuth authentication"
+#~ msgid "Grant OAuth Permission"
+#~ msgstr "Autorizzazioni Grant OAuth"
+
+#~ msgid " must be greater than 0"
+#~ msgstr "deve essere maggiore di 0"
+
+#~ msgctxt "Page Title"
+#~ msgid "Postman Setup"
+#~ msgstr "Impostazioni Postman"
+
+#~ msgid "Welcome"
+#~ msgstr "Ciao"
+
+#~ msgid "This is the Settings page for Postman, an SMTP mailer that delivers email from your WordPress site to the Internet. From here you can configure the plugin, and access testing and diagnostic tools."
+#~ msgstr "Questa è la pagina di impostazioni per il postino, un mailer SMTP che offre e-mail dal vostro sito WordPress a Internet. Da qui è possibile configurare il plugin e accedere agli strumenti di test e diagnostici."
+
+#~ msgid "Having trouble? You can ask for help on our <a href=\"%1$s\" target=\"_blank\">Support Forum</a>. To get the help you need quickly, please post the <a href=\"%s\">Diagnostic Data</a> with your question. You can also check the <a href=\"%3$s\">FAQ</a> and <a href=\"%4$s\">Error Messages</a> pages for answers."
+#~ msgstr "Hai problemi? Può chiedere aiuto sul nostro <a href=\"%1$s\" target=\"_blank\">Forum di supporto</a>. Per ottenere l'aiuto che necessario rapidamente, si prega di inviare i <a href=\"%s\">Dati di diagnostica</a> con la tua domanda. È inoltre possibile controllare le pagine <a href=\"%3$s\">FAQ</a> e <a href=\"%4$s\">Messaggi di errore</a> per le risposte."
+
+#~ msgid "The Email Test will send an email to you. If the test fails, the full SMTP session transcript is available to you. <br/><br/>Receiving a single test email does not indicate perfect configuration. Some services may dump your email into a black-hole or mark it as Spam if you:"
+#~ msgstr "Il Test Email invierà un'e-mail a voi. Se il test fallisce, la trascrizione della sessione SMTP completa è a vostra disposizione.<br><br>Ricezione di una singolo test mail non indica perfetta configurazione. Alcuni servizi possono scaricare tua email in un buco nero o contrassegnarlo come Spam se si:"
+
+#~ msgid "Violate an SPF record"
+#~ msgstr "Violare un record SPF"
+
+#~ msgid "You must use the SMTP server (MSA) approved by your domain to deliver your mail. (eg.) a @gmail.com sender address requires that authentication and delivery always be through smtp.gmail.com."
+#~ msgstr "È necessario utilizzare il server SMTP (MSA) approvato dal tuo dominio per consegnare la posta. (es.) un indirizzo del mittente @gmail.com richiede che l'autenticazione e la consegna sia sempre attraverso smtp.gmail.com."
+
+#~ msgctxt "Forge as in a forgery (fake) is made"
+#~ msgid "Forge the From Address"
+#~ msgstr "Forgiare l'indirizzo"
+
+#~ msgid "<a href=\"%s\">Spoofing</a>, when it results in an SPF violation, will get your message binned. Use your own address as the sender (From:) in <em>every</em> email.</li>"
+#~ msgstr "<a href=\"%s\">Spoofing</a>, quando si traduce in una violazione di SPF, otterrà il tuo messaggio cestinata. Utilizzare il proprio indirizzo come mittente (da:) in <em>ogni</em> email."
+
+#~ msgid "Consolidates details of your setup to aid the author in debugging problems, including: operating system details, WordPress configuration, Postman configuration, network connectivity and your domain's primary MX and SPF records. Your private authorization credentials are masked."
+#~ msgstr "Consolida i dettagli del vostro setup per aiutare l'autore nel debug di problemi, tra cui: dettagli del sistema operativo, WordPress configurazione, configurazione di postino, connettività di rete e record SPF e MX primario del dominio. Le credenziali di autorizzazione privata sono mascherate."
+
+#~ msgid "The Connectivity Test will report this site's ability to reach a mail server, and interrogate the mail server for it's capabilities."
+#~ msgstr "Il Test di connettività si segnala la capacità di questo sito per raggiungere un server di posta e interrogare il server di posta per è capacità."
+
+#~ msgctxt "Is it possible to create network connections to the Internet?"
+#~ msgid "Outbound to Internet"
+#~ msgstr "In uscita a Internet"
+
+#~ msgid "This tests the ability to make outbound connections from your site to the Internet in general. If the result is Closed, then there is a communication problem with the Internet, like a firewall.</li>"
+#~ msgstr "Questo test la capacità di fare connessioni in uscita dal tuo sito per Internet in generale. Se il risultato è chiuso, poi c'è un problema di comunicazione con Internet, come un firewall."
+
+#~ msgctxt "What service is available?"
+#~ msgid "Service Available"
+#~ msgstr "Servizio disponibile"
+
+#~ msgid "This shows the service found for a particular host/port. Possible successful results are <b>SMTP</b>, <b>SMTPS</b> (secure) and <b>HTTPS</b> (secure). If the result is No and the hostname you entered is correct, there was a communication problem with the mail server, like a firewall.</li>"
+#~ msgstr "Questo dimostra il servizio trovato per una particolare host/porta. Possibili risultati di successo sono <b>SMTP</b>, <b>SMTPS</b> (sicuro) e <b>HTTPS</b> (sicuro). Se il risultato è No e il nome host che hai inserito è corretto, c'era un problema di comunicazione con il server di posta, come un firewall."
+
+#~ msgctxt "What is this server's ID?"
+#~ msgid "ID"
+#~ msgstr "ID"
+
+#~ msgid "Some hosts redirect mail traffic to their own mail server, breaking authentication and SPF verification. This is revealed by an incorrect server identity.</li>"
+#~ msgstr "Alcuni host reindirizzare il traffico di posta elettronica al proprio server di posta, rompendo l'autenticazione e verifica SPF. Lo rivela un'identità server errato."
+
+#~ msgid "STARTTLS"
+#~ msgstr "STARTTLS"
+
+#~ msgid "This indicates whether the server supports protocol-level security. Either STARTTLS, SMTPS or HTTPS is required for secure transmission of your credentials.</li>"
+#~ msgstr "Indica se il server supporta il protocollo di livello di sicurezza. STARTTLS SMTPS o, HTTPS è necessaria per la trasmissione sicura delle vostre credenziali."
+
+#~ msgctxt "Short for Authentication"
+#~ msgid "Auth"
+#~ msgstr "Aut"
+
+#~ msgid "This indicates the authenication methods that the server supports. All are password-based, except for OAuth 2.0, which is token-based.</li>"
+#~ msgstr "Ciò indica i metodi di autenticazione in modo che il server supporta. Tutti sono basati su password, ad eccezione di OAuth 2.0, che è basata su token."
+
+#~ msgctxt "A testing tool which determines connectivity to the Internet"
+#~ msgid "Connectivity Test"
+#~ msgstr "Test di connettività"
+
+#~ msgctxt "Email Test Status"
+#~ msgid "Ajax Error"
+#~ msgstr "Ajax Errore"
+
+#~ msgid "Unexpected PHP messages corrupted the Ajax response:"
+#~ msgstr "Messaggi PHP imprevisti danneggiati la risposta Ajax:"
+
+#~ msgid "Warning: connected to %1$s instead of %2$s."
+#~ msgstr "Attenzione: collegati a %1$s invece di %2$s."
+
+#~ msgid "Port %d can be used to send <b>Gmail</b> with the Gmail API."
+#~ msgstr "Porta %d può essere utilizzata per inviare <b>Gmail</b> con l'API di Gmail."
+
+#~ msgid "WordPress (or another plugin) is currently handling email delivery, <em>not</em> Postman."
+#~ msgstr "WordPress (o un altro plugin) è al momento gestendo consegna di posta elettronica, <em>non</em> Postman."
+
+#~ msgctxt "Page Title"
+#~ msgid "Manual Configuration"
+#~ msgstr "Configurazione manuale"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Account"
+#~ msgstr "Conto"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Message"
+#~ msgstr "Messaggio"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Logging"
+#~ msgstr "Registrazione"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Advanced"
+#~ msgstr "Impostazioni Avanzate"
+
+#~ msgid "Delete plugin settings"
+#~ msgstr "Elimina impostazioni del plugin"
+
+#~ msgid "This will purge all of Postman's settings, including account credentials and the mail log."
+#~ msgstr "Questo sarà eliminare tutte le impostazioni del postino, comprese le credenziali dell'account e il log di posta."
+
+#~ msgctxt "Button Label"
+#~ msgid "Delete All Data"
+#~ msgstr "Elimina tutti i dati"
+
+#~ msgctxt "The port number"
+#~ msgid "Port %s"
+#~ msgstr "Porta %s"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "None"
+#~ msgstr "Nessuno"
+
+#~ msgid "* Port 443 tests against googleapis.com, not the SMTP hostname you enter."
+#~ msgstr "* Porta 443 prove contro googleapis.com, non il nome host SMTP si entra."
+
+#~ msgid "A port with Service Available <span style=\"color:red\">\"No\"</span> indicates one or more of these issues:"
+#~ msgstr "Una porta <span style=\"color:red\">No</span> indica:"
+
+#~ msgid "Your <a href=\"%s\">PHP configuration</a> is preventing outbound connections"
+#~ msgstr "Il tuo <a href=\"%s\">configurazione di PHP</a> sta impedendo le connessioni in uscita"
+
+#~ msgid "Your <a href=\"%s\">WordPress configuration</a> is preventing outbound connections"
+#~ msgstr "Il tuo <a href=\"%s\">configurazione WordPress</a> sta impedendo le connessioni in uscita"
+
+#~ msgctxt "Adjust the Postman settings by hand"
+#~ msgid "Show Advanced Configuration"
+#~ msgstr "Configurazione Avanzata"
+
+#~ msgid "Disable"
+#~ msgstr "Disattivare"
+
+#~ msgctxt "Page Title"
+#~ msgid "Postman Setup Wizard"
+#~ msgstr "Preparare Procedura Guidata Postman"
+
+#~ msgid "<b>Error</b>: Your email address <b>requires</b> access to a remote SMTP server blocked by GoDaddy. Use a different e-mail address."
+#~ msgstr "<b>Errore</b>: tua e-mail indirizzo <b>richiede</b> l'accesso a un server SMTP remoto bloccato da GoDaddy. Utilizzare un indirizzo di posta elettronica diverso."
+
+#~ msgid "<b>Warning</b>: If you own this domain, make sure it has an <a href=\"%s\">SPF record authorizing GoDaddy</a> as a relay, or you will have delivery problems."
+#~ msgstr "<b>Attenzione</b>: Se possedete questo dominio, assicurarsi che dispone di un <a href=\"%s\">record SPF che autorizza GoDaddy</a> come un relè, o avrete problemi di consegna."
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "How will the connection to the MSA be established?"
+#~ msgstr "Come verrà stabilita la connessione al MSA?"
+
+#~ msgid "Warning: This configuration option will send your authorization credentials in the clear."
+#~ msgstr "Attenzione: Questa opzione di configurazione invierà le credenziali di autorizzazione in chiaro."
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "How will you prove your identity to the MSA?"
+#~ msgstr "Come pensate di dimostrare la propria identità per la MSA?"
+
+#~ msgid "Enter your credentials. Your username is often your email address."
+#~ msgstr "Inserisci le tue credenziali. Il nome utente è più probabile il tuo indirizzo email."
+
+#~ msgid "Examine the SMTP Session Transcript if you need to."
+#~ msgstr "Esaminare la sessione SMTP Trascrizione se è necessario."
+
+#~ msgid "SMTP Session Transcript"
+#~ msgstr "Trascrizione della Sessione SMTP"
+
+#~ msgid "The <b>Envelope</b> From address identifies the account owner to the SMTP server."
+#~ msgstr "La <b>busta</b> mittente Indirizzoda il proprietario dell'account al server SMTP."
+
+#~ msgid "The <b>Message</b> From address identifies the sender to the recipient. Change this when you are sending on behalf of someone else, for example to use Google's <a href=\"%s\">Send Mail As</a> feature. Themes and other plugins, especially Contact Forms, are permitted to modify this field."
+#~ msgstr "Il <b>messaggio</b> mittente indirizzo identifica il mittente al destinatario. Modificare questo quando stai inviando a nome di qualcun altro, ad esempio per utilizzare la funzione di Google <a href=\"%s\">Invia Mail come</a> . Temi e altri plugin, soprattutto forme di contatto, sono autorizzati a modificare questo campo."
+
+#~ msgid "Log Level specifies the level of detail written to the WordPress and PHP logfiles. Delivery mode offers options useful for developing or testing."
+#~ msgstr "Livello di registro specifica il livello di dettaglio, scritto per i file di registro di WordPress e PHP. Modalità di consegna offre opzioni utili in un ambiente di sviluppo."
+
+#~ msgid "The server returned an unexpected result:"
+#~ msgstr "Il server ha restituito un risultato inaspettato e non valido:"
+
+#~ msgid "Postman has delivered <span style=\"color:green\">%d</span> email for you."
+#~ msgid_plural "Postman has delivered <span style=\"color:green\">%d</span> emails for you."
+#~ msgstr[0] "Postman ha consegnato <span style=\"color:green\">%d</span> e-mail per voi!"
+#~ msgstr[1] "Postman ha consegnato <span style=\"color:green\">%d</span> e-mail per voi!"
+
+#~ msgid "View the log"
+#~ msgstr "Visualizza log"
+
+#~ msgctxt "Adjust the Postman settings by hand"
+#~ msgid "configure manually"
+#~ msgstr "configurare manualmente"
+
+#~ msgid "The server returned an unexpected and invalid result:"
+#~ msgstr "Il server ha restituito un risultato inaspettato e non valido:"
+
+#~ msgid "Communication Error [334] - make sure the Sender Email belongs to the account which provided the OAuth 2.0 consent."
+#~ msgstr "Errore di comunicazione [334] - assicurarsi che il Mittente Email appartenga allo stesso profilo per il quale e' concesso il consenso OAuth 2.0."
+
+#~ msgid "https://profiles.wordpress.org/jasonhendriks/"
+#~ msgstr "https://profiles.wordpress.org/jasonhendriks/"
+
+#~ msgid "This is the conversation between Postman and your SMTP server. It can be useful for diagnosing problems. <b>DO NOT</b> post it on-line, it may contain your shared secret (password) in encoded form."
+#~ msgstr "Questa è la conversazione tra postino e il server SMTP. Può essere utile per la diagnosi dei problemi. <b>NON</b> pubblicarlo on-line, si può contenere la password in forma codificata."
+
+#~ msgid "Choose the Recipient"
+#~ msgstr "Scegliere il destinatario"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Email Address"
+#~ msgstr "Indirizzo Email"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Name"
+#~ msgstr "Nome"
+
+#~ msgid "The Gmail API transport requires a Sender Email Address, Client ID and Client Secret."
+#~ msgstr "Il trasporto API Gmail richiede un mittente Indirizzo e-mail, ID client e client segreto."
+
+#~ msgid "Outgoing Mail Server Hostname/Port and Sender Email Address can not be empty."
+#~ msgstr "Server Posta in Uscita (SMTP), Porta e in indirizzo Email mittente non possono essere vuoti."
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Sender"
+#~ msgstr "Mittente"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Sender Email Address"
+#~ msgstr "Mittente Indirizzo e-mail"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Sender Name"
+#~ msgstr "Nome Mittente"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Additional Addresses"
+#~ msgstr "Indirizzi Aggiuntivi"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "To Recipient(s)"
+#~ msgstr "Al destinatario(s)"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Carbon Copy Recipient(s)"
+#~ msgstr "Carbon Copy Destinatario(s)"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Blind Carbon Copy Recipient(s)"
+#~ msgstr "Blind Carbon Copy Destinatario(s)"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Additional Headers"
+#~ msgstr "Intestazioni Aggiuntive"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Custom Headers"
+#~ msgstr "Intestazioni Personalizzate"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Enable Logging"
+#~ msgstr "Abilita registrazione"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Log Entries Limit"
+#~ msgstr "Limite di voci di registro"
+
+#~ msgctxt "The maximum number of lines of the SMTP transcript"
+#~ msgid "Transcript Size (Total Lines)"
+#~ msgstr "Dimensione di trascrizione (linee totale)"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Network Settings"
+#~ msgstr "Impostazioni di rete"
+
+#~ msgid "The Sender sets both the envelope <b>Mail-From</b> and the message <b>From</b> header. However, the <b>From</b> header can be modified by another plugin (e.g. for setting a visitor's email address from a Contact Form)."
+#~ msgstr "Il mittente imposta entrambi la busta <b>Posta-da</b> e <b></b> dall'intestazione del messaggio. Tuttavia, è possibile modificare l'intestazione <b>da</b> un altro plugin (ad es. per l'impostazione indirizzo email di un visitatore da un modulo di contatto)."
+
+#~ msgid "Force this in the <b>From</b> header for all messages"
+#~ msgstr "Questa forza nell'intestazione <b>da</b> per tutti i messaggi"
+
+#~ msgid "Communication Error [334] - make sure the Sender Email belongs to the account which provided the %s OAuth 2.0 consent."
+#~ msgstr "Errore di comunicazione [334] - assicurarsi che il Mittente Email appartenga allo stesso profilo per il quale e' concesso il consenso %s OAuth 2.0."
+
+#~ msgid "Please note that to combat Spam, many email services will <em>not</em> let you send from an email address other than the one you authenticate with."
+#~ msgstr "Si prega di notare che per combattere lo spam, molti servizi di posta elettronica <em>non</em> consentono l’ invio da un indirizzo e-mail diverso dal proprio."
+
+#~ msgctxt "Who is this message from?"
+#~ msgid "From"
+#~ msgstr "Dal"
+
+#~ msgctxt "Who is this message to?"
+#~ msgid "To"
+#~ msgstr "A"
+
+#~ msgctxt "Name of the email service portal"
+#~ msgid "Google Developer Console"
+#~ msgstr "Google Developer Console"
+
+#~ msgid "Please check the <a href=\"%1$s\">troubleshooting and error messages</a> page and the <a href=\"%2$s\">support forum</a>.</br>If you write for help, please include the following:"
+#~ msgstr "Controllare la pagina di <a href=\"%1$s\">risoluzione dei problemi e messaggi di errore</a> e il <a href=\"%2$s\">forum di supporto</a>. </br>Se si scrive per un aiuto, si prega di includere le seguenti informazioni di diagnostica:"
+
+#~ msgid "Postman will send mail via the <b>Gmail API</b> using %s authentication."
+#~ msgstr "Postman invierà mail tramite il <b>API Gmail</b> utilizzando l'autenticazione %s."
+
+#~ msgctxt "Transport Name"
+#~ msgid "SMTPS"
+#~ msgstr "SMTPS"
+
+#~ msgctxt "Transport Name"
+#~ msgid "SMTP-STARTTLS"
+#~ msgstr "SMTP-STARTTLS"
+
+#~ msgid "The message sender is used as the default <b>From:</b> address."
+#~ msgstr "Il mittente del messaggio viene utilizzato come <b>Da:</b> indirizzo."
+
+#~ msgid "Log Level specifies the level of detail written to the WordPress and PHP logfiles. Delivery mode offers options useful in a development environment."
+#~ msgstr "Livello di registro specifica il livello di dettaglio, scritto per i file di registro di WordPress e PHP. Modalità di consegna offre opzioni utili in un ambiente di sviluppo."
+
+#~ msgid "Force this Sender Name for all messages"
+#~ msgstr "Forzare questo nome mittente per tutti i messaggi"
+
+#~ msgid "Force this Sender Email Address for all messages"
+#~ msgstr "Questo indirizzo di Email del mittente per tutti i messaggi di forza"
+
+#~ msgid "Please note: <em>When composing email, some WordPress plugins and themes may set an unauthorized sender email address causing rejection with services like Yahoo Mail. If you experience problems, enable \"Force this Sender Email Address for all messages\" in the settings.</em>"
+#~ msgstr "Si prega di notare: <em>quando comporre e-mail, alcuni plugin di WordPress e temi può impostare un mittente non autorizzato e-mail Indirizzo causando rigetto con servizi come Yahoo Mail. Se si verificano problemi, attivare \"Forzare questo indirizzo di Email del mittente per tutti i messaggi\" nelle impostazioni.</em>"
+
+#~ msgctxt "Encryption Type"
+#~ msgid "SSL (SMTPS)"
+#~ msgstr "SSL"
+
+#~ msgctxt "Encryption Type"
+#~ msgid "TLS (StartTLS)"
+#~ msgstr "TLS"
+
+#~ msgid "The impossible is possible; sending through wp_mail() failed, but sending through internal engine succeeded."
+#~ msgstr "L'impossibile è possibile; l' invio tramite wp_mail() non è riuscito, ma l'invio attraverso il motore interno è riuscito."
+
+#~ msgid "Error: Postman is properly configured, but the current theme or another plugin is preventing service."
+#~ msgstr "Errore: Postino è configurato correttamente, ma il tema corrente o un altro plugin sta impedendo il servizio."
+
+#~ msgid "See <a href=\"https://wordpress.org/plugins/postman-smtp/faq/\" target=\"_new\">How do I get a %6$s %3$s?</a> in the F.A.Q. for help."
+#~ msgstr "Vedi <a href=\"https://wordpress.org/plugins/postman-smtp/faq/\" target=\"_new\">Come faccio a %6$s %3$s?</a> nelle FAQ per aiuto."
+
+#~ msgctxt "Short for \"Diagnostic Information\""
+#~ msgid "Diagnostic Info"
+#~ msgstr "Consigli e informazioni di diagnostica"
+
+#~ msgctxt "Details about the system"
+#~ msgid "Diagnostic Information"
+#~ msgstr "Informazioni diagnostiche"
+
+#~ msgid "Run a Connectivity Test"
+#~ msgstr "Eseguire un test di connettività"
+
+#~ msgid "The most common transport is SMTP:"
+#~ msgstr "SMTP è il trasporto più comune:"
+
+#~ msgid "Email not working? Postman is the first and only WordPress SMTP plugin to implement OAuth 2.0 for Gmail, Hotmail and Yahoo Mail. Setup is a breeze with the Configuration Wizard and integrated Port Tester. Enjoy worry-free delivery even if your password changes!"
+#~ msgstr "La Email non funziona? Postman è il primo e unico plugin WordPress SMTP per implementare lo standard di sicurezza OAuth 2.0 per Gmail e Hotmail. L'installazione è un gioco da ragazzi con la procedura guidata di configurazione e Tester Port integrata. Godetevi la consegna senza problemi, anche se effettuate una modifica della password!"
+
+#~ msgid "Log Level specifies the level of detail written to the WordPress and PHP logfiles."
+#~ msgstr "Livello di log specifica la quantità di uscita dettaglio per i WordPress e file di log di PHP."
+
+#~ msgctxt "When the server is online to the public, this is \"Production\" mode"
+#~ msgid "Production"
+#~ msgstr "Produzione"
+
+#~ msgid "Log Emails, then Dump"
+#~ msgstr "Login email, quindi il Dump"
+
+#~ msgid "Dump All Emails"
+#~ msgstr "Elimina tutti i dati"
+
+#~ msgid "This is a record of delivery attempts made to the Mail Submission Agent (MSA). It does not neccessarily indicate sucessful delivery to the recipient."
+#~ msgstr "Questo è un record di consegna tentativi fatti a posta presentazione agente (MSA). Non indica necessariamente sucessful consegna al destinatario."
+
+#~ msgid "Error authenticating with this Client ID - please create a new one. [%s]"
+#~ msgstr "Errore di autenticazione con questo ID cliente - si prega di creare un nuovo. [%s]"
+
+#~ msgid "Warning: connected to %1$s instead of %2$s. This may be a problem."
+#~ msgstr "Attenzione: collegati a %1$s invece di %2$s. Questo può essere un problema."
+
+#~ msgid "Outgoing Mail Server (SMTP) and Port can not be empty."
+#~ msgstr "Server Posta in Uscita (SMTP) e Porta non possono essere vuoti."
+
+#~ msgid "OAuth 2.0 authentication requires a supported OAuth 2.0-capable Outgoing Mail Server, Sender Email Address, %1$s, and %2$s."
+#~ msgstr "L’ autenticazione OAuth 2.0 richiede un server cha abbia la funzione per la posta in uscita OAuth 2.0 abilitata, Indirizzo e-mail del mittente, %1$s, e %2$s."
+
+#~ msgid "Postman is properly configured, but another plugin has taken over the mail service. Deactivate the other plugin."
+#~ msgstr "Postman è configurato correttamente, ma un altro plugin è ripreso il servizio di posta elettronica. Disattivare l'altro plugin."
+
+#~ msgctxt "postman-smtp"
+#~ msgid "OAuth 2.0 (requires Client ID and Client Secret)"
+#~ msgstr "OAuth 2.0 (richiede un ID Client e Client segreto)"
+
+#~ msgctxt "Authentication Type is Password"
+#~ msgid "Password"
+#~ msgstr "Password"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "OAuth 2.0"
+#~ msgstr "OAuth 2.0"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "no"
+#~ msgstr "no"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "CRAM-MD5"
+#~ msgstr "CRAM-MD5"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "Login"
+#~ msgstr "Accesso"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "Plain"
+#~ msgstr "Intero"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "Password (%s)"
+#~ msgstr "Password (%s)"
+
+#~ msgid "Password authentication (Plain/Login/CRAMMD5) requires a username and password."
+#~ msgstr "L'autenticazione password (Plain / Login / CRAMMD5) richiede un nome utente e una password."
+
+#~ msgid "Your recommended settings are %1$s with %2$s authentication on port %3$d."
+#~ msgstr "Postman raccomanda %1$s con l'autenticazione %2$s sulla porta %3$d."
+
+#~ msgctxt "Postman Dashboard Widget Title"
+#~ msgid "Postman SMTP"
+#~ msgstr "Postman SMTP"
+
+#~ msgctxt "Dashboard Widget Settings Link label"
+#~ msgid "Settings"
+#~ msgstr "Impostazioni"
+
+#~ msgid "Postman is missing a required PHP library."
+#~ msgstr "Postman manca una libreria PHP richiesta."
+
+#~ msgctxt "Plugin Action Links"
+#~ msgid "Settings"
+#~ msgstr "Impostazioni"
+
+#~ msgid "All plugin settings were removed."
+#~ msgstr "Tutte le impostazioni del plugin sono stati rimossi."
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Transport"
+#~ msgstr "Trasporto"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Transport"
+#~ msgstr "Trasporto"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Authentication"
+#~ msgstr "Autenticazione"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Outgoing Mail Server Hostname"
+#~ msgstr "Nome host server SMTP"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Outgoing Mail Server Port"
+#~ msgstr "Porta Server SMTP"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Authentication"
+#~ msgstr "Autenticazione"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Password"
+#~ msgstr "Password"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Reply-To"
+#~ msgstr "Reply-To"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Log Level"
+#~ msgstr "Livello di registrazione"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Delete plugin settings"
+#~ msgstr "Elimina impostazioni del plugin"
+
+#, fuzzy
+#~ msgid "The default transport is SMTP."
+#~ msgstr "Il trasporto predefinito è SMTP."
+
+#~ msgid "Select the transport to use:"
+#~ msgstr "Uno o più di estensione (s) ha installato trasporti aggiuntivi:"
+
+#~ msgid "Select the authentication method, security type, and enter the Mail Submission Agent (MSA) hostname and port:"
+#~ msgstr "Selezionare il metodo di autenticazione e immettere il nome host e la porta del server SMTP:"
+
+#~ msgid "Enter the username (email address) and password you use to send email"
+#~ msgstr "Inserire il nome utente (indirizzo e-mail) e la password utilizzati per l'invio di posta elettronica"
+
+#~ msgid "The message sender is used as the <b>From:</b> address."
+#~ msgstr "Il mittente del messaggio viene utilizzato come <b>Da:</b> indirizzo."
+
+#~ msgid "The Reply-To overrides the Sender when the recipient composes a reply. Separate multiple <b>to</b>/<b>cc</b>/<b>bcc</b> recipients with commas."
+#~ msgstr "Il Reply-To sostituisce il mittente quando il destinatario compone una risposta. Separare più <b>to</b>/<b>cc</b>/<b>bcc</b> destinatari con le virgole."
+
+#~ msgctxt "Encryption Type"
+#~ msgid "None"
+#~ msgstr "Nessuno"
+
+#~ msgctxt "Encryption Type"
+#~ msgid "SSL"
+#~ msgstr "SSL"
+
+#~ msgctxt "Encryption Type"
+#~ msgid "TLS"
+#~ msgstr "TLS"
+
+#~ msgid "Prevent the Sender Name from being overridden"
+#~ msgstr "Evitare che il nome mittente venga sovrascritto"
+
+#~ msgid "Prevent the Sender Email Address from being overridden"
+#~ msgstr "Impedire l'indirizzo email del mittente venga sovrascritto"
+
+#~ msgid "<b style=\"color:red\">Attention!</b> Open the <a href=\"%1$s\" target=\"_new\">%2$s</a>, create %7$s using the URL's displayed below, and copy the %3$s and %4$s here."
+#~ msgstr "<b style=\"color:red\">Attenzione!</b> Apri il <a href=\"%1$s\" target=\"_new\">%2$s</a>, creato %7$s usando l' URL mostrato di seguito, e copia i %3$s and %4$s qui"
+
+#~ msgctxt "Command to initiate OAuth authentication"
+#~ msgid "Request permission from %s"
+#~ msgstr "Richiesta permesso di"
+
+#~ msgctxt "Name of the Application Callback Domain"
+#~ msgid "Javascript Origins"
+#~ msgstr "Javascript Origins"
+
+#~ msgctxt "Name of the OAuth 2.0 Client Secret"
+#~ msgid "Client secret"
+#~ msgstr "Client secret"
+
+#~ msgctxt "Name of the OAuth 2.0 Client ID"
+#~ msgid "Consumer Key"
+#~ msgstr "Consumer Key"
+
+#~ msgctxt "Name of the OAuth 2.0 Client Secret"
+#~ msgid "Consumer Secret"
+#~ msgstr "Consumer Secret"
+
+#~ msgctxt "Command to initiate OAuth authentication"
+#~ msgid "Request OAuth Permission"
+#~ msgstr "Richiesta autorizzazione OAuth"
+
+#~ msgctxt "Page Title"
+#~ msgid "Postman Settings"
+#~ msgstr "Impostazioni Postman"
+
+#~ msgctxt "TCP Port Test Status"
+#~ msgid "Checking.."
+#~ msgstr "Verificando.."
+
+#~ msgctxt "TCP Port Test Status"
+#~ msgid "Open"
+#~ msgstr "Aperto"
+
+#~ msgctxt "TCP Port Test Status"
+#~ msgid "Closed"
+#~ msgstr "Chiuso"
+
+#~ msgctxt "TCP Port Test Status"
+#~ msgid "Done."
+#~ msgstr "Fatto."
+
+#~ msgctxt "TCP Port Test Status"
+#~ msgid "Yes"
+#~ msgstr "Si"
+
+#~ msgctxt "TCP Port Test Status"
+#~ msgid "No"
+#~ msgstr "No"
+
+#~ msgctxt "TCP Port Test Status"
+#~ msgid "Port"
+#~ msgstr "Porta"
+
+#~ msgid "Port %d is blocked. Contact your host for a solution, such as using their local SMTP server or opening the port."
+#~ msgstr "Port %d è bloccato. Contattate il vostro ospite per una soluzione, come ad esempio utilizzando il loro server SMTP locale o aprire la porta."
+
+#~ msgid "Port %d can't send mail with %s. Try a different SMTP server."
+#~ msgstr "Port %d non è possibile inviare la posta con il %s. Provare un server SMTP diverso."
+
+#~ msgid "Port %d can be used to send Gmail with the <a href=\"%s\">Postman Gmail Extension</a>."
+#~ msgstr "Port %d può essere utilizzato per inviare Gmail con il <a href=\"%s\">Postman Gmail Extension</a>."
+
+#~ msgid "Port %d is blocked. Contact your host for a solution, such as opening the port."
+#~ msgstr "Port %d è bloccato. Contattate il vostro ospite per una soluzione, come l'apertura della porta."
+
+#~ msgid "Please wait for the port test to finish"
+#~ msgstr "Attendere per il test della porta per finire"
+
+#~ msgid "No ports are available for this SMTP server. Try a different SMTP host or contact your WordPress host for their specific solution."
+#~ msgstr "Nessuna porta disponibile per il server SMTP. Provare un host SMTP diverso oppure contattare il tuo host WordPress per una soluzione specifica."
+
+#~ msgctxt "Wizard Label"
+#~ msgid "current step:"
+#~ msgstr "passo corrente:"
+
+#~ msgctxt "Wizard Label"
+#~ msgid "Pagination"
+#~ msgstr "Paginatura"
+
+#~ msgctxt "Wizard Label"
+#~ msgid "Finish"
+#~ msgstr "Finitura"
+
+#~ msgctxt "Wizard Label"
+#~ msgid "Next"
+#~ msgstr "Il Prossimo"
+
+#~ msgctxt "Wizard Label"
+#~ msgid "Previous"
+#~ msgstr "Precedente"
+
+#~ msgctxt "Wizard Label"
+#~ msgid "Loading ..."
+#~ msgstr "Caricamento ..."
+
+#~ msgid "Please note: <em>When composing email, other WordPress plugins and themes are forbidden from overriding the sender email address.</em>"
+#~ msgstr "Si prega di notare: <em>Durante la composizione di una e-mail, altri plugin WordPress o temi possono modificare unicamente il nome del mittente</em>"
+
+#~ msgid "Please note: <em>When composing email, other WordPress plugins and themes may override the sender name and email address causing rejection with some email services, such as Yahoo Mail. If you experience problems, try leaving the sender email address empty in these plugins or themes.</em>"
+#~ msgstr "Si prega di notare: <em>Durante la composizione di una e-mail, altri plugin WordPress o temi possono modificare il nome del mittente e l'indirizzo e-mail causando un rifiuto del messaggio con alcuni servizi di posta elettronica, come Yahoo Mail. In caso di problemi, provare a lasciare l'indirizzo email del mittente vuoto in questi plugin o temi.</em>"
+
+#~ msgid "Postman has delivered <span style=\"color:green\">%d</span> email for you!"
+#~ msgid_plural "Postman has delivered <span style=\"color:green\">%d</span> emails for you!"
+#~ msgstr[0] "Postman ha consegnato <span style=\"color:green\">%d</span> e-mail per voi!"
+#~ msgstr[1] "Postman ha consegnato <span style=\"color:green\">%d</span> e-mail per voi!"
+
+#~ msgid "Please consider leaving a <a href=\"%s\">review of Postman SMTP</a> to help spread the word about the new way to send email from WordPress! :D"
+#~ msgstr "Si prega di considerare di lasciare un <a href=\"%s\">commento di Postman SMTP</a> per aiutare <br/> diffondere la parola circa il nuovo modo per inviare e-mail da WordPress! : D"
+
+#~ msgctxt "Page Title"
+#~ msgid "Delete plugin settings"
+#~ msgstr "Elimina impostazioni del plugin"
+
+#~ msgctxt "Page Title"
+#~ msgid "Connectivity Test"
+#~ msgstr "Connettività di prova"
+
+#~ msgctxt "Connectivity Test Table"
+#~ msgid "Test"
+#~ msgstr "Test"
+
+#~ msgctxt "Port Test"
+#~ msgid "Port %s"
+#~ msgstr "Porta %s"
+
+#~ msgctxt "Connectivity Test Table"
+#~ msgid "Outbound to Internet"
+#~ msgstr "In uscita a Internet"
+
+#~ msgctxt "Connectivity Test Table"
+#~ msgid "Service Available"
+#~ msgstr "Servizio disponibile"
+
+#~ msgctxt "Connectivity Test Table"
+#~ msgid "STARTTLS"
+#~ msgstr "STARTTLS"
+
+#~ msgid "Conclusion"
+#~ msgstr "Conclusione"
+
+#~ msgid "A <span style=\"color:red\">Closed</span> port indicates one or more of these issues:"
+#~ msgstr "Una porta <span style=\"color:red\">Chiusa</span> indica:"
+
+#~ msgid "Your host has placed a firewall between this site and the Internet"
+#~ msgstr "Il tuo host ha inserito un firewall tra il sito e il server SMTP oppure"
+
+#~ msgctxt "Page Title"
+#~ msgid "Tips and Diagnostic Info"
+#~ msgstr "Consigli e informazioni di diagnostica"
+
+#~ msgid "Please check the <a href=\"%1$s\">troubleshooting and error messages</a> page and the <a href=\"%2$s\">support forum</a>.</br>If you write for help, please include the following diagnostic information:"
+#~ msgstr "Controllare la pagina di <a href=\"%1$s\">risoluzione dei problemi e messaggi di errore</a> e il <a href=\"%2$s\">forum di supporto</a>. </br>Se si scrive per un aiuto, si prega di includere le seguenti informazioni di diagnostica:"
+
+#~ msgctxt "Page Title"
+#~ msgid "Diagnostic Information"
+#~ msgstr "Informazioni diagnostiche"
+
+#~ msgctxt "Main Menu"
+#~ msgid "Get Started"
+#~ msgstr "Inizia"
+
+#~ msgctxt "Button Label"
+#~ msgid "Start the Wizard"
+#~ msgstr "Avviare la procedura guidata"
+
+#~ msgctxt "Main Menu"
+#~ msgid "configure manually"
+#~ msgstr "configurare manualmente"
+
+#~ msgctxt "Page Title"
+#~ msgid "Send a Test Email"
+#~ msgstr "Invia una mail di prova"
+
+#~ msgctxt "Main Menu"
+#~ msgid "Delete plugin settings"
+#~ msgstr "Elimina impostazioni del plugin"
+
+#~ msgctxt "Main Menu"
+#~ msgid "Run a Connectivity Test"
+#~ msgstr "Eseguire un test di connettività"
+
+#~ msgctxt "Main Menu"
+#~ msgid "Online Support"
+#~ msgstr "Supporto Online"
+
+#~ msgctxt "Plugin to Import Configuration from"
+#~ msgid "None"
+#~ msgstr "Nessuno"
+
+#~ msgid "Please enter the email address and name you'd like to send mail from."
+#~ msgstr "Inserisci per favore l'indirizzo email e il nome dal quale vuoi inviare la posta."
+
+#~ msgid "Please note that to combat Spam, many email services will <em>not</em> let you send from an e-mail address other than the one you authenticate with in step 5."
+#~ msgstr "Si prega di notare che per combattere lo spam, molti servizi di posta elettronica <em>non</em> consentono l’ invio da un indirizzo e-mail diverso dal proprio."
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Sender Email Name"
+#~ msgstr "Nome Mittente Email"
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "Outgoing Mail Server Hostname"
+#~ msgstr "Nome host server SMTP"
+
+#~ msgid "This is the local Outgoing Mail Server, or Mail Submission Agent (MSA), which Postman delegates mail delivery to. These servers are normally specific to the email account you have, and if you don't know which server to use, ask your email service provider.<br/><br/>If possible, the Wizard will pre-fill this field based on the e-mail address you entered."
+#~ msgstr "Questo è il server di posta in uscita, noto anche come un Invio posta Agent, che Postman userà per consegnare la posta. Se possibile, Postman cercherà di determinare questo nome host in base all'indirizzo e-mail."
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "Connectivity Test"
+#~ msgstr "Connettività di prova"
+
+#~ msgid "Your connection settings depend on what your email service provider offers, and what your WordPress host allows. Postman will attempt to determine which options are available to you."
+#~ msgstr "Il nome host del server e la porta si può usare è una combinazione di ciò che le vostre offerte fornitore di servizi di posta, e che cosa il vostro ospite WordPress permette. Postman tenterà di determinare quali opzioni sono a vostra disposizione."
+
+#~ msgctxt "Wizard Action"
+#~ msgid "Connectivity Test"
+#~ msgstr "Test di connettività"
+
+#~ msgid "Configuration will proceed on socket %1$s using %2$s authentication."
+#~ msgstr "Configurazione procederà sulla presa %1$s utilizzando l'autenticazione %2$s."
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "Authentication"
+#~ msgstr "Autenticazione"
+
+#~ msgid "Enter your credentials. Your username is most likely your email address."
+#~ msgstr "Inserisci le tue credenziali. Il nome utente è più probabile il tuo indirizzo email."
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "Finish"
+#~ msgstr "Finito"
+
+#~ msgid "Request permission from the Email Provider to allow Postman to send email and"
+#~ msgstr "Richiedi il permesso dal provider di posta elettronica per consentire a Postman di inviare e-mail e"
+
+#~ msgid "Status Message"
+#~ msgstr "Stato Messaggio"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "Password"
+#~ msgstr "Password"
+
+#~ msgctxt "Connectivity Test Table"
+#~ msgid "Auth"
+#~ msgstr "Aut"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "SMTP Server Hostname"
+#~ msgstr "SMTP Server Hostname"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "SMTP Server Port"
+#~ msgstr "SMTP Porta Server"
+
+#~ msgid "Select the authentication method and enter the SMTP server hostname and port:"
+#~ msgstr "Selezionare il metodo di autenticazione e immettere il nome host e la porta del server SMTP:"
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "SMTP Server Hostname"
+#~ msgstr "SMTP Server Hostname"
+
+#~ msgid "Your connection to the SMTP server depends on what your email service provider offers, and what your WordPress host allows. Postman will attempt to determine which options are available to you."
+#~ msgstr "Il nome host del server e la porta si può usare è una combinazione di ciò che le vostre offerte fornitore di servizi di posta, e che cosa il vostro ospite WordPress permette. Postman tenterà di determinare quali opzioni sono a vostra disposizione."
+
+#~ msgid "This is the Outgoing Mail Server, also known as a Mail Submission Agent (MSA), that Postman will use to deliver your mail. If possible, Postman will try to determine this hostname based on the e-mail address."
+#~ msgstr "Questo è il server di posta in uscita, noto anche come un Invio posta Agent (MSA), che Postman userà per consegnare la posta. Se possibile, Postman cercherà di determinare questo nome host in base all'indirizzo e-mail."
+
+#~ msgid "You are about to configure OAuth 2.0 with an IP address in the URL which will fail. Either assign a real domain name to your site or add a fake one in your local machine's host file."
+#~ msgstr "Stai per configurare OAuth 2.0 con un indirizzo IP nell'URL che fallirà. O assegnare un vero nome di dominio per il tuo sito o aggiungere un falso in file host del computer locale."
+
+#~ msgid "This test determines which well-known sockets are available for Postman to use."
+#~ msgstr "Questo test determina quali sono disponibili per Postman usare prese noti."
diff --git a/Postman/languages/postman-smtp-nl_NL.mo b/Postman/languages/postman-smtp-nl_NL.mo
new file mode 100644
index 0000000..c657bd7
--- /dev/null
+++ b/Postman/languages/postman-smtp-nl_NL.mo
Binary files differ
diff --git a/Postman/languages/postman-smtp-nl_NL.po b/Postman/languages/postman-smtp-nl_NL.po
new file mode 100644
index 0000000..dfa9fc7
--- /dev/null
+++ b/Postman/languages/postman-smtp-nl_NL.po
@@ -0,0 +1,1914 @@
+# Copyright (C) 2015 Postman SMTP
+# This file is distributed under the same license as the Postman SMTP package.
+msgid ""
+msgstr ""
+"Project-Id-Version: Postman SMTP 1.6.11\n"
+"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/postman-smtp\n"
+"POT-Creation-Date: 2015-11-08 17:17-0500\n"
+"PO-Revision-Date: 2015-11-09 01:15-0500\n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"Language: nl_NL\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Poedit 1.8.6\n"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:94
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:348
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:357
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:99
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:116
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:75
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:545
+#: Postman/PostmanViewController.php:227
+msgid "Warning"
+msgstr "Waarschuwing"
+
+#. translators: where %s is the name of the SMTP server
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:96
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:116
+msgid "connected to %1$s instead of %2$s."
+msgstr "connect naar %1$s in plaast van %2$s."
+
+#. translators: where %d is a port number
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:98
+msgid "You are about to configure OAuth 2.0 with an IP address instead of a domain name. This is not permitted. Either assign a real domain name to your site or add a fake one in your local host file."
+msgstr "Je gaat OAuth 2.0 configureren met een IP adres in plaats van een domeinnaam. Dit is niet toegestaan. Of verwijz een echte domeinnaam naar je site of voeg een imitatie in je local hoste file."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:132
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:157
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:83
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:81
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:95
+#: Postman/PostmanViewController.php:53 Postman/PostmanViewController.php:76
+#: Postman/PostmanViewController.php:184 Postman/PostmanViewController.php:256
+msgid "%s Setup"
+msgstr "%s Setup"
+
+#. Plugin Name of the plugin/theme
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:132
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:157
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:83
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:57
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:70
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:81
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:333
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:176
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:95
+#: Postman/Postman.php:61 Postman/PostmanViewController.php:53
+#: Postman/PostmanViewController.php:54 Postman/PostmanViewController.php:76
+#: Postman/PostmanViewController.php:184 Postman/PostmanViewController.php:256
+msgid "Postman SMTP"
+msgstr "Postman SMTP"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:196
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:81
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:200
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:217 Postman/Postman.php:316
+#: Postman/PostmanAdminController.php:225
+msgid "Settings"
+msgstr "Configuratie"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:198
+msgid "Account"
+msgstr "Account"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:199
+msgid "Message"
+msgstr "Bericht"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:200
+msgid "Logging"
+msgstr "Statistieken"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:201
+msgid "Advanced"
+msgstr "Verbetering"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:263
+msgid "Setup Wizard"
+msgstr "Instellingen wizard"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:296
+msgctxt "Wizard Step Title"
+msgid "Import Configuration"
+msgstr "Configuratie importeren"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:298
+msgctxt "Wizard Step Title"
+msgid "Import configuration from another plugin?"
+msgstr "Configuratie van een ander plugin importeren?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:299
+msgid "If you had a working configuration with another Plugin, the Setup Wizard can begin with those settings."
+msgstr "Indien je een werkende configuratie had met een andere plugin, kun je de instellingen wizard gebruiken om die instellingen over te nemen."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:301
+#: Postman/Postman-Mail/PostmanModuleTransport.php:720
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:425
+msgid "None"
+msgstr "Geen"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:312
+msgctxt "Wizard Step Title"
+msgid "Sender Details"
+msgstr "Afzender details"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:314
+msgctxt "Wizard Step Title"
+msgid "Who is the mail coming from?"
+msgstr "Van wie komt de mail ?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:315
+msgid "Enter the email address and name you'd like to send mail as."
+msgstr "Vul het emailadres en naam in die je als verzending wenst"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:316
+msgid "Please note that to prevent abuse, many email services will <em>not</em> let you send from an email address other than the one you authenticate with."
+msgstr "Houdt er rekening mee dat vanwege de spam bestrijding diverse e-mailservices het <em>niet</em> toestaan om vanaf een andere 'from' e-mailberichten te versturen dan diegene waarmee deze geautoriseerd is."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:317
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:49
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:112
+msgid "Email Address"
+msgstr "E-mailadres"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:320
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:59
+msgid "Name"
+msgstr "Naam"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:325
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:143
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:331
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:542
+msgid "Outgoing Mail Server Hostname"
+msgstr "Uitgaande Mail Server Hostname"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:333
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:337
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:138
+#: Postman/PostmanViewController.php:294
+msgid "Connectivity Test"
+msgstr "Verbinding testen"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:335
+msgid "How will the connection to the mail server be established?"
+msgstr "Hoe zal de verbining met MSA wordene vastgesteld?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:336
+msgid "Your connection settings depend on what your email service provider offers, and what your WordPress host allows."
+msgstr "Je verbindingsinstellingen zijn afhankelijk van wat je e-mail service provider biedt, en wat de WordPress hosting provider toestaat."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:337
+msgctxt "TCP Port Test Status"
+msgid "Ready"
+msgstr "Gereed"
+
+#. Translators: Where %1$s is the socket identifier and %2$s is the
+#. authentication type
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:345
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgctxt "A socket is the network term for host and port together"
+msgid "Socket"
+msgstr "Socket"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:346
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:354
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:223
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:177
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:351
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:356
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:372
+msgid "Authentication"
+msgstr "Authenticatie"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:349
+msgid "This configuration option will send your authorization credentials in the clear."
+msgstr "Deze configuratie instelling zal je authenticatie gegevens onveilig versturen."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:356
+msgid "How will you prove your identity to the mail server?"
+msgstr "Hoe ga je je indentiteit aan de de MSA bewijzen?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:363
+msgctxt "The final step of the Wizard"
+msgid "Finish"
+msgstr "Gereed"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:365
+msgctxt "Wizard Step Title"
+msgid "You're Done!"
+msgstr "Je bent klaar !"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:367
+msgid "Click Finish to save these settings, then:"
+msgstr "Druk op Finish om de instellingen op te slaan, dan:"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:369
+msgid "Grant permission with the Email Provider for Postman to send email and"
+msgstr "De permissie voor met je email provider zijn toegekend voor Postman om mail te verzenden en "
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:370
+msgid "Send yourself a Test Email to make sure everything is working!"
+msgstr "Jezelf een testbericht versturen om te zien of alles werkt!"
+
+#. translators: where %s is the URL to the Connectivity Test page
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:514
+msgid "Postman can't find any way to send mail on your system. Run a <a href=\"%s\">connectivity test</a>."
+msgstr "Postman kan met geen mogelijkheid een mail verzenden via jouw systeem. Voer een <a href=\"%s\">verbindings test</a>."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:33
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Transport"
+msgstr "Transport"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:38
+msgctxt "(i.e.) What kind is it?"
+msgid "Type"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:44
+msgctxt "The Message Sender Email Address"
+msgid "From Address"
+msgstr "Bericht Zender Adres"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:70
+msgid "Additional Email Addresses"
+msgstr "Annvullende adressen"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:75
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:220
+msgid "Reply-To"
+msgstr "Antwoord-Aan"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:80
+msgid "To Recipient(s)"
+msgstr "Aan ontvanger(s)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:85
+msgid "Carbon Copy Recipient(s)"
+msgstr "Carbon Copy Ontvangers"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:90
+msgid "Blind Carbon Copy Recipient(s)"
+msgstr "Blind Carbon Copy Ontvanger (s)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:96
+msgid "Additional Headers"
+msgstr "Aanvullende Headers"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:101
+msgid "Custom Headers"
+msgstr "Aangepaste Headers"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:107
+msgid "Validation"
+msgstr "Validatie"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:118
+msgid "Email Log Settings"
+msgstr "Email Log instellingen"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:123
+msgid "Enable Logging"
+msgstr "Toegestane Logging"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:128
+#: Postman/PostmanInputSanitizer.php:137
+msgid "Maximum Log Entries"
+msgstr "Limiet Log toegang"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:133
+msgid "Maximum Transcript Size"
+msgstr "Transcript grootte"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:139
+msgid "Network Settings"
+msgstr "Netwerk Instellingen"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:144
+msgctxt "Configuration Input Field"
+msgid "TCP Connection Timeout (sec)"
+msgstr "TCP connectie Timeout (sec)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:149
+msgctxt "Configuration Input Field"
+msgid "TCP Read Timeout (sec)"
+msgstr "TCP uitlees Timeout (sec)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:155
+msgctxt "Configuration Section Title"
+msgid "Miscellaneous Settings"
+msgstr "Overige Instellingen"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:160
+msgctxt "Configuration Input Field"
+msgid "PHP Log Level"
+msgstr "PHP Log niveau"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:165
+msgctxt "Configuration Input Field"
+msgid "Delivery Mode"
+msgstr "Overdrachts modus"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:170
+msgctxt "This mode removes the Postman X-Mailer signature from emails"
+msgid "Stealth Mode"
+msgstr "Stealth Modus"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:175
+msgid "Temporary Directory"
+msgstr "Tijdelijke gegevensmap"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:186
+msgid "Choose SMTP or a vendor-specific API:"
+msgstr "Kies SMTP of een vendor-specifieke API"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:189
+msgid "Configure the delivery audit log:"
+msgstr "De delivery audit log configureren:"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:196
+msgid "This address, like the <b>letterhead</b> printed on a letter, identifies the sender to the recipient. Change this when you are sending on behalf of someone else, for example to use Google's <a href=\"%s\">Send Mail As</a> feature. Other plugins, especially Contact Forms, may override this field to be your visitor's address."
+msgstr "Dit adres, net als de <b>briefhoofd</b> gedrukt op een brief, identificeert de zender naar de ontvanger. Verander dit wanneer u verzendt namens iemand anders, bijvoorbeeld om Google's <a gebruiken href=\"%s\">Send Mail As</a> functie. Andere plugins, vooral contact formulieren, kan dit gebied voorrang aan het adres van uw bezoeker."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:203
+msgid "Separate multiple <b>to</b>/<b>cc</b>/<b>bcc</b> recipients with commas."
+msgstr "Scheidt de meerdere ontvangers <b>naar</b>/<b>cc</b>/<b>bcc</b> met een komma"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:210
+msgid "Increase the timeouts if your host is intermittenly failing to send mail. Be careful, this also correlates to how long your user must wait if the mail server is unreachable."
+msgstr "Vergroot de Timeouts als je Host email onderbrekend verzend. Wees voorzichtig, dit houd ook verband met de tijd dat je gebruikers moeten wachten als de mail server onbereikbaar is."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:221
+msgid "Specify custom headers (e.g. <code>X-MC-Tags: wordpress-site-A</code>), one per line. Use custom headers with caution as they can negatively affect your Spam score."
+msgstr "Geef de standaard Headers (e.g. <code>X-MC-Tags: wordpress-site-A</code>, een per regel, Gebruik standaard Headers met behoedzaamheid omdat ze een negatief effect op je Spam scoren."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:228
+msgid "E-mail addresses can be validated before sending e-mail, however this may fail with some newer domains."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:254
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:276
+msgid "Prevent <b>plugins</b> and <b>themes</b> from changing this"
+msgstr "<b>Plugins</b> en <b>thema's</b> te verhinderen dit wijzigen"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:261
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:405
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:244
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:195
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:409
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:416
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:459
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:467
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:475
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:482
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:530
+msgid "Required"
+msgstr "Benodigd"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:268
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:531
+msgid "This address, like the <b>return address</b> printed on an envelope, identifies the account owner to the SMTP server."
+msgstr "Dit adres, net als de <b>retouradres</b> afgedrukt op een envelop, identificeert de eigenaar van de account op de SMTP-server."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:289
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:108
+msgid "Yes"
+msgstr "Ja"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:290
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:109
+msgid "No"
+msgstr "Nee"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:300
+msgid "Change this value if you can't see the beginning of the transcript because your messages are too big."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:343
+msgid "Disable e-mail validation"
+msgstr "E-mail bevestiging uitschakelen"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:350
+msgid "Log Level specifies the level of detail written to the <a target=\"_new\" href=\"%s\">WordPress Debug log</a> - view the log with <a target-\"_new\" href=\"%s\">Debug</a>."
+msgstr "Livello di registro specifica il livello di dettaglio, scritto per i file di registro di WordPress e PHP. Modalità di consegna offre opzioni utili in un ambiente di sviluppo."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:353
+msgid "Off"
+msgstr "Uit"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:354
+msgid "Trace"
+msgstr "Trace"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:355
+msgid "Debug"
+msgstr "Verhelpen"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:356
+msgid "Info"
+msgstr "Informatie"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:358
+msgid "Error"
+msgstr "Error"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:366
+msgid "Delivery mode offers options useful for developing or testing."
+msgstr "Delivery-modus biedt opties nuttig zijn voor de ontwikkeling of het testen."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:369
+msgctxt "When the server is online to the public, this is \"Production\" mode"
+msgid "Log Email and Send"
+msgstr "Log email en verzend"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:370
+msgid "Log Email and Delete"
+msgstr "Log email en verwijder"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:371
+msgid "Delete All Emails"
+msgstr "Alle e-mailberichten verwijderen"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:375
+msgid "Remove the Postman X-Header signature from messages"
+msgstr "De Postman X-Header ondertekening verwijderen uit de berichten"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:378
+msgid "Lockfiles are written here to prevent users from triggering an OAuth 2.0 token refresh at the same time."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:381
+msgid "Valid"
+msgstr "Geldig"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:383
+msgid "Invalid"
+msgstr "Onjuist"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:105
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:109
+msgctxt "The \"please wait\" message"
+msgid "Checking.."
+msgstr "Checking.."
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:106
+msgctxt "The port is open"
+msgid "Open"
+msgstr "Open"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:107
+msgctxt "The port is closed"
+msgid "Closed"
+msgstr "Gesloten"
+
+#. translators: where %d is a port number
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:111
+msgid "No outbound route between this site and the Internet on Port %d."
+msgstr "De uitgaande route tussen deze site en internet op port %d."
+
+#. translators: where %d is a port number and %s is a hostname
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:113
+msgid "Port %d is open, but not to %s."
+msgstr "Poort %d is open, maar niet voor %s."
+
+#. translators: where %d is the port number and %s is the hostname
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:115
+msgid "Port %d can be used for SMTP to %s."
+msgstr "Poort %d kan gebruikt worden voor SMTP naar %s."
+
+#. translators: where %d is a port number and %s is the URL for the Postman
+#. Gmail Extension
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:118
+msgid "Port %d can be used with the %s."
+msgstr "Poort %d kan voor verzenden gebruikt worden met email met de %s."
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:141
+msgid "This test determines which well-known ports are available for Postman to use."
+msgstr "Deze test bepaald welke bekende porrten beschikbaar zijn om Postman te gebruiken."
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:145
+msgctxt "Button Label"
+msgid "Begin Test"
+msgstr "Test starten"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:162
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:152
+msgid "Status"
+msgstr "Toestand"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Service Available"
+msgstr "Dienst beschikbaar"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Server ID"
+msgstr ""
+
+#. Translators: Meaning "Not Applicable"
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:155
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:260
+msgid "n/a"
+msgstr "n/a"
+
+#. Translators: Where %s is the name of the service providing Internet
+#. connectivity test
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:160
+msgid "According to %s"
+msgstr ""
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:163
+msgid "Summary"
+msgstr "Samenvatting"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:168
+msgid "A test with <span style=\"color:red\">\"No\"</span> Service Available indicates one or more of these issues:"
+msgstr "Een met service beschikbare poort <span style=\"color:red\">\"Nee\"</span>geeft een of meer problemen aan:"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:170
+msgid "Your web host has placed a firewall between this site and the Internet"
+msgstr "Je webhost heeft een firewaqll geplaats tussen deze site en internet"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:171
+msgid "The SMTP hostname is wrong or the mail server does not provide service on this port"
+msgstr "De SMTP hostnaam is verkeerd of de email server biedt geen service aan op deze poort"
+
+#. translators: where (1) is the URL and (2) is the system
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:173
+msgid "Your <a href=\"%1$s\">%2$s configuration</a> is preventing outbound connections"
+msgstr "Je <a href=\"%1$s\">%2$s configuratie</a> voorkomt uitgaande verbindingen"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:177
+msgid "If the issues above can not be resolved, your last option is to configure Postman to use an email account managed by your web host with an SMTP server managed by your web host."
+msgstr "Als de bovenstaande problemen niet kunnen worden opgelost, is je laatste optie om Postman te configureren met een e-mailaccount die wordt beheerd door je hosting provider met een SMTP die ook wordt beheerd door je hosting provider."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:82
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman.php:317
+msgctxt "The log of Emails that have been delivered"
+msgid "Email Log"
+msgstr "E-mail Log"
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:95
+msgid "Error: Postman is missing a required PHP library."
+msgstr "Fout: Postman mist een vereist PHP bibliotheek."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:97
+#: Postman/Postman.php:257
+msgid "Postman: wp_mail has been declared by another plugin or theme, so you won't be able to use Postman until the conflict is resolved."
+msgstr "Postman: wp_mail is in gebruik door een andere plugin of thema, hierdoor kunt u Postman niet gebruiken totdat het conflict is opgelost."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:100
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:229
+msgid "Postman is in <em>non-Production</em> mode and is dumping all emails."
+msgstr "Postman is in <em>Niet-productieve</em> modus en verwijders alle e-mails."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:102
+msgid "<span style=\"color:green\">Postman is configured</span> and has delivered <span style=\"color:green\">%d</span> email."
+msgid_plural "<span style=\"color:green\">Postman is configured</span> and has delivered <span style=\"color:green\">%d</span> emails."
+msgstr[0] "<span style=\"color:green\">Postman is geconfigureerd</span> en <span style=\"color:green\">%d</span> heeft een bericht verzonden."
+msgstr[1] "<span style=\"color:green\">Postman is geconfigureerd</span> en <span style=\"color:green\">%d</span> berichten zijn verzonden."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:104
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:234
+msgid "Postman is <em>not</em> configured and is mimicking out-of-the-box WordPress email delivery."
+msgstr "Postman is <em>niet</em> geconfigureerd en de bootst de out-of-the-box WordPress afhandeling na."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:116
+msgid "Postman is operating in per-site mode."
+msgstr "Postman is in bedrijfs per-site modus"
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:102
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:107
+#: Postman/PostmanViewController.php:295
+msgid "Diagnostic Test"
+msgstr "Diagnostic Test"
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:104
+msgid "Are you having issues with Postman?"
+msgstr "Heb je problemen met Postman?"
+
+#. translators: where %1$s and %2$s are the URLs to the Troubleshooting and
+#. Support Forums on WordPress.org
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:106
+msgid "Please check the <a href=\"%1$s\">troubleshooting and error messages</a> page and the <a href=\"%2$s\">support forum</a>."
+msgstr "Controleer de <a href=\"%1$s\">probleem oplossingen en foutmeldingen</a> pagina en de <a href=\"%2$s\">support forum</a>."
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:108
+msgid "If you write for help, please include the following:"
+msgstr "Als je om hulp vraagt, voeg dan aub het volgende toe:"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:90
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:242
+msgid "Your message was delivered (%d ms) to the SMTP server! Congratulations :)"
+msgstr "Je bericht is verzonden (%d ms) naar de SMTP server! Gefeliciteerd :)"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:156
+msgid "Mail Log Entries were deleted."
+msgstr "'Mail Log'-gegevens zijn verwijderd."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:179
+msgid "Mail Log Entry was deleted."
+msgstr "'Mail Log'-gegevens zijn verwijderd."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:204
+msgctxt "Who is this message From?"
+msgid "From"
+msgstr "Afzender"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:208
+msgctxt "Who is this message To?"
+msgid "To"
+msgstr "Ontvanger"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:212
+msgctxt "Who is this message Cc'd to?"
+msgid "Cc"
+msgstr "Cc"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:216
+msgctxt "Who is this message Bcc'd to?"
+msgid "Bcc"
+msgstr "Bcc"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:222
+msgctxt "What is the date today?"
+msgid "Date"
+msgstr "Datum"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:223
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:161
+msgctxt "What is the subject of this message?"
+msgid "Subject"
+msgstr "Onderwerp"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:226
+msgctxt "What is the unique URI of the configuration?"
+msgid "Delivery-URI"
+msgstr "Leverings -URI"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:253
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:161
+msgid "This is the conversation between Postman and the mail server. It can be useful for diagnosing problems. <b>DO NOT</b> post it on-line, it may contain your account password."
+msgstr "Dit is een onderhoud tussen Postman en je SMTP server. Dit kan nuttig zijn voor diagnostische problemen. Post het <b>NIET</b>online, het kan je geheime password in encoded form bevatten."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:333
+msgid "%s Email Log"
+msgstr "%s E-mail Log"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:301
+msgid "Email was successfully resent (but without attachments)"
+msgstr ""
+
+#. Translators: Where %s is an error message
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:303
+msgid "Email could not be resent. Error: %s"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:304
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:110
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:112
+msgid "Resend"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:339
+msgid "This is a record of deliveries made to the mail server. It does not neccessarily indicate sucessful delivery to the recipient."
+msgstr "Dit is een rapportage van ontvangstbevestiging die gemeld is bij Mail Submission Agent (MSA). Het geeft niet noodzakelijk aan of een bericht succesvol afgeleverd is bij de ontvanger."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogPostType.php:37
+msgctxt "The group of Emails that have been delivered"
+msgid "Sent Emails"
+msgstr "Verzonden berichten"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogPostType.php:38
+msgctxt "An Email that has been delivered"
+msgid "Sent Email"
+msgstr "Verzonden bericht"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:75
+msgid "An empty subject line can result in delivery failure."
+msgstr "Een lege onderwerpregel kan resulteren in de levering mislukking."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:196
+msgid ".. +%d more"
+msgstr "..+%d meer"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:99
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:223
+msgctxt "Delete an item from the email log"
+msgid "Delete"
+msgstr "Verwijderen"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:100
+msgctxt "View an item from the email log"
+msgid "View"
+msgstr "Bekijken"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:104
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:106
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:158
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:163
+msgid "Session Transcript"
+msgstr "Transcript session"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:163
+msgctxt "When was this email sent?"
+msgid "Delivery Time"
+msgstr "Overdrachts tijd"
+
+#. Translators: where %s indicates the relative time from now
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:332
+msgctxt "A relative time as in \"five days ago\""
+msgid "%s ago"
+msgstr "%s geleden"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:338
+msgid "Sent"
+msgstr "Verzenden"
+
+#: Postman/Postman-Mail/PostmanDefaultModuleTransport.php:107
+msgid "Default"
+msgstr "Standaardwaarde"
+
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:102
+msgid "Gmail API"
+msgstr "Gmail API"
+
+#. translators: where (1) is the secure icon and (2) is the transport name
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:152
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:135
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:79
+msgid "Postman will send mail via the <b>%1$s %2$s</b>."
+msgstr "Postman invierà mail tramite il <b>%1$s %2$s</b>."
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:166
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:117
+msgid "You have configured OAuth 2.0 authentication, but have not received permission to use it."
+msgstr "Je hebt de authenticatie OAuth 2.0 geconfigureerd , maar je hebt erg een toestemming voor gekregen om het te gebruiken."
+
+#. translators: where variables are (1) transport name (2) host and (3) port
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:206
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:181
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:125
+msgid "Postman recommends the %1$s to host %2$s on port %3$d."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:221
+#: Postman/Postman-Mail/PostmanModuleTransport.php:713
+msgid "OAuth 2.0 (requires Client ID and Client Secret)"
+msgstr "OAuth 2.0 (vereist Client ID en Client Secret)"
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:44
+msgid "Mandrill API"
+msgstr "Mandrill API"
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:147
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:101
+msgid "API Key can not be empty"
+msgstr "API-sleutel mag niet leeg zijn."
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:151
+#: Postman/Postman-Mail/PostmanModuleTransport.php:578
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:105
+msgid "Message From Address can not be empty"
+msgstr "Bericht Zender Adres mag niet leeg zijn."
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:194
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:228
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:271
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:148
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:182
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:222
+msgid "API Key"
+msgstr "API-sleutel"
+
+#. Translators: Where (1) is the service URL and (2) is the service name and
+#. (3) is a api key URL
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:238
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:189
+msgid "Create an account at <a href=\"%1$s\" target=\"_new\">%2$s</a> and enter <a href=\"%3$s\" target=\"_new\">an API key</a> below."
+msgstr "Een acccount aanmaken bij <a href=\"%1$s\" target=\"_new\">%2$s</a> en de <a href=\"%3$s\" target=\"_new\">API-sleutel</a> hieronder invoegen."
+
+#. translators: where (1) is the transport type, (2) is the host, and (3) is
+#. the Authentication Type (e.g. Postman will send mail via smtp.gmail.com:465
+#. using OAuth 2.0 authentication.)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:506
+msgid "Postman will send mail via %1$s to %2$s using %3$s authentication."
+msgstr "Postman zal mail verzenden via %1$s naar %2$s met %3$s gebruikmakende van authenticatie"
+
+#. translators: where %1$s is the Transport type (e.g. SMTP or SMTPS) and %2$s
+#. is the encryption type (e.g. SSL or TLS)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:534
+msgctxt "as in \"There is no Spoon\""
+msgid "no"
+msgstr "Nee"
+
+#: Postman/Postman-Mail/PostmanModuleTransport.php:553
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:366
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:584
+msgid "Password"
+msgstr "Password"
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label (e.g. Warning: OAuth 2.0 authentication requires an OAuth 2.0-capable
+#. Outgoing Mail Server, Sender Email Address, Client ID, and Client Secret.)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:584
+msgid "OAuth 2.0 authentication requires a %1$s and %2$s."
+msgstr "OAuth 2.0 authenticatie vereist %1$s en %2$s."
+
+#: Postman/Postman-Mail/PostmanModuleTransport.php:706
+msgid "Password (requires username and password)"
+msgstr "Pasword (vereist een gebruikersnaam en password)"
+
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:200
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:217
+msgid "MyMail: Change the delivery method in the %s!"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:39
+msgid "SendGrid API"
+msgstr "SendGrid API"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:95
+msgid "Outgoing Mail Server Hostname and Port can not be empty."
+msgstr "Uitgaande Mail Server Hostname/Port kan niet leeg blijven."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:99
+msgid "Envelope-From Email Address can not be empty"
+msgstr "Envelop Zender Adres mag niet leeg zijn."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:103
+msgid "Username and password can not be empty."
+msgstr "Een gebruikersnaam en password is vereist voor Password authenticatie"
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label (e.g. Warning: OAuth 2.0 authentication requires an OAuth 2.0-capable
+#. Outgoing Mail Server, Sender Email Address, Client ID, and Client Secret.)
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:109
+msgid "OAuth 2.0 authentication requires a supported OAuth 2.0-capable Outgoing Mail Server."
+msgstr "OAuth 2.0 authenticatie vereist een ondersteunend OAuth 2.0-capable Uitgaande mail server."
+
+#. translators: where %1$s is a description of the transport (eg. SMTPS-SSL),
+#. %2$s is a description of the authentication (eg. Password-CRAMMD5), %3$d is
+#. the TCP port (eg. 465), %4$d is the hostname
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:269
+msgid "Postman recommends %1$s with %2$s authentication to host %4$s on port %3$d."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:326
+msgid "Transport Settings"
+msgstr "Transport Settings"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:336
+msgid "Outgoing Mail Server Port"
+msgstr "Uitgaande Mail Server Port"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:341
+msgid "Envelope-From Email Address"
+msgstr "Envelop Zender Adres"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:346
+msgctxt "Configuration Input Field"
+msgid "Security"
+msgstr "Beveiliging"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:361
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:580
+msgid "Username"
+msgstr "Gebruikersnaam"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:402
+msgid "Configure the communication with the mail server."
+msgstr "Configureer de communicatie met de mail Submission Agent (MSA)"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:449
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:579
+msgid "Enter the account credentials."
+msgstr "Voer je referenties in."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:457
+msgid "The Username is usually the same as the Envelope-From Email Address."
+msgstr "Meestal is je email adres je gebruikersnaam."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:511
+msgid "Error computing your domain root - please enter it manually"
+msgstr "Fout met het berekenen van je domein root. Vul dit handmatig in."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:532
+msgid "For reliable delivery, this domain must specify an <a target=\"_new\" href=\"%s\">SPF record</a> permitting the use of the SMTP server named above."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:539
+msgctxt "Wizard Step Title"
+msgid "Which host will relay the mail?"
+msgstr "Welke host zal de email doorgeven?"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:540
+msgid "This is the Outgoing (SMTP) Mail Server, or Mail Submission Agent (MSA), which Postman delegates mail delivery to. This server is specific to your email account, and if you don't know what to use, ask your email service provider."
+msgstr "Dit is de uitgaande (SMTP) mail server, of Mail Submissie Agent (MSA), waarnaar Postman e-mailafhandeling zal delegeren. Deze server is specifiek voor jouw e-mailaccount, als je niet weet welke te kiezen, vraag dit dan na bij je e-mail serviceprovider."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:541
+msgid "Note that many WordPress hosts, such as GoDaddy, Bluehost and Dreamhost, require that you use their mail accounts with their mail servers, and prevent you from using others."
+msgstr "Houdt er rekening mee dat veel Wordpress hosts, zoals GoDaddy, Bluehost en Dream host, eisen dat je hun mail account met hun mail server gebruikt, en willen voorkomen dat je een andere gebruikt"
+
+#. Translators: Where (%s) is the name of the web host
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:547
+msgid "Your email address <b>requires</b> access to a remote SMTP server blocked by %s."
+msgstr "je emailadres <b>vereist</b> toegang tot de SMTP server geblokkeerd door %s."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:548
+msgid "If you have access to cPanel, enable the Remote Mail Exchanger."
+msgstr ""
+
+#. Translators: Where (%1$s) is the SPF-info URL and (%2$s) is the name of the
+#. web host
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:551
+msgid "If you own this domain, make sure it has an <a href=\"%1$s\">SPF record authorizing %2$s</a> as a relay, or you will have delivery problems."
+msgstr "Als je eigenaar bent van dit domein, zorg er dan voor dat je <a href=\"%1$s\">SPF record authorisatie %2$s</a> hebt als een relay, anders zul je mail bezorging problemen ondervinden."
+
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:231
+msgid "Postman is configured."
+msgstr "Postman is geconfigureerd"
+
+#: Postman/Postman-Mail/PostmanZendMailEngine.php:209
+msgid "Communication Error [334] - make sure the Envelope From email is the same account used to create the Client ID."
+msgstr "Communicatie Fout [334] - Wees er zeker van dat de email zender toestemming heeft bij het betreffende account OAuth 2.0."
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:115
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:149
+msgctxt "Email Test Status"
+msgid "In Outbox"
+msgstr "Uitgaande mailbox"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:116
+msgctxt "Email Test Status"
+msgid "Sending..."
+msgstr "Verzenden"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:117
+msgctxt "Email Test Status"
+msgid "Success"
+msgstr "Succes"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:118
+msgctxt "Email Test Status"
+msgid "Failed"
+msgstr "Mislukt"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:119
+msgid "Ajax Error"
+msgstr ""
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:128
+#: Postman/PostmanViewController.php:273 Postman/PostmanViewController.php:275
+msgid "Send a Test Email"
+msgstr "Een testbericht versturen"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:133
+msgid "Specify the Recipient"
+msgstr "Kies de ontvanger"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:135
+msgid "Who is this message going to?"
+msgstr "Naar wie gaat dit bericht?"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:136
+msgid "This utility allows you to send an email message for testing."
+msgstr "Deze functionaliteit staat je toe om een testbericht te versturen."
+
+#. translators: where %d is an amount of time, in seconds
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:139
+msgid "If there is a problem, Postman will give up after %d second."
+msgid_plural "If there is a problem, Postman will give up after %d seconds."
+msgstr[0] "Als er een probleem is Postman geeft het dan na %d seconden op"
+msgstr[1] "Als er problemen zijn, zal Postman het na %d seconden opgeven"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:140
+msgctxt "Configuration Input Field"
+msgid "Recipient Email Address"
+msgstr "Ontvanger E-mailadres"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:145
+msgid "Send The Message"
+msgstr "Het bericht versturen"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:148
+msgid "Sending the message:"
+msgstr "Het bericht wordt verzonden"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:160
+msgid "Examine the Session Transcript if you need to."
+msgstr "Beoordeel de sessie-transcriptie als gewenst."
+
+#. translators: where %s is the domain name of the site
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:212
+msgctxt "Test Email Subject"
+msgid "Postman SMTP Test (%s)"
+msgstr "Postman SMTP Test (%s)"
+
+#. translators: where %s is the Postman plugin version number (e.g. 1.4)
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:299
+msgctxt "Test Email Tagline"
+msgid "Sent by Postman %s"
+msgstr "Verzonden door Postman %s"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:300
+msgid "Image source"
+msgstr "Afbeeldings bron"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:301
+msgid "Used with permission"
+msgstr "Gebruikt met toestemming"
+
+#: Postman/PostmanAdminController.php:111
+msgctxt "The plugin successfully saved new settings."
+msgid "Settings saved."
+msgstr "Instellingen opgeslagen"
+
+#. Translators: where %1$s is the name of the library
+#: Postman/PostmanAdminController.php:178
+msgid "This PHP installation requires the <b>%1$s</b> library."
+msgstr "Deze PHP installatie vereist de <b>%1$s</b> libary"
+
+#: Postman/PostmanAdminController.php:253
+msgid "There was an error importing the data."
+msgstr ""
+
+#: Postman/PostmanAdminController.php:270
+msgid "Plugin data was removed."
+msgstr "Data van de plugin is verwijderd"
+
+#: Postman/PostmanAdminController.php:294
+msgid "The OAuth 2.0 authorization was successful. Ready to send e-mail."
+msgstr "De Oauthen 2.0 autorisatie was succesvol. Gereed om email te verzenden"
+
+#: Postman/PostmanAdminController.php:296
+msgid "Your email provider did not grant Postman permission. Try again."
+msgstr "Je email provider staat geen Postman permissies toe. Probeer nogmaals."
+
+#: Postman/PostmanAdminController.php:299
+msgid "The grant code from Google had no accompanying state and may be a forgery"
+msgstr "De permissie Code van Google heeft geen bijbehorende state en zou een vervalsing kunnen zijn."
+
+#. translators: %s is the error message
+#: Postman/PostmanAdminController.php:303
+msgid "Error authenticating with this Client ID. [%s]"
+msgstr "Fout authencitatie met de Client ID "
+
+#: Postman/PostmanConfigTextHelper.php:31
+msgid "Attention"
+msgstr "Attentie"
+
+#. translators: parameters available are 1=portal-url, 2=portal-name,
+#. 3=clientId-name, 4=clientSecret-name, 5=callbackUrl, 6=service-name,
+#. 7=portal-application (e.g. Open the Google Developer Console, create a
+#. Client ID for web application using the URL's displayed below, and copy the
+#. Client ID and Client Secret here.)
+#: Postman/PostmanConfigTextHelper.php:33
+msgid "Open the <a href=\"%1$s\" target=\"_new\">%2$s</a>, create <b>%7$s</b> with the values displayed below, and copy the generated %3$s and %4$s here."
+msgstr "Open de <a href=\"%1$s\" target=\"_new\">%2$s</a>, create <b>%7$s</b> with the values displayed below, and copy the generated %3$s and %4$s here."
+
+#. translators: parameters available are 1=clientId-name, 2=service-name,
+#. 3=FAQ-URL, 4=Video-URL (e.g. See How do I get a Google Client ID? in the
+#. F.A.Q.)
+#: Postman/PostmanConfigTextHelper.php:36
+msgid "See <a href=\"%3$s\" target=\"_new\">How do I get a %1$s %2$s?</a> in the F.A.Q. or <a href=\"%4$s\" target=\"_new\">watch our How-To video 📺</a>."
+msgstr "Zie<a href=\"%3$s\" target=\"_new\">Hoe krijg ik een %1$s %2$s?</a> in de F.A.Q. of <a href=\"%4$s\" target=\"_new\">of zie onze How-To video 📺</a>."
+
+#. translators: where %s is the Email Service Owner (e.g. Google, Microsoft or
+#. Yahoo)
+#: Postman/PostmanConfigTextHelper.php:54
+msgctxt "Command to initiate OAuth authentication"
+msgid "Grant permission with %s"
+msgstr "Permissie toestaan met %s"
+
+#. Translators: This description is specific to Google
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:80
+#: Postman/PostmanConfigTextHelper.php:142
+#: Postman/PostmanConfigTextHelper.php:204
+#: Postman/PostmanConfigTextHelper.php:271
+msgctxt "Name of the OAuth 2.0 Client ID"
+msgid "Client ID"
+msgstr "Klant iD"
+
+#. Translators: This description is specific to Google
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:84
+#: Postman/PostmanConfigTextHelper.php:146
+#: Postman/PostmanConfigTextHelper.php:208
+#: Postman/PostmanConfigTextHelper.php:274
+msgctxt "Name of the OAuth 2.0 Client Secret"
+msgid "Client Secret"
+msgstr "Klant secret"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:88
+msgctxt "Name of the Application Callback URI"
+msgid "Authorized redirect URI"
+msgstr "Geautorizeerde redirect URI"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:92
+msgctxt "Name of the Application Callback Domain"
+msgid "Authorized JavaScript origins"
+msgstr "Authorized JavaScript origins"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:96
+msgctxt "Name of the email service owner"
+msgid "Google"
+msgstr "Google"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:100
+msgctxt "Name of the email service"
+msgid "Gmail"
+msgstr "Gmail"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:104
+msgctxt "Description of the email service OAuth 2.0 Application"
+msgid "a Client ID for web application"
+msgstr "Een klant ID voor webapplicatie"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:108
+msgctxt "Name of the email service portal"
+msgid "Google Developers Console Gmail Wizard"
+msgstr "Google ontwikkelaar console"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:150
+msgctxt "Name of the Application Callback URI"
+msgid "Redirect URL"
+msgstr "Redirect URL"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:154
+msgctxt "Name of the Application Callback Domain"
+msgid "Root Domain"
+msgstr "Root Domein"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:158
+msgctxt "Name of the email service owner"
+msgid "Microsoft"
+msgstr "Microsoft"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:162
+msgctxt "Name of the email service"
+msgid "Outlook.com"
+msgstr "Outlook.com"
+
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:166
+#: Postman/PostmanConfigTextHelper.php:228
+msgctxt "Description of the email service OAuth 2.0 Application"
+msgid "an Application"
+msgstr "Een aplicatie"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:170
+msgctxt "Name of the email service portal"
+msgid "Microsoft Developer Center"
+msgstr "Microsoft ontwikkel centrum"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:212
+msgctxt "Name of the Application Callback URI"
+msgid "Home Page URL"
+msgstr "Start pagina URL"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:216
+msgctxt "Name of the Application Callback Domain"
+msgid "Callback Domain"
+msgstr "Callback domein"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:220
+msgctxt "Name of the email service owner"
+msgid "Yahoo"
+msgstr "Yahoo"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:224
+msgctxt "Name of the email service"
+msgid "Yahoo Mail"
+msgstr "Yahoo email"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:232
+msgctxt "Name of the email service portal"
+msgid "Yahoo Developer Network"
+msgstr "Yahoo ontwikkelaar Netwerk"
+
+#: Postman/PostmanConfigTextHelper.php:261
+msgid "Enter an Outgoing Mail Server with OAuth2 capabilities."
+msgstr "Enter een uitgaande Mail Server met OAuth2 geschiktheid"
+
+#: Postman/PostmanConfigTextHelper.php:277
+msgctxt "Name of the Application Callback URI"
+msgid "Redirect URI"
+msgstr "Redirect URI"
+
+#: Postman/PostmanConfigTextHelper.php:280
+msgctxt "Name of the Application Callback Domain"
+msgid "Website Domain"
+msgstr "Website domein"
+
+#: Postman/PostmanConfigTextHelper.php:304
+msgid "Grant OAuth 2.0 Permission"
+msgstr "Oauth 2.0 toestemming geven"
+
+#: Postman/PostmanInputSanitizer.php:137
+msgid "must be greater than 0"
+msgstr "Moet groter zijn als 0"
+
+#: Postman/PostmanViewController.php:112
+msgid "An unexpected error occurred"
+msgstr ""
+
+#: Postman/PostmanViewController.php:113
+msgid "Unexpected PHP messages corrupted the Ajax response"
+msgstr "Onverwachte PHP Ajax reactie beschadigde berichten:"
+
+#: Postman/PostmanViewController.php:118
+msgctxt "Press this button to Finish this task"
+msgid "Finish"
+msgstr "Gereed"
+
+#: Postman/PostmanViewController.php:119
+msgctxt "Press this button to go to the next step"
+msgid "Next"
+msgstr "Volgende"
+
+#: Postman/PostmanViewController.php:120
+msgctxt "Press this button to go to the previous step"
+msgid "Previous"
+msgstr "Vorige"
+
+#: Postman/PostmanViewController.php:132
+msgid "Postman is unable to run. Email delivery is being handled by WordPress (or another plugin)."
+msgstr "Postman kan niet draaien. E-mailverwerking wordt gedaan door WordPress (of een andere plugin)."
+
+#. translators: where %d is the number of emails delivered
+#: Postman/PostmanViewController.php:147
+msgid "Postman has delivered <span style=\"color:green\">%d</span> email."
+msgid_plural "Postman has delivered <span style=\"color:green\">%d</span> emails."
+msgstr[0] "Postman heeft <span style=\"color:green\">%d</span> bericht afgeleverd."
+msgstr[1] "Postman heeft <span style=\"color:green\">%d</span> berichten afgeleverd."
+
+#: Postman/PostmanViewController.php:150
+msgid "The last %d email attempts are recorded <a href=\"%s\">in the log</a>."
+msgstr "De laatste %d verzendpogingen zijn opgenomen <a href=\"%s\">in het log</a>."
+
+#: Postman/PostmanViewController.php:155
+msgid "Thank-you for choosing Postman!"
+msgstr "Hartelijk dank voor het gebruik van Postman !"
+
+#. translators: where %s is the URL of the Setup Wizard
+#: Postman/PostmanViewController.php:157
+msgid "Let's get started! All users are strongly encouraged to <a href=\"%s\">run the Setup Wizard</a>."
+msgstr "Laten we beginnen! Alle gerbuikers worden aangemoedigd om de <a href=\"%s\">installatie wizard uit te voeren</a>"
+
+#: Postman/PostmanViewController.php:158
+msgid "Alternately, <a href=\"%s\">manually configure</a> your own settings and/or modify advanced options."
+msgstr "Anders, <a href=\"%s\">handmatig uw eigen instellingen configureren</a> en/of wijzigen van geavanceerde opties."
+
+#. translators: where %s is the URL to the WordPress.org review and ratings
+#. page
+#: Postman/PostmanViewController.php:163
+msgid "Please consider <a href=\"%s\">leaving a review</a> to help spread the word! :D"
+msgstr "Kun je aub <a href=\"%s\">een beoordeling achterlaten</a> Om zo het woord te verspreiden ! :D"
+
+#: Postman/PostmanViewController.php:165
+msgid "Postman needs translators! Please take a moment to <a href=\"%s\">translate a few sentences on-line</a>"
+msgstr ""
+
+#: Postman/PostmanViewController.php:167
+msgid "<b style=\"background-color:yellow\">New for v1.7!</style></b> Send mail with the Mandrill or SendGrid APIs."
+msgstr ""
+
+#: Postman/PostmanViewController.php:191
+msgctxt "Return to main menu link"
+msgid "Back To Main Menu"
+msgstr "Terug naar Hoofdmenu"
+
+#: Postman/PostmanViewController.php:198 Postman/PostmanViewController.php:233
+#: Postman/PostmanViewController.php:284
+msgid "Import"
+msgstr "Importeren"
+
+#: Postman/PostmanViewController.php:199 Postman/PostmanViewController.php:285
+msgid "Export"
+msgstr "Exporteren"
+
+#: Postman/PostmanViewController.php:200 Postman/PostmanViewController.php:286
+msgid "Reset Plugin"
+msgstr "Reset Plugin"
+
+#: Postman/PostmanViewController.php:206
+msgid "Copy this data into another instance of Postman to duplicate the configuration."
+msgstr ""
+
+#: Postman/PostmanViewController.php:225
+msgid "Paste data from another instance of Postman here to duplicate the configuration."
+msgstr ""
+
+#: Postman/PostmanViewController.php:228
+msgid "Using the same OAuth 2.0 Client ID and Client Secret from this site at the same time as another site will cause failures."
+msgstr ""
+
+#: Postman/PostmanViewController.php:241
+msgid "This will purge all of Postman's settings, including account credentials and the email log."
+msgstr "Dit zal alle instellingen van Postman opschonen, inclusief account referenties en de email log."
+
+#: Postman/PostmanViewController.php:241
+msgid "Are you sure?"
+msgstr "Weet je het zeker?"
+
+#: Postman/PostmanViewController.php:261
+msgid "Configuration"
+msgstr "Instellingen"
+
+#: Postman/PostmanViewController.php:262
+msgid "Start the Wizard"
+msgstr "Start de assistent "
+
+#: Postman/PostmanViewController.php:263
+msgid "Show All Settings"
+msgstr ""
+
+#: Postman/PostmanViewController.php:266
+msgctxt "Main Menu"
+msgid "Actions"
+msgstr "Acties"
+
+#: Postman/PostmanViewController.php:292
+msgctxt "Main Menu"
+msgid "Troubleshooting"
+msgstr "Probleem oplossing"
+
+#: Postman/PostmanViewController.php:296
+msgid "Online Support"
+msgstr "Online hulp"
+
+#. Plugin URI of the plugin/theme
+msgid "https://wordpress.org/plugins/postman-smtp/"
+msgstr "https://nl.wordpress.org/plugins/postman-smtp/"
+
+#. Description of the plugin/theme
+msgid "Email not reliable? Postman is the first and only WordPress SMTP plugin to implement OAuth 2.0 for Gmail, Hotmail and Yahoo Mail. Setup is a breeze with the Configuration Wizard and integrated Port Tester. Enjoy worry-free delivery even if your password changes!"
+msgstr "E-mail niet betrouwbaar? Postman is de eerste en enige WordPress SMTP plugin die OAuth 2.0 implementeert voor Gmail, Hotmail en Yahoo mail. Het configureren is eenvoudig met de geïntegreerde Configuratie Wizard en Poort Tester. Geniet van een zorgeloze levering, zelfs wanneer je je wachtwoord veranderd!"
+
+#. Author of the plugin/theme
+msgid "Jason Hendriks"
+msgstr "Jason Hendriks"
+
+#. Author URI of the plugin/theme
+msgid "http://www.codingmonkey.ca"
+msgstr "http://www.codingmonkey.ca"
+
+#~ msgid "Change the delivery method on the %s!"
+#~ msgstr "Wijzig de levering methode op %s!"
+
+#~ msgid "<a href=\"%s\">Configure</a> the plugin."
+#~ msgstr "De plugin <a href=\"%s\">configureren</a>."
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Test Your Setup"
+#~ msgstr "Je setup testen"
+
+#~ msgctxt "eg. TCP Port 25"
+#~ msgid "Port"
+#~ msgstr "Poort"
+
+#~ msgctxt "as in \"There is no Authentication\""
+#~ msgid "no"
+#~ msgstr "Nee"
+
+#~ msgctxt "Log Level"
+#~ msgid "Off"
+#~ msgstr "Off"
+
+#~ msgctxt "Log Level"
+#~ msgid "Trace"
+#~ msgstr "Trace"
+
+#~ msgctxt "Log Level"
+#~ msgid "Debug"
+#~ msgstr "Debug"
+
+#~ msgctxt "Log Level"
+#~ msgid "Info"
+#~ msgstr "Info"
+
+#~ msgctxt "Log Level"
+#~ msgid "Warning"
+#~ msgstr "Waarschuwing"
+
+#~ msgctxt "Log Level"
+#~ msgid "Error"
+#~ msgstr "Error"
+
+#~ msgid "Port %d can be used to send email with the %s."
+#~ msgstr "Poort %d kan voor verzenden gebruikt worden met email met de %s."
+
+#~ msgid "New for v1.6! Email Log"
+#~ msgstr "Nieuw voor v1.6! Email Log"
+
+#~ msgid "Enable to save a copy of all your emails. Great for troubleshooting or as a backup for messages that get lost. <b>Access the Email Log in the Tools menu.</b>"
+#~ msgstr "Inschakelen om een kopie van al uw e-mails te op te slaan. Ideaal voor het oplossen van problemen of als een back-up voor berichten die verloren gaan. <b>Toegang tot het logboek E-mail in het menu Extra.</b>"
+
+#~ msgctxt "The configuration page of the plugin"
+#~ msgid "Settings"
+#~ msgstr "Instellingen"
+
+#~ msgid "Postman is <em>not</em> handling email delivery."
+#~ msgstr "Postman is <em></em> behandelt geen e-mail levering."
+
+#~ msgctxt "As in type used: None"
+#~ msgid "None"
+#~ msgstr "Geen"
+
+#~ msgctxt "Who do we reply to?"
+#~ msgid "Reply-To"
+#~ msgstr "Antwoord -Aan"
+
+#~ msgid "This is the conversation between Postman and your SMTP server. It can be useful for diagnosing problems. <b>DO NOT</b> post it on-line, it may contain your account password."
+#~ msgstr "Dit is een onderhoud tussen Postman en je SMTP server. Dit kan nuttig zijn voor diagnostische problemen.Post het <b>NIET</b>online, het kan je geheime password in encoded form bevatten"
+
+#~ msgid "Postman Email Log"
+#~ msgstr "Postman Email Log"
+
+#~ msgid "This is a record of deliveries made to the Mail Submission Agent (MSA). It does not neccessarily indicate sucessful delivery to the recipient."
+#~ msgstr "Dit is een Mail Submission Agent (MSA)verslag "
+
+#~ msgid "Warning: An empty subject line can result in delivery failure."
+#~ msgstr "Waarschuwing: Een lege onderwerpregel kan resulteren in de levering mislukking."
+
+#~ msgctxt "View the transcript of an item from the email log"
+#~ msgid "Transcript"
+#~ msgstr "Transcriptie"
+
+#~ msgctxt "Attempt to resend this email"
+#~ msgid "Resend"
+#~ msgstr "Verstuur opnieuw"
+
+#~ msgctxt "Was sending this email successful or not?"
+#~ msgid "Status"
+#~ msgstr "Status"
+
+#~ msgctxt "Transport Name"
+#~ msgid "Gmail API"
+#~ msgstr "Gmail API"
+
+#~ msgctxt "Authentication Type is OAuth 2.0"
+#~ msgid "OAuth 2.0"
+#~ msgstr "OAuth 2.0"
+
+#~ msgid "Postman will send mail via the <b>🔐Gmail API</b> using %s authentication."
+#~ msgstr "Postman invierà mail tramite il <b> 🔐 API Gmail</b> utilizzando l'autenticazione %s."
+
+#~ msgid "OAuth 2.0 authentication requires a Client ID and Client Secret."
+#~ msgstr "Authenticatie OAuth 2.0 vereist een Zender Email Adres, Klant ID en Klant secret."
+
+#~ msgid "Envelope From Address and Message From Address can not be empty."
+#~ msgstr "Envelop Zender Adres en Bericht Zender Adres mag niet leeg zijn."
+
+#~ msgid "Postman recommends Gmail API configuration on port %d"
+#~ msgstr "Postman raadt Gmail API configuratie op port %d aan"
+
+#~ msgctxt "Transport Name"
+#~ msgid "SMTP"
+#~ msgstr "SMTP"
+
+#~ msgctxt "As in type used: CRAM-MD5"
+#~ msgid "CRAM-MD5"
+#~ msgstr "CRAM-MD5"
+
+#~ msgctxt "As in type used: Login"
+#~ msgid "Login"
+#~ msgstr "Login"
+
+#~ msgctxt "As in type used: Plain"
+#~ msgid "Plain"
+#~ msgstr "Vlak"
+
+#~ msgctxt "This authentication type is password-based"
+#~ msgid "Password (%s)"
+#~ msgstr "Password (%5)"
+
+#~ msgid "Password authentication (Plain/Login/CRAM-MD5) requires a username and password."
+#~ msgstr "Een gebruikersnaam en password is vereist voor Password authenticatie"
+
+#~ msgid "OAuth 2.0 authentication requires a supported OAuth 2.0-capable Outgoing Mail Server, %1$s, and %2$s."
+#~ msgstr "OAuth 2.0 authenticatie vereist een ondersteunend OAuth 2.0-capable Uitgaande mail server %1$s, en %2$s"
+
+#~ msgid "Your recommended settings are %1$s with %2$s authentication to host %4$s on port %3$d."
+#~ msgstr "Je aanbevolen instellingen zijn %1$s met %2$s authenticatie voor host %4$s van port %3$d"
+
+#~ msgid "The selected transport '%s' is unavailable. The external plugin was probably deactivated."
+#~ msgstr "Het geselecteerde transport '%s' is niet beschikbaar. De externe plugin was waarschijnlijk gedeactiveerd"
+
+#~ msgid "WordPress is still handling email delivery, <em>not</em> Postman."
+#~ msgstr "Postman is <em>behandelt geen</em> e-mail levering."
+
+#~ msgctxt "The Transport is the method for sending mail, SMTP or API"
+#~ msgid "Transport"
+#~ msgstr "Verzending/overbrenging"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Transport Settings"
+#~ msgstr "Verzend settings"
+
+#~ msgctxt "Authentication proves the user's identity"
+#~ msgid "Authentication"
+#~ msgstr "Authencitatie"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Username"
+#~ msgstr "Gebruikersnaam"
+
+#~ msgctxt "The Envelope Sender Email Address"
+#~ msgid "Envelope From Address"
+#~ msgstr "Envelop Zender Adres"
+
+#~ msgctxt "The Message Sender Email Address"
+#~ msgid "Message From Address"
+#~ msgstr "Bericht Zender Adres"
+
+#~ msgctxt "The email address to address replies to"
+#~ msgid "Reply-To"
+#~ msgstr "Antwoord -Aan"
+
+#~ msgid "Maximum Number of Log Entries"
+#~ msgstr "Limiet Log toegang"
+
+#~ msgid "Maximum Number of Lines in a Transcript"
+#~ msgstr "Transcript grootte"
+
+#~ msgid "Configure the communication with the Mail Submission Agent (MSA):"
+#~ msgstr "Configureer de communicatie met de mail Submission Agent (MSA)"
+
+#~ msgid "Enter the account username (email address) and password:"
+#~ msgstr "Vul de acount gebruikersnaam (email adres) en password in:"
+
+#~ msgid "This will purge all of Postman's settings, including SMTP server info, username/password and OAuth Credentials."
+#~ msgstr "Dit zal alle Postman instelingen opschonen, inclusief SMTP info server, gebruikersnaam/paswoord en OAuth credentials"
+
+#~ msgid "Log Level specifies the level of detail written to the WordPress log - view the log with <a href=\"%s\">Debug</a>. Delivery mode offers options useful for developing or testing."
+#~ msgstr "Inloggen Level bepaalt de mate van detail geschreven naar de WordPress-logbestand - Het logboek met <a href=\"%s\">Debug</a>. Delivery-modus biedt opties nuttig zijn voor de ontwikkeling of het testen."
+
+#~ msgid "<b style=\"color:red\">Attention!</b> Open the <a href=\"%1$s\" target=\"_new\">%2$s</a>, create <b>%7$s</b> with the values displayed below, and copy the generated %3$s and %4$s here."
+#~ msgstr "<b style=\"color:red\">Attentie!</b> Open de <a href=\"%1$s\" target=\"_new\">%2$s</a>, create <b>%7$s</b> with the values displayed below, and copy the generated %3$s and %4$s here."
+
+#~ msgctxt "Command to initiate OAuth authentication"
+#~ msgid "Grant OAuth Permission"
+#~ msgstr "Oauth toestemming geven"
+
+#~ msgid " must be greater than 0"
+#~ msgstr "moet groter dan 0 zijn"
+
+#~ msgctxt "Page Title"
+#~ msgid "Postman Setup"
+#~ msgstr "Postman Setup"
+
+#~ msgid "Welcome"
+#~ msgstr "Welkom"
+
+#~ msgid "This is the Settings page for Postman, an SMTP mailer that delivers email from your WordPress site to the Internet. From here you can configure the plugin, and access testing and diagnostic tools."
+#~ msgstr "Dit is de instellingen pagina van Postman, een SMTP mailer die emails van je WordPress site naar internet zend. Vanaf hier kun je de plugin configureren, met toegangs test en diagnostic tools."
+
+#~ msgid "Having trouble? You can ask for help on our <a href=\"%1$s\" target=\"_blank\">Support Forum</a>. To get the help you need quickly, please post the <a href=\"%s\">Diagnostic Data</a> with your question. You can also check the <a href=\"%3$s\">FAQ</a> and <a href=\"%4$s\">Error Messages</a> pages for answers."
+#~ msgstr "Zijn er problemen? Je kunt hulp vragen op onze <a href=\"%1$s\" target=\"_blank\">Support Forum</a>. Om sneñ geholpen te worden, post aub de <a href=\"%s\">Diagnostic Data</a> met je vragen.Check ook de <a href=\"%3$s\">FAQ</a> en <a href=\"%4$s\">Error Messages</a> paginas voor antwoorden"
+
+#~ msgid "The Email Test will send an email to you. If the test fails, the full SMTP session transcript is available to you. <br/><br/>Receiving a single test email does not indicate perfect configuration. Some services may dump your email into a black-hole or mark it as Spam if you:"
+#~ msgstr "De email test zal je een email sturen. Als de test mislukt, de volledige SMTP sessie transcript is dan beschikbaar voor je."
+
+#~ msgid "Violate an SPF record"
+#~ msgstr "Forceer een SPF record"
+
+#~ msgid "You must use the SMTP server (MSA) approved by your domain to deliver your mail. (eg.) a @gmail.com sender address requires that authentication and delivery always be through smtp.gmail.com."
+#~ msgstr "Je moet de SMTP server (SMA) gebruiken die is toegekend om je mail te kunnen leveren. (eg) a @gmail.com het zend adres vereist dat de authorisatie en levering altijd via smtp.gmail.com gaat. "
+
+# Forge is namaak o vervalsing/vervals..as if you have to make a fake From address?. the= de From= Van and address =adres..
+#~ msgctxt "Forge as in a forgery (fake) is made"
+#~ msgid "Forge the From Address"
+#~ msgstr "Vervals het Van adres "
+
+#~ msgid "<a href=\"%s\">Spoofing</a>, when it results in an SPF violation, will get your message binned. Use your own address as the sender (From:) in <em>every</em> email.</li>"
+#~ msgstr "<a href=\"%s\">Spoofing</a>, als het in een SPF aanval resulteert, will get your message binned.Gebruik je eigen adres als zender (Van:) in <em>iedere</em> email.</li>"
+
+#~ msgid "Consolidates details of your setup to aid the author in debugging problems, including: operating system details, WordPress configuration, Postman configuration, network connectivity and your domain's primary MX and SPF records. Your private authorization credentials are masked."
+#~ msgstr "Geconsolideerde details van je installatie van de hulp aan de auteur voor de problemen bij de opsporingsfout, inclusief: details van het operatie systeem, Wordpress instelllingen, Configuarie POstman, Netwerk aansluiting en je primary MX en SPF domein records. Je prive authorisatie credentials zijn afgeschermd."
+
+#~ msgid "The Connectivity Test will report this site's ability to reach a mail server, and interrogate the mail server for it's capabilities."
+#~ msgstr "De aansluitbaarheids Test zal een raport geven over de ability bereik van de mail server, en zal de mail server interrogeren voor z'n vermogen"
+
+#~ msgctxt "Is it possible to create network connections to the Internet?"
+#~ msgid "Outbound to Internet"
+#~ msgstr "Outbound naar Internet"
+
+#~ msgid "This tests the ability to make outbound connections from your site to the Internet in general. If the result is Closed, then there is a communication problem with the Internet, like a firewall.</li>"
+#~ msgstr "Dit test de mogelijkheid om de uitgaande verbinding van je site naar internet in het algemeen. Als het resultaat gesloten is/word, dan is er een communicatie problemen met internet, dit kan een firewall zijn"
+
+#~ msgctxt "What service is available?"
+#~ msgid "Service Available"
+#~ msgstr "Dienst beschikbaar"
+
+#~ msgid "This shows the service found for a particular host/port. Possible successful results are <b>SMTP</b>, <b>SMTPS</b> (secure) and <b>HTTPS</b> (secure). If the result is No and the hostname you entered is correct, there was a communication problem with the mail server, like a firewall.</li>"
+#~ msgstr "Dit showt de gevonden service van een bepaalde Host/Poort. Mogelijke succesvolle resultaten zijn <b>SMTP</b>, <b>SMTPS</b> (secure) en <b>HTTPS</b> (secure). Als het resultaat is NEE en de hostnaam die je hebt ingevuld is correct, dan is er een communicatie probleeem met de mailserver, zoals een firewall.</li>"
+
+#~ msgctxt "What is this server's ID?"
+#~ msgid "ID"
+#~ msgstr "ID"
+
+#~ msgid "Some hosts redirect mail traffic to their own mail server, breaking authentication and SPF verification. This is revealed by an incorrect server identity.</li>"
+#~ msgstr "Sommige Hosts leiden het verkeer om naar hun eigen mailserver, door de authenticatie en SPF verificatie te breken. Dit blijkt bij een onjuiste server indentitiet."
+
+#~ msgid "STARTTLS"
+#~ msgstr "STARTTLS"
+
+#~ msgid "This indicates whether the server supports protocol-level security. Either STARTTLS, SMTPS or HTTPS is required for secure transmission of your credentials.</li>"
+#~ msgstr "Dit geeft de server support protocol-level veiligheid aan. In beide gevallen STARTTLS, SMTP, of HTTPS is een beveiligde transmissie vereist van je referenties."
+
+#~ msgctxt "Short for Authentication"
+#~ msgid "Auth"
+#~ msgstr "Auth"
+
+#~ msgid "This indicates the authenication methods that the server supports. All are password-based, except for OAuth 2.0, which is token-based.</li>"
+#~ msgstr "Dit geeft de authenticatie methodes aan van de server supports. Ze zijn op pasworden gebaseerd, behalve voor 0AYRH 2.0, , welke token-based is."
+
+#~ msgctxt "A testing tool which determines connectivity to the Internet"
+#~ msgid "Connectivity Test"
+#~ msgstr "Aansluitings test"
+
+#~ msgctxt "Email Test Status"
+#~ msgid "Ajax Error"
+#~ msgstr "Ajax fout"
+
+#~ msgid "Unexpected PHP messages corrupted the Ajax response:"
+#~ msgstr "Onverwachte PHP berichten beschadigd de Ajax-reactie:"
+
+#~ msgid "Warning: connected to %1$s instead of %2$s."
+#~ msgstr "Waarschuwing: connect naar %1$s in plaast van %2$s."
+
+#~ msgid "Port %d can be used to send <b>Gmail</b> with the Gmail API."
+#~ msgstr "Poort %d kan voor verzenden gebruikt worden met <b>Gmail</b> met de Gmail API."
+
+#~ msgid "WordPress (or another plugin) is currently handling email delivery, <em>not</em> Postman."
+#~ msgstr "WordPress (of een andere plugin) is momenteel in behandeling e-maillevering, <em>niet</em> Postman."
+
+#~ msgctxt "Page Title"
+#~ msgid "Manual Configuration"
+#~ msgstr "Handmatige configuratie"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Account"
+#~ msgstr "Account"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Message"
+#~ msgstr "Bericht"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Logging"
+#~ msgstr "Inloggen"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Advanced"
+#~ msgstr "Geavanceerd"
+
+#~ msgid "Delete plugin settings"
+#~ msgstr "Verwijder plugin instellingen"
+
+#~ msgid "This will purge all of Postman's settings, including account credentials and the mail log."
+#~ msgstr "Dit zal alle instellingen van Postman opschonen, inclusief account referenties en de email log."
+
+#~ msgctxt "Button Label"
+#~ msgid "Delete All Data"
+#~ msgstr "Alle gegevens verwijderen"
+
+#~ msgctxt "The port number"
+#~ msgid "Port %s"
+#~ msgstr "Poort %s"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "None"
+#~ msgstr "Geen"
+
+#~ msgid "* Port 443 tests against googleapis.com, not the SMTP hostname you enter."
+#~ msgstr "*Poort 443 test tegen googleapis.com, niet de SMTP naam die je hebt ingevoerd"
+
+#~ msgid "A port with Service Available <span style=\"color:red\">\"No\"</span> indicates one or more of these issues:"
+#~ msgstr "Een met service beschikbare poort <span style=\"color:red\">\"Nee\"</span>geeft een of meer problemen aan "
+
+#~ msgid "Your <a href=\"%s\">PHP configuration</a> is preventing outbound connections"
+#~ msgstr "Je <a href=\"%s\">PHP configuratie</a> voorkomt uitgaande verbindingen"
+
+#~ msgid "Your <a href=\"%s\">WordPress configuration</a> is preventing outbound connections"
+#~ msgstr "Je <a href=\"%s\">WordPress configuratie</a> voorkomt uitgaande verbindingen"
+
+#~ msgctxt "Adjust the Postman settings by hand"
+#~ msgid "Show Advanced Configuration"
+#~ msgstr "Geavanceerde instellingen"
+
+#~ msgid "Disable"
+#~ msgstr "Uitschakelen"
+
+#~ msgctxt "Page Title"
+#~ msgid "Postman Setup Wizard"
+#~ msgstr "Postman instellingen wizard"
+
+#~ msgid "<b>Error</b>: Your email address <b>requires</b> access to a remote SMTP server blocked by GoDaddy. Use a different e-mail address."
+#~ msgstr "<b>Fout</b>: je emailadres <b>vereist</b> toegang tot de SMTP server geblokkeerd door GoDaddy. Gebruik een ander e-mail adres."
+
+#~ msgid "<b>Warning</b>: If you own this domain, make sure it has an <a href=\"%s\">SPF record authorizing GoDaddy</a> as a relay, or you will have delivery problems."
+#~ msgstr "<b>Waarschuwing</b>: Als je eigenaar bent van dit domein, zorg er dan voor dat je <a href=\"%s\">SPF record authorisatie GoDaddy</a> hebt als een relay, anders zul je mail bezorging problemen ondervinden."
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "How will the connection to the MSA be established?"
+#~ msgstr "Hoe zal de verbining met MSA wordene vastgesteld"
+
+#~ msgid "Warning: This configuration option will send your authorization credentials in the clear."
+#~ msgstr "Waarschuwing: Deze configuratie optie zal je een referentie authorisatie zenden "
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "How will you prove your identity to the MSA?"
+#~ msgstr "Hoe ga je je indentiteit aan de de MSA bewijzen?"
+
+#~ msgid "Enter your credentials. Your username is often your email address."
+#~ msgstr "Voer je referenties in. Meestal is je email adres je gebruikersnaam."
+
+#~ msgid "Examine the SMTP Session Transcript if you need to."
+#~ msgstr "Indien je wenst kun je de SMTP sessie examineren"
+
+#~ msgid "SMTP Session Transcript"
+#~ msgstr "SMTP Transcript sessie"
+
+#~ msgid "The <b>Envelope</b> From address identifies the account owner to the SMTP server."
+#~ msgstr "De <b>Envelop </b> Zender Adres identificeert de eigenaar van de account op de SMTP-server."
+
+#~ msgid "The <b>Message</b> From address identifies the sender to the recipient. Change this when you are sending on behalf of someone else, for example to use Google's <a href=\"%s\">Send Mail As</a> feature. Themes and other plugins, especially Contact Forms, are permitted to modify this field."
+#~ msgstr "Het <b>Bericht</b> Zender Adres identificeert de afzender naar de ontvanger. Dit veranderen als u verzendt namens iemand anders, bijvoorbeeld om Google <a href=\"%s\">Mail verzenden als</a> functie te gebruiken. Thema's en andere plugins, vooral Contact formulieren, zijn toegestaan om dit veld wijzigen."
+
+#~ msgid "Log Level specifies the level of detail written to the WordPress and PHP logfiles. Delivery mode offers options useful for developing or testing."
+#~ msgstr "Livello di registro specifica il livello di dettaglio, scritto per i file di registro di WordPress e PHP. Modalità di consegna offre opzioni utili in un ambiente di sviluppo."
+
+#~ msgid "The server returned an unexpected result:"
+#~ msgstr "De server heeft een onverwachte en invalid resultaat geretourneerd"
+
+#~ msgid "Postman has delivered <span style=\"color:green\">%d</span> email for you."
+#~ msgid_plural "Postman has delivered <span style=\"color:green\">%d</span> emails for you."
+#~ msgstr[0] "Postman heeft <span style=\"color:green\">%d</span> email bezorgd voor je."
+#~ msgstr[1] "Postman heeft <span style=\"color:green\">%d</span> emails bezorgd voor je."
+
+#~ msgid "View the log"
+#~ msgstr "Bekijk je log"
+
+#~ msgctxt "Adjust the Postman settings by hand"
+#~ msgid "configure manually"
+#~ msgstr "Handmatig configureren"
+
+#~ msgid "The server returned an unexpected and invalid result:"
+#~ msgstr "De server heeft een onverwachte en invalid resultaat geretourneerd"
+
+#~ msgid "Communication Error [334] - make sure the Sender Email belongs to the account which provided the OAuth 2.0 consent."
+#~ msgstr "Communicatie Fout [334] - Wees er zeker van dat de email zender toestemming heeft bij het betreffende account OAuth 2.0."
+
+#~ msgid "https://profiles.wordpress.org/jasonhendriks/"
+#~ msgstr "https://profiles.wordpress.org/jasonhendriks/"
+
+#~ msgid "This is the conversation between Postman and your SMTP server. It can be useful for diagnosing problems. <b>DO NOT</b> post it on-line, it may contain your shared secret (password) in encoded form."
+#~ msgstr "Dit is een onderhoud tussen Postman en je SMTP server. Dit kan nuttig zijn voor diagnostische problemen.Post het <b>NIET</b>online, het kan je geheime password in encoded form bevatten"
+
+#~ msgid "Choose the Recipient"
+#~ msgstr "Kies de ontvanger"
+
+#~ msgid "The Gmail API transport requires a Sender Email Address, Client ID and Client Secret."
+#~ msgstr "Gmail API transport vereist een Zender Email Adres, Klant ID en Klant secret. "
+
+#~ msgid "Outgoing Mail Server Hostname/Port and Sender Email Address can not be empty."
+#~ msgstr "Uitgaande Mail Server Hostname/Port en zender email adres kan niet leeg blijven."
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Sender"
+#~ msgstr "Verzender"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Sender Email Address"
+#~ msgstr "Email adres zender"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Sender Name"
+#~ msgstr "Naam afzender"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Additional Addresses"
+#~ msgstr "Annvullende adressen"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "To Recipient(s)"
+#~ msgstr "Aan ontvanger(s)"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Carbon Copy Recipient(s)"
+#~ msgstr "Carbon Copy Ontvangers"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Blind Carbon Copy Recipient(s)"
+#~ msgstr "BCC"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Additional Headers"
+#~ msgstr "Aanvullende Headers"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Custom Headers"
+#~ msgstr "Aangepaste Headers"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Enable Logging"
+#~ msgstr "Toegestane Logging"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Log Entries Limit"
+#~ msgstr "Limiet Log toegang"
+
+#~ msgctxt "The maximum number of lines of the SMTP transcript"
+#~ msgid "Transcript Size (Total Lines)"
+#~ msgstr "Transcript grootte"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Network Settings"
+#~ msgstr "Netwerk Instellingen"
+
+#~ msgid "The Sender sets both the envelope <b>Mail-From</b> and the message <b>From</b> header. However, the <b>From</b> header can be modified by another plugin (e.g. for setting a visitor's email address from a Contact Form)."
+#~ msgstr "De afzender stelt zowel de envelop <b>Mail (uit</b> ) en <b>van</b> de berichtkop. Echter, de <b>van</b> -header kan worden gewijzigd door een andere plugin (bv. voor het instellen van een bezoeker e-mailadres van een Contact-formulier)."
+
+#~ msgid "Force this in the <b>From</b> header for all messages"
+#~ msgstr "Krijgsmacht zulks in de header <b>van</b> voor alle berichten"
+
+#~ msgid "Communication Error [334] - make sure the Sender Email belongs to the account which provided the %s OAuth 2.0 consent."
+#~ msgstr "Communicatie Fout [334] - Wees er zeker van dat de email zender toestemming heeft bij het betreffende account %s 0Auth 2.0 "
+
+#~ msgid "Please note that to combat Spam, many email services will <em>not</em> let you send from an email address other than the one you authenticate with."
+#~ msgstr "Houdt er rekening mee dat door de spam bestrijding, zullen veel email diensten je <em> geen</em> andere email laten verzenden dan met degene waarvoor je authenticatie hebt"
+
+#~ msgctxt "Who is this message from?"
+#~ msgid "From"
+#~ msgstr "Afzender"
+
+#~ msgctxt "Who is this message to?"
+#~ msgid "To"
+#~ msgstr "Ontvanger"
+
+#~ msgctxt "Name of the email service portal"
+#~ msgid "Google Developer Console"
+#~ msgstr "Google ontwikkelaar console"
+
+#~ msgid "Please check the <a href=\"%1$s\">troubleshooting and error messages</a> page and the <a href=\"%2$s\">support forum</a>.</br>If you write for help, please include the following:"
+#~ msgstr "Controleer de <a href=\"%1$s\">probleem oplossingen en foutmeldingen</a> pagina en de <a href=\"%2$s\">support forum</a>.</br> Als je om hulp vraagt, voeg dan aub het volgende toe:"
+
+#~ msgid "Postman will send mail via the <b>Gmail API</b> using %s authentication."
+#~ msgstr "Postman zal de email verzenden via <b>Gmail API</b>gebruik %s authenticatie"
+
+#~ msgctxt "Transport Name"
+#~ msgid "SMTPS"
+#~ msgstr "SMTP"
+
+#~ msgctxt "Transport Name"
+#~ msgid "SMTP-STARTTLS"
+#~ msgstr "SMTP-STARTTLS"
+
+#~ msgid "The message sender is used as the default <b>From:</b> address."
+#~ msgstr "De bericht zender zal als standaard gebruikt worden <b>Van:</B>adres"
+
+#~ msgid "Log Level specifies the level of detail written to the WordPress and PHP logfiles. Delivery mode offers options useful in a development environment."
+#~ msgstr "Log niveau specificeert het niveau van de gedetailleerde geschreven WordPress en PHP logfiles. De verzend modus geeft bruikbare mogelijkheiden in een ontwikkelings omgeving"
+
+#~ msgid "Force this Sender Name for all messages"
+#~ msgstr "Gebruik (force) deze verzendnaam voor alle berichten"
+
+#~ msgid "Force this Sender Email Address for all messages"
+#~ msgstr "Gebruik (force) dit emailadres voor alle berichten"
+
+#~ msgid "Please note: <em>When composing email, some WordPress plugins and themes may set an unauthorized sender email address causing rejection with services like Yahoo Mail. If you experience problems, enable \"Force this Sender Email Address for all messages\" in the settings.</em>"
+#~ msgstr "Let Op:<em>Bij het samenstellen van email, kunnen sommige WordPress plugins en Thema's een onbevoegde email afzender in stellen waardoor zich afwijzingen met diensten zoals Yahoo mail voordoen. Als je problemen ondervindt, enable ''force deze email afzender voor alle berichten'' in de instellingen.</em>"
diff --git a/Postman/languages/postman-smtp-ru_RU.mo b/Postman/languages/postman-smtp-ru_RU.mo
new file mode 100644
index 0000000..835844d
--- /dev/null
+++ b/Postman/languages/postman-smtp-ru_RU.mo
Binary files differ
diff --git a/Postman/languages/postman-smtp-ru_RU.po b/Postman/languages/postman-smtp-ru_RU.po
new file mode 100644
index 0000000..4f24037
--- /dev/null
+++ b/Postman/languages/postman-smtp-ru_RU.po
@@ -0,0 +1,1778 @@
+# Copyright (C) 2015 Postman SMTP
+# This file is distributed under the same license as the Postman SMTP package.
+msgid ""
+msgstr ""
+"Project-Id-Version: Postman SMTP 1.6.23d\n"
+"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/postman-smtp\n"
+"POT-Creation-Date: 2015-11-08 17:14-0500\n"
+"PO-Revision-Date: 2015-11-08 17:16-0500\n"
+"Last-Translator: Дмитрий Кобзев <d@kobsev.ru>\n"
+"Language-Team: Новости Горного Алтая <d@kobsev.ru>\n"
+"Language: ru_RU\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.8.6\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Poedit-SourceCharset: UTF-8\n"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:94
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:348
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:357
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:99
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:116
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:75
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:545
+#: Postman/PostmanViewController.php:227
+msgid "Warning"
+msgstr "Предупреждение"
+
+#. translators: where %s is the name of the SMTP server
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:96
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:116
+msgid "connected to %1$s instead of %2$s."
+msgstr "подключение к %1$s вместо %2$s."
+
+#. translators: where %d is a port number
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:98
+msgid "You are about to configure OAuth 2.0 with an IP address instead of a domain name. This is not permitted. Either assign a real domain name to your site or add a fake one in your local host file."
+msgstr "Нельзя настроить OAuth 2.0, указав вместо домена IP-адрес. Нужно указать реальное доменное имя вашего сайта или добавить псевдоним в файле localhost на вашем сервере."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:132
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:157
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:83
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:81
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:95
+#: Postman/PostmanViewController.php:53 Postman/PostmanViewController.php:76
+#: Postman/PostmanViewController.php:184 Postman/PostmanViewController.php:256
+msgid "%s Setup"
+msgstr "Настройки %s"
+
+#. Plugin Name of the plugin/theme
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:132
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:157
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:83
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:57
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:70
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:81
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:333
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:176
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:95
+#: Postman/Postman.php:61 Postman/PostmanViewController.php:53
+#: Postman/PostmanViewController.php:54 Postman/PostmanViewController.php:76
+#: Postman/PostmanViewController.php:184 Postman/PostmanViewController.php:256
+msgid "Postman SMTP"
+msgstr "Почтовик SMTP"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:196
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:81
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:200
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:217 Postman/Postman.php:316
+#: Postman/PostmanAdminController.php:225
+msgid "Settings"
+msgstr "Настройки"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:198
+msgid "Account"
+msgstr "Счёт"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:199
+msgid "Message"
+msgstr "Текст сообщения"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:200
+msgid "Logging"
+msgstr "Журналы"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:201
+msgid "Advanced"
+msgstr "Дополнительные"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:263
+msgid "Setup Wizard"
+msgstr "Мастер установки Почтовика"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:296
+msgctxt "Wizard Step Title"
+msgid "Import Configuration"
+msgstr "Импорт настроек"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:298
+msgctxt "Wizard Step Title"
+msgid "Import configuration from another plugin?"
+msgstr "Импорт настройки из другого плагина?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:299
+msgid "If you had a working configuration with another Plugin, the Setup Wizard can begin with those settings."
+msgstr "Если у вас есть работающие настройки другого плагина, Мастер установки может использовать их."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:301
+#: Postman/Postman-Mail/PostmanModuleTransport.php:720
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:425
+msgid "None"
+msgstr "Нет"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:312
+msgctxt "Wizard Step Title"
+msgid "Sender Details"
+msgstr "Детали отправителя"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:314
+msgctxt "Wizard Step Title"
+msgid "Who is the mail coming from?"
+msgstr "От чьего имени будут отправляться письма?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:315
+msgid "Enter the email address and name you'd like to send mail as."
+msgstr "Укажите адрес электронной почти и имя отправителя."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:316
+msgid "Please note that to prevent abuse, many email services will <em>not</em> let you send from an email address other than the one you authenticate with."
+msgstr "Обратите внимание, что для предотвращения злоупотреблений, многие почтовые службы <em>не</em> позволяют отправлять письма с адресов, не закрепленных за вами."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:317
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:49
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:112
+msgid "Email Address"
+msgstr "Адрес эклектронной почты"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:320
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:59
+msgid "Name"
+msgstr "Имя"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:325
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:143
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:331
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:542
+msgid "Outgoing Mail Server Hostname"
+msgstr "Сервер исходящей почты (хост)"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:333
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:337
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:138
+#: Postman/PostmanViewController.php:294
+msgid "Connectivity Test"
+msgstr "Проверка подключений"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:335
+msgid "How will the connection to the mail server be established?"
+msgstr "Каким образом будет устанавливаться подключение к MSA?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:336
+msgid "Your connection settings depend on what your email service provider offers, and what your WordPress host allows."
+msgstr "Параметры подключения зависит от предложения поставщика услуг электронной почты, а также от настроек вашего сайта."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:337
+msgctxt "TCP Port Test Status"
+msgid "Ready"
+msgstr "Готово"
+
+#. Translators: Where %1$s is the socket identifier and %2$s is the
+#. authentication type
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:345
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgctxt "A socket is the network term for host and port together"
+msgid "Socket"
+msgstr "Socket"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:346
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:354
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:223
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:177
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:351
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:356
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:372
+msgid "Authentication"
+msgstr "Аутентификация"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:349
+msgid "This configuration option will send your authorization credentials in the clear."
+msgstr "Этот параметр будет отправлять учетные данные авторизации в ясной."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:356
+msgid "How will you prove your identity to the mail server?"
+msgstr "Каким образом будет происходить ваша идентификация на MSA?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:363
+msgctxt "The final step of the Wizard"
+msgid "Finish"
+msgstr "Завершить"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:365
+msgctxt "Wizard Step Title"
+msgid "You're Done!"
+msgstr "Сделано!"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:367
+msgid "Click Finish to save these settings, then:"
+msgstr "Нажмите кнопку Завершить чтобы сохранить настройки, а затем:"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:369
+msgid "Grant permission with the Email Provider for Postman to send email and"
+msgstr "Предоставить разрешения для Почтовика на отправку электронной почты и"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:370
+msgid "Send yourself a Test Email to make sure everything is working!"
+msgstr "Отправить себе проверочное письмо чтобы убедиться, что все работает правильно!"
+
+#. translators: where %s is the URL to the Connectivity Test page
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:514
+msgid "Postman can't find any way to send mail on your system. Run a <a href=\"%s\">connectivity test</a>."
+msgstr "Почтовик не может обнаружить в вашей системе способ отправки почты. Запуск <a href=«%s»>проверки подключения</a>."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:33
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Transport"
+msgstr "Транспорт"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:38
+msgctxt "(i.e.) What kind is it?"
+msgid "Type"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:44
+msgctxt "The Message Sender Email Address"
+msgid "From Address"
+msgstr "Адрес"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:70
+msgid "Additional Email Addresses"
+msgstr "Дополнительные адреса электронной почты"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:75
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:220
+msgid "Reply-To"
+msgstr "Ответ на адрес"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:80
+msgid "To Recipient(s)"
+msgstr "Для получателя(ей)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:85
+msgid "Carbon Copy Recipient(s)"
+msgstr "Копии"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:90
+msgid "Blind Carbon Copy Recipient(s)"
+msgstr "Скрытые копии"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:96
+msgid "Additional Headers"
+msgstr "Дополнительные заголовки"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:101
+msgid "Custom Headers"
+msgstr "Пользовательские заголовки"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:107
+msgid "Validation"
+msgstr "Валидация"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:118
+msgid "Email Log Settings"
+msgstr "Настройки журнала событий"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:123
+msgid "Enable Logging"
+msgstr "Включить запись в журнал"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:128
+#: Postman/PostmanInputSanitizer.php:137
+msgid "Maximum Log Entries"
+msgstr "Максимальное число записей в журнале"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:133
+msgid "Maximum Transcript Size"
+msgstr "Максимальное число строк в служебных данных"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:139
+msgid "Network Settings"
+msgstr "Настройки сети"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:144
+msgctxt "Configuration Input Field"
+msgid "TCP Connection Timeout (sec)"
+msgstr "Время ожидания TCP (в секундах)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:149
+msgctxt "Configuration Input Field"
+msgid "TCP Read Timeout (sec)"
+msgstr "Время ожидания чтения TCP (в секундах)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:155
+msgctxt "Configuration Section Title"
+msgid "Miscellaneous Settings"
+msgstr "Прочие настройки"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:160
+msgctxt "Configuration Input Field"
+msgid "PHP Log Level"
+msgstr "Уровень журнала PHP"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:165
+msgctxt "Configuration Input Field"
+msgid "Delivery Mode"
+msgstr "Способ доставки"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:170
+msgctxt "This mode removes the Postman X-Mailer signature from emails"
+msgid "Stealth Mode"
+msgstr "Скрытый режим"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:175
+msgid "Temporary Directory"
+msgstr "Временный каталог"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:186
+msgid "Choose SMTP or a vendor-specific API:"
+msgstr "Выберите SMTP или API конкретного производителя:"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:189
+msgid "Configure the delivery audit log:"
+msgstr "Настройка журнала проверки доставки:"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:196
+msgid "This address, like the <b>letterhead</b> printed on a letter, identifies the sender to the recipient. Change this when you are sending on behalf of someone else, for example to use Google's <a href=\"%s\">Send Mail As</a> feature. Other plugins, especially Contact Forms, may override this field to be your visitor's address."
+msgstr "Данные в поле Message-From указывают получателю обратный адрес. Измените эти данные, если вы отправляете письма от имени другого пользователя. Темы и другие плагины, например плагины обратной связи, могут изменить данные этого поля."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:203
+msgid "Separate multiple <b>to</b>/<b>cc</b>/<b>bcc</b> recipients with commas."
+msgstr "Разделите несколько <b>получателей</b>/<b>копий</b>/ получателей<b>скрытых копий</b> запятыми."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:210
+msgid "Increase the timeouts if your host is intermittenly failing to send mail. Be careful, this also correlates to how long your user must wait if the mail server is unreachable."
+msgstr "Если ваш сервер не отправляет письма, можно увеличить время ожидания ответа. Будьте внимательны - это значение будет определять, как пользователю предстоит ждать, если почтовый сервер недоступен."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:221
+msgid "Specify custom headers (e.g. <code>X-MC-Tags: wordpress-site-A</code>), one per line. Use custom headers with caution as they can negatively affect your Spam score."
+msgstr "Укажите настраиваемые заголовки (например <code>X-MC-Tags: wordpress-site-A</code>) по одному на строке. Эти заголовки следует использовать с осторожностью, поскольку неправильное заполнение может повлиять на определение ваших писем как спам."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:228
+msgid "E-mail addresses can be validated before sending e-mail, however this may fail with some newer domains."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:254
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:276
+msgid "Prevent <b>plugins</b> and <b>themes</b> from changing this"
+msgstr "Предотвратить изменение настроек другими плагинами и темами."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:261
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:405
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:244
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:195
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:409
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:416
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:459
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:467
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:475
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:482
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:530
+msgid "Required"
+msgstr "Необходим"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:268
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:531
+msgid "This address, like the <b>return address</b> printed on an envelope, identifies the account owner to the SMTP server."
+msgstr "Адрес в поле Envelope-From идентифицирует владельца учетной записи для сервера исходящей почты."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:289
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:108
+msgid "Yes"
+msgstr "Да"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:290
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:109
+msgid "No"
+msgstr "Нет"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:300
+msgid "Change this value if you can't see the beginning of the transcript because your messages are too big."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:343
+msgid "Disable e-mail validation"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:350
+msgid "Log Level specifies the level of detail written to the <a target=\"_new\" href=\"%s\">WordPress Debug log</a> - view the log with <a target-\"_new\" href=\"%s\">Debug</a>."
+msgstr "Глубина детализации журнала событий определяет детали, которые записываются в журналы WordPress и PHP. Эти данные могут быть полезны для разработки или проверки."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:353
+msgid "Off"
+msgstr "Откл"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:354
+msgid "Trace"
+msgstr "Отслеживание"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:355
+msgid "Debug"
+msgstr "Наладить"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:356
+msgid "Info"
+msgstr "Подробно"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:358
+msgid "Error"
+msgstr "Ошибка"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:366
+msgid "Delivery mode offers options useful for developing or testing."
+msgstr "Эти данные могут быть полезны для разработки или проверки."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:369
+msgctxt "When the server is online to the public, this is \"Production\" mode"
+msgid "Log Email and Send"
+msgstr "Протоколировать и отправить"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:370
+msgid "Log Email and Delete"
+msgstr "Протоколировать и удалить"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:371
+msgid "Delete All Emails"
+msgstr "Удалить все письма"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:375
+msgid "Remove the Postman X-Header signature from messages"
+msgstr "Удалить все записи Почтовика в заголовке писем"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:378
+msgid "Lockfiles are written here to prevent users from triggering an OAuth 2.0 token refresh at the same time."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:381
+msgid "Valid"
+msgstr "Действительная"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:383
+msgid "Invalid"
+msgstr "Ключ неверен"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:105
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:109
+msgctxt "The \"please wait\" message"
+msgid "Checking.."
+msgstr "Проверка…"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:106
+msgctxt "The port is open"
+msgid "Open"
+msgstr "Открыт"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:107
+msgctxt "The port is closed"
+msgid "Closed"
+msgstr "Закрыт"
+
+#. translators: where %d is a port number
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:111
+msgid "No outbound route between this site and the Internet on Port %d."
+msgstr "Невозможно установить связь между сайтом и сетью Интернет через порт %d."
+
+#. translators: where %d is a port number and %s is a hostname
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:113
+msgid "Port %d is open, but not to %s."
+msgstr "Порт %d открыт, но не для %s."
+
+#. translators: where %d is the port number and %s is the hostname
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:115
+msgid "Port %d can be used for SMTP to %s."
+msgstr "Порт %d может быть использован для SMTP на %s."
+
+#. translators: where %d is a port number and %s is the URL for the Postman
+#. Gmail Extension
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:118
+msgid "Port %d can be used with the %s."
+msgstr ""
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:141
+msgid "This test determines which well-known ports are available for Postman to use."
+msgstr "Эта проверка покажет, какие порты доступны для использования."
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:145
+msgctxt "Button Label"
+msgid "Begin Test"
+msgstr "Начать проверку"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:162
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:152
+msgid "Status"
+msgstr "Статус"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Service Available"
+msgstr "Услуга доступна"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Server ID"
+msgstr ""
+
+#. Translators: Meaning "Not Applicable"
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:155
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:260
+msgid "n/a"
+msgstr "не определено"
+
+#. Translators: Where %s is the name of the service providing Internet
+#. connectivity test
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:160
+msgid "According to %s"
+msgstr ""
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:163
+msgid "Summary"
+msgstr "Итог"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:168
+msgid "A test with <span style=\"color:red\">\"No\"</span> Service Available indicates one or more of these issues:"
+msgstr "Недоступность портов означает наличие одной или более из этих проблем:"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:170
+msgid "Your web host has placed a firewall between this site and the Internet"
+msgstr "Владелец хостинга установил firewall между сайтом и интернетом"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:171
+msgid "The SMTP hostname is wrong or the mail server does not provide service on this port"
+msgstr "Неверно указано имя SMTP-сервера или сервер не предоставляет доступ к этому порту"
+
+#. translators: where (1) is the URL and (2) is the system
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:173
+msgid "Your <a href=\"%1$s\">%2$s configuration</a> is preventing outbound connections"
+msgstr "<a href=“%1$s”>Настройки %2$s</a> не допускают исходящие соединения"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:177
+msgid "If the issues above can not be resolved, your last option is to configure Postman to use an email account managed by your web host with an SMTP server managed by your web host."
+msgstr "Если эти проблемы невозможно устранить, вам необходимо настроить Почтовик на использование учетной записи электронной почты вашего сервера в соответствии с конфигурацией вашего хостинга."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:82
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman.php:317
+msgctxt "The log of Emails that have been delivered"
+msgid "Email Log"
+msgstr "Журнал событий"
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:95
+msgid "Error: Postman is missing a required PHP library."
+msgstr "Ошибка: Для работы плагина не хватает библиотеки РНР."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:97
+#: Postman/Postman.php:257
+msgid "Postman: wp_mail has been declared by another plugin or theme, so you won't be able to use Postman until the conflict is resolved."
+msgstr "В системе установлен плагин или тема, которая конфликтует с этой версией Postman SMTP. Плагин не будет работать до тех пор, пока вы не устраните конфликт."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:100
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:229
+msgid "Postman is in <em>non-Production</em> mode and is dumping all emails."
+msgstr "Почтовик находится в <em>не рабочем</em> режиме и игнорирует письма."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:102
+msgid "<span style=\"color:green\">Postman is configured</span> and has delivered <span style=\"color:green\">%d</span> email."
+msgid_plural "<span style=\"color:green\">Postman is configured</span> and has delivered <span style=\"color:green\">%d</span> emails."
+msgstr[0] "<span style=\"color:green\">Почтовик настроен</span> и отправил <span style=\"color:green\">%d</span> письмо."
+msgstr[1] "<span style=\"color:green\">Почтовик настроен</span> и отправил <span style=\"color:green\">%d</span> письма."
+msgstr[2] "<span style=\"color:green\">Почтовик настроен</span> и отправил <span style=\"color:green\">%d</span> писем."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:104
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:234
+msgid "Postman is <em>not</em> configured and is mimicking out-of-the-box WordPress email delivery."
+msgstr ""
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:116
+msgid "Postman is operating in per-site mode."
+msgstr "Почтовик работает в односайтовом режиме."
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:102
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:107
+#: Postman/PostmanViewController.php:295
+msgid "Diagnostic Test"
+msgstr "Диагностика"
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:104
+msgid "Are you having issues with Postman?"
+msgstr "У вас возникли проблемы с Почтовиком?"
+
+#. translators: where %1$s and %2$s are the URLs to the Troubleshooting and
+#. Support Forums on WordPress.org
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:106
+msgid "Please check the <a href=\"%1$s\">troubleshooting and error messages</a> page and the <a href=\"%2$s\">support forum</a>."
+msgstr "Пожалуйста, изучите страницу <a href=«%1$s»>устранения неполадок и сообщения об ошибках</a>, а также <a href=«%2$s»>наш форум</a>."
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:108
+msgid "If you write for help, please include the following:"
+msgstr "При обращении в службу поддержки укажите следующие данные:"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:90
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:242
+msgid "Your message was delivered (%d ms) to the SMTP server! Congratulations :)"
+msgstr "Ваше сообщение было доставлено до SMTP-сервера за %d милисекунд. Ура!"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:156
+msgid "Mail Log Entries were deleted."
+msgstr "Журнал событий удален."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:179
+msgid "Mail Log Entry was deleted."
+msgstr "Журнал событий был удален."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:204
+msgctxt "Who is this message From?"
+msgid "From"
+msgstr "От кого"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:208
+msgctxt "Who is this message To?"
+msgid "To"
+msgstr "Кому"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:212
+msgctxt "Who is this message Cc'd to?"
+msgid "Cc"
+msgstr "Копия"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:216
+msgctxt "Who is this message Bcc'd to?"
+msgid "Bcc"
+msgstr "Скрытая копия"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:222
+msgctxt "What is the date today?"
+msgid "Date"
+msgstr "Дата"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:223
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:161
+msgctxt "What is the subject of this message?"
+msgid "Subject"
+msgstr "Тема"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:226
+msgctxt "What is the unique URI of the configuration?"
+msgid "Delivery-URI"
+msgstr "Доставка URI"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:253
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:161
+msgid "This is the conversation between Postman and the mail server. It can be useful for diagnosing problems. <b>DO NOT</b> post it on-line, it may contain your account password."
+msgstr "Это обмен сообщениями между Почтовиком и сервером SMTP. Эта информация поможет установить причину проблем. НЕ ПУБЛИКУЙТЕ эти данные в открытом доступе, поскольку они содержат пароль от вашей учетной записи."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:333
+msgid "%s Email Log"
+msgstr "Журнал событий %s"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:301
+msgid "Email was successfully resent (but without attachments)"
+msgstr ""
+
+#. Translators: Where %s is an error message
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:303
+msgid "Email could not be resent. Error: %s"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:304
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:110
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:112
+msgid "Resend"
+msgstr "Отправить вновь"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:339
+msgid "This is a record of deliveries made to the mail server. It does not neccessarily indicate sucessful delivery to the recipient."
+msgstr "Это список писем, которые отправлялись с помощью Почтовика. Обратите внимание, что попадание письма в этот список не означает, что оно было доставлено адресату."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogPostType.php:37
+msgctxt "The group of Emails that have been delivered"
+msgid "Sent Emails"
+msgstr "Отправленные письма"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogPostType.php:38
+msgctxt "An Email that has been delivered"
+msgid "Sent Email"
+msgstr "Отправленное письмо"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:75
+msgid "An empty subject line can result in delivery failure."
+msgstr "незаполненное поле Тема может быть причиной неуспешной отправки почты."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:196
+msgid ".. +%d more"
+msgstr ".. +%d более"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:99
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:223
+msgctxt "Delete an item from the email log"
+msgid "Delete"
+msgstr "Удалить"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:100
+msgctxt "View an item from the email log"
+msgid "View"
+msgstr "Просмотреть"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:104
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:106
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:158
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:163
+msgid "Session Transcript"
+msgstr "Расшифровка сессии"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:163
+msgctxt "When was this email sent?"
+msgid "Delivery Time"
+msgstr "Отправлено"
+
+#. Translators: where %s indicates the relative time from now
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:332
+msgctxt "A relative time as in \"five days ago\""
+msgid "%s ago"
+msgstr "%s назад"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:338
+msgid "Sent"
+msgstr "Отправлено"
+
+#: Postman/Postman-Mail/PostmanDefaultModuleTransport.php:107
+msgid "Default"
+msgstr "Дефолт"
+
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:102
+msgid "Gmail API"
+msgstr "Gmail API"
+
+#. translators: where (1) is the secure icon and (2) is the transport name
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:152
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:135
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:79
+msgid "Postman will send mail via the <b>%1$s %2$s</b>."
+msgstr "Почтовик будет отправлять почту через <b>%1$s %2$s</b> с помощью проверки подлинности %s."
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:166
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:117
+msgid "You have configured OAuth 2.0 authentication, but have not received permission to use it."
+msgstr "Вы настроили аутентификацию OAuth 2.0, но не получили разрешение на его использование."
+
+#. translators: where variables are (1) transport name (2) host and (3) port
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:206
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:181
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:125
+msgid "Postman recommends the %1$s to host %2$s on port %3$d."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:221
+#: Postman/Postman-Mail/PostmanModuleTransport.php:713
+msgid "OAuth 2.0 (requires Client ID and Client Secret)"
+msgstr "OAuth 2.0 (требуется идентификатор клиента и секретный ключ)"
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:44
+msgid "Mandrill API"
+msgstr "Mandrill API"
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:147
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:101
+msgid "API Key can not be empty"
+msgstr "API-ключ не может быть пустым."
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:151
+#: Postman/Postman-Mail/PostmanModuleTransport.php:578
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:105
+msgid "Message From Address can not be empty"
+msgstr "Поля Envelope From и Message From не могут быть пустыми."
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:194
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:228
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:271
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:148
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:182
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:222
+msgid "API Key"
+msgstr "API-ключ"
+
+#. Translators: Where (1) is the service URL and (2) is the service name and
+#. (3) is a api key URL
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:238
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:189
+msgid "Create an account at <a href=\"%1$s\" target=\"_new\">%2$s</a> and enter <a href=\"%3$s\" target=\"_new\">an API key</a> below."
+msgstr "Создайте аккаунт на <a href=\"%1$s\" target=\"_new\">%2$s</a> и введите ниже <a href=\"%3$s\" target=\"_new\">API-ключ</a>."
+
+#. translators: where (1) is the transport type, (2) is the host, and (3) is
+#. the Authentication Type (e.g. Postman will send mail via smtp.gmail.com:465
+#. using OAuth 2.0 authentication.)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:506
+msgid "Postman will send mail via %1$s to %2$s using %3$s authentication."
+msgstr "Почтальон отправляет почту через %1$s на %2$s, используя в качестве аутентификации %3$s."
+
+#. translators: where %1$s is the Transport type (e.g. SMTP or SMTPS) and %2$s
+#. is the encryption type (e.g. SSL or TLS)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:534
+msgctxt "as in \"There is no Spoon\""
+msgid "no"
+msgstr "нет"
+
+#: Postman/Postman-Mail/PostmanModuleTransport.php:553
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:366
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:584
+msgid "Password"
+msgstr "Пароль"
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label (e.g. Warning: OAuth 2.0 authentication requires an OAuth 2.0-capable
+#. Outgoing Mail Server, Sender Email Address, Client ID, and Client Secret.)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:584
+msgid "OAuth 2.0 authentication requires a %1$s and %2$s."
+msgstr "Для аутентификации OAuth 2.0 потребуется идентификатор клиента и секретный ключ."
+
+#: Postman/Postman-Mail/PostmanModuleTransport.php:706
+msgid "Password (requires username and password)"
+msgstr "Пароль (требуется имя пользователя и пароль)"
+
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:200
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:217
+msgid "MyMail: Change the delivery method in the %s!"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:39
+msgid "SendGrid API"
+msgstr "SendGrid API"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:95
+msgid "Outgoing Mail Server Hostname and Port can not be empty."
+msgstr "Название сервера исходящей почты и номер порт не могут быть пустыми."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:99
+msgid "Envelope-From Email Address can not be empty"
+msgstr "Поля Envelope From не могут быть пустыми."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:103
+msgid "Username and password can not be empty."
+msgstr "Аутентификация по паролю (Простая / Логин / CRAM-MD5) требует имя пользователя и пароль."
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label (e.g. Warning: OAuth 2.0 authentication requires an OAuth 2.0-capable
+#. Outgoing Mail Server, Sender Email Address, Client ID, and Client Secret.)
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:109
+msgid "OAuth 2.0 authentication requires a supported OAuth 2.0-capable Outgoing Mail Server."
+msgstr "Для аутентификации OAuth 2.0 требуется сервер исходящей почты, который поддерживает этот метод."
+
+#. translators: where %1$s is a description of the transport (eg. SMTPS-SSL),
+#. %2$s is a description of the authentication (eg. Password-CRAMMD5), %3$d is
+#. the TCP port (eg. 465), %4$d is the hostname
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:269
+msgid "Postman recommends %1$s with %2$s authentication to host %4$s on port %3$d."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:326
+msgid "Transport Settings"
+msgstr "Настройки отправки"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:336
+msgid "Outgoing Mail Server Port"
+msgstr "Сервер исходящей почты (порт)"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:341
+msgid "Envelope-From Email Address"
+msgstr "Поля Envelope From"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:346
+msgctxt "Configuration Input Field"
+msgid "Security"
+msgstr "Безопасность"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:361
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:580
+msgid "Username"
+msgstr "Имя пользователя"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:402
+msgid "Configure the communication with the mail server."
+msgstr "Настройки связи с Mail Submission Agent (MSA):"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:449
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:579
+msgid "Enter the account credentials."
+msgstr "Укажите ваши учетные данные."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:457
+msgid "The Username is usually the same as the Envelope-From Email Address."
+msgstr "Имя пользователя зачастую совпадает с адресом электронной почты."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:511
+msgid "Error computing your domain root - please enter it manually"
+msgstr "Ошибка определения вашего домена - укажите его вручную"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:532
+msgid "For reliable delivery, this domain must specify an <a target=\"_new\" href=\"%s\">SPF record</a> permitting the use of the SMTP server named above."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:539
+msgctxt "Wizard Step Title"
+msgid "Which host will relay the mail?"
+msgstr "Какой хост будет ретранслировать почту?"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:540
+msgid "This is the Outgoing (SMTP) Mail Server, or Mail Submission Agent (MSA), which Postman delegates mail delivery to. This server is specific to your email account, and if you don't know what to use, ask your email service provider."
+msgstr "SMTP-сервер или MSA, через которой Почтовик будет отправлять письма. Если вы не знаете, что именно использовать, утоните у поставщика услуг электронной почты."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:541
+msgid "Note that many WordPress hosts, such as GoDaddy, Bluehost and Dreamhost, require that you use their mail accounts with their mail servers, and prevent you from using others."
+msgstr "Обратите внимание, что многие хостеры (GoDaddy, Dreamhost, Bluehost) требуют, чтобы вы использовали учетные записи на их почтовых серверах."
+
+#. Translators: Where (%s) is the name of the web host
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:547
+msgid "Your email address <b>requires</b> access to a remote SMTP server blocked by %s."
+msgstr "ваш адрес <b>требует</b> доступ к серверу SMTP, который заблокирован %s."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:548
+msgid "If you have access to cPanel, enable the Remote Mail Exchanger."
+msgstr ""
+
+#. Translators: Where (%1$s) is the SPF-info URL and (%2$s) is the name of the
+#. web host
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:551
+msgid "If you own this domain, make sure it has an <a href=\"%1$s\">SPF record authorizing %2$s</a> as a relay, or you will have delivery problems."
+msgstr "Если вы являетесь владельцем этого домена, убедитесь, что он имеет <a href=\"%1$s\">запись SPF, разрешающие %2$s</a> быть ретранслятором, иначе у вас возникнут проблемы с доставкой почты."
+
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:231
+msgid "Postman is configured."
+msgstr "Почтовик настроен."
+
+#: Postman/Postman-Mail/PostmanZendMailEngine.php:209
+msgid "Communication Error [334] - make sure the Envelope From email is the same account used to create the Client ID."
+msgstr "Ошибка связи [334] - убедитесь, что данные Envelope From совпадают с идентификатором учетной записи."
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:115
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:149
+msgctxt "Email Test Status"
+msgid "In Outbox"
+msgstr "В исходящих"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:116
+msgctxt "Email Test Status"
+msgid "Sending..."
+msgstr "Отправляется…"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:117
+msgctxt "Email Test Status"
+msgid "Success"
+msgstr "Успешно"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:118
+msgctxt "Email Test Status"
+msgid "Failed"
+msgstr "Неудачно"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:119
+msgid "Ajax Error"
+msgstr ""
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:128
+#: Postman/PostmanViewController.php:273 Postman/PostmanViewController.php:275
+msgid "Send a Test Email"
+msgstr "Отправить тестовое письмо."
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:133
+msgid "Specify the Recipient"
+msgstr "Укажите получателя"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:135
+msgid "Who is this message going to?"
+msgstr "Кому адресовано сообщение?"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:136
+msgid "This utility allows you to send an email message for testing."
+msgstr "Эта утилита отправляет сообщения электронной почты для проверки связи."
+
+#. translators: where %d is an amount of time, in seconds
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:139
+msgid "If there is a problem, Postman will give up after %d second."
+msgid_plural "If there is a problem, Postman will give up after %d seconds."
+msgstr[0] "Если возникла проблема, то Почтовик прекратит попытки через %d секунду."
+msgstr[1] "Если возникла проблема, то Почтовик прекратит попытки через %d секунды."
+msgstr[2] "Если возникла проблема, то Почтовик прекратит попытки через %d секунд."
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:140
+msgctxt "Configuration Input Field"
+msgid "Recipient Email Address"
+msgstr "Адрес получателя"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:145
+msgid "Send The Message"
+msgstr "Отправить сообщение"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:148
+msgid "Sending the message:"
+msgstr "Сообщение отправляется:"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:160
+msgid "Examine the Session Transcript if you need to."
+msgstr "Если необходимо, изучите расшифровку сессии SMTP."
+
+#. translators: where %s is the domain name of the site
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:212
+msgctxt "Test Email Subject"
+msgid "Postman SMTP Test (%s)"
+msgstr "Проверка связи от Почтовика (%s)"
+
+#. translators: where %s is the Postman plugin version number (e.g. 1.4)
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:299
+msgctxt "Test Email Tagline"
+msgid "Sent by Postman %s"
+msgstr "Отправлено Почтовиком %s"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:300
+msgid "Image source"
+msgstr "Источник изображения"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:301
+msgid "Used with permission"
+msgstr "Используется с разрешения"
+
+#: Postman/PostmanAdminController.php:111
+msgctxt "The plugin successfully saved new settings."
+msgid "Settings saved."
+msgstr "Настройки сохранены."
+
+#. Translators: where %1$s is the name of the library
+#: Postman/PostmanAdminController.php:178
+msgid "This PHP installation requires the <b>%1$s</b> library."
+msgstr "Необходимо наличие библиотеки <b>%1$s</b>."
+
+#: Postman/PostmanAdminController.php:253
+msgid "There was an error importing the data."
+msgstr ""
+
+#: Postman/PostmanAdminController.php:270
+msgid "Plugin data was removed."
+msgstr "Данные удалены."
+
+#: Postman/PostmanAdminController.php:294
+msgid "The OAuth 2.0 authorization was successful. Ready to send e-mail."
+msgstr "Авторизация по протоколу OAuth 2.0 прошла успешно. Система готова к отправке электронной почты."
+
+#: Postman/PostmanAdminController.php:296
+msgid "Your email provider did not grant Postman permission. Try again."
+msgstr "Поставщик услуг электронной почты не дает Почтовику необходимых привилегий. Попробуйте еще раз."
+
+#: Postman/PostmanAdminController.php:299
+msgid "The grant code from Google had no accompanying state and may be a forgery"
+msgstr "Этот код от Google может быть поддельным"
+
+#. translators: %s is the error message
+#: Postman/PostmanAdminController.php:303
+msgid "Error authenticating with this Client ID. [%s]"
+msgstr "Ошибка аутентификации с этим ID."
+
+#: Postman/PostmanConfigTextHelper.php:31
+msgid "Attention"
+msgstr "Внимание"
+
+#. translators: parameters available are 1=portal-url, 2=portal-name,
+#. 3=clientId-name, 4=clientSecret-name, 5=callbackUrl, 6=service-name,
+#. 7=portal-application (e.g. Open the Google Developer Console, create a
+#. Client ID for web application using the URL's displayed below, and copy the
+#. Client ID and Client Secret here.)
+#: Postman/PostmanConfigTextHelper.php:33
+msgid "Open the <a href=\"%1$s\" target=\"_new\">%2$s</a>, create <b>%7$s</b> with the values displayed below, and copy the generated %3$s and %4$s here."
+msgstr "<b style=\\\"color:red\\\">Внимание!</b> Откройте <a href=\\\"%1$s\\\" target=\\\"_new\\\">%2$s</a>, создайте <b>%7$s</b>, указав нижеприведенные значения, затем скопируйте сгенерированные %3$s и %4$s сюда."
+
+#. translators: parameters available are 1=clientId-name, 2=service-name,
+#. 3=FAQ-URL, 4=Video-URL (e.g. See How do I get a Google Client ID? in the
+#. F.A.Q.)
+#: Postman/PostmanConfigTextHelper.php:36
+msgid "See <a href=\"%3$s\" target=\"_new\">How do I get a %1$s %2$s?</a> in the F.A.Q. or <a href=\"%4$s\" target=\"_new\">watch our How-To video 📺</a>."
+msgstr "Смотри <a href=\"%3$s\" target=\"_new\">Как я могу получить %1$s %2$s?</a> в разделе F.A.Q. или <a href=\"%4$s\" target=\"_new\">в специальном видео-туре 📺</a>."
+
+#. translators: where %s is the Email Service Owner (e.g. Google, Microsoft or
+#. Yahoo)
+#: Postman/PostmanConfigTextHelper.php:54
+msgctxt "Command to initiate OAuth authentication"
+msgid "Grant permission with %s"
+msgstr "Предоставить разрешение для %s"
+
+#. Translators: This description is specific to Google
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:80
+#: Postman/PostmanConfigTextHelper.php:142
+#: Postman/PostmanConfigTextHelper.php:204
+#: Postman/PostmanConfigTextHelper.php:271
+msgctxt "Name of the OAuth 2.0 Client ID"
+msgid "Client ID"
+msgstr "Идентификатор (ID) клиента"
+
+#. Translators: This description is specific to Google
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:84
+#: Postman/PostmanConfigTextHelper.php:146
+#: Postman/PostmanConfigTextHelper.php:208
+#: Postman/PostmanConfigTextHelper.php:274
+msgctxt "Name of the OAuth 2.0 Client Secret"
+msgid "Client Secret"
+msgstr "Секретный ключ (Client Secret)"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:88
+msgctxt "Name of the Application Callback URI"
+msgid "Authorized redirect URI"
+msgstr "Перенаправление для авторизации"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:92
+msgctxt "Name of the Application Callback Domain"
+msgid "Authorized JavaScript origins"
+msgstr "JavaScript для авторизации"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:96
+msgctxt "Name of the email service owner"
+msgid "Google"
+msgstr "Google"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:100
+msgctxt "Name of the email service"
+msgid "Gmail"
+msgstr "Gmail"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:104
+msgctxt "Description of the email service OAuth 2.0 Application"
+msgid "a Client ID for web application"
+msgstr "Client ID для вэб-приложения"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:108
+msgctxt "Name of the email service portal"
+msgid "Google Developers Console Gmail Wizard"
+msgstr "Мастер консоли разработчиков Gmail"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:150
+msgctxt "Name of the Application Callback URI"
+msgid "Redirect URL"
+msgstr "Перенаправление"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:154
+msgctxt "Name of the Application Callback Domain"
+msgid "Root Domain"
+msgstr "Корневой домен"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:158
+msgctxt "Name of the email service owner"
+msgid "Microsoft"
+msgstr "Microsoft"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:162
+msgctxt "Name of the email service"
+msgid "Outlook.com"
+msgstr "Outlook.com"
+
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:166
+#: Postman/PostmanConfigTextHelper.php:228
+msgctxt "Description of the email service OAuth 2.0 Application"
+msgid "an Application"
+msgstr "приложение"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:170
+msgctxt "Name of the email service portal"
+msgid "Microsoft Developer Center"
+msgstr "Центр разработчиков Microsoft"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:212
+msgctxt "Name of the Application Callback URI"
+msgid "Home Page URL"
+msgstr "Ссылка на главную страницу"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:216
+msgctxt "Name of the Application Callback Domain"
+msgid "Callback Domain"
+msgstr "Callback Domain"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:220
+msgctxt "Name of the email service owner"
+msgid "Yahoo"
+msgstr "Yahoo"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:224
+msgctxt "Name of the email service"
+msgid "Yahoo Mail"
+msgstr "Yahoo Mail"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:232
+msgctxt "Name of the email service portal"
+msgid "Yahoo Developer Network"
+msgstr "Сеть разработчиков Yahoo"
+
+#: Postman/PostmanConfigTextHelper.php:261
+msgid "Enter an Outgoing Mail Server with OAuth2 capabilities."
+msgstr "Укажите сервер исходящей почты с возможностями OAuth2."
+
+#: Postman/PostmanConfigTextHelper.php:277
+msgctxt "Name of the Application Callback URI"
+msgid "Redirect URI"
+msgstr "Перенаправление"
+
+#: Postman/PostmanConfigTextHelper.php:280
+msgctxt "Name of the Application Callback Domain"
+msgid "Website Domain"
+msgstr "Домен сайта"
+
+#: Postman/PostmanConfigTextHelper.php:304
+msgid "Grant OAuth 2.0 Permission"
+msgstr "Привилегии OAuth 2.0"
+
+#: Postman/PostmanInputSanitizer.php:137
+msgid "must be greater than 0"
+msgstr "должно быть больше 0"
+
+#: Postman/PostmanViewController.php:112
+msgid "An unexpected error occurred"
+msgstr ""
+
+#: Postman/PostmanViewController.php:113
+msgid "Unexpected PHP messages corrupted the Ajax response"
+msgstr "Неожиданные сообщения PHP повередили ответ Ajax"
+
+#: Postman/PostmanViewController.php:118
+msgctxt "Press this button to Finish this task"
+msgid "Finish"
+msgstr "Завершить"
+
+#: Postman/PostmanViewController.php:119
+msgctxt "Press this button to go to the next step"
+msgid "Next"
+msgstr "Далее"
+
+#: Postman/PostmanViewController.php:120
+msgctxt "Press this button to go to the previous step"
+msgid "Previous"
+msgstr "Назад"
+
+#: Postman/PostmanViewController.php:132
+msgid "Postman is unable to run. Email delivery is being handled by WordPress (or another plugin)."
+msgstr "Postman не работает. Письма доставляются WordPress (или другим плагином)."
+
+#. translators: where %d is the number of emails delivered
+#: Postman/PostmanViewController.php:147
+msgid "Postman has delivered <span style=\"color:green\">%d</span> email."
+msgid_plural "Postman has delivered <span style=\"color:green\">%d</span> emails."
+msgstr[0] "Почтовик доставил<span style=\\\"color:green\\\">%d</span> письмо."
+msgstr[1] "Почтовик доставил<span style=\\\"color:green\\\">%d</span> письма."
+msgstr[2] "Почтовик доставил<span style=\\\"color:green\\\">%d</span> писем."
+
+#: Postman/PostmanViewController.php:150
+msgid "The last %d email attempts are recorded <a href=\"%s\">in the log</a>."
+msgstr ""
+
+#: Postman/PostmanViewController.php:155
+msgid "Thank-you for choosing Postman!"
+msgstr "Спасибо, что выбрали Почтовик!"
+
+#. translators: where %s is the URL of the Setup Wizard
+#: Postman/PostmanViewController.php:157
+msgid "Let's get started! All users are strongly encouraged to <a href=\"%s\">run the Setup Wizard</a>."
+msgstr "Давайте начнем! Настоятельно рекомендуется <a href=«%s»>использовать мастер настройки</a>."
+
+#: Postman/PostmanViewController.php:158
+msgid "Alternately, <a href=\"%s\">manually configure</a> your own settings and/or modify advanced options."
+msgstr ""
+
+#. translators: where %s is the URL to the WordPress.org review and ratings
+#. page
+#: Postman/PostmanViewController.php:163
+msgid "Please consider <a href=\"%s\">leaving a review</a> to help spread the word! :D"
+msgstr "Пожалуйста, <a href=«%s»>оставте ваш отзыв</a>."
+
+#: Postman/PostmanViewController.php:165
+msgid "Postman needs translators! Please take a moment to <a href=\"%s\">translate a few sentences on-line</a>"
+msgstr ""
+
+#: Postman/PostmanViewController.php:167
+msgid "<b style=\"background-color:yellow\">New for v1.7!</style></b> Send mail with the Mandrill or SendGrid APIs."
+msgstr ""
+
+#: Postman/PostmanViewController.php:191
+msgctxt "Return to main menu link"
+msgid "Back To Main Menu"
+msgstr "Вернуться в главное меню"
+
+#: Postman/PostmanViewController.php:198 Postman/PostmanViewController.php:233
+#: Postman/PostmanViewController.php:284
+msgid "Import"
+msgstr "Импортировать"
+
+#: Postman/PostmanViewController.php:199 Postman/PostmanViewController.php:285
+msgid "Export"
+msgstr "Выгрузить"
+
+#: Postman/PostmanViewController.php:200 Postman/PostmanViewController.php:286
+msgid "Reset Plugin"
+msgstr ""
+
+#: Postman/PostmanViewController.php:206
+msgid "Copy this data into another instance of Postman to duplicate the configuration."
+msgstr ""
+
+#: Postman/PostmanViewController.php:225
+msgid "Paste data from another instance of Postman here to duplicate the configuration."
+msgstr ""
+
+#: Postman/PostmanViewController.php:228
+msgid "Using the same OAuth 2.0 Client ID and Client Secret from this site at the same time as another site will cause failures."
+msgstr ""
+
+#: Postman/PostmanViewController.php:241
+msgid "This will purge all of Postman's settings, including account credentials and the email log."
+msgstr "Это приведет к удалению всех данных Почтовика, включая информацию о серверах, логинах, паролях и методах аутентификации."
+
+#: Postman/PostmanViewController.php:241
+msgid "Are you sure?"
+msgstr "Вы уверены?"
+
+#: Postman/PostmanViewController.php:261
+msgid "Configuration"
+msgstr "Настройки"
+
+#: Postman/PostmanViewController.php:262
+msgid "Start the Wizard"
+msgstr "Запустить мастер настройки"
+
+#: Postman/PostmanViewController.php:263
+msgid "Show All Settings"
+msgstr "Показать дополнительные настройки"
+
+#: Postman/PostmanViewController.php:266
+msgctxt "Main Menu"
+msgid "Actions"
+msgstr "Действия"
+
+#: Postman/PostmanViewController.php:292
+msgctxt "Main Menu"
+msgid "Troubleshooting"
+msgstr "Поиск неисправностей"
+
+#: Postman/PostmanViewController.php:296
+msgid "Online Support"
+msgstr "Онлайн поддержка"
+
+#. Plugin URI of the plugin/theme
+msgid "https://wordpress.org/plugins/postman-smtp/"
+msgstr "https://wordpress.org/plugins/postman-smtp/"
+
+#. Description of the plugin/theme
+msgid "Email not reliable? Postman is the first and only WordPress SMTP plugin to implement OAuth 2.0 for Gmail, Hotmail and Yahoo Mail. Setup is a breeze with the Configuration Wizard and integrated Port Tester. Enjoy worry-free delivery even if your password changes!"
+msgstr "Проблемы с электронной почтой? Почтовик - первый плагин для WordPress для отправки почти с использованием OAuth 2.0 для Gmail, Hotmail и Yahoo Mail. Установка плагина очень проста."
+
+#. Author of the plugin/theme
+msgid "Jason Hendriks"
+msgstr "Jason Хендрикс"
+
+#. Author URI of the plugin/theme
+msgid "http://www.codingmonkey.ca"
+msgstr "http://www.codingmonkey.ca"
+
+#~ msgid "Change the delivery method on the %s!"
+#~ msgstr "Измените способ доставки на %s!"
+
+#~ msgid "<a href=\"%s\">Configure</a> the plugin."
+#~ msgstr "<a href=«%s»>Настройка</a> плагина."
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Test Your Setup"
+#~ msgstr "Проверка настроек"
+
+#~ msgctxt "eg. TCP Port 25"
+#~ msgid "Port"
+#~ msgstr "Порт"
+
+#~ msgctxt "as in \"There is no Authentication\""
+#~ msgid "no"
+#~ msgstr "нет"
+
+#~ msgctxt "Log Level"
+#~ msgid "Off"
+#~ msgstr "Выкл"
+
+#~ msgctxt "Log Level"
+#~ msgid "Trace"
+#~ msgstr "Отслеживание"
+
+#~ msgctxt "Log Level"
+#~ msgid "Debug"
+#~ msgstr "Отладка"
+
+#~ msgctxt "Log Level"
+#~ msgid "Info"
+#~ msgstr "Сведения"
+
+#~ msgctxt "Log Level"
+#~ msgid "Warning"
+#~ msgstr "Предупреждение"
+
+#~ msgctxt "Log Level"
+#~ msgid "Error"
+#~ msgstr "Ошибка"
+
+#~ msgid "Port %d can be used to send email with the %s."
+#~ msgstr "Порт %d может использоваться для отправки почты через <b>%s</b>."
+
+#~ msgid "Warning: An empty subject line can result in delivery failure."
+#~ msgstr "незаполненное поле Тема может быть причиной неуспешной отправки почты."
+
+#~ msgid "This address, like the return address printed on an envelope, identifies the account owner to the SMTP server."
+#~ msgstr "Адрес в поле Envelope-From идентифицирует владельца учетной записи для сервера исходящей почты."
+
+#~ msgid "Warning: connected to %1$s instead of %2$s."
+#~ msgstr "Предупреждение: подключение к %1$s вместо %2$s."
+
+#~ msgid "Warning: This configuration option will send your authorization credentials in the clear."
+#~ msgstr "Внимание: Этот параметр будет отправлять учетные данные авторизации в ясной."
+
+#~ msgid "The Envelope-From Email Address, like the return address printed on an envelope, identifies the account owner to the SMTP server."
+#~ msgstr "This address, like the <b>return address</b> printed on an envelope, identifies the account owner to the SMTP server."
+
+#~ msgctxt "View the transcript of an item from the email log"
+#~ msgid "Transcript"
+#~ msgstr "Служебные данные"
+
+#~ msgid "<b>Error</b>: Your email address <b>requires</b> access to a remote SMTP server blocked by GoDaddy. Use a different e-mail address."
+#~ msgstr "<b>Ошибка</b>: ваш адрес <b>требует</b> доступ к серверу SMTP, который заблокирован GoDaddy. Используйте другой адрес электронной почты."
+
+#~ msgid "<b>Warning</b>: If you own this domain, make sure it has an <a href=\"%s\">SPF record authorizing GoDaddy</a> as a relay, or you will have delivery problems. If you have access to cPanel, enable the Remote Mail Exchanger."
+#~ msgstr "<b>Внимание</b>: Если вы являетесь владельцем этого домена, убедитесь, что он имеет <a href=«%s»>запись SPF, разрешающие GoDaddy</a> быть ретранслятором, иначе у вас возникнут проблемы с доставкой почты."
+
+#~ msgid "Enter your credentials. Your username is often your email address."
+#~ msgstr "Укажите ваши учетные данные. Имя пользователя зачастую совпадает с адресом электронной почты."
+
+#~ msgid "<b style=\"color:red\">Attention!</b> Open the <a href=\"%1$s\" target=\"_new\">%2$s</a>, create <b>%7$s</b> with the values displayed below, and copy the generated %3$s and %4$s here."
+#~ msgstr "<b style=\"color:red\">Внимание!</b> Откройте <a href=\"%1$s\" target=\"_new\">%2$s</a>, создайте <b>%7$s</b>, указав нижеприведенные значения, затем скопируйте сгенерированные %3$s и %4$s сюда."
+
+#~ msgid "Maximum Number of Log Entries"
+#~ msgstr "Максимальное число записей в журнале"
+
+#~ msgid "New for v1.6! Email Log"
+#~ msgstr "Новое в версии 1.6! Журнал событий"
+
+#~ msgid "Enable to save a copy of all your emails. Great for troubleshooting or as a backup for messages that get lost. <b>Access the Email Log in the Tools menu.</b>"
+#~ msgstr "Включить сохранение копий ваших писем. Отлично подходит для поиска неисправностей или восстановления писем, которые вы утеряете. <b>Доступ к Журналу событий через меню «Инструменты».</b>"
+
+#~ msgctxt "The configuration page of the plugin"
+#~ msgid "Settings"
+#~ msgstr "Настройки"
+
+#~ msgid "Postman is <em>not</em> handling email delivery."
+#~ msgstr "Почтовик <em>не занимается</em> доставкой почты."
+
+#~ msgctxt "As in type used: None"
+#~ msgid "None"
+#~ msgstr "Ничего"
+
+#~ msgctxt "Who do we reply to?"
+#~ msgid "Reply-To"
+#~ msgstr "Ответ на адрес"
+
+#~ msgid "This is the conversation between Postman and your SMTP server. It can be useful for diagnosing problems. <b>DO NOT</b> post it on-line, it may contain your account password."
+#~ msgstr "Это обмен сообщениями между Почтовиком и сервером SMTP. Эта информация поможет установить причину проблем. НЕ ПУБЛИКУЙТЕ эти данные в открытом доступе, поскольку они содержат пароль от вашей учетной записи."
+
+#~ msgid "Postman Email Log"
+#~ msgstr "Журнал Почтовика"
+
+#~ msgid "This is a record of deliveries made to the Mail Submission Agent (MSA). It does not neccessarily indicate sucessful delivery to the recipient."
+#~ msgstr "Это список писем, которые отправлялись с помощью Почтовика. Обратите внимание, что попадание письма в этот список не означает, что оно было доставлено адресату."
+
+#~ msgctxt "Attempt to resend this email"
+#~ msgid "Resend"
+#~ msgstr "Отправить вновь"
+
+#~ msgctxt "Was sending this email successful or not?"
+#~ msgid "Status"
+#~ msgstr "Состояние"
+
+#~ msgctxt "Transport Name"
+#~ msgid "Gmail API"
+#~ msgstr "Gmail API"
+
+#~ msgctxt "Authentication Type is OAuth 2.0"
+#~ msgid "OAuth 2.0"
+#~ msgstr "OAuth 2.0"
+
+#~ msgid "Postman will send mail via the <b>🔐Gmail API</b> using %s authentication."
+#~ msgstr "Почтовик будет отправлять почту через <b>API 🔐Gmail</b> с помощью проверки подлинности %s."
+
+#~ msgid "OAuth 2.0 authentication requires a Client ID and Client Secret."
+#~ msgstr "Для аутентификации OAuth 2.0 потребуется идентификатор клиента и секретный ключ."
+
+#~ msgid "Envelope From Address and Message From Address can not be empty."
+#~ msgstr "Поля Envelope From и Message From не могут быть пустыми."
+
+#~ msgid "Postman recommends Gmail API configuration on port %d"
+#~ msgstr "Почтовик рекомендует настроить Gmail API на порт %d"
+
+#~ msgctxt "Transport Name"
+#~ msgid "SMTP"
+#~ msgstr "SMTP"
+
+#~ msgctxt "As in type used: CRAM-MD5"
+#~ msgid "CRAM-MD5"
+#~ msgstr "CRAM-MD5"
+
+#~ msgctxt "As in type used: Login"
+#~ msgid "Login"
+#~ msgstr "Логин"
+
+#~ msgctxt "As in type used: Plain"
+#~ msgid "Plain"
+#~ msgstr "Простой"
+
+#~ msgctxt "This authentication type is password-based"
+#~ msgid "Password (%s)"
+#~ msgstr "Пароль (%s)"
+
+#~ msgid "Password authentication (Plain/Login/CRAM-MD5) requires a username and password."
+#~ msgstr "Аутентификация по паролю (Простая / Логин / CRAM-MD5) требует имя пользователя и пароль."
+
+#~ msgid "OAuth 2.0 authentication requires a supported OAuth 2.0-capable Outgoing Mail Server, %1$s, and %2$s."
+#~ msgstr "Для аутентификации OAuth 2.0 требуется сервер исходящей почты, который поддерживает этот метод."
+
+#~ msgid "Your recommended settings are %1$s with %2$s authentication to host %4$s on port %3$d."
+#~ msgstr "Рекомендуемые для вас настройки: %1$s с аутентификацией %2$s для сервера %4$s и порта %3$d."
+
+#~ msgid "The selected transport '%s' is unavailable. The external plugin was probably deactivated."
+#~ msgstr "Выбранный метод '%s' недоступен. Внешний плагин отключен."
+
+#~ msgid "WordPress is still handling email delivery, <em>not</em> Postman."
+#~ msgstr "Отправка почты все еще осуществляется внутренними средствами WordPress, а <em>не</em> Почтовиком."
+
+#~ msgctxt "The Transport is the method for sending mail, SMTP or API"
+#~ msgid "Transport"
+#~ msgstr "Метод отправки"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Transport Settings"
+#~ msgstr "Настройки отправки"
+
+#~ msgctxt "Authentication proves the user's identity"
+#~ msgid "Authentication"
+#~ msgstr "Аутентификация"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Username"
+#~ msgstr "Имя пользователя"
+
+#~ msgctxt "The Envelope Sender Email Address"
+#~ msgid "Envelope From Address"
+#~ msgstr "Адрес Envelope-From"
+
+#~ msgctxt "The Message Sender Email Address"
+#~ msgid "Message From Address"
+#~ msgstr "Адрес Message-From"
+
+#~ msgctxt "The email address to address replies to"
+#~ msgid "Reply-To"
+#~ msgstr "Reply-To"
+
+#~ msgid "Maximum Number of Lines in a Transcript"
+#~ msgstr "Максимальное число строк в служебных данных"
+
+#~ msgid "Configure the communication with the Mail Submission Agent (MSA):"
+#~ msgstr "Настройки связи с Mail Submission Agent (MSA):"
+
+#~ msgid "Enter the account username (email address) and password:"
+#~ msgstr "Укажите имя пользователя (адрес электронной почты) и пароль:"
+
+#~ msgid "This will purge all of Postman's settings, including SMTP server info, username/password and OAuth Credentials."
+#~ msgstr "Это приведет к удалению всех данных Почтовика, включая информацию о серверах, логинах, паролях и методах аутентификации."
+
+#~ msgid "The <b>Envelope</b> From address identifies the account owner to the SMTP server."
+#~ msgstr "Адрес в поле Envelope-From идентифицирует владельца учетной записи для сервера исходящей почты."
+
+#~ msgid "The <b>Message</b> From address identifies the sender to the recipient. Change this when you are sending on behalf of someone else, for example to use Google's <a href=\"%s\">Send Mail As</a> feature. Themes and other plugins, especially Contact Forms, are permitted to modify this field."
+#~ msgstr "Данные в поле Message-From указывают получателю обратный адрес. Измените эти данные, если вы отправляете письма от имени другого пользователя. Темы и другие плагины, например плагины обратной связи, могут изменить данные этого поля."
+
+#~ msgid "Log Level specifies the level of detail written to the WordPress and PHP logfiles. Delivery mode offers options useful for developing or testing."
+#~ msgstr "Глубина детализации журнала событий определяет детали, которые записываются в журналы WordPress и PHP. Эти данные могут быть полезны для разработки или проверки."
+
+#~ msgctxt "Command to initiate OAuth authentication"
+#~ msgid "Grant OAuth Permission"
+#~ msgstr "Привилегии OAuth"
+
+#~ msgctxt "Page Title"
+#~ msgid "Postman Setup"
+#~ msgstr "Настройки Почтовика"
+
+#~ msgid "Welcome"
+#~ msgstr "Добро пожаловать"
+
+#~ msgid "This is the Settings page for Postman, an SMTP mailer that delivers email from your WordPress site to the Internet. From here you can configure the plugin, and access testing and diagnostic tools."
+#~ msgstr "Это страница настроек Почтовика - системы, которая позволит вам отправлять письма через SMTP с вашего сайта. Здесь вы можете настроить плагин, проверить его работу и изучить отладочную информацию."
+
+#~ msgid "Having trouble? You can ask for help on our <a href=\"%1$s\" target=\"_blank\">Support Forum</a>. To get the help you need quickly, please post the <a href=\"%s\">Diagnostic Data</a> with your question. You can also check the <a href=\"%3$s\">FAQ</a> and <a href=\"%4$s\">Error Messages</a> pages for answers."
+#~ msgstr "Возникли проблемы? Вы можете обратиться за помощью на нашем <a href=«%1$s» target=«_blank»>форуме</a> . Чтобы получить необходимую вам помощь быстро, пожалуйста, приведите <a href=«%s»>данные диагностики</a>. Вы также можете изучить <a href=«%3$s»>Справку</a> и <a href=«%4$s»>сообщения об ошибках</a>."
+
+#~ msgid "The Email Test will send an email to you. If the test fails, the full SMTP session transcript is available to you. <br/><br/>Receiving a single test email does not indicate perfect configuration. Some services may dump your email into a black-hole or mark it as Spam if you:"
+#~ msgstr "Вам будет отправлено проверочное письмо. Если проверка не будет пройдена, вы сможете изучить журнал SMTP-сессии. <br/><br/>Получение одного тестового письма не означает, что конфигурация настроена идеально. Некоторые почтовые сервисы могут воспринимать письма с этого сайта как спам, если вы:"
+
+#~ msgid "Violate an SPF record"
+#~ msgstr "Нарушили запись SPF"
+
+#~ msgid "You must use the SMTP server (MSA) approved by your domain to deliver your mail. (eg.) a @gmail.com sender address requires that authentication and delivery always be through smtp.gmail.com."
+#~ msgstr "Вы должны использовать SMTP-сервер (MSA) домена, чтобы доставить почту. Например, нужно указывать адрес имя_пользователя@Gmail.com для того, чтобы отправлять почту через smtp.gmail.com."
+
+#~ msgctxt "Forge as in a forgery (fake) is made"
+#~ msgid "Forge the From Address"
+#~ msgstr "Формирование адреса отправителя"
+
+#~ msgid "<a href=\"%s\">Spoofing</a>, when it results in an SPF violation, will get your message binned. Use your own address as the sender (From:) in <em>every</em> email.</li>"
+#~ msgstr "<a href=«%s»>Подменять</a>, когда это приводит к нарушению доставки. Использовать свой собственный адрес в качестве отправителя (от:) в <em>каждом</em> сообщении электронной почты."
+
+#~ msgid "Consolidates details of your setup to aid the author in debugging problems, including: operating system details, WordPress configuration, Postman configuration, network connectivity and your domain's primary MX and SPF records. Your private authorization credentials are masked."
+#~ msgstr "Объединяет сведения о ваших настройках для помощи в решении проблем, в том числе: операционная система, конфигурация WordPress, Почтовика, подключение к сети, записи MX и SPF вашего домена. Данные авторизации скрываются."
+
+#~ msgid "The Connectivity Test will report this site's ability to reach a mail server, and interrogate the mail server for it's capabilities."
+#~ msgstr "Поверка подключения выявит способность сайта достигнуть почтового сервера и получить от него ответ."
+
+#~ msgctxt "Is it possible to create network connections to the Internet?"
+#~ msgid "Outbound to Internet"
+#~ msgstr "Исходящие подключении к интернету"
+
+#~ msgid "This tests the ability to make outbound connections from your site to the Internet in general. If the result is Closed, then there is a communication problem with the Internet, like a firewall.</li>"
+#~ msgstr "С помощью этого теста будет проверена возможность исходящего соединения вашего сайта с интернетом. Если исходящая связь не будет установлена, необходимо проверить возможные причины, например, firewall."
+
+#~ msgctxt "What service is available?"
+#~ msgid "Service Available"
+#~ msgstr "Услуга доступна"
+
+#~ msgid "This shows the service found for a particular host/port. Possible successful results are <b>SMTP</b>, <b>SMTPS</b> (secure) and <b>HTTPS</b> (secure). If the result is No and the hostname you entered is correct, there was a communication problem with the mail server, like a firewall.</li>"
+#~ msgstr "Здесь указаны протоколы для конкретного хоста/порта. Успешные результаты - <b>HTTPS</b>, <b>SMTP</b> и <b>SMTPS</b>. Если результат другой и имя хоста не совпадает, значит существует проблема связи с почтовым сервером, например firewall."
+
+#~ msgctxt "What is this server's ID?"
+#~ msgid "ID"
+#~ msgstr "ID"
+
+#~ msgid "Some hosts redirect mail traffic to their own mail server, breaking authentication and SPF verification. This is revealed by an incorrect server identity.</li>"
+#~ msgstr "Некоторые хосты перенаправляют письма на свой собственный сервер, нарушая тем самым аутентификацию и проверку SPF.</li>"
+
+#~ msgid "STARTTLS"
+#~ msgstr "STARTTLS"
+
+#~ msgid "This indicates whether the server supports protocol-level security. Either STARTTLS, SMTPS or HTTPS is required for secure transmission of your credentials.</li>"
+#~ msgstr "Здесь показано, какой уровень безопасности поддерживается протоколом. Для корректной передачи данных необходимы STARTTLS, SMTPS или HTTPS.</li>"
+
+#~ msgctxt "Short for Authentication"
+#~ msgid "Auth"
+#~ msgstr "Auth"
+
+#~ msgid "This indicates the authenication methods that the server supports. All are password-based, except for OAuth 2.0, which is token-based.</li>"
+#~ msgstr "Здесь показано, какой метод аутентификации поддерживает сервер. Все они основаны на проверке пароля за исключением OAuth 2.0, которому необходима проверка на основе секретных ключей.</li>"
+
+#~ msgctxt "A testing tool which determines connectivity to the Internet"
+#~ msgid "Connectivity Test"
+#~ msgstr "Проверка подключений"
+
+#~ msgid "The server returned an unexpected result:"
+#~ msgstr "Сервер вернул неожиданный результат:"
+
+#~ msgid "Port %d can be used to send <b>Gmail</b> with the Gmail API."
+#~ msgstr "Порт %d может использоваться для отправки почты через <b>Gmail</b>."
+
+#~ msgid "Postman has delivered <span style=\"color:green\">%d</span> email for you."
+#~ msgid_plural "Postman has delivered <span style=\"color:green\">%d</span> emails for you."
+#~ msgstr[0] "Почтовик доставил<span style=\"color:green\">%d</span> письмо."
+#~ msgstr[1] "Почтовик доставил<span style=\"color:green\">%d</span> письма."
+#~ msgstr[2] "Почтовик доставил<span style=\"color:green\">%d</span> писем."
+
+#~ msgid "View the log"
+#~ msgstr "Просмотреть журнал"
+
+#~ msgctxt "Page Title"
+#~ msgid "Manual Configuration"
+#~ msgstr "Ручная настройка"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Account"
+#~ msgstr "Учетная запись"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Message"
+#~ msgstr "Сообщение"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Logging"
+#~ msgstr "Протоколирование"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Advanced"
+#~ msgstr "Расширенные настройки"
+
+#~ msgid "Delete plugin settings"
+#~ msgstr "Удалить настройки"
+
+#~ msgid "This will purge all of Postman's settings, including account credentials and the mail log."
+#~ msgstr "В результате будут безвозвратно удалены все настройки Почтовика, включая настройки серверов и журнал."
+
+#~ msgctxt "Button Label"
+#~ msgid "Delete All Data"
+#~ msgstr "Удалить все данные"
+
+#~ msgctxt "The port number"
+#~ msgid "Port %s"
+#~ msgstr "Порт %s"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "None"
+#~ msgstr "Нет"
+
+#~ msgid "* Port 443 tests against googleapis.com, not the SMTP hostname you enter."
+#~ msgstr "* Порт 443 не прошел проверку googleapis.com, не указано имя хоста SMTP."
+
+#~ msgid "A port with Service Available <span style=\"color:red\">\"No\"</span> indicates one or more of these issues:"
+#~ msgstr "Недоступность портов означает наличие одной или более из этих проблем:"
+
+#~ msgid "Your <a href=\"%s\">PHP configuration</a> is preventing outbound connections"
+#~ msgstr "<a href=«%s»>Настройки PHP</a> не допускают исходящие соединения"
+
+#~ msgid "Your <a href=\"%s\">WordPress configuration</a> is preventing outbound connections"
+#~ msgstr "<a href=«%s»>Настройки WordPress</a> не допускают исходящие соединения"
+
+#~ msgctxt "Adjust the Postman settings by hand"
+#~ msgid "configure manually"
+#~ msgstr "настройка вручную"
+
+#~ msgctxt "Page Title"
+#~ msgid "Postman Setup Wizard"
+#~ msgstr "Мастер установки Почтовика"
+
+#~ msgid "<b>Warning</b>: If you own this domain, make sure it has an <a href=\"%s\">SPF record authorizing GoDaddy</a> as a relay, or you will have delivery problems."
+#~ msgstr "<b>Внимание</b>: Если вы являетесь владельцем этого домена, убедитесь, что он имеет <a href=«%s»>запись SPF, разрешающие GoDaddy</a> быть ретранслятором, иначе у вас возникнут проблемы с доставкой почты."
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "How will the connection to the MSA be established?"
+#~ msgstr "Каким образом будет устанавливаться подключение к MSA?"
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "How will you prove your identity to the MSA?"
+#~ msgstr "Каким образом будет происходить ваша идентификация на MSA?"
+
+#~ msgid "Examine the SMTP Session Transcript if you need to."
+#~ msgstr "Если необходимо, изучите расшифровку сессии SMTP."
+
+#~ msgid "SMTP Session Transcript"
+#~ msgstr "Расшифровка сессии SMTP."
diff --git a/Postman/languages/postman-smtp-tr_TR.mo b/Postman/languages/postman-smtp-tr_TR.mo
new file mode 100644
index 0000000..c4d5b12
--- /dev/null
+++ b/Postman/languages/postman-smtp-tr_TR.mo
Binary files differ
diff --git a/Postman/languages/postman-smtp-tr_TR.po b/Postman/languages/postman-smtp-tr_TR.po
new file mode 100644
index 0000000..bd8ca6d
--- /dev/null
+++ b/Postman/languages/postman-smtp-tr_TR.po
@@ -0,0 +1,2381 @@
+# Copyright (C) 2015 Postman SMTP
+# This file is distributed under the same license as the Postman SMTP package.
+msgid ""
+msgstr ""
+"Project-Id-Version: Postman SMTP 1.5.7\n"
+"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/postman-smtp\n"
+"POT-Creation-Date: 2015-11-08 17:12-0500\n"
+"PO-Revision-Date: 2015-11-09 01:27-0500\n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"Language: tr_TR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Generator: Poedit 1.8.6\n"
+"X-Poedit-SourceCharset: UTF-8\n"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:94
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:348
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:357
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:99
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:116
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:75
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:545
+#: Postman/PostmanViewController.php:227
+msgid "Warning"
+msgstr "Uyarı"
+
+#. translators: where %s is the name of the SMTP server
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:96
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:116
+msgid "connected to %1$s instead of %2$s."
+msgstr "%1$s %2$s yerine bağlı."
+
+#. translators: where %d is a port number
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:98
+msgid "You are about to configure OAuth 2.0 with an IP address instead of a domain name. This is not permitted. Either assign a real domain name to your site or add a fake one in your local host file."
+msgstr "OAuth 2.0 için alanadı yerine IP adresi kullanmaya çalışıyorsunuz. Bu mümkün değildir. Gerçek bir alanadı belirtebilir ya da yalnızca localhost'unuz için gerçek olmayan bir alanadı kullanmanız gerekmektedir."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:132
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:157
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:83
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:81
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:95
+#: Postman/PostmanViewController.php:53 Postman/PostmanViewController.php:76
+#: Postman/PostmanViewController.php:184 Postman/PostmanViewController.php:256
+msgid "%s Setup"
+msgstr "%s Ayarları"
+
+#. Plugin Name of the plugin/theme
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:132
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:157
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:83
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:57
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:70
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:81
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:333
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:176
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:95
+#: Postman/Postman.php:61 Postman/PostmanViewController.php:53
+#: Postman/PostmanViewController.php:54 Postman/PostmanViewController.php:76
+#: Postman/PostmanViewController.php:184 Postman/PostmanViewController.php:256
+msgid "Postman SMTP"
+msgstr "Postman SMTP"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:196
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:81
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:200
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:217 Postman/Postman.php:316
+#: Postman/PostmanAdminController.php:225
+msgid "Settings"
+msgstr "Seçenekler"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:198
+msgid "Account"
+msgstr "Hesap"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:199
+msgid "Message"
+msgstr "Mesaj"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:200
+msgid "Logging"
+msgstr "Kayıt"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:201
+msgid "Advanced"
+msgstr "Geliştirilmiş"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:263
+msgid "Setup Wizard"
+msgstr "Kurulum Sihirbazı"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:296
+msgctxt "Wizard Step Title"
+msgid "Import Configuration"
+msgstr "Ayarları İçeri Aktar"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:298
+msgctxt "Wizard Step Title"
+msgid "Import configuration from another plugin?"
+msgstr "Ayarları diğer eklentiden aktar?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:299
+msgid "If you had a working configuration with another Plugin, the Setup Wizard can begin with those settings."
+msgstr "Diğer bir çalışan eklentiniz varsa, Kurulum Sihirbazı tüm ayarlarınızı içeri aktaracaktır."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:301
+#: Postman/Postman-Mail/PostmanModuleTransport.php:720
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:425
+msgid "None"
+msgstr "Hiçbiri"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:312
+msgctxt "Wizard Step Title"
+msgid "Sender Details"
+msgstr "Gönderen Bilgisi"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:314
+msgctxt "Wizard Step Title"
+msgid "Who is the mail coming from?"
+msgstr "Email kimden gidecek?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:315
+msgid "Enter the email address and name you'd like to send mail as."
+msgstr "Lütfen gönderen email adresi ve ismi belirtiniz."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:316
+msgid "Please note that to prevent abuse, many email services will <em>not</em> let you send from an email address other than the one you authenticate with."
+msgstr "Lütfen şunu da not edin, birçok email servisi <em>asla</em> kendi emailizden farklı bir email adına gönderim yapmanıza izin vermez."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:317
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:49
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:112
+msgid "Email Address"
+msgstr "E-Mail Adresi."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:320
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:59
+msgid "Name"
+msgstr "Adı"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:325
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:143
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:331
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:542
+msgid "Outgoing Mail Server Hostname"
+msgstr "SMTP Sunucusu"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:333
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:337
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:138
+#: Postman/PostmanViewController.php:294
+msgid "Connectivity Test"
+msgstr "Bağlantı Testi"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:335
+msgid "How will the connection to the mail server be established?"
+msgstr "Giden Posta Sunucusu'na nasıl bağlanılacak?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:336
+msgid "Your connection settings depend on what your email service provider offers, and what your WordPress host allows."
+msgstr "Bağlantı ayarlarınızı ne e-posta servis sağlayıcınıza sunar ve ne senin WordPress ana verir bağlıdır."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:337
+msgctxt "TCP Port Test Status"
+msgid "Ready"
+msgstr "Hazır"
+
+#. Translators: Where %1$s is the socket identifier and %2$s is the
+#. authentication type
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:345
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgctxt "A socket is the network term for host and port together"
+msgid "Socket"
+msgstr "Soket"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:346
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:354
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:223
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:177
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:351
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:356
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:372
+msgid "Authentication"
+msgstr "Kimlik Doğrulama Ayarları"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:349
+msgid "This configuration option will send your authorization credentials in the clear."
+msgstr "Bu yapılandırma seçeneği açık yetkilendirme kimlik bilgileri gönderir."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:356
+msgid "How will you prove your identity to the mail server?"
+msgstr "Kendinizi Giden Posta Sunucusu'na nasıl tanıtacaksınız?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:363
+msgctxt "The final step of the Wizard"
+msgid "Finish"
+msgstr "Tamamla"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:365
+msgctxt "Wizard Step Title"
+msgid "You're Done!"
+msgstr "Harika!"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:367
+msgid "Click Finish to save these settings, then:"
+msgstr "Tamamla butonuna basarak tüm ayarlarınızı kaydedin, sonra:"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:369
+msgid "Grant permission with the Email Provider for Postman to send email and"
+msgstr "Email hizmeti aldığınız servisten Postman'a yetki verinki email gönderebilsin."
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:370
+msgid "Send yourself a Test Email to make sure everything is working!"
+msgstr "Ve unutmadan kendinize Test Email'i göndererek herşeyin yolunda olup olmadığına bakın!"
+
+#. translators: where %s is the URL to the Connectivity Test page
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:514
+msgid "Postman can't find any way to send mail on your system. Run a <a href=\"%s\">connectivity test</a>."
+msgstr "Postman sisteminizden email gönderemiyor. Lütfen <a href=\"%s\">buraya tıklayarak</a> bağlantı testi yapın."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:33
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Transport"
+msgstr "İçe Aktarma"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:38
+msgctxt "(i.e.) What kind is it?"
+msgid "Type"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:44
+msgctxt "The Message Sender Email Address"
+msgid "From Address"
+msgstr "İleti Gönderen Adresi"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:70
+msgid "Additional Email Addresses"
+msgstr "Ek Email Adresleri"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:75
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:220
+msgid "Reply-To"
+msgstr "Yanıt"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:80
+msgid "To Recipient(s)"
+msgstr "Alıcı(lar)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:85
+msgid "Carbon Copy Recipient(s)"
+msgstr "Karbon Kopya Alıcı(lar)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:90
+msgid "Blind Carbon Copy Recipient(s)"
+msgstr "Gizli Alıcı(lar)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:96
+msgid "Additional Headers"
+msgstr "Ek Üstbilgiler"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:101
+msgid "Custom Headers"
+msgstr "Özel Üstbilgiler"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:107
+msgid "Validation"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:118
+msgid "Email Log Settings"
+msgstr "E-posta günlüğü ayarları"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:123
+msgid "Enable Logging"
+msgstr "Etkinleştir"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:128
+#: Postman/PostmanInputSanitizer.php:137
+msgid "Maximum Log Entries"
+msgstr "Günlük girişleri sınırlama"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:133
+msgid "Maximum Transcript Size"
+msgstr "Transkript boyutu (Toplam satır)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:139
+msgid "Network Settings"
+msgstr "Network Ayarları"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:144
+msgctxt "Configuration Input Field"
+msgid "TCP Connection Timeout (sec)"
+msgstr "TCP Bağlantı Zaman Aşımı (sn)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:149
+msgctxt "Configuration Input Field"
+msgid "TCP Read Timeout (sec)"
+msgstr "TCP Tanımlama Zaman Aşımı (sn)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:155
+msgctxt "Configuration Section Title"
+msgid "Miscellaneous Settings"
+msgstr "Diğer Ayarlar"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:160
+msgctxt "Configuration Input Field"
+msgid "PHP Log Level"
+msgstr "Hata Kaydı"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:165
+msgctxt "Configuration Input Field"
+msgid "Delivery Mode"
+msgstr "Teslimat modu"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:170
+msgctxt "This mode removes the Postman X-Mailer signature from emails"
+msgid "Stealth Mode"
+msgstr "Gizli modu"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:175
+msgid "Temporary Directory"
+msgstr "Geçici Dizin"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:186
+msgid "Choose SMTP or a vendor-specific API:"
+msgstr "SMTP veya satıcıya özel API seçin:"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:189
+msgid "Configure the delivery audit log:"
+msgstr "Teslimat denetim günlüğünü yapılandırın:"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:196
+msgid "This address, like the <b>letterhead</b> printed on a letter, identifies the sender to the recipient. Change this when you are sending on behalf of someone else, for example to use Google's <a href=\"%s\">Send Mail As</a> feature. Other plugins, especially Contact Forms, may override this field to be your visitor's address."
+msgstr "Bir mektup basılmış <b>Antetli Kağıt</b> gibi bu adresi alıcı gönderene tanımlar. Örneğin Google’nın <a href=“%s”>Posta gönder</a> özelliğini kullanmak için başkasının adına gönderirken bu değiştirin. Diğer eklentileri, özellikle ilgili kişi formlarınızı, ziyaretçinizin adres olarak bu alan geçersiz kılabilir."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:203
+msgid "Separate multiple <b>to</b>/<b>cc</b>/<b>bcc</b> recipients with commas."
+msgstr "Virgül ile ayırarak <b>to</b>/<b>cc</b>/<b>bcc</b> bölümlerine fazla kişi ekleyebilirsiniz."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:210
+msgid "Increase the timeouts if your host is intermittenly failing to send mail. Be careful, this also correlates to how long your user must wait if the mail server is unreachable."
+msgstr "Eğer sunucunuz email gönderiminde kesintiler yaşıyorsa bu limiti arttırınız. Dikkat, bu durum aynı zamanda sunucunuzun kullanıcı bekletme süresiyle bağlantılıdır."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:221
+msgid "Specify custom headers (e.g. <code>X-MC-Tags: wordpress-site-A</code>), one per line. Use custom headers with caution as they can negatively affect your Spam score."
+msgstr "Her satıra bir adet olmak koşuluyla özel üstbilgi girebilirsiniz (örn: <code>X-MC-Tags: wordpress-site-A</code>). Özel üstbilgi girmeniz bazen Spam gönderim skorunuzu olumsuz yönde etkileyebilir."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:228
+msgid "E-mail addresses can be validated before sending e-mail, however this may fail with some newer domains."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:254
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:276
+msgid "Prevent <b>plugins</b> and <b>themes</b> from changing this"
+msgstr "<b>Eklentileri</b> ve <b>temaları</b> bu değiştirmelerini engelleme"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:261
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:405
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:244
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:195
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:409
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:416
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:459
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:467
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:475
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:482
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:530
+msgid "Required"
+msgstr "Zorunlu"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:268
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:531
+msgid "This address, like the <b>return address</b> printed on an envelope, identifies the account owner to the SMTP server."
+msgstr "Bir zarfı yazdırabilirsiniz <b>İade adresi</b> gibi bu adresi SMTP sunucusuna hesap sahibi tanımlar."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:289
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:108
+msgid "Yes"
+msgstr "Evet"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:290
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:109
+msgid "No"
+msgstr "Hayır"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:300
+msgid "Change this value if you can't see the beginning of the transcript because your messages are too big."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:343
+msgid "Disable e-mail validation"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:350
+msgid "Log Level specifies the level of detail written to the <a target=\"_new\" href=\"%s\">WordPress Debug log</a> - view the log with <a target-\"_new\" href=\"%s\">Debug</a>."
+msgstr "Günlük düzeyini WordPress günlüğüne ayrıntı düzeyini belirtir - <a href=“%s”>Debug</a>ile günlüğünü görüntüleme. Teslimat modu geliştirme veya sınama için yararlı seçenekleri sunar."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:353
+msgid "Off"
+msgstr "Kapalı"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:354
+msgid "Trace"
+msgstr "Trace"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:355
+msgid "Debug"
+msgstr "Hata Çözümle"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:356
+msgid "Info"
+msgstr "Bilgilendirme"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:358
+msgid "Error"
+msgstr "Hata"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:366
+msgid "Delivery mode offers options useful for developing or testing."
+msgstr "Teslimat modu geliştirme veya sınama için yararlı seçenekleri sunar."
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:369
+msgctxt "When the server is online to the public, this is \"Production\" mode"
+msgid "Log Email and Send"
+msgstr "Üretim"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:370
+msgid "Log Email and Delete"
+msgstr "E-posta giriş, o zaman dökümü"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:371
+msgid "Delete All Emails"
+msgstr "Herşeyi Sıfırla"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:375
+msgid "Remove the Postman X-Header signature from messages"
+msgstr "Postacı X-üstbilgi imzası gelen iletileri kaldırma"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:378
+msgid "Lockfiles are written here to prevent users from triggering an OAuth 2.0 token refresh at the same time."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:381
+msgid "Valid"
+msgstr "Geçerli"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:383
+msgid "Invalid"
+msgstr "Geçersiz"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:105
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:109
+msgctxt "The \"please wait\" message"
+msgid "Checking.."
+msgstr "Kontrol ediliyor.."
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:106
+msgctxt "The port is open"
+msgid "Open"
+msgstr "Açık"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:107
+msgctxt "The port is closed"
+msgid "Closed"
+msgstr "Kapalı"
+
+#. translators: where %d is a port number
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:111
+msgid "No outbound route between this site and the Internet on Port %d."
+msgstr "Bu site ve Internet üzerinde %d bağlantı arasında giden bir yol yok."
+
+#. translators: where %d is a port number and %s is a hostname
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:113
+msgid "Port %d is open, but not to %s."
+msgstr "%D bağlantı noktası açık, ancak değil %s."
+
+#. translators: where %d is the port number and %s is the hostname
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:115
+msgid "Port %d can be used for SMTP to %s."
+msgstr "%d portunu kullanarak %s sunucusundan SMTP için gönderim yapabilirsiniz."
+
+#. translators: where %d is a port number and %s is the URL for the Postman
+#. Gmail Extension
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:118
+msgid "Port %d can be used with the %s."
+msgstr "%s ile %d portunu kullanarak email ile gönderim yapabilirsiniz."
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:141
+msgid "This test determines which well-known ports are available for Postman to use."
+msgstr "Bu test Postman'ın kullanabileceği kullanımı yaygın portları taramak içindir."
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:145
+msgctxt "Button Label"
+msgid "Begin Test"
+msgstr "Testi Başlat"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:162
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:152
+msgid "Status"
+msgstr "Durum"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Service Available"
+msgstr "Servis Kullanılabilir"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Server ID"
+msgstr ""
+
+#. Translators: Meaning "Not Applicable"
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:155
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:260
+msgid "n/a"
+msgstr "yok"
+
+#. Translators: Where %s is the name of the service providing Internet
+#. connectivity test
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:160
+msgid "According to %s"
+msgstr ""
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:163
+msgid "Summary"
+msgstr "Özet"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:168
+msgid "A test with <span style=\"color:red\">\"No\"</span> Service Available indicates one or more of these issues:"
+msgstr "<span style=\\\"color:red\\\">Kapalı</span> port:"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:170
+msgid "Your web host has placed a firewall between this site and the Internet"
+msgstr "Hosting hesabınızda site ile SMTP server arasında güvenlik duvarı var."
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:171
+msgid "The SMTP hostname is wrong or the mail server does not provide service on this port"
+msgstr "SMTP ana bilgisayar adı yanlış ya da posta sunucusunun bu bağlantı noktasında hizmet sağlamaz"
+
+#. translators: where (1) is the URL and (2) is the system
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:173
+msgid "Your <a href=\"%1$s\">%2$s configuration</a> is preventing outbound connections"
+msgstr "<a href=\"%1$s\">%2$s ayarlarınız</a> dışarıya giden bağlantıları önlüyor (allow-url-fopen)"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:177
+msgid "If the issues above can not be resolved, your last option is to configure Postman to use an email account managed by your web host with an SMTP server managed by your web host."
+msgstr "Yukarıdaki sorunlar çözülmüş değil, son seçenek postacı web barındırıcınız tarafından yönetilen bir SMTP sunucusu ile web barındırıcınız tarafından yönetilen bir e-posta hesabı kullanacak şekilde yapılandırmak olduğunu."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:82
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman.php:317
+msgctxt "The log of Emails that have been delivered"
+msgid "Email Log"
+msgstr "E-posta günlüğü"
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:95
+msgid "Error: Postman is missing a required PHP library."
+msgstr "Postman gerek duyduğu bir PHP kütüphanesine ulaşamıyor."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:97
+#: Postman/Postman.php:257
+msgid "Postman: wp_mail has been declared by another plugin or theme, so you won't be able to use Postman until the conflict is resolved."
+msgstr "Postman başarıyla kuruldu, fakat şu anda farklı bir mail servisi kullanıyorsunuz. Diğer eklentiyi deaktif ediniz."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:100
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:229
+msgid "Postman is in <em>non-Production</em> mode and is dumping all emails."
+msgstr "Postacı <em>Olmayan üretim</em> modunda ise ve tüm e-postalar atıyor."
+
+# turkish doesn’t has s letter on calculations ;)
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:102
+msgid "<span style=\"color:green\">Postman is configured</span> and has delivered <span style=\"color:green\">%d</span> email."
+msgid_plural "<span style=\"color:green\">Postman is configured</span> and has delivered <span style=\"color:green\">%d</span> emails."
+msgstr[0] "<span style=\"color:green\">Postman ayarlandı</span> ve <span style=\"color:green\">%d</span> adet emaili başarıyla gönderdi."
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:104
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:234
+msgid "Postman is <em>not</em> configured and is mimicking out-of-the-box WordPress email delivery."
+msgstr ""
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:116
+msgid "Postman is operating in per-site mode."
+msgstr "Postacı site başına modunda çalışıyor."
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:102
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:107
+#: Postman/PostmanViewController.php:295
+msgid "Diagnostic Test"
+msgstr "Tanılama bilgisi"
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:104
+msgid "Are you having issues with Postman?"
+msgstr "Postman ile alakalı sorununuz var mı?"
+
+#. translators: where %1$s and %2$s are the URLs to the Troubleshooting and
+#. Support Forums on WordPress.org
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:106
+msgid "Please check the <a href=\"%1$s\">troubleshooting and error messages</a> page and the <a href=\"%2$s\">support forum</a>."
+msgstr "Lütfen <a href=\"%1$s\">hata ve sorun çözme sayfası</a> ya da <a href=\"%2$s\">destek forumlarına</a> göz atın."
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:108
+msgid "If you write for help, please include the following:"
+msgstr "Yardım almak için lütfen tanı bilgisini de foruma yazınız:"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:90
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:242
+msgid "Your message was delivered (%d ms) to the SMTP server! Congratulations :)"
+msgstr "Mesajınız SMTP sunucusuna gönderildi (%d ms)! Tebrikler :)"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:156
+msgid "Mail Log Entries were deleted."
+msgstr "Posta günlük girdileri silindi."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:179
+msgid "Mail Log Entry was deleted."
+msgstr "Posta günlük girdisi silindi."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:204
+msgctxt "Who is this message From?"
+msgid "From"
+msgstr "Şundan"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:208
+msgctxt "Who is this message To?"
+msgid "To"
+msgstr "Şuraya"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:212
+msgctxt "Who is this message Cc'd to?"
+msgid "Cc"
+msgstr "Cc"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:216
+msgctxt "Who is this message Bcc'd to?"
+msgid "Bcc"
+msgstr "Bcc"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:222
+msgctxt "What is the date today?"
+msgid "Date"
+msgstr "Tarih"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:223
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:161
+msgctxt "What is the subject of this message?"
+msgid "Subject"
+msgstr "Konu"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:226
+msgctxt "What is the unique URI of the configuration?"
+msgid "Delivery-URI"
+msgstr "Teslimat-URI"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:253
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:161
+msgid "This is the conversation between Postman and the mail server. It can be useful for diagnosing problems. <b>DO NOT</b> post it on-line, it may contain your account password."
+msgstr "SMTP sunucunuz ve Postman arasındaki diyaloğu buradan takip edebilirsiniz. Bu sorunların teşhisinde size yol gösterebilir. <b>DİKKAT</b> bunu herhangi biriyle paylaşmayın. İçerisinde size özel gizli anahtar (şifre) bilgileri olabilir."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:333
+msgid "%s Email Log"
+msgstr "%s Email Logu"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:301
+msgid "Email was successfully resent (but without attachments)"
+msgstr ""
+
+#. Translators: Where %s is an error message
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:303
+msgid "Email could not be resent. Error: %s"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:304
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:110
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:112
+msgid "Resend"
+msgstr "Yeniden gönder"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:339
+msgid "This is a record of deliveries made to the mail server. It does not neccessarily indicate sucessful delivery to the recipient."
+msgstr "Bu posta teslimi Aracısı (MSA) yapılan teslim girişimleri kaydıdır. Sucessful alıcıya teslim için mutlaka göstermez."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogPostType.php:37
+msgctxt "The group of Emails that have been delivered"
+msgid "Sent Emails"
+msgstr "Gönderilen e-posta"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogPostType.php:38
+msgctxt "An Email that has been delivered"
+msgid "Sent Email"
+msgstr "Gönderilen e-posta"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:75
+msgid "An empty subject line can result in delivery failure."
+msgstr "Bir boş konu satırı teslimat başarısızlıkla sonuçlanabilir."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:196
+msgid ".. +%d more"
+msgstr ".. ve %d daha fazla."
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:99
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:223
+msgctxt "Delete an item from the email log"
+msgid "Delete"
+msgstr "Sil"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:100
+msgctxt "View an item from the email log"
+msgid "View"
+msgstr "Görüntüle"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:104
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:106
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:158
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:163
+msgid "Session Transcript"
+msgstr "Durum Detayı"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:163
+msgctxt "When was this email sent?"
+msgid "Delivery Time"
+msgstr "Teslimat"
+
+#. Translators: where %s indicates the relative time from now
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:332
+msgctxt "A relative time as in \"five days ago\""
+msgid "%s ago"
+msgstr "%s önce"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:338
+msgid "Sent"
+msgstr "Gönderildi"
+
+#: Postman/Postman-Mail/PostmanDefaultModuleTransport.php:107
+msgid "Default"
+msgstr "Öntanımlı"
+
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:102
+msgid "Gmail API"
+msgstr "Gmail API"
+
+#. translators: where (1) is the secure icon and (2) is the transport name
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:152
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:135
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:79
+msgid "Postman will send mail via the <b>%1$s %2$s</b>."
+msgstr "Postman emailleri <b>%1$s %2$s</b>'ın kimlik doğrulama metodu ile gönderecek."
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:166
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:117
+msgid "You have configured OAuth 2.0 authentication, but have not received permission to use it."
+msgstr "OAuth 2.0 konfigürasyonunu yaptınız ancak henüz gönderim için yetkilendirilmediniz."
+
+#. translators: where variables are (1) transport name (2) host and (3) port
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:206
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:181
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:125
+msgid "Postman recommends the %1$s to host %2$s on port %3$d."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:221
+#: Postman/Postman-Mail/PostmanModuleTransport.php:713
+msgid "OAuth 2.0 (requires Client ID and Client Secret)"
+msgstr "OAuth 2.0 (müşteri kimliği ve istemci gizli gerektirir)"
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:44
+msgid "Mandrill API"
+msgstr "Mandrill API"
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:147
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:101
+msgid "API Key can not be empty"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:151
+#: Postman/Postman-Mail/PostmanModuleTransport.php:578
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:105
+msgid "Message From Address can not be empty"
+msgstr "Zarf gönderici adresi ve ileti gönderen adresi boş olamaz."
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:194
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:228
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:271
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:148
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:182
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:222
+msgid "API Key"
+msgstr ""
+
+#. Translators: Where (1) is the service URL and (2) is the service name and
+#. (3) is a api key URL
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:238
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:189
+msgid "Create an account at <a href=\"%1$s\" target=\"_new\">%2$s</a> and enter <a href=\"%3$s\" target=\"_new\">an API key</a> below."
+msgstr ""
+
+#. translators: where (1) is the transport type, (2) is the host, and (3) is
+#. the Authentication Type (e.g. Postman will send mail via smtp.gmail.com:465
+#. using OAuth 2.0 authentication.)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:506
+msgid "Postman will send mail via %1$s to %2$s using %3$s authentication."
+msgstr "Postman %1$s adresinden %2$s adresine %3$s metoduyla email gönderecek."
+
+#. translators: where %1$s is the Transport type (e.g. SMTP or SMTPS) and %2$s
+#. is the encryption type (e.g. SSL or TLS)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:534
+msgctxt "as in \"There is no Spoon\""
+msgid "no"
+msgstr "hayir"
+
+#: Postman/Postman-Mail/PostmanModuleTransport.php:553
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:366
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:584
+msgid "Password"
+msgstr "Şifre"
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label (e.g. Warning: OAuth 2.0 authentication requires an OAuth 2.0-capable
+#. Outgoing Mail Server, Sender Email Address, Client ID, and Client Secret.)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:584
+msgid "OAuth 2.0 authentication requires a %1$s and %2$s."
+msgstr "OAuth 2.0 metodu işlemi %1$s ve %2$s (şifre) istemekte."
+
+#: Postman/Postman-Mail/PostmanModuleTransport.php:706
+msgid "Password (requires username and password)"
+msgstr "Şifre (kullanıcı adı ve parola gerekli)"
+
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:200
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:217
+msgid "MyMail: Change the delivery method in the %s!"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:39
+msgid "SendGrid API"
+msgstr "SendGrid API"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:95
+msgid "Outgoing Mail Server Hostname and Port can not be empty."
+msgstr "Giden Mail Sunucusu (SMTP) ve Port belirtmeniz gerekmektedir, boş bırakılamaz."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:99
+msgid "Envelope-From Email Address can not be empty"
+msgstr "Zarf gönderici adresi ve ileti gönderen adresi boş olamaz."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:103
+msgid "Username and password can not be empty."
+msgstr "Şifre metodu (Plain/Login/CRAMMD5) için kullanıcı adı ve şifre belirtmeniz gerekmektedir."
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label (e.g. Warning: OAuth 2.0 authentication requires an OAuth 2.0-capable
+#. Outgoing Mail Server, Sender Email Address, Client ID, and Client Secret.)
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:109
+msgid "OAuth 2.0 authentication requires a supported OAuth 2.0-capable Outgoing Mail Server."
+msgstr "OAuth 2.0 metodu ile gönderim için OAuth 2.0 destekleyen bir Giden Mail Sunucusu."
+
+#. translators: where %1$s is a description of the transport (eg. SMTPS-SSL),
+#. %2$s is a description of the authentication (eg. Password-CRAMMD5), %3$d is
+#. the TCP port (eg. 465), %4$d is the hostname
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:269
+msgid "Postman recommends %1$s with %2$s authentication to host %4$s on port %3$d."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:326
+msgid "Transport Settings"
+msgstr "İçe Aktarım Ayarları"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:336
+msgid "Outgoing Mail Server Port"
+msgstr "SMTP Portu"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:341
+msgid "Envelope-From Email Address"
+msgstr "Zarf Gönderici Adresi"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:346
+msgctxt "Configuration Input Field"
+msgid "Security"
+msgstr "Güvenlik"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:361
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:580
+msgid "Username"
+msgstr "Kullanıcı Adı"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:402
+msgid "Configure the communication with the mail server."
+msgstr "Kimlik doğrulama metodunu seçip SMTP sunucu ve port bilgilerini giriniz:"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:449
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:579
+msgid "Enter the account credentials."
+msgstr "Email göndermek için kullanıcı adınızı (ya da email adresi) ve şifrenizi giriniz"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:457
+msgid "The Username is usually the same as the Envelope-From Email Address."
+msgstr "Kullanıcı adınız genellikle email adresinizdir."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:511
+msgid "Error computing your domain root - please enter it manually"
+msgstr "Domain adından dizin alınırken hata oluştu - lütfen el ile giriniz"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:532
+msgid "For reliable delivery, this domain must specify an <a target=\"_new\" href=\"%s\">SPF record</a> permitting the use of the SMTP server named above."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:539
+msgctxt "Wizard Step Title"
+msgid "Which host will relay the mail?"
+msgstr "Hangi sunucudan gönderim yapılacak?"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:540
+msgid "This is the Outgoing (SMTP) Mail Server, or Mail Submission Agent (MSA), which Postman delegates mail delivery to. This server is specific to your email account, and if you don't know what to use, ask your email service provider."
+msgstr "Giden (SMTP) posta sunucusu veya posta gönderme aracı (MSA), hangi postacı delege teslimatı için posta bu. Bu sunucu e-posta hesabınıza özgü ve kullanımı ne bilmiyorsanız, e-posta servis sağlayıcınıza sorun."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:541
+msgid "Note that many WordPress hosts, such as GoDaddy, Bluehost and Dreamhost, require that you use their mail accounts with their mail servers, and prevent you from using others."
+msgstr "Not GoDaddy, Bluehost ve Dreamhost, gibi birçok WordPress ana posta hesaplarını kendi posta sunucularıyla kullanmak ve başkalarının kullanmasını engellemek gerekir."
+
+#. Translators: Where (%s) is the name of the web host
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:547
+msgid "Your email address <b>requires</b> access to a remote SMTP server blocked by %s."
+msgstr "%s tarafından engellenen bir uzak SMTP sunucusunun e-posta adresi <b>gerektirir</b> erişim."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:548
+msgid "If you have access to cPanel, enable the Remote Mail Exchanger."
+msgstr ""
+
+#. Translators: Where (%1$s) is the SPF-info URL and (%2$s) is the name of the
+#. web host
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:551
+msgid "If you own this domain, make sure it has an <a href=\"%1$s\">SPF record authorizing %2$s</a> as a relay, or you will have delivery problems."
+msgstr "Bu etki alanına sahipseniz, geçişi olarak bir <a href=\\\"%1$s\\\">SPF kaydı %2$s yetkisi</a> var. veya teslim sorunları olacaktır emin olun."
+
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:231
+msgid "Postman is configured."
+msgstr "Postman ayarlandı."
+
+#: Postman/Postman-Mail/PostmanZendMailEngine.php:209
+msgid "Communication Error [334] - make sure the Envelope From email is the same account used to create the Client ID."
+msgstr "Bağlantı Hatası [334] - gönderen email adresinin OAuth 2.0 email gönderimine izin verdiğinden emin olun."
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:115
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:149
+msgctxt "Email Test Status"
+msgid "In Outbox"
+msgstr "Gönderilecek"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:116
+msgctxt "Email Test Status"
+msgid "Sending..."
+msgstr "Gönderiliyor..."
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:117
+msgctxt "Email Test Status"
+msgid "Success"
+msgstr "Başarılı"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:118
+msgctxt "Email Test Status"
+msgid "Failed"
+msgstr "Gönderilemedi"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:119
+msgid "Ajax Error"
+msgstr "Ajax hata"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:128
+#: Postman/PostmanViewController.php:273 Postman/PostmanViewController.php:275
+msgid "Send a Test Email"
+msgstr "Test Emaili Gönder"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:133
+msgid "Specify the Recipient"
+msgstr "Alıcı Belirtin"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:135
+msgid "Who is this message going to?"
+msgstr "Bu email kime gidiyor?"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:136
+msgid "This utility allows you to send an email message for testing."
+msgstr "Bu araç sayesinde test emaili gönderebilirsiniz."
+
+# turkish doesn’t has s letter on calculations ;)
+#. translators: where %d is an amount of time, in seconds
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:139
+msgid "If there is a problem, Postman will give up after %d second."
+msgid_plural "If there is a problem, Postman will give up after %d seconds."
+msgstr[0] "Eğer bir problem varsa Postman %d saniye sonra vazgeçecek."
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:140
+msgctxt "Configuration Input Field"
+msgid "Recipient Email Address"
+msgstr "Alıcı Email Adresi"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:145
+msgid "Send The Message"
+msgstr "Gönder"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:148
+msgid "Sending the message:"
+msgstr "Email gönderiliyor:"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:160
+msgid "Examine the Session Transcript if you need to."
+msgstr "İhtiyacınız olması durumunda SMTP Durum Detayını inceleyebilirsiniz."
+
+#. translators: where %s is the domain name of the site
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:212
+msgctxt "Test Email Subject"
+msgid "Postman SMTP Test (%s)"
+msgstr "Postman SMTP Test (%s)"
+
+#. translators: where %s is the Postman plugin version number (e.g. 1.4)
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:299
+msgctxt "Test Email Tagline"
+msgid "Sent by Postman %s"
+msgstr "Postman %s tarafından gönderildi"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:300
+msgid "Image source"
+msgstr "Resim kaynağı"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:301
+msgid "Used with permission"
+msgstr "Izni ile kullanılır"
+
+#: Postman/PostmanAdminController.php:111
+msgctxt "The plugin successfully saved new settings."
+msgid "Settings saved."
+msgstr "Ayarlar kaydedildi."
+
+#. Translators: where %1$s is the name of the library
+#: Postman/PostmanAdminController.php:178
+msgid "This PHP installation requires the <b>%1$s</b> library."
+msgstr "Postman gerek duyduğu bir PHP kütüphanesine ulaşamıyor <b>%1$s</b>."
+
+#: Postman/PostmanAdminController.php:253
+msgid "There was an error importing the data."
+msgstr ""
+
+#: Postman/PostmanAdminController.php:270
+msgid "Plugin data was removed."
+msgstr "Tüm ayarlar sıfırlandı."
+
+#: Postman/PostmanAdminController.php:294
+msgid "The OAuth 2.0 authorization was successful. Ready to send e-mail."
+msgstr "OAuth 2.0 yetkilendirmesi başarılı oldu. E-posta göndermek için hazır."
+
+#: Postman/PostmanAdminController.php:296
+msgid "Your email provider did not grant Postman permission. Try again."
+msgstr "Email servis sağlayınız Postman'a izin vermiyor. Tekrar deneyin."
+
+#: Postman/PostmanAdminController.php:299
+msgid "The grant code from Google had no accompanying state and may be a forgery"
+msgstr "Google onay kodu hatalı ya da ortada bir yanlış anlaşılma var."
+
+#. translators: %s is the error message
+#: Postman/PostmanAdminController.php:303
+msgid "Error authenticating with this Client ID. [%s]"
+msgstr "Hata bu istemci kimliği doğrulama [%s]"
+
+#: Postman/PostmanConfigTextHelper.php:31
+msgid "Attention"
+msgstr "Dikkat"
+
+#. translators: parameters available are 1=portal-url, 2=portal-name,
+#. 3=clientId-name, 4=clientSecret-name, 5=callbackUrl, 6=service-name,
+#. 7=portal-application (e.g. Open the Google Developer Console, create a
+#. Client ID for web application using the URL's displayed below, and copy the
+#. Client ID and Client Secret here.)
+#: Postman/PostmanConfigTextHelper.php:33
+msgid "Open the <a href=\"%1$s\" target=\"_new\">%2$s</a>, create <b>%7$s</b> with the values displayed below, and copy the generated %3$s and %4$s here."
+msgstr "<a href=\"%1$s\" target=\"_new\">%2$s</a>'u açarak <b>%7$s</b> adımından web uygulaması için hesap oluşturduktan sonra %3$s ve %4$s anahtar kodunuzu buraya yapıştırın."
+
+#. translators: parameters available are 1=clientId-name, 2=service-name,
+#. 3=FAQ-URL, 4=Video-URL (e.g. See How do I get a Google Client ID? in the
+#. F.A.Q.)
+#: Postman/PostmanConfigTextHelper.php:36
+msgid "See <a href=\"%3$s\" target=\"_new\">How do I get a %1$s %2$s?</a> in the F.A.Q. or <a href=\"%4$s\" target=\"_new\">watch our How-To video 📺</a>."
+msgstr "Bkz: <a href=\"%3$s\" target=\"_new\">%1$s %2$s nasıl gidebilirim?</a> SSS veya <a href=\"%4$s\" target=\"_new\">bizim nasıl yapılır video 📺 izlemek</a>."
+
+#. translators: where %s is the Email Service Owner (e.g. Google, Microsoft or
+#. Yahoo)
+#: Postman/PostmanConfigTextHelper.php:54
+msgctxt "Command to initiate OAuth authentication"
+msgid "Grant permission with %s"
+msgstr "%s tarafından izin iste"
+
+# no need to translate - its generic
+#. Translators: This description is specific to Google
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:80
+#: Postman/PostmanConfigTextHelper.php:142
+#: Postman/PostmanConfigTextHelper.php:204
+#: Postman/PostmanConfigTextHelper.php:271
+msgctxt "Name of the OAuth 2.0 Client ID"
+msgid "Client ID"
+msgstr "Client ID"
+
+# no need to translate - its generic
+#. Translators: This description is specific to Google
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:84
+#: Postman/PostmanConfigTextHelper.php:146
+#: Postman/PostmanConfigTextHelper.php:208
+#: Postman/PostmanConfigTextHelper.php:274
+msgctxt "Name of the OAuth 2.0 Client Secret"
+msgid "Client Secret"
+msgstr "Client Secret"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:88
+msgctxt "Name of the Application Callback URI"
+msgid "Authorized redirect URI"
+msgstr "Redirect URI"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:92
+msgctxt "Name of the Application Callback Domain"
+msgid "Authorized JavaScript origins"
+msgstr "Javascript Origins"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:96
+msgctxt "Name of the email service owner"
+msgid "Google"
+msgstr "Google"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:100
+msgctxt "Name of the email service"
+msgid "Gmail"
+msgstr "Gmail"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:104
+msgctxt "Description of the email service OAuth 2.0 Application"
+msgid "a Client ID for web application"
+msgstr "web uygulaması için Client ID"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:108
+msgctxt "Name of the email service portal"
+msgid "Google Developers Console Gmail Wizard"
+msgstr "Google Developer Konsolu"
+
+# no need to translate - its generic
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:150
+msgctxt "Name of the Application Callback URI"
+msgid "Redirect URL"
+msgstr "Redirect URL"
+
+# no need to translate - its generic
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:154
+msgctxt "Name of the Application Callback Domain"
+msgid "Root Domain"
+msgstr "Root Domain"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:158
+msgctxt "Name of the email service owner"
+msgid "Microsoft"
+msgstr "Microsoft"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:162
+msgctxt "Name of the email service"
+msgid "Outlook.com"
+msgstr "Outlook.com"
+
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:166
+#: Postman/PostmanConfigTextHelper.php:228
+msgctxt "Description of the email service OAuth 2.0 Application"
+msgid "an Application"
+msgstr "Uygulaması"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:170
+msgctxt "Name of the email service portal"
+msgid "Microsoft Developer Center"
+msgstr "Microsoft Developer Merkezi"
+
+# no need to translate - its generic
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:212
+msgctxt "Name of the Application Callback URI"
+msgid "Home Page URL"
+msgstr "Home Page URL"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:216
+msgctxt "Name of the Application Callback Domain"
+msgid "Callback Domain"
+msgstr "Callback Domain"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:220
+msgctxt "Name of the email service owner"
+msgid "Yahoo"
+msgstr "Yahoo"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:224
+msgctxt "Name of the email service"
+msgid "Yahoo Mail"
+msgstr "Yahoo Mail"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:232
+msgctxt "Name of the email service portal"
+msgid "Yahoo Developer Network"
+msgstr "Yahoo Developer Network"
+
+#: Postman/PostmanConfigTextHelper.php:261
+msgid "Enter an Outgoing Mail Server with OAuth2 capabilities."
+msgstr "OAuth2 desteği olan bir Giden Mail Sunucusu belirtiniz."
+
+# no need to translate - its generic
+#: Postman/PostmanConfigTextHelper.php:277
+msgctxt "Name of the Application Callback URI"
+msgid "Redirect URI"
+msgstr "Redirect URI"
+
+#: Postman/PostmanConfigTextHelper.php:280
+msgctxt "Name of the Application Callback Domain"
+msgid "Website Domain"
+msgstr "Callback Domain Adresi"
+
+#: Postman/PostmanConfigTextHelper.php:304
+msgid "Grant OAuth 2.0 Permission"
+msgstr "OAuth 2.0 Yetki Ver"
+
+#: Postman/PostmanInputSanitizer.php:137
+msgid "must be greater than 0"
+msgstr "0’dan büyük olmalıdır"
+
+#: Postman/PostmanViewController.php:112
+msgid "An unexpected error occurred"
+msgstr ""
+
+#: Postman/PostmanViewController.php:113
+msgid "Unexpected PHP messages corrupted the Ajax response"
+msgstr "Beklenmeyen PHP Ajax tepki mesajları bozuk:"
+
+#: Postman/PostmanViewController.php:118
+msgctxt "Press this button to Finish this task"
+msgid "Finish"
+msgstr "Bitir"
+
+#: Postman/PostmanViewController.php:119
+msgctxt "Press this button to go to the next step"
+msgid "Next"
+msgstr "Sonraki"
+
+#: Postman/PostmanViewController.php:120
+msgctxt "Press this button to go to the previous step"
+msgid "Previous"
+msgstr "Geri"
+
+#: Postman/PostmanViewController.php:132
+msgid "Postman is unable to run. Email delivery is being handled by WordPress (or another plugin)."
+msgstr "Şu anda WordPress (veya başka bir eklenti) e-posta dağıtımı, <em>değil</em> Postman."
+
+#. translators: where %d is the number of emails delivered
+#: Postman/PostmanViewController.php:147
+msgid "Postman has delivered <span style=\"color:green\">%d</span> email."
+msgid_plural "Postman has delivered <span style=\"color:green\">%d</span> emails."
+msgstr[0] "Postman <span style=“color:green”>%d</span> e-posta teslim etti."
+
+#: Postman/PostmanViewController.php:150
+msgid "The last %d email attempts are recorded <a href=\"%s\">in the log</a>."
+msgstr "<a href=“%s”>Son %d e-posta girişimleri günlüğüne.</a>"
+
+#: Postman/PostmanViewController.php:155
+msgid "Thank-you for choosing Postman!"
+msgstr "Postman'ı seçtiğiniz için teşekkür ederiz!"
+
+#. translators: where %s is the URL of the Setup Wizard
+#: Postman/PostmanViewController.php:157
+msgid "Let's get started! All users are strongly encouraged to <a href=\"%s\">run the Setup Wizard</a>."
+msgstr "Haydi başlayalım! Tüm yeni kullanıcılarımıza önerimiz <a href=\"%s\">Hızlı Kurulum Sihirbazını</a> başlatmaları."
+
+#: Postman/PostmanViewController.php:158
+msgid "Alternately, <a href=\"%s\">manually configure</a> your own settings and/or modify advanced options."
+msgstr "Alternatif olarak, <a href=“%s”>el ile yapılandırmanız</a> , kendi ayarlarını ve/veya gelişmiş seçenekleri değiştirebilirsiniz."
+
+#. translators: where %s is the URL to the WordPress.org review and ratings
+#. page
+#: Postman/PostmanViewController.php:163
+msgid "Please consider <a href=\"%s\">leaving a review</a> to help spread the word! :D"
+msgstr "Eğer bu ücretsiz ve tatlı hizmetimizi sevdiyseniz <a href=\"%s\">buraya tıklayarak</a><br/> yorum eklerseniz çok seviniriz. Bu sayede birçok insan WordPress için bu yeni servisi tanır! :D"
+
+#: Postman/PostmanViewController.php:165
+msgid "Postman needs translators! Please take a moment to <a href=\"%s\">translate a few sentences on-line</a>"
+msgstr ""
+
+#: Postman/PostmanViewController.php:167
+msgid "<b style=\"background-color:yellow\">New for v1.7!</style></b> Send mail with the Mandrill or SendGrid APIs."
+msgstr ""
+
+#: Postman/PostmanViewController.php:191
+msgctxt "Return to main menu link"
+msgid "Back To Main Menu"
+msgstr "Ana Menüye Dön"
+
+#: Postman/PostmanViewController.php:198 Postman/PostmanViewController.php:233
+#: Postman/PostmanViewController.php:284
+msgid "Import"
+msgstr "İçeri Aktar"
+
+#: Postman/PostmanViewController.php:199 Postman/PostmanViewController.php:285
+msgid "Export"
+msgstr "Dışarı Aktar"
+
+#: Postman/PostmanViewController.php:200 Postman/PostmanViewController.php:286
+msgid "Reset Plugin"
+msgstr "Eklentiyi Sıfırla"
+
+#: Postman/PostmanViewController.php:206
+msgid "Copy this data into another instance of Postman to duplicate the configuration."
+msgstr ""
+
+#: Postman/PostmanViewController.php:225
+msgid "Paste data from another instance of Postman here to duplicate the configuration."
+msgstr ""
+
+#: Postman/PostmanViewController.php:228
+msgid "Using the same OAuth 2.0 Client ID and Client Secret from this site at the same time as another site will cause failures."
+msgstr ""
+
+#: Postman/PostmanViewController.php:241
+msgid "This will purge all of Postman's settings, including account credentials and the email log."
+msgstr "Bu yaptığınız tüm Postman ayarlarını silecektir. SMTP sunucu bilgileri, kullanıcı/şifre ve OAuth bilgileri dahildir."
+
+#: Postman/PostmanViewController.php:241
+msgid "Are you sure?"
+msgstr "Emin misiniz?"
+
+#: Postman/PostmanViewController.php:261
+msgid "Configuration"
+msgstr "Yapılandırma"
+
+#: Postman/PostmanViewController.php:262
+msgid "Start the Wizard"
+msgstr "Kurulum Sihirbazını Başlat"
+
+#: Postman/PostmanViewController.php:263
+msgid "Show All Settings"
+msgstr "el ile ayarla"
+
+#: Postman/PostmanViewController.php:266
+msgctxt "Main Menu"
+msgid "Actions"
+msgstr "Eylemler"
+
+#: Postman/PostmanViewController.php:292
+msgctxt "Main Menu"
+msgid "Troubleshooting"
+msgstr "Sorun Giderme"
+
+#: Postman/PostmanViewController.php:296
+msgid "Online Support"
+msgstr "Online Destek"
+
+#. Plugin URI of the plugin/theme
+msgid "https://wordpress.org/plugins/postman-smtp/"
+msgstr "https://wordpress.org/plugins/postman-smtp/"
+
+#. Description of the plugin/theme
+msgid "Email not reliable? Postman is the first and only WordPress SMTP plugin to implement OAuth 2.0 for Gmail, Hotmail and Yahoo Mail. Setup is a breeze with the Configuration Wizard and integrated Port Tester. Enjoy worry-free delivery even if your password changes!"
+msgstr "Email sisteminiz çalışmıyor mu? Postman; Gmail, Hotmail ve Yahoo Mail için OAuth 2.0 destekli ilk WordPress SMTP eklentisidir. Kurulumu ise Kurulum Sihirbazı ve Port Test araçları ile çok basittir. Şifrenizi değiştirseniz dahi kesintisiz email gönderiminin keyfini çıkarın!"
+
+#. Author of the plugin/theme
+msgid "Jason Hendriks"
+msgstr "Jason Hendriks"
+
+#. Author URI of the plugin/theme
+msgid "http://www.codingmonkey.ca"
+msgstr "http://www.codingmonkey.ca"
+
+#~ msgid "Change the delivery method on the %s!"
+#~ msgstr "Teslimat yöntemini değiştirme %s!"
+
+#~ msgid "<a href=\"%s\">Configure</a> the plugin."
+#~ msgstr "Eklentiyi <a href=\"%s\">ayarla</a>."
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Test Your Setup"
+#~ msgstr "Kurulumu Test Edin"
+
+#~ msgctxt "eg. TCP Port 25"
+#~ msgid "Port"
+#~ msgstr "Portu"
+
+#~ msgctxt "as in \"There is no Authentication\""
+#~ msgid "no"
+#~ msgstr "hayir"
+
+#~ msgctxt "Log Level"
+#~ msgid "Off"
+#~ msgstr "Off"
+
+#~ msgctxt "Log Level"
+#~ msgid "Trace"
+#~ msgstr "Trace"
+
+#~ msgctxt "Log Level"
+#~ msgid "Debug"
+#~ msgstr "Debug"
+
+#~ msgctxt "Log Level"
+#~ msgid "Info"
+#~ msgstr "Info"
+
+#~ msgctxt "Log Level"
+#~ msgid "Warning"
+#~ msgstr "Warning"
+
+#~ msgctxt "Log Level"
+#~ msgid "Error"
+#~ msgstr "Error"
+
+#~ msgid "Port %d can be used to send email with the %s."
+#~ msgstr "%s ile %d portunu kullanarak email ile gönderim yapabilirsiniz."
+
+#~ msgid "New for v1.6! Email Log"
+#~ msgstr "Yeni v1.6 için! E-posta günlüğü"
+
+#~ msgid "Enable to save a copy of all your emails. Great for troubleshooting or as a backup for messages that get lost. <b>Access the Email Log in the Tools menu.</b>"
+#~ msgstr "Tüm e-postalar bir kopyasını kaydetmek için etkinleştirin. Büyük sorun giderme veya kaybolma iletiler için bir yedek olarak. <b>Araçlar menüsünde e-posta günlük erişmek.</b>"
+
+#~ msgctxt "The configuration page of the plugin"
+#~ msgid "Settings"
+#~ msgstr "Ayarlar"
+
+#~ msgid "Postman is <em>not</em> handling email delivery."
+#~ msgstr "Postman email gönderimlerinizdeki aktif eklenti değil."
+
+#~ msgctxt "As in type used: None"
+#~ msgid "None"
+#~ msgstr "Hiçbiri"
+
+#~ msgctxt "Who do we reply to?"
+#~ msgid "Reply-To"
+#~ msgstr "Yanıt"
+
+#~ msgid "This is the conversation between Postman and your SMTP server. It can be useful for diagnosing problems. <b>DO NOT</b> post it on-line, it may contain your account password."
+#~ msgstr "SMTP sunucunuz ve Postman arasındaki diyaloğu buradan takip edebilirsiniz. Bu sorunların teşhisinde size yol gösterebilir. <b>DİKKAT</b> bunu herhangi biriyle paylaşmayın. İçerisinde size özel gizli anahtar (şifre) bilgileri olabilir."
+
+#~ msgid "Postman Email Log"
+#~ msgstr "Postacı e-posta günlüğü"
+
+#~ msgid "This is a record of deliveries made to the Mail Submission Agent (MSA). It does not neccessarily indicate sucessful delivery to the recipient."
+#~ msgstr "Bu posta teslimi Aracısı (MSA) yapılan teslim girişimleri kaydıdır. Sucessful alıcıya teslim için mutlaka göstermez."
+
+#~ msgid "Warning: An empty subject line can result in delivery failure."
+#~ msgstr "Uyarı: Bir boş konu satırı teslimat başarısızlıkla sonuçlanabilir."
+
+#~ msgctxt "View the transcript of an item from the email log"
+#~ msgid "Transcript"
+#~ msgstr "Transkript"
+
+#~ msgctxt "Attempt to resend this email"
+#~ msgid "Resend"
+#~ msgstr "Yeniden gönder"
+
+#~ msgctxt "Was sending this email successful or not?"
+#~ msgid "Status"
+#~ msgstr "Durum"
+
+#~ msgctxt "Transport Name"
+#~ msgid "Gmail API"
+#~ msgstr "Gmail API"
+
+#~ msgctxt "Authentication Type is OAuth 2.0"
+#~ msgid "OAuth 2.0"
+#~ msgstr "OAuth 2.0"
+
+#~ msgid "Postman will send mail via the <b>🔐Gmail API</b> using %s authentication."
+#~ msgstr "Postman emailleri <b>🔐Gmail API</b>'ın %s kimlik doğrulama metodu ile gönderecek."
+
+#~ msgid "OAuth 2.0 authentication requires a Client ID and Client Secret."
+#~ msgstr "OAuth 2.0 metodu işlemi Client ID ve Client Secret (şifre) istemekte."
+
+#~ msgid "Envelope From Address and Message From Address can not be empty."
+#~ msgstr "Zarf gönderici adresi ve ileti gönderen adresi boş olamaz."
+
+#~ msgid "Postman recommends Gmail API configuration on port %d"
+#~ msgstr "Postman Gmail API konfigürasyonu için %d nolu portu ayarlamanızı öneriyor."
+
+#~ msgctxt "Transport Name"
+#~ msgid "SMTP"
+#~ msgstr "SMTP"
+
+#~ msgctxt "As in type used: CRAM-MD5"
+#~ msgid "CRAM-MD5"
+#~ msgstr "CRAM-MD5"
+
+#~ msgctxt "As in type used: Login"
+#~ msgid "Login"
+#~ msgstr "Login"
+
+#~ msgctxt "As in type used: Plain"
+#~ msgid "Plain"
+#~ msgstr "Plain"
+
+#~ msgctxt "This authentication type is password-based"
+#~ msgid "Password (%s)"
+#~ msgstr "Şifre (%s)"
+
+#~ msgid "Password authentication (Plain/Login/CRAM-MD5) requires a username and password."
+#~ msgstr "Şifre metodu (Plain/Login/CRAMMD5) için kullanıcı adı ve şifre belirtmeniz gerekmektedir."
+
+#~ msgid "OAuth 2.0 authentication requires a supported OAuth 2.0-capable Outgoing Mail Server, %1$s, and %2$s."
+#~ msgstr "OAuth 2.0 metodu ile gönderim için OAuth 2.0 destekleyen bir Giden Mail Sunucusu, %1$s, ve %2$s."
+
+#~ msgid "Your recommended settings are %1$s with %2$s authentication to host %4$s on port %3$d."
+#~ msgstr "Önerilen ayarları %1$s %2$s host %4$s bağlantı noktası %3$ d üzerinde kimlik doğrulaması ile vardır."
+
+#~ msgid "The selected transport '%s' is unavailable. The external plugin was probably deactivated."
+#~ msgstr "Seçtiğiniz iletim türü kullanılamıyor. Harici eklenti büyük ihtimalle devre dışı."
+
+#~ msgid "WordPress is still handling email delivery, <em>not</em> Postman."
+#~ msgstr "Postman email gönderimlerinizdeki aktif eklenti değil."
+
+#~ msgctxt "The Transport is the method for sending mail, SMTP or API"
+#~ msgid "Transport"
+#~ msgstr "İçe Aktarma"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Transport Settings"
+#~ msgstr "İçe Aktarım Ayarları"
+
+#~ msgctxt "Authentication proves the user's identity"
+#~ msgid "Authentication"
+#~ msgstr "Kimlik Doğrulama Ayarları"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Username"
+#~ msgstr "Kullanıcı Adı"
+
+#~ msgctxt "The Envelope Sender Email Address"
+#~ msgid "Envelope From Address"
+#~ msgstr "Zarf Gönderici Adresi"
+
+#~ msgctxt "The Message Sender Email Address"
+#~ msgid "Message From Address"
+#~ msgstr "İleti Gönderen Adresi"
+
+#~ msgctxt "The email address to address replies to"
+#~ msgid "Reply-To"
+#~ msgstr "Yanıt"
+
+#~ msgid "Maximum Number of Log Entries"
+#~ msgstr "Günlük girişleri sınırlama"
+
+#~ msgid "Maximum Number of Lines in a Transcript"
+#~ msgstr "Transkript boyutu (Toplam satır)"
+
+#~ msgid "Configure the communication with the Mail Submission Agent (MSA):"
+#~ msgstr "Kimlik doğrulama metodunu seçip SMTP sunucu ve port bilgilerini giriniz:"
+
+#~ msgid "Enter the account username (email address) and password:"
+#~ msgstr "Email göndermek için kullanıcı adınızı (ya da email adresi) ve şifrenizi giriniz"
+
+#~ msgid "This will purge all of Postman's settings, including SMTP server info, username/password and OAuth Credentials."
+#~ msgstr "Bu yaptığınız tüm Postman ayarlarını silecektir. SMTP sunucu bilgileri, kullanıcı/şifre ve OAuth bilgileri dahildir."
+
+#~ msgid "Log Level specifies the level of detail written to the WordPress log - view the log with <a href=\"%s\">Debug</a>. Delivery mode offers options useful for developing or testing."
+#~ msgstr "Günlük düzeyini WordPress günlüğüne ayrıntı düzeyini belirtir - <a href=“%s”>Debug</a>ile günlüğünü görüntüleme. Teslimat modu geliştirme veya sınama için yararlı seçenekleri sunar."
+
+#~ msgid "<b style=\"color:red\">Attention!</b> Open the <a href=\"%1$s\" target=\"_new\">%2$s</a>, create <b>%7$s</b> with the values displayed below, and copy the generated %3$s and %4$s here."
+#~ msgstr "<b style=\"color:red\">Dikkat!</b> <a href=\"%1$s\" target=\"_new\">%2$s</a>'u açarak %7$s adımından web uygulaması için hesap oluşturduktan sonra %3$s ve %4$s anahtar kodunuzu buraya yapıştırın."
+
+#~ msgctxt "Command to initiate OAuth authentication"
+#~ msgid "Grant OAuth Permission"
+#~ msgstr "OAuth Yetki Ver"
+
+#~ msgid " must be greater than 0"
+#~ msgstr "0’dan büyük olmalıdır"
+
+#~ msgctxt "Page Title"
+#~ msgid "Postman Setup"
+#~ msgstr "Postman Ayarları"
+
+#~ msgid "Welcome"
+#~ msgstr "Hoşgeldin"
+
+#~ msgid "This is the Settings page for Postman, an SMTP mailer that delivers email from your WordPress site to the Internet. From here you can configure the plugin, and access testing and diagnostic tools."
+#~ msgstr "Postacı, e-posta WordPress site Internet'e teslim eden bir SMTP posta ayarları sayfasında bu. Buradan eklenti yapılandırma ve sınama ve tanı araçları erişebilirsiniz."
+
+#~ msgid "Having trouble? You can ask for help on our <a href=\"%1$s\" target=\"_blank\">Support Forum</a>. To get the help you need quickly, please post the <a href=\"%s\">Diagnostic Data</a> with your question. You can also check the <a href=\"%3$s\">FAQ</a> and <a href=\"%4$s\">Error Messages</a> pages for answers."
+#~ msgstr "Sorun mu yaşıyorsunuz? Bizim <a href=\"%1$s\" target=\"_blank\">Destek Forumu</a>yardım isteyebilirsin. Hızlı bir şekilde gereken yardımı almak için <a href=\"%s\">Tanı veri</a> soru gönderin. Cevaplar için <a href=\"%3$s\">SSS</a> ve <a href=\"%4$s\">Hata mesajları</a> sayfaları da kontrol edebilirsiniz."
+
+#~ msgid "The Email Test will send an email to you. If the test fails, the full SMTP session transcript is available to you. <br/><br/>Receiving a single test email does not indicate perfect configuration. Some services may dump your email into a black-hole or mark it as Spam if you:"
+#~ msgstr "E-posta sınama e-posta size göndereceğiz. Sınama başarısız olursa, tam SMTP oturumu transkript için kullanılabilir.<br><br>Bir tek sınama e-posta alma mükemmel yapılandırma olduğunu göstermez. Bazı hizmetler e-posta bir kara deliğe dökümü veya Eğer Spam olarak işaretle sana:"
+
+#~ msgid "Violate an SPF record"
+#~ msgstr "SPF kaydı ihlal"
+
+#~ msgid "You must use the SMTP server (MSA) approved by your domain to deliver your mail. (eg.) a @gmail.com sender address requires that authentication and delivery always be through smtp.gmail.com."
+#~ msgstr "E-posta teslim etmek için etki alanı tarafından onaylanan SMTP sunucusu (MSA) kullanmanız gerekir. (örn.) @gmail.com gönderenin adresini, kimlik doğrulama ve teslim her zaman smtp.gmail.com olmasını gerektirir."
+
+#~ msgctxt "Forge as in a forgery (fake) is made"
+#~ msgid "Forge the From Address"
+#~ msgstr "Hatalı 'Kime' adresi"
+
+#~ msgid "<a href=\"%s\">Spoofing</a>, when it results in an SPF violation, will get your message binned. Use your own address as the sender (From:) in <em>every</em> email.</li>"
+#~ msgstr "SPF ihlaline sonuçlandığında <a href=\"%s\">sızdırma</a>, binned iletinizi alacak. Gönderen olarak adresinize kullanın (From:) <em>her</em> e-posta."
+
+#~ msgid "Consolidates details of your setup to aid the author in debugging problems, including: operating system details, WordPress configuration, Postman configuration, network connectivity and your domain's primary MX and SPF records. Your private authorization credentials are masked."
+#~ msgstr "Yazar gibi sorunlar, hata ayıklamaya yardımcı olmak için kurulum ayrıntılarını birleştirir: işletim sistemi ayrıntıları, WordPress yapılandırma, postacı yapılandırma, ağ bağlantısı ve alan adınızın birincil MX ve SPF kayıtları. Özel yetkilendirme kimlik bilgilerinizi maskelenir."
+
+#~ msgid "The Connectivity Test will report this site's ability to reach a mail server, and interrogate the mail server for it's capabilities."
+#~ msgstr "Bağlantı sınaması bu sitenin yeteneği bir posta sunucusuna bildirir ve posta sunucusu için bu yeteneklerini sorgulamak."
+
+#~ msgctxt "Is it possible to create network connections to the Internet?"
+#~ msgid "Outbound to Internet"
+#~ msgstr "Internete Bağlantı"
+
+#~ msgid "This tests the ability to make outbound connections from your site to the Internet in general. If the result is Closed, then there is a communication problem with the Internet, like a firewall.</li>"
+#~ msgstr "Bu, genel Internet sitenizden giden bağlantılar yapma yeteneğini sınar. Sonuç kapalıysa, sonra bir güvenlik duvarı gibi Internet ile bir iletişim sorunu işte."
+
+#~ msgctxt "What service is available?"
+#~ msgid "Service Available"
+#~ msgstr "Servis Kullanılabilir"
+
+#~ msgid "This shows the service found for a particular host/port. Possible successful results are <b>SMTP</b>, <b>SMTPS</b> (secure) and <b>HTTPS</b> (secure). If the result is No and the hostname you entered is correct, there was a communication problem with the mail server, like a firewall.</li>"
+#~ msgstr "Bu hizmet için belirli bir konak/port bulundu gösterir. Olası başarılı sonuçlar, <b>SMTP</b>, <b>SMTPS</b> (güvenli) ve <b>HTTPS</b> (güvenli) vardır. Eğer sonuç No ve girdiğiniz ana bilgisayar adının doğru olduğundan, posta sunucusu gibi bir güvenlik duvarı ile bir iletişim sorunu oldu."
+
+#~ msgctxt "What is this server's ID?"
+#~ msgid "ID"
+#~ msgstr "ID"
+
+#~ msgid "Some hosts redirect mail traffic to their own mail server, breaking authentication and SPF verification. This is revealed by an incorrect server identity.</li>"
+#~ msgstr "Bazı ev sahibi kendi posta sunucusuna, kimlik doğrulama ve SPF doğrulama posta trafiğini yeniden yönlendirebilir. Bu bir yanlış sunucu kimlik tarafından ortaya çıkıyor."
+
+#~ msgid "STARTTLS"
+#~ msgstr "STARTTLS"
+
+#~ msgid "This indicates whether the server supports protocol-level security. Either STARTTLS, SMTPS or HTTPS is required for secure transmission of your credentials.</li>"
+#~ msgstr "Bu sunucu protokol düzeyinde güvenlik destekleyip desteklemediğini gösterir. STARTTLS, SMTPS veya HTTPS kimlik bilgilerinizi güvenli iletimi için gereklidir."
+
+#~ msgctxt "Short for Authentication"
+#~ msgid "Auth"
+#~ msgstr "Kimlik"
+
+#~ msgid "This indicates the authenication methods that the server supports. All are password-based, except for OAuth 2.0, which is token-based.</li>"
+#~ msgstr "Bu sunucunun desteklediği AUTHENICATION yöntemleri gösterir. Tüm hangi belirteci tabanlı, parola tabanlı ve OAuth 2.0 hariç."
+
+#~ msgctxt "A testing tool which determines connectivity to the Internet"
+#~ msgid "Connectivity Test"
+#~ msgstr "Bağlantı Testi"
+
+#~ msgctxt "Email Test Status"
+#~ msgid "Ajax Error"
+#~ msgstr "Ajax hata"
+
+#~ msgid "Unexpected PHP messages corrupted the Ajax response:"
+#~ msgstr "Beklenmeyen PHP mesajları Ajax yanıt bozuk:"
+
+#~ msgid "Warning: connected to %1$s instead of %2$s."
+#~ msgstr "Uyarı: %1$s %2$s yerine bağlı."
+
+#~ msgid "Port %d can be used to send <b>Gmail</b> with the Gmail API."
+#~ msgstr "Gmail API ile %d portunu kullanarak Gmail ile gönderim yapabilirsiniz."
+
+#~ msgid "WordPress (or another plugin) is currently handling email delivery, <em>not</em> Postman."
+#~ msgstr "Şu anda WordPress (veya başka bir eklenti) e-posta dağıtımı, <em>değil</em> Postman."
+
+#~ msgctxt "Page Title"
+#~ msgid "Manual Configuration"
+#~ msgstr "Manuel Yapılandırma"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Account"
+#~ msgstr "Hesap"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Message"
+#~ msgstr "Mesaj"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Logging"
+#~ msgstr "Kereste eldesi"
+
+#~ msgctxt "Manual Configuration Tab Label"
+#~ msgid "Advanced"
+#~ msgstr "Ayarlar"
+
+#~ msgid "Delete plugin settings"
+#~ msgstr "Eklenti ayarlarını sil"
+
+#~ msgid "This will purge all of Postman's settings, including account credentials and the mail log."
+#~ msgstr "Bu yaptığınız tüm Postman ayarlarını silecektir. SMTP sunucu bilgileri, kullanıcı/şifre ve OAuth bilgileri dahildir."
+
+#~ msgctxt "Button Label"
+#~ msgid "Delete All Data"
+#~ msgstr "Herşeyi Sıfırla"
+
+#~ msgctxt "The port number"
+#~ msgid "Port %s"
+#~ msgstr "Port %s"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "None"
+#~ msgstr "Hiçbiri"
+
+#~ msgid "* Port 443 tests against googleapis.com, not the SMTP hostname you enter."
+#~ msgstr "* Bağlantı noktası 443 googleapis.com karşı değil girdiğiniz SMTP hostname test eder."
+
+#~ msgid "A port with Service Available <span style=\"color:red\">\"No\"</span> indicates one or more of these issues:"
+#~ msgstr "<span style=\"color:red\">Kapalı</span> port:"
+
+# i’ve added (allow-url-fopen) because being clear about what user has to look at
+#~ msgid "Your <a href=\"%s\">PHP configuration</a> is preventing outbound connections"
+#~ msgstr "<a href=\"%s\">PHP ayarlarınız</a> dışarıya giden bağlantıları önlüyor (allow-url-fopen)"
+
+#~ msgid "Your <a href=\"%s\">WordPress configuration</a> is preventing outbound connections"
+#~ msgstr "<a href=\"%s\">WordPress ayarlarınız</a> dışarıya giden bağlantıları önlüyor "
+
+#~ msgctxt "Adjust the Postman settings by hand"
+#~ msgid "Show Advanced Configuration"
+#~ msgstr "Gelişmiş yapılandırmasını göster"
+
+#~ msgid "Disable"
+#~ msgstr "Devre dışı bırak"
+
+#~ msgctxt "Page Title"
+#~ msgid "Postman Setup Wizard"
+#~ msgstr "Postman Kurulum Sihirbazı"
+
+#~ msgid "<b>Error</b>: Your email address <b>requires</b> access to a remote SMTP server blocked by GoDaddy. Use a different e-mail address."
+#~ msgstr "<b>Hata</b>: GoDaddy tarafından engellenen bir uzak SMTP sunucusunun e-posta adresi <b>gerektirir</b> erişim. Farklı e-posta adresi kullanın."
+
+#~ msgid "<b>Warning</b>: If you own this domain, make sure it has an <a href=\"%s\">SPF record authorizing GoDaddy</a> as a relay, or you will have delivery problems."
+#~ msgstr "<b>Uyarı</b>: Bu etki alanına sahipseniz, geçişi olarak bir <a href=\"%s\">SPF kaydı GoDaddy yetkisi</a> var. veya teslim sorunları olacaktır emin olun."
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "How will the connection to the MSA be established?"
+#~ msgstr "Giden Posta Sunucusu'na nasıl bağlanılacak?"
+
+#~ msgid "Warning: This configuration option will send your authorization credentials in the clear."
+#~ msgstr "Uyarı: Bu yapılandırma seçeneği açık yetkilendirme kimlik bilgileri gönderir."
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "How will you prove your identity to the MSA?"
+#~ msgstr "Kendinizi Giden Posta Sunucusu'na nasıl tanıtacaksınız?"
+
+#~ msgid "Enter your credentials. Your username is often your email address."
+#~ msgstr "Bilgilerinizi giriniz. Kullanıcı adınız genellikle email adresinizdir."
+
+#~ msgid "Examine the SMTP Session Transcript if you need to."
+#~ msgstr "İhtiyacınız olması durumunda SMTP Durum Detayını inceleyebilirsiniz."
+
+#~ msgid "SMTP Session Transcript"
+#~ msgstr "SMTP Durum Detayı"
+
+#~ msgid "The <b>Envelope</b> From address identifies the account owner to the SMTP server."
+#~ msgstr "<b>Zarf</b> gönderici adresi üzerinden SMTP sunucusuna hesap sahibi tanımlar."
+
+#~ msgid "The <b>Message</b> From address identifies the sender to the recipient. Change this when you are sending on behalf of someone else, for example to use Google's <a href=\"%s\">Send Mail As</a> feature. Themes and other plugins, especially Contact Forms, are permitted to modify this field."
+#~ msgstr "<b>İleti</b> gönderen adresi için tanımlar. Örneğin Google'nın <a href=\"%s\">Posta gönder</a> özelliğini kullanmak için başkasının adına gönderirken bu değiştirin. Temalar ve diğer eklentileri, özellikle ilgili kişi formlarınızı, bu alan değiştirmek için izin verilmektedir."
+
+#~ msgid "Log Level specifies the level of detail written to the WordPress and PHP logfiles. Delivery mode offers options useful for developing or testing."
+#~ msgstr "Loglama Seviyesi WordPress ve PHP için logların detaylı olup olmamasını belirler."
+
+#~ msgid "The server returned an unexpected result:"
+#~ msgstr "Sunucu beklenmedik ve geçersiz bir sonuç döndürdü:"
+
+#~ msgid "Postman has delivered <span style=\"color:green\">%d</span> email for you."
+#~ msgid_plural "Postman has delivered <span style=\"color:green\">%d</span> emails for you."
+#~ msgstr[0] "Postman sizin için <span style=\"color:green\">%d</span> adet email iletti!"
+
+#~ msgid "View the log"
+#~ msgstr "Günlüğünü görüntüle"
+
+#~ msgctxt "Adjust the Postman settings by hand"
+#~ msgid "configure manually"
+#~ msgstr "el ile ayarla"
+
+#~ msgid "The server returned an unexpected and invalid result:"
+#~ msgstr "Sunucu beklenmedik ve geçersiz bir sonuç döndürdü:"
+
+#~ msgid "Communication Error [334] - make sure the Sender Email belongs to the account which provided the OAuth 2.0 consent."
+#~ msgstr "Bağlantı Hatası [334] - gönderen email adresinin OAuth 2.0 email gönderimine izin verdiğinden emin olun."
+
+#~ msgid "https://profiles.wordpress.org/jasonhendriks/"
+#~ msgstr "https://profiles.wordpress.org/jasonhendriks/"
+
+#~ msgid "This is the conversation between Postman and your SMTP server. It can be useful for diagnosing problems. <b>DO NOT</b> post it on-line, it may contain your shared secret (password) in encoded form."
+#~ msgstr "SMTP sunucunuz ve Postman arasındaki diyaloğu buradan takip edebilirsiniz. Bu sorunların teşhisinde size yol gösterebilir. <b>DİKKAT</b> bunu herhangi biriyle paylaşmayın. İçerisinde size özel gizli anahtar (şifre) bilgileri olabilir."
+
+#~ msgid "Choose the Recipient"
+#~ msgstr "Alıcı Belirtin"
+
+#~ msgid "The Gmail API transport requires a Sender Email Address, Client ID and Client Secret."
+#~ msgstr "Gmail API transfer işlemi Gönderen Email Adresi, Client ID, ve Client Secret (şifre) istemekte."
+
+#~ msgid "Outgoing Mail Server Hostname/Port and Sender Email Address can not be empty."
+#~ msgstr "Giden Mail Sunucusu (SMTP), Port ve Gönderen Email Adresi belirtmeniz gerekmektedir, boş bırakılamaz."
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Sender"
+#~ msgstr "Gönderen"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Sender Email Address"
+#~ msgstr "Gönderen Email Adresi"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Sender Name"
+#~ msgstr "Gönderen Adı"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Additional Addresses"
+#~ msgstr "Ek Email Adresleri"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "To Recipient(s)"
+#~ msgstr "Alıcı(lar)"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Carbon Copy Recipient(s)"
+#~ msgstr "Karbon Kopya Alıcı(lar)"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Blind Carbon Copy Recipient(s)"
+#~ msgstr "Gizli Alıcı(lar)"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Additional Headers"
+#~ msgstr "Ek Üstbilgiler"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Custom Headers"
+#~ msgstr "Özel Üstbilgiler"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Enable Logging"
+#~ msgstr "Etkinleştir"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Log Entries Limit"
+#~ msgstr "Günlük girişleri sınırlama"
+
+#~ msgctxt "The maximum number of lines of the SMTP transcript"
+#~ msgid "Transcript Size (Total Lines)"
+#~ msgstr "Transkript boyutu (Toplam satır)"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Network Settings"
+#~ msgstr "Network Ayarları"
+
+#~ msgid "The Sender sets both the envelope <b>Mail-From</b> and the message <b>From</b> header. However, the <b>From</b> header can be modified by another plugin (e.g. for setting a visitor's email address from a Contact Form)."
+#~ msgstr "Her iki zarf gönderici ayarlar <b>- Gönderen</b> ve <b>üzerinden</b> ileti üstbilgisi. Ancak, <b>gelen</b> üstbilgi (örneğin bir ziyaretçinin e-posta adresi iletişim formu ayarlamak için) başka bir eklenti tarafından değiştirilebilir."
+
+#~ msgid "Force this in the <b>From</b> header for all messages"
+#~ msgstr "Bu başlıktaki <b>gelen</b> tüm iletiler için zorla"
+
+#~ msgid "Communication Error [334] - make sure the Sender Email belongs to the account which provided the %s OAuth 2.0 consent."
+#~ msgstr "Bağlantı Hatası [334] - gönderen email adresinin %s OAuth 2.0 email gönderimine izin verdiğinden emin olun."
+
+#~ msgid "Please note that to combat Spam, many email services will <em>not</em> let you send from an email address other than the one you authenticate with."
+#~ msgstr "Lütfen şunu da not edin, birçok email servisi <em>asla</em> kendi emailizden farklı bir email adına gönderim yapmanıza izin vermez."
+
+#~ msgctxt "Who is this message from?"
+#~ msgid "From"
+#~ msgstr "Şundan"
+
+#~ msgctxt "Who is this message to?"
+#~ msgid "To"
+#~ msgstr "Şuraya"
+
+#~ msgctxt "Name of the email service portal"
+#~ msgid "Google Developer Console"
+#~ msgstr "Google Developer Konsolu"
+
+#~ msgid "Please check the <a href=\"%1$s\">troubleshooting and error messages</a> page and the <a href=\"%2$s\">support forum</a>.</br>If you write for help, please include the following:"
+#~ msgstr "Lütfen <a href=\"%1$s\">hata ve sorun çözme sayfası</a> ya da <a href=\"%2$s\">destek forumlarına</a> göz atın.<br/>Yardım almak için lütfen tanı bilgisini de foruma yazınız:"
+
+#~ msgid "Postman will send mail via the <b>Gmail API</b> using %s authentication."
+#~ msgstr "Postman emailleri <b>Gmail API</b>'ın %s kimlik doğrulama metodu ile gönderecek."
+
+#~ msgctxt "Transport Name"
+#~ msgid "SMTPS"
+#~ msgstr "SMTPS"
+
+#~ msgctxt "Transport Name"
+#~ msgid "SMTP-STARTTLS"
+#~ msgstr "SMTP-STARTTLS"
+
+#~ msgid "The message sender is used as the default <b>From:</b> address."
+#~ msgstr "Mesaj gönderen bilgisi <b>Gönderen:</b> adresinden alınacaktır."
+
+#~ msgid "Log Level specifies the level of detail written to the WordPress and PHP logfiles. Delivery mode offers options useful in a development environment."
+#~ msgstr "Loglama Seviyesi WordPress ve PHP için logların detaylı olup olmamasını belirler."
+
+#~ msgid "Force this Sender Name for all messages"
+#~ msgstr "Gönderen adının geçersiz kılınmasını önle"
+
+#~ msgid "Force this Sender Email Address for all messages"
+#~ msgstr "Gönderen email adresinin geçersiz kılınmasını önle"
+
+#~ msgid "Please note: <em>When composing email, some WordPress plugins and themes may set an unauthorized sender email address causing rejection with services like Yahoo Mail. If you experience problems, enable \"Force this Sender Email Address for all messages\" in the settings.</em>"
+#~ msgstr "Lütfen dikkat: <em>Email gönderimi sırasında diğer Eklentiler ya da Temalar gönderen adını ya da email adresini değiştirebildiği için bazı email servislerine gönderim yapamayabilirsiniz (örn: Yahoo Mail). Eğer problem yaşarsanız gönderen email adresini diğer eklentilerin ve temaların ayarlarından boş bırakınız.</em>"
+
+#~ msgctxt "Encryption Type"
+#~ msgid "SSL (SMTPS)"
+#~ msgstr "SSL (SMTPS)"
+
+#~ msgctxt "Encryption Type"
+#~ msgid "TLS (StartTLS)"
+#~ msgstr "TLS (StartTLS)"
+
+#~ msgid "The impossible is possible; sending through wp_mail() failed, but sending through internal engine succeeded."
+#~ msgstr "İmkansız diye birşey yoktur; emailinizin gönderimi wp_mail() ile başarısız oldu ancak sunucudaki email sistemiyle gönderildi."
+
+#~ msgid "Error: Postman is properly configured, but the current theme or another plugin is preventing service."
+#~ msgstr "Postman başarıyla kuruldu, fakat şu anda farklı bir mail servisi kullanıyorsunuz. Diğer eklentiyi deaktif ediniz."
+
+#~ msgid "See <a href=\"https://wordpress.org/plugins/postman-smtp/faq/\" target=\"_new\">How do I get a %6$s %3$s?</a> in the F.A.Q. for help."
+#~ msgstr "SSS'lardaki <a href=\"https://wordpress.org/plugins/postman-smtp/faq/\" target=\"_new\">%6$s %3$s nasıl alınır?</a> adımından yardım alabilirsiniz."
+
+#~ msgctxt "Short for \"Diagnostic Information\""
+#~ msgid "Diagnostic Info"
+#~ msgstr "Tanılama bilgisi"
+
+#~ msgctxt "Details about the system"
+#~ msgid "Diagnostic Information"
+#~ msgstr "Tanı Bilgisi"
+
+#~ msgid "Run a Connectivity Test"
+#~ msgstr "Bağlantı Testini Başlat"
+
+#~ msgid "The most common transport is SMTP:"
+#~ msgstr "En çok kullanılan ulaşım SMTP's:"
+
+#~ msgid "Email not working? Postman is the first and only WordPress SMTP plugin to implement OAuth 2.0 for Gmail, Hotmail and Yahoo Mail. Setup is a breeze with the Configuration Wizard and integrated Port Tester. Enjoy worry-free delivery even if your password changes!"
+#~ msgstr "Email sisteminiz çalışmıyor mu? Postman; Gmail, Hotmail ve Yahoo Mail için OAuth 2.0 destekli ilk WordPress SMTP eklentisidir. Kurulumu ise Kurulum Sihirbazı ve Port Test araçları ile çok basittir. Şifrenizi değiştirseniz dahi kesintisiz email gönderiminin keyfini çıkarın!"
+
+#~ msgid "Log Level specifies the level of detail written to the WordPress and PHP logfiles."
+#~ msgstr "Loglama Seviyesi WordPress ve PHP için logların detaylı olup olmamasını belirler."
+
+#~ msgctxt "When the server is online to the public, this is \"Production\" mode"
+#~ msgid "Production"
+#~ msgstr "Üretim"
+
+#~ msgid "Log Emails, then Dump"
+#~ msgstr "E-posta giriş, o zaman dökümü"
+
+#~ msgid "Dump All Emails"
+#~ msgstr "Herşeyi Sıfırla"
+
+#~ msgid "This is a record of delivery attempts made to the Mail Submission Agent (MSA). It does not neccessarily indicate sucessful delivery to the recipient."
+#~ msgstr "Bu posta teslimi Aracısı (MSA) yapılan teslim girişimleri kaydıdır. Sucessful alıcıya teslim için mutlaka göstermez."
+
+#~ msgid "Error authenticating with this Client ID - please create a new one. [%s]"
+#~ msgstr "Bu hesap ile doğrulama sırasında hata oluştu - lütfen yeni bir tane oluşturun. [%s]"
+
+#~ msgid "Warning: connected to %1$s instead of %2$s. This may be a problem."
+#~ msgstr "Uyarı: %1$s %2$s yerine bağlı. Bu bir sorun olabilir."
+
+#~ msgid "Outgoing Mail Server (SMTP) and Port can not be empty."
+#~ msgstr "Giden Mail Sunucusu (SMTP) ve Port boş bırakılamaz."
+
+#~ msgid "OAuth 2.0 authentication requires a supported OAuth 2.0-capable Outgoing Mail Server, Sender Email Address, %1$s, and %2$s."
+#~ msgstr "OAuth 2.0 metodu ile gönderim için OAuth 2.0 destekleyen bir Giden Mail Sunucusu, Gönderen Email Adresi belirtmeniz gerekmektedir, %1$s, ve %2$s."
+
+#~ msgid "Postman is properly configured, but another plugin has taken over the mail service. Deactivate the other plugin."
+#~ msgstr "Postman başarıyla kuruldu, fakat şu anda farklı bir mail servisi kullanıyorsunuz. Diğer eklentiyi deaktif ediniz."
+
+#~ msgctxt "postman-smtp"
+#~ msgid "OAuth 2.0 (requires Client ID and Client Secret)"
+#~ msgstr "OAuth 2.0 (müşteri kimliği ve istemci gizli gerektirir)"
+
+#~ msgid "Postman is missing a required PHP library."
+#~ msgstr "Postman gerek duyduğu bir PHP kütüphanesine ulaşamıyor."
+
+#~ msgctxt "as in \"No Authentication\""
+#~ msgid "No"
+#~ msgstr "Hayır"
+
+#~ msgid "Your recommended settings are %1$s with %2$s authentication on port %3$d."
+#~ msgstr "Postman, %2$s ile %1$s metodu için port olarak %3$d kullanmanızı öneriyor."
+
+#~ msgid "<b style=\"color:red\">Attention!</b> Open the <a href=\"%1$s\" target=\"_new\">%2$s</a>, create %7$s using the URL's displayed below, and copy the %3$s and %4$s here."
+#~ msgstr "<b style=\"color:red\">Dikkat!</b> <a href=\"%1$s\" target=\"_new\">%2$s</a>'u açarak %7$s adımından web uygulaması için hesap oluşturduktan sonra %3$s ve %4$s anahtar kodunuzu buraya yapıştırın."
+
+#~ msgid "Please wait for the port test to finish"
+#~ msgstr "Lütfen port testinin bitmesini bekleyiniz"
+
+#~ msgid "This is the Outgoing (SMTP) Mail Server, or Mail Submission Agent (MSA), which Postman delegates mail delivery to. These servers are specific to your email account, and if you don't know what to use, ask your email service provider."
+#~ msgstr "Postman MSA (Mail Submission Agent) olarak da bilinen belirteceğiniz bu Giden Posta Sunucusu üzerinden email gönderecektir. Eğer mümkünse Postman bunu belirttiğiniz email adresinden bulmaya çalışacak."
+
+#~ msgid "Your connection settings depend on what your email service provider offers, and what your WordPress host allows. Postman will attempt to determine which options are available to you."
+#~ msgstr "Giden Posta Sunucusu adresini ve portu email servisini aldığınız yer belirler, WordPress hostunuz onaylar. Postman şimdi size en uygun ayarları bulmaya çalışacak."
+
+#~ msgid "Configuration will proceed on socket %1$s using %2$s authentication."
+#~ msgstr "Konfigürasyon %1$s soketi için %2$s kimlik doğrulama metoduyla devam edecek."
+
+#~ msgctxt "The port number"
+#~ msgid "Port %d"
+#~ msgstr "%d Portunu"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "Plain"
+#~ msgstr "Plain"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "OAuth 2.0"
+#~ msgstr "OAuth 2.0"
+
+#~ msgctxt "As in type used: OAuth 2.0"
+#~ msgid "OAuth 2.0"
+#~ msgstr "OAuth 2.0"
+
+#~ msgctxt "Connectivity Test Table"
+#~ msgid "Test"
+#~ msgstr "Test"
+
+#~ msgctxt "Port Test"
+#~ msgid "Port %s"
+#~ msgstr "Port %s"
+
+#~ msgctxt "Authentication Type is Password"
+#~ msgid "Password"
+#~ msgstr "Şifre"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "no"
+#~ msgstr "hayır"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "CRAM-MD5"
+#~ msgstr "CRAM-MD5"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "Login"
+#~ msgstr "Login"
+
+#~ msgctxt "Authentication Type"
+#~ msgid "Password (%s)"
+#~ msgstr "Şifre (%s)"
+
+#~ msgid "Password authentication (Plain/Login/CRAMMD5) requires a username and password."
+#~ msgstr "Şifre metodu (Plain/Login/CRAMMD5) için kullanıcı adı ve şifre belirtmeniz gerekmektedir."
+
+#~ msgctxt "Postman Dashboard Widget Title"
+#~ msgid "Postman SMTP"
+#~ msgstr "Postman SMTP"
+
+#~ msgctxt "Dashboard Widget Settings Link label"
+#~ msgid "Settings"
+#~ msgstr "Ayarlar"
+
+#~ msgctxt "Dashboard Widget Settings Link label"
+#~ msgid "Email Log"
+#~ msgstr "Email Logu"
+
+#~ msgctxt "Plugin Action Links"
+#~ msgid "Settings"
+#~ msgstr "Ayarlar"
+
+#~ msgid "All plugin settings were removed."
+#~ msgstr "Tüm ayarlar sıfırlandı."
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Transport"
+#~ msgstr "İçe Aktarma"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Transport"
+#~ msgstr "İçe Aktarma"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Authentication"
+#~ msgstr "Kimlik Doğrulama"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Outgoing Mail Server Hostname"
+#~ msgstr "SMTP Sunucusu"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Outgoing Mail Server Port"
+#~ msgstr "SMTP Portu"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Authentication"
+#~ msgstr "Kimlik Doğrulama"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Password"
+#~ msgstr "Şifre\t"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Reply-To"
+#~ msgstr "Yanıt"
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Log Level"
+#~ msgstr "Hata Kaydı"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Delete plugin settings"
+#~ msgstr "Eklenti ayarlarını sil"
+
+#~ msgid "The default transport is SMTP."
+#~ msgstr "Kullanılan gönderim şekli SMTP."
+
+#~ msgid "Select the transport to use:"
+#~ msgstr "Gönderim şeklini seçiniz:"
+
+#~ msgid "Select the authentication method, security type, and enter the Mail Submission Agent (MSA) hostname and port:"
+#~ msgstr "Kimlik doğrulama metodunu seçip SMTP sunucu ve port bilgilerini giriniz:"
+
+#~ msgid "Enter the username (email address) and password you use to send email"
+#~ msgstr "Email göndermek için kullanıcı adınızı (ya da email adresi) ve şifrenizi giriniz"
+
+#~ msgid "The message sender is used as the <b>From:</b> address."
+#~ msgstr "Mesaj gönderen bilgisi <b>Gönderen:</b> adresinden alınacaktır."
+
+#~ msgid "The Reply-To overrides the Sender when the recipient composes a reply. Separate multiple <b>to</b>/<b>cc</b>/<b>bcc</b> recipients with commas."
+#~ msgstr "Yanıt gelmesi durumunda Gönderen:'e değil, Yanıtla: bölümünde belirteceğiniz adrese gider. Virgül ile ayırarak <b>to</b>/<b>cc</b>/<b>bcc</b> bölümlerine fazla kişi ekleyebilirsiniz."
+
+#~ msgctxt "Encryption Type"
+#~ msgid "None"
+#~ msgstr "Hiçbiri"
+
+#~ msgctxt "Encryption Type"
+#~ msgid "SSL"
+#~ msgstr "SSL"
+
+#~ msgctxt "Encryption Type"
+#~ msgid "TLS"
+#~ msgstr "TLS"
+
+#~ msgid "Prevent the Sender Name from being overridden"
+#~ msgstr "Gönderen adının geçersiz kılınmasını önle"
+
+#~ msgid "Prevent the Sender Email Address from being overridden"
+#~ msgstr "Gönderen email adresinin geçersiz kılınmasını önle"
+
+#~ msgctxt "Command to initiate OAuth authentication"
+#~ msgid "Request permission from %s"
+#~ msgstr "%s tarafından izin iste"
+
+# no need to translate - its generic
+#~ msgctxt "Name of the Application Callback Domain"
+#~ msgid "Javascript Origins"
+#~ msgstr "Javascript Origins"
+
+# no need to translate - its generic
+#~ msgctxt "Name of the OAuth 2.0 Client Secret"
+#~ msgid "Client secret"
+#~ msgstr "Client secret"
+
+# no need to translate - its generic
+#~ msgctxt "Name of the OAuth 2.0 Client ID"
+#~ msgid "Consumer Key"
+#~ msgstr "Consumer Key"
+
+# no need to translate - its generic
+#~ msgctxt "Name of the OAuth 2.0 Client Secret"
+#~ msgid "Consumer Secret"
+#~ msgstr "Consumer Secret"
+
+#~ msgctxt "Command to initiate OAuth authentication"
+#~ msgid "Request OAuth Permission"
+#~ msgstr "OAuth Yetki Ver"
+
+#~ msgctxt "Page Title"
+#~ msgid "Postman Settings"
+#~ msgstr "Postman Ayarları"
+
+#~ msgctxt "TCP Port Test Status"
+#~ msgid "Checking.."
+#~ msgstr "Kontrol ediliyor.."
+
+#~ msgctxt "TCP Port Test Status"
+#~ msgid "Open"
+#~ msgstr "Açık"
+
+#~ msgctxt "TCP Port Test Status"
+#~ msgid "Closed"
+#~ msgstr "Kapalı"
+
+#~ msgctxt "TCP Port Test Status"
+#~ msgid "Done."
+#~ msgstr "Harika."
+
+#~ msgctxt "TCP Port Test Status"
+#~ msgid "Yes"
+#~ msgstr "Evet"
+
+#~ msgctxt "TCP Port Test Status"
+#~ msgid "No"
+#~ msgstr "Hayır"
+
+#~ msgctxt "TCP Port Test Status"
+#~ msgid "Port"
+#~ msgstr "Portu"
+
+#~ msgid "Port %d is blocked. Contact your host for a solution, such as using their local SMTP server or opening the port."
+#~ msgstr "%d numaralı port engellenmiş. Hosting hizmeti aldığınız firma ile görüşerek port açılımını sağlayabilirsiniz."
+
+#~ msgid "Port %d can't send mail with %s. Try a different SMTP server."
+#~ msgstr "%d portunu kullanarak %s sunucusundan email gönderilemedi. Lütfen farklı bir SMTP server seçiniz."
+
+#~ msgid "Port %d can be used to send Gmail with the <a href=\"%s\">Postman Gmail Extension</a>."
+#~ msgstr "<a href=\"%s\">Postman Gmail Eklentisi</a> ile %d portunu kullanarak Gmail ile gönderim yapabilirsiniz."
+
+#~ msgid "Port %d is blocked. Contact your host for a solution, such as opening the port."
+#~ msgstr "%d numaralı port engelli. Hosting firmanız ile iletişim kurarak portu açtırabilirsiniz."
+
+#~ msgid "No ports are available for this SMTP server. Try a different SMTP host or contact your WordPress host for their specific solution."
+#~ msgstr "Bu SMTP server için herhangi bir port uygun değil. Farklı bir SMTP host deneyebilir ya da WordPress servisini aldığınız hosting ile çözüm sağlamaları için görüşebilirsiniz. "
+
+#~ msgctxt "Wizard Label"
+#~ msgid "current step:"
+#~ msgstr "şu anki adım:"
+
+#~ msgctxt "Wizard Label"
+#~ msgid "Pagination"
+#~ msgstr "Adım"
+
+#~ msgctxt "Wizard Label"
+#~ msgid "Finish"
+#~ msgstr "Bitir"
+
+#~ msgctxt "Wizard Label"
+#~ msgid "Next"
+#~ msgstr "Sonraki"
+
+#~ msgctxt "Wizard Label"
+#~ msgid "Previous"
+#~ msgstr "Geri"
+
+#~ msgctxt "Wizard Label"
+#~ msgid "Loading ..."
+#~ msgstr "Yükleniyor..."
+
+#~ msgid "Please note: <em>When composing email, other WordPress plugins and themes are forbidden from overriding the sender email address.</em>"
+#~ msgstr "Lütfen dikkat: <em>Email gönderimi sırasında diğer Eklentiler ya da Temalar gönderen adını değiştirebilir. Bunu kendi içlerinden değiştirebilirsiniz.</em>"
+
+#~ msgid "Please note: <em>When composing email, other WordPress plugins and themes may override the sender name and email address causing rejection with some email services, such as Yahoo Mail. If you experience problems, try leaving the sender email address empty in these plugins or themes.</em>"
+#~ msgstr "Lütfen dikkat: <em>Email gönderimi sırasında diğer Eklentiler ya da Temalar gönderen adını ya da email adresini değiştirebildiği için bazı email servislerine gönderim yapamayabilirsiniz (örn: Yahoo Mail). Eğer problem yaşarsanız gönderen email adresini diğer eklentilerin ve temaların ayarlarından boş bırakınız.</em>"
+
+#~ msgid "Postman has delivered <span style=\"color:green\">%d</span> email for you!"
+#~ msgid_plural "Postman has delivered <span style=\"color:green\">%d</span> emails for you!"
+#~ msgstr[0] "Postman sizin için <span style=\"color:green\">%d</span> adet email iletti!"
+
+#~ msgid "Please consider leaving a <a href=\"%s\">review of Postman SMTP</a> to help spread the word about the new way to send email from WordPress! :D"
+#~ msgstr "Eğer bu ücretsiz ve tatlı hizmetimizi sevdiyseniz <a href=\"%s\">buraya tıklayarak</a><br/> yorum eklerseniz çok seviniriz. Bu sayede birçok insan WordPress için bu yeni servisi tanır! :D"
+
+#~ msgctxt "Page Title"
+#~ msgid "Delete plugin settings"
+#~ msgstr "Eklenti ayarlarını sıfırla"
+
+#~ msgctxt "Page Title"
+#~ msgid "Connectivity Test"
+#~ msgstr "Bağlantı Testi"
+
+#~ msgctxt "Connectivity Test Table"
+#~ msgid "Outbound to Internet"
+#~ msgstr "Internete Bağlantı"
+
+#~ msgctxt "Connectivity Test Table"
+#~ msgid "Service Available"
+#~ msgstr "Servis Kullanılabilir"
+
+#~ msgctxt "Connectivity Test Table"
+#~ msgid "STARTTLS"
+#~ msgstr "STARTTLS"
+
+#~ msgid "Conclusion"
+#~ msgstr "Sonuç"
+
+#~ msgid "A <span style=\"color:red\">Closed</span> port indicates one or more of these issues:"
+#~ msgstr "<span style=\"color:red\">Kapalı</span> port:"
+
+#~ msgid "Your host has placed a firewall between this site and the Internet"
+#~ msgstr "Hosting hesabınızda site ile SMTP server arasında güvenlik duvarı var."
+
+#~ msgctxt "Page Title"
+#~ msgid "Tips and Diagnostic Info"
+#~ msgstr "İpuçları ve Tanı Bilgileri"
+
+#~ msgid "Please check the <a href=\"%1$s\">troubleshooting and error messages</a> page and the <a href=\"%2$s\">support forum</a>.</br>If you write for help, please include the following diagnostic information:"
+#~ msgstr "Lütfen <a href=\"%1$s\">hata ve sorun çözme sayfası</a> ya da <a href=\"%2$s\">destek forumlarına</a> göz atın.<br/>Yardım almak için lütfen tanı bilgisini de foruma yazınız:"
+
+#~ msgctxt "Page Title"
+#~ msgid "Diagnostic Information"
+#~ msgstr "Tanı Bilgisi"
+
+#~ msgctxt "Main Menu"
+#~ msgid "Get Started"
+#~ msgstr "Haydi Başlayalım"
+
+#~ msgctxt "Button Label"
+#~ msgid "Start the Wizard"
+#~ msgstr "Kurulum Sihirbazını Başlat"
+
+#~ msgctxt "Main Menu"
+#~ msgid "configure manually"
+#~ msgstr "el ile ayarla"
+
+#~ msgctxt "Page Title"
+#~ msgid "Send a Test Email"
+#~ msgstr "Test Emaili Gönder"
+
+#~ msgctxt "Main Menu"
+#~ msgid "Delete plugin settings"
+#~ msgstr "Eklenti ayarlarını sıfırla"
+
+#~ msgctxt "Main Menu"
+#~ msgid "Run a Connectivity Test"
+#~ msgstr "Bağlantı Testini Başlat"
+
+#~ msgctxt "Main Menu"
+#~ msgid "Online Support"
+#~ msgstr "Online Destek"
+
+#~ msgctxt "Plugin to Import Configuration from"
+#~ msgid "None"
+#~ msgstr "Hiçbiri"
+
+#~ msgid "Please enter the email address and name you'd like to send mail from."
+#~ msgstr "Lütfen gönderen email adresi ve ismi belirtiniz."
+
+#~ msgid "Please note that to combat Spam, many email services will <em>not</em> let you send from an e-mail address other than the one you authenticate with in step 5."
+#~ msgstr "Lütfen şunu da not edin, birçok email servisi <em>asla</em> kendi emailizden farklı bir email adına gönderim yapmanıza izin vermez."
+
+#~ msgctxt "Configuration Input Field"
+#~ msgid "Sender Email Name"
+#~ msgstr "Gönderen Email Adresi"
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "Outgoing Mail Server Hostname"
+#~ msgstr "SMTP Sunucusu"
+
+#~ msgid "This is the local Outgoing Mail Server, or Mail Submission Agent (MSA), which Postman delegates mail delivery to. These servers are normally specific to the email account you have, and if you don't know which server to use, ask your email service provider.<br/><br/>If possible, the Wizard will pre-fill this field based on the e-mail address you entered."
+#~ msgstr "Postman MSA (Mail Submission Agent) olarak da bilinen belirteceğiniz bu Giden Posta Sunucusu üzerinden email gönderecektir. Eğer mümkünse Postman bunu belirttiğiniz email adresinden bulmaya çalışacak."
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "Connectivity Test"
+#~ msgstr "Bağlantı Testi"
+
+#~ msgctxt "Wizard Action"
+#~ msgid "Connectivity Test"
+#~ msgstr "Bağlantı Testi"
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "Authentication"
+#~ msgstr "Kimlik Doğrulama"
+
+#~ msgid "Enter your credentials. Your username is most likely your email address."
+#~ msgstr "Bilgilerinizi giriniz. Kullanıcı adınız genellikle email adresinizdir."
+
+#~ msgctxt "Wizard Step Title"
+#~ msgid "Finish"
+#~ msgstr "Tamamla"
+
+#~ msgid "Request permission from the Email Provider to allow Postman to send email and"
+#~ msgstr "Email hizmeti aldığınız servisten Postman'a yetki verinki email gönderebilsin."
+
+#~ msgid "Status Message"
+#~ msgstr "Durum: "
diff --git a/Postman/languages/postman-smtp-zh_CN.mo b/Postman/languages/postman-smtp-zh_CN.mo
new file mode 100644
index 0000000..160df0a
--- /dev/null
+++ b/Postman/languages/postman-smtp-zh_CN.mo
Binary files differ
diff --git a/Postman/languages/postman-smtp-zh_CN.po b/Postman/languages/postman-smtp-zh_CN.po
new file mode 100644
index 0000000..13caa0e
--- /dev/null
+++ b/Postman/languages/postman-smtp-zh_CN.po
@@ -0,0 +1,1511 @@
+# Translation of Stable (latest release) in Chinese (China)
+# This file is distributed under the same license as the Stable (latest release) package.
+msgid ""
+msgstr ""
+"Project-Id-Version: Stable (latest release)\n"
+"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/postman-smtp\n"
+"POT-Creation-Date: 2015-11-08 17:10-0500\n"
+"PO-Revision-Date: 2015-11-09 01:02-0500\n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Generator: Poedit 1.8.6\n"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:94
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:348
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:357
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:99
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:116
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:75
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:545
+#: Postman/PostmanViewController.php:227
+msgid "Warning"
+msgstr "警告"
+
+#. translators: where %s is the name of the SMTP server
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:96
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:116
+msgid "connected to %1$s instead of %2$s."
+msgstr "连接到 %1$s 而不是 %2$s。"
+
+#. translators: where %d is a port number
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:98
+msgid "You are about to configure OAuth 2.0 with an IP address instead of a domain name. This is not permitted. Either assign a real domain name to your site or add a fake one in your local host file."
+msgstr "你将使用 IP 地址而不是域名配置 OAuth 2.0。这并不被允许。请为你的站点分配一个真实的域名,或者在本地 host 文件添加一个虚拟域名。"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:132
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:157
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:83
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:81
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:95
+#: Postman/PostmanViewController.php:53 Postman/PostmanViewController.php:76
+#: Postman/PostmanViewController.php:184 Postman/PostmanViewController.php:256
+msgid "%s Setup"
+msgstr "%s 安装"
+
+#. Plugin Name of the plugin/theme
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:132
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:157
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:83
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:57
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:70
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:81
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:333
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:176
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:95
+#: Postman/Postman.php:61 Postman/PostmanViewController.php:53
+#: Postman/PostmanViewController.php:54 Postman/PostmanViewController.php:76
+#: Postman/PostmanViewController.php:184 Postman/PostmanViewController.php:256
+msgid "Postman SMTP"
+msgstr "Postman SMTP"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:196
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:81
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:200
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:217 Postman/Postman.php:316
+#: Postman/PostmanAdminController.php:225
+msgid "Settings"
+msgstr "設定"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:198
+msgid "Account"
+msgstr "账户"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:199
+msgid "Message"
+msgstr "内容"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:200
+msgid "Logging"
+msgstr "记录日志"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:201
+msgid "Advanced"
+msgstr "高级设置"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:263
+msgid "Setup Wizard"
+msgstr "安装向导"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:296
+msgctxt "Wizard Step Title"
+msgid "Import Configuration"
+msgstr "导入配置"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:298
+msgctxt "Wizard Step Title"
+msgid "Import configuration from another plugin?"
+msgstr "从另外插件导入配置?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:299
+msgid "If you had a working configuration with another Plugin, the Setup Wizard can begin with those settings."
+msgstr "如果你有一个另外插件的配置文件,安装向导可以使用那些设置。"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:301
+#: Postman/Postman-Mail/PostmanModuleTransport.php:720
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:425
+msgid "None"
+msgstr "无"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:312
+msgctxt "Wizard Step Title"
+msgid "Sender Details"
+msgstr "发件人信息"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:314
+msgctxt "Wizard Step Title"
+msgid "Who is the mail coming from?"
+msgstr "邮件来自谁?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:315
+msgid "Enter the email address and name you'd like to send mail as."
+msgstr "输入发送邮件时使用的邮件地址和名字。"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:316
+msgid "Please note that to prevent abuse, many email services will <em>not</em> let you send from an email address other than the one you authenticate with."
+msgstr "请注意,为了避免混淆,很多邮件服务<em>不允许</em>你使用除验证的那个邮箱以外的地址。"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:317
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:49
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:112
+msgid "Email Address"
+msgstr "电邮地址"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:320
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:59
+msgid "Name"
+msgstr "名字"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:325
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:143
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:331
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:542
+msgid "Outgoing Mail Server Hostname"
+msgstr "发送邮件服务器主机名"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:333
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:337
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:138
+#: Postman/PostmanViewController.php:294
+msgid "Connectivity Test"
+msgstr "连接测试"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:335
+msgid "How will the connection to the mail server be established?"
+msgstr "如何确立到 MSA 的连接?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:336
+msgid "Your connection settings depend on what your email service provider offers, and what your WordPress host allows."
+msgstr "你的连接设置取决于邮件服务提供商的提供,以及你的 WordPress 托管商的许可。"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:337
+msgctxt "TCP Port Test Status"
+msgid "Ready"
+msgstr "Ready"
+
+#. Translators: Where %1$s is the socket identifier and %2$s is the
+#. authentication type
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:345
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgctxt "A socket is the network term for host and port together"
+msgid "Socket"
+msgstr "Socket"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:346
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:354
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:223
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:177
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:351
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:356
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:372
+msgid "Authentication"
+msgstr "验证"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:349
+msgid "This configuration option will send your authorization credentials in the clear."
+msgstr "该配置项将会发送你的验证凭证。"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:356
+msgid "How will you prove your identity to the mail server?"
+msgstr "如何向 MSA 证明你的标识?"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:363
+msgctxt "The final step of the Wizard"
+msgid "Finish"
+msgstr "完成"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:365
+msgctxt "Wizard Step Title"
+msgid "You're Done!"
+msgstr "已经完成!"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:367
+msgid "Click Finish to save these settings, then:"
+msgstr "点击完成保存设置,然后:"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:369
+msgid "Grant permission with the Email Provider for Postman to send email and"
+msgstr "向邮件提供商申请授权,以便 Postman 发送邮件"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:370
+msgid "Send yourself a Test Email to make sure everything is working!"
+msgstr "发送测试邮件,确保所有设置正确!"
+
+#. translators: where %s is the URL to the Connectivity Test page
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:514
+msgid "Postman can't find any way to send mail on your system. Run a <a href=\"%s\">connectivity test</a>."
+msgstr "Postman 在你的系统上无法找到任何发送邮件的方法。运行<a href=\"%s\">连接测试</a>。"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:33
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Transport"
+msgstr "交通"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:38
+msgctxt "(i.e.) What kind is it?"
+msgid "Type"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:44
+msgctxt "The Message Sender Email Address"
+msgid "From Address"
+msgstr "消息发件人地址"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:70
+msgid "Additional Email Addresses"
+msgstr "额外的邮件地址"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:75
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:220
+msgid "Reply-To"
+msgstr "回复"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:80
+msgid "To Recipient(s)"
+msgstr "收件人"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:85
+msgid "Carbon Copy Recipient(s)"
+msgstr "抄送收件人"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:90
+msgid "Blind Carbon Copy Recipient(s)"
+msgstr "匿名抄送收件人"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:96
+msgid "Additional Headers"
+msgstr "附加头"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:101
+msgid "Custom Headers"
+msgstr "自定义头"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:107
+msgid "Validation"
+msgstr "Validation"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:118
+msgid "Email Log Settings"
+msgstr "邮件日志设置"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:123
+msgid "Enable Logging"
+msgstr "启用日志"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:128
+#: Postman/PostmanInputSanitizer.php:137
+msgid "Maximum Log Entries"
+msgstr "日志最大数量"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:133
+msgid "Maximum Transcript Size"
+msgstr "传输最大行数"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:139
+msgid "Network Settings"
+msgstr "网络设置"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:144
+msgctxt "Configuration Input Field"
+msgid "TCP Connection Timeout (sec)"
+msgstr "TCP 连接超时(秒)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:149
+msgctxt "Configuration Input Field"
+msgid "TCP Read Timeout (sec)"
+msgstr "TCP 读取超时(秒)"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:155
+msgctxt "Configuration Section Title"
+msgid "Miscellaneous Settings"
+msgstr "其它设置"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:160
+msgctxt "Configuration Input Field"
+msgid "PHP Log Level"
+msgstr "PHP 日志级别"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:165
+msgctxt "Configuration Input Field"
+msgid "Delivery Mode"
+msgstr "发送模式"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:170
+msgctxt "This mode removes the Postman X-Mailer signature from emails"
+msgid "Stealth Mode"
+msgstr "Stealth 模式"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:175
+msgid "Temporary Directory"
+msgstr "Temporary 模式"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:186
+msgid "Choose SMTP or a vendor-specific API:"
+msgstr "选择 SMTP 或提供者的 API:"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:189
+msgid "Configure the delivery audit log:"
+msgstr "配置发送审计日志:"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:196
+msgid "This address, like the <b>letterhead</b> printed on a letter, identifies the sender to the recipient. Change this when you are sending on behalf of someone else, for example to use Google's <a href=\"%s\">Send Mail As</a> feature. Other plugins, especially Contact Forms, may override this field to be your visitor's address."
+msgstr "该地址类似于印在信纸上的<b>信头</b>,用于向收信人标识寄信人。当你在发送时,修改该值,以代表另外的人,例如为了使用 Google 的 <a href=\"%s\">Send Mail As</a> 特性。其它插件,特别是 Contact Forms,可能会使用访问者的地址覆盖该值。"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:203
+msgid "Separate multiple <b>to</b>/<b>cc</b>/<b>bcc</b> recipients with commas."
+msgstr "使用逗号分隔多个 <b>to</b>/<b>cc</b>/<b>bcc</b> 收件人。"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:210
+msgid "Increase the timeouts if your host is intermittenly failing to send mail. Be careful, this also correlates to how long your user must wait if the mail server is unreachable."
+msgstr "如果你的主机经常发送邮件失败,请增加超时。注意,如果邮件服务器不可到达,这也会增加用户的等待时间。"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:221
+msgid "Specify custom headers (e.g. <code>X-MC-Tags: wordpress-site-A</code>), one per line. Use custom headers with caution as they can negatively affect your Spam score."
+msgstr "每行一个自定义头(例如 <code>X-MC-Tags: wordpress-site-A</code>)。小心使用自定义头,因为它们可能会影响垃圾邮件评分。"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:228
+msgid "E-mail addresses can be validated before sending e-mail, however this may fail with some newer domains."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:254
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:276
+msgid "Prevent <b>plugins</b> and <b>themes</b> from changing this"
+msgstr "阻止<b>插件</b>和<b>主题</b>修改"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:261
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:405
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:244
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:195
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:409
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:416
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:459
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:467
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:475
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:482
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:530
+msgid "Required"
+msgstr "需要"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:268
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:531
+msgid "This address, like the <b>return address</b> printed on an envelope, identifies the account owner to the SMTP server."
+msgstr "该地址类似于印在信封上面的<b>回信地址</b>,用于向 SMTP 服务器标识账户所有者。"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:289
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:108
+msgid "Yes"
+msgstr "是"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:290
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:109
+msgid "No"
+msgstr "否"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:300
+msgid "Change this value if you can't see the beginning of the transcript because your messages are too big."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:343
+msgid "Disable e-mail validation"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:350
+msgid "Log Level specifies the level of detail written to the <a target=\"_new\" href=\"%s\">WordPress Debug log</a> - view the log with <a target-\"_new\" href=\"%s\">Debug</a>."
+msgstr "日志级别指定写入到 WordPress 日志的详细信息的级别。使用 <a href=\"%s\">Debug</a> 查看日志。Delivery 模式提供了帮助开发和测试的有用设置。"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:353
+msgid "Off"
+msgstr "關閉"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:354
+msgid "Trace"
+msgstr "Trace"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:355
+msgid "Debug"
+msgstr "调试"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:356
+msgid "Info"
+msgstr "信息"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:358
+msgid "Error"
+msgstr "错误"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:366
+msgid "Delivery mode offers options useful for developing or testing."
+msgstr "Delivery 模式提供了帮助开发和测试的有用设置。"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:369
+msgctxt "When the server is online to the public, this is \"Production\" mode"
+msgid "Log Email and Send"
+msgstr "记录邮件和发送"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:370
+msgid "Log Email and Delete"
+msgstr "记录邮件并删除"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:371
+msgid "Delete All Emails"
+msgstr "删除所有邮件"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:375
+msgid "Remove the Postman X-Header signature from messages"
+msgstr "从消息中移除 Postman X-Header 签名"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:378
+msgid "Lockfiles are written here to prevent users from triggering an OAuth 2.0 token refresh at the same time."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:381
+msgid "Valid"
+msgstr "有效"
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:383
+msgid "Invalid"
+msgstr "错误"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:105
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:109
+msgctxt "The \"please wait\" message"
+msgid "Checking.."
+msgstr "正在检测.."
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:106
+msgctxt "The port is open"
+msgid "Open"
+msgstr "打开"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:107
+msgctxt "The port is closed"
+msgid "Closed"
+msgstr "关闭"
+
+#. translators: where %d is a port number
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:111
+msgid "No outbound route between this site and the Internet on Port %d."
+msgstr "本站与 Internet 在端口 %d 之间没有路由。"
+
+#. translators: where %d is a port number and %s is a hostname
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:113
+msgid "Port %d is open, but not to %s."
+msgstr "端口 %d 已经打开,但是不能 %s。"
+
+#. translators: where %d is the port number and %s is the hostname
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:115
+msgid "Port %d can be used for SMTP to %s."
+msgstr "端口 %d 可以供 SMTP 到 %s。"
+
+#. translators: where %d is a port number and %s is the URL for the Postman
+#. Gmail Extension
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:118
+msgid "Port %d can be used with the %s."
+msgstr "端口 %d 可以通过 %s 发送 email。"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:141
+msgid "This test determines which well-known ports are available for Postman to use."
+msgstr "测试确定 Postman 可以使用的一般端口。"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:145
+msgctxt "Button Label"
+msgid "Begin Test"
+msgstr "开始测试"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:162
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:152
+msgid "Status"
+msgstr "情况"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Service Available"
+msgstr "可用的服务"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Server ID"
+msgstr ""
+
+#. Translators: Meaning "Not Applicable"
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:155
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:260
+msgid "n/a"
+msgstr "无"
+
+#. Translators: Where %s is the name of the service providing Internet
+#. connectivity test
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:160
+msgid "According to %s"
+msgstr ""
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:163
+msgid "Summary"
+msgstr "概要"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:168
+msgid "A test with <span style=\"color:red\">\"No\"</span> Service Available indicates one or more of these issues:"
+msgstr "端口与 Service Available <span style=\"color:red\">\"No\"</span> 表示下列一个或多个问题:"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:170
+msgid "Your web host has placed a firewall between this site and the Internet"
+msgstr "web 主机在本站与 Internet 之间设置了防火墙"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:171
+msgid "The SMTP hostname is wrong or the mail server does not provide service on this port"
+msgstr "SMTP 主机名错误,或邮件服务器没有在该端口提供服务"
+
+#. translators: where (1) is the URL and (2) is the system
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:173
+msgid "Your <a href=\"%1$s\">%2$s configuration</a> is preventing outbound connections"
+msgstr "<a href=\"%1$s\">%2$s 设置</a>阻止了出站连接"
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:177
+msgid "If the issues above can not be resolved, your last option is to configure Postman to use an email account managed by your web host with an SMTP server managed by your web host."
+msgstr "如果上述问题没有解决,最后可选设置是,配置 Postman 使用一个你自己的运行有 SMTP 服务器的 web 主机的邮件账号。"
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:82
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman.php:317
+msgctxt "The log of Emails that have been delivered"
+msgid "Email Log"
+msgstr "邮件日志"
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:95
+msgid "Error: Postman is missing a required PHP library."
+msgstr "错误:Postman 无法找到一个必须的 PHP 库。"
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:97
+#: Postman/Postman.php:257
+msgid "Postman: wp_mail has been declared by another plugin or theme, so you won't be able to use Postman until the conflict is resolved."
+msgstr "Postman:另外的插件或主题已经声明了 wp_mail,无法启用 Postman,除非该冲突解决。"
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:100
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:229
+msgid "Postman is in <em>non-Production</em> mode and is dumping all emails."
+msgstr "Postman 运行在 <em>非生产环境</em>,所有邮件都会被记录。"
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:102
+msgid "<span style=\"color:green\">Postman is configured</span> and has delivered <span style=\"color:green\">%d</span> email."
+msgid_plural "<span style=\"color:green\">Postman is configured</span> and has delivered <span style=\"color:green\">%d</span> emails."
+msgstr[0] "<span style=\"color:green\">Postman 已经配置完毕</span>,已经发送了 <span style=\"color:green\">%d</span> 封邮件。"
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:104
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:234
+msgid "Postman is <em>not</em> configured and is mimicking out-of-the-box WordPress email delivery."
+msgstr ""
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:116
+msgid "Postman is operating in per-site mode."
+msgstr "Postman 运行在 per-site 模式。"
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:102
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:107
+#: Postman/PostmanViewController.php:295
+msgid "Diagnostic Test"
+msgstr "诊断测试"
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:104
+msgid "Are you having issues with Postman?"
+msgstr "对 Postman 有问题?"
+
+#. translators: where %1$s and %2$s are the URLs to the Troubleshooting and
+#. Support Forums on WordPress.org
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:106
+msgid "Please check the <a href=\"%1$s\">troubleshooting and error messages</a> page and the <a href=\"%2$s\">support forum</a>."
+msgstr "请查看<a href=\"%1$s\">解决故障和错误消息</a>页面以及<a href=\"%2$s\">支持论坛</a>。"
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:108
+msgid "If you write for help, please include the following:"
+msgstr "如果你寻求帮助,请包含以下内容:"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:90
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:242
+msgid "Your message was delivered (%d ms) to the SMTP server! Congratulations :)"
+msgstr "你的消息已经被发送到 SMTP 服务器(%d ms)!祝贺 :)"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:156
+msgid "Mail Log Entries were deleted."
+msgstr "邮件日志已被删除。"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:179
+msgid "Mail Log Entry was deleted."
+msgstr "邮件日志已被删除。"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:204
+msgctxt "Who is this message From?"
+msgid "From"
+msgstr "发件人"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:208
+msgctxt "Who is this message To?"
+msgid "To"
+msgstr "收件人"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:212
+msgctxt "Who is this message Cc'd to?"
+msgid "Cc"
+msgstr "抄送"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:216
+msgctxt "Who is this message Bcc'd to?"
+msgid "Bcc"
+msgstr "隐藏抄送"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:222
+msgctxt "What is the date today?"
+msgid "Date"
+msgstr "日期"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:223
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:161
+msgctxt "What is the subject of this message?"
+msgid "Subject"
+msgstr "主题"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:226
+msgctxt "What is the unique URI of the configuration?"
+msgid "Delivery-URI"
+msgstr "发送 URI"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:253
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:161
+msgid "This is the conversation between Postman and the mail server. It can be useful for diagnosing problems. <b>DO NOT</b> post it on-line, it may contain your account password."
+msgstr "这是 Postman 和你自己的 SMTP 服务器之间的相互转换,对于诊断问题很有帮助。<b>不要</b>在线上使用,因为可能包含你的账户密码。"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:333
+msgid "%s Email Log"
+msgstr "%s 邮件日志"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:301
+msgid "Email was successfully resent (but without attachments)"
+msgstr ""
+
+#. Translators: Where %s is an error message
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:303
+msgid "Email could not be resent. Error: %s"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:304
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:110
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:112
+msgid "Resend"
+msgstr "重新发送"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:339
+msgid "This is a record of deliveries made to the mail server. It does not neccessarily indicate sucessful delivery to the recipient."
+msgstr "这是为 Mail Submission Agent (MSA) 提供的发送记录,并不代表已经成功发送给收件人。"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogPostType.php:37
+msgctxt "The group of Emails that have been delivered"
+msgid "Sent Emails"
+msgstr "已发送邮件"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogPostType.php:38
+msgctxt "An Email that has been delivered"
+msgid "Sent Email"
+msgstr "已发送邮件"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:75
+msgid "An empty subject line can result in delivery failure."
+msgstr "空白的主题行可能会导致发送失败。"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:196
+msgid ".. +%d more"
+msgstr ".. +%d 更多"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:99
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:223
+msgctxt "Delete an item from the email log"
+msgid "Delete"
+msgstr "删除"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:100
+msgctxt "View an item from the email log"
+msgid "View"
+msgstr "查看"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:104
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:106
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:158
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:163
+msgid "Session Transcript"
+msgstr "会话副本"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:163
+msgctxt "When was this email sent?"
+msgid "Delivery Time"
+msgstr "发送时间"
+
+#. Translators: where %s indicates the relative time from now
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:332
+msgctxt "A relative time as in \"five days ago\""
+msgid "%s ago"
+msgstr "%s 之前"
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:338
+msgid "Sent"
+msgstr "已发送"
+
+#: Postman/Postman-Mail/PostmanDefaultModuleTransport.php:107
+msgid "Default"
+msgstr "缺省"
+
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:102
+msgid "Gmail API"
+msgstr "Gmail API"
+
+#. translators: where (1) is the secure icon and (2) is the transport name
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:152
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:135
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:79
+msgid "Postman will send mail via the <b>%1$s %2$s</b>."
+msgstr "Postman 将通过 <b>%1$s %2$s</b> 使用 %s 验证发送邮件。"
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:166
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:117
+msgid "You have configured OAuth 2.0 authentication, but have not received permission to use it."
+msgstr "已经设置好 QAuth 2.0 验证,但是没有收到使用权限。"
+
+#. translators: where variables are (1) transport name (2) host and (3) port
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:206
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:181
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:125
+msgid "Postman recommends the %1$s to host %2$s on port %3$d."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:221
+#: Postman/Postman-Mail/PostmanModuleTransport.php:713
+msgid "OAuth 2.0 (requires Client ID and Client Secret)"
+msgstr "QAuth 2.0(要求 Client ID 和 Client Secret)"
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:44
+msgid "Mandrill API"
+msgstr "Mandrill API"
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:147
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:101
+msgid "API Key can not be empty"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:151
+#: Postman/Postman-Mail/PostmanModuleTransport.php:578
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:105
+msgid "Message From Address can not be empty"
+msgstr "信封发件人地址和消息发件人地址不能为空。"
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:194
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:228
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:271
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:148
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:182
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:222
+msgid "API Key"
+msgstr ""
+
+#. Translators: Where (1) is the service URL and (2) is the service name and
+#. (3) is a api key URL
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:238
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:189
+msgid "Create an account at <a href=\"%1$s\" target=\"_new\">%2$s</a> and enter <a href=\"%3$s\" target=\"_new\">an API key</a> below."
+msgstr ""
+
+#. translators: where (1) is the transport type, (2) is the host, and (3) is
+#. the Authentication Type (e.g. Postman will send mail via smtp.gmail.com:465
+#. using OAuth 2.0 authentication.)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:506
+msgid "Postman will send mail via %1$s to %2$s using %3$s authentication."
+msgstr "Postman 将通过 %1$s 向 %2$s 使用 %3$s 验证方式发送邮件。"
+
+#. translators: where %1$s is the Transport type (e.g. SMTP or SMTPS) and %2$s
+#. is the encryption type (e.g. SSL or TLS)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:534
+msgctxt "as in \"There is no Spoon\""
+msgid "no"
+msgstr "没有"
+
+#: Postman/Postman-Mail/PostmanModuleTransport.php:553
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:366
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:584
+msgid "Password"
+msgstr "密码"
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label (e.g. Warning: OAuth 2.0 authentication requires an OAuth 2.0-capable
+#. Outgoing Mail Server, Sender Email Address, Client ID, and Client Secret.)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:584
+msgid "OAuth 2.0 authentication requires a %1$s and %2$s."
+msgstr "OAuth 2.0 验证需要 %1$s 和 %2$s。"
+
+#: Postman/Postman-Mail/PostmanModuleTransport.php:706
+msgid "Password (requires username and password)"
+msgstr "密码(要求用户名和密码)"
+
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:200
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:217
+msgid "MyMail: Change the delivery method in the %s!"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:39
+msgid "SendGrid API"
+msgstr "SendGrid API"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:95
+msgid "Outgoing Mail Server Hostname and Port can not be empty."
+msgstr "发送邮件服务器主机名和端口不能为空。"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:99
+msgid "Envelope-From Email Address can not be empty"
+msgstr "信封发件人地址和消息发件人地址不能为空。"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:103
+msgid "Username and password can not be empty."
+msgstr "密码验证(Plain/Login/CRAM-MD5)要求用户名和密码。"
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label (e.g. Warning: OAuth 2.0 authentication requires an OAuth 2.0-capable
+#. Outgoing Mail Server, Sender Email Address, Client ID, and Client Secret.)
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:109
+msgid "OAuth 2.0 authentication requires a supported OAuth 2.0-capable Outgoing Mail Server."
+msgstr "OAuth 2.0 验证要求兼容 OAuth 2.0 的发送邮件服务器。"
+
+#. translators: where %1$s is a description of the transport (eg. SMTPS-SSL),
+#. %2$s is a description of the authentication (eg. Password-CRAMMD5), %3$d is
+#. the TCP port (eg. 465), %4$d is the hostname
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:269
+msgid "Postman recommends %1$s with %2$s authentication to host %4$s on port %3$d."
+msgstr "你的推荐设置是使用 %2$s 验证的 %1$s,主机为 %4$s,端口号 %3$d。"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:326
+msgid "Transport Settings"
+msgstr "传输设置"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:336
+msgid "Outgoing Mail Server Port"
+msgstr "发送邮件服务器端口"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:341
+msgid "Envelope-From Email Address"
+msgstr "信封发件人地址"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:346
+msgctxt "Configuration Input Field"
+msgid "Security"
+msgstr "安全"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:361
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:580
+msgid "Username"
+msgstr "用户名"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:402
+msgid "Configure the communication with the mail server."
+msgstr "设置与 Mail Submission Agent (MSA) 的通讯:"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:449
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:579
+msgid "Enter the account credentials."
+msgstr "输入账户用户名(邮件地址)和密码."
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:457
+msgid "The Username is usually the same as the Envelope-From Email Address."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:511
+msgid "Error computing your domain root - please enter it manually"
+msgstr "无法计算域名的根,请手动输入"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:532
+msgid "For reliable delivery, this domain must specify an <a target=\"_new\" href=\"%s\">SPF record</a> permitting the use of the SMTP server named above."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:539
+msgctxt "Wizard Step Title"
+msgid "Which host will relay the mail?"
+msgstr "哪个主机回复邮件?"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:540
+msgid "This is the Outgoing (SMTP) Mail Server, or Mail Submission Agent (MSA), which Postman delegates mail delivery to. This server is specific to your email account, and if you don't know what to use, ask your email service provider."
+msgstr "这是 Postman 代理发送邮件的出站(SMTP)邮件服务器,或者 Mail Submission Agent (MSA)。该服务器由邮件账户指定,如果你不知道该使用什么,询问你的邮件服务提供商。"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:541
+msgid "Note that many WordPress hosts, such as GoDaddy, Bluehost and Dreamhost, require that you use their mail accounts with their mail servers, and prevent you from using others."
+msgstr "注意,很多 WordPress 托管商,比如 GoDaddy、Bluehost 和 Dreamhost,要求你使用他们的邮件帐户和邮件服务器,并且不允许你使用另外的。"
+
+#. Translators: Where (%s) is the name of the web host
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:547
+msgid "Your email address <b>requires</b> access to a remote SMTP server blocked by %s."
+msgstr "你的邮件地址<b>要求</b>访问一个被 %s 阻止的远程 SMTP 服务器。"
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:548
+msgid "If you have access to cPanel, enable the Remote Mail Exchanger."
+msgstr ""
+
+#. Translators: Where (%1$s) is the SPF-info URL and (%2$s) is the name of the
+#. web host
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:551
+msgid "If you own this domain, make sure it has an <a href=\"%1$s\">SPF record authorizing %2$s</a> as a relay, or you will have delivery problems."
+msgstr "如果你拥有这个域名,确保它有 <a href=\"%1$s\">SPF record authorizing GoDaddy</a> 作为回复,否则你可能会有发送的问题。"
+
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:231
+msgid "Postman is configured."
+msgstr "Postman 配置完成。"
+
+#: Postman/Postman-Mail/PostmanZendMailEngine.php:209
+msgid "Communication Error [334] - make sure the Envelope From email is the same account used to create the Client ID."
+msgstr "通信错误 [334] - 确认信封发件人邮件地址与创建 Client ID 的地址是同一个。"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:115
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:149
+msgctxt "Email Test Status"
+msgid "In Outbox"
+msgstr "发件箱"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:116
+msgctxt "Email Test Status"
+msgid "Sending..."
+msgstr "正在发送..."
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:117
+msgctxt "Email Test Status"
+msgid "Success"
+msgstr "成功"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:118
+msgctxt "Email Test Status"
+msgid "Failed"
+msgstr "失败"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:119
+msgid "Ajax Error"
+msgstr "Ajax 错误"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:128
+#: Postman/PostmanViewController.php:273 Postman/PostmanViewController.php:275
+msgid "Send a Test Email"
+msgstr "发送测试邮件"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:133
+msgid "Specify the Recipient"
+msgstr "指定收件人"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:135
+msgid "Who is this message going to?"
+msgstr "这条消息将发送给谁?"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:136
+msgid "This utility allows you to send an email message for testing."
+msgstr "这个工具允许你发送邮件消息进行测试。"
+
+#. translators: where %d is an amount of time, in seconds
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:139
+msgid "If there is a problem, Postman will give up after %d second."
+msgid_plural "If there is a problem, Postman will give up after %d seconds."
+msgstr[0] "如果有问题,Postman 将在 %d 秒后放弃。"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:140
+msgctxt "Configuration Input Field"
+msgid "Recipient Email Address"
+msgstr "收件人地址"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:145
+msgid "Send The Message"
+msgstr "发送消息"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:148
+msgid "Sending the message:"
+msgstr "发送消息:"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:160
+msgid "Examine the Session Transcript if you need to."
+msgstr "如果需要,检查 SMTP 会话副本。"
+
+#. translators: where %s is the domain name of the site
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:212
+msgctxt "Test Email Subject"
+msgid "Postman SMTP Test (%s)"
+msgstr "Postman SMTP 测试 (%s)"
+
+#. translators: where %s is the Postman plugin version number (e.g. 1.4)
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:299
+msgctxt "Test Email Tagline"
+msgid "Sent by Postman %s"
+msgstr "通过 Postman %s 发送"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:300
+msgid "Image source"
+msgstr "图片源"
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:301
+msgid "Used with permission"
+msgstr "授权使用"
+
+#: Postman/PostmanAdminController.php:111
+msgctxt "The plugin successfully saved new settings."
+msgid "Settings saved."
+msgstr "设置已保存。"
+
+#. Translators: where %1$s is the name of the library
+#: Postman/PostmanAdminController.php:178
+msgid "This PHP installation requires the <b>%1$s</b> library."
+msgstr "PHP 安装要求 <b>%1$s</b>。"
+
+#: Postman/PostmanAdminController.php:253
+msgid "There was an error importing the data."
+msgstr ""
+
+#: Postman/PostmanAdminController.php:270
+msgid "Plugin data was removed."
+msgstr "插件数据已被移除。"
+
+#: Postman/PostmanAdminController.php:294
+msgid "The OAuth 2.0 authorization was successful. Ready to send e-mail."
+msgstr "OAuth 2.0 验证成功。准备发送邮件。"
+
+#: Postman/PostmanAdminController.php:296
+msgid "Your email provider did not grant Postman permission. Try again."
+msgstr "你的邮件提供商没有给 Postman 授权。请重新尝试。"
+
+#: Postman/PostmanAdminController.php:299
+msgid "The grant code from Google had no accompanying state and may be a forgery"
+msgstr "来自 Google 的授权码没有匹配的状态,可能是伪造的"
+
+#. translators: %s is the error message
+#: Postman/PostmanAdminController.php:303
+msgid "Error authenticating with this Client ID. [%s]"
+msgstr "该 Client ID 验证错误。[%s]"
+
+#: Postman/PostmanConfigTextHelper.php:31
+msgid "Attention"
+msgstr "注意"
+
+#. translators: parameters available are 1=portal-url, 2=portal-name,
+#. 3=clientId-name, 4=clientSecret-name, 5=callbackUrl, 6=service-name,
+#. 7=portal-application (e.g. Open the Google Developer Console, create a
+#. Client ID for web application using the URL's displayed below, and copy the
+#. Client ID and Client Secret here.)
+#: Postman/PostmanConfigTextHelper.php:33
+msgid "Open the <a href=\"%1$s\" target=\"_new\">%2$s</a>, create <b>%7$s</b> with the values displayed below, and copy the generated %3$s and %4$s here."
+msgstr "打开 <a href=\"%1$s\" target=\"_new\">%2$s</a>,使用下面列出的值创建 <b>%7$s</b>,复制生成的 %3$s 并且 %4$s 这里。"
+
+#. translators: parameters available are 1=clientId-name, 2=service-name,
+#. 3=FAQ-URL, 4=Video-URL (e.g. See How do I get a Google Client ID? in the
+#. F.A.Q.)
+#: Postman/PostmanConfigTextHelper.php:36
+msgid "See <a href=\"%3$s\" target=\"_new\">How do I get a %1$s %2$s?</a> in the F.A.Q. or <a href=\"%4$s\" target=\"_new\">watch our How-To video 📺</a>."
+msgstr "详见 F.A.Q. 中的<a href=\"%3$s\" target=\"_new\">我怎样获得 %1$s %2$s?</a>,或者<a href=\"%4$s\" target=\"_new\">观看我们的 How-To 视频 📺</a>。"
+
+#. translators: where %s is the Email Service Owner (e.g. Google, Microsoft or
+#. Yahoo)
+#: Postman/PostmanConfigTextHelper.php:54
+msgctxt "Command to initiate OAuth authentication"
+msgid "Grant permission with %s"
+msgstr "使用 %s 授权"
+
+#. Translators: This description is specific to Google
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:80
+#: Postman/PostmanConfigTextHelper.php:142
+#: Postman/PostmanConfigTextHelper.php:204
+#: Postman/PostmanConfigTextHelper.php:271
+msgctxt "Name of the OAuth 2.0 Client ID"
+msgid "Client ID"
+msgstr "Client ID"
+
+#. Translators: This description is specific to Google
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:84
+#: Postman/PostmanConfigTextHelper.php:146
+#: Postman/PostmanConfigTextHelper.php:208
+#: Postman/PostmanConfigTextHelper.php:274
+msgctxt "Name of the OAuth 2.0 Client Secret"
+msgid "Client Secret"
+msgstr "Client Secret"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:88
+msgctxt "Name of the Application Callback URI"
+msgid "Authorized redirect URI"
+msgstr "已授权的重定向 URI"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:92
+msgctxt "Name of the Application Callback Domain"
+msgid "Authorized JavaScript origins"
+msgstr "已授权的 JavaScript 源"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:96
+msgctxt "Name of the email service owner"
+msgid "Google"
+msgstr "Google"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:100
+msgctxt "Name of the email service"
+msgid "Gmail"
+msgstr "Gmail"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:104
+msgctxt "Description of the email service OAuth 2.0 Application"
+msgid "a Client ID for web application"
+msgstr "web 应用程序的 Client ID"
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:108
+msgctxt "Name of the email service portal"
+msgid "Google Developers Console Gmail Wizard"
+msgstr "Google Developers Console Gmail Wizard"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:150
+msgctxt "Name of the Application Callback URI"
+msgid "Redirect URL"
+msgstr "重定向 URL"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:154
+msgctxt "Name of the Application Callback Domain"
+msgid "Root Domain"
+msgstr "根域名"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:158
+msgctxt "Name of the email service owner"
+msgid "Microsoft"
+msgstr "Microsoft"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:162
+msgctxt "Name of the email service"
+msgid "Outlook.com"
+msgstr "Outlook.com"
+
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:166
+#: Postman/PostmanConfigTextHelper.php:228
+msgctxt "Description of the email service OAuth 2.0 Application"
+msgid "an Application"
+msgstr "应用程序"
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:170
+msgctxt "Name of the email service portal"
+msgid "Microsoft Developer Center"
+msgstr "Microsoft Developer Center"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:212
+msgctxt "Name of the Application Callback URI"
+msgid "Home Page URL"
+msgstr "主页 URL"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:216
+msgctxt "Name of the Application Callback Domain"
+msgid "Callback Domain"
+msgstr "回调域名"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:220
+msgctxt "Name of the email service owner"
+msgid "Yahoo"
+msgstr "Yahoo"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:224
+msgctxt "Name of the email service"
+msgid "Yahoo Mail"
+msgstr "Yahoo Mail"
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:232
+msgctxt "Name of the email service portal"
+msgid "Yahoo Developer Network"
+msgstr "Yahoo Developer Network"
+
+#: Postman/PostmanConfigTextHelper.php:261
+msgid "Enter an Outgoing Mail Server with OAuth2 capabilities."
+msgstr "输入兼容 OAuth2 的发送邮件服务器。"
+
+#: Postman/PostmanConfigTextHelper.php:277
+msgctxt "Name of the Application Callback URI"
+msgid "Redirect URI"
+msgstr "重定向 URI"
+
+#: Postman/PostmanConfigTextHelper.php:280
+msgctxt "Name of the Application Callback Domain"
+msgid "Website Domain"
+msgstr "网站域名"
+
+#: Postman/PostmanConfigTextHelper.php:304
+msgid "Grant OAuth 2.0 Permission"
+msgstr "OAuth 2.0 授权"
+
+#: Postman/PostmanInputSanitizer.php:137
+msgid "must be greater than 0"
+msgstr "必须大于 0"
+
+#: Postman/PostmanViewController.php:112
+msgid "An unexpected error occurred"
+msgstr ""
+
+#: Postman/PostmanViewController.php:113
+msgid "Unexpected PHP messages corrupted the Ajax response"
+msgstr ""
+
+#: Postman/PostmanViewController.php:118
+msgctxt "Press this button to Finish this task"
+msgid "Finish"
+msgstr "完成"
+
+#: Postman/PostmanViewController.php:119
+msgctxt "Press this button to go to the next step"
+msgid "Next"
+msgstr "下一步"
+
+#: Postman/PostmanViewController.php:120
+msgctxt "Press this button to go to the previous step"
+msgid "Previous"
+msgstr "上一步"
+
+#: Postman/PostmanViewController.php:132
+msgid "Postman is unable to run. Email delivery is being handled by WordPress (or another plugin)."
+msgstr "Postman <em>没有</em> 处理邮件发送。"
+
+#. translators: where %d is the number of emails delivered
+#: Postman/PostmanViewController.php:147
+msgid "Postman has delivered <span style=\"color:green\">%d</span> email."
+msgid_plural "Postman has delivered <span style=\"color:green\">%d</span> emails."
+msgstr[0] "Postman 已经发送了 <span style=\"color:green\">%d</span> 封邮件。"
+
+#: Postman/PostmanViewController.php:150
+msgid "The last %d email attempts are recorded <a href=\"%s\">in the log</a>."
+msgstr "最新的 %d 封邮件记录在 <a href=\"%s\">该日志</a>。"
+
+#: Postman/PostmanViewController.php:155
+msgid "Thank-you for choosing Postman!"
+msgstr "感谢选择 Postman!"
+
+#. translators: where %s is the URL of the Setup Wizard
+#: Postman/PostmanViewController.php:157
+msgid "Let's get started! All users are strongly encouraged to <a href=\"%s\">run the Setup Wizard</a>."
+msgstr "开始吧!我们强烈推荐<a href=\"%s\">运行安装向导</a>。"
+
+#: Postman/PostmanViewController.php:158
+msgid "Alternately, <a href=\"%s\">manually configure</a> your own settings and/or modify advanced options."
+msgstr "另外,<a href=\"%s\">手动配置</a>你自己的参数和高级设置。"
+
+#. translators: where %s is the URL to the WordPress.org review and ratings
+#. page
+#: Postman/PostmanViewController.php:163
+msgid "Please consider <a href=\"%s\">leaving a review</a> to help spread the word! :D"
+msgstr "请考虑<a href=\"%s\">留言</a>帮助推广!:D"
+
+#: Postman/PostmanViewController.php:165
+msgid "Postman needs translators! Please take a moment to <a href=\"%s\">translate a few sentences on-line</a>"
+msgstr ""
+
+#: Postman/PostmanViewController.php:167
+msgid "<b style=\"background-color:yellow\">New for v1.7!</style></b> Send mail with the Mandrill or SendGrid APIs."
+msgstr ""
+
+#: Postman/PostmanViewController.php:191
+msgctxt "Return to main menu link"
+msgid "Back To Main Menu"
+msgstr "返回到主菜单"
+
+#: Postman/PostmanViewController.php:198 Postman/PostmanViewController.php:233
+#: Postman/PostmanViewController.php:284
+msgid "Import"
+msgstr "汇入"
+
+#: Postman/PostmanViewController.php:199 Postman/PostmanViewController.php:285
+msgid "Export"
+msgstr "出口"
+
+#: Postman/PostmanViewController.php:200 Postman/PostmanViewController.php:286
+msgid "Reset Plugin"
+msgstr "重置插件"
+
+#: Postman/PostmanViewController.php:206
+msgid "Copy this data into another instance of Postman to duplicate the configuration."
+msgstr ""
+
+#: Postman/PostmanViewController.php:225
+msgid "Paste data from another instance of Postman here to duplicate the configuration."
+msgstr ""
+
+#: Postman/PostmanViewController.php:228
+msgid "Using the same OAuth 2.0 Client ID and Client Secret from this site at the same time as another site will cause failures."
+msgstr ""
+
+#: Postman/PostmanViewController.php:241
+msgid "This will purge all of Postman's settings, including account credentials and the email log."
+msgstr "这将清除 Postman 的所有设置,包括账户信息和邮件日志。"
+
+#: Postman/PostmanViewController.php:241
+msgid "Are you sure?"
+msgstr "确定吗?"
+
+#: Postman/PostmanViewController.php:261
+msgid "Configuration"
+msgstr "配置"
+
+#: Postman/PostmanViewController.php:262
+msgid "Start the Wizard"
+msgstr "开始向导"
+
+#: Postman/PostmanViewController.php:263
+msgid "Show All Settings"
+msgstr "手动配置"
+
+#: Postman/PostmanViewController.php:266
+msgctxt "Main Menu"
+msgid "Actions"
+msgstr "动作"
+
+#: Postman/PostmanViewController.php:292
+msgctxt "Main Menu"
+msgid "Troubleshooting"
+msgstr "解决故障"
+
+#: Postman/PostmanViewController.php:296
+msgid "Online Support"
+msgstr "在线支持"
+
+#. Plugin URI of the plugin/theme
+msgid "https://wordpress.org/plugins/postman-smtp/"
+msgstr "https://cn.wordpress.org/plugins/postman-smtp/"
+
+#. Description of the plugin/theme
+msgid "Email not reliable? Postman is the first and only WordPress SMTP plugin to implement OAuth 2.0 for Gmail, Hotmail and Yahoo Mail. Setup is a breeze with the Configuration Wizard and integrated Port Tester. Enjoy worry-free delivery even if your password changes!"
+msgstr "邮件不可信?Postman 是第一个也是唯一一个为 Gmail,Hotmail 和 Yahoo Mail 实现了 OAuth 2.0 的 WordPress SMTP 插件。使用配置向导和集成的端口测试工具可以轻而易举的安装。尽情享受什么都不用担心的发送,即使你修改了密码!"
+
+#. Author of the plugin/theme
+msgid "Jason Hendriks"
+msgstr "Jason Hendriks"
+
+#. Author URI of the plugin/theme
+msgid "http://www.codingmonkey.ca"
+msgstr "http://www.codingmonkey.ca"
+
+#~ msgid "Change the delivery method on the %s!"
+#~ msgstr "在 %s 修改发送方法!"
+
+#~ msgid "<a href=\"%s\">Configure</a> the plugin."
+#~ msgstr "<a href=\"%s\">配置</a>插件。"
+
+#~ msgctxt "Configuration Section Title"
+#~ msgid "Test Your Setup"
+#~ msgstr "测试安装信息"
+
+#~ msgctxt "eg. TCP Port 25"
+#~ msgid "Port"
+#~ msgstr "端口"
+
+#~ msgid "Port %d can be used to send email with the %s."
+#~ msgstr "端口 %d 可以通过 %s 发送 email。"
+
+#~ msgctxt "as in \"There is no Authentication\""
+#~ msgid "no"
+#~ msgstr "没有"
+
+#~ msgctxt "Log Level"
+#~ msgid "Off"
+#~ msgstr "Off"
+
+#~ msgctxt "Log Level"
+#~ msgid "Trace"
+#~ msgstr "Trace"
+
+#~ msgctxt "Log Level"
+#~ msgid "Debug"
+#~ msgstr "Debug"
+
+#~ msgctxt "Log Level"
+#~ msgid "Info"
+#~ msgstr "Info"
+
+#~ msgctxt "Log Level"
+#~ msgid "Warning"
+#~ msgstr "警告"
+
+#~ msgctxt "Log Level"
+#~ msgid "Error"
+#~ msgstr "Error"
+
+#~ msgid "Warning: An empty subject line can result in delivery failure."
+#~ msgstr "警告:空白的主题行可能会导致发送失败。"
+
+#~ msgid "The Envelope-From Email Address, like the return address printed on an envelope, identifies the account owner to the SMTP server."
+#~ msgstr "该地址类似于印在信封上面的<b>回信地址</b>,用于向 SMTP 服务器标识账户所有者。"
+
+#~ msgid "Warning: connected to %1$s instead of %2$s."
+#~ msgstr "警告:连接到 %1$s 而不是 %2$s。"
+
+#~ msgid "Warning: This configuration option will send your authorization credentials in the clear."
+#~ msgstr "警告:该配置项将会发送你的验证凭证。"
+
+#~ msgid " must be greater than 0"
+#~ msgstr "必须大于 0"
+
+#~ msgid "If you own this domain, make sure it has an <a href=\"%s\">SPF record authorizing GoDaddy</a> as a relay, or you will have delivery problems. If you have access to cPanel, enable the Remote Mail Exchanger."
+#~ msgstr "如果你拥有这个域名,确保它有 <a href=\\\"%s\\\">SPF record authorizing GoDaddy</a> 作为回复,否则你可能会有发送的问题。"
+
+#~ msgid "<b>Error</b>: Your email address <b>requires</b> access to a remote SMTP server blocked by GoDaddy. Use a different e-mail address."
+#~ msgstr "<b>错误</b>:你的邮件地址<b>要求</b>访问一个被 GoDaddy 阻止的远程 SMTP 服务器。使用另外的电子邮件地址。"
+
+#~ msgid "Enter your credentials. Your username is often your email address."
+#~ msgstr "输入账户用户名(邮件地址)和密码:"
+
+#~ msgid "Envelope Email Address can not be empty"
+#~ msgstr "信封发件人地址和消息发件人地址不能为空。"
+
+#~ msgid "Envelope Email Address"
+#~ msgstr "信封发件人地址"
+
+#~ msgid "The Envelope Email Address, like the return address printed on an envelope, identifies the account owner to the SMTP server."
+#~ msgstr "该地址类似于印在信封上面的<b>回信地址</b>,用于向 SMTP 服务器标识账户所有者。"
+
+#~ msgid "<b>Warning</b>: If you own this domain, make sure it has an <a href=\"%s\">SPF record authorizing GoDaddy</a> as a relay, or you will have delivery problems. If you have access to cPanel, enable the Remote Mail Exchanger."
+#~ msgstr "<b>警告</b>:如果你拥有这个域名,确保它有 <a href=\"%s\">SPF record authorizing GoDaddy</a> 作为回复,否则你可能会有发送的问题。"
+
+#~ msgid "<b style=\"color:red\">Attention!</b> Open the <a href=\"%1$s\" target=\"_new\">%2$s</a>, create <b>%7$s</b> with the values displayed below, and copy the generated %3$s and %4$s here."
+#~ msgstr "<b style=\"color:red\">注意!</b>打开 <a href=\"%1$s\" target=\"_new\">%2$s</a>,使用下面列出的值创建 <b>%7$s</b>,复制生成的 %3$s 并且 %4$s 这里。"
+
+#~ msgid "Maximum Number of Log Entries"
+#~ msgstr "日志最大数量"
+
+#~ msgid "%s SMTP Setup"
+#~ msgstr "%s SMTP 安装"
+
+#~ msgctxt "View the transcript of an item from the email log"
+#~ msgid "Transcript"
+#~ msgstr "副本"
+
+#~ msgid "Log Level specifies the level of detail written to the WordPress log - view the log with <a href=\"%s\">Debug</a>. Delivery mode offers options useful for developing or testing."
+#~ msgstr "日志级别指定写入到 WordPress 日志的详细信息的级别。使用 <a href=\"%s\">Debug</a> 查看日志。Delivery 模式提供了帮助开发和测试的有用设置。"
+
+#~ msgctxt "Email Test Status"
+#~ msgid "Ajax Error"
+#~ msgstr "Ajax 错误"
+
+#~ msgid "Unexpected PHP messages corrupted the Ajax response:"
+#~ msgstr "PHP 错误信息中断了 Ajax 响应:"
+
+#~ msgctxt "Adjust the Postman settings by hand"
+#~ msgid "Show Advanced Configuration"
+#~ msgstr "现实高级设置"
+
+#~ msgid "Disable"
+#~ msgstr "禁用"
+
+#~ msgctxt "As in type used: None"
+#~ msgid "None"
+#~ msgstr "无"
+
+#~ msgctxt "Who do we reply to?"
+#~ msgid "Reply-To"
+#~ msgstr "回复"
+
+#~ msgid "This is the conversation between Postman and your SMTP server. It can be useful for diagnosing problems. <b>DO NOT</b> post it on-line, it may contain your account password."
+#~ msgstr "这是 Postman 和你自己的 SMTP 服务器之间的相互转换,对于诊断问题很有帮助。<b>不要</b>在线上使用,因为可能包含你的账户密码。"
+
+#~ msgid "This is a record of deliveries made to the Mail Submission Agent (MSA). It does not neccessarily indicate sucessful delivery to the recipient."
+#~ msgstr "这是为 Mail Submission Agent (MSA) 提供的发送记录,并不代表已经成功发送给收件人。"
+
+#~ msgid "Postman is <em>not</em> handling email delivery."
+#~ msgstr "WordPress(或其它插件)正在处理邮件发送,<em>不是</em> Postman。"
diff --git a/Postman/languages/postman-smtp.pot b/Postman/languages/postman-smtp.pot
new file mode 100644
index 0000000..1f3c701
--- /dev/null
+++ b/Postman/languages/postman-smtp.pot
@@ -0,0 +1,1498 @@
+# Copyright (C) 2015 Postman SMTP
+# This file is distributed under the same license as the Postman SMTP package.
+msgid ""
+msgstr ""
+"Project-Id-Version: Postman SMTP 1.7.1\n"
+"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/postman-smtp\n"
+"POT-Creation-Date: 2015-11-08 22:09:18+00:00\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:94
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:348
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:357
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:99
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:116
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:75
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:545
+#: Postman/PostmanViewController.php:227
+msgid "Warning"
+msgstr ""
+
+#. translators: where %s is the name of the SMTP server
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:96
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:116
+msgid "connected to %1$s instead of %2$s."
+msgstr ""
+
+#. translators: where %d is a port number
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:98
+msgid ""
+"You are about to configure OAuth 2.0 with an IP address instead of a domain "
+"name. This is not permitted. Either assign a real domain name to your site "
+"or add a fake one in your local host file."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:132
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:157
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:83
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:81
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:95
+#: Postman/PostmanViewController.php:53 Postman/PostmanViewController.php:76
+#: Postman/PostmanViewController.php:184 Postman/PostmanViewController.php:256
+msgid "%s Setup"
+msgstr ""
+
+#. #-#-#-#-# plugin.pot (Postman SMTP 1.7.1) #-#-#-#-#
+#. Plugin Name of the plugin/theme
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:132
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:157
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:83
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:57
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:70
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:81
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:333
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:176
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:95
+#: Postman/Postman.php:61 Postman/PostmanViewController.php:53
+#: Postman/PostmanViewController.php:54 Postman/PostmanViewController.php:76
+#: Postman/PostmanViewController.php:184 Postman/PostmanViewController.php:256
+msgid "Postman SMTP"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:196
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:81
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:200
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:217 Postman/Postman.php:316
+#: Postman/PostmanAdminController.php:225
+msgid "Settings"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:198
+msgid "Account"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:199
+msgid "Message"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:200
+msgid "Logging"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:201
+msgid "Advanced"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:263
+msgid "Setup Wizard"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:296
+msgctxt "Wizard Step Title"
+msgid "Import Configuration"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:298
+msgctxt "Wizard Step Title"
+msgid "Import configuration from another plugin?"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:299
+msgid ""
+"If you had a working configuration with another Plugin, the Setup Wizard can "
+"begin with those settings."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:301
+#: Postman/Postman-Mail/PostmanModuleTransport.php:720
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:425
+msgid "None"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:312
+msgctxt "Wizard Step Title"
+msgid "Sender Details"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:314
+msgctxt "Wizard Step Title"
+msgid "Who is the mail coming from?"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:315
+msgid "Enter the email address and name you'd like to send mail as."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:316
+msgid ""
+"Please note that to prevent abuse, many email services will <em>not</em> let "
+"you send from an email address other than the one you authenticate with."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:317
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:49
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:112
+msgid "Email Address"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:320
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:59
+msgid "Name"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:325
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:143
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:331
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:542
+msgid "Outgoing Mail Server Hostname"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:333
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:337
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:138
+#: Postman/PostmanViewController.php:294
+msgid "Connectivity Test"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:335
+msgid "How will the connection to the mail server be established?"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:336
+msgid ""
+"Your connection settings depend on what your email service provider offers, "
+"and what your WordPress host allows."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:337
+msgctxt "TCP Port Test Status"
+msgid "Ready"
+msgstr ""
+
+#. Translators: Where %1$s is the socket identifier and %2$s is the
+#. authentication type
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:345
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgctxt "A socket is the network term for host and port together"
+msgid "Socket"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:346
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:354
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:223
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:177
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:351
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:356
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:372
+msgid "Authentication"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:349
+msgid ""
+"This configuration option will send your authorization credentials in the "
+"clear."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:356
+msgid "How will you prove your identity to the mail server?"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:363
+msgctxt "The final step of the Wizard"
+msgid "Finish"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:365
+msgctxt "Wizard Step Title"
+msgid "You're Done!"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:367
+msgid "Click Finish to save these settings, then:"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:369
+msgid "Grant permission with the Email Provider for Postman to send email and"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:370
+msgid "Send yourself a Test Email to make sure everything is working!"
+msgstr ""
+
+#. translators: where %s is the URL to the Connectivity Test page
+#: Postman/Postman-Configuration/PostmanConfigurationController.php:514
+msgid ""
+"Postman can't find any way to send mail on your system. Run a <a href=\"%s"
+"\">connectivity test</a>."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:33
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Transport"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:38
+msgctxt "(i.e.) What kind is it?"
+msgid "Type"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:44
+msgctxt "The Message Sender Email Address"
+msgid "From Address"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:70
+msgid "Additional Email Addresses"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:75
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:220
+msgid "Reply-To"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:80
+msgid "To Recipient(s)"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:85
+msgid "Carbon Copy Recipient(s)"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:90
+msgid "Blind Carbon Copy Recipient(s)"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:96
+msgid "Additional Headers"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:101
+msgid "Custom Headers"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:107
+msgid "Validation"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:118
+msgid "Email Log Settings"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:123
+msgid "Enable Logging"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:128
+#: Postman/PostmanInputSanitizer.php:137
+msgid "Maximum Log Entries"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:133
+msgid "Maximum Transcript Size"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:139
+msgid "Network Settings"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:144
+msgctxt "Configuration Input Field"
+msgid "TCP Connection Timeout (sec)"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:149
+msgctxt "Configuration Input Field"
+msgid "TCP Read Timeout (sec)"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:155
+msgctxt "Configuration Section Title"
+msgid "Miscellaneous Settings"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:160
+msgctxt "Configuration Input Field"
+msgid "PHP Log Level"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:165
+msgctxt "Configuration Input Field"
+msgid "Delivery Mode"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:170
+msgctxt "This mode removes the Postman X-Mailer signature from emails"
+msgid "Stealth Mode"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:175
+msgid "Temporary Directory"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:186
+msgid "Choose SMTP or a vendor-specific API:"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:189
+msgid "Configure the delivery audit log:"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:196
+msgid ""
+"This address, like the <b>letterhead</b> printed on a letter, identifies the "
+"sender to the recipient. Change this when you are sending on behalf of "
+"someone else, for example to use Google's <a href=\"%s\">Send Mail As</a> "
+"feature. Other plugins, especially Contact Forms, may override this field to "
+"be your visitor's address."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:203
+msgid ""
+"Separate multiple <b>to</b>/<b>cc</b>/<b>bcc</b> recipients with commas."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:210
+msgid ""
+"Increase the timeouts if your host is intermittenly failing to send mail. Be "
+"careful, this also correlates to how long your user must wait if the mail "
+"server is unreachable."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:221
+msgid ""
+"Specify custom headers (e.g. <code>X-MC-Tags: wordpress-site-A</code>), one "
+"per line. Use custom headers with caution as they can negatively affect your "
+"Spam score."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:228
+msgid ""
+"E-mail addresses can be validated before sending e-mail, however this may "
+"fail with some newer domains."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:254
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:276
+msgid "Prevent <b>plugins</b> and <b>themes</b> from changing this"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:261
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:405
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:244
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:195
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:409
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:416
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:459
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:467
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:475
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:482
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:530
+msgid "Required"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:268
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:531
+msgid ""
+"This address, like the <b>return address</b> printed on an envelope, "
+"identifies the account owner to the SMTP server."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:289
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:108
+msgid "Yes"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:290
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:109
+msgid "No"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:300
+msgid ""
+"Change this value if you can't see the beginning of the transcript because "
+"your messages are too big."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:343
+msgid "Disable e-mail validation"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:350
+msgid ""
+"Log Level specifies the level of detail written to the <a target=\"_new\" "
+"href=\"%s\">WordPress Debug log</a> - view the log with <a target-\"_new\" "
+"href=\"%s\">Debug</a>."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:353
+msgid "Off"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:354
+msgid "Trace"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:355
+msgid "Debug"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:356
+msgid "Info"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:358
+msgid "Error"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:366
+msgid "Delivery mode offers options useful for developing or testing."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:369
+msgctxt "When the server is online to the public, this is \"Production\" mode"
+msgid "Log Email and Send"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:370
+msgid "Log Email and Delete"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:371
+msgid "Delete All Emails"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:375
+msgid "Remove the Postman X-Header signature from messages"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:378
+msgid ""
+"Lockfiles are written here to prevent users from triggering an OAuth 2.0 "
+"token refresh at the same time."
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:381
+msgid "Valid"
+msgstr ""
+
+#: Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php:383
+msgid "Invalid"
+msgstr ""
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:105
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:109
+msgctxt "The \"please wait\" message"
+msgid "Checking.."
+msgstr ""
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:106
+msgctxt "The port is open"
+msgid "Open"
+msgstr ""
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:107
+msgctxt "The port is closed"
+msgid "Closed"
+msgstr ""
+
+#. translators: where %d is a port number
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:111
+msgid "No outbound route between this site and the Internet on Port %d."
+msgstr ""
+
+#. translators: where %d is a port number and %s is a hostname
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:113
+msgid "Port %d is open, but not to %s."
+msgstr ""
+
+#. translators: where %d is the port number and %s is the hostname
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:115
+msgid "Port %d can be used for SMTP to %s."
+msgstr ""
+
+#. translators: where %d is a port number and %s is the URL for the Postman
+#. Gmail Extension
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:118
+msgid "Port %d can be used with the %s."
+msgstr ""
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:141
+msgid ""
+"This test determines which well-known ports are available for Postman to use."
+msgstr ""
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:145
+msgctxt "Button Label"
+msgid "Begin Test"
+msgstr ""
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:162
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:152
+msgid "Status"
+msgstr ""
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Service Available"
+msgstr ""
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:148
+msgid "Server ID"
+msgstr ""
+
+#. Translators: Meaning "Not Applicable"
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:155
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:260
+msgid "n/a"
+msgstr ""
+
+#. Translators: Where %s is the name of the service providing Internet
+#. connectivity test
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:160
+msgid "According to %s"
+msgstr ""
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:163
+msgid "Summary"
+msgstr ""
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:168
+msgid ""
+"A test with <span style=\"color:red\">\"No\"</span> Service Available "
+"indicates one or more of these issues:"
+msgstr ""
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:170
+msgid "Your web host has placed a firewall between this site and the Internet"
+msgstr ""
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:171
+msgid ""
+"The SMTP hostname is wrong or the mail server does not provide service on "
+"this port"
+msgstr ""
+
+#. translators: where (1) is the URL and (2) is the system
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:173
+msgid ""
+"Your <a href=\"%1$s\">%2$s configuration</a> is preventing outbound "
+"connections"
+msgstr ""
+
+#: Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php:177
+msgid ""
+"If the issues above can not be resolved, your last option is to configure "
+"Postman to use an email account managed by your web host with an SMTP server "
+"managed by your web host."
+msgstr ""
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:82
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman.php:317
+msgctxt "The log of Emails that have been delivered"
+msgid "Email Log"
+msgstr ""
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:95
+msgid "Error: Postman is missing a required PHP library."
+msgstr ""
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:97
+#: Postman/Postman.php:257
+msgid ""
+"Postman: wp_mail has been declared by another plugin or theme, so you won't "
+"be able to use Postman until the conflict is resolved."
+msgstr ""
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:100
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:229
+msgid "Postman is in <em>non-Production</em> mode and is dumping all emails."
+msgstr ""
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:102
+msgid ""
+"<span style=\"color:green\">Postman is configured</span> and has delivered "
+"<span style=\"color:green\">%d</span> email."
+msgid_plural ""
+"<span style=\"color:green\">Postman is configured</span> and has delivered "
+"<span style=\"color:green\">%d</span> emails."
+msgstr[0] ""
+msgstr[1] ""
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:104
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:234
+msgid ""
+"Postman is <em>not</em> configured and is mimicking out-of-the-box WordPress "
+"email delivery."
+msgstr ""
+
+#: Postman/Postman-Controller/PostmanDashboardWidgetController.php:116
+msgid "Postman is operating in per-site mode."
+msgstr ""
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:102
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:107
+#: Postman/PostmanViewController.php:295
+msgid "Diagnostic Test"
+msgstr ""
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:104
+msgid "Are you having issues with Postman?"
+msgstr ""
+
+#. translators: where %1$s and %2$s are the URLs to the Troubleshooting and
+#. Support Forums on WordPress.org
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:106
+msgid ""
+"Please check the <a href=\"%1$s\">troubleshooting and error messages</a> "
+"page and the <a href=\"%2$s\">support forum</a>."
+msgstr ""
+
+#: Postman/Postman-Diagnostic-Test/PostmanDiagnosticTestController.php:108
+msgid "If you write for help, please include the following:"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:90
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:242
+msgid ""
+"Your message was delivered (%d ms) to the SMTP server! Congratulations :)"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:156
+msgid "Mail Log Entries were deleted."
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:179
+msgid "Mail Log Entry was deleted."
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:204
+msgctxt "Who is this message From?"
+msgid "From"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:208
+msgctxt "Who is this message To?"
+msgid "To"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:212
+msgctxt "Who is this message Cc'd to?"
+msgid "Cc"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:216
+msgctxt "Who is this message Bcc'd to?"
+msgid "Bcc"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:222
+msgctxt "What is the date today?"
+msgid "Date"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:223
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:161
+msgctxt "What is the subject of this message?"
+msgid "Subject"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:226
+msgctxt "What is the unique URI of the configuration?"
+msgid "Delivery-URI"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:253
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:161
+msgid ""
+"This is the conversation between Postman and the mail server. It can be "
+"useful for diagnosing problems. <b>DO NOT</b> post it on-line, it may "
+"contain your account password."
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:284
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:333
+msgid "%s Email Log"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:301
+msgid "Email was successfully resent (but without attachments)"
+msgstr ""
+
+#. Translators: Where %s is an error message
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:303
+msgid "Email could not be resent. Error: %s"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:304
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:110
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:112
+msgid "Resend"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogController.php:339
+msgid ""
+"This is a record of deliveries made to the mail server. It does not "
+"neccessarily indicate sucessful delivery to the recipient."
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogPostType.php:37
+msgctxt "The group of Emails that have been delivered"
+msgid "Sent Emails"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogPostType.php:38
+msgctxt "An Email that has been delivered"
+msgid "Sent Email"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:75
+msgid "An empty subject line can result in delivery failure."
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogService.php:196
+msgid ".. +%d more"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:99
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:223
+msgctxt "Delete an item from the email log"
+msgid "Delete"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:100
+msgctxt "View an item from the email log"
+msgid "View"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:104
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:106
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:158
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:163
+msgid "Session Transcript"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:163
+msgctxt "When was this email sent?"
+msgid "Delivery Time"
+msgstr ""
+
+#. Translators: where %s indicates the relative time from now
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:332
+msgctxt "A relative time as in \"five days ago\""
+msgid "%s ago"
+msgstr ""
+
+#: Postman/Postman-Email-Log/PostmanEmailLogView.php:338
+msgid "Sent"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanDefaultModuleTransport.php:107
+msgid "Default"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:102
+msgid "Gmail API"
+msgstr ""
+
+#. translators: where (1) is the secure icon and (2) is the transport name
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:152
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:135
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:79
+msgid "Postman will send mail via the <b>%1$s %2$s</b>."
+msgstr ""
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:166
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:117
+msgid ""
+"You have configured OAuth 2.0 authentication, but have not received "
+"permission to use it."
+msgstr ""
+
+#. translators: where variables are (1) transport name (2) host and (3) port
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:206
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:181
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:125
+msgid "Postman recommends the %1$s to host %2$s on port %3$d."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanGmailApiModuleTransport.php:221
+#: Postman/Postman-Mail/PostmanModuleTransport.php:713
+msgid "OAuth 2.0 (requires Client ID and Client Secret)"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:44
+msgid "Mandrill API"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:147
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:101
+msgid "API Key can not be empty"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:151
+#: Postman/Postman-Mail/PostmanModuleTransport.php:578
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:105
+msgid "Message From Address can not be empty"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:194
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:228
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:271
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:148
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:182
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:222
+msgid "API Key"
+msgstr ""
+
+#. Translators: Where (1) is the service URL and (2) is the service name and
+#. (3) is a api key URL
+#: Postman/Postman-Mail/PostmanMandrillTransport.php:238
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:189
+msgid ""
+"Create an account at <a href=\"%1$s\" target=\"_new\">%2$s</a> and enter <a "
+"href=\"%3$s\" target=\"_new\">an API key</a> below."
+msgstr ""
+
+#. translators: where (1) is the transport type, (2) is the host, and (3) is
+#. the Authentication Type (e.g. Postman will send mail via smtp.gmail.com:465
+#. using OAuth 2.0 authentication.)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:506
+msgid "Postman will send mail via %1$s to %2$s using %3$s authentication."
+msgstr ""
+
+#. translators: where %1$s is the Transport type (e.g. SMTP or SMTPS) and %2$s
+#. is the encryption type (e.g. SSL or TLS)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:534
+msgctxt "as in \"There is no Spoon\""
+msgid "no"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanModuleTransport.php:553
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:366
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:584
+msgid "Password"
+msgstr ""
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label (e.g. Warning: OAuth 2.0 authentication requires an OAuth 2.0-capable
+#. Outgoing Mail Server, Sender Email Address, Client ID, and Client Secret.)
+#: Postman/Postman-Mail/PostmanModuleTransport.php:584
+msgid "OAuth 2.0 authentication requires a %1$s and %2$s."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanModuleTransport.php:706
+msgid "Password (requires username and password)"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:200
+#: Postman/Postman-Mail/PostmanMyMailConnector.php:217
+msgid "MyMail: Change the delivery method in the %s!"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSendGridTransport.php:39
+msgid "SendGrid API"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:95
+msgid "Outgoing Mail Server Hostname and Port can not be empty."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:99
+msgid "Envelope-From Email Address can not be empty"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:103
+msgid "Username and password can not be empty."
+msgstr ""
+
+#. translators: %1$s is the Client ID label, and %2$s is the Client Secret
+#. label (e.g. Warning: OAuth 2.0 authentication requires an OAuth 2.0-capable
+#. Outgoing Mail Server, Sender Email Address, Client ID, and Client Secret.)
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:109
+msgid ""
+"OAuth 2.0 authentication requires a supported OAuth 2.0-capable Outgoing "
+"Mail Server."
+msgstr ""
+
+#. translators: where %1$s is a description of the transport (eg. SMTPS-SSL),
+#. %2$s is a description of the authentication (eg. Password-CRAMMD5), %3$d is
+#. the TCP port (eg. 465), %4$d is the hostname
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:269
+msgid ""
+"Postman recommends %1$s with %2$s authentication to host %4$s on port %3$d."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:326
+msgid "Transport Settings"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:336
+msgid "Outgoing Mail Server Port"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:341
+msgid "Envelope-From Email Address"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:346
+msgctxt "Configuration Input Field"
+msgid "Security"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:361
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:580
+msgid "Username"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:402
+msgid "Configure the communication with the mail server."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:449
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:579
+msgid "Enter the account credentials."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:457
+msgid "The Username is usually the same as the Envelope-From Email Address."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:511
+msgid "Error computing your domain root - please enter it manually"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:532
+msgid ""
+"For reliable delivery, this domain must specify an <a target=\"_new\" href="
+"\"%s\">SPF record</a> permitting the use of the SMTP server named above."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:539
+msgctxt "Wizard Step Title"
+msgid "Which host will relay the mail?"
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:540
+msgid ""
+"This is the Outgoing (SMTP) Mail Server, or Mail Submission Agent (MSA), "
+"which Postman delegates mail delivery to. This server is specific to your "
+"email account, and if you don't know what to use, ask your email service "
+"provider."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:541
+msgid ""
+"Note that many WordPress hosts, such as GoDaddy, Bluehost and Dreamhost, "
+"require that you use their mail accounts with their mail servers, and "
+"prevent you from using others."
+msgstr ""
+
+#. Translators: Where (%s) is the name of the web host
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:547
+msgid ""
+"Your email address <b>requires</b> access to a remote SMTP server blocked by "
+"%s."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:548
+msgid "If you have access to cPanel, enable the Remote Mail Exchanger."
+msgstr ""
+
+#. Translators: Where (%1$s) is the SPF-info URL and (%2$s) is the name of the
+#. web host
+#: Postman/Postman-Mail/PostmanSmtpModuleTransport.php:551
+msgid ""
+"If you own this domain, make sure it has an <a href=\"%1$s\">SPF record "
+"authorizing %2$s</a> as a relay, or you will have delivery problems."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanTransportRegistry.php:231
+msgid "Postman is configured."
+msgstr ""
+
+#: Postman/Postman-Mail/PostmanZendMailEngine.php:209
+msgid ""
+"Communication Error [334] - make sure the Envelope From email is the same "
+"account used to create the Client ID."
+msgstr ""
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:115
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:149
+msgctxt "Email Test Status"
+msgid "In Outbox"
+msgstr ""
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:116
+msgctxt "Email Test Status"
+msgid "Sending..."
+msgstr ""
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:117
+msgctxt "Email Test Status"
+msgid "Success"
+msgstr ""
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:118
+msgctxt "Email Test Status"
+msgid "Failed"
+msgstr ""
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:119
+msgid "Ajax Error"
+msgstr ""
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:128
+#: Postman/PostmanViewController.php:273 Postman/PostmanViewController.php:275
+msgid "Send a Test Email"
+msgstr ""
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:133
+msgid "Specify the Recipient"
+msgstr ""
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:135
+msgid "Who is this message going to?"
+msgstr ""
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:136
+msgid "This utility allows you to send an email message for testing."
+msgstr ""
+
+#. translators: where %d is an amount of time, in seconds
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:139
+msgid "If there is a problem, Postman will give up after %d second."
+msgid_plural "If there is a problem, Postman will give up after %d seconds."
+msgstr[0] ""
+msgstr[1] ""
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:140
+msgctxt "Configuration Input Field"
+msgid "Recipient Email Address"
+msgstr ""
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:145
+msgid "Send The Message"
+msgstr ""
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:148
+msgid "Sending the message:"
+msgstr ""
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:160
+msgid "Examine the Session Transcript if you need to."
+msgstr ""
+
+#. translators: where %s is the domain name of the site
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:212
+msgctxt "Test Email Subject"
+msgid "Postman SMTP Test (%s)"
+msgstr ""
+
+#. translators: where %s is the Postman plugin version number (e.g. 1.4)
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:299
+msgctxt "Test Email Tagline"
+msgid "Sent by Postman %s"
+msgstr ""
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:300
+msgid "Image source"
+msgstr ""
+
+#: Postman/Postman-Send-Test-Email/PostmanSendTestEmailController.php:301
+msgid "Used with permission"
+msgstr ""
+
+#: Postman/PostmanAdminController.php:111
+msgctxt "The plugin successfully saved new settings."
+msgid "Settings saved."
+msgstr ""
+
+#. Translators: where %1$s is the name of the library
+#: Postman/PostmanAdminController.php:178
+msgid "This PHP installation requires the <b>%1$s</b> library."
+msgstr ""
+
+#: Postman/PostmanAdminController.php:253
+msgid "There was an error importing the data."
+msgstr ""
+
+#: Postman/PostmanAdminController.php:270
+msgid "Plugin data was removed."
+msgstr ""
+
+#: Postman/PostmanAdminController.php:294
+msgid "The OAuth 2.0 authorization was successful. Ready to send e-mail."
+msgstr ""
+
+#: Postman/PostmanAdminController.php:296
+msgid "Your email provider did not grant Postman permission. Try again."
+msgstr ""
+
+#: Postman/PostmanAdminController.php:299
+msgid ""
+"The grant code from Google had no accompanying state and may be a forgery"
+msgstr ""
+
+#. translators: %s is the error message
+#: Postman/PostmanAdminController.php:303
+msgid "Error authenticating with this Client ID. [%s]"
+msgstr ""
+
+#: Postman/PostmanConfigTextHelper.php:31
+msgid "Attention"
+msgstr ""
+
+#. translators: parameters available are 1=portal-url, 2=portal-name,
+#. 3=clientId-name, 4=clientSecret-name, 5=callbackUrl, 6=service-name,
+#. 7=portal-application (e.g. Open the Google Developer Console, create a
+#. Client ID for web application using the URL's displayed below, and copy the
+#. Client ID and Client Secret here.)
+#: Postman/PostmanConfigTextHelper.php:33
+msgid ""
+"Open the <a href=\"%1$s\" target=\"_new\">%2$s</a>, create <b>%7$s</b> with "
+"the values displayed below, and copy the generated %3$s and %4$s here."
+msgstr ""
+
+#. translators: parameters available are 1=clientId-name, 2=service-name,
+#. 3=FAQ-URL, 4=Video-URL (e.g. See How do I get a Google Client ID? in the
+#. F.A.Q.)
+#: Postman/PostmanConfigTextHelper.php:36
+msgid ""
+"See <a href=\"%3$s\" target=\"_new\">How do I get a %1$s %2$s?</a> in the F."
+"A.Q. or <a href=\"%4$s\" target=\"_new\">watch our How-To video 📺</a>."
+msgstr ""
+
+#. translators: where %s is the Email Service Owner (e.g. Google, Microsoft or
+#. Yahoo)
+#: Postman/PostmanConfigTextHelper.php:54
+msgctxt "Command to initiate OAuth authentication"
+msgid "Grant permission with %s"
+msgstr ""
+
+#. Translators: This description is specific to Google
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:80
+#: Postman/PostmanConfigTextHelper.php:142
+#: Postman/PostmanConfigTextHelper.php:204
+#: Postman/PostmanConfigTextHelper.php:271
+msgctxt "Name of the OAuth 2.0 Client ID"
+msgid "Client ID"
+msgstr ""
+
+#. Translators: This description is specific to Google
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:84
+#: Postman/PostmanConfigTextHelper.php:146
+#: Postman/PostmanConfigTextHelper.php:208
+#: Postman/PostmanConfigTextHelper.php:274
+msgctxt "Name of the OAuth 2.0 Client Secret"
+msgid "Client Secret"
+msgstr ""
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:88
+msgctxt "Name of the Application Callback URI"
+msgid "Authorized redirect URI"
+msgstr ""
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:92
+msgctxt "Name of the Application Callback Domain"
+msgid "Authorized JavaScript origins"
+msgstr ""
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:96
+msgctxt "Name of the email service owner"
+msgid "Google"
+msgstr ""
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:100
+msgctxt "Name of the email service"
+msgid "Gmail"
+msgstr ""
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:104
+msgctxt "Description of the email service OAuth 2.0 Application"
+msgid "a Client ID for web application"
+msgstr ""
+
+#. Translators: This description is specific to Google
+#: Postman/PostmanConfigTextHelper.php:108
+msgctxt "Name of the email service portal"
+msgid "Google Developers Console Gmail Wizard"
+msgstr ""
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:150
+msgctxt "Name of the Application Callback URI"
+msgid "Redirect URL"
+msgstr ""
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:154
+msgctxt "Name of the Application Callback Domain"
+msgid "Root Domain"
+msgstr ""
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:158
+msgctxt "Name of the email service owner"
+msgid "Microsoft"
+msgstr ""
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:162
+msgctxt "Name of the email service"
+msgid "Outlook.com"
+msgstr ""
+
+#. Translators: This description is specific to Microsoft
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:166
+#: Postman/PostmanConfigTextHelper.php:228
+msgctxt "Description of the email service OAuth 2.0 Application"
+msgid "an Application"
+msgstr ""
+
+#. Translators: This description is specific to Microsoft
+#: Postman/PostmanConfigTextHelper.php:170
+msgctxt "Name of the email service portal"
+msgid "Microsoft Developer Center"
+msgstr ""
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:212
+msgctxt "Name of the Application Callback URI"
+msgid "Home Page URL"
+msgstr ""
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:216
+msgctxt "Name of the Application Callback Domain"
+msgid "Callback Domain"
+msgstr ""
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:220
+msgctxt "Name of the email service owner"
+msgid "Yahoo"
+msgstr ""
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:224
+msgctxt "Name of the email service"
+msgid "Yahoo Mail"
+msgstr ""
+
+#. Translators: This description is specific to Yahoo
+#: Postman/PostmanConfigTextHelper.php:232
+msgctxt "Name of the email service portal"
+msgid "Yahoo Developer Network"
+msgstr ""
+
+#: Postman/PostmanConfigTextHelper.php:261
+msgid "Enter an Outgoing Mail Server with OAuth2 capabilities."
+msgstr ""
+
+#: Postman/PostmanConfigTextHelper.php:277
+msgctxt "Name of the Application Callback URI"
+msgid "Redirect URI"
+msgstr ""
+
+#: Postman/PostmanConfigTextHelper.php:280
+msgctxt "Name of the Application Callback Domain"
+msgid "Website Domain"
+msgstr ""
+
+#: Postman/PostmanConfigTextHelper.php:304
+msgid "Grant OAuth 2.0 Permission"
+msgstr ""
+
+#: Postman/PostmanInputSanitizer.php:137
+msgid "must be greater than 0"
+msgstr ""
+
+#: Postman/PostmanViewController.php:112
+msgid "An unexpected error occurred"
+msgstr ""
+
+#: Postman/PostmanViewController.php:113
+msgid "Unexpected PHP messages corrupted the Ajax response"
+msgstr ""
+
+#: Postman/PostmanViewController.php:118
+msgctxt "Press this button to Finish this task"
+msgid "Finish"
+msgstr ""
+
+#: Postman/PostmanViewController.php:119
+msgctxt "Press this button to go to the next step"
+msgid "Next"
+msgstr ""
+
+#: Postman/PostmanViewController.php:120
+msgctxt "Press this button to go to the previous step"
+msgid "Previous"
+msgstr ""
+
+#: Postman/PostmanViewController.php:132
+msgid ""
+"Postman is unable to run. Email delivery is being handled by WordPress (or "
+"another plugin)."
+msgstr ""
+
+#. translators: where %d is the number of emails delivered
+#: Postman/PostmanViewController.php:147
+msgid "Postman has delivered <span style=\"color:green\">%d</span> email."
+msgid_plural ""
+"Postman has delivered <span style=\"color:green\">%d</span> emails."
+msgstr[0] ""
+msgstr[1] ""
+
+#: Postman/PostmanViewController.php:150
+msgid "The last %d email attempts are recorded <a href=\"%s\">in the log</a>."
+msgstr ""
+
+#: Postman/PostmanViewController.php:155
+msgid "Thank-you for choosing Postman!"
+msgstr ""
+
+#. translators: where %s is the URL of the Setup Wizard
+#: Postman/PostmanViewController.php:157
+msgid ""
+"Let's get started! All users are strongly encouraged to <a href=\"%s\">run "
+"the Setup Wizard</a>."
+msgstr ""
+
+#: Postman/PostmanViewController.php:158
+msgid ""
+"Alternately, <a href=\"%s\">manually configure</a> your own settings and/or "
+"modify advanced options."
+msgstr ""
+
+#. translators: where %s is the URL to the WordPress.org review and ratings
+#. page
+#: Postman/PostmanViewController.php:163
+msgid ""
+"Please consider <a href=\"%s\">leaving a review</a> to help spread the "
+"word! :D"
+msgstr ""
+
+#: Postman/PostmanViewController.php:165
+msgid ""
+"Postman needs translators! Please take a moment to <a href=\"%s\">translate "
+"a few sentences on-line</a>"
+msgstr ""
+
+#: Postman/PostmanViewController.php:167
+msgid ""
+"<b style=\"background-color:yellow\">New for v1.7!</style></b> Send mail "
+"with the Mandrill or SendGrid APIs."
+msgstr ""
+
+#: Postman/PostmanViewController.php:191
+msgctxt "Return to main menu link"
+msgid "Back To Main Menu"
+msgstr ""
+
+#: Postman/PostmanViewController.php:198 Postman/PostmanViewController.php:233
+#: Postman/PostmanViewController.php:284
+msgid "Import"
+msgstr ""
+
+#: Postman/PostmanViewController.php:199 Postman/PostmanViewController.php:285
+msgid "Export"
+msgstr ""
+
+#: Postman/PostmanViewController.php:200 Postman/PostmanViewController.php:286
+msgid "Reset Plugin"
+msgstr ""
+
+#: Postman/PostmanViewController.php:206
+msgid ""
+"Copy this data into another instance of Postman to duplicate the "
+"configuration."
+msgstr ""
+
+#: Postman/PostmanViewController.php:225
+msgid ""
+"Paste data from another instance of Postman here to duplicate the "
+"configuration."
+msgstr ""
+
+#: Postman/PostmanViewController.php:228
+msgid ""
+"Using the same OAuth 2.0 Client ID and Client Secret from this site at the "
+"same time as another site will cause failures."
+msgstr ""
+
+#: Postman/PostmanViewController.php:241
+msgid ""
+"This will purge all of Postman's settings, including account credentials and "
+"the email log."
+msgstr ""
+
+#: Postman/PostmanViewController.php:241
+msgid "Are you sure?"
+msgstr ""
+
+#: Postman/PostmanViewController.php:261
+msgid "Configuration"
+msgstr ""
+
+#: Postman/PostmanViewController.php:262
+msgid "Start the Wizard"
+msgstr ""
+
+#: Postman/PostmanViewController.php:263
+msgid "Show All Settings"
+msgstr ""
+
+#: Postman/PostmanViewController.php:266
+msgctxt "Main Menu"
+msgid "Actions"
+msgstr ""
+
+#: Postman/PostmanViewController.php:292
+msgctxt "Main Menu"
+msgid "Troubleshooting"
+msgstr ""
+
+#: Postman/PostmanViewController.php:296
+msgid "Online Support"
+msgstr ""
+
+#. Plugin URI of the plugin/theme
+msgid "https://wordpress.org/plugins/postman-smtp/"
+msgstr ""
+
+#. Description of the plugin/theme
+msgid ""
+"Email not reliable? Postman is the first and only WordPress SMTP plugin to "
+"implement OAuth 2.0 for Gmail, Hotmail and Yahoo Mail. Setup is a breeze "
+"with the Configuration Wizard and integrated Port Tester. Enjoy worry-free "
+"delivery even if your password changes!"
+msgstr ""
+
+#. Author of the plugin/theme
+msgid "Jason Hendriks"
+msgstr ""
+
+#. Author URI of the plugin/theme
+msgid "http://www.codingmonkey.ca"
+msgstr ""
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..9d57f9a
--- /dev/null
+++ b/README.md
@@ -0,0 +1,131 @@
+# NEW HOME!
+Until this fork will be approved by the plugins team, we have this fork.
+To make thing more comfortable and so you can still get updates what's going on
+you are welcome to visit us at:
+https://postmansmtp.com/
+
+most of the updates will be here:
+https://postmansmtp.com/blog
+
+## The Story
+Fixed version to the reflected cross site scripting discovered here:
+https://www.pluginvulnerabilities.com/2017/06/29/reflected-cross-site-scripting-xss-vulnerability-in-postman-smtp/
+
+This is great plugin developed by - Jason Hendriks.
+
+The WordPress plugins review team removed the plugin, and the plugin wasn't maintained about two years so it's still unclear if the author is going to fix it.
+I have uploaded this version for other people using the plugin and left without good alternative.
+
+**I WILL KEEP UPDATE AND MAINTAIN THIS PLUGIN**
+
+**INFO**
+
+Postman is a next-generation SMTP Mailer, software that assists in the delivery of email generated by your WordPress site. Postman is the first and only plugin to support the latest security standards. With OAuth 2.0, there is no need to store your email passsword in the WordPress database where it might be found.
+
+Postman is one year old! SparkPost API Integration is coming soon as Mandrill is no longer offering a free service.
+
+The Connectivity Test and intelligent Setup Wizard scan your SMTP server to detect firewall blocks and eliminate configuration mistakes. The built-in Email Log is an invaluable resource for diagnosing problems with emails. Even hosts that block the standard SMTP ports, like GoDaddy or Bluehost, can't stop your email as Postman can deliver via HTTPS if it can't use SMTP.
+
+Postman is not another WP Mail SMTP clone like WP Bank or Easy SMTP. It replaces the default WordPress SMTP library, PHPMailer, with the heavy-duty Zend_Mail. Never lose an email to PHP mail() again.
+
+STANDARD FEATURES
+
+Easy-to-use, powerful Setup Wizard for perfect configuration
+Commercial-grade Connectivity Tester to diagnose server issues
+Log and resend all emails; see the exact cause of failed emails
+Supports International alphabets, HTML Mail and MultiPart/Alternative
+Supports forced recipients (cc, bcc, to) and custom email headers
+SASL Support: Plain/Login/CRAM-MD5/XOAUTH2 authentication
+Security Support: SMTPS and STARTTLS (SSL/TLS)
+Copy configuration to other instances of Postman
+OAUTH 2.0 FEATURES
+
+Supports the proprietary OAuth 2.0 implementations of Gmail, Hotmail and Yahoo
+Fire-and-forget delivery continues even if your password changes
+Gmail: By combining OAuth2 and the Gmail API, Postman can deliver where other plugins can not
+WEBSERVICE (HTTPS) EMAIL FEATURES
+
+Gmail API for sending Gmail and Google Apps email (requires a Google account)
+Mandrill API for sending any email (requires a Mandrill account)
+COMING SOON: Sparkpost API for sending any email (requires a Sparkpost account)
+SendGrid API for sending any email (requires a SendGrid account and PHP 5.3)
+Postman needs translators! If you are a non-English speaker, please get involved!
+
+COMPATIBILE WITH..
+
+Woocommerce
+Contact Form 7
+Gravity Forms
+Fast Secure Contact Form
+Visual Forms Builder
+Contact Form Builder
+PlanSo Forms
+MyMail Newsletter by revaxarts
+SendPress Newsletters
+WP HTML Mail
+Email Templates
+WordPress Leads
+.. and every other plugin that uses the WordPress API wp_mail to send mail!
+דרישות
+
+WordPress 3.9 and PHP 5.2 with SPL and iconv
+Memory: 750KiB per process at idle
+Reliable mail delivery with custom email domains requires an SPF record
+Reliable SMTP delivery requires credentials with an email service provider
+OAuth 2.0 features require a Gmail, Hotmail or Yahoo mail OAuth 2.0 credentials
+GRANT OAUTH PERMISSION ERROR MESSAGES
+
+Please note that the Client ID and Client Secret fields are NOT for your username and password. They are for OAuth Credentials only.
+
+ERROR AUTHENTICATING WITH THIS CLIENT ID. [ERROR EXECUTING WP_REMOTE_POST: THE USER HAS BLOCKED REQUESTS VIA HTTP.]
+
+Your WordPress site is configured with WP_HTTP_BLOCK_EXTERNAL to prevent outbound connections. Add a whitelist rule to wp-config.php:
+
+define('WP_ACCESSIBLE_HOSTS', 'www.googleapis.com, login.live.com, api.login.yahoo.com');
+
+ERROR AUTHENTICATING WITH THIS CLIENT ID. [ERROR EXECUTING WP_REMOTE_POST: FAILED TO CONNECT TO XXXX]
+
+There is a firewall on port 443 between you and the OAuth2 server. Open up the port for outbound connections.
+
+ERROR: REDIRECT_URI_MISMATCH
+
+You did not enter the Redirect URI correctly, watch the instructional video
+You used an IP address instead of a domain name (not allowed)
+ERROR: INVALID_CLIENT … NO SUPPORT EMAIL
+
+You've forgotten to choose an email address in the consent screen.
+
+SMTP ERROR MESSAGES
+
+COMMUNICATION ERROR [334] – MAKE SURE THE ENVELOPE FROM EMAIL IS THE SAME ACCOUNT USED TO CREATE THE CLIENT ID.
+
+This is almost always caused by being logged in to Google/Microsoft/Yahoo with a different user than the one Postman is configured to send mail with. Logout and try again with the correct user
+Login to Webmail and see if there is an "Unusual Activity" warning waiting for your attention
+COULD NOT OPEN SOCKET
+
+Your host may have installed a firewall between you and the server. Ask them to open the ports.
+Your may have tried to (incorrectly) use SSL over port 587. Check your encryption and port settings.
+OPERATION TIMED OUT
+
+Your host may have poor connectivity to the mail server. Try doubling the Read Timeout.
+Your host may have installed a firewall (DROP packets) between you and the server. Ask them to open the ports.
+Your may have tried to (incorrectly) use TLS over port 465. Check your encryption and port settings.
+CONNECTION REFUSED
+
+Your host has likely installed a firewall (REJECT packets) between you and the server. Ask them to open the ports.
+
+503 BAD SEQUENCE OF COMMANDS
+
+You configured TLS security when you should have selected no security.
+
+XOAUTH2 AUTHENTICATION MECHANISM NOT SUPPORTED
+
+You may be on a Virtual Private Server that is playing havoc with your communications. Jump ship.
+
+MAIL ENDS UP IN THE SPAM FOLDER
+
+To avoid being flagged as spam, you need to prove your email isn't forged. On a custom domain, its up to YOU to set that up:
+
+Ensure you are using the correct SMTP server with authentication – the correct SMTP server is the one defined by your email service's SPF record
+If you use a custom domain name for email, add an SPF record to your DNS zone file. The SPF is specific to your email provider, for example Google
+If you use a custom domain name for email, add a DKIM record to your DNS zone file and upload your Domain Key (a digital signature) to, for example Google
diff --git a/assets/banner-772x250.png b/assets/banner-772x250.png
new file mode 100644
index 0000000..00b70e7
--- /dev/null
+++ b/assets/banner-772x250.png
Binary files differ
diff --git a/assets/screenshot-1.png b/assets/screenshot-1.png
new file mode 100644
index 0000000..47f16e9
--- /dev/null
+++ b/assets/screenshot-1.png
Binary files differ
diff --git a/assets/screenshot-10.png b/assets/screenshot-10.png
new file mode 100644
index 0000000..73b8a0d
--- /dev/null
+++ b/assets/screenshot-10.png
Binary files differ
diff --git a/assets/screenshot-11.png b/assets/screenshot-11.png
new file mode 100644
index 0000000..9d5a496
--- /dev/null
+++ b/assets/screenshot-11.png
Binary files differ
diff --git a/assets/screenshot-12.png b/assets/screenshot-12.png
new file mode 100644
index 0000000..ee466c7
--- /dev/null
+++ b/assets/screenshot-12.png
Binary files differ
diff --git a/assets/screenshot-2.png b/assets/screenshot-2.png
new file mode 100644
index 0000000..b1c1fe4
--- /dev/null
+++ b/assets/screenshot-2.png
Binary files differ
diff --git a/assets/screenshot-3.png b/assets/screenshot-3.png
new file mode 100644
index 0000000..373231e
--- /dev/null
+++ b/assets/screenshot-3.png
Binary files differ
diff --git a/assets/screenshot-4.png b/assets/screenshot-4.png
new file mode 100644
index 0000000..25246ae
--- /dev/null
+++ b/assets/screenshot-4.png
Binary files differ
diff --git a/assets/screenshot-5.png b/assets/screenshot-5.png
new file mode 100644
index 0000000..642122c
--- /dev/null
+++ b/assets/screenshot-5.png
Binary files differ
diff --git a/assets/screenshot-6.png b/assets/screenshot-6.png
new file mode 100644
index 0000000..1d051ca
--- /dev/null
+++ b/assets/screenshot-6.png
Binary files differ
diff --git a/assets/screenshot-7.png b/assets/screenshot-7.png
new file mode 100644
index 0000000..026334f
--- /dev/null
+++ b/assets/screenshot-7.png
Binary files differ
diff --git a/assets/screenshot-8.png b/assets/screenshot-8.png
new file mode 100644
index 0000000..586f4ca
--- /dev/null
+++ b/assets/screenshot-8.png
Binary files differ
diff --git a/assets/screenshot-9.png b/assets/screenshot-9.png
new file mode 100644
index 0000000..4b06ade
--- /dev/null
+++ b/assets/screenshot-9.png
Binary files differ
diff --git a/dev notes.txt b/dev notes.txt
new file mode 100644
index 0000000..0e4265c
--- /dev/null
+++ b/dev notes.txt
@@ -0,0 +1,176 @@
+General
+-------
+
+Visitor Pattern
+http://butunclebob.com/ArticleS.UncleBob.IuseVisitor
+
+
+WordPress MU
+------------
+http://codex.wordpress.org/Create_A_Network
+http://stackoverflow.com/questions/13960514/how-to-adapt-my-plugin-to-multisite/
+
+
+Wordpress
+---------
+
+Internationalizing a Plugin
+http://codex.wordpress.org/I18n_for_WordPress_Developers
+
+Internationalization: You're probably doing it wrong
+http://ottopress.com/2012/internationalization-youre-probably-doing-it-wrong/
+
+Portable WordPress-only alternative to curl_init
+http://planetozh.com/blog/2009/08/how-to-make-http-requests-with-wordpress/
+
+"Once the action is complete. I want the page to redirect back to the form that called the script."
+http://stackoverflow.com/questions/21450966/wp-redirect-call-to-undefined-function-new-plugin
+
+"Data Sanitization and Validation With WordPress"
+http://code.tutsplus.com/articles/data-sanitization-and-validation-with-wordpress--wp-25536
+
+Tutorials
+---------
+
+"SMTP with oauth for gmail." - Aug 2012
+https://skroesbergen.wordpress.com/2012/08/22/smtp-with-oauth-for-gmail/
+
+"GOOGLE, SMTP, AND OAUTH2 AUTHENTICATION" - Feb 2013
+http://www.chargenevier.com/2013/02/google-smtp-and-oauth2-authentication/
+
+PHP, SMTP, XOAUTH2 and Gmail - Feb 2014
+http://www.boxuk.com/blog/php-smtp-xoauth2-gmail/
+
+SASL XOAUTH2 protocol documentation
+https://developers.google.com/gmail/xoauth2_protocol
+
+
+Creating a Gmail Token
+----------------------
+
+Google Developer OAuth 2.0 Playground
+https://developers.google.com/oauthplayground/
+
+Google Developers Console
+https://console.developers.google.com/
+
+Google Apps Security Settings
+https://admin.google.com/AdminHome?chromeless=1&fral=1#SecuritySettings:
+
+Account Permissions
+https://security.google.com/settings/security/permissions?pli=1
+
+Rereshing a Token
+-----------------
+How do I refresh my google_oauth2 access token using my refresh token?
+http://stackoverflow.com/questions/12792326/how-do-i-refresh-my-google-oauth2-access-token-using-my-refresh-token
+
+
+
+References
+----------
+
+Using OAuth 2.0 to Access Google APIs
+https://developers.google.com/accounts/docs/OAuth2
+
+Gmail Platform - OAuth 2.0
+https://developers.google.com/gmail/oauth_protocol?hl=nl
+
+
+OAuth Overview
+--------------
+
+Request Permission ->
+<- Authorization Grant
+
+Grant Code ->
+<- Authorization Token
+
+(Access Token and Refresh Token)
+
+
+wp_mail() and Email in General
+-----------------------------
+
+The PLAIN Simple Authentication and Security Layer (SASL) Mechanism
+https://www.ietf.org/rfc/rfc4616.txt
+
+What is the difference between ports 465 and 587?
+http://stackoverflow.com/a/19942206/4368109
+
+The Return Path
+https://wordpress.org/ideas/topic/wp-mail-and-php-mail-function-according-to-rfc-822
+
+Hacking WordPress Emails
+http://glennmessersmith.com/pages/wpemail.html
+
+The Importance of Content-Type Character Encoding in HTML Emails
+http://www.emailonacid.com/blog/details/C13/the_importance_of_content-type_character_encoding_in_html_emails
+
+The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)
+http://www.joelonsoftware.com/articles/Unicode.html
+
+How to Tell Who Supports SMTP TLS for Email Transmission
+https://luxsci.com/blog/how-to-tell-who-supports-tls-for-email-transmission.html
+
+JavaMail: Keeping IMAPFolder.idle() alive
+http://stackoverflow.com/questions/4155412/javamail-keeping-imapfolder-idle-alive
+
+Reach More People and Improve Your Spam Score: Why Multi-Part Email is Important
+https://litmus.com/blog/reach-more-people-and-improve-your-spam-score-why-multi-part-email-is-important
+
+HTTP Message Headers
+http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2
+
+Sending a multipart E-Mail using PHP Mailer/wp_mail - not all clients display E-Mail
+http://stackoverflow.com/questions/22614615/sending-a-multipart-e-mail-using-php-mailer-wp-mail-not-all-clients-display-e
+
+The AUTH Command
+http://www.samlogic.net/articles/smtp-commands-reference-auth.htm
+
+SMTP Authentication with Zend
+http://framework.zend.com/manual/1.12/en/zend.mail.smtp-authentication.html
+
+SMTP Authentication [Tutorial]
+http://www.fehcom.de/qmail/smtpauth.html
+
+
+
+Zend Mail
+---------
+
+Getting access to the SMTP session transcript
+http://zend-framework-community.634137.n4.nabble.com/Zend-Mail-and-SMTP-Status-Code-td644679.html
+
+Sending Mail as a background process
+http://stackoverflow.com/questions/14177500/sending-emails-in-php-and-using-google-apps-mail-as-smtp-is-too-slow
+
+
+
+PHP Resources
+-------------
+Why your PHP App NEEDS a Circuit Breaker
+http://devzone.zend.com/1424/why-your-php-app-needs-a-circuit-breaker/
+
+Capturing and Handling PHP Errors Gracefully
+http://biostall.com/capturing-and-handling-php-errors-gracefully
+
+Gmail SMTP Settings and New Security Measures Demystified
+http://www.wpsitecare.com/gmail-smtp-settings/
+
+
+
+Google API
+----------
+
+Gmail API
+https://developers.google.com/gmail/api/
+
+Google APIs Client Library for PHP
+https://github.com/google/google-api-php-client
+
+(Google App Engine) Mail PHP API Overview
+https://cloud.google.com/appengine/docs/php/mail/
+
+(Google App Engine) Bulk Mail with Analytics via SendGrid
+https://cloud.google.com/appengine/docs/php/mail/sendgrid
diff --git a/postman-smtp.php b/postman-smtp.php
new file mode 100644
index 0000000..1f4a4cf
--- /dev/null
+++ b/postman-smtp.php
@@ -0,0 +1,74 @@
+<?php
+
+/*
+ * Plugin Name: Post SMTP
+ * Plugin URI: https://wordpress.org/plugins/post-smtp/
+ * Description: Email not reliable? Post SMTP is the first and only WordPress SMTP plugin to implement OAuth 2.0 for Gmail, Hotmail and Yahoo Mail. Setup is a breeze with the Configuration Wizard and integrated Port Tester. Enjoy worry-free delivery even if your password changes!
+ * Version: 1.7.4
+ * Author: Jason Hendriks, Yehuda Hassine
+ * Text Domain: postman-smtp
+ * Author URI: https://github.com/yehudah/Postman-SMTP
+ * License: GPLv2 or later
+ * License URI: http://www.gnu.org/licenses/gpl-2.0.html
+ */
+
+// The Postman Mail API
+//
+// filter postman_test_email: before calling wp_mail, implement this filter and return true to disable the success/fail counters
+// filter postman_wp_mail_result: apply this filter after calling wp_mail for an array containing the SMTP error, transcript and time
+// filter postman_get_plugin_metadata: apply this filter to get plugin metadata
+// filter postman_wp_mail_bind_status: apply this filter to get wp_mail bind status
+// filter print_postman_status: apply this filter to print the human-readable plugin state
+// filter postman_module: implement this filter and return the instance of the module
+// filter postman_register_modules: apply this filter to register the module
+// TODO v1.7
+// -- Postmark API http://plugins.svn.wordpress.org/postmark-approved-wordpress-plugin/trunk/postmark.php
+// -- Amazon SES API http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-api.html
+// TODO v2.0
+// -- PHP7 compatibility
+// -- class autoloading
+// -- Add dismiss option for "unconfigured message" .. for multisites
+// -- customize sent-mail icon WordPress dashboard
+// -- multisite support for site-wide email configuration. allow network admin to choose whether subdomains may override with their own settings. subdomains may override with their own settings.
+// -- multiple mailbox support
+/**
+ * DO some check and Start Postman
+ */
+
+
+if ( in_array( 'postman-smtp/postman-smtp.php', (array) get_option( 'active_plugins', array() ) ) ) {
+ add_action( 'admin_init', 'post_smtp_plugin_deactivate' );
+ add_action( 'admin_notices', 'post_smtp_plugin_admin_notice' );
+} else {
+ post_start( memory_get_usage() );
+}
+
+
+function post_smtp_plugin_deactivate() {
+ deactivate_plugins( plugin_basename( __FILE__ ) );
+}
+
+function post_smtp_plugin_admin_notice() {
+ echo '<div class="error"><p><strong>Post SMTP</strong> plugin is a fork of the original Postman SMTP, you must disable Postman SMTP to use this plugin.</p></div>';
+
+ if ( isset( $_GET['activate'] ) ) {
+ unset( $_GET['activate'] ); }
+}
+
+/**
+ * Create the main Postman class to start Postman
+ *
+ * @param unknown $startingMemory
+ */
+function post_start( $startingMemory ) {
+ post_setupPostman();
+ PostmanUtils::logMemoryUse( $startingMemory, 'Postman' );
+}
+
+/**
+ * Instantiate the mail Postman class
+ */
+function post_setupPostman() {
+ require_once 'Postman/Postman.php';
+ $kevinCostner = new Postman( __FILE__, '1.7.3' );
+}
diff --git a/readme.txt b/readme.txt
new file mode 100644
index 0000000..c55b958
--- /dev/null
+++ b/readme.txt
@@ -0,0 +1,630 @@
+=== Post SMTP Mailer/Email Log ===
+Contributors: yehudah, jasonhendriks
+Tags: postman smtp, postman, smtp, email, mail, mailer, email log, oauth2, gmail, google apps, hotmail, yahoo, mandrill api, sendgrid api, sparkpost api
+Requires at least: 3.9
+Tested up to: 4.8
+Stable tag: 1.7.3
+License: GPLv2 or later
+License URI: http://www.gnu.org/licenses/gpl-2.0.html
+
+Send, log and troubleshoot your Outgoing Email easily. Supports everything: SMTP, Gmail, Mandril, SendGrid and OAuth 2.0!
+
+== Description ==
+
+Post is a next-generation [SMTP Mailer](https://wordpress.org/plugins/search.php?q=smtp), software that assists in the delivery of email generated by your WordPress site. Post is the first and only plugin to support the [latest security standards](http://googleonlinesecurity.blogspot.ca/2014/04/new-security-measures-will-affect-older.html). With OAuth 2.0, there is **no need** to [store your email passsword](http://blog.codinghorror.com/youre-probably-storing-passwords-incorrectly/) in the WordPress database where it might be found.
+
+> Post is one year old! SparkPost API Integration is coming soon as Mandrill is no longer offering a free service.
+
+The **Connectivity Test** and intelligent **Setup Wizard** scan your SMTP server to detect firewall blocks and eliminate configuration mistakes. The built-in **Email Log** is an invaluable resource for [diagnosing problems](https://wordpress.org/support/topic/ugly-e-mails-no-html-and-no-special-characters?replies=15) with emails. Even hosts that block the standard SMTP ports, like GoDaddy or Bluehost, can't stop your email as **Post can deliver via HTTPS** if it can't use SMTP.
+
+Post is *not* another WP Mail SMTP clone like WP Bank or Easy SMTP. It replaces the default WordPress SMTP library, PHPMailer, with the heavy-duty Zend_Mail. Never [lose an email to PHP mail()](http://www.jvfconsulting.com/blog/php-mail-function-vs-smtp-guaranteed-delivery/) again.
+
+= Standard Features =
+* Easy-to-use, powerful Setup Wizard for perfect configuration
+* Commercial-grade Connectivity Tester to diagnose server issues
+* Log and resend all emails; see the exact cause of failed emails
+* Supports [International alphabets](https://tools.ietf.org/html/rfc6530), [HTML Mail](https://en.wikipedia.org/wiki/HTML_email) and [MultiPart/Alternative](https://en.wikipedia.org/wiki/MIME#Alternative)
+* Supports forced recipients (cc, bcc, to) and custom email headers
+* [SASL](https://en.wikipedia.org/wiki/Simple_Authentication_and_Security_Layer) Support: Plain/Login/CRAM-MD5/[XOAUTH2](https://en.wikipedia.org/wiki/OAuth#OAuth_2.0) authentication
+* Security Support: [SMTPS](https://en.wikipedia.org/wiki/SMTPS) and [STARTTLS](https://en.wikipedia.org/wiki/STARTTLS) ([SSL/TLS](https://en.wikipedia.org/wiki/Transport_Layer_Security))
+* Copy configuration to other instances of Post
+
+= OAuth 2.0 Features =
+* Supports the proprietary OAuth 2.0 implementations of Gmail, Hotmail and Yahoo
+* Fire-and-forget delivery continues even if your password changes
+* Gmail: By combining OAuth2 and the Gmail API, Post can deliver where other plugins can not
+
+= WebService (HTTPS) Email Features =
+* Gmail API for sending Gmail and Google Apps email (requires a [Google](https://accounts.google.com/signup) account)
+* Mandrill API for sending any email (requires a [Mandrill](http://www.mandrillapp.com) account)
+* COMING SOON: Sparkpost API for sending any email (requires a [Sparkpost](https://www.sparkpost.com) account)
+* SendGrid API for sending any email (requires a [SendGrid](https://sendgrid.com) account and PHP 5.3)
+
+> Post needs [translators](https://translate.wordpress.org/projects/wp-plugins/Post-smtp/stable)! If you are a non-English speaker, please get involved!
+
+= Compatibile With.. =
+* [Woocommerce](https://wordpress.org/plugins/woocommerce/)
+* [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
+* [Gravity Forms](http://www.gravityforms.com)
+* [Fast Secure Contact Form](https://wordpress.org/plugins/si-contact-form/)
+* [Visual Forms Builder](https://wordpress.org/plugins/visual-form-builder/)
+* [Contact Form Builder](https://wordpress.org/plugins/contact-form-builder/)
+* [PlanSo Forms](https://wordpress.org/plugins/planso-forms/)
+* [MyMail Newsletter](http://revaxarts-themes.com/?t=mymail) by revaxarts
+* [SendPress Newsletters](https://wordpress.org/plugins/sendpress/)
+* [WP HTML Mail](https://wordpress.org/plugins/wp-html-mail/)
+* [Email Templates](https://wordpress.org/plugins/email-templates/)
+* [WordPress Leads](https://wordpress.org/plugins/leads/)
+* .. and every other plugin that uses the WordPress API [wp_mail](https://codex.wordpress.org/Function_Reference/wp_mail) to send mail!
+
+= Requirements =
+* WordPress 3.9 and PHP 5.2 with SPL and iconv
+* Memory: 750KiB per process at idle
+* Reliable mail delivery with custom email domains requires an SPF record
+* Reliable SMTP delivery requires credentials with an email service provider
+* OAuth 2.0 features require a Gmail, Hotmail or Yahoo mail OAuth 2.0 credentials
+
+
+
+== Installation ==
+
+> To send email reliably, you must use the SMTP server assigned to that email. If Post is unable to connect to the right SMTP server, you may have to ask your host to open the ports, or create a new email account managed by your host, or switch hosts!
+>
+> The Connectivity Test utility will tell you which ports are open and the actions available to you.
+
+= Easy install and setup! (Recommended for all users) =
+1. Install and activate the plugin through the 'Plugins' menu in WordPress.
+1. In the WordPress 'Settings' menu select 'Post SMTP'.
+1. Choose 'Start the Wizard' and follow the instructions.
+
+= To manually configure Password Authentication (Intermediate users only) =
+
+1. Choose configure manually
+1. In 'Transport', choose 'SMTP'
+1. In 'Outgoing Mail Server Hostname', enter the SMTP Server's hostname
+1. In 'Outgoing Mail Server Port', enter the SMTP Server's port
+1. In 'Security' choose the appropriate type (a good guess is SMTPS for port 465, STARTTLS otherwise)
+1. In 'Authentication', choose the authentication type (a good guess is 'Plain')
+1. If your Authentication method is not 'None', enter your username (probably your email address) and password.
+1. Choose the 'Message' tab.
+1. In 'Envelope From Address' enter your email address. This MUST be the same address you login to webmail with.
+1. In 'Message From Address' enter your email address. Or this can be an alias, mailing list, or group email if you wish.
+1. Choose the Save Changes button.
+1. Send yourself a test email.
+
+= To manually configure OAuth 2.0 Authentication (Advanced users only) =
+
+1. Choose configure manually
+1. In 'Transport', choose 'SMTP'
+1. In 'Outgoing Mail Server Hostname', enter the SMTP Server's hostname
+1. In 'Outgoing Mail Server Port', enter the SMTP Server's port
+1. In 'Security' choose the appropriate type (a good guess is SMTPS for port 465, StartTLS otherwise)
+1. In 'Authentication' choose 'OAuth 2.0'
+1. Post will give you a link to the Client ID maintenance page of your email service provider. Create a Client ID for your WordPress site.. [instructions for this are detailed in the FAQ](https://wordpress.org/plugins/Post-smtp/faq/)
+1. Copy your generated Client ID and Client secret into the plugin's Settings page.
+1. Choose the 'Message' tab.
+1. In 'Envelope From Address' enter your email address. This MUST be the same address you login to webmail with.
+1. In 'Message From Address' enter your email address. Or this can be an alias, mailing list, or group email if you wish.
+1. Choose the Save Changes button.
+1. Choose the 'Request OAuth2 Permission' link and follow the instructions.
+1. Send yourself a test email.
+
+> Post is developed on OS X with PHP 5.5.14 and Apache 2.4.9. Post is tested in a [Red Hat OpenShift](http://www.openshift.com/) environment with PHP 5.3.3 and Apache 2.2.15 with Gmail, Hotmail and Yahoo Mail (US). Post is tested with [mailtrap.io](http://mailtrap.io).
+
+
+
+== Frequently Asked Questions ==
+
+= Where is Postman SMTP? =
+From 2015-11-08 more or less I can say that Jason the original author stoped maintain the plugin.
+He may still answered some support tickets, but nothing more.
+
+You can read more about the "story" here:
+https://postmansmtp.com/#story
+
+
+= What is OAuth 2.0? =
+
+A modern replacement for traditional password-based authentication. Post supports the OAuth 2.0 implementations of all three major e-mail providers: Gmail, Hotmail and Yahoo Mail.
+
+= How does OAuth 2.0 work? =
+
+Post requests a limited access OAuth 2.0 token (valet key) to access the APIs (enter the house) and perform a specific service (handle Gmail, stay out of Google Docs) with no need for you to surrender your username and password credentials (master house key).
+
+Once access is granted, Post commandeers the WordPress wp_mail() function to provide an incredibly stable mail sub-system.
+
+= Can't I just tell Google to allow less secure apps and keep using my old password? =
+
+Google does have a setting to [allow less secure apps](https://support.google.com/accounts/answer/6010255) but this option is [not available](http://plugins.svn.wordpress.org/Post-smtp/assets/Screen%20Shot%202015-02-21%20at%208.52.13%20PM.png) if you're using *Google Apps* to manage a domain.
+
+There are many reasons why OAuth 2.0 is better than any password-based mechanism:
+
+* Post will never ask for your password, so your password can't be stolen
+* If you change your password regularly, you will never have to update Post's configuration
+* You have tighter control over the data Post has access to. For Google users it can never access your Calendar or Docs or YouTube; for Yahoo users it can never access your Flickr
+* If your WordPress site gets hacked, you can revoke Post's email access without impacting any other application or website that has access to your account
+
+> **[NEVER give out your Gmail, Microsoft or Yahoo password](http://blog.varonis.com/giving-away-your-passwords/)** to a 3rd-party or 3rd-party program that you don't fully trust.
+
+= What is a Client ID? =
+To use OAuth, your website needs it's own Client ID. The Client ID is used to control authentication and authorization and is tied to the specific URL of your website. If you manage several websites, you will need a different Client ID for each one.
+
+= How do I get a Google Client ID? (For Gmail users only!) =
+
+https://vimeo.com/128589255
+
+1. Go to [Google Developer's Console](https://www.google.com/accounts/Logout?continue=https://console.developers.google.com/start/api?id=gmail) and login with the same email address that you are configuring Post with.
+1. Choose 'Create a New Project'. This project will be for Post SMTP only.
+1. Select 'Consent Screen' from under 'APIs & auth'. Into 'Email address' choose the correct Gmail address and in 'Product name' put 'Post SMTP'. Choose 'Save'.
+1. Select 'Credentials' from under 'APIs & auth'. Choose 'Create a new Client ID'.
+1. For the 'Application Type' use 'Web application'.
+1. In 'Authorized Javascript origins' enter the 'Javascript Origins' given by Post (either from the wizard[[screenshot]](http://plugins.svn.wordpress.org/Post-smtp/assets/examples/Screen_Shot_2015-03-06_at_2_34_22_PM.png), or from the manual configuration page[[screenshot]](http://plugins.svn.wordpress.org/Post-smtp/assets/examples/Screen_Shot_2015-03-06_at_2_44_48_PM.png)).
+1. In 'Authorized Redirect URIs' enter the 'Redirect URI' given by Post (either from the wizard[[screenshot]](http://plugins.svn.wordpress.org/Post-smtp/assets/examples/Screen_Shot_2015-03-06_at_2_34_22_PM.png), or from the manual configuration page[[screenshot]](http://plugins.svn.wordpress.org/Post-smtp/assets/examples/Screen_Shot_2015-03-06_at_2_44_48_PM.png)).
+1. Choose 'Create Client ID'.
+1. Enter the Client ID and Client Secret displayed here into Post's settings page [screenshot](https://ps.w.org/Post-smtp/assets/screenshot-7.png?rev=1108485).
+
+= How do I get a Microsoft Client ID? (For Hotmail/Live/Outlook.com users only!) =
+1. Go to [Microsoft account Developer Center](https://account.live.com/developers/applications/index) and select 'Create application'.
+1. In the 'Application name' field enter 'Post SMTP'. Select 'I accept.'
+1. Select 'API Settings' from under 'Settings'.
+1. In 'Redirect URL', enter the redirect URI given by Post (either from the wizard, or from the manual configuration page). Select Save.
+1. Select 'App Settings' from under 'Settings'.
+1. Enter the Client ID and Client Secret displayed here into Post's settings page.
+
+= How do I get a Yahoo Client ID? (For Yahoo Mail users only!) =
+1. Go to [Yahoo Developer Network](https://developer.yahoo.com/apps/) and select 'Create an App'.
+1. In the 'Application Name' field enter 'Post SMTP'. For 'Application Type' choose 'Web Application'.
+1. In 'Home Page URL', enter the 'Home Page URL' given by Post.
+1. In 'Callback Domain', enter the 'Callback Domain' given by Post.
+1. Under 'API Permissions' choose 'Mail'. Under 'Mail' choose 'Read/Write'
+1. Click 'Create App'
+1. Enter the Client ID and Client Secret displayed here into Post's settings page.
+
+= How can I revoke Post's OAuth 2.0 access? =
+* If you have a Google Account, from the [Google Developer's Console](https://www.google.com/accounts/Logout?continue=https://console.developers.google.com) use the Delete button under the Client ID.
+* If you have a Microsoft Live account, from the [Microsoft account Developer Center](https://account.live.com/developers/applications/index), select the Application and choose Delete Application.
+* If you have a Yahoo Account, from the [Yahoo Developer Network My Apps](https://developer.yahoo.com/apps/), select the Application and choose Delete App.
+
+
+
+== Grant OAuth permission error messages ==
+
+Please note that the Client ID and Client Secret fields are NOT for your username and password. They are for OAuth Credentials only.
+
+= Error authenticating with this Client ID. [Error executing wp_remote_post: The user has blocked requests via HTTP.] =
+
+Your WordPress site is configured with WP_HTTP_BLOCK_EXTERNAL to prevent outbound connections. Add a whitelist rule to wp-config.php:
+> define('WP_ACCESSIBLE_HOSTS', 'www.googleapis.com, login.live.com, api.login.yahoo.com');
+
+= Error authenticating with this Client ID. [Error executing wp_remote_post: Failed to connect to xxxx] =
+
+There is a firewall on port 443 between you and the OAuth2 server. Open up the port for outbound connections.
+
+= Error: redirect_uri_mismatch =
+
+* You did not enter the Redirect URI correctly, watch the [instructional video](https://vimeo.com/128589255)
+* You used an IP address instead of a domain name (not allowed)
+
+= Error: invalid_client ... no support email =
+
+You've [forgotten to choose an email address in the consent screen](https://wordpress.org/support/topic/status-Post-is-not-sending-mail-1?replies=7).
+
+
+== SMTP Error Messages ==
+
+= Communication Error [334] – make sure the Envelope From Email is the same account used to create the Client ID. =
+
+* This is almost always caused by being logged in to Google/Microsoft/Yahoo with a different user than the one Post is configured to send mail with. Logout and try again with the correct user
+* Login to [Webmail](http://www.gmail.com) and see if there is an "Unusual Activity" warning waiting for your attention
+
+= Could not open socket =
+
+* Your host may have installed a firewall between you and the server. Ask them to open the ports.
+* Your may have tried to (incorrectly) use SSL over port 587. Check your encryption and port settings.
+
+= Operation Timed out =
+
+* Your host may have poor connectivity to the mail server. Try doubling the Read Timeout.
+* Your host may have installed a firewall (DROP packets) between you and the server. Ask them to open the ports.
+* Your may have tried to (incorrectly) use TLS over port 465. Check your encryption and port settings.
+
+= Connection refused =
+
+Your host has likely installed a firewall (REJECT packets) between you and the server. Ask them to open the ports.
+
+= 503 Bad sequence of commands =
+
+You configured TLS security when you should have selected no security.
+
+= XOAUTH2 authentication mechanism not supported =
+
+You may be on a Virtual Private Server that is [playing havoc with your communications](https://wordpress.org/support/topic/oh-bother-xoauth2-authentication-mechanism-not-supported?replies=9). Jump ship.
+
+
+== Mail ends up in the Spam folder ==
+
+To avoid being flagged as spam, you need to prove your email isn't forged. On a custom domain, its up to YOU to set that up:
+
+* Ensure you are using the correct SMTP server with authentication - the correct SMTP server is the one defined by your email service's SPF record
+* If you use a custom domain name for email, add an [SPF record](http://www.openspf.org/Introduction) to your DNS zone file. The SPF is specific to your email provider, for example [Google](https://support.google.com/a/answer/33786)
+* If you use a custom domain name for email, add a DKIM record to your DNS zone file and upload your Domain Key (a digital signature) to, for example [Google]((https://support.google.com/a/answer/174124?hl=en))
+
+
+
+
+== Screenshots ==
+
+1. WordPress Dashboard showing both the Post widget and At a Glance widget
+1. Main Settings screen - shows Main Menu and current status (new installation)
+1. Setup Wizard (step 1) - Import data from other plugins
+1. Setup Wizard (step 4) - Connectivity Test
+1. Manual Configuration - Account Settings: Password Authentication
+1. Manual Configuration - Account Settings: OAuth 2.0 Authentication
+1. Manual Configuration - Message Settings
+1. Manual Configuration - Advanced Settings
+1. Test Email utility screen - Oops! Wrong password
+1. Emai Log screen
+1. Connectivity Test utility screen
+1. Diagnostic Information screen
+
+
+
+== Changelog ==
+
+= 1.7.3 - 2017-10-07 =
+* Fixed: security issue (XSS)
+* Fixed: Small bug with Google API
+
+= 1.7.2 - 2015-11-08 =
+* [[Ticket](https://wordpress.org/support/topic/having-troble-in-17-while-set-content-type-to-texthtml?replies=8)] - v1.7 ignores the content-type header set in the Additional Headers. Fixed.
+* [[Ticket](https://wordpress.org/support/topic/do-not-network-activate-17-on-multisite?replies=15)] - Fixed an issue where v1.7 admin screens crash for non-admin users when Post is not configured. Fixed a multiste issue where v1.7 site admins lose access to their Post settings screen. Special thank-you to Domi2015 for giving me access for testing! :)
+* Localized jQuery Validation messages
+* Localized MyMail messages
+* Put the local translation files back, as WordPress on-line translations do not work as advertised
+
+= 1.7.1 - 2015-11-05 =
+* [[Ticket](https://wordpress.org/support/topic/cant-send-an-email-using-optimizepress?replies=8)] - the Optimizepress plugin calls wp_mail before the WordPress init hook, before Post is fully initialized, so I made a change to accomodate this behavior
+* [[Ticket](https://wordpress.org/support/topic/v17?replies=13)] - v1.7 admin screen may become inaccessible after upgrading. Fixed.
+* [[Ticket](https://wordpress.org/support/topic/inboundnow-html-e-mail-templates-are-not-being-recognized-with-170?replies=3)] - v1.7 breaks compatibility with [WordPress Leads](https://wordpress.org/plugins/leads/). Fixed.
+
+= 1.7.0 "Iliana" - 2015-11-03 =
+* Happy Halowe'en! 30,000 installations! - 2015-10-31
+* Integrated Mandrill API
+* Integrated SendGrid API
+* Language files have been removed from the plugin as [translations are now performed on-line](https://translate.wordpress.org/projects/wp-plugins/Post-smtp). If you are a non-English speaker please constribute!
+* Post commandeers email when activated and sends using the WordPress default of localhost:25 - this is for people who want to use it to diagnose email problems without configuring SMTP
+* Re-send failed e-mails from the Email Log screen
+* Added an internal 'manage_Post_smtp' capability for advanced management with, for example, [User Role Editor](https://wordpress.org/plugins/user-role-editor/)
+* [[Ticket](https://wordpress.org/support/topic/exportimport-settings-4?replies=2)][[Ticket](https://wordpress.org/support/topic/export-import-configuration?replies=1)] Added an import/export tab to the Advanced Configuration screen for those who want to duplicate settings between sites.
+* [[Ticket](https://wordpress.org/support/topic/gateway-error-invalid-envelope-from-mail-address?replies=9#post-7528068)] Added option to disable e-mail address validation
+* [[Ticket](https://wordpress.org/support/topic/error-665?replies=7#post-7581776)] Fix for fatal error when using a non-administrator in the admin menu.
+
+= 1.6.24 - 2015-09-10 =
+* 20,000 installations! - 2015-09-09
+* Translated into Greek, thank-you Michael Kotsarinis!
+* Diagnostic Test displays all the wp_mail-related hooks of active plugins and themes
+* When validating e-mail addresses, Post will disclose which field has a validation issue in the error message
+* Default log entries bumped from 10 to 250
+* [[Ticket](https://wordpress.org/support/topic/for-your-consideration-backup-email-notification?replies=5)] Added nasty fake input field hack to prevent browsers from autofilling username/password fields.
+* [[Ticket](https://wordpress.org/support/topic/cf7-godaddy-emails-not-delivered?replies=5)] Added a warning to the Email Log for emails that have an empty subject line
+* [[Ticket](https://wordpress.org/support/topic/test-failed-but-meesage-is-sent?replies=12)] Test Email detects Ajax errors and displays them in the Status window
+* [[Ticket](https://wordpress.org/support/topic/missing-image-files-of-jquery-ui-1?replies=4)] Removed the references to images in Post's copy of jquery-ui.css causing HTTP 404
+* [[Ticket](https://wordpress.org/support/topic/test-email-keeps-on-failing?replies=17)] Fixed an Ajax name collision with the plugin [MemberPress](https://www.memberpress.com)
+* [[Ticket](https://wordpress.org/support/topic/message-body-not-send?replies=15)] Some sites can not handle International (UTF-8) characters in the Test Email. Fixed.
+* [[Ticket](https://wordpress.org/support/topic/notices-for-google-api-php-client?replies=10)] Fix for PHP Notice: Undefined offset: 1 in Post-smtp/Post/Post-Mail/google-api-php-client-1.1.2/autoload.php on line 22
+* [[Ticket](https://wordpress.org/support/topic/test-failed-but-meesage-is-sent?replies=13)] Silenced PHP warnings in Zend_Mail from ini_set
+
+= 1.6.23 - 2015-06-27 =
+* 10,000 installations! - 2015-06-27
+* 9,000 installations! - 2015-06-20
+* [[Ticket](https://wordpress.org/support/topic/conflict-with-bbpress-and-buddy-press-in-1622?replies=2)] Causes bbPress or Buddy Press to generate warning messages. Fixed.
+* [[Ticket](https://wordpress.org/support/topic/fatal-error-internal-zend-error-missing-class-information?replies=2#post-7092317)] User reported error "Fatal error: Internal Zend error - Missing class information" - Whoops, used 'require' PostState.php instead of 'require_once' PostState.php which was causing errors. Fixed.
+* [[Ticket](https://wordpress.org/support/topic/error-send-mymail-email-marketing?replies=5)] [[Ticket](https://wordpress.org/support/topic/how-configure-mymail-in-plugin?replies=6)] MyMail Newsletter Plugin for WordPress refuses to use wp_mail. I don't want to make this a habit, but I've integrated Post with MyMail's proprietary delivery mechanism.
+* [[Ticket](https://wordpress.org/support/topic/cant-send-error-500?replies=11#post-7103035)] Found an environment where the plugin's call to new Exception was creating PHP Fatal errors. Fixed.
+* [[Ticket](https://wordpress.org/support/topic/error-calling-post-400-invalid-to-header?replies=4)] Perform validation on all email headers before sending message
+* The Gmail API transport displays a copy of the payload during the Send Email Test and saves this payload to the Email Log
+* No longer shows the Javascript pop-up if the error is caused by the user cancelling everything (by checking JSON response.responseText for null)
+
+= 1.6.22 - 2015-06-14 =
+* Finally realized that for the last five months I've been relying on register_activation_hook to fire during plugin updates - [and it doesn't](https://make.wordpress.org/core/2010/10/27/plugin-activation-hooks-no-longer-fire-for-updates/). Lovely. Well this change should eliminate all the "update doesn't work!" bugs for good.
+* [[Ticket](https://wordpress.org/support/topic/latest-update-conflicting-with-theme?replies=3#post-7066897)] I enable Strict mode when I code Post to ensure it's error free and I forgot to turn it off. This was causing all plugins and themes to show their warnings. Fixed.
+* [[Ticket](https://wordpress.org/support/topic/upgrade-to-1619-broke-contact-form?replies=2#post-7067673)] I didn't thoroughly test the Gmail API, causing "Catchable fatal error: Argument 1 passed to PostGmailApiModuleTransport::getAuthenticationType() must be an instance of PostOptions, none given." Fixed.
+* [[Ticket](https://wordpress.org/support/topic/gmail-api-assertion-failed-and-cannot-modify-header-information?replies=4#post-7068833)] I didn't thoroughly test the Gmail API, it wasn't warning the user if the Envelope Sender Address is missing. Fixed.
+* [[Ticket](https://wordpress.org/support/topic/password-corruption-issue?replies=1)][[Ticket](https://wordpress.org/support/topic/password-corruption-issue?replies=4#post-7068839)] Found a problem in the Activation Handler. It was re-encoding passwords when it shouldn't have been. Fixed.
+
+= 1.6.18 - 2015-06-13 =
+* 8,000 installations! Big milestone! The author of [Contact Form 7](https://wordpress.org/plugins/contact-form-7/) has [officially endorsed Post SMTP](http://contactform7.com/faq/i-get-an-error-message-with-a-red-border-so-how-can-i-solve-this/) as the SMTP plugin of choice! You can't wipe the smile from my face :D
+* [[Ticket](https://wordpress.org/support/topic/subscriber-registration?replies=6)] Post is determining the current user's admin capability incorrectly. Fixed.
+* [[Ticket](https://wordpress.org/support/topic/using-a-google-apps-group-as-sender?replies=3)] Added an additional From field, the Envelope From Address, so users can use a different From address than the Account address (for example, to use a Google Apps' Group email address)
+* Added a uniqueness (based on site URL) to the lock filename in case this is shared hosting
+* Persistence-level updates now run across all subsites on a multisite installation
+
+= 1.6.17 - 2015-06-08 =
+* You know you're having a really bad day when you have to have do three releases. Fix for "Fatal error: Call to a member function addError() on a non-object". This happens when wp_mail is blocked by another plugin and a non-admin user accesses the site.
+* [[Ticket](https://wordpress.org/support/topic/error-after-latest-upgrade?replies=2#post-7044181)] Fixed a bug "Fatal error: Cannot redeclare IsNullOrEmptyString()" I introduced in v1.6.15
+* Added Cc and Bcc addresses to Email Log
+* [[Ticket](https://wordpress.org/support/topic/email-errors?replies=16)][[Ticket](https://wordpress.org/support/topic/Post-smtp-on-contact-form-7?replies=2#post-7043223)] Force a Logout of Google before launching the Developers Console so it's obvious to the user which account is being used
+* Now using Google Developers Console Gmail Wizard URL in place of Google Developers Console URL to simplify Client ID creation
+* [[Ticket](https://wordpress.org/support/topic/fixed-my-problem-but-broke-bbpress-notifications?replies=7#post-7038255)] Removing the BCC header in the case of the Gmail API was incorrect and causing lost recipients. Fixed.
+* Fixed a compatibility issue (PHP Fatal Error) with the Post Gmail API Extension
+
+= 1.6.14 - 2015-06-05 =
+* [[Ticket](https://wordpress.org/support/topic/large-warnings-on-site?replies=1#post-7036030)] Fixed a bug (PHP Warning) I introduced in v1.6.13
+* 7,000 installations!
+* Translated into Dutch, thank-you Louise
+* [[Ticket](https://wordpress.org/support/topic/bad-requestinvalid_grant?replies=13#post-6991435)] Add process-locking to make sure the OAuth2 token is refreshed synchronously
+* Use the Zend_Mail setReturnPath option to communicate the Mail-From and Sender as the SMTP account, allowing arbitrary addresses in the From header
+* [[Ticket](https://wordpress.org/support/topic/smtp-authentication-security?replies=1#post-7025445)] Added Emoji lock icons to Dashboard and Main Setting screens to indicate security
+* [[Ticket](https://wordpress.org/support/topic/problem-sending-mail-with-other-users?replies=19)] Emails from the [Email Users](https://wordpress.org/plugins/email-users/) plugin were causing undeliverable errors - fixed by removing the SMTP Return-Path header that *Email Users* injects
+
+= 1.6.12 - 2015-05-30 =
+* 6,000 installations! - 2015-05-26
+* Post now calls wp_mail when sending a test email. This marks the beginning of the "Post API"
+* Shaved admin memory use from ~6MB to ~4MB; Non-admin memory use holds at ~2MB
+* Now loading the Sent Email post type for all admin screens, in case other custom post type-related plugins (e.g. WordPress Importer) need it
+* Wasn't comfortable how plugin_data was being retrieved, so reverted back to hard-coded plugin name and version
+* Save original wp_mail parameters to Email Log so that a Resend action can be implemented
+* [[Ticket](https://wordpress.org/support/topic/578-error-authentication-failed-ugfzc3dvcmq6?replies=4#post-7008516)] Removed sanitize_text_field from the PostSanitizer to prevent corruption of some passwords
+* [[Ticket](https://wordpress.org/support/topic/fatal-error-after-the-latest-update?replies=9#post-6963805)] Removed the WordPress function call wp_slash - systems that don't support it can now use logging
+* A lot of general code clean-up and memory optimizations
+
+= 1.6.11 - 2015-05-22 =
+* [[Ticket](https://wordpress.org/support/topic/call-to-undefined-function-spritnf?replies=2#post-6977557)] Fix for "Fatal error: Call to undefined function spritnf() in PostEmailLogController.php on line 284" - sometimes PHP really sucks compared to Java
+* Added a link to a HowTo Video for configuring Google OAuth 2.0 in the OAuth2 authentication section
+
+= 1.6.10 - 2015-05-18 =
+* 5,000 installations!
+* Looks for php_openssl and php_socket in the Pre-Requisites check
+* [[Ticket](https://wordpress.org/support/topic/email-log-doesnt-show-up-after-upgrade?replies=2)] I hate when you have to have a fix for a fix. It means you need to hire more testers.
+* [[Ticket](https://wordpress.org/support/topic/send-email-failed?replies=17#post-6954616)] Changed the way Post performs the API Connectivity Test to more resemble how Google does it
+* [[Ticket](https://wordpress.org/support/topic/the-result-was-boolfalse-1?replies=1)] Found a host that the Connectivity Test gets confused on : send.one.com. STARTTLS detection was failing. Fixed.
+* [[Ticket](https://wordpress.org/support/topic/fatal-error-after-the-latest-update?replies=9#post-6963805)] Some users insist on running Post in WordPress < 3.6 which has no wp_slash function. Logging is disabled in this case.
+
+= 1.6.8 - 2015-05-14 =
+* [[Ticket](https://wordpress.org/support/topic/fatal-error-after-the-latest-update?replies=2#post-6948880)] Found a PHP envrionment that choked in the catch block trying to call a function (get transcript) on an object instantiated in the try (mail engine). Fixed.
+* [[Ticket](https://wordpress.org/support/topic/a-valid-address-is-required-issue-with-contact-form-builder-plugin?replies=2)] If wp_mail is called with a recipient list that ends in a comma, Post tries to add an empty address to the message. Fixed.
+* The SMTP Session Transcript was not being saved for errors! Fixed.
+
+= 1.6.6 - 2015-05-12 =
+* [[Ticket](https://wordpress.org/support/topic/requesting-permission?replies=14)][[Ticket](https://wordpress.org/support/topic/status-Post-is-not-sending-mail?replies=42)][[Ticket](https://wordpress.org/support/topic/Post-is-not-handling-email-delivery?replies=4)][[Ticket](https://wordpress.org/support/topic/google-request-isnt-acceptable?replies=10)][[Ticket](https://wordpress.org/support/topic/google-wont-grant-permission?replies=7)] Fixed a long-standing bug where Post would ignore the Grant Code from an OAuth provider if it wasn't in the very next HttpRequest that the site received. Changed this to use a three-minute window.
+
+= 1.6.5 - 2015-05-10 =
+* [[Ticket](https://wordpress.org/support/topic/problem-using-wizard?replies=4)] Fixed a Javascript bug
+* Added an Ajax failure handler to every Ajax post
+
+= 1.6.4 - 2015-05-08 =
+* SMTP transport requires a Sender Email Address be set
+* Wizard will not clear the hostname if it comes back null
+* If the host does not support "humanTime", the Email Log will fall back to an ISO date
+* Added a new advanced option: Transcript size to adjust how much of the transcript is saved in the log
+* The wizard gets confused if the user specified auth type is undefined for the newly chosen socket. for example, a gmail address, with a mailtrap.io server, toggling between the gmailapi socket and the mailtrap socket. Fixed.
+* Show a warning on the main setting screen if the Delivery mode is not set to Production
+
+= 1.6.2 - 2015-05-06 =
+* 4,000 installations!
+* [[Ticket](https://wordpress.org/plugins/Post-gmail-extension/)] Some of the changes released in v1.6 broke the Gmail Extension. Fixed.
+* [[Ticket](https://wordpress.org/support/topic/x-mailer?replies=9)] Added a new advanced option: Stealth Mode to hide the Post X-Mailer signature
+* Added a Transcript option in the Email Log
+* Fixed how the Wizard handles new GoDaddy Office-365 supported email
+
+= 1.6.1 - 2015-05-04 =
+* You test and test and test, and there's always a bug. Fixed a problem in the Port Recommender where it thought STARTTLS was offered when it isn't (test case: test@aol.com)
+
+= 1.6 - 2015-05-03 =
+* Fold all code from the Post Gmail Extension back into Post
+* Remove warning from main screen for sender override if it's already on
+* Delivery mode - production, logging, test
+* Help screens
+* Log all email attempts with error messages (if any)
+* Truncate logs to max amount
+* View all the email attempts, and view a single entry
+* Delete single, delete batch, and delete the entire log on pugin data purge
+* Highlight Logging option to users
+* Obscure password from front-end
+* Ask to see password when typing
+* When the wizard is looking up details on the email address, disable the smtp hostname field
+* Wizard check server ID and warn for MITM 'attack'
+* Check for GoDaddy SMTP server during Wizard and use that SMTP server
+* Check for Gmail during wizard and remember for gmail api option.
+* Present choices to user when select the auth type and socket in wizard more elegantly (radio buttons?)
+* Warn when using AUTH with NO encryption - done with padlock emoji
+* Add hostname to connectivity test table.
+* Remove hard-coded plugin version number
+
+= 1.5.13 - 2015-04-22 =
+* 3,000 installations!
+
+= 1.5.13 - 2015-04-18 =
+* Minor fix in Wizard: OAuth labels weren't updating dynamically (since v1.5.11)
+* Lots of changes at Yahoo's Developer Network required changes here: updated format of Callback Domain; updated Yahoo Developer Network portal launch link; renamed Consumer Key/Secret to Client ID/Client Secret; updated FAQ for Yahoo Client ID instructions
+* [[Ticket](https://wordpress.org/support/topic/re-initializing-the-plugin?replies=5)] Updated stylesheet to avoid interference from Dating Solutions Plugin (DSP)
+
+= 1.5.12 - 2015-04-14 - The Jamaican release! =
+* [[Ticket](https://wordpress.org/support/topic/help-mail-is-failing-in-test?replies=9)] PHP 5.2 users: fix test messages that show failures but still get delivered; fix Contact Form 7 submission freezes
+* Translated into Turkish, thank-you ercan yaris
+
+= 1.5.11 - 2015-04-05 =
+* 2,000 installations! :D
+* Commercial-grade improvements to Connectivity Test and Setup Wizard. The new wizard prevents misconfiguration by interrogating the MTA for capabilities and intelligently suggests the best settings for the user. Steve Jobs would be proud.
+* Fixed Wizard's MSA hostname guess for GoDaddy addresses (smtp.secureserver.net is the MTA not the MSA)
+* Fixed Wizard's MSA hostname guess for Outlook 365 addresses (smtp.live.com is for their free Hotmail service)
+* Added French/Italian translation for JQuery Validation
+
+= 1.5.10 - 2015-03-29 =
+* Fix for Fatal error: Cannot redeclare class PEAR_Common in C:\PHP5\PEAR\PEAR\Common.php - similar to [this error](https://wordpress.org/support/topic/plugin-wp-minify-cant-activate-plugin-fatal-error?replies=6) in WP Minify
+
+= 1.5.9 - 2015-03-26 =
+* Added JQuery tabbed UI for manual configuration screen
+* Added functionality to add to, cc, and bcc recipients to every message
+* Added functionality to add custom headers to every message - useful for [Mandrill "SMTP" headers](http://help.mandrill.com/entries/21688056-Using-SMTP-Headers-to-customize-your-messages)
+* [[Ticket](https://wordpress.org/support/topic/invalid-redirect-uri?replies=7)] The Setup Wizard will check for IP addresses in the site URL and warn the user when they are about to configure OAuth 2.0 that this will fail.
+* [[Ticket](https://wordpress.org/support/topic/from-address-for-new-site-registration-email?replies=3)] Added functionality to prevent plugins and themes from overriding both the sender name and sender email address
+* [[Ticket](https://wordpress.org/support/topic/problem-with-responding?replies=7#post-6723830)] Hide PHP warnings from `stream_set_timeout()` in case the host has disabled this function.
+
+= 1.5.8 - 2015-03-16 =
+* 1,000 installations! :D
+* [[Ticket](https://wordpress.org/support/topic/openssl-error-after-upgrading?replies=2#post-6699480)] Post will not shut down if it can't find OpenSSL. It will just display a warning to the user.
+
+= 1.5.7 - 2015-03-14 =
+* [[Ticket](https://wordpress.org/support/topic/conflict-when-used-in-conjunction-with-advanced-access-manager-by-vasyl-martyn?replies=9)] renamed Zend framework classes to prevent errors with other plugins using the Zend framework
+* [[Ticket](https://wordpress.org/support/topic/test-email-hangs?replies=5)] Added ajax error checks, especially for Error 502 : Bad Gateway (from WPEngine.com) when sending test e-mail
+* Multipart/Alternative was horribly broken, clearly no-one was using it. It's working now, and Post's new Test Message is Multipart/Alternative. Thanks to Victor Hung of [poofytoo](http://poofytoo.com) for the use of his cartoon.
+* Add PHP library pre-requisite checks to Binder, Dashboard widget, Admin screen and Admin screen error messages.
+* Translated into Italian, thank-you Andrea Greco
+* Obfuscated e-mail address in Diagnostic Info
+* Fixed Wizard's SMTP hostname guess for Apple addresses (icloud.com, me.com, mac.com)
+
+= 1.5.5 - 2015-03-11 =
+* Added a Dashboard Widget to display Post status
+* [[Ticket](https://wordpress.org/support/topic/sending-test-email-hangs?replies=9)] Added diagnostics check for iconv library
+* Moved the SMTP transcript to it's own step in the Send Email Test
+* Moved 3rd-party plugin import to the Setup Wizard
+* [[Ticket](https://wordpress.org/support/topic/language-file-errors-in-debug-log?replies=3)|[Ticket](https://wordpress.org/support/topic/cant-activate-plugin-37?replies=6)] Stopped writing to error log if a language file can't be found
+* Added the Http User Agent string to the diagnostics
+
+= 1.5.4 - 2015-03-04 - the Birthday Release =
+* [[Ticket](https://wordpress.org/support/topic/status-Post-is-not-sending-mail?replies=42)] Added support for the [wp_mail](http://codex.wordpress.org/Plugin_API/Filter_Reference/wp_mail) filter - this adds compatibility with plugins like email-log
+* Better diagnostics - includes a port check on the currently configured host:port
+* Fixed a bug where multiple error messages at once overwrite each other
+* [[Ticket](https://wordpress.org/support/topic/incorrect-authentication-data-error-220?replies=9)] Fixed a bug in Sanitizer for cases where WordPress calls sanitize twice in a row - [known WP bug](https://core.trac.wordpress.org/ticket/21989)
+
+= 1.5.3 - 2015-02-28 =
+* Added a dedicated screen for Diagnostics (so that I can add more intensive, slower-running checks like DNS)
+* Fixed port-testing race condition bug in Post Setup Wizard when using Gmail API Extension
+* Fix for error "Fatal error: Cannot redeclare class PostOAuthTokenInterface" when using Gmail API Extension
+* Checks to make sure that the hostname used for SMTP/OAuth 2.0 is one that is supported
+* Removed display_errors=On, Mr. Space Cadet here left it in the previous release by accident
+
+= 1.5.1 - 2015-02-23 =
+* Bugs slipped through. In the Wizard, choosing port 465 was not hiding the authentication label. Worse, choosing port 587 was not showing the authentication buttons.
+* In the wizard, if no ports are available for use, the error message was not being displayed.
+
+= 1.5 - 2015-02-22 =
+* [[Ticket](https://wordpress.org/support/topic/oh-bother-connection-refused?replies=12)|[Ticket](https://wordpress.org/support/topic/impossible-to-send-mail?replies=6)] Added support for modular transports. The first external transport is the Post Gmail Extension, which uses the Gmail API to send mail out on the HTTPS port, a convenient way around traditional TCP port blocks for Gmail users
+* [[Ticket](https://wordpress.org/support/topic/display-error-on-plugin-activation?replies=33)] Made my debug logging "less agressive" so that broken systems (those that pipe warning messages to STDOUT regardless of the WordPress WP_DEBUG_DISPLAY setting or PHP's display_errors settings) will no longer experience the Port Test hanging during a check
+* Fixed a bug in the Setup Wizard where it would not use OAuth 2.0 on port 587
+* Fixed a bug where Post refused to send mail with Password authentication and no encryption (who does that??)
+
+= 1.4.1 - 2015-02-17 =
+* All text has been [externalized](http://plugins.svn.wordpress.org/Post-smtp/trunk/Post/languages/Post-smtp.pot) in prep for [I18N Internationalization and localization](http://codex.wordpress.org/I18n_for_WordPress_Developers)
+* Fixed a bug where the Setup Wizard would force OAuth 2.0 configuration, instead of falling back to Password, even if the required port was closed
+* Added more error checking, and more warning messages.
+* Translated into French, thank-you Etienne Provost
+
+= 1.4 - 2015-02-15 =
+* Happy Valentine's Day! Sending Yahoo email now supported with OAuth 2.0 authentication! If the Wizard detects that a Yahoo server has been entered, it automatically configures OAuth 2.0
+* First time users may choose to import settings from any of the Big Four WordPress SMTP plugins (five if you count Easy SMTP Mail, a clone of WP Mail SMTP): Easy WP SMTP, WP Mail Bank, WP Mail SMTP and WP SMTP
+* [[Ticket](https://wordpress.org/support/topic/display-error-on-plugin-activation?replies=33)] Suppressed warning messages generated by calls to fsockopen - they were causing the remote Ajax queries to hang
+* The wizard was resetting some settings by accident, namely Connection Timeout, Read Timeout and Reply-To
+* [[Ticket](https://wordpress.org/support/topic/display-error-on-plugin-activation?replies=33)] Found an environment where calls to error_log were being displayed in the HTML even after display_errors was disabled. Therefore, disabled error_log calls by default. The log may be re-enabled in Advanced Settings
+* The Bad, Post! screen was messing with the Port Test Ajax call when fsockopen generated an error and debug level is set to E_ALL in php.ini. Therefore added a switch in the configuration "Show Error Screen" that is off by default. When it is off, Port Test works perfect but errors generate a WSOD. When it is on, errors are displayed in the "Bad, Post!" screen but Port Test fails.
+* I heard that some hosts, like WPEngine, do not allow writing to the Http Session. Well that's balls. I've modified the code to write to the database instead.
+
+= 1.3.4 - 2015-02-11 =
+* 500 downloads and six 5-star ratings in only three weeks! Cool! 8-)
+* Replaced the Google OAuth API with pure PHP code. No more unexpected Google API errors.
+* [[Ticket](https://wordpress.org/support/topic/contact-7-and-activation-error?replies=16)] Enabled overriding of the timeouts in the configuration screen. If Post is intermittently sending mail, doubling the TCP Read Timeout may help
+* Added the SMTP session transcript output when a test message fails to send.
+* Fixed the error: Class 'Zend_Mail_Protocol_Smtp_Auth_Plain' not found in /Post/Post-Mail/Zend-1.12.10/Mail/Transport/Smtp.php on line 198
+* Passwords in the database are now Base64-encoded so casual viewing of the database won't reveal them
+* Fixed a couple minor database upgrade bugs: for new users who use Password Authentication, and for old users that don't have an expiry token stored
+* Added a version shortcode, mostly for promotion of Post on my own websites
+* Serveal minor tweaks to the user interface, including focus, style, validation, and enabling/disabling inputs where applicable
+
+= 1.3.2 - 2015-02-10 =
+* [[Ticket](https://wordpress.org/support/topic/contact-7-and-activation-error?replies=16)] Fixed the error: PHP Fatal error: Call to private PostAuthorizationToken::__construct() This occurs when upgrading from a pre-v1.0 version of Post (when PostAuthorizationToken had a public constructor) to v1.0 or higher
+* [[Ticket](https://wordpress.org/support/topic/404-not-found-79?replies=17)] Fixed the error PHP Fatal error: Class 'Google_IO_Stream' not found in /Post/Post-Auth/google-api-php-client-1.1.2/src/Google/Client.php on line 600 by including Google/IO/Stream.php
+* Post now has a modest fatal error screen, rather than a dreaded white screen of death
+
+= 1.3 - 2015-02-09 =
+* Sending Hotmail/Windows Live/Outlook.com email now supported with OAuth 2.0 authentication! If Wizard detects that a Hotmail server has been entered, it automatically configures OAuth 2.0.
+* Separated Authentication input from Encryption input for finer configuration control
+* Added additional authentication types: plain and CRAM-MD5. 'basic' became 'login'
+* Added Ajax to manual config and wizard screens to allow dynamic OAuth2 redirect url + help text changes in response to hostname changes
+* Removed 'Allow Plugin to Override Sender' user input
+* Added Online Support link in menu
+* Clarified text in 'Run a Port Test' so people won't continue to ask me about connection problems (hopefully)
+
+= 1.2 - 2015-02-04 =
+* Support for Sender Name and Reply-To. Turns out Google no longer honours the MUA Return-Path header due to Spam. Makes sense, so I've decided not to add a Return-Path field to Post's configuration.
+* Support for WordPress filters [wp_mail_from](http://codex.wordpress.org/Plugin_API/Filter_Reference/wp_mail_from) and [wp_mail_from_name](http://codex.wordpress.org/Plugin_API/Filter_Reference/wp_mail_from_name)
+* Disable stats-keeping for email sent by the test function
+* Minor tweaks to the Wizard to support WordPress v3.9
+
+= 1.1.1 - 2015-02-03 =
+* [[Ticket](https://wordpress.org/support/topic/contact-form-7-not-sending-after-update-of-Post-smtp?replies=5)] Fixed a bug I introduced in 1.1. Thanks to user derrey for catching this one. Zend_Mail crashes when attempting to throw an exception when the 'from' standard header was added as a header : "Zend_Mail_Exception code=0 message=Cannot set standard header from addHeader()"
+
+= 1.1 - 2015-02-03 =
+* [[Ticket](https://wordpress.org/support/topic/charset-problem-6?replies=4)] Added support for international characters (the WordPress default is UTF-8) which can be specified with headers or the [wp_mail_charset](http://codex.wordpress.org/Plugin_API/Filter_Reference/wp_mail_charset) filter
+* Added support for multi-part content type which can be specified with headers or the [wp_mail_content_type](http://codex.wordpress.org/Plugin_API/Filter_Reference/wp_mail_content_type) filter
+
+= 1.0 - 2015-02-02 =
+* Overhaul of the UI - A navigation pane is shown at the top of each page and each major function has been separated into its own screen
+* Post now supports sending with basic auth and no auth just like the other SMTP plugins
+* Added a Port Test function so users can have peace of mind whether the plugin is failing (never!) or whether the host has firewalled them
+* [[Ticket](https://wordpress.org/support/topic/emails-not-sending-in-html-format?replies=5)] Now supports email headers, such as a text/html content-type
+* Now supports email attachments
+* Added a warning if the user has configured OAuth but not requested permission from Google
+* Added a warning if the user is using Google with Basic auth (or worse) and a suggestion to enable OAuth 2.0
+* Recording of successful/failure tally
+
+= 0.2.7 - 2015-01-29 =
+* Fixed error: "Undefined variable: authorizationToken" was preventing mail delivery outside of the admin screen.
+* Fixed warning message that Post couldn't bind to wp_mail immediately after Activation
+* Added prerequisite checks to make sure the PHP environment can handle Post
+* Moved the screenshots and icons out of /trunk and into /assets
+
+= 0.2.6 - 2015-01-28 =
+* [[Ticket](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-63?replies=24)] Fixed "Configure and Authorize the plugin" missing the link address. Thanks to user kaorw for catching ths one.
+* [[Ticket](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-63?replies=24)] Fixed "Warning: Missing argument 2 for update_option()". Thanks to user kaorw for catching ths one. Fixed by calling delete_option instead of update_option().
+* [[Ticket](https://wordpress.org/support/topic/call-to-undefined-function-str_getcsv?replies=12)] Fixed "Fatal error: Call to undefined function str_getcsv()". Thanks to user micb for catching ths one. This function is not available before PHP 5.3. Fixed by replacing str_getdsv() with custom implementation.
+
+= 0.2.5 - 2015-01-27 =
+* [[Ticket](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-63?replies=24)] Removed the namespace for users with older version of PHP
+* Changed the Post Redirect URI (now includes a trailing ?page=Post) - this means Client ID's from 0.2.4 or earlier MUST be updated with the new Redirect URI or re-created from scratch.
+
+= 0.2.4 - 2015-01-25 =
+* Fixed issues on servers where the plugin is installed as a symbolic link.
+* Better error handling/debugging with php logging and assertions.
+
+= 0.2.1 - 2015-01-23 =
+* Fixed an environment-specific error that prevented Post reloading the setting screen after sending a test email
+
+= 0.2 - 2015-01-20 =
+* wp_mail() accepts multiple recipients (array and string)
+* display a warning to the user if another plugin is preventing Post from overriding wp_mail
+* paired down the external libraries to only what was required - from 3,700 files to just 75
+* default Gmail port corrected to 465 - previously 465 was hardcoded but 587 was saved to the database
+* Added 'Delete All Data' button to erase the stored tokens
+* OpenShift production problem: This environment didn't like the callback and there were possibly invalid characters in the source script
+
+= 0.1 - 2015-01-19 =
+* First release. Happy Fig Newton Day! It was a grueling week-end, studying PHP and OAuth and Googling like a Boss, but it's done and it works!
+
+
+
+== Upgrade Notice ==
+
+= 1.7 =
+Integration with Mandrill API, SendGrid API, Import/Export, Resend Emails
+
+= 1.6 =
+Introducing Email Logging.
+
+= 1.5 =
+Added support for external transports, such as the new Post Gmail Extension.
+
+= 1.4 =
+Now supporting Yahoo Mail via OAuth 2.0!
+
+= 1.3 =
+Now supporting Hotmail via OAuth 2.0!
+
+= 1.2 =
+Support for Sender Name and the Reply-To header.
+
+= 1.1 =
+Support for international characters and multipart/mime mail
+
+= 1.0 =
+Major overhaul of the UI including a Setup Wizard and a TCP Port Tester!
diff --git a/script/jquery-steps/jquery.steps.js b/script/jquery-steps/jquery.steps.js
new file mode 100644
index 0000000..4d0525a
--- /dev/null
+++ b/script/jquery-steps/jquery.steps.js
@@ -0,0 +1,2042 @@
+/*!
+ * jQuery Steps v1.1.0 - 09/04/2014
+ * Copyright (c) 2014 Rafael Staib (http://www.jquery-steps.com)
+ * Licensed under MIT http://www.opensource.org/licenses/MIT
+ */
+;(function ($, undefined)
+{
+$.fn.extend({
+ _aria: function (name, value)
+ {
+ return this.attr("aria-" + name, value);
+ },
+
+ _removeAria: function (name)
+ {
+ return this.removeAttr("aria-" + name);
+ },
+
+ _enableAria: function (enable)
+ {
+ return (enable == null || enable) ?
+ this.removeClass("disabled")._aria("disabled", "false") :
+ this.addClass("disabled")._aria("disabled", "true");
+ },
+
+ _showAria: function (show)
+ {
+ return (show == null || show) ?
+ this.show()._aria("hidden", "false") :
+ this.hide()._aria("hidden", "true");
+ },
+
+ _selectAria: function (select)
+ {
+ return (select == null || select) ?
+ this.addClass("current")._aria("selected", "true") :
+ this.removeClass("current")._aria("selected", "false");
+ },
+
+ _id: function (id)
+ {
+ return (id) ? this.attr("id", id) : this.attr("id");
+ }
+});
+
+if (!String.prototype.format)
+{
+ String.prototype.format = function()
+ {
+ var args = (arguments.length === 1 && $.isArray(arguments[0])) ? arguments[0] : arguments;
+ var formattedString = this;
+ for (var i = 0; i < args.length; i++)
+ {
+ var pattern = new RegExp("\\{" + i + "\\}", "gm");
+ formattedString = formattedString.replace(pattern, args[i]);
+ }
+ return formattedString;
+ };
+}
+
+/**
+ * A global unique id count.
+ *
+ * @static
+ * @private
+ * @property _uniqueId
+ * @type Integer
+ **/
+var _uniqueId = 0;
+
+/**
+ * The plugin prefix for cookies.
+ *
+ * @final
+ * @private
+ * @property _cookiePrefix
+ * @type String
+ **/
+var _cookiePrefix = "jQu3ry_5teps_St@te_";
+
+/**
+ * Suffix for the unique tab id.
+ *
+ * @final
+ * @private
+ * @property _tabSuffix
+ * @type String
+ * @since 0.9.7
+ **/
+var _tabSuffix = "-t-";
+
+/**
+ * Suffix for the unique tabpanel id.
+ *
+ * @final
+ * @private
+ * @property _tabpanelSuffix
+ * @type String
+ * @since 0.9.7
+ **/
+var _tabpanelSuffix = "-p-";
+
+/**
+ * Suffix for the unique title id.
+ *
+ * @final
+ * @private
+ * @property _titleSuffix
+ * @type String
+ * @since 0.9.7
+ **/
+var _titleSuffix = "-h-";
+
+/**
+ * An error message for an "index out of range" error.
+ *
+ * @final
+ * @private
+ * @property _indexOutOfRangeErrorMessage
+ * @type String
+ **/
+var _indexOutOfRangeErrorMessage = "Index out of range.";
+
+/**
+ * An error message for an "missing corresponding element" error.
+ *
+ * @final
+ * @private
+ * @property _missingCorrespondingElementErrorMessage
+ * @type String
+ **/
+var _missingCorrespondingElementErrorMessage = "One or more corresponding step {0} are missing.";
+
+/**
+ * Adds a step to the cache.
+ *
+ * @static
+ * @private
+ * @method addStepToCache
+ * @param wizard {Object} A jQuery wizard object
+ * @param step {Object} The step object to add
+ **/
+function addStepToCache(wizard, step)
+{
+ getSteps(wizard).push(step);
+}
+
+function analyzeData(wizard, options, state)
+{
+ var stepTitles = wizard.children(options.headerTag),
+ stepContents = wizard.children(options.bodyTag);
+
+ // Validate content
+ if (stepTitles.length > stepContents.length)
+ {
+ throwError(_missingCorrespondingElementErrorMessage, "contents");
+ }
+ else if (stepTitles.length < stepContents.length)
+ {
+ throwError(_missingCorrespondingElementErrorMessage, "titles");
+ }
+
+ var startIndex = options.startIndex;
+
+ state.stepCount = stepTitles.length;
+
+ // Tries to load the saved state (step position)
+ if (options.saveState && $.cookie)
+ {
+ var savedState = $.cookie(_cookiePrefix + getUniqueId(wizard));
+ // Sets the saved position to the start index if not undefined or out of range
+ var savedIndex = parseInt(savedState, 0);
+ if (!isNaN(savedIndex) && savedIndex < state.stepCount)
+ {
+ startIndex = savedIndex;
+ }
+ }
+
+ state.currentIndex = startIndex;
+
+ stepTitles.each(function (index)
+ {
+ var item = $(this), // item == header
+ content = stepContents.eq(index),
+ modeData = content.data("mode"),
+ mode = (modeData == null) ? contentMode.html : getValidEnumValue(contentMode,
+ (/^\s*$/.test(modeData) || isNaN(modeData)) ? modeData : parseInt(modeData, 0)),
+ contentUrl = (mode === contentMode.html || content.data("url") === undefined) ?
+ "" : content.data("url"),
+ contentLoaded = (mode !== contentMode.html && content.data("loaded") === "1"),
+ step = jQuery.extend({}, stepModel, {
+ title: item.html(),
+ content: (mode === contentMode.html) ? content.html() : "",
+ contentUrl: contentUrl,
+ contentMode: mode,
+ contentLoaded: contentLoaded
+ });
+
+ addStepToCache(wizard, step);
+ });
+}
+
+/**
+ * Triggers the onCanceled event.
+ *
+ * @static
+ * @private
+ * @method cancel
+ * @param wizard {Object} The jQuery wizard object
+ **/
+function cancel(wizard)
+{
+ wizard.triggerHandler("canceled");
+}
+
+function decreaseCurrentIndexBy(state, decreaseBy)
+{
+ return state.currentIndex - decreaseBy;
+}
+
+/**
+ * Removes the control functionality completely and transforms the current state to the initial HTML structure.
+ *
+ * @static
+ * @private
+ * @method destroy
+ * @param wizard {Object} A jQuery wizard object
+ **/
+function destroy(wizard, options)
+{
+ var eventNamespace = getEventNamespace(wizard);
+
+ // Remove virtual data objects from the wizard
+ wizard.unbind(eventNamespace).removeData("uid").removeData("options")
+ .removeData("state").removeData("steps").removeData("eventNamespace")
+ .find(".actions a").unbind(eventNamespace);
+
+ // Remove attributes and CSS classes from the wizard
+ wizard.removeClass(options.clearFixCssClass + " vertical");
+
+ var contents = wizard.find(".content > *");
+
+ // Remove virtual data objects from panels and their titles
+ contents.removeData("loaded").removeData("mode").removeData("url");
+
+ // Remove attributes, CSS classes and reset inline styles on all panels and their titles
+ contents.removeAttr("id").removeAttr("role").removeAttr("tabindex")
+ .removeAttr("class").removeAttr("style")._removeAria("labelledby")
+ ._removeAria("hidden");
+
+ // Empty panels if the mode is set to 'async' or 'iframe'
+ wizard.find(".content > [data-mode='async'],.content > [data-mode='iframe']").empty();
+
+ var wizardSubstitute = $("<{0} class=\"{1}\"></{0}>".format(wizard.get(0).tagName, wizard.attr("class")));
+
+ var wizardId = wizard._id();
+ if (wizardId != null && wizardId !== "")
+ {
+ wizardSubstitute._id(wizardId);
+ }
+
+ wizardSubstitute.html(wizard.find(".content").html());
+ wizard.after(wizardSubstitute);
+ wizard.remove();
+
+ return wizardSubstitute;
+}
+
+/**
+ * Triggers the onFinishing and onFinished event.
+ *
+ * @static
+ * @private
+ * @method finishStep
+ * @param wizard {Object} The jQuery wizard object
+ * @param state {Object} The state container of the current wizard
+ **/
+function finishStep(wizard, state)
+{
+ var currentStep = wizard.find(".steps li").eq(state.currentIndex);
+
+ if (wizard.triggerHandler("finishing", [state.currentIndex]))
+ {
+ currentStep.addClass("done").removeClass("error");
+ wizard.triggerHandler("finished", [state.currentIndex]);
+ }
+ else
+ {
+ currentStep.addClass("error");
+ }
+}
+
+/**
+ * Gets or creates if not exist an unique event namespace for the given wizard instance.
+ *
+ * @static
+ * @private
+ * @method getEventNamespace
+ * @param wizard {Object} A jQuery wizard object
+ * @return {String} Returns the unique event namespace for the given wizard
+ */
+function getEventNamespace(wizard)
+{
+ var eventNamespace = wizard.data("eventNamespace");
+
+ if (eventNamespace == null)
+ {
+ eventNamespace = "." + getUniqueId(wizard);
+ wizard.data("eventNamespace", eventNamespace);
+ }
+
+ return eventNamespace;
+}
+
+function getStepAnchor(wizard, index)
+{
+ var uniqueId = getUniqueId(wizard);
+
+ return wizard.find("#" + uniqueId + _tabSuffix + index);
+}
+
+function getStepPanel(wizard, index)
+{
+ var uniqueId = getUniqueId(wizard);
+
+ return wizard.find("#" + uniqueId + _tabpanelSuffix + index);
+}
+
+function getStepTitle(wizard, index)
+{
+ var uniqueId = getUniqueId(wizard);
+
+ return wizard.find("#" + uniqueId + _titleSuffix + index);
+}
+
+function getOptions(wizard)
+{
+ return wizard.data("options");
+}
+
+function getState(wizard)
+{
+ return wizard.data("state");
+}
+
+function getSteps(wizard)
+{
+ return wizard.data("steps");
+}
+
+/**
+ * Gets a specific step object by index.
+ *
+ * @static
+ * @private
+ * @method getStep
+ * @param index {Integer} An integer that belongs to the position of a step
+ * @return {Object} A specific step object
+ **/
+function getStep(wizard, index)
+{
+ var steps = getSteps(wizard);
+
+ if (index < 0 || index >= steps.length)
+ {
+ throwError(_indexOutOfRangeErrorMessage);
+ }
+
+ return steps[index];
+}
+
+/**
+ * Gets or creates if not exist an unique id from the given wizard instance.
+ *
+ * @static
+ * @private
+ * @method getUniqueId
+ * @param wizard {Object} A jQuery wizard object
+ * @return {String} Returns the unique id for the given wizard
+ */
+function getUniqueId(wizard)
+{
+ var uniqueId = wizard.data("uid");
+
+ if (uniqueId == null)
+ {
+ uniqueId = wizard._id();
+ if (uniqueId == null)
+ {
+ uniqueId = "steps-uid-".concat(_uniqueId);
+ wizard._id(uniqueId);
+ }
+
+ _uniqueId++;
+ wizard.data("uid", uniqueId);
+ }
+
+ return uniqueId;
+}
+
+/**
+ * Gets a valid enum value by checking a specific enum key or value.
+ *
+ * @static
+ * @private
+ * @method getValidEnumValue
+ * @param enumType {Object} Type of enum
+ * @param keyOrValue {Object} Key as `String` or value as `Integer` to check for
+ */
+function getValidEnumValue(enumType, keyOrValue)
+{
+ validateArgument("enumType", enumType);
+ validateArgument("keyOrValue", keyOrValue);
+
+ // Is key
+ if (typeof keyOrValue === "string")
+ {
+ var value = enumType[keyOrValue];
+ if (value === undefined)
+ {
+ throwError("The enum key '{0}' does not exist.", keyOrValue);
+ }
+
+ return value;
+ }
+ // Is value
+ else if (typeof keyOrValue === "number")
+ {
+ for (var key in enumType)
+ {
+ if (enumType[key] === keyOrValue)
+ {
+ return keyOrValue;
+ }
+ }
+
+ throwError("Invalid enum value '{0}'.", keyOrValue);
+ }
+ // Type is not supported
+ else
+ {
+ throwError("Invalid key or value type.");
+ }
+}
+
+/**
+ * Routes to the next step.
+ *
+ * @static
+ * @private
+ * @method goToNextStep
+ * @param wizard {Object} The jQuery wizard object
+ * @param options {Object} Settings of the current wizard
+ * @param state {Object} The state container of the current wizard
+ * @return {Boolean} Indicates whether the action executed
+ **/
+function goToNextStep(wizard, options, state)
+{
+ return paginationClick(wizard, options, state, increaseCurrentIndexBy(state, 1));
+}
+
+/**
+ * Routes to the previous step.
+ *
+ * @static
+ * @private
+ * @method goToPreviousStep
+ * @param wizard {Object} The jQuery wizard object
+ * @param options {Object} Settings of the current wizard
+ * @param state {Object} The state container of the current wizard
+ * @return {Boolean} Indicates whether the action executed
+ **/
+function goToPreviousStep(wizard, options, state)
+{
+ return paginationClick(wizard, options, state, decreaseCurrentIndexBy(state, 1));
+}
+
+/**
+ * Routes to a specific step by a given index.
+ *
+ * @static
+ * @private
+ * @method goToStep
+ * @param wizard {Object} The jQuery wizard object
+ * @param options {Object} Settings of the current wizard
+ * @param state {Object} The state container of the current wizard
+ * @param index {Integer} The position (zero-based) to route to
+ * @return {Boolean} Indicates whether the action succeeded or failed
+ **/
+function goToStep(wizard, options, state, index)
+{
+ if (index < 0 || index >= state.stepCount)
+ {
+ throwError(_indexOutOfRangeErrorMessage);
+ }
+
+ if (options.forceMoveForward && index < state.currentIndex)
+ {
+ return;
+ }
+
+ var oldIndex = state.currentIndex;
+ if (wizard.triggerHandler("stepChanging", [state.currentIndex, index]))
+ {
+ // Save new state
+ state.currentIndex = index;
+ saveCurrentStateToCookie(wizard, options, state);
+
+ // Change visualisation
+ refreshStepNavigation(wizard, options, state, oldIndex);
+ refreshPagination(wizard, options, state);
+ loadAsyncContent(wizard, options, state);
+ startTransitionEffect(wizard, options, state, index, oldIndex, function()
+ {
+ wizard.triggerHandler("stepChanged", [index, oldIndex]);
+ });
+ }
+ else
+ {
+ wizard.find(".steps li").eq(oldIndex).addClass("error");
+ }
+
+ return true;
+}
+
+function increaseCurrentIndexBy(state, increaseBy)
+{
+ return state.currentIndex + increaseBy;
+}
+
+/**
+ * Initializes the component.
+ *
+ * @static
+ * @private
+ * @method initialize
+ * @param options {Object} The component settings
+ **/
+function initialize(options)
+{
+ /*jshint -W040 */
+ var opts = jQuery.extend(true, {}, defaults, options);
+
+ return this.each(function ()
+ {
+ var wizard = $(this);
+ var state = {
+ currentIndex: opts.startIndex,
+ currentStep: null,
+ stepCount: 0,
+ transitionElement: null
+ };
+
+ // Create data container
+ wizard.data("options", opts);
+ wizard.data("state", state);
+ wizard.data("steps", []);
+
+ analyzeData(wizard, opts, state);
+ render(wizard, opts, state);
+ registerEvents(wizard, opts);
+
+ // Trigger focus
+ if (opts.autoFocus && _uniqueId === 0)
+ {
+ getStepAnchor(wizard, opts.startIndex).focus();
+ }
+
+ wizard.triggerHandler("init", [opts.startIndex]);
+ });
+}
+
+/**
+ * Inserts a new step to a specific position.
+ *
+ * @static
+ * @private
+ * @method insertStep
+ * @param wizard {Object} The jQuery wizard object
+ * @param options {Object} Settings of the current wizard
+ * @param state {Object} The state container of the current wizard
+ * @param index {Integer} The position (zero-based) to add
+ * @param step {Object} The step object to add
+ * @example
+ * $("#wizard").steps().insert(0, {
+ * title: "Title",
+ * content: "", // optional
+ * contentMode: "async", // optional
+ * contentUrl: "/Content/Step/1" // optional
+ * });
+ * @chainable
+ **/
+function insertStep(wizard, options, state, index, step)
+{
+ if (index < 0 || index > state.stepCount)
+ {
+ throwError(_indexOutOfRangeErrorMessage);
+ }
+
+ // TODO: Validate step object
+
+ // Change data
+ step = jQuery.extend({}, stepModel, step);
+ insertStepToCache(wizard, index, step);
+ if (state.currentIndex !== state.stepCount && state.currentIndex >= index)
+ {
+ state.currentIndex++;
+ saveCurrentStateToCookie(wizard, options, state);
+ }
+ state.stepCount++;
+
+ var contentContainer = wizard.find(".content"),
+ header = $("<{0}>{1}</{0}>".format(options.headerTag, step.title)),
+ body = $("<{0}></{0}>".format(options.bodyTag));
+
+ if (step.contentMode == null || step.contentMode === contentMode.html)
+ {
+ body.html(step.content);
+ }
+
+ if (index === 0)
+ {
+ contentContainer.prepend(body).prepend(header);
+ }
+ else
+ {
+ getStepPanel(wizard, (index - 1)).after(body).after(header);
+ }
+
+ renderBody(wizard, state, body, index);
+ renderTitle(wizard, options, state, header, index);
+ refreshSteps(wizard, options, state, index);
+ if (index === state.currentIndex)
+ {
+ refreshStepNavigation(wizard, options, state);
+ }
+ refreshPagination(wizard, options, state);
+
+ return wizard;
+}
+
+/**
+ * Inserts a step object to the cache at a specific position.
+ *
+ * @static
+ * @private
+ * @method insertStepToCache
+ * @param wizard {Object} A jQuery wizard object
+ * @param index {Integer} The position (zero-based) to add
+ * @param step {Object} The step object to add
+ **/
+function insertStepToCache(wizard, index, step)
+{
+ getSteps(wizard).splice(index, 0, step);
+}
+
+/**
+ * Handles the keyup DOM event for pagination.
+ *
+ * @static
+ * @private
+ * @event keyup
+ * @param event {Object} An event object
+ */
+function keyUpHandler(event)
+{
+ var wizard = $(this),
+ options = getOptions(wizard),
+ state = getState(wizard);
+
+ if (options.suppressPaginationOnFocus && wizard.find(":focus").is(":input"))
+ {
+ event.preventDefault();
+ return false;
+ }
+
+ var keyCodes = { left: 37, right: 39 };
+ if (event.keyCode === keyCodes.left)
+ {
+ event.preventDefault();
+ goToPreviousStep(wizard, options, state);
+ }
+ else if (event.keyCode === keyCodes.right)
+ {
+ event.preventDefault();
+ goToNextStep(wizard, options, state);
+ }
+}
+
+/**
+ * Loads and includes async content.
+ *
+ * @static
+ * @private
+ * @method loadAsyncContent
+ * @param wizard {Object} A jQuery wizard object
+ * @param options {Object} Settings of the current wizard
+ * @param state {Object} The state container of the current wizard
+ */
+function loadAsyncContent(wizard, options, state)
+{
+ if (state.stepCount > 0)
+ {
+ var currentIndex = state.currentIndex,
+ currentStep = getStep(wizard, currentIndex);
+
+ if (!options.enableContentCache || !currentStep.contentLoaded)
+ {
+ switch (getValidEnumValue(contentMode, currentStep.contentMode))
+ {
+ case contentMode.iframe:
+ wizard.find(".content > .body").eq(state.currentIndex).empty()
+ .html("<iframe src=\"" + currentStep.contentUrl + "\" frameborder=\"0\" scrolling=\"no\" />")
+ .data("loaded", "1");
+ break;
+
+ case contentMode.async:
+ var currentStepContent = getStepPanel(wizard, currentIndex)._aria("busy", "true")
+ .empty().append(renderTemplate(options.loadingTemplate, { text: options.labels.loading }));
+
+ $.ajax({ url: currentStep.contentUrl, cache: false }).done(function (data)
+ {
+ currentStepContent.empty().html(data)._aria("busy", "false").data("loaded", "1");
+ wizard.triggerHandler("contentLoaded", [currentIndex]);
+ });
+ break;
+ }
+ }
+ }
+}
+
+/**
+ * Fires the action next or previous click event.
+ *
+ * @static
+ * @private
+ * @method paginationClick
+ * @param wizard {Object} The jQuery wizard object
+ * @param options {Object} Settings of the current wizard
+ * @param state {Object} The state container of the current wizard
+ * @param index {Integer} The position (zero-based) to route to
+ * @return {Boolean} Indicates whether the event fired successfully or not
+ **/
+function paginationClick(wizard, options, state, index)
+{
+ var oldIndex = state.currentIndex;
+
+ if (index >= 0 && index < state.stepCount && !(options.forceMoveForward && index < state.currentIndex))
+ {
+ var anchor = getStepAnchor(wizard, index),
+ parent = anchor.parent(),
+ isDisabled = parent.hasClass("disabled");
+
+ // Enable the step to make the anchor clickable!
+ parent._enableAria();
+ anchor.click();
+
+ // An error occured
+ if (oldIndex === state.currentIndex && isDisabled)
+ {
+ // Disable the step again if current index has not changed; prevents click action.
+ parent._enableAria(false);
+ return false;
+ }
+
+ return true;
+ }
+
+ return false;
+}
+
+/**
+ * Fires when a pagination click happens.
+ *
+ * @static
+ * @private
+ * @event click
+ * @param event {Object} An event object
+ */
+function paginationClickHandler(event)
+{
+ event.preventDefault();
+
+ var anchor = $(this),
+ wizard = anchor.parent().parent().parent().parent(),
+ options = getOptions(wizard),
+ state = getState(wizard),
+ href = anchor.attr("href");
+
+ switch (href.substring(href.lastIndexOf("#") + 1))
+ {
+ case "cancel":
+ cancel(wizard);
+ break;
+
+ case "finish":
+ finishStep(wizard, state);
+ break;
+
+ case "next":
+ goToNextStep(wizard, options, state);
+ break;
+
+ case "previous":
+ goToPreviousStep(wizard, options, state);
+ break;
+ }
+}
+
+/**
+ * Refreshs the visualization state for the entire pagination.
+ *
+ * @static
+ * @private
+ * @method refreshPagination
+ * @param wizard {Object} A jQuery wizard object
+ * @param options {Object} Settings of the current wizard
+ * @param state {Object} The state container of the current wizard
+ */
+function refreshPagination(wizard, options, state)
+{
+ if (options.enablePagination)
+ {
+ var finish = wizard.find(".actions a[href$='#finish']").parent(),
+ next = wizard.find(".actions a[href$='#next']").parent();
+
+ if (!options.forceMoveForward)
+ {
+ var previous = wizard.find(".actions a[href$='#previous']").parent();
+ previous._enableAria(state.currentIndex > 0);
+ }
+
+ if (options.enableFinishButton && options.showFinishButtonAlways)
+ {
+ finish._enableAria(state.stepCount > 0);
+ next._enableAria(state.stepCount > 1 && state.stepCount > (state.currentIndex + 1));
+ }
+ else
+ {
+ finish._showAria(options.enableFinishButton && state.stepCount === (state.currentIndex + 1));
+ next._showAria(state.stepCount === 0 || state.stepCount > (state.currentIndex + 1)).
+ _enableAria(state.stepCount > (state.currentIndex + 1) || !options.enableFinishButton);
+ }
+ }
+}
+
+/**
+ * Refreshs the visualization state for the step navigation (tabs).
+ *
+ * @static
+ * @private
+ * @method refreshStepNavigation
+ * @param wizard {Object} A jQuery wizard object
+ * @param options {Object} Settings of the current wizard
+ * @param state {Object} The state container of the current wizard
+ * @param [oldIndex] {Integer} The index of the prior step
+ */
+function refreshStepNavigation(wizard, options, state, oldIndex)
+{
+ var currentOrNewStepAnchor = getStepAnchor(wizard, state.currentIndex),
+ currentInfo = $("<span class=\"current-info audible\">" + options.labels.current + " </span>"),
+ stepTitles = wizard.find(".content > .title");
+
+ if (oldIndex != null)
+ {
+ var oldStepAnchor = getStepAnchor(wizard, oldIndex);
+ oldStepAnchor.parent().addClass("done").removeClass("error")._selectAria(false);
+ stepTitles.eq(oldIndex).removeClass("current").next(".body").removeClass("current");
+ currentInfo = oldStepAnchor.find(".current-info");
+ currentOrNewStepAnchor.focus();
+ }
+
+ currentOrNewStepAnchor.prepend(currentInfo).parent()._selectAria().removeClass("done")._enableAria();
+ stepTitles.eq(state.currentIndex).addClass("current").next(".body").addClass("current");
+}
+
+/**
+ * Refreshes step buttons and their related titles beyond a certain position.
+ *
+ * @static
+ * @private
+ * @method refreshSteps
+ * @param wizard {Object} A jQuery wizard object
+ * @param options {Object} Settings of the current wizard
+ * @param state {Object} The state container of the current wizard
+ * @param index {Integer} The start point for refreshing ids
+ */
+function refreshSteps(wizard, options, state, index)
+{
+ var uniqueId = getUniqueId(wizard);
+
+ for (var i = index; i < state.stepCount; i++)
+ {
+ var uniqueStepId = uniqueId + _tabSuffix + i,
+ uniqueBodyId = uniqueId + _tabpanelSuffix + i,
+ uniqueHeaderId = uniqueId + _titleSuffix + i,
+ title = wizard.find(".title").eq(i)._id(uniqueHeaderId);
+
+ wizard.find(".steps a").eq(i)._id(uniqueStepId)
+ ._aria("controls", uniqueBodyId).attr("href", "#" + uniqueHeaderId)
+ .html(renderTemplate(options.titleTemplate, { index: i + 1, title: title.html() }));
+ wizard.find(".body").eq(i)._id(uniqueBodyId)
+ ._aria("labelledby", uniqueHeaderId);
+ }
+}
+
+function registerEvents(wizard, options)
+{
+ var eventNamespace = getEventNamespace(wizard);
+
+ wizard.bind("canceled" + eventNamespace, options.onCanceled);
+ wizard.bind("contentLoaded" + eventNamespace, options.onContentLoaded);
+ wizard.bind("finishing" + eventNamespace, options.onFinishing);
+ wizard.bind("finished" + eventNamespace, options.onFinished);
+ wizard.bind("init" + eventNamespace, options.onInit);
+ wizard.bind("stepChanging" + eventNamespace, options.onStepChanging);
+ wizard.bind("stepChanged" + eventNamespace, options.onStepChanged);
+
+ if (options.enableKeyNavigation)
+ {
+ wizard.bind("keyup" + eventNamespace, keyUpHandler);
+ }
+
+ wizard.find(".actions a").bind("click" + eventNamespace, paginationClickHandler);
+}
+
+/**
+ * Removes a specific step by an given index.
+ *
+ * @static
+ * @private
+ * @method removeStep
+ * @param wizard {Object} A jQuery wizard object
+ * @param options {Object} Settings of the current wizard
+ * @param state {Object} The state container of the current wizard
+ * @param index {Integer} The position (zero-based) of the step to remove
+ * @return Indecates whether the item is removed.
+ **/
+function removeStep(wizard, options, state, index)
+{
+ // Index out of range and try deleting current item will return false.
+ if (index < 0 || index >= state.stepCount || state.currentIndex === index)
+ {
+ return false;
+ }
+
+ // Change data
+ removeStepFromCache(wizard, index);
+ if (state.currentIndex > index)
+ {
+ state.currentIndex--;
+ saveCurrentStateToCookie(wizard, options, state);
+ }
+ state.stepCount--;
+
+ getStepTitle(wizard, index).remove();
+ getStepPanel(wizard, index).remove();
+ getStepAnchor(wizard, index).parent().remove();
+
+ // Set the "first" class to the new first step button
+ if (index === 0)
+ {
+ wizard.find(".steps li").first().addClass("first");
+ }
+
+ // Set the "last" class to the new last step button
+ if (index === state.stepCount)
+ {
+ wizard.find(".steps li").eq(index).addClass("last");
+ }
+
+ refreshSteps(wizard, options, state, index);
+ refreshPagination(wizard, options, state);
+
+ return true;
+}
+
+function removeStepFromCache(wizard, index)
+{
+ getSteps(wizard).splice(index, 1);
+}
+
+/**
+ * Transforms the base html structure to a more sensible html structure.
+ *
+ * @static
+ * @private
+ * @method render
+ * @param wizard {Object} A jQuery wizard object
+ * @param options {Object} Settings of the current wizard
+ * @param state {Object} The state container of the current wizard
+ **/
+function render(wizard, options, state)
+{
+ // Create a content wrapper and copy HTML from the intial wizard structure
+ var wrapperTemplate = "<{0} class=\"{1}\">{2}</{0}>",
+ orientation = getValidEnumValue(stepsOrientation, options.stepsOrientation),
+ verticalCssClass = (orientation === stepsOrientation.vertical) ? " vertical" : "",
+ contentWrapper = $(wrapperTemplate.format(options.contentContainerTag, "content " + options.clearFixCssClass, wizard.html())),
+ stepsWrapper = $(wrapperTemplate.format(options.stepsContainerTag, "steps " + options.clearFixCssClass, "<ul role=\"tablist\"></ul>")),
+ stepTitles = contentWrapper.children(options.headerTag),
+ stepContents = contentWrapper.children(options.bodyTag);
+
+ // Transform the wizard wrapper and remove the inner HTML
+ wizard.attr("role", "application").empty().append(stepsWrapper).append(contentWrapper)
+ .addClass(options.cssClass + " " + options.clearFixCssClass + verticalCssClass);
+
+ // Add WIA-ARIA support
+ stepContents.each(function (index)
+ {
+ renderBody(wizard, state, $(this), index);
+ });
+
+ stepTitles.each(function (index)
+ {
+ renderTitle(wizard, options, state, $(this), index);
+ });
+
+ refreshStepNavigation(wizard, options, state);
+ renderPagination(wizard, options, state);
+}
+
+/**
+ * Transforms the body to a proper tabpanel.
+ *
+ * @static
+ * @private
+ * @method renderBody
+ * @param wizard {Object} A jQuery wizard object
+ * @param body {Object} A jQuery body object
+ * @param index {Integer} The position of the body
+ */
+function renderBody(wizard, state, body, index)
+{
+ var uniqueId = getUniqueId(wizard),
+ uniqueBodyId = uniqueId + _tabpanelSuffix + index,
+ uniqueHeaderId = uniqueId + _titleSuffix + index;
+
+ body._id(uniqueBodyId).attr("role", "tabpanel")._aria("labelledby", uniqueHeaderId)
+ .addClass("body")._showAria(state.currentIndex === index);
+}
+
+/**
+ * Renders a pagination if enabled.
+ *
+ * @static
+ * @private
+ * @method renderPagination
+ * @param wizard {Object} A jQuery wizard object
+ * @param options {Object} Settings of the current wizard
+ * @param state {Object} The state container of the current wizard
+ */
+function renderPagination(wizard, options, state)
+{
+ if (options.enablePagination)
+ {
+ var pagination = "<{0} class=\"actions {1}\"><ul role=\"menu\" aria-label=\"{2}\">{3}</ul></{0}>",
+ buttonTemplate = "<li><a href=\"#{0}\" role=\"menuitem\">{1}</a></li>",
+ buttons = "";
+
+ if (!options.forceMoveForward)
+ {
+ buttons += buttonTemplate.format("previous", options.labels.previous);
+ }
+
+ buttons += buttonTemplate.format("next", options.labels.next);
+
+ if (options.enableFinishButton)
+ {
+ buttons += buttonTemplate.format("finish", options.labels.finish);
+ }
+
+ if (options.enableCancelButton)
+ {
+ buttons += buttonTemplate.format("cancel", options.labels.cancel);
+ }
+
+ wizard.append(pagination.format(options.actionContainerTag, options.clearFixCssClass,
+ options.labels.pagination, buttons));
+
+ refreshPagination(wizard, options, state);
+ loadAsyncContent(wizard, options, state);
+ }
+}
+
+/**
+ * Renders a template and replaces all placeholder.
+ *
+ * @static
+ * @private
+ * @method renderTemplate
+ * @param template {String} A template
+ * @param substitutes {Object} A list of substitute
+ * @return {String} The rendered template
+ */
+function renderTemplate(template, substitutes)
+{
+ var matches = template.match(/#([a-z]*)#/gi);
+
+ for (var i = 0; i < matches.length; i++)
+ {
+ var match = matches[i],
+ key = match.substring(1, match.length - 1);
+
+ if (substitutes[key] === undefined)
+ {
+ throwError("The key '{0}' does not exist in the substitute collection!", key);
+ }
+
+ template = template.replace(match, substitutes[key]);
+ }
+
+ return template;
+}
+
+/**
+ * Transforms the title to a step item button.
+ *
+ * @static
+ * @private
+ * @method renderTitle
+ * @param wizard {Object} A jQuery wizard object
+ * @param options {Object} Settings of the current wizard
+ * @param state {Object} The state container of the current wizard
+ * @param header {Object} A jQuery header object
+ * @param index {Integer} The position of the header
+ */
+function renderTitle(wizard, options, state, header, index)
+{
+ var uniqueId = getUniqueId(wizard),
+ uniqueStepId = uniqueId + _tabSuffix + index,
+ uniqueBodyId = uniqueId + _tabpanelSuffix + index,
+ uniqueHeaderId = uniqueId + _titleSuffix + index,
+ stepCollection = wizard.find(".steps > ul"),
+ title = renderTemplate(options.titleTemplate, {
+ index: index + 1,
+ title: header.html()
+ }),
+ stepItem = $("<li role=\"tab\"><a id=\"" + uniqueStepId + "\" href=\"#" + uniqueHeaderId +
+ "\" aria-controls=\"" + uniqueBodyId + "\">" + title + "</a></li>");
+
+ stepItem._enableAria(options.enableAllSteps || state.currentIndex > index);
+
+ if (state.currentIndex > index)
+ {
+ stepItem.addClass("done");
+ }
+
+ header._id(uniqueHeaderId).attr("tabindex", "-1").addClass("title");
+
+ if (index === 0)
+ {
+ stepCollection.prepend(stepItem);
+ }
+ else
+ {
+ stepCollection.find("li").eq(index - 1).after(stepItem);
+ }
+
+ // Set the "first" class to the new first step button
+ if (index === 0)
+ {
+ stepCollection.find("li").removeClass("first").eq(index).addClass("first");
+ }
+
+ // Set the "last" class to the new last step button
+ if (index === (state.stepCount - 1))
+ {
+ stepCollection.find("li").removeClass("last").eq(index).addClass("last");
+ }
+
+ // Register click event
+ stepItem.children("a").bind("click" + getEventNamespace(wizard), stepClickHandler);
+}
+
+/**
+ * Saves the current state to a cookie.
+ *
+ * @static
+ * @private
+ * @method saveCurrentStateToCookie
+ * @param wizard {Object} A jQuery wizard object
+ * @param options {Object} Settings of the current wizard
+ * @param state {Object} The state container of the current wizard
+ */
+function saveCurrentStateToCookie(wizard, options, state)
+{
+ if (options.saveState && $.cookie)
+ {
+ $.cookie(_cookiePrefix + getUniqueId(wizard), state.currentIndex);
+ }
+}
+
+function startTransitionEffect(wizard, options, state, index, oldIndex, doneCallback)
+{
+ var stepContents = wizard.find(".content > .body"),
+ effect = getValidEnumValue(transitionEffect, options.transitionEffect),
+ effectSpeed = options.transitionEffectSpeed,
+ newStep = stepContents.eq(index),
+ currentStep = stepContents.eq(oldIndex);
+
+ switch (effect)
+ {
+ case transitionEffect.fade:
+ case transitionEffect.slide:
+ var hide = (effect === transitionEffect.fade) ? "fadeOut" : "slideUp",
+ show = (effect === transitionEffect.fade) ? "fadeIn" : "slideDown";
+
+ state.transitionElement = newStep;
+ currentStep[hide](effectSpeed, function ()
+ {
+ var wizard = $(this)._showAria(false).parent().parent(),
+ state = getState(wizard);
+
+ if (state.transitionElement)
+ {
+ state.transitionElement[show](effectSpeed, function ()
+ {
+ $(this)._showAria();
+ }).promise().done(doneCallback);
+ state.transitionElement = null;
+ }
+ });
+ break;
+
+ case transitionEffect.slideLeft:
+ var outerWidth = currentStep.outerWidth(true),
+ posFadeOut = (index > oldIndex) ? -(outerWidth) : outerWidth,
+ posFadeIn = (index > oldIndex) ? outerWidth : -(outerWidth);
+
+ $.when(currentStep.animate({ left: posFadeOut }, effectSpeed,
+ function () { $(this)._showAria(false); }),
+ newStep.css("left", posFadeIn + "px")._showAria()
+ .animate({ left: 0 }, effectSpeed)).done(doneCallback);
+ break;
+
+ default:
+ $.when(currentStep._showAria(false), newStep._showAria())
+ .done(doneCallback);
+ break;
+ }
+}
+
+/**
+ * Fires when a step click happens.
+ *
+ * @static
+ * @private
+ * @event click
+ * @param event {Object} An event object
+ */
+function stepClickHandler(event)
+{
+ event.preventDefault();
+
+ var anchor = $(this),
+ wizard = anchor.parent().parent().parent().parent(),
+ options = getOptions(wizard),
+ state = getState(wizard),
+ oldIndex = state.currentIndex;
+
+ if (anchor.parent().is(":not(.disabled):not(.current)"))
+ {
+ var href = anchor.attr("href"),
+ position = parseInt(href.substring(href.lastIndexOf("-") + 1), 0);
+
+ goToStep(wizard, options, state, position);
+ }
+
+ // If nothing has changed
+ if (oldIndex === state.currentIndex)
+ {
+ getStepAnchor(wizard, oldIndex).focus();
+ return false;
+ }
+}
+
+function throwError(message)
+{
+ if (arguments.length > 1)
+ {
+ message = message.format(Array.prototype.slice.call(arguments, 1));
+ }
+
+ throw new Error(message);
+}
+
+/**
+ * Checks an argument for null or undefined and throws an error if one check applies.
+ *
+ * @static
+ * @private
+ * @method validateArgument
+ * @param argumentName {String} The name of the given argument
+ * @param argumentValue {Object} The argument itself
+ */
+function validateArgument(argumentName, argumentValue)
+{
+ if (argumentValue == null)
+ {
+ throwError("The argument '{0}' is null or undefined.", argumentName);
+ }
+}
+
+/**
+ * Represents a jQuery wizard plugin.
+ *
+ * @class steps
+ * @constructor
+ * @param [method={}] The name of the method as `String` or an JSON object for initialization
+ * @param [params=]* {Array} Additional arguments for a method call
+ * @chainable
+ **/
+$.fn.steps = function (method)
+{
+ if ($.fn.steps[method])
+ {
+ return $.fn.steps[method].apply(this, Array.prototype.slice.call(arguments, 1));
+ }
+ else if (typeof method === "object" || !method)
+ {
+ return initialize.apply(this, arguments);
+ }
+ else
+ {
+ $.error("Method " + method + " does not exist on jQuery.steps");
+ }
+};
+
+/**
+ * Adds a new step.
+ *
+ * @method add
+ * @param step {Object} The step object to add
+ * @chainable
+ **/
+$.fn.steps.add = function (step)
+{
+ var state = getState(this);
+ return insertStep(this, getOptions(this), state, state.stepCount, step);
+};
+
+/**
+ * Removes the control functionality completely and transforms the current state to the initial HTML structure.
+ *
+ * @method destroy
+ * @chainable
+ **/
+$.fn.steps.destroy = function ()
+{
+ return destroy(this, getOptions(this));
+};
+
+/**
+ * Triggers the onFinishing and onFinished event.
+ *
+ * @method finish
+ **/
+$.fn.steps.finish = function ()
+{
+ finishStep(this, getState(this));
+};
+
+/**
+ * Gets the current step index.
+ *
+ * @method getCurrentIndex
+ * @return {Integer} The actual step index (zero-based)
+ * @for steps
+ **/
+$.fn.steps.getCurrentIndex = function ()
+{
+ return getState(this).currentIndex;
+};
+
+/**
+ * Gets the current step object.
+ *
+ * @method getCurrentStep
+ * @return {Object} The actual step object
+ **/
+$.fn.steps.getCurrentStep = function ()
+{
+ return getStep(this, getState(this).currentIndex);
+};
+
+/**
+ * Gets a specific step object by index.
+ *
+ * @method getStep
+ * @param index {Integer} An integer that belongs to the position of a step
+ * @return {Object} A specific step object
+ **/
+$.fn.steps.getStep = function (index)
+{
+ return getStep(this, index);
+};
+
+/**
+ * Inserts a new step to a specific position.
+ *
+ * @method insert
+ * @param index {Integer} The position (zero-based) to add
+ * @param step {Object} The step object to add
+ * @example
+ * $("#wizard").steps().insert(0, {
+ * title: "Title",
+ * content: "", // optional
+ * contentMode: "async", // optional
+ * contentUrl: "/Content/Step/1" // optional
+ * });
+ * @chainable
+ **/
+$.fn.steps.insert = function (index, step)
+{
+ return insertStep(this, getOptions(this), getState(this), index, step);
+};
+
+/**
+ * Routes to the next step.
+ *
+ * @method next
+ * @return {Boolean} Indicates whether the action executed
+ **/
+$.fn.steps.next = function ()
+{
+ return goToNextStep(this, getOptions(this), getState(this));
+};
+
+/**
+ * Routes to the previous step.
+ *
+ * @method previous
+ * @return {Boolean} Indicates whether the action executed
+ **/
+$.fn.steps.previous = function ()
+{
+ return goToPreviousStep(this, getOptions(this), getState(this));
+};
+
+/**
+ * Removes a specific step by an given index.
+ *
+ * @method remove
+ * @param index {Integer} The position (zero-based) of the step to remove
+ * @return Indecates whether the item is removed.
+ **/
+$.fn.steps.remove = function (index)
+{
+ return removeStep(this, getOptions(this), getState(this), index);
+};
+
+/**
+ * Sets a specific step object by index.
+ *
+ * @method setStep
+ * @param index {Integer} An integer that belongs to the position of a step
+ * @param step {Object} The step object to change
+ **/
+$.fn.steps.setStep = function (index, step)
+{
+ throw new Error("Not yet implemented!");
+};
+
+/**
+ * Skips an certain amount of steps.
+ *
+ * @method skip
+ * @param count {Integer} The amount of steps that should be skipped
+ * @return {Boolean} Indicates whether the action executed
+ **/
+$.fn.steps.skip = function (count)
+{
+ throw new Error("Not yet implemented!");
+};
+
+/**
+ * An enum represents the different content types of a step and their loading mechanisms.
+ *
+ * @class contentMode
+ * @for steps
+ **/
+var contentMode = $.fn.steps.contentMode = {
+ /**
+ * HTML embedded content
+ *
+ * @readOnly
+ * @property html
+ * @type Integer
+ * @for contentMode
+ **/
+ html: 0,
+
+ /**
+ * IFrame embedded content
+ *
+ * @readOnly
+ * @property iframe
+ * @type Integer
+ * @for contentMode
+ **/
+ iframe: 1,
+
+ /**
+ * Async embedded content
+ *
+ * @readOnly
+ * @property async
+ * @type Integer
+ * @for contentMode
+ **/
+ async: 2
+};
+
+/**
+ * An enum represents the orientation of the steps navigation.
+ *
+ * @class stepsOrientation
+ * @for steps
+ **/
+var stepsOrientation = $.fn.steps.stepsOrientation = {
+ /**
+ * Horizontal orientation
+ *
+ * @readOnly
+ * @property horizontal
+ * @type Integer
+ * @for stepsOrientation
+ **/
+ horizontal: 0,
+
+ /**
+ * Vertical orientation
+ *
+ * @readOnly
+ * @property vertical
+ * @type Integer
+ * @for stepsOrientation
+ **/
+ vertical: 1
+};
+
+/**
+ * An enum that represents the various transition animations.
+ *
+ * @class transitionEffect
+ * @for steps
+ **/
+var transitionEffect = $.fn.steps.transitionEffect = {
+ /**
+ * No transition animation
+ *
+ * @readOnly
+ * @property none
+ * @type Integer
+ * @for transitionEffect
+ **/
+ none: 0,
+
+ /**
+ * Fade in transition
+ *
+ * @readOnly
+ * @property fade
+ * @type Integer
+ * @for transitionEffect
+ **/
+ fade: 1,
+
+ /**
+ * Slide up transition
+ *
+ * @readOnly
+ * @property slide
+ * @type Integer
+ * @for transitionEffect
+ **/
+ slide: 2,
+
+ /**
+ * Slide left transition
+ *
+ * @readOnly
+ * @property slideLeft
+ * @type Integer
+ * @for transitionEffect
+ **/
+ slideLeft: 3
+};
+
+var stepModel = $.fn.steps.stepModel = {
+ title: "",
+ content: "",
+ contentUrl: "",
+ contentMode: contentMode.html,
+ contentLoaded: false
+};
+
+/**
+ * An object that represents the default settings.
+ * There are two possibities to override the sub-properties.
+ * Either by doing it generally (global) or on initialization.
+ *
+ * @static
+ * @class defaults
+ * @for steps
+ * @example
+ * // Global approach
+ * $.steps.defaults.headerTag = "h3";
+ * @example
+ * // Initialization approach
+ * $("#wizard").steps({ headerTag: "h3" });
+ **/
+var defaults = $.fn.steps.defaults = {
+ /**
+ * The header tag is used to find the step button text within the declared wizard area.
+ *
+ * @property headerTag
+ * @type String
+ * @default "h1"
+ * @for defaults
+ **/
+ headerTag: "h1",
+
+ /**
+ * The body tag is used to find the step content within the declared wizard area.
+ *
+ * @property bodyTag
+ * @type String
+ * @default "div"
+ * @for defaults
+ **/
+ bodyTag: "div",
+
+ /**
+ * The content container tag which will be used to wrap all step contents.
+ *
+ * @property contentContainerTag
+ * @type String
+ * @default "div"
+ * @for defaults
+ **/
+ contentContainerTag: "div",
+
+ /**
+ * The action container tag which will be used to wrap the pagination navigation.
+ *
+ * @property actionContainerTag
+ * @type String
+ * @default "div"
+ * @for defaults
+ **/
+ actionContainerTag: "div",
+
+ /**
+ * The steps container tag which will be used to wrap the steps navigation.
+ *
+ * @property stepsContainerTag
+ * @type String
+ * @default "div"
+ * @for defaults
+ **/
+ stepsContainerTag: "div",
+
+ /**
+ * The css class which will be added to the outer component wrapper.
+ *
+ * @property cssClass
+ * @type String
+ * @default "wizard"
+ * @for defaults
+ * @example
+ * <div class="wizard">
+ * ...
+ * </div>
+ **/
+ cssClass: "wizard",
+
+ /**
+ * The css class which will be used for floating scenarios.
+ *
+ * @property clearFixCssClass
+ * @type String
+ * @default "clearfix"
+ * @for defaults
+ **/
+ clearFixCssClass: "clearfix",
+
+ /**
+ * Determines whether the steps are vertically or horizontally oriented.
+ *
+ * @property stepsOrientation
+ * @type stepsOrientation
+ * @default horizontal
+ * @for defaults
+ * @since 1.0.0
+ **/
+ stepsOrientation: stepsOrientation.horizontal,
+
+ /*
+ * Tempplates
+ */
+
+ /**
+ * The title template which will be used to create a step button.
+ *
+ * @property titleTemplate
+ * @type String
+ * @default "<span class=\"number\">#index#.</span> #title#"
+ * @for defaults
+ **/
+ titleTemplate: "<span class=\"number\">#index#.</span> #title#",
+
+ /**
+ * The loading template which will be used to create the loading animation.
+ *
+ * @property loadingTemplate
+ * @type String
+ * @default "<span class=\"spinner\"></span> #text#"
+ * @for defaults
+ **/
+ loadingTemplate: "<span class=\"spinner\"></span> #text#",
+
+ /*
+ * Behaviour
+ */
+
+ /**
+ * Sets the focus to the first wizard instance in order to enable the key navigation from the begining if `true`.
+ *
+ * @property autoFocus
+ * @type Boolean
+ * @default false
+ * @for defaults
+ * @since 0.9.4
+ **/
+ autoFocus: false,
+
+ /**
+ * Enables all steps from the begining if `true` (all steps are clickable).
+ *
+ * @property enableAllSteps
+ * @type Boolean
+ * @default false
+ * @for defaults
+ **/
+ enableAllSteps: false,
+
+ /**
+ * Enables keyboard navigation if `true` (arrow left and arrow right).
+ *
+ * @property enableKeyNavigation
+ * @type Boolean
+ * @default true
+ * @for defaults
+ **/
+ enableKeyNavigation: true,
+
+ /**
+ * Enables pagination if `true`.
+ *
+ * @property enablePagination
+ * @type Boolean
+ * @default true
+ * @for defaults
+ **/
+ enablePagination: true,
+
+ /**
+ * Suppresses pagination if a form field is focused.
+ *
+ * @property suppressPaginationOnFocus
+ * @type Boolean
+ * @default true
+ * @for defaults
+ **/
+ suppressPaginationOnFocus: true,
+
+ /**
+ * Enables cache for async loaded or iframe embedded content.
+ *
+ * @property enableContentCache
+ * @type Boolean
+ * @default true
+ * @for defaults
+ **/
+ enableContentCache: true,
+
+ /**
+ * Shows the cancel button if enabled.
+ *
+ * @property enableCancelButton
+ * @type Boolean
+ * @default false
+ * @for defaults
+ **/
+ enableCancelButton: false,
+
+ /**
+ * Shows the finish button if enabled.
+ *
+ * @property enableFinishButton
+ * @type Boolean
+ * @default true
+ * @for defaults
+ **/
+ enableFinishButton: true,
+
+ /**
+ * Not yet implemented.
+ *
+ * @property preloadContent
+ * @type Boolean
+ * @default false
+ * @for defaults
+ **/
+ preloadContent: false,
+
+ /**
+ * Shows the finish button always (on each step; right beside the next button) if `true`.
+ * Otherwise the next button will be replaced by the finish button if the last step becomes active.
+ *
+ * @property showFinishButtonAlways
+ * @type Boolean
+ * @default false
+ * @for defaults
+ **/
+ showFinishButtonAlways: false,
+
+ /**
+ * Prevents jumping to a previous step.
+ *
+ * @property forceMoveForward
+ * @type Boolean
+ * @default false
+ * @for defaults
+ **/
+ forceMoveForward: false,
+
+ /**
+ * Saves the current state (step position) to a cookie.
+ * By coming next time the last active step becomes activated.
+ *
+ * @property saveState
+ * @type Boolean
+ * @default false
+ * @for defaults
+ **/
+ saveState: false,
+
+ /**
+ * The position to start on (zero-based).
+ *
+ * @property startIndex
+ * @type Integer
+ * @default 0
+ * @for defaults
+ **/
+ startIndex: 0,
+
+ /*
+ * Animation Effect Configuration
+ */
+
+ /**
+ * The animation effect which will be used for step transitions.
+ *
+ * @property transitionEffect
+ * @type transitionEffect
+ * @default none
+ * @for defaults
+ **/
+ transitionEffect: transitionEffect.none,
+
+ /**
+ * Animation speed for step transitions (in milliseconds).
+ *
+ * @property transitionEffectSpeed
+ * @type Integer
+ * @default 200
+ * @for defaults
+ **/
+ transitionEffectSpeed: 200,
+
+ /*
+ * Events
+ */
+
+ /**
+ * Fires before the step changes and can be used to prevent step changing by returning `false`.
+ * Very useful for form validation.
+ *
+ * @property onStepChanging
+ * @type Event
+ * @default function (event, currentIndex, newIndex) { return true; }
+ * @for defaults
+ **/
+ onStepChanging: function (event, currentIndex, newIndex) { return true; },
+
+ /**
+ * Fires after the step has change.
+ *
+ * @property onStepChanged
+ * @type Event
+ * @default function (event, currentIndex, priorIndex) { }
+ * @for defaults
+ **/
+ onStepChanged: function (event, currentIndex, priorIndex) { },
+
+ /**
+ * Fires after cancelation.
+ *
+ * @property onCanceled
+ * @type Event
+ * @default function (event) { }
+ * @for defaults
+ **/
+ onCanceled: function (event) { },
+
+ /**
+ * Fires before finishing and can be used to prevent completion by returning `false`.
+ * Very useful for form validation.
+ *
+ * @property onFinishing
+ * @type Event
+ * @default function (event, currentIndex) { return true; }
+ * @for defaults
+ **/
+ onFinishing: function (event, currentIndex) { return true; },
+
+ /**
+ * Fires after completion.
+ *
+ * @property onFinished
+ * @type Event
+ * @default function (event, currentIndex) { }
+ * @for defaults
+ **/
+ onFinished: function (event, currentIndex) { },
+
+ /**
+ * Fires after async content is loaded.
+ *
+ * @property onContentLoaded
+ * @type Event
+ * @default function (event, index) { }
+ * @for defaults
+ **/
+ onContentLoaded: function (event, currentIndex) { },
+
+ /**
+ * Fires when the wizard is initialized.
+ *
+ * @property onInit
+ * @type Event
+ * @default function (event) { }
+ * @for defaults
+ **/
+ onInit: function (event, currentIndex) { },
+
+ /**
+ * Contains all labels.
+ *
+ * @property labels
+ * @type Object
+ * @for defaults
+ **/
+ labels: {
+ /**
+ * Label for the cancel button.
+ *
+ * @property cancel
+ * @type String
+ * @default "Cancel"
+ * @for defaults
+ **/
+ cancel: "Cancel",
+
+ /**
+ * This label is important for accessability reasons.
+ * Indicates which step is activated.
+ *
+ * @property current
+ * @type String
+ * @default "current step:"
+ * @for defaults
+ **/
+ current: "current step:",
+
+ /**
+ * This label is important for accessability reasons and describes the kind of navigation.
+ *
+ * @property pagination
+ * @type String
+ * @default "Pagination"
+ * @for defaults
+ * @since 0.9.7
+ **/
+ pagination: "Pagination",
+
+ /**
+ * Label for the finish button.
+ *
+ * @property finish
+ * @type String
+ * @default "Finish"
+ * @for defaults
+ **/
+ finish: "Finish",
+
+ /**
+ * Label for the next button.
+ *
+ * @property next
+ * @type String
+ * @default "Next"
+ * @for defaults
+ **/
+ next: "Next",
+
+ /**
+ * Label for the previous button.
+ *
+ * @property previous
+ * @type String
+ * @default "Previous"
+ * @for defaults
+ **/
+ previous: "Previous",
+
+ /**
+ * Label for the loading animation.
+ *
+ * @property loading
+ * @type String
+ * @default "Loading ..."
+ * @for defaults
+ **/
+ loading: "Loading ..."
+ }
+};
+})(jQuery); \ No newline at end of file
diff --git a/script/jquery-steps/jquery.steps.min.js b/script/jquery-steps/jquery.steps.min.js
new file mode 100644
index 0000000..755aedf
--- /dev/null
+++ b/script/jquery-steps/jquery.steps.min.js
@@ -0,0 +1,6 @@
+/*!
+ * jQuery Steps v1.1.0 - 09/04/2014
+ * Copyright (c) 2014 Rafael Staib (http://www.jquery-steps.com)
+ * Licensed under MIT http://www.opensource.org/licenses/MIT
+ */
+!function(a,b){function c(a,b){o(a).push(b)}function d(d,e,f){var g=d.children(e.headerTag),h=d.children(e.bodyTag);g.length>h.length?R(Z,"contents"):g.length<h.length&&R(Z,"titles");var i=e.startIndex;if(f.stepCount=g.length,e.saveState&&a.cookie){var j=a.cookie(U+q(d)),k=parseInt(j,0);!isNaN(k)&&k<f.stepCount&&(i=k)}f.currentIndex=i,g.each(function(e){var f=a(this),g=h.eq(e),i=g.data("mode"),j=null==i?$.html:r($,/^\s*$/.test(i)||isNaN(i)?i:parseInt(i,0)),k=j===$.html||g.data("url")===b?"":g.data("url"),l=j!==$.html&&"1"===g.data("loaded"),m=a.extend({},bb,{title:f.html(),content:j===$.html?g.html():"",contentUrl:k,contentMode:j,contentLoaded:l});c(d,m)})}function e(a){a.triggerHandler("canceled")}function f(a,b){return a.currentIndex-b}function g(b,c){var d=i(b);b.unbind(d).removeData("uid").removeData("options").removeData("state").removeData("steps").removeData("eventNamespace").find(".actions a").unbind(d),b.removeClass(c.clearFixCssClass+" vertical");var e=b.find(".content > *");e.removeData("loaded").removeData("mode").removeData("url"),e.removeAttr("id").removeAttr("role").removeAttr("tabindex").removeAttr("class").removeAttr("style")._removeAria("labelledby")._removeAria("hidden"),b.find(".content > [data-mode='async'],.content > [data-mode='iframe']").empty();var f=a('<{0} class="{1}"></{0}>'.format(b.get(0).tagName,b.attr("class"))),g=b._id();return null!=g&&""!==g&&f._id(g),f.html(b.find(".content").html()),b.after(f),b.remove(),f}function h(a,b){var c=a.find(".steps li").eq(b.currentIndex);a.triggerHandler("finishing",[b.currentIndex])?(c.addClass("done").removeClass("error"),a.triggerHandler("finished",[b.currentIndex])):c.addClass("error")}function i(a){var b=a.data("eventNamespace");return null==b&&(b="."+q(a),a.data("eventNamespace",b)),b}function j(a,b){var c=q(a);return a.find("#"+c+V+b)}function k(a,b){var c=q(a);return a.find("#"+c+W+b)}function l(a,b){var c=q(a);return a.find("#"+c+X+b)}function m(a){return a.data("options")}function n(a){return a.data("state")}function o(a){return a.data("steps")}function p(a,b){var c=o(a);return(0>b||b>=c.length)&&R(Y),c[b]}function q(a){var b=a.data("uid");return null==b&&(b=a._id(),null==b&&(b="steps-uid-".concat(T),a._id(b)),T++,a.data("uid",b)),b}function r(a,c){if(S("enumType",a),S("keyOrValue",c),"string"==typeof c){var d=a[c];return d===b&&R("The enum key '{0}' does not exist.",c),d}if("number"==typeof c){for(var e in a)if(a[e]===c)return c;R("Invalid enum value '{0}'.",c)}else R("Invalid key or value type.")}function s(a,b,c){return B(a,b,c,v(c,1))}function t(a,b,c){return B(a,b,c,f(c,1))}function u(a,b,c,d){if((0>d||d>=c.stepCount)&&R(Y),!(b.forceMoveForward&&d<c.currentIndex)){var e=c.currentIndex;return a.triggerHandler("stepChanging",[c.currentIndex,d])?(c.currentIndex=d,O(a,b,c),E(a,b,c,e),D(a,b,c),A(a,b,c),P(a,b,c,d,e,function(){a.triggerHandler("stepChanged",[d,e])})):a.find(".steps li").eq(e).addClass("error"),!0}}function v(a,b){return a.currentIndex+b}function w(b){var c=a.extend(!0,{},cb,b);return this.each(function(){var b=a(this),e={currentIndex:c.startIndex,currentStep:null,stepCount:0,transitionElement:null};b.data("options",c),b.data("state",e),b.data("steps",[]),d(b,c,e),J(b,c,e),G(b,c),c.autoFocus&&0===T&&j(b,c.startIndex).focus(),b.triggerHandler("init",[c.startIndex])})}function x(b,c,d,e,f){(0>e||e>d.stepCount)&&R(Y),f=a.extend({},bb,f),y(b,e,f),d.currentIndex!==d.stepCount&&d.currentIndex>=e&&(d.currentIndex++,O(b,c,d)),d.stepCount++;var g=b.find(".content"),h=a("<{0}>{1}</{0}>".format(c.headerTag,f.title)),i=a("<{0}></{0}>".format(c.bodyTag));return(null==f.contentMode||f.contentMode===$.html)&&i.html(f.content),0===e?g.prepend(i).prepend(h):k(b,e-1).after(i).after(h),K(b,d,i,e),N(b,c,d,h,e),F(b,c,d,e),e===d.currentIndex&&E(b,c,d),D(b,c,d),b}function y(a,b,c){o(a).splice(b,0,c)}function z(b){var c=a(this),d=m(c),e=n(c);if(d.suppressPaginationOnFocus&&c.find(":focus").is(":input"))return b.preventDefault(),!1;var f={left:37,right:39};b.keyCode===f.left?(b.preventDefault(),t(c,d,e)):b.keyCode===f.right&&(b.preventDefault(),s(c,d,e))}function A(b,c,d){if(d.stepCount>0){var e=d.currentIndex,f=p(b,e);if(!c.enableContentCache||!f.contentLoaded)switch(r($,f.contentMode)){case $.iframe:b.find(".content > .body").eq(d.currentIndex).empty().html('<iframe src="'+f.contentUrl+'" frameborder="0" scrolling="no" />').data("loaded","1");break;case $.async:var g=k(b,e)._aria("busy","true").empty().append(M(c.loadingTemplate,{text:c.labels.loading}));a.ajax({url:f.contentUrl,cache:!1}).done(function(a){g.empty().html(a)._aria("busy","false").data("loaded","1"),b.triggerHandler("contentLoaded",[e])})}}}function B(a,b,c,d){var e=c.currentIndex;if(d>=0&&d<c.stepCount&&!(b.forceMoveForward&&d<c.currentIndex)){var f=j(a,d),g=f.parent(),h=g.hasClass("disabled");return g._enableAria(),f.click(),e===c.currentIndex&&h?(g._enableAria(!1),!1):!0}return!1}function C(b){b.preventDefault();var c=a(this),d=c.parent().parent().parent().parent(),f=m(d),g=n(d),i=c.attr("href");switch(i.substring(i.lastIndexOf("#")+1)){case"cancel":e(d);break;case"finish":h(d,g);break;case"next":s(d,f,g);break;case"previous":t(d,f,g)}}function D(a,b,c){if(b.enablePagination){var d=a.find(".actions a[href$='#finish']").parent(),e=a.find(".actions a[href$='#next']").parent();if(!b.forceMoveForward){var f=a.find(".actions a[href$='#previous']").parent();f._enableAria(c.currentIndex>0)}b.enableFinishButton&&b.showFinishButtonAlways?(d._enableAria(c.stepCount>0),e._enableAria(c.stepCount>1&&c.stepCount>c.currentIndex+1)):(d._showAria(b.enableFinishButton&&c.stepCount===c.currentIndex+1),e._showAria(0===c.stepCount||c.stepCount>c.currentIndex+1)._enableAria(c.stepCount>c.currentIndex+1||!b.enableFinishButton))}}function E(b,c,d,e){var f=j(b,d.currentIndex),g=a('<span class="current-info audible">'+c.labels.current+" </span>"),h=b.find(".content > .title");if(null!=e){var i=j(b,e);i.parent().addClass("done").removeClass("error")._selectAria(!1),h.eq(e).removeClass("current").next(".body").removeClass("current"),g=i.find(".current-info"),f.focus()}f.prepend(g).parent()._selectAria().removeClass("done")._enableAria(),h.eq(d.currentIndex).addClass("current").next(".body").addClass("current")}function F(a,b,c,d){for(var e=q(a),f=d;f<c.stepCount;f++){var g=e+V+f,h=e+W+f,i=e+X+f,j=a.find(".title").eq(f)._id(i);a.find(".steps a").eq(f)._id(g)._aria("controls",h).attr("href","#"+i).html(M(b.titleTemplate,{index:f+1,title:j.html()})),a.find(".body").eq(f)._id(h)._aria("labelledby",i)}}function G(a,b){var c=i(a);a.bind("canceled"+c,b.onCanceled),a.bind("contentLoaded"+c,b.onContentLoaded),a.bind("finishing"+c,b.onFinishing),a.bind("finished"+c,b.onFinished),a.bind("init"+c,b.onInit),a.bind("stepChanging"+c,b.onStepChanging),a.bind("stepChanged"+c,b.onStepChanged),b.enableKeyNavigation&&a.bind("keyup"+c,z),a.find(".actions a").bind("click"+c,C)}function H(a,b,c,d){return 0>d||d>=c.stepCount||c.currentIndex===d?!1:(I(a,d),c.currentIndex>d&&(c.currentIndex--,O(a,b,c)),c.stepCount--,l(a,d).remove(),k(a,d).remove(),j(a,d).parent().remove(),0===d&&a.find(".steps li").first().addClass("first"),d===c.stepCount&&a.find(".steps li").eq(d).addClass("last"),F(a,b,c,d),D(a,b,c),!0)}function I(a,b){o(a).splice(b,1)}function J(b,c,d){var e='<{0} class="{1}">{2}</{0}>',f=r(_,c.stepsOrientation),g=f===_.vertical?" vertical":"",h=a(e.format(c.contentContainerTag,"content "+c.clearFixCssClass,b.html())),i=a(e.format(c.stepsContainerTag,"steps "+c.clearFixCssClass,'<ul role="tablist"></ul>')),j=h.children(c.headerTag),k=h.children(c.bodyTag);b.attr("role","application").empty().append(i).append(h).addClass(c.cssClass+" "+c.clearFixCssClass+g),k.each(function(c){K(b,d,a(this),c)}),j.each(function(e){N(b,c,d,a(this),e)}),E(b,c,d),L(b,c,d)}function K(a,b,c,d){var e=q(a),f=e+W+d,g=e+X+d;c._id(f).attr("role","tabpanel")._aria("labelledby",g).addClass("body")._showAria(b.currentIndex===d)}function L(a,b,c){if(b.enablePagination){var d='<{0} class="actions {1}"><ul role="menu" aria-label="{2}">{3}</ul></{0}>',e='<li><a href="#{0}" role="menuitem">{1}</a></li>',f="";b.forceMoveForward||(f+=e.format("previous",b.labels.previous)),f+=e.format("next",b.labels.next),b.enableFinishButton&&(f+=e.format("finish",b.labels.finish)),b.enableCancelButton&&(f+=e.format("cancel",b.labels.cancel)),a.append(d.format(b.actionContainerTag,b.clearFixCssClass,b.labels.pagination,f)),D(a,b,c),A(a,b,c)}}function M(a,c){for(var d=a.match(/#([a-z]*)#/gi),e=0;e<d.length;e++){var f=d[e],g=f.substring(1,f.length-1);c[g]===b&&R("The key '{0}' does not exist in the substitute collection!",g),a=a.replace(f,c[g])}return a}function N(b,c,d,e,f){var g=q(b),h=g+V+f,j=g+W+f,k=g+X+f,l=b.find(".steps > ul"),m=M(c.titleTemplate,{index:f+1,title:e.html()}),n=a('<li role="tab"><a id="'+h+'" href="#'+k+'" aria-controls="'+j+'">'+m+"</a></li>");n._enableAria(c.enableAllSteps||d.currentIndex>f),d.currentIndex>f&&n.addClass("done"),e._id(k).attr("tabindex","-1").addClass("title"),0===f?l.prepend(n):l.find("li").eq(f-1).after(n),0===f&&l.find("li").removeClass("first").eq(f).addClass("first"),f===d.stepCount-1&&l.find("li").removeClass("last").eq(f).addClass("last"),n.children("a").bind("click"+i(b),Q)}function O(b,c,d){c.saveState&&a.cookie&&a.cookie(U+q(b),d.currentIndex)}function P(b,c,d,e,f,g){var h=b.find(".content > .body"),i=r(ab,c.transitionEffect),j=c.transitionEffectSpeed,k=h.eq(e),l=h.eq(f);switch(i){case ab.fade:case ab.slide:var m=i===ab.fade?"fadeOut":"slideUp",o=i===ab.fade?"fadeIn":"slideDown";d.transitionElement=k,l[m](j,function(){var b=a(this)._showAria(!1).parent().parent(),c=n(b);c.transitionElement&&(c.transitionElement[o](j,function(){a(this)._showAria()}).promise().done(g),c.transitionElement=null)});break;case ab.slideLeft:var p=l.outerWidth(!0),q=e>f?-p:p,s=e>f?p:-p;a.when(l.animate({left:q},j,function(){a(this)._showAria(!1)}),k.css("left",s+"px")._showAria().animate({left:0},j)).done(g);break;default:a.when(l._showAria(!1),k._showAria()).done(g)}}function Q(b){b.preventDefault();var c=a(this),d=c.parent().parent().parent().parent(),e=m(d),f=n(d),g=f.currentIndex;if(c.parent().is(":not(.disabled):not(.current)")){var h=c.attr("href"),i=parseInt(h.substring(h.lastIndexOf("-")+1),0);u(d,e,f,i)}return g===f.currentIndex?(j(d,g).focus(),!1):void 0}function R(a){throw arguments.length>1&&(a=a.format(Array.prototype.slice.call(arguments,1))),new Error(a)}function S(a,b){null==b&&R("The argument '{0}' is null or undefined.",a)}a.fn.extend({_aria:function(a,b){return this.attr("aria-"+a,b)},_removeAria:function(a){return this.removeAttr("aria-"+a)},_enableAria:function(a){return null==a||a?this.removeClass("disabled")._aria("disabled","false"):this.addClass("disabled")._aria("disabled","true")},_showAria:function(a){return null==a||a?this.show()._aria("hidden","false"):this.hide()._aria("hidden","true")},_selectAria:function(a){return null==a||a?this.addClass("current")._aria("selected","true"):this.removeClass("current")._aria("selected","false")},_id:function(a){return a?this.attr("id",a):this.attr("id")}}),String.prototype.format||(String.prototype.format=function(){for(var b=1===arguments.length&&a.isArray(arguments[0])?arguments[0]:arguments,c=this,d=0;d<b.length;d++){var e=new RegExp("\\{"+d+"\\}","gm");c=c.replace(e,b[d])}return c});var T=0,U="jQu3ry_5teps_St@te_",V="-t-",W="-p-",X="-h-",Y="Index out of range.",Z="One or more corresponding step {0} are missing.";a.fn.steps=function(b){return a.fn.steps[b]?a.fn.steps[b].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof b&&b?void a.error("Method "+b+" does not exist on jQuery.steps"):w.apply(this,arguments)},a.fn.steps.add=function(a){var b=n(this);return x(this,m(this),b,b.stepCount,a)},a.fn.steps.destroy=function(){return g(this,m(this))},a.fn.steps.finish=function(){h(this,n(this))},a.fn.steps.getCurrentIndex=function(){return n(this).currentIndex},a.fn.steps.getCurrentStep=function(){return p(this,n(this).currentIndex)},a.fn.steps.getStep=function(a){return p(this,a)},a.fn.steps.insert=function(a,b){return x(this,m(this),n(this),a,b)},a.fn.steps.next=function(){return s(this,m(this),n(this))},a.fn.steps.previous=function(){return t(this,m(this),n(this))},a.fn.steps.remove=function(a){return H(this,m(this),n(this),a)},a.fn.steps.setStep=function(){throw new Error("Not yet implemented!")},a.fn.steps.skip=function(){throw new Error("Not yet implemented!")};var $=a.fn.steps.contentMode={html:0,iframe:1,async:2},_=a.fn.steps.stepsOrientation={horizontal:0,vertical:1},ab=a.fn.steps.transitionEffect={none:0,fade:1,slide:2,slideLeft:3},bb=a.fn.steps.stepModel={title:"",content:"",contentUrl:"",contentMode:$.html,contentLoaded:!1},cb=a.fn.steps.defaults={headerTag:"h1",bodyTag:"div",contentContainerTag:"div",actionContainerTag:"div",stepsContainerTag:"div",cssClass:"wizard",clearFixCssClass:"clearfix",stepsOrientation:_.horizontal,titleTemplate:'<span class="number">#index#.</span> #title#',loadingTemplate:'<span class="spinner"></span> #text#',autoFocus:!1,enableAllSteps:!1,enableKeyNavigation:!0,enablePagination:!0,suppressPaginationOnFocus:!0,enableContentCache:!0,enableCancelButton:!1,enableFinishButton:!0,preloadContent:!1,showFinishButtonAlways:!1,forceMoveForward:!1,saveState:!1,startIndex:0,transitionEffect:ab.none,transitionEffectSpeed:200,onStepChanging:function(){return!0},onStepChanged:function(){},onCanceled:function(){},onFinishing:function(){return!0},onFinished:function(){},onContentLoaded:function(){},onInit:function(){},labels:{cancel:"Cancel",current:"current step:",pagination:"Pagination",finish:"Finish",next:"Next",previous:"Previous",loading:"Loading ..."}}}(jQuery); \ No newline at end of file
diff --git a/script/jquery-validate/jquery.validate.js b/script/jquery-validate/jquery.validate.js
new file mode 100644
index 0000000..3606d39
--- /dev/null
+++ b/script/jquery-validate/jquery.validate.js
@@ -0,0 +1,1365 @@
+/*!
+ * jQuery Validation Plugin v1.13.1
+ *
+ * http://jqueryvalidation.org/
+ *
+ * Copyright (c) 2014 Jörn Zaefferer
+ * Released under the MIT license
+ */
+(function( factory ) {
+ if ( typeof define === "function" && define.amd ) {
+ define( ["jquery"], factory );
+ } else {
+ factory( jQuery );
+ }
+}(function( $ ) {
+
+jQuery.extend($.fn, {
+ // http://jqueryvalidation.org/validate/
+ validate: function( options ) {
+
+ // if nothing is selected, return nothing; can't chain anyway
+ if ( !this.length ) {
+ if ( options && options.debug && window.console ) {
+ console.warn( "Nothing selected, can't validate, returning nothing." );
+ }
+ return;
+ }
+
+ // check if a validator for this form was already created
+ var validator = $.data( this[ 0 ], "validator" );
+ if ( validator ) {
+ return validator;
+ }
+
+ // Add novalidate tag if HTML5.
+ this.attr( "novalidate", "novalidate" );
+
+ validator = new $.validator( options, this[ 0 ] );
+ $.data( this[ 0 ], "validator", validator );
+
+ if ( validator.settings.onsubmit ) {
+
+ this.validateDelegate( ":submit", "click", function( event ) {
+ if ( validator.settings.submitHandler ) {
+ validator.submitButton = event.target;
+ }
+ // allow suppressing validation by adding a cancel class to the submit button
+ if ( $( event.target ).hasClass( "cancel" ) ) {
+ validator.cancelSubmit = true;
+ }
+
+ // allow suppressing validation by adding the html5 formnovalidate attribute to the submit button
+ if ( $( event.target ).attr( "formnovalidate" ) !== undefined ) {
+ validator.cancelSubmit = true;
+ }
+ });
+
+ // validate the form on submit
+ this.submit( function( event ) {
+ if ( validator.settings.debug ) {
+ // prevent form submit to be able to see console output
+ event.preventDefault();
+ }
+ function handle() {
+ var hidden, result;
+ if ( validator.settings.submitHandler ) {
+ if ( validator.submitButton ) {
+ // insert a hidden input as a replacement for the missing submit button
+ hidden = $( "<input type='hidden'/>" )
+ .attr( "name", validator.submitButton.name )
+ .val( $( validator.submitButton ).val() )
+ .appendTo( validator.currentForm );
+ }
+ result = validator.settings.submitHandler.call( validator, validator.currentForm, event );
+ if ( validator.submitButton ) {
+ // and clean up afterwards; thanks to no-block-scope, hidden can be referenced
+ hidden.remove();
+ }
+ if ( result !== undefined ) {
+ return result;
+ }
+ return false;
+ }
+ return true;
+ }
+
+ // prevent submit for invalid forms or custom submit handlers
+ if ( validator.cancelSubmit ) {
+ validator.cancelSubmit = false;
+ return handle();
+ }
+ if ( validator.form() ) {
+ if ( validator.pendingRequest ) {
+ validator.formSubmitted = true;
+ return false;
+ }
+ return handle();
+ } else {
+ validator.focusInvalid();
+ return false;
+ }
+ });
+ }
+
+ return validator;
+ },
+ // http://jqueryvalidation.org/valid/
+ valid: function() {
+ var valid, validator;
+
+ if ( $( this[ 0 ] ).is( "form" ) ) {
+ valid = this.validate().form();
+ } else {
+ valid = true;
+ validator = $( this[ 0 ].form ).validate();
+ this.each( function() {
+ valid = validator.element( this ) && valid;
+ });
+ }
+ return valid;
+ },
+ // attributes: space separated list of attributes to retrieve and remove
+ removeAttrs: function( attributes ) {
+ var result = {},
+ $element = this;
+ $.each( attributes.split( /\s/ ), function( index, value ) {
+ result[ value ] = $element.attr( value );
+ $element.removeAttr( value );
+ });
+ return result;
+ },
+ // http://jqueryvalidation.org/rules/
+ rules: function( command, argument ) {
+ var element = this[ 0 ],
+ settings, staticRules, existingRules, data, param, filtered;
+
+ if ( command ) {
+ settings = $.data( element.form, "validator" ).settings;
+ staticRules = settings.rules;
+ existingRules = $.validator.staticRules( element );
+ switch ( command ) {
+ case "add":
+ jQuery.extend( existingRules, $.validator.normalizeRule( argument ) );
+ // remove messages from rules, but allow them to be set separately
+ delete existingRules.messages;
+ staticRules[ element.name ] = existingRules;
+ if ( argument.messages ) {
+ settings.messages[ element.name ] = jQuery.extend( settings.messages[ element.name ], argument.messages );
+ }
+ break;
+ case "remove":
+ if ( !argument ) {
+ delete staticRules[ element.name ];
+ return existingRules;
+ }
+ filtered = {};
+ $.each( argument.split( /\s/ ), function( index, method ) {
+ filtered[ method ] = existingRules[ method ];
+ delete existingRules[ method ];
+ if ( method === "required" ) {
+ $( element ).removeAttr( "aria-required" );
+ }
+ });
+ return filtered;
+ }
+ }
+
+ data = $.validator.normalizeRules(
+ jQuery.extend(
+ {},
+ $.validator.classRules( element ),
+ $.validator.attributeRules( element ),
+ $.validator.dataRules( element ),
+ $.validator.staticRules( element )
+ ), element );
+
+ // make sure required is at front
+ if ( data.required ) {
+ param = data.required;
+ delete data.required;
+ data = jQuery.extend( { required: param }, data );
+ $( element ).attr( "aria-required", "true" );
+ }
+
+ // make sure remote is at back
+ if ( data.remote ) {
+ param = data.remote;
+ delete data.remote;
+ data = jQuery.extend( data, { remote: param });
+ }
+
+ return data;
+ }
+});
+
+// Custom selectors
+jQuery.extend( $.expr[ ":" ], {
+ // http://jqueryvalidation.org/blank-selector/
+ blank: function( a ) {
+ return !$.trim( "" + $( a ).val() );
+ },
+ // http://jqueryvalidation.org/filled-selector/
+ filled: function( a ) {
+ return !!$.trim( "" + $( a ).val() );
+ },
+ // http://jqueryvalidation.org/unchecked-selector/
+ unchecked: function( a ) {
+ return !$( a ).prop( "checked" );
+ }
+});
+
+// constructor for validator
+$.validator = function( options, form ) {
+ this.settings = jQuery.extend( true, {}, $.validator.defaults, options );
+ this.currentForm = form;
+ this.init();
+};
+
+// http://jqueryvalidation.org/jQuery.validator.format/
+$.validator.format = function( source, params ) {
+ if ( arguments.length === 1 ) {
+ return function() {
+ var args = $.makeArray( arguments );
+ args.unshift( source );
+ return $.validator.format.apply( this, args );
+ };
+ }
+ if ( arguments.length > 2 && params.constructor !== Array ) {
+ params = $.makeArray( arguments ).slice( 1 );
+ }
+ if ( params.constructor !== Array ) {
+ params = [ params ];
+ }
+ $.each( params, function( i, n ) {
+ source = source.replace( new RegExp( "\\{" + i + "\\}", "g" ), function() {
+ return n;
+ });
+ });
+ return source;
+};
+
+jQuery.extend( $.validator, {
+
+ defaults: {
+ messages: {},
+ groups: {},
+ rules: {},
+ errorClass: "error",
+ validClass: "valid",
+ errorElement: "label",
+ focusCleanup: false,
+ focusInvalid: true,
+ errorContainer: $( [] ),
+ errorLabelContainer: $( [] ),
+ onsubmit: true,
+ ignore: ":hidden",
+ ignoreTitle: false,
+ onfocusin: function( element ) {
+ this.lastActive = element;
+
+ // Hide error label and remove error class on focus if enabled
+ if ( this.settings.focusCleanup ) {
+ if ( this.settings.unhighlight ) {
+ this.settings.unhighlight.call( this, element, this.settings.errorClass, this.settings.validClass );
+ }
+ this.hideThese( this.errorsFor( element ) );
+ }
+ },
+ onfocusout: function( element ) {
+ if ( !this.checkable( element ) && ( element.name in this.submitted || !this.optional( element ) ) ) {
+ this.element( element );
+ }
+ },
+ onkeyup: function( element, event ) {
+ if ( event.which === 9 && this.elementValue( element ) === "" ) {
+ return;
+ } else if ( element.name in this.submitted || element === this.lastElement ) {
+ this.element( element );
+ }
+ },
+ onclick: function( element ) {
+ // click on selects, radiobuttons and checkboxes
+ if ( element.name in this.submitted ) {
+ this.element( element );
+
+ // or option elements, check parent select in that case
+ } else if ( element.parentNode.name in this.submitted ) {
+ this.element( element.parentNode );
+ }
+ },
+ highlight: function( element, errorClass, validClass ) {
+ if ( element.type === "radio" ) {
+ this.findByName( element.name ).addClass( errorClass ).removeClass( validClass );
+ } else {
+ $( element ).addClass( errorClass ).removeClass( validClass );
+ }
+ },
+ unhighlight: function( element, errorClass, validClass ) {
+ if ( element.type === "radio" ) {
+ this.findByName( element.name ).removeClass( errorClass ).addClass( validClass );
+ } else {
+ $( element ).removeClass( errorClass ).addClass( validClass );
+ }
+ }
+ },
+
+ // http://jqueryvalidation.org/jQuery.validator.setDefaults/
+ setDefaults: function( settings ) {
+ jQuery.extend( $.validator.defaults, settings );
+ },
+
+ messages: {
+ required: "This field is required.",
+ remote: "Please fix this field.",
+ email: "Please enter a valid email address.",
+ url: "Please enter a valid URL.",
+ date: "Please enter a valid date.",
+ dateISO: "Please enter a valid date ( ISO ).",
+ number: "Please enter a valid number.",
+ digits: "Please enter only digits.",
+ creditcard: "Please enter a valid credit card number.",
+ equalTo: "Please enter the same value again.",
+ maxlength: $.validator.format( "Please enter no more than {0} characters." ),
+ minlength: $.validator.format( "Please enter at least {0} characters." ),
+ rangelength: $.validator.format( "Please enter a value between {0} and {1} characters long." ),
+ range: $.validator.format( "Please enter a value between {0} and {1}." ),
+ max: $.validator.format( "Please enter a value less than or equal to {0}." ),
+ min: $.validator.format( "Please enter a value greater than or equal to {0}." )
+ },
+
+ autoCreateRanges: false,
+
+ prototype: {
+
+ init: function() {
+ this.labelContainer = $( this.settings.errorLabelContainer );
+ this.errorContext = this.labelContainer.length && this.labelContainer || $( this.currentForm );
+ this.containers = $( this.settings.errorContainer ).add( this.settings.errorLabelContainer );
+ this.submitted = {};
+ this.valueCache = {};
+ this.pendingRequest = 0;
+ this.pending = {};
+ this.invalid = {};
+ this.reset();
+
+ var groups = ( this.groups = {} ),
+ rules;
+ $.each( this.settings.groups, function( key, value ) {
+ if ( typeof value === "string" ) {
+ value = value.split( /\s/ );
+ }
+ $.each( value, function( index, name ) {
+ groups[ name ] = key;
+ });
+ });
+ rules = this.settings.rules;
+ $.each( rules, function( key, value ) {
+ rules[ key ] = $.validator.normalizeRule( value );
+ });
+
+ function delegate( event ) {
+ var validator = $.data( this[ 0 ].form, "validator" ),
+ eventType = "on" + event.type.replace( /^validate/, "" ),
+ settings = validator.settings;
+ if ( settings[ eventType ] && !this.is( settings.ignore ) ) {
+ settings[ eventType ].call( validator, this[ 0 ], event );
+ }
+ }
+ $( this.currentForm )
+ .validateDelegate( ":text, [type='password'], [type='file'], select, textarea, " +
+ "[type='number'], [type='search'] ,[type='tel'], [type='url'], " +
+ "[type='email'], [type='datetime'], [type='date'], [type='month'], " +
+ "[type='week'], [type='time'], [type='datetime-local'], " +
+ "[type='range'], [type='color'], [type='radio'], [type='checkbox']",
+ "focusin focusout keyup", delegate)
+ // Support: Chrome, oldIE
+ // "select" is provided as event.target when clicking a option
+ .validateDelegate("select, option, [type='radio'], [type='checkbox']", "click", delegate);
+
+ if ( this.settings.invalidHandler ) {
+ $( this.currentForm ).bind( "invalid-form.validate", this.settings.invalidHandler );
+ }
+
+ // Add aria-required to any Static/Data/Class required fields before first validation
+ // Screen readers require this attribute to be present before the initial submission http://www.w3.org/TR/WCAG-TECHS/ARIA2.html
+ $( this.currentForm ).find( "[required], [data-rule-required], .required" ).attr( "aria-required", "true" );
+ },
+
+ // http://jqueryvalidation.org/Validator.form/
+ form: function() {
+ this.checkForm();
+ jQuery.extend( this.submitted, this.errorMap );
+ this.invalid = jQuery.extend({}, this.errorMap );
+ if ( !this.valid() ) {
+ $( this.currentForm ).triggerHandler( "invalid-form", [ this ]);
+ }
+ this.showErrors();
+ return this.valid();
+ },
+
+ checkForm: function() {
+ this.prepareForm();
+ for ( var i = 0, elements = ( this.currentElements = this.elements() ); elements[ i ]; i++ ) {
+ this.check( elements[ i ] );
+ }
+ return this.valid();
+ },
+
+ // http://jqueryvalidation.org/Validator.element/
+ element: function( element ) {
+ var cleanElement = this.clean( element ),
+ checkElement = this.validationTargetFor( cleanElement ),
+ result = true;
+
+ this.lastElement = checkElement;
+
+ if ( checkElement === undefined ) {
+ delete this.invalid[ cleanElement.name ];
+ } else {
+ this.prepareElement( checkElement );
+ this.currentElements = $( checkElement );
+
+ result = this.check( checkElement ) !== false;
+ if ( result ) {
+ delete this.invalid[ checkElement.name ];
+ } else {
+ this.invalid[ checkElement.name ] = true;
+ }
+ }
+ // Add aria-invalid status for screen readers
+ $( element ).attr( "aria-invalid", !result );
+
+ if ( !this.numberOfInvalids() ) {
+ // Hide error containers on last error
+ this.toHide = this.toHide.add( this.containers );
+ }
+ this.showErrors();
+ return result;
+ },
+
+ // http://jqueryvalidation.org/Validator.showErrors/
+ showErrors: function( errors ) {
+ if ( errors ) {
+ // add items to error list and map
+ jQuery.extend( this.errorMap, errors );
+ this.errorList = [];
+ for ( var name in errors ) {
+ this.errorList.push({
+ message: errors[ name ],
+ element: this.findByName( name )[ 0 ]
+ });
+ }
+ // remove items from success list
+ this.successList = $.grep( this.successList, function( element ) {
+ return !( element.name in errors );
+ });
+ }
+ if ( this.settings.showErrors ) {
+ this.settings.showErrors.call( this, this.errorMap, this.errorList );
+ } else {
+ this.defaultShowErrors();
+ }
+ },
+
+ // http://jqueryvalidation.org/Validator.resetForm/
+ resetForm: function() {
+ if ( $.fn.resetForm ) {
+ $( this.currentForm ).resetForm();
+ }
+ this.submitted = {};
+ this.lastElement = null;
+ this.prepareForm();
+ this.hideErrors();
+ this.elements()
+ .removeClass( this.settings.errorClass )
+ .removeData( "previousValue" )
+ .removeAttr( "aria-invalid" );
+ },
+
+ numberOfInvalids: function() {
+ return this.objectLength( this.invalid );
+ },
+
+ objectLength: function( obj ) {
+ /* jshint unused: false */
+ var count = 0,
+ i;
+ for ( i in obj ) {
+ count++;
+ }
+ return count;
+ },
+
+ hideErrors: function() {
+ this.hideThese( this.toHide );
+ },
+
+ hideThese: function( errors ) {
+ errors.not( this.containers ).text( "" );
+ this.addWrapper( errors ).hide();
+ },
+
+ valid: function() {
+ return this.size() === 0;
+ },
+
+ size: function() {
+ return this.errorList.length;
+ },
+
+ focusInvalid: function() {
+ if ( this.settings.focusInvalid ) {
+ try {
+ $( this.findLastActive() || this.errorList.length && this.errorList[ 0 ].element || [])
+ .filter( ":visible" )
+ .focus()
+ // manually trigger focusin event; without it, focusin handler isn't called, findLastActive won't have anything to find
+ .trigger( "focusin" );
+ } catch ( e ) {
+ // ignore IE throwing errors when focusing hidden elements
+ }
+ }
+ },
+
+ findLastActive: function() {
+ var lastActive = this.lastActive;
+ return lastActive && $.grep( this.errorList, function( n ) {
+ return n.element.name === lastActive.name;
+ }).length === 1 && lastActive;
+ },
+
+ elements: function() {
+ var validator = this,
+ rulesCache = {};
+
+ // select all valid inputs inside the form (no submit or reset buttons)
+ return $( this.currentForm )
+ .find( "input, select, textarea" )
+ .not( ":submit, :reset, :image, [disabled], [readonly]" )
+ .not( this.settings.ignore )
+ .filter( function() {
+ if ( !this.name && validator.settings.debug && window.console ) {
+ console.error( "%o has no name assigned", this );
+ }
+
+ // select only the first element for each name, and only those with rules specified
+ if ( this.name in rulesCache || !validator.objectLength( $( this ).rules() ) ) {
+ return false;
+ }
+
+ rulesCache[ this.name ] = true;
+ return true;
+ });
+ },
+
+ clean: function( selector ) {
+ return $( selector )[ 0 ];
+ },
+
+ errors: function() {
+ var errorClass = this.settings.errorClass.split( " " ).join( "." );
+ return $( this.settings.errorElement + "." + errorClass, this.errorContext );
+ },
+
+ reset: function() {
+ this.successList = [];
+ this.errorList = [];
+ this.errorMap = {};
+ this.toShow = $( [] );
+ this.toHide = $( [] );
+ this.currentElements = $( [] );
+ },
+
+ prepareForm: function() {
+ this.reset();
+ this.toHide = this.errors().add( this.containers );
+ },
+
+ prepareElement: function( element ) {
+ this.reset();
+ this.toHide = this.errorsFor( element );
+ },
+
+ elementValue: function( element ) {
+ var val,
+ $element = $( element ),
+ type = element.type;
+
+ if ( type === "radio" || type === "checkbox" ) {
+ return $( "input[name='" + element.name + "']:checked" ).val();
+ } else if ( type === "number" && typeof element.validity !== "undefined" ) {
+ return element.validity.badInput ? false : $element.val();
+ }
+
+ val = $element.val();
+ if ( typeof val === "string" ) {
+ return val.replace(/\r/g, "" );
+ }
+ return val;
+ },
+
+ check: function( element ) {
+ element = this.validationTargetFor( this.clean( element ) );
+
+ var rules = $( element ).rules(),
+ rulesCount = $.map( rules, function( n, i ) {
+ return i;
+ }).length,
+ dependencyMismatch = false,
+ val = this.elementValue( element ),
+ result, method, rule;
+
+ for ( method in rules ) {
+ rule = { method: method, parameters: rules[ method ] };
+ try {
+
+ result = $.validator.methods[ method ].call( this, val, element, rule.parameters );
+
+ // if a method indicates that the field is optional and therefore valid,
+ // don't mark it as valid when there are no other rules
+ if ( result === "dependency-mismatch" && rulesCount === 1 ) {
+ dependencyMismatch = true;
+ continue;
+ }
+ dependencyMismatch = false;
+
+ if ( result === "pending" ) {
+ this.toHide = this.toHide.not( this.errorsFor( element ) );
+ return;
+ }
+
+ if ( !result ) {
+ this.formatAndAdd( element, rule );
+ return false;
+ }
+ } catch ( e ) {
+ if ( this.settings.debug && window.console ) {
+ console.log( "Exception occurred when checking element " + element.id + ", check the '" + rule.method + "' method.", e );
+ }
+ throw e;
+ }
+ }
+ if ( dependencyMismatch ) {
+ return;
+ }
+ if ( this.objectLength( rules ) ) {
+ this.successList.push( element );
+ }
+ return true;
+ },
+
+ // return the custom message for the given element and validation method
+ // specified in the element's HTML5 data attribute
+ // return the generic message if present and no method specific message is present
+ customDataMessage: function( element, method ) {
+ return $( element ).data( "msg" + method.charAt( 0 ).toUpperCase() +
+ method.substring( 1 ).toLowerCase() ) || $( element ).data( "msg" );
+ },
+
+ // return the custom message for the given element name and validation method
+ customMessage: function( name, method ) {
+ var m = this.settings.messages[ name ];
+ return m && ( m.constructor === String ? m : m[ method ]);
+ },
+
+ // return the first defined argument, allowing empty strings
+ findDefined: function() {
+ for ( var i = 0; i < arguments.length; i++) {
+ if ( arguments[ i ] !== undefined ) {
+ return arguments[ i ];
+ }
+ }
+ return undefined;
+ },
+
+ defaultMessage: function( element, method ) {
+ return this.findDefined(
+ this.customMessage( element.name, method ),
+ this.customDataMessage( element, method ),
+ // title is never undefined, so handle empty string as undefined
+ !this.settings.ignoreTitle && element.title || undefined,
+ $.validator.messages[ method ],
+ "<strong>Warning: No message defined for " + element.name + "</strong>"
+ );
+ },
+
+ formatAndAdd: function( element, rule ) {
+ var message = this.defaultMessage( element, rule.method ),
+ theregex = /\$?\{(\d+)\}/g;
+ if ( typeof message === "function" ) {
+ message = message.call( this, rule.parameters, element );
+ } else if ( theregex.test( message ) ) {
+ message = $.validator.format( message.replace( theregex, "{$1}" ), rule.parameters );
+ }
+ this.errorList.push({
+ message: message,
+ element: element,
+ method: rule.method
+ });
+
+ this.errorMap[ element.name ] = message;
+ this.submitted[ element.name ] = message;
+ },
+
+ addWrapper: function( toToggle ) {
+ if ( this.settings.wrapper ) {
+ toToggle = toToggle.add( toToggle.parent( this.settings.wrapper ) );
+ }
+ return toToggle;
+ },
+
+ defaultShowErrors: function() {
+ var i, elements, error;
+ for ( i = 0; this.errorList[ i ]; i++ ) {
+ error = this.errorList[ i ];
+ if ( this.settings.highlight ) {
+ this.settings.highlight.call( this, error.element, this.settings.errorClass, this.settings.validClass );
+ }
+ this.showLabel( error.element, error.message );
+ }
+ if ( this.errorList.length ) {
+ this.toShow = this.toShow.add( this.containers );
+ }
+ if ( this.settings.success ) {
+ for ( i = 0; this.successList[ i ]; i++ ) {
+ this.showLabel( this.successList[ i ] );
+ }
+ }
+ if ( this.settings.unhighlight ) {
+ for ( i = 0, elements = this.validElements(); elements[ i ]; i++ ) {
+ this.settings.unhighlight.call( this, elements[ i ], this.settings.errorClass, this.settings.validClass );
+ }
+ }
+ this.toHide = this.toHide.not( this.toShow );
+ this.hideErrors();
+ this.addWrapper( this.toShow ).show();
+ },
+
+ validElements: function() {
+ return this.currentElements.not( this.invalidElements() );
+ },
+
+ invalidElements: function() {
+ return $( this.errorList ).map(function() {
+ return this.element;
+ });
+ },
+
+ showLabel: function( element, message ) {
+ var place, group, errorID,
+ error = this.errorsFor( element ),
+ elementID = this.idOrName( element ),
+ describedBy = $( element ).attr( "aria-describedby" );
+ if ( error.length ) {
+ // refresh error/success class
+ error.removeClass( this.settings.validClass ).addClass( this.settings.errorClass );
+ // replace message on existing label
+ error.html( message );
+ } else {
+ // create error element
+ error = $( "<" + this.settings.errorElement + ">" )
+ .attr( "id", elementID + "-error" )
+ .addClass( this.settings.errorClass )
+ .html( message || "" );
+
+ // Maintain reference to the element to be placed into the DOM
+ place = error;
+ if ( this.settings.wrapper ) {
+ // make sure the element is visible, even in IE
+ // actually showing the wrapped element is handled elsewhere
+ place = error.hide().show().wrap( "<" + this.settings.wrapper + "/>" ).parent();
+ }
+ if ( this.labelContainer.length ) {
+ this.labelContainer.append( place );
+ } else if ( this.settings.errorPlacement ) {
+ this.settings.errorPlacement( place, $( element ) );
+ } else {
+ place.insertAfter( element );
+ }
+
+ // Link error back to the element
+ if ( error.is( "label" ) ) {
+ // If the error is a label, then associate using 'for'
+ error.attr( "for", elementID );
+ } else if ( error.parents( "label[for='" + elementID + "']" ).length === 0 ) {
+ // If the element is not a child of an associated label, then it's necessary
+ // to explicitly apply aria-describedby
+
+ errorID = error.attr( "id" ).replace( /(:|\.|\[|\])/g, "\\$1");
+ // Respect existing non-error aria-describedby
+ if ( !describedBy ) {
+ describedBy = errorID;
+ } else if ( !describedBy.match( new RegExp( "\\b" + errorID + "\\b" ) ) ) {
+ // Add to end of list if not already present
+ describedBy += " " + errorID;
+ }
+ $( element ).attr( "aria-describedby", describedBy );
+
+ // If this element is grouped, then assign to all elements in the same group
+ group = this.groups[ element.name ];
+ if ( group ) {
+ $.each( this.groups, function( name, testgroup ) {
+ if ( testgroup === group ) {
+ $( "[name='" + name + "']", this.currentForm )
+ .attr( "aria-describedby", error.attr( "id" ) );
+ }
+ });
+ }
+ }
+ }
+ if ( !message && this.settings.success ) {
+ error.text( "" );
+ if ( typeof this.settings.success === "string" ) {
+ error.addClass( this.settings.success );
+ } else {
+ this.settings.success( error, element );
+ }
+ }
+ this.toShow = this.toShow.add( error );
+ },
+
+ errorsFor: function( element ) {
+ var name = this.idOrName( element ),
+ describer = $( element ).attr( "aria-describedby" ),
+ selector = "label[for='" + name + "'], label[for='" + name + "'] *";
+
+ // aria-describedby should directly reference the error element
+ if ( describer ) {
+ selector = selector + ", #" + describer.replace( /\s+/g, ", #" );
+ }
+ return this
+ .errors()
+ .filter( selector );
+ },
+
+ idOrName: function( element ) {
+ return this.groups[ element.name ] || ( this.checkable( element ) ? element.name : element.id || element.name );
+ },
+
+ validationTargetFor: function( element ) {
+
+ // If radio/checkbox, validate first element in group instead
+ if ( this.checkable( element ) ) {
+ element = this.findByName( element.name );
+ }
+
+ // Always apply ignore filter
+ return $( element ).not( this.settings.ignore )[ 0 ];
+ },
+
+ checkable: function( element ) {
+ return ( /radio|checkbox/i ).test( element.type );
+ },
+
+ findByName: function( name ) {
+ return $( this.currentForm ).find( "[name='" + name + "']" );
+ },
+
+ getLength: function( value, element ) {
+ switch ( element.nodeName.toLowerCase() ) {
+ case "select":
+ return $( "option:selected", element ).length;
+ case "input":
+ if ( this.checkable( element ) ) {
+ return this.findByName( element.name ).filter( ":checked" ).length;
+ }
+ }
+ return value.length;
+ },
+
+ depend: function( param, element ) {
+ return this.dependTypes[typeof param] ? this.dependTypes[typeof param]( param, element ) : true;
+ },
+
+ dependTypes: {
+ "boolean": function( param ) {
+ return param;
+ },
+ "string": function( param, element ) {
+ return !!$( param, element.form ).length;
+ },
+ "function": function( param, element ) {
+ return param( element );
+ }
+ },
+
+ optional: function( element ) {
+ var val = this.elementValue( element );
+ return !$.validator.methods.required.call( this, val, element ) && "dependency-mismatch";
+ },
+
+ startRequest: function( element ) {
+ if ( !this.pending[ element.name ] ) {
+ this.pendingRequest++;
+ this.pending[ element.name ] = true;
+ }
+ },
+
+ stopRequest: function( element, valid ) {
+ this.pendingRequest--;
+ // sometimes synchronization fails, make sure pendingRequest is never < 0
+ if ( this.pendingRequest < 0 ) {
+ this.pendingRequest = 0;
+ }
+ delete this.pending[ element.name ];
+ if ( valid && this.pendingRequest === 0 && this.formSubmitted && this.form() ) {
+ $( this.currentForm ).submit();
+ this.formSubmitted = false;
+ } else if (!valid && this.pendingRequest === 0 && this.formSubmitted ) {
+ $( this.currentForm ).triggerHandler( "invalid-form", [ this ]);
+ this.formSubmitted = false;
+ }
+ },
+
+ previousValue: function( element ) {
+ return $.data( element, "previousValue" ) || $.data( element, "previousValue", {
+ old: null,
+ valid: true,
+ message: this.defaultMessage( element, "remote" )
+ });
+ }
+
+ },
+
+ classRuleSettings: {
+ required: { required: true },
+ email: { email: true },
+ url: { url: true },
+ date: { date: true },
+ dateISO: { dateISO: true },
+ number: { number: true },
+ digits: { digits: true },
+ creditcard: { creditcard: true }
+ },
+
+ addClassRules: function( className, rules ) {
+ if ( className.constructor === String ) {
+ this.classRuleSettings[ className ] = rules;
+ } else {
+ jQuery.extend( this.classRuleSettings, className );
+ }
+ },
+
+ classRules: function( element ) {
+ var rules = {},
+ classes = $( element ).attr( "class" );
+
+ if ( classes ) {
+ $.each( classes.split( " " ), function() {
+ if ( this in $.validator.classRuleSettings ) {
+ jQuery.extend( rules, $.validator.classRuleSettings[ this ]);
+ }
+ });
+ }
+ return rules;
+ },
+
+ attributeRules: function( element ) {
+ var rules = {},
+ $element = $( element ),
+ type = element.getAttribute( "type" ),
+ method, value;
+
+ for ( method in $.validator.methods ) {
+
+ // support for <input required> in both html5 and older browsers
+ if ( method === "required" ) {
+ value = element.getAttribute( method );
+ // Some browsers return an empty string for the required attribute
+ // and non-HTML5 browsers might have required="" markup
+ if ( value === "" ) {
+ value = true;
+ }
+ // force non-HTML5 browsers to return bool
+ value = !!value;
+ } else {
+ value = $element.attr( method );
+ }
+
+ // convert the value to a number for number inputs, and for text for backwards compability
+ // allows type="date" and others to be compared as strings
+ if ( /min|max/.test( method ) && ( type === null || /number|range|text/.test( type ) ) ) {
+ value = Number( value );
+ }
+
+ if ( value || value === 0 ) {
+ rules[ method ] = value;
+ } else if ( type === method && type !== "range" ) {
+ // exception: the jquery validate 'range' method
+ // does not test for the html5 'range' type
+ rules[ method ] = true;
+ }
+ }
+
+ // maxlength may be returned as -1, 2147483647 ( IE ) and 524288 ( safari ) for text inputs
+ if ( rules.maxlength && /-1|2147483647|524288/.test( rules.maxlength ) ) {
+ delete rules.maxlength;
+ }
+
+ return rules;
+ },
+
+ dataRules: function( element ) {
+ var method, value,
+ rules = {}, $element = $( element );
+ for ( method in $.validator.methods ) {
+ value = $element.data( "rule" + method.charAt( 0 ).toUpperCase() + method.substring( 1 ).toLowerCase() );
+ if ( value !== undefined ) {
+ rules[ method ] = value;
+ }
+ }
+ return rules;
+ },
+
+ staticRules: function( element ) {
+ var rules = {},
+ validator = $.data( element.form, "validator" );
+
+ if ( validator.settings.rules ) {
+ rules = $.validator.normalizeRule( validator.settings.rules[ element.name ] ) || {};
+ }
+ return rules;
+ },
+
+ normalizeRules: function( rules, element ) {
+ // handle dependency check
+ $.each( rules, function( prop, val ) {
+ // ignore rule when param is explicitly false, eg. required:false
+ if ( val === false ) {
+ delete rules[ prop ];
+ return;
+ }
+ if ( val.param || val.depends ) {
+ var keepRule = true;
+ switch ( typeof val.depends ) {
+ case "string":
+ keepRule = !!$( val.depends, element.form ).length;
+ break;
+ case "function":
+ keepRule = val.depends.call( element, element );
+ break;
+ }
+ if ( keepRule ) {
+ rules[ prop ] = val.param !== undefined ? val.param : true;
+ } else {
+ delete rules[ prop ];
+ }
+ }
+ });
+
+ // evaluate parameters
+ $.each( rules, function( rule, parameter ) {
+ rules[ rule ] = $.isFunction( parameter ) ? parameter( element ) : parameter;
+ });
+
+ // clean number parameters
+ $.each([ "minlength", "maxlength" ], function() {
+ if ( rules[ this ] ) {
+ rules[ this ] = Number( rules[ this ] );
+ }
+ });
+ $.each([ "rangelength", "range" ], function() {
+ var parts;
+ if ( rules[ this ] ) {
+ if ( $.isArray( rules[ this ] ) ) {
+ rules[ this ] = [ Number( rules[ this ][ 0 ]), Number( rules[ this ][ 1 ] ) ];
+ } else if ( typeof rules[ this ] === "string" ) {
+ parts = rules[ this ].replace(/[\[\]]/g, "" ).split( /[\s,]+/ );
+ rules[ this ] = [ Number( parts[ 0 ]), Number( parts[ 1 ] ) ];
+ }
+ }
+ });
+
+ if ( $.validator.autoCreateRanges ) {
+ // auto-create ranges
+ if ( rules.min != null && rules.max != null ) {
+ rules.range = [ rules.min, rules.max ];
+ delete rules.min;
+ delete rules.max;
+ }
+ if ( rules.minlength != null && rules.maxlength != null ) {
+ rules.rangelength = [ rules.minlength, rules.maxlength ];
+ delete rules.minlength;
+ delete rules.maxlength;
+ }
+ }
+
+ return rules;
+ },
+
+ // Converts a simple string to a {string: true} rule, e.g., "required" to {required:true}
+ normalizeRule: function( data ) {
+ if ( typeof data === "string" ) {
+ var transformed = {};
+ $.each( data.split( /\s/ ), function() {
+ transformed[ this ] = true;
+ });
+ data = transformed;
+ }
+ return data;
+ },
+
+ // http://jqueryvalidation.org/jQuery.validator.addMethod/
+ addMethod: function( name, method, message ) {
+ $.validator.methods[ name ] = method;
+ $.validator.messages[ name ] = message !== undefined ? message : $.validator.messages[ name ];
+ if ( method.length < 3 ) {
+ $.validator.addClassRules( name, $.validator.normalizeRule( name ) );
+ }
+ },
+
+ methods: {
+
+ // http://jqueryvalidation.org/required-method/
+ required: function( value, element, param ) {
+ // check if dependency is met
+ if ( !this.depend( param, element ) ) {
+ return "dependency-mismatch";
+ }
+ if ( element.nodeName.toLowerCase() === "select" ) {
+ // could be an array for select-multiple or a string, both are fine this way
+ var val = $( element ).val();
+ return val && val.length > 0;
+ }
+ if ( this.checkable( element ) ) {
+ return this.getLength( value, element ) > 0;
+ }
+ return $.trim( value ).length > 0;
+ },
+
+ // http://jqueryvalidation.org/email-method/
+ email: function( value, element ) {
+ // From http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#e-mail-state-%28type=email%29
+ // Retrieved 2014-01-14
+ // If you have a problem with this implementation, report a bug against the above spec
+ // Or use custom methods to implement your own email validation
+ return this.optional( element ) || /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test( value );
+ },
+
+ // http://jqueryvalidation.org/url-method/
+ url: function( value, element ) {
+ // contributed by Scott Gonzalez: http://projects.scottsplayground.com/iri/
+ return this.optional( element ) || /^(https?|s?ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test( value );
+ },
+
+ // http://jqueryvalidation.org/date-method/
+ date: function( value, element ) {
+ return this.optional( element ) || !/Invalid|NaN/.test( new Date( value ).toString() );
+ },
+
+ // http://jqueryvalidation.org/dateISO-method/
+ dateISO: function( value, element ) {
+ return this.optional( element ) || /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test( value );
+ },
+
+ // http://jqueryvalidation.org/number-method/
+ number: function( value, element ) {
+ return this.optional( element ) || /^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test( value );
+ },
+
+ // http://jqueryvalidation.org/digits-method/
+ digits: function( value, element ) {
+ return this.optional( element ) || /^\d+$/.test( value );
+ },
+
+ // http://jqueryvalidation.org/creditcard-method/
+ // based on http://en.wikipedia.org/wiki/Luhn/
+ creditcard: function( value, element ) {
+ if ( this.optional( element ) ) {
+ return "dependency-mismatch";
+ }
+ // accept only spaces, digits and dashes
+ if ( /[^0-9 \-]+/.test( value ) ) {
+ return false;
+ }
+ var nCheck = 0,
+ nDigit = 0,
+ bEven = false,
+ n, cDigit;
+
+ value = value.replace( /\D/g, "" );
+
+ // Basing min and max length on
+ // http://developer.ean.com/general_info/Valid_Credit_Card_Types
+ if ( value.length < 13 || value.length > 19 ) {
+ return false;
+ }
+
+ for ( n = value.length - 1; n >= 0; n--) {
+ cDigit = value.charAt( n );
+ nDigit = parseInt( cDigit, 10 );
+ if ( bEven ) {
+ if ( ( nDigit *= 2 ) > 9 ) {
+ nDigit -= 9;
+ }
+ }
+ nCheck += nDigit;
+ bEven = !bEven;
+ }
+
+ return ( nCheck % 10 ) === 0;
+ },
+
+ // http://jqueryvalidation.org/minlength-method/
+ minlength: function( value, element, param ) {
+ var length = $.isArray( value ) ? value.length : this.getLength( value, element );
+ return this.optional( element ) || length >= param;
+ },
+
+ // http://jqueryvalidation.org/maxlength-method/
+ maxlength: function( value, element, param ) {
+ var length = $.isArray( value ) ? value.length : this.getLength( value, element );
+ return this.optional( element ) || length <= param;
+ },
+
+ // http://jqueryvalidation.org/rangelength-method/
+ rangelength: function( value, element, param ) {
+ var length = $.isArray( value ) ? value.length : this.getLength( value, element );
+ return this.optional( element ) || ( length >= param[ 0 ] && length <= param[ 1 ] );
+ },
+
+ // http://jqueryvalidation.org/min-method/
+ min: function( value, element, param ) {
+ return this.optional( element ) || value >= param;
+ },
+
+ // http://jqueryvalidation.org/max-method/
+ max: function( value, element, param ) {
+ return this.optional( element ) || value <= param;
+ },
+
+ // http://jqueryvalidation.org/range-method/
+ range: function( value, element, param ) {
+ return this.optional( element ) || ( value >= param[ 0 ] && value <= param[ 1 ] );
+ },
+
+ // http://jqueryvalidation.org/equalTo-method/
+ equalTo: function( value, element, param ) {
+ // bind to the blur event of the target in order to revalidate whenever the target field is updated
+ // TODO find a way to bind the event just once, avoiding the unbind-rebind overhead
+ var target = $( param );
+ if ( this.settings.onfocusout ) {
+ target.unbind( ".validate-equalTo" ).bind( "blur.validate-equalTo", function() {
+ $( element ).valid();
+ });
+ }
+ return value === target.val();
+ },
+
+ // http://jqueryvalidation.org/remote-method/
+ remote: function( value, element, param ) {
+ if ( this.optional( element ) ) {
+ return "dependency-mismatch";
+ }
+
+ var previous = this.previousValue( element ),
+ validator, data;
+
+ if (!this.settings.messages[ element.name ] ) {
+ this.settings.messages[ element.name ] = {};
+ }
+ previous.originalMessage = this.settings.messages[ element.name ].remote;
+ this.settings.messages[ element.name ].remote = previous.message;
+
+ param = typeof param === "string" && { url: param } || param;
+
+ if ( previous.old === value ) {
+ return previous.valid;
+ }
+
+ previous.old = value;
+ validator = this;
+ this.startRequest( element );
+ data = {};
+ data[ element.name ] = value;
+ $.ajax( jQuery.extend( true, {
+ url: param,
+ mode: "abort",
+ port: "validate" + element.name,
+ dataType: "json",
+ data: data,
+ context: validator.currentForm,
+ success: function( response ) {
+ var valid = response === true || response === "true",
+ errors, message, submitted;
+
+ validator.settings.messages[ element.name ].remote = previous.originalMessage;
+ if ( valid ) {
+ submitted = validator.formSubmitted;
+ validator.prepareElement( element );
+ validator.formSubmitted = submitted;
+ validator.successList.push( element );
+ delete validator.invalid[ element.name ];
+ validator.showErrors();
+ } else {
+ errors = {};
+ message = response || validator.defaultMessage( element, "remote" );
+ errors[ element.name ] = previous.message = $.isFunction( message ) ? message( value ) : message;
+ validator.invalid[ element.name ] = true;
+ validator.showErrors( errors );
+ }
+ previous.valid = valid;
+ validator.stopRequest( element, valid );
+ }
+ }, param ) );
+ return "pending";
+ }
+
+ }
+
+});
+
+$.format = function deprecated() {
+ throw "$.format has been deprecated. Please use $.validator.format instead.";
+};
+
+// ajax mode: abort
+// usage: $.ajax({ mode: "abort"[, port: "uniqueport"]});
+// if mode:"abort" is used, the previous request on that port (port can be undefined) is aborted via XMLHttpRequest.abort()
+
+var pendingRequests = {},
+ ajax;
+// Use a prefilter if available (1.5+)
+if ( $.ajaxPrefilter ) {
+ $.ajaxPrefilter(function( settings, _, xhr ) {
+ var port = settings.port;
+ if ( settings.mode === "abort" ) {
+ if ( pendingRequests[port] ) {
+ pendingRequests[port].abort();
+ }
+ pendingRequests[port] = xhr;
+ }
+ });
+} else {
+ // Proxy ajax
+ ajax = $.ajax;
+ $.ajax = function( settings ) {
+ var mode = ( "mode" in settings ? settings : $.ajaxSettings ).mode,
+ port = ( "port" in settings ? settings : $.ajaxSettings ).port;
+ if ( mode === "abort" ) {
+ if ( pendingRequests[port] ) {
+ pendingRequests[port].abort();
+ }
+ pendingRequests[port] = ajax.apply(this, arguments);
+ return pendingRequests[port];
+ }
+ return ajax.apply(this, arguments);
+ };
+}
+
+// provides delegate(type: String, delegate: Selector, handler: Callback) plugin for easier event delegation
+// handler is only called when $(event.target).is(delegate), in the scope of the jquery-object for event.target
+
+jQuery.extend($.fn, {
+ validateDelegate: function( delegate, type, handler ) {
+ return this.bind(type, function( event ) {
+ var target = $(event.target);
+ if ( target.is(delegate) ) {
+ return handler.apply(target, arguments);
+ }
+ });
+ }
+});
+
+})); \ No newline at end of file
diff --git a/script/jquery-validate/jquery.validate.min.js b/script/jquery-validate/jquery.validate.min.js
new file mode 100644
index 0000000..3a8cdb2
--- /dev/null
+++ b/script/jquery-validate/jquery.validate.min.js
@@ -0,0 +1,4 @@
+/*! jQuery Validation Plugin - v1.13.1 - 10/14/2014
+ * http://jqueryvalidation.org/
+ * Copyright (c) 2014 Jörn Zaefferer; Licensed MIT */
+!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){a.extend(a.fn,{validate:function(b){if(!this.length)return void(b&&b.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing."));var c=a.data(this[0],"validator");return c?c:(this.attr("novalidate","novalidate"),c=new a.validator(b,this[0]),a.data(this[0],"validator",c),c.settings.onsubmit&&(this.validateDelegate(":submit","click",function(b){c.settings.submitHandler&&(c.submitButton=b.target),a(b.target).hasClass("cancel")&&(c.cancelSubmit=!0),void 0!==a(b.target).attr("formnovalidate")&&(c.cancelSubmit=!0)}),this.submit(function(b){function d(){var d,e;return c.settings.submitHandler?(c.submitButton&&(d=a("<input type='hidden'/>").attr("name",c.submitButton.name).val(a(c.submitButton).val()).appendTo(c.currentForm)),e=c.settings.submitHandler.call(c,c.currentForm,b),c.submitButton&&d.remove(),void 0!==e?e:!1):!0}return c.settings.debug&&b.preventDefault(),c.cancelSubmit?(c.cancelSubmit=!1,d()):c.form()?c.pendingRequest?(c.formSubmitted=!0,!1):d():(c.focusInvalid(),!1)})),c)},valid:function(){var b,c;return a(this[0]).is("form")?b=this.validate().form():(b=!0,c=a(this[0].form).validate(),this.each(function(){b=c.element(this)&&b})),b},removeAttrs:function(b){var c={},d=this;return a.each(b.split(/\s/),function(a,b){c[b]=d.attr(b),d.removeAttr(b)}),c},rules:function(b,c){var d,e,f,g,h,i,j=this[0];if(b)switch(d=a.data(j.form,"validator").settings,e=d.rules,f=a.validator.staticRules(j),b){case"add":a.extend(f,a.validator.normalizeRule(c)),delete f.messages,e[j.name]=f,c.messages&&(d.messages[j.name]=a.extend(d.messages[j.name],c.messages));break;case"remove":return c?(i={},a.each(c.split(/\s/),function(b,c){i[c]=f[c],delete f[c],"required"===c&&a(j).removeAttr("aria-required")}),i):(delete e[j.name],f)}return g=a.validator.normalizeRules(a.extend({},a.validator.classRules(j),a.validator.attributeRules(j),a.validator.dataRules(j),a.validator.staticRules(j)),j),g.required&&(h=g.required,delete g.required,g=a.extend({required:h},g),a(j).attr("aria-required","true")),g.remote&&(h=g.remote,delete g.remote,g=a.extend(g,{remote:h})),g}}),a.extend(a.expr[":"],{blank:function(b){return!a.trim(""+a(b).val())},filled:function(b){return!!a.trim(""+a(b).val())},unchecked:function(b){return!a(b).prop("checked")}}),a.validator=function(b,c){this.settings=a.extend(!0,{},a.validator.defaults,b),this.currentForm=c,this.init()},a.validator.format=function(b,c){return 1===arguments.length?function(){var c=a.makeArray(arguments);return c.unshift(b),a.validator.format.apply(this,c)}:(arguments.length>2&&c.constructor!==Array&&(c=a.makeArray(arguments).slice(1)),c.constructor!==Array&&(c=[c]),a.each(c,function(a,c){b=b.replace(new RegExp("\\{"+a+"\\}","g"),function(){return c})}),b)},a.extend(a.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:a([]),errorLabelContainer:a([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(a){this.lastActive=a,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,a,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(a)))},onfocusout:function(a){this.checkable(a)||!(a.name in this.submitted)&&this.optional(a)||this.element(a)},onkeyup:function(a,b){(9!==b.which||""!==this.elementValue(a))&&(a.name in this.submitted||a===this.lastElement)&&this.element(a)},onclick:function(a){a.name in this.submitted?this.element(a):a.parentNode.name in this.submitted&&this.element(a.parentNode)},highlight:function(b,c,d){"radio"===b.type?this.findByName(b.name).addClass(c).removeClass(d):a(b).addClass(c).removeClass(d)},unhighlight:function(b,c,d){"radio"===b.type?this.findByName(b.name).removeClass(c).addClass(d):a(b).removeClass(c).addClass(d)}},setDefaults:function(b){a.extend(a.validator.defaults,b)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date ( ISO ).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",maxlength:a.validator.format("Please enter no more than {0} characters."),minlength:a.validator.format("Please enter at least {0} characters."),rangelength:a.validator.format("Please enter a value between {0} and {1} characters long."),range:a.validator.format("Please enter a value between {0} and {1}."),max:a.validator.format("Please enter a value less than or equal to {0}."),min:a.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:!1,prototype:{init:function(){function b(b){var c=a.data(this[0].form,"validator"),d="on"+b.type.replace(/^validate/,""),e=c.settings;e[d]&&!this.is(e.ignore)&&e[d].call(c,this[0],b)}this.labelContainer=a(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||a(this.currentForm),this.containers=a(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var c,d=this.groups={};a.each(this.settings.groups,function(b,c){"string"==typeof c&&(c=c.split(/\s/)),a.each(c,function(a,c){d[c]=b})}),c=this.settings.rules,a.each(c,function(b,d){c[b]=a.validator.normalizeRule(d)}),a(this.currentForm).validateDelegate(":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'] ,[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox']","focusin focusout keyup",b).validateDelegate("select, option, [type='radio'], [type='checkbox']","click",b),this.settings.invalidHandler&&a(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler),a(this.currentForm).find("[required], [data-rule-required], .required").attr("aria-required","true")},form:function(){return this.checkForm(),a.extend(this.submitted,this.errorMap),this.invalid=a.extend({},this.errorMap),this.valid()||a(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var a=0,b=this.currentElements=this.elements();b[a];a++)this.check(b[a]);return this.valid()},element:function(b){var c=this.clean(b),d=this.validationTargetFor(c),e=!0;return this.lastElement=d,void 0===d?delete this.invalid[c.name]:(this.prepareElement(d),this.currentElements=a(d),e=this.check(d)!==!1,e?delete this.invalid[d.name]:this.invalid[d.name]=!0),a(b).attr("aria-invalid",!e),this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),e},showErrors:function(b){if(b){a.extend(this.errorMap,b),this.errorList=[];for(var c in b)this.errorList.push({message:b[c],element:this.findByName(c)[0]});this.successList=a.grep(this.successList,function(a){return!(a.name in b)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){a.fn.resetForm&&a(this.currentForm).resetForm(),this.submitted={},this.lastElement=null,this.prepareForm(),this.hideErrors(),this.elements().removeClass(this.settings.errorClass).removeData("previousValue").removeAttr("aria-invalid")},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(a){var b,c=0;for(b in a)c++;return c},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(a){a.not(this.containers).text(""),this.addWrapper(a).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{a(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(b){}},findLastActive:function(){var b=this.lastActive;return b&&1===a.grep(this.errorList,function(a){return a.element.name===b.name}).length&&b},elements:function(){var b=this,c={};return a(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, [disabled], [readonly]").not(this.settings.ignore).filter(function(){return!this.name&&b.settings.debug&&window.console&&console.error("%o has no name assigned",this),this.name in c||!b.objectLength(a(this).rules())?!1:(c[this.name]=!0,!0)})},clean:function(b){return a(b)[0]},errors:function(){var b=this.settings.errorClass.split(" ").join(".");return a(this.settings.errorElement+"."+b,this.errorContext)},reset:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=a([]),this.toHide=a([]),this.currentElements=a([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(a){this.reset(),this.toHide=this.errorsFor(a)},elementValue:function(b){var c,d=a(b),e=b.type;return"radio"===e||"checkbox"===e?a("input[name='"+b.name+"']:checked").val():"number"===e&&"undefined"!=typeof b.validity?b.validity.badInput?!1:d.val():(c=d.val(),"string"==typeof c?c.replace(/\r/g,""):c)},check:function(b){b=this.validationTargetFor(this.clean(b));var c,d,e,f=a(b).rules(),g=a.map(f,function(a,b){return b}).length,h=!1,i=this.elementValue(b);for(d in f){e={method:d,parameters:f[d]};try{if(c=a.validator.methods[d].call(this,i,b,e.parameters),"dependency-mismatch"===c&&1===g){h=!0;continue}if(h=!1,"pending"===c)return void(this.toHide=this.toHide.not(this.errorsFor(b)));if(!c)return this.formatAndAdd(b,e),!1}catch(j){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+b.id+", check the '"+e.method+"' method.",j),j}}if(!h)return this.objectLength(f)&&this.successList.push(b),!0},customDataMessage:function(b,c){return a(b).data("msg"+c.charAt(0).toUpperCase()+c.substring(1).toLowerCase())||a(b).data("msg")},customMessage:function(a,b){var c=this.settings.messages[a];return c&&(c.constructor===String?c:c[b])},findDefined:function(){for(var a=0;a<arguments.length;a++)if(void 0!==arguments[a])return arguments[a];return void 0},defaultMessage:function(b,c){return this.findDefined(this.customMessage(b.name,c),this.customDataMessage(b,c),!this.settings.ignoreTitle&&b.title||void 0,a.validator.messages[c],"<strong>Warning: No message defined for "+b.name+"</strong>")},formatAndAdd:function(b,c){var d=this.defaultMessage(b,c.method),e=/\$?\{(\d+)\}/g;"function"==typeof d?d=d.call(this,c.parameters,b):e.test(d)&&(d=a.validator.format(d.replace(e,"{$1}"),c.parameters)),this.errorList.push({message:d,element:b,method:c.method}),this.errorMap[b.name]=d,this.submitted[b.name]=d},addWrapper:function(a){return this.settings.wrapper&&(a=a.add(a.parent(this.settings.wrapper))),a},defaultShowErrors:function(){var a,b,c;for(a=0;this.errorList[a];a++)c=this.errorList[a],this.settings.highlight&&this.settings.highlight.call(this,c.element,this.settings.errorClass,this.settings.validClass),this.showLabel(c.element,c.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(a=0;this.successList[a];a++)this.showLabel(this.successList[a]);if(this.settings.unhighlight)for(a=0,b=this.validElements();b[a];a++)this.settings.unhighlight.call(this,b[a],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return a(this.errorList).map(function(){return this.element})},showLabel:function(b,c){var d,e,f,g=this.errorsFor(b),h=this.idOrName(b),i=a(b).attr("aria-describedby");g.length?(g.removeClass(this.settings.validClass).addClass(this.settings.errorClass),g.html(c)):(g=a("<"+this.settings.errorElement+">").attr("id",h+"-error").addClass(this.settings.errorClass).html(c||""),d=g,this.settings.wrapper&&(d=g.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(d):this.settings.errorPlacement?this.settings.errorPlacement(d,a(b)):d.insertAfter(b),g.is("label")?g.attr("for",h):0===g.parents("label[for='"+h+"']").length&&(f=g.attr("id").replace(/(:|\.|\[|\])/g,"\\$1"),i?i.match(new RegExp("\\b"+f+"\\b"))||(i+=" "+f):i=f,a(b).attr("aria-describedby",i),e=this.groups[b.name],e&&a.each(this.groups,function(b,c){c===e&&a("[name='"+b+"']",this.currentForm).attr("aria-describedby",g.attr("id"))}))),!c&&this.settings.success&&(g.text(""),"string"==typeof this.settings.success?g.addClass(this.settings.success):this.settings.success(g,b)),this.toShow=this.toShow.add(g)},errorsFor:function(b){var c=this.idOrName(b),d=a(b).attr("aria-describedby"),e="label[for='"+c+"'], label[for='"+c+"'] *";return d&&(e=e+", #"+d.replace(/\s+/g,", #")),this.errors().filter(e)},idOrName:function(a){return this.groups[a.name]||(this.checkable(a)?a.name:a.id||a.name)},validationTargetFor:function(b){return this.checkable(b)&&(b=this.findByName(b.name)),a(b).not(this.settings.ignore)[0]},checkable:function(a){return/radio|checkbox/i.test(a.type)},findByName:function(b){return a(this.currentForm).find("[name='"+b+"']")},getLength:function(b,c){switch(c.nodeName.toLowerCase()){case"select":return a("option:selected",c).length;case"input":if(this.checkable(c))return this.findByName(c.name).filter(":checked").length}return b.length},depend:function(a,b){return this.dependTypes[typeof a]?this.dependTypes[typeof a](a,b):!0},dependTypes:{"boolean":function(a){return a},string:function(b,c){return!!a(b,c.form).length},"function":function(a,b){return a(b)}},optional:function(b){var c=this.elementValue(b);return!a.validator.methods.required.call(this,c,b)&&"dependency-mismatch"},startRequest:function(a){this.pending[a.name]||(this.pendingRequest++,this.pending[a.name]=!0)},stopRequest:function(b,c){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[b.name],c&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(a(this.currentForm).submit(),this.formSubmitted=!1):!c&&0===this.pendingRequest&&this.formSubmitted&&(a(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(b){return a.data(b,"previousValue")||a.data(b,"previousValue",{old:null,valid:!0,message:this.defaultMessage(b,"remote")})}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(b,c){b.constructor===String?this.classRuleSettings[b]=c:a.extend(this.classRuleSettings,b)},classRules:function(b){var c={},d=a(b).attr("class");return d&&a.each(d.split(" "),function(){this in a.validator.classRuleSettings&&a.extend(c,a.validator.classRuleSettings[this])}),c},attributeRules:function(b){var c,d,e={},f=a(b),g=b.getAttribute("type");for(c in a.validator.methods)"required"===c?(d=b.getAttribute(c),""===d&&(d=!0),d=!!d):d=f.attr(c),/min|max/.test(c)&&(null===g||/number|range|text/.test(g))&&(d=Number(d)),d||0===d?e[c]=d:g===c&&"range"!==g&&(e[c]=!0);return e.maxlength&&/-1|2147483647|524288/.test(e.maxlength)&&delete e.maxlength,e},dataRules:function(b){var c,d,e={},f=a(b);for(c in a.validator.methods)d=f.data("rule"+c.charAt(0).toUpperCase()+c.substring(1).toLowerCase()),void 0!==d&&(e[c]=d);return e},staticRules:function(b){var c={},d=a.data(b.form,"validator");return d.settings.rules&&(c=a.validator.normalizeRule(d.settings.rules[b.name])||{}),c},normalizeRules:function(b,c){return a.each(b,function(d,e){if(e===!1)return void delete b[d];if(e.param||e.depends){var f=!0;switch(typeof e.depends){case"string":f=!!a(e.depends,c.form).length;break;case"function":f=e.depends.call(c,c)}f?b[d]=void 0!==e.param?e.param:!0:delete b[d]}}),a.each(b,function(d,e){b[d]=a.isFunction(e)?e(c):e}),a.each(["minlength","maxlength"],function(){b[this]&&(b[this]=Number(b[this]))}),a.each(["rangelength","range"],function(){var c;b[this]&&(a.isArray(b[this])?b[this]=[Number(b[this][0]),Number(b[this][1])]:"string"==typeof b[this]&&(c=b[this].replace(/[\[\]]/g,"").split(/[\s,]+/),b[this]=[Number(c[0]),Number(c[1])]))}),a.validator.autoCreateRanges&&(null!=b.min&&null!=b.max&&(b.range=[b.min,b.max],delete b.min,delete b.max),null!=b.minlength&&null!=b.maxlength&&(b.rangelength=[b.minlength,b.maxlength],delete b.minlength,delete b.maxlength)),b},normalizeRule:function(b){if("string"==typeof b){var c={};a.each(b.split(/\s/),function(){c[this]=!0}),b=c}return b},addMethod:function(b,c,d){a.validator.methods[b]=c,a.validator.messages[b]=void 0!==d?d:a.validator.messages[b],c.length<3&&a.validator.addClassRules(b,a.validator.normalizeRule(b))},methods:{required:function(b,c,d){if(!this.depend(d,c))return"dependency-mismatch";if("select"===c.nodeName.toLowerCase()){var e=a(c).val();return e&&e.length>0}return this.checkable(c)?this.getLength(b,c)>0:a.trim(b).length>0},email:function(a,b){return this.optional(b)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(a)},url:function(a,b){return this.optional(b)||/^(https?|s?ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(a)},date:function(a,b){return this.optional(b)||!/Invalid|NaN/.test(new Date(a).toString())},dateISO:function(a,b){return this.optional(b)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(a)},number:function(a,b){return this.optional(b)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(a)},digits:function(a,b){return this.optional(b)||/^\d+$/.test(a)},creditcard:function(a,b){if(this.optional(b))return"dependency-mismatch";if(/[^0-9 \-]+/.test(a))return!1;var c,d,e=0,f=0,g=!1;if(a=a.replace(/\D/g,""),a.length<13||a.length>19)return!1;for(c=a.length-1;c>=0;c--)d=a.charAt(c),f=parseInt(d,10),g&&(f*=2)>9&&(f-=9),e+=f,g=!g;return e%10===0},minlength:function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(b,c);return this.optional(c)||e>=d},maxlength:function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(b,c);return this.optional(c)||d>=e},rangelength:function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(b,c);return this.optional(c)||e>=d[0]&&e<=d[1]},min:function(a,b,c){return this.optional(b)||a>=c},max:function(a,b,c){return this.optional(b)||c>=a},range:function(a,b,c){return this.optional(b)||a>=c[0]&&a<=c[1]},equalTo:function(b,c,d){var e=a(d);return this.settings.onfocusout&&e.unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){a(c).valid()}),b===e.val()},remote:function(b,c,d){if(this.optional(c))return"dependency-mismatch";var e,f,g=this.previousValue(c);return this.settings.messages[c.name]||(this.settings.messages[c.name]={}),g.originalMessage=this.settings.messages[c.name].remote,this.settings.messages[c.name].remote=g.message,d="string"==typeof d&&{url:d}||d,g.old===b?g.valid:(g.old=b,e=this,this.startRequest(c),f={},f[c.name]=b,a.ajax(a.extend(!0,{url:d,mode:"abort",port:"validate"+c.name,dataType:"json",data:f,context:e.currentForm,success:function(d){var f,h,i,j=d===!0||"true"===d;e.settings.messages[c.name].remote=g.originalMessage,j?(i=e.formSubmitted,e.prepareElement(c),e.formSubmitted=i,e.successList.push(c),delete e.invalid[c.name],e.showErrors()):(f={},h=d||e.defaultMessage(c,"remote"),f[c.name]=g.message=a.isFunction(h)?h(b):h,e.invalid[c.name]=!0,e.showErrors(f)),g.valid=j,e.stopRequest(c,j)}},d)),"pending")}}}),a.format=function(){throw"$.format has been deprecated. Please use $.validator.format instead."};var b,c={};a.ajaxPrefilter?a.ajaxPrefilter(function(a,b,d){var e=a.port;"abort"===a.mode&&(c[e]&&c[e].abort(),c[e]=d)}):(b=a.ajax,a.ajax=function(d){var e=("mode"in d?d:a.ajaxSettings).mode,f=("port"in d?d:a.ajaxSettings).port;return"abort"===e?(c[f]&&c[f].abort(),c[f]=b.apply(this,arguments),c[f]):b.apply(this,arguments)}),a.extend(a.fn,{validateDelegate:function(b,c,d){return this.bind(c,function(c){var e=a(c.target);return e.is(b)?d.apply(e,arguments):void 0})}})}); \ No newline at end of file
diff --git a/script/jquery-validate/localization/messages_ar.js b/script/jquery-validate/localization/messages_ar.js
new file mode 100644
index 0000000..4485716
--- /dev/null
+++ b/script/jquery-validate/localization/messages_ar.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: AR (Arabic; العربية)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "هذا الحقل إلزامي",
+ remote: "يرجى تصحيح هذا الحقل للمتابعة",
+ email: "رجاء إدخال عنوان بريد إلكتروني صحيح",
+ url: "رجاء إدخال عنوان موقع إلكتروني صحيح",
+ date: "رجاء إدخال تاريخ صحيح",
+ dateISO: "رجاء إدخال تاريخ صحيح (ISO)",
+ number: "رجاء إدخال عدد بطريقة صحيحة",
+ digits: "رجاء إدخال أرقام فقط",
+ creditcard: "رجاء إدخال رقم بطاقة ائتمان صحيح",
+ equalTo: "رجاء إدخال نفس القيمة",
+ extension: "رجاء إدخال ملف بامتداد موافق عليه",
+ maxlength: jQuery.validator.format( "الحد الأقصى لعدد الحروف هو {0}" ),
+ minlength: jQuery.validator.format( "الحد الأدنى لعدد الحروف هو {0}" ),
+ rangelength: jQuery.validator.format( "عدد الحروف يجب أن يكون بين {0} و {1}" ),
+ range: jQuery.validator.format( "رجاء إدخال عدد قيمته بين {0} و {1}" ),
+ max: jQuery.validator.format( "رجاء إدخال عدد أقل من أو يساوي (0}" ),
+ min: jQuery.validator.format( "رجاء إدخال عدد أكبر من أو يساوي (0}" )
+} );
diff --git a/script/jquery-validate/localization/messages_bg.js b/script/jquery-validate/localization/messages_bg.js
new file mode 100644
index 0000000..d5ba6f6
--- /dev/null
+++ b/script/jquery-validate/localization/messages_bg.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: BG (Bulgarian; български език)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Полето е задължително.",
+ remote: "Моля, въведете правилната стойност.",
+ email: "Моля, въведете валиден email.",
+ url: "Моля, въведете валидно URL.",
+ date: "Моля, въведете валидна дата.",
+ dateISO: "Моля, въведете валидна дата (ISO).",
+ number: "Моля, въведете валиден номер.",
+ digits: "Моля, въведете само цифри.",
+ creditcard: "Моля, въведете валиден номер на кредитна карта.",
+ equalTo: "Моля, въведете същата стойност отново.",
+ extension: "Моля, въведете стойност с валидно разширение.",
+ maxlength: jQuery.validator.format( "Моля, въведете повече от {0} символа." ),
+ minlength: jQuery.validator.format( "Моля, въведете поне {0} символа." ),
+ rangelength: jQuery.validator.format( "Моля, въведете стойност с дължина между {0} и {1} символа." ),
+ range: jQuery.validator.format( "Моля, въведете стойност между {0} и {1}." ),
+ max: jQuery.validator.format( "Моля, въведете стойност по-малка или равна на {0}." ),
+ min: jQuery.validator.format( "Моля, въведете стойност по-голяма или равна на {0}." )
+} );
diff --git a/script/jquery-validate/localization/messages_bn_BD.js b/script/jquery-validate/localization/messages_bn_BD.js
new file mode 100644
index 0000000..29450d4
--- /dev/null
+++ b/script/jquery-validate/localization/messages_bn_BD.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: bn_BD (Bengali, Bangladesh)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "এই তথ্যটি আবশ্যক।",
+ remote: "এই তথ্যটি ঠিক করুন।",
+ email: "অনুগ্রহ করে একটি সঠিক মেইল ঠিকানা লিখুন।",
+ url: "অনুগ্রহ করে একটি সঠিক লিঙ্ক দিন।",
+ date: "তারিখ সঠিক নয়।",
+ dateISO: "অনুগ্রহ করে একটি সঠিক (ISO) তারিখ লিখুন।",
+ number: "অনুগ্রহ করে একটি সঠিক নম্বর লিখুন।",
+ digits: "এখানে শুধু সংখ্যা ব্যবহার করা যাবে।",
+ creditcard: "অনুগ্রহ করে একটি ক্রেডিট কার্ডের সঠিক নম্বর লিখুন।",
+ equalTo: "একই মান আবার লিখুন।",
+ extension: "সঠিক ধরনের ফাইল আপলোড করুন।",
+ maxlength: jQuery.validator.format( "{0}টির বেশি অক্ষর লেখা যাবে না।" ),
+ minlength: jQuery.validator.format( "{0}টির কম অক্ষর লেখা যাবে না।" ),
+ rangelength: jQuery.validator.format( "{0} থেকে {1} টি অক্ষর সম্বলিত মান লিখুন।" ),
+ range: jQuery.validator.format( "{0} থেকে {1} এর মধ্যে একটি মান ব্যবহার করুন।" ),
+ max: jQuery.validator.format( "অনুগ্রহ করে {0} বা তার চাইতে কম মান ব্যবহার করুন।" ),
+ min: jQuery.validator.format( "অনুগ্রহ করে {0} বা তার চাইতে বেশি মান ব্যবহার করুন।" )
+} );
diff --git a/script/jquery-validate/localization/messages_ca.js b/script/jquery-validate/localization/messages_ca.js
new file mode 100644
index 0000000..4713b7f
--- /dev/null
+++ b/script/jquery-validate/localization/messages_ca.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: CA (Catalan; català)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Aquest camp és obligatori.",
+ remote: "Si us plau, omple aquest camp.",
+ email: "Si us plau, escriu una adreça de correu-e vàlida",
+ url: "Si us plau, escriu una URL vàlida.",
+ date: "Si us plau, escriu una data vàlida.",
+ dateISO: "Si us plau, escriu una data (ISO) vàlida.",
+ number: "Si us plau, escriu un número enter vàlid.",
+ digits: "Si us plau, escriu només dígits.",
+ creditcard: "Si us plau, escriu un número de tarjeta vàlid.",
+ equalTo: "Si us plau, escriu el mateix valor de nou.",
+ extension: "Si us plau, escriu un valor amb una extensió acceptada.",
+ maxlength: jQuery.validator.format( "Si us plau, no escriguis més de {0} caracters." ),
+ minlength: jQuery.validator.format( "Si us plau, no escriguis menys de {0} caracters." ),
+ rangelength: jQuery.validator.format( "Si us plau, escriu un valor entre {0} i {1} caracters." ),
+ range: jQuery.validator.format( "Si us plau, escriu un valor entre {0} i {1}." ),
+ max: jQuery.validator.format( "Si us plau, escriu un valor menor o igual a {0}." ),
+ min: jQuery.validator.format( "Si us plau, escriu un valor major o igual a {0}." )
+} );
diff --git a/script/jquery-validate/localization/messages_cs.js b/script/jquery-validate/localization/messages_cs.js
new file mode 100644
index 0000000..d4b040b
--- /dev/null
+++ b/script/jquery-validate/localization/messages_cs.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: CS (Czech; čeština, český jazyk)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Tento údaj je povinný.",
+ remote: "Prosím, opravte tento údaj.",
+ email: "Prosím, zadejte platný e-mail.",
+ url: "Prosím, zadejte platné URL.",
+ date: "Prosím, zadejte platné datum.",
+ dateISO: "Prosím, zadejte platné datum (ISO).",
+ number: "Prosím, zadejte číslo.",
+ digits: "Prosím, zadávejte pouze číslice.",
+ creditcard: "Prosím, zadejte číslo kreditní karty.",
+ equalTo: "Prosím, zadejte znovu stejnou hodnotu.",
+ extension: "Prosím, zadejte soubor se správnou příponou.",
+ maxlength: jQuery.validator.format( "Prosím, zadejte nejvíce {0} znaků." ),
+ minlength: jQuery.validator.format( "Prosím, zadejte nejméně {0} znaků." ),
+ rangelength: jQuery.validator.format( "Prosím, zadejte od {0} do {1} znaků." ),
+ range: jQuery.validator.format( "Prosím, zadejte hodnotu od {0} do {1}." ),
+ max: jQuery.validator.format( "Prosím, zadejte hodnotu menší nebo rovnu {0}." ),
+ min: jQuery.validator.format( "Prosím, zadejte hodnotu větší nebo rovnu {0}." )
+} );
diff --git a/script/jquery-validate/localization/messages_da.js b/script/jquery-validate/localization/messages_da.js
new file mode 100644
index 0000000..40d3ae4
--- /dev/null
+++ b/script/jquery-validate/localization/messages_da.js
@@ -0,0 +1,20 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: DA (Danish; dansk)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Dette felt er påkrævet.",
+ maxlength: jQuery.validator.format( "Indtast højst {0} tegn." ),
+ minlength: jQuery.validator.format( "Indtast mindst {0} tegn." ),
+ rangelength: jQuery.validator.format( "Indtast mindst {0} og højst {1} tegn." ),
+ email: "Indtast en gyldig email-adresse.",
+ url: "Indtast en gyldig URL.",
+ date: "Indtast en gyldig dato.",
+ number: "Indtast et tal.",
+ digits: "Indtast kun cifre.",
+ equalTo: "Indtast den samme værdi igen.",
+ range: jQuery.validator.format( "Angiv en værdi mellem {0} og {1}." ),
+ max: jQuery.validator.format( "Angiv en værdi der højst er {0}." ),
+ min: jQuery.validator.format( "Angiv en værdi der mindst er {0}." ),
+ creditcard: "Indtast et gyldigt kreditkortnummer."
+} );
diff --git a/script/jquery-validate/localization/messages_de.js b/script/jquery-validate/localization/messages_de.js
new file mode 100644
index 0000000..554f1e1
--- /dev/null
+++ b/script/jquery-validate/localization/messages_de.js
@@ -0,0 +1,20 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: DE (German, Deutsch)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Dieses Feld ist ein Pflichtfeld.",
+ maxlength: jQuery.validator.format( "Geben Sie bitte maximal {0} Zeichen ein." ),
+ minlength: jQuery.validator.format( "Geben Sie bitte mindestens {0} Zeichen ein." ),
+ rangelength: jQuery.validator.format( "Geben Sie bitte mindestens {0} und maximal {1} Zeichen ein." ),
+ email: "Geben Sie bitte eine gültige E-Mail Adresse ein.",
+ url: "Geben Sie bitte eine gültige URL ein.",
+ date: "Bitte geben Sie ein gültiges Datum ein.",
+ number: "Geben Sie bitte eine Nummer ein.",
+ digits: "Geben Sie bitte nur Ziffern ein.",
+ equalTo: "Bitte denselben Wert wiederholen.",
+ range: jQuery.validator.format( "Geben Sie bitte einen Wert zwischen {0} und {1} ein." ),
+ max: jQuery.validator.format( "Geben Sie bitte einen Wert kleiner oder gleich {0} ein." ),
+ min: jQuery.validator.format( "Geben Sie bitte einen Wert größer oder gleich {0} ein." ),
+ creditcard: "Geben Sie bitte eine gültige Kreditkarten-Nummer ein."
+} );
diff --git a/script/jquery-validate/localization/messages_el.js b/script/jquery-validate/localization/messages_el.js
new file mode 100644
index 0000000..00cd062
--- /dev/null
+++ b/script/jquery-validate/localization/messages_el.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: EL (Greek; ελληνικά)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Αυτό το πεδίο είναι υποχρεωτικό.",
+ remote: "Παρακαλώ διορθώστε αυτό το πεδίο.",
+ email: "Παρακαλώ εισάγετε μια έγκυρη διεύθυνση email.",
+ url: "Παρακαλώ εισάγετε ένα έγκυρο URL.",
+ date: "Παρακαλώ εισάγετε μια έγκυρη ημερομηνία.",
+ dateISO: "Παρακαλώ εισάγετε μια έγκυρη ημερομηνία (ISO).",
+ number: "Παρακαλώ εισάγετε έναν έγκυρο αριθμό.",
+ digits: "Παρακαλώ εισάγετε μόνο αριθμητικά ψηφία.",
+ creditcard: "Παρακαλώ εισάγετε έναν έγκυρο αριθμό πιστωτικής κάρτας.",
+ equalTo: "Παρακαλώ εισάγετε την ίδια τιμή ξανά.",
+ extension: "Παρακαλώ εισάγετε μια τιμή με έγκυρη επέκταση αρχείου.",
+ maxlength: jQuery.validator.format( "Παρακαλώ εισάγετε μέχρι και {0} χαρακτήρες." ),
+ minlength: jQuery.validator.format( "Παρακαλώ εισάγετε τουλάχιστον {0} χαρακτήρες." ),
+ rangelength: jQuery.validator.format( "Παρακαλώ εισάγετε μια τιμή με μήκος μεταξύ {0} και {1} χαρακτήρων." ),
+ range: jQuery.validator.format( "Παρακαλώ εισάγετε μια τιμή μεταξύ {0} και {1}." ),
+ max: jQuery.validator.format( "Παρακαλώ εισάγετε μια τιμή μικρότερη ή ίση του {0}." ),
+ min: jQuery.validator.format( "Παρακαλώ εισάγετε μια τιμή μεγαλύτερη ή ίση του {0}." )
+} );
diff --git a/script/jquery-validate/localization/messages_es.js b/script/jquery-validate/localization/messages_es.js
new file mode 100644
index 0000000..44b5d95
--- /dev/null
+++ b/script/jquery-validate/localization/messages_es.js
@@ -0,0 +1,26 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: ES (Spanish; Español)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Este campo es obligatorio.",
+ remote: "Por favor, rellena este campo.",
+ email: "Por favor, escribe una dirección de correo válida.",
+ url: "Por favor, escribe una URL válida.",
+ date: "Por favor, escribe una fecha válida.",
+ dateISO: "Por favor, escribe una fecha (ISO) válida.",
+ number: "Por favor, escribe un número válido.",
+ digits: "Por favor, escribe sólo dígitos.",
+ creditcard: "Por favor, escribe un número de tarjeta válido.",
+ equalTo: "Por favor, escribe el mismo valor de nuevo.",
+ extension: "Por favor, escribe un valor con una extensión aceptada.",
+ maxlength: jQuery.validator.format( "Por favor, no escribas más de {0} caracteres." ),
+ minlength: jQuery.validator.format( "Por favor, no escribas menos de {0} caracteres." ),
+ rangelength: jQuery.validator.format( "Por favor, escribe un valor entre {0} y {1} caracteres." ),
+ range: jQuery.validator.format( "Por favor, escribe un valor entre {0} y {1}." ),
+ max: jQuery.validator.format( "Por favor, escribe un valor menor o igual a {0}." ),
+ min: jQuery.validator.format( "Por favor, escribe un valor mayor o igual a {0}." ),
+ nifES: "Por favor, escribe un NIF válido.",
+ nieES: "Por favor, escribe un NIE válido.",
+ cifES: "Por favor, escribe un CIF válido."
+} );
diff --git a/script/jquery-validate/localization/messages_es_AR.js b/script/jquery-validate/localization/messages_es_AR.js
new file mode 100644
index 0000000..e3b72fb
--- /dev/null
+++ b/script/jquery-validate/localization/messages_es_AR.js
@@ -0,0 +1,27 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: ES (Spanish; Español)
+ * Region: AR (Argentina)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Este campo es obligatorio.",
+ remote: "Por favor, completá este campo.",
+ email: "Por favor, escribí una dirección de correo válida.",
+ url: "Por favor, escribí una URL válida.",
+ date: "Por favor, escribí una fecha válida.",
+ dateISO: "Por favor, escribí una fecha (ISO) válida.",
+ number: "Por favor, escribí un número entero válido.",
+ digits: "Por favor, escribí sólo dígitos.",
+ creditcard: "Por favor, escribí un número de tarjeta válido.",
+ equalTo: "Por favor, escribí el mismo valor de nuevo.",
+ extension: "Por favor, escribí un valor con una extensión aceptada.",
+ maxlength: jQuery.validator.format( "Por favor, no escribas más de {0} caracteres." ),
+ minlength: jQuery.validator.format( "Por favor, no escribas menos de {0} caracteres." ),
+ rangelength: jQuery.validator.format( "Por favor, escribí un valor entre {0} y {1} caracteres." ),
+ range: jQuery.validator.format( "Por favor, escribí un valor entre {0} y {1}." ),
+ max: jQuery.validator.format( "Por favor, escribí un valor menor o igual a {0}." ),
+ min: jQuery.validator.format( "Por favor, escribí un valor mayor o igual a {0}." ),
+ nifES: "Por favor, escribí un NIF válido.",
+ nieES: "Por favor, escribí un NIE válido.",
+ cifES: "Por favor, escribí un CIF válido."
+} );
diff --git a/script/jquery-validate/localization/messages_es_PE.js b/script/jquery-validate/localization/messages_es_PE.js
new file mode 100644
index 0000000..61e92a6
--- /dev/null
+++ b/script/jquery-validate/localization/messages_es_PE.js
@@ -0,0 +1,27 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: ES (Spanish; Español)
+ * Region: PE (Perú)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Este campo es obligatorio.",
+ remote: "Por favor, llene este campo.",
+ email: "Por favor, escriba un correo electrónico válido.",
+ url: "Por favor, escriba una URL válida.",
+ date: "Por favor, escriba una fecha válida.",
+ dateISO: "Por favor, escriba una fecha (ISO) válida.",
+ number: "Por favor, escriba un número válido.",
+ digits: "Por favor, escriba sólo dígitos.",
+ creditcard: "Por favor, escriba un número de tarjeta válido.",
+ equalTo: "Por favor, escriba el mismo valor de nuevo.",
+ extension: "Por favor, escriba un valor con una extensión permitida.",
+ maxlength: jQuery.validator.format( "Por favor, no escriba más de {0} caracteres." ),
+ minlength: jQuery.validator.format( "Por favor, no escriba menos de {0} caracteres." ),
+ rangelength: jQuery.validator.format( "Por favor, escriba un valor entre {0} y {1} caracteres." ),
+ range: jQuery.validator.format( "Por favor, escriba un valor entre {0} y {1}." ),
+ max: jQuery.validator.format( "Por favor, escriba un valor menor o igual a {0}." ),
+ min: jQuery.validator.format( "Por favor, escriba un valor mayor o igual a {0}." ),
+ nifES: "Por favor, escriba un NIF válido.",
+ nieES: "Por favor, escriba un NIE válido.",
+ cifES: "Por favor, escriba un CIF válido."
+} );
diff --git a/script/jquery-validate/localization/messages_et.js b/script/jquery-validate/localization/messages_et.js
new file mode 100644
index 0000000..4806051
--- /dev/null
+++ b/script/jquery-validate/localization/messages_et.js
@@ -0,0 +1,21 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: ET (Estonian; eesti, eesti keel)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "See väli peab olema täidetud.",
+ maxlength: jQuery.validator.format( "Palun sisestage vähem kui {0} tähemärki." ),
+ minlength: jQuery.validator.format( "Palun sisestage vähemalt {0} tähemärki." ),
+ rangelength: jQuery.validator.format( "Palun sisestage väärtus vahemikus {0} kuni {1} tähemärki." ),
+ email: "Palun sisestage korrektne e-maili aadress.",
+ url: "Palun sisestage korrektne URL.",
+ date: "Palun sisestage korrektne kuupäev.",
+ dateISO: "Palun sisestage korrektne kuupäev (YYYY-MM-DD).",
+ number: "Palun sisestage korrektne number.",
+ digits: "Palun sisestage ainult numbreid.",
+ equalTo: "Palun sisestage sama väärtus uuesti.",
+ range: jQuery.validator.format( "Palun sisestage väärtus vahemikus {0} kuni {1}." ),
+ max: jQuery.validator.format( "Palun sisestage väärtus, mis on väiksem või võrdne arvuga {0}." ),
+ min: jQuery.validator.format( "Palun sisestage väärtus, mis on suurem või võrdne arvuga {0}." ),
+ creditcard: "Palun sisestage korrektne krediitkaardi number."
+} );
diff --git a/script/jquery-validate/localization/messages_eu.js b/script/jquery-validate/localization/messages_eu.js
new file mode 100644
index 0000000..dead1b7
--- /dev/null
+++ b/script/jquery-validate/localization/messages_eu.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: EU (Basque; euskara, euskera)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Eremu hau beharrezkoa da.",
+ remote: "Mesedez, bete eremu hau.",
+ email: "Mesedez, idatzi baliozko posta helbide bat.",
+ url: "Mesedez, idatzi baliozko URL bat.",
+ date: "Mesedez, idatzi baliozko data bat.",
+ dateISO: "Mesedez, idatzi baliozko (ISO) data bat.",
+ number: "Mesedez, idatzi baliozko zenbaki oso bat.",
+ digits: "Mesedez, idatzi digituak soilik.",
+ creditcard: "Mesedez, idatzi baliozko txartel zenbaki bat.",
+ equalTo: "Mesedez, idatzi berdina berriro ere.",
+ extension: "Mesedez, idatzi onartutako luzapena duen balio bat.",
+ maxlength: jQuery.validator.format( "Mesedez, ez idatzi {0} karaktere baino gehiago." ),
+ minlength: jQuery.validator.format( "Mesedez, ez idatzi {0} karaktere baino gutxiago." ),
+ rangelength: jQuery.validator.format( "Mesedez, idatzi {0} eta {1} karaktere arteko balio bat." ),
+ range: jQuery.validator.format( "Mesedez, idatzi {0} eta {1} arteko balio bat." ),
+ max: jQuery.validator.format( "Mesedez, idatzi {0} edo txikiagoa den balio bat." ),
+ min: jQuery.validator.format( "Mesedez, idatzi {0} edo handiagoa den balio bat." )
+} );
diff --git a/script/jquery-validate/localization/messages_fa.js b/script/jquery-validate/localization/messages_fa.js
new file mode 100644
index 0000000..9e38477
--- /dev/null
+++ b/script/jquery-validate/localization/messages_fa.js
@@ -0,0 +1,26 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: FA (Persian; فارسی)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "تکمیل این فیلد اجباری است.",
+ remote: "لطفا این فیلد را تصحیح کنید.",
+ email: ".لطفا یک ایمیل صحیح وارد کنید",
+ url: "لطفا آدرس صحیح وارد کنید.",
+ date: "لطفا یک تاریخ صحیح وارد کنید",
+ dateFA: "لطفا یک تاریخ صحیح وارد کنید",
+ dateISO: "لطفا تاریخ صحیح وارد کنید (ISO).",
+ number: "لطفا عدد صحیح وارد کنید.",
+ digits: "لطفا تنها رقم وارد کنید",
+ creditcard: "لطفا کریدیت کارت صحیح وارد کنید.",
+ equalTo: "لطفا مقدار برابری وارد کنید",
+ extension: "لطفا مقداری وارد کنید که ",
+ maxlength: jQuery.validator.format( "لطفا بیشتر از {0} حرف وارد نکنید." ),
+ minlength: jQuery.validator.format( "لطفا کمتر از {0} حرف وارد نکنید." ),
+ rangelength: jQuery.validator.format( "لطفا مقداری بین {0} تا {1} حرف وارد کنید." ),
+ range: jQuery.validator.format( "لطفا مقداری بین {0} تا {1} حرف وارد کنید." ),
+ max: jQuery.validator.format( "لطفا مقداری کمتر از {0} حرف وارد کنید." ),
+ min: jQuery.validator.format( "لطفا مقداری بیشتر از {0} حرف وارد کنید." ),
+ minWords: jQuery.validator.format( "لطفا حداقل {0} کلمه وارد کنید." ),
+ maxWords: jQuery.validator.format( "لطفا حداکثر {0} کلمه وارد کنید." )
+} );
diff --git a/script/jquery-validate/localization/messages_fi.js b/script/jquery-validate/localization/messages_fi.js
new file mode 100644
index 0000000..7daddee
--- /dev/null
+++ b/script/jquery-validate/localization/messages_fi.js
@@ -0,0 +1,21 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: FI (Finnish; suomi, suomen kieli)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "T&auml;m&auml; kentt&auml; on pakollinen.",
+ email: "Sy&ouml;t&auml; oikea s&auml;hk&ouml;postiosoite.",
+ url: "Sy&ouml;t&auml; oikea URL-osoite.",
+ date: "Sy&ouml;t&auml; oikea p&auml;iv&auml;m&auml;&auml;r&auml;.",
+ dateISO: "Sy&ouml;t&auml; oikea p&auml;iv&auml;m&auml;&auml;r&auml; muodossa VVVV-KK-PP.",
+ number: "Sy&ouml;t&auml; luku.",
+ creditcard: "Sy&ouml;t&auml; voimassa oleva luottokorttinumero.",
+ digits: "Sy&ouml;t&auml; pelk&auml;st&auml;&auml;n numeroita.",
+ equalTo: "Sy&ouml;t&auml; sama arvo uudestaan.",
+ maxlength: jQuery.validator.format( "Voit sy&ouml;tt&auml;&auml; enint&auml;&auml;n {0} merkki&auml;." ),
+ minlength: jQuery.validator.format( "V&auml;hint&auml;&auml;n {0} merkki&auml;." ),
+ rangelength: jQuery.validator.format( "Sy&ouml;t&auml; v&auml;hint&auml;&auml;n {0} ja enint&auml;&auml;n {1} merkki&auml;." ),
+ range: jQuery.validator.format( "Sy&ouml;t&auml; arvo v&auml;lilt&auml; {0}&ndash;{1}." ),
+ max: jQuery.validator.format( "Sy&ouml;t&auml; arvo, joka on enint&auml;&auml;n {0}." ),
+ min: jQuery.validator.format( "Sy&ouml;t&auml; arvo, joka on v&auml;hint&auml;&auml;n {0}." )
+} );
diff --git a/script/jquery-validate/localization/messages_fr.js b/script/jquery-validate/localization/messages_fr.js
new file mode 100644
index 0000000..69aa226
--- /dev/null
+++ b/script/jquery-validate/localization/messages_fr.js
@@ -0,0 +1,49 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: FR (French; français)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Ce champ est obligatoire.",
+ remote: "Veuillez corriger ce champ.",
+ email: "Veuillez fournir une adresse électronique valide.",
+ url: "Veuillez fournir une adresse URL valide.",
+ date: "Veuillez fournir une date valide.",
+ dateISO: "Veuillez fournir une date valide (ISO).",
+ number: "Veuillez fournir un numéro valide.",
+ digits: "Veuillez fournir seulement des chiffres.",
+ creditcard: "Veuillez fournir un numéro de carte de crédit valide.",
+ equalTo: "Veuillez fournir encore la même valeur.",
+ extension: "Veuillez fournir une valeur avec une extension valide.",
+ maxlength: jQuery.validator.format( "Veuillez fournir au plus {0} caractères." ),
+ minlength: jQuery.validator.format( "Veuillez fournir au moins {0} caractères." ),
+ rangelength: jQuery.validator.format( "Veuillez fournir une valeur qui contient entre {0} et {1} caractères." ),
+ range: jQuery.validator.format( "Veuillez fournir une valeur entre {0} et {1}." ),
+ max: jQuery.validator.format( "Veuillez fournir une valeur inférieure ou égale à {0}." ),
+ min: jQuery.validator.format( "Veuillez fournir une valeur supérieure ou égale à {0}." ),
+ maxWords: jQuery.validator.format( "Veuillez fournir au plus {0} mots." ),
+ minWords: jQuery.validator.format( "Veuillez fournir au moins {0} mots." ),
+ rangeWords: jQuery.validator.format( "Veuillez fournir entre {0} et {1} mots." ),
+ letterswithbasicpunc: "Veuillez fournir seulement des lettres et des signes de ponctuation.",
+ alphanumeric: "Veuillez fournir seulement des lettres, nombres, espaces et soulignages.",
+ lettersonly: "Veuillez fournir seulement des lettres.",
+ nowhitespace: "Veuillez ne pas inscrire d'espaces blancs.",
+ ziprange: "Veuillez fournir un code postal entre 902xx-xxxx et 905-xx-xxxx.",
+ integer: "Veuillez fournir un nombre non décimal qui est positif ou négatif.",
+ vinUS: "Veuillez fournir un numéro d'identification du véhicule (VIN).",
+ dateITA: "Veuillez fournir une date valide.",
+ time: "Veuillez fournir une heure valide entre 00:00 et 23:59.",
+ phoneUS: "Veuillez fournir un numéro de téléphone valide.",
+ phoneUK: "Veuillez fournir un numéro de téléphone valide.",
+ mobileUK: "Veuillez fournir un numéro de téléphone mobile valide.",
+ strippedminlength: jQuery.validator.format( "Veuillez fournir au moins {0} caractères." ),
+ email2: "Veuillez fournir une adresse électronique valide.",
+ url2: "Veuillez fournir une adresse URL valide.",
+ creditcardtypes: "Veuillez fournir un numéro de carte de crédit valide.",
+ ipv4: "Veuillez fournir une adresse IP v4 valide.",
+ ipv6: "Veuillez fournir une adresse IP v6 valide.",
+ require_from_group: "Veuillez fournir au moins {0} de ces champs.",
+ nifES: "Veuillez fournir un numéro NIF valide.",
+ nieES: "Veuillez fournir un numéro NIE valide.",
+ cifES: "Veuillez fournir un numéro CIF valide.",
+ postalCodeCA: "Veuillez fournir un code postal valide."
+} );
diff --git a/script/jquery-validate/localization/messages_ge.js b/script/jquery-validate/localization/messages_ge.js
new file mode 100644
index 0000000..f96ece2
--- /dev/null
+++ b/script/jquery-validate/localization/messages_ge.js
@@ -0,0 +1,23 @@
+/**
+ * @author @tatocaster <kutaliatato@gmail.com>
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: GE (Georgian; ქართული)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "ეს ველი სავალდებულოა",
+ remote: "გთხოვთ შეასწოროთ.",
+ email: "გთხოვთ შეიყვანოთ სწორი ფორმატით.",
+ url: "გთხოვთ შეიყვანოთ სწორი ფორმატით.",
+ date: "გთხოვთ შეიყვანოთ სწორი თარიღი.",
+ dateISO: "გთხოვთ შეიყვანოთ სწორი ფორმატით ( ISO ).",
+ number: "გთხოვთ შეიყვანოთ რიცხვი.",
+ digits: "დაშვებულია მხოლოდ ციფრები.",
+ creditcard: "გთხოვთ შეიყვანოთ სწორი ფორმატის ბარათის კოდი.",
+ equalTo: "გთხოვთ შეიყვანოთ იგივე მნიშვნელობა.",
+ maxlength: jQuery.validator.format( "გთხოვთ შეიყვანოთ არა უმეტეს {0} სიმბოლოსი." ),
+ minlength: jQuery.validator.format( "შეიყვანეთ მინიმუმ {0} სიმბოლო." ),
+ rangelength: jQuery.validator.format( "გთხოვთ შეიყვანოთ {0} -დან {1} -მდე რაოდენობის სიმბოლოები." ),
+ range: jQuery.validator.format( "შეიყვანეთ {0} -სა {1} -ს შორის." ),
+ max: jQuery.validator.format( "გთხოვთ შეიყვანოთ მნიშვნელობა ნაკლები ან ტოლი {0} -ს." ),
+ min: jQuery.validator.format( "გთხოვთ შეიყვანოთ მნიშვნელობა მეტი ან ტოლი {0} -ს." )
+} );
diff --git a/script/jquery-validate/localization/messages_gl.js b/script/jquery-validate/localization/messages_gl.js
new file mode 100644
index 0000000..9dad78b
--- /dev/null
+++ b/script/jquery-validate/localization/messages_gl.js
@@ -0,0 +1,28 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: GL (Galician; Galego)
+ */
+( function( $ ) {
+ jQuery.extend( jQuery.validator.messages, {
+ required: "Este campo é obrigatorio.",
+ remote: "Por favor, cubre este campo.",
+ email: "Por favor, escribe unha dirección de correo válida.",
+ url: "Por favor, escribe unha URL válida.",
+ date: "Por favor, escribe unha data válida.",
+ dateISO: "Por favor, escribe unha data (ISO) válida.",
+ number: "Por favor, escribe un número válido.",
+ digits: "Por favor, escribe só díxitos.",
+ creditcard: "Por favor, escribe un número de tarxeta válido.",
+ equalTo: "Por favor, escribe o mesmo valor de novo.",
+ extension: "Por favor, escribe un valor cunha extensión aceptada.",
+ maxlength: jQuery.validator.format( "Por favor, non escribas máis de {0} caracteres." ),
+ minlength: jQuery.validator.format( "Por favor, non escribas menos de {0} caracteres." ),
+ rangelength: jQuery.validator.format( "Por favor, escribe un valor entre {0} e {1} caracteres." ),
+ range: jQuery.validator.format( "Por favor, escribe un valor entre {0} e {1}." ),
+ max: jQuery.validator.format( "Por favor, escribe un valor menor ou igual a {0}." ),
+ min: jQuery.validator.format( "Por favor, escribe un valor maior ou igual a {0}." ),
+ nifES: "Por favor, escribe un NIF válido.",
+ nieES: "Por favor, escribe un NIE válido.",
+ cifES: "Por favor, escribe un CIF válido."
+ } );
+}( jQuery ) );
diff --git a/script/jquery-validate/localization/messages_he.js b/script/jquery-validate/localization/messages_he.js
new file mode 100644
index 0000000..c139ef7
--- /dev/null
+++ b/script/jquery-validate/localization/messages_he.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: HE (Hebrew; עברית)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "השדה הזה הינו שדה חובה",
+ remote: "נא לתקן שדה זה",
+ email: "נא למלא כתובת דוא\"ל חוקית",
+ url: "נא למלא כתובת אינטרנט חוקית",
+ date: "נא למלא תאריך חוקי",
+ dateISO: "נא למלא תאריך חוקי (ISO)",
+ number: "נא למלא מספר",
+ digits: "נא למלא רק מספרים",
+ creditcard: "נא למלא מספר כרטיס אשראי חוקי",
+ equalTo: "נא למלא את אותו ערך שוב",
+ extension: "נא למלא ערך עם סיומת חוקית",
+ maxlength: jQuery.validator.format( ".נא לא למלא יותר מ- {0} תווים" ),
+ minlength: jQuery.validator.format( "נא למלא לפחות {0} תווים" ),
+ rangelength: jQuery.validator.format( "נא למלא ערך בין {0} ל- {1} תווים" ),
+ range: jQuery.validator.format( "נא למלא ערך בין {0} ל- {1}" ),
+ max: jQuery.validator.format( "נא למלא ערך קטן או שווה ל- {0}" ),
+ min: jQuery.validator.format( "נא למלא ערך גדול או שווה ל- {0}" )
+} );
diff --git a/script/jquery-validate/localization/messages_hr.js b/script/jquery-validate/localization/messages_hr.js
new file mode 100644
index 0000000..aaf0080
--- /dev/null
+++ b/script/jquery-validate/localization/messages_hr.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: HR (Croatia; hrvatski jezik)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Ovo polje je obavezno.",
+ remote: "Ovo polje treba popraviti.",
+ email: "Unesite ispravnu e-mail adresu.",
+ url: "Unesite ispravan URL.",
+ date: "Unesite ispravan datum.",
+ dateISO: "Unesite ispravan datum (ISO).",
+ number: "Unesite ispravan broj.",
+ digits: "Unesite samo brojeve.",
+ creditcard: "Unesite ispravan broj kreditne kartice.",
+ equalTo: "Unesite ponovo istu vrijednost.",
+ extension: "Unesite vrijednost sa ispravnom ekstenzijom.",
+ maxlength: jQuery.validator.format( "Maksimalni broj znakova je {0} ." ),
+ minlength: jQuery.validator.format( "Minimalni broj znakova je {0} ." ),
+ rangelength: jQuery.validator.format( "Unesite vrijednost između {0} i {1} znakova." ),
+ range: jQuery.validator.format( "Unesite vrijednost između {0} i {1}." ),
+ max: jQuery.validator.format( "Unesite vrijednost manju ili jednaku {0}." ),
+ min: jQuery.validator.format( "Unesite vrijednost veću ili jednaku {0}." )
+} );
diff --git a/script/jquery-validate/localization/messages_hu.js b/script/jquery-validate/localization/messages_hu.js
new file mode 100644
index 0000000..3442c5f
--- /dev/null
+++ b/script/jquery-validate/localization/messages_hu.js
@@ -0,0 +1,22 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: HU (Hungarian; Magyar)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Kötelező megadni.",
+ maxlength: jQuery.validator.format( "Legfeljebb {0} karakter hosszú legyen." ),
+ minlength: jQuery.validator.format( "Legalább {0} karakter hosszú legyen." ),
+ rangelength: jQuery.validator.format( "Legalább {0} és legfeljebb {1} karakter hosszú legyen." ),
+ email: "Érvényes e-mail címnek kell lennie.",
+ url: "Érvényes URL-nek kell lennie.",
+ date: "Dátumnak kell lennie.",
+ number: "Számnak kell lennie.",
+ digits: "Csak számjegyek lehetnek.",
+ equalTo: "Meg kell egyeznie a két értéknek.",
+ range: jQuery.validator.format( "{0} és {1} közé kell esnie." ),
+ max: jQuery.validator.format( "Nem lehet nagyobb, mint {0}." ),
+ min: jQuery.validator.format( "Nem lehet kisebb, mint {0}." ),
+ creditcard: "Érvényes hitelkártyaszámnak kell lennie.",
+ remote: "Kérem javítsa ki ezt a mezőt.",
+ dateISO: "Kérem írjon be egy érvényes dátumot (ISO)."
+} );
diff --git a/script/jquery-validate/localization/messages_hy_AM.js b/script/jquery-validate/localization/messages_hy_AM.js
new file mode 100644
index 0000000..9adfbe9
--- /dev/null
+++ b/script/jquery-validate/localization/messages_hy_AM.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: HY_AM (Armenian; հայերեն լեզու)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Պարտադիր լրացման դաշտ",
+ remote: "Ներմուծեք ճիշտ արժեքը",
+ email: "Ներմուծեք վավեր էլեկտրոնային փոստի հասցե",
+ url: "Ներմուծեք վավեր URL",
+ date: "Ներմուծեք վավեր ամսաթիվ",
+ dateISO: "Ներմուծեք ISO ֆորմատով վավեր ամսաթիվ։",
+ number: "Ներմուծեք թիվ",
+ digits: "Ներմուծեք միայն թվեր",
+ creditcard: "Ներմուծեք ճիշտ բանկային քարտի համար",
+ equalTo: "Ներմուծեք միևնուն արժեքը ևս մեկ անգամ",
+ extension: "Ընտրեք ճիշտ ընդլանումով ֆայլ",
+ maxlength: jQuery.validator.format( "Ներմուծեք ոչ ավել քան {0} նիշ" ),
+ minlength: jQuery.validator.format( "Ներմուծեք ոչ պակաս քան {0} նիշ" ),
+ rangelength: jQuery.validator.format( "Ներմուծեք {0}֊ից {1} երկարությամբ արժեք" ),
+ range: jQuery.validator.format( "Ներմուծեք թիվ {0}֊ից {1} միջակայքում" ),
+ max: jQuery.validator.format( "Ներմուծեք թիվ, որը փոքր կամ հավասար է {0}֊ին" ),
+ min: jQuery.validator.format( "Ներմուծեք թիվ, որը մեծ կամ հավասար է {0}֊ին" )
+} );
diff --git a/script/jquery-validate/localization/messages_id.js b/script/jquery-validate/localization/messages_id.js
new file mode 100644
index 0000000..b6d0a93
--- /dev/null
+++ b/script/jquery-validate/localization/messages_id.js
@@ -0,0 +1,22 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: ID (Indonesia; Indonesian)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Kolom ini diperlukan.",
+ remote: "Harap benarkan kolom ini.",
+ email: "Silakan masukkan format email yang benar.",
+ url: "Silakan masukkan format URL yang benar.",
+ date: "Silakan masukkan format tanggal yang benar.",
+ dateISO: "Silakan masukkan format tanggal(ISO) yang benar.",
+ number: "Silakan masukkan angka yang benar.",
+ digits: "Harap masukan angka saja.",
+ creditcard: "Harap masukkan format kartu kredit yang benar.",
+ equalTo: "Harap masukkan nilai yg sama dengan sebelumnya.",
+ maxlength: jQuery.validator.format( "Input dibatasi hanya {0} karakter." ),
+ minlength: jQuery.validator.format( "Input tidak kurang dari {0} karakter." ),
+ rangelength: jQuery.validator.format( "Panjang karakter yg diizinkan antara {0} dan {1} karakter." ),
+ range: jQuery.validator.format( "Harap masukkan nilai antara {0} dan {1}." ),
+ max: jQuery.validator.format( "Harap masukkan nilai lebih kecil atau sama dengan {0}." ),
+ min: jQuery.validator.format( "Harap masukkan nilai lebih besar atau sama dengan {0}." )
+} );
diff --git a/script/jquery-validate/localization/messages_is.js b/script/jquery-validate/localization/messages_is.js
new file mode 100644
index 0000000..6d5ebea
--- /dev/null
+++ b/script/jquery-validate/localization/messages_is.js
@@ -0,0 +1,21 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: IS (Icelandic; íslenska)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Þessi reitur er nauðsynlegur.",
+ remote: "Lagaðu þennan reit.",
+ maxlength: jQuery.validator.format( "Sláðu inn mest {0} stafi." ),
+ minlength: jQuery.validator.format( "Sláðu inn minnst {0} stafi." ),
+ rangelength: jQuery.validator.format( "Sláðu inn minnst {0} og mest {1} stafi." ),
+ email: "Sláðu inn gilt netfang.",
+ url: "Sláðu inn gilda vefslóð.",
+ date: "Sláðu inn gilda dagsetningu.",
+ number: "Sláðu inn tölu.",
+ digits: "Sláðu inn tölustafi eingöngu.",
+ equalTo: "Sláðu sama gildi inn aftur.",
+ range: jQuery.validator.format( "Sláðu inn gildi milli {0} og {1}." ),
+ max: jQuery.validator.format( "Sláðu inn gildi sem er minna en eða jafnt og {0}." ),
+ min: jQuery.validator.format( "Sláðu inn gildi sem er stærra en eða jafnt og {0}." ),
+ creditcard: "Sláðu inn gilt greiðslukortanúmer."
+} );
diff --git a/script/jquery-validate/localization/messages_it.js b/script/jquery-validate/localization/messages_it.js
new file mode 100644
index 0000000..43bfa4e
--- /dev/null
+++ b/script/jquery-validate/localization/messages_it.js
@@ -0,0 +1,27 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: IT (Italian; Italiano)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Campo obbligatorio",
+ remote: "Controlla questo campo",
+ email: "Inserisci un indirizzo email valido",
+ url: "Inserisci un indirizzo web valido",
+ date: "Inserisci una data valida",
+ dateISO: "Inserisci una data valida (ISO)",
+ number: "Inserisci un numero valido",
+ digits: "Inserisci solo numeri",
+ creditcard: "Inserisci un numero di carta di credito valido",
+ equalTo: "Il valore non corrisponde",
+ extension: "Inserisci un valore con un&apos;estensione valida",
+ maxlength: jQuery.validator.format( "Non inserire pi&ugrave; di {0} caratteri" ),
+ minlength: jQuery.validator.format( "Inserisci almeno {0} caratteri" ),
+ rangelength: jQuery.validator.format( "Inserisci un valore compreso tra {0} e {1} caratteri" ),
+ range: jQuery.validator.format( "Inserisci un valore compreso tra {0} e {1}" ),
+ max: jQuery.validator.format( "Inserisci un valore minore o uguale a {0}" ),
+ min: jQuery.validator.format( "Inserisci un valore maggiore o uguale a {0}" ),
+ nifES: "Inserisci un NIF valido",
+ nieES: "Inserisci un NIE valido",
+ cifES: "Inserisci un CIF valido",
+ currency: "Inserisci una valuta valida"
+} );
diff --git a/script/jquery-validate/localization/messages_ja.js b/script/jquery-validate/localization/messages_ja.js
new file mode 100644
index 0000000..2426988
--- /dev/null
+++ b/script/jquery-validate/localization/messages_ja.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: JA (Japanese; 日本語)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "このフィールドは必須です。",
+ remote: "このフィールドを修正してください。",
+ email: "有効なEメールアドレスを入力してください。",
+ url: "有効なURLを入力してください。",
+ date: "有効な日付を入力してください。",
+ dateISO: "有効な日付(ISO)を入力してください。",
+ number: "有効な数字を入力してください。",
+ digits: "数字のみを入力してください。",
+ creditcard: "有効なクレジットカード番号を入力してください。",
+ equalTo: "同じ値をもう一度入力してください。",
+ extension: "有効な拡張子を含む値を入力してください。",
+ maxlength: jQuery.validator.format( "{0} 文字以内で入力してください。" ),
+ minlength: jQuery.validator.format( "{0} 文字以上で入力してください。" ),
+ rangelength: jQuery.validator.format( "{0} 文字から {1} 文字までの値を入力してください。" ),
+ range: jQuery.validator.format( "{0} から {1} までの値を入力してください。" ),
+ max: jQuery.validator.format( "{0} 以下の値を入力してください。" ),
+ min: jQuery.validator.format( "{0} 以上の値を入力してください。" )
+} );
diff --git a/script/jquery-validate/localization/messages_ka.js b/script/jquery-validate/localization/messages_ka.js
new file mode 100644
index 0000000..57ca995
--- /dev/null
+++ b/script/jquery-validate/localization/messages_ka.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: KA (Georgian; ქართული)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "ამ ველის შევსება აუცილებელია.",
+ remote: "გთხოვთ მიუთითოთ სწორი მნიშვნელობა.",
+ email: "გთხოვთ მიუთითოთ ელ-ფოსტის კორექტული მისამართი.",
+ url: "გთხოვთ მიუთითოთ კორექტული URL.",
+ date: "გთხოვთ მიუთითოთ კორექტული თარიღი.",
+ dateISO: "გთხოვთ მიუთითოთ კორექტული თარიღი ISO ფორმატში.",
+ number: "გთხოვთ მიუთითოთ ციფრი.",
+ digits: "გთხოვთ მიუთითოთ მხოლოდ ციფრები.",
+ creditcard: "გთხოვთ მიუთითოთ საკრედიტო ბარათის კორექტული ნომერი.",
+ equalTo: "გთხოვთ მიუთითოთ ასეთივე მნიშვნელობა კიდევ ერთხელ.",
+ extension: "გთხოვთ აირჩიოთ ფაილი კორექტული გაფართოებით.",
+ maxlength: jQuery.validator.format( "დასაშვებია არაუმეტეს {0} სიმბოლო." ),
+ minlength: jQuery.validator.format( "აუცილებელია შეიყვანოთ მინიმუმ {0} სიმბოლო." ),
+ rangelength: jQuery.validator.format( "ტექსტში სიმბოლოების რაოდენობა უნდა იყოს {0}-დან {1}-მდე." ),
+ range: jQuery.validator.format( "გთხოვთ შეიყვანოთ ციფრი {0}-დან {1}-მდე." ),
+ max: jQuery.validator.format( "გთხოვთ შეიყვანოთ ციფრი რომელიც ნაკლებია ან უდრის {0}-ს." ),
+ min: jQuery.validator.format( "გთხოვთ შეიყვანოთ ციფრი რომელიც მეტია ან უდრის {0}-ს." )
+} );
diff --git a/script/jquery-validate/localization/messages_kk.js b/script/jquery-validate/localization/messages_kk.js
new file mode 100644
index 0000000..55aa6a0
--- /dev/null
+++ b/script/jquery-validate/localization/messages_kk.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: KK (Kazakh; қазақ тілі)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Бұл өрісті міндетті түрде толтырыңыз.",
+ remote: "Дұрыс мағына енгізуіңізді сұраймыз.",
+ email: "Нақты электронды поштаңызды енгізуіңізді сұраймыз.",
+ url: "Нақты URL-ды енгізуіңізді сұраймыз.",
+ date: "Нақты URL-ды енгізуіңізді сұраймыз.",
+ dateISO: "Нақты ISO форматымен сәйкес датасын енгізуіңізді сұраймыз.",
+ number: "Күнді енгізуіңізді сұраймыз.",
+ digits: "Тек қана сандарды енгізуіңізді сұраймыз.",
+ creditcard: "Несие картасының нөмірін дұрыс енгізуіңізді сұраймыз.",
+ equalTo: "Осы мәнді қайта енгізуіңізді сұраймыз.",
+ extension: "Файлдың кеңейтуін дұрыс таңдаңыз.",
+ maxlength: jQuery.validator.format( "Ұзындығы {0} символдан көр болмасын." ),
+ minlength: jQuery.validator.format( "Ұзындығы {0} символдан аз болмасын." ),
+ rangelength: jQuery.validator.format( "Ұзындығы {0}-{1} дейін мән енгізуіңізді сұраймыз." ),
+ range: jQuery.validator.format( "Пожалуйста, введите число от {0} до {1}. - {0} - {1} санын енгізуіңізді сұраймыз." ),
+ max: jQuery.validator.format( "{0} аз немесе тең санын енгізуіңіді сұраймыз." ),
+ min: jQuery.validator.format( "{0} көп немесе тең санын енгізуіңізді сұраймыз." )
+} );
diff --git a/script/jquery-validate/localization/messages_ko.js b/script/jquery-validate/localization/messages_ko.js
new file mode 100644
index 0000000..66eb037
--- /dev/null
+++ b/script/jquery-validate/localization/messages_ko.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: KO (Korean; 한국어)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "필수 항목입니다.",
+ remote: "항목을 수정하세요.",
+ email: "유효하지 않은 E-Mail주소입니다.",
+ url: "유효하지 않은 URL입니다.",
+ date: "올바른 날짜를 입력하세요.",
+ dateISO: "올바른 날짜(ISO)를 입력하세요.",
+ number: "유효한 숫자가 아닙니다.",
+ digits: "숫자만 입력 가능합니다.",
+ creditcard: "신용카드 번호가 바르지 않습니다.",
+ equalTo: "같은 값을 다시 입력하세요.",
+ extension: "올바른 확장자가 아닙니다.",
+ maxlength: jQuery.validator.format( "{0}자를 넘을 수 없습니다. " ),
+ minlength: jQuery.validator.format( "{0}자 이상 입력하세요." ),
+ rangelength: jQuery.validator.format( "문자 길이가 {0} 에서 {1} 사이의 값을 입력하세요." ),
+ range: jQuery.validator.format( "{0} 에서 {1} 사이의 값을 입력하세요." ),
+ max: jQuery.validator.format( "{0} 이하의 값을 입력하세요." ),
+ min: jQuery.validator.format( "{0} 이상의 값을 입력하세요." )
+} );
diff --git a/script/jquery-validate/localization/messages_lt.js b/script/jquery-validate/localization/messages_lt.js
new file mode 100644
index 0000000..81be3d7
--- /dev/null
+++ b/script/jquery-validate/localization/messages_lt.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: LT (Lithuanian; lietuvių kalba)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Šis laukas yra privalomas.",
+ remote: "Prašau pataisyti šį lauką.",
+ email: "Prašau įvesti teisingą elektroninio pašto adresą.",
+ url: "Prašau įvesti teisingą URL.",
+ date: "Prašau įvesti teisingą datą.",
+ dateISO: "Prašau įvesti teisingą datą (ISO).",
+ number: "Prašau įvesti teisingą skaičių.",
+ digits: "Prašau naudoti tik skaitmenis.",
+ creditcard: "Prašau įvesti teisingą kreditinės kortelės numerį.",
+ equalTo: "Prašau įvestį tą pačią reikšmę dar kartą.",
+ extension: "Prašau įvesti reikšmę su teisingu plėtiniu.",
+ maxlength: jQuery.validator.format( "Prašau įvesti ne daugiau kaip {0} simbolių." ),
+ minlength: jQuery.validator.format( "Prašau įvesti bent {0} simbolius." ),
+ rangelength: jQuery.validator.format( "Prašau įvesti reikšmes, kurių ilgis nuo {0} iki {1} simbolių." ),
+ range: jQuery.validator.format( "Prašau įvesti reikšmę intervale nuo {0} iki {1}." ),
+ max: jQuery.validator.format( "Prašau įvesti reikšmę mažesnę arba lygią {0}." ),
+ min: jQuery.validator.format( "Prašau įvesti reikšmę didesnę arba lygią {0}." )
+} );
diff --git a/script/jquery-validate/localization/messages_lv.js b/script/jquery-validate/localization/messages_lv.js
new file mode 100644
index 0000000..2507197
--- /dev/null
+++ b/script/jquery-validate/localization/messages_lv.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: LV (Latvian; latviešu valoda)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Šis lauks ir obligāts.",
+ remote: "Lūdzu, pārbaudiet šo lauku.",
+ email: "Lūdzu, ievadiet derīgu e-pasta adresi.",
+ url: "Lūdzu, ievadiet derīgu URL adresi.",
+ date: "Lūdzu, ievadiet derīgu datumu.",
+ dateISO: "Lūdzu, ievadiet derīgu datumu (ISO).",
+ number: "Lūdzu, ievadiet derīgu numuru.",
+ digits: "Lūdzu, ievadiet tikai ciparus.",
+ creditcard: "Lūdzu, ievadiet derīgu kredītkartes numuru.",
+ equalTo: "Lūdzu, ievadiet to pašu vēlreiz.",
+ extension: "Lūdzu, ievadiet vērtību ar derīgu paplašinājumu.",
+ maxlength: jQuery.validator.format( "Lūdzu, ievadiet ne vairāk kā {0} rakstzīmes." ),
+ minlength: jQuery.validator.format( "Lūdzu, ievadiet vismaz {0} rakstzīmes." ),
+ rangelength: jQuery.validator.format( "Lūdzu ievadiet {0} līdz {1} rakstzīmes." ),
+ range: jQuery.validator.format( "Lūdzu, ievadiet skaitli no {0} līdz {1}." ),
+ max: jQuery.validator.format( "Lūdzu, ievadiet skaitli, kurš ir mazāks vai vienāds ar {0}." ),
+ min: jQuery.validator.format( "Lūdzu, ievadiet skaitli, kurš ir lielāks vai vienāds ar {0}." )
+} );
diff --git a/script/jquery-validate/localization/messages_my.js b/script/jquery-validate/localization/messages_my.js
new file mode 100644
index 0000000..1b1ec39
--- /dev/null
+++ b/script/jquery-validate/localization/messages_my.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: MY (Malay; Melayu)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Medan ini diperlukan.",
+ remote: "Sila betulkan medan ini.",
+ email: "Sila masukkan alamat emel yang betul.",
+ url: "Sila masukkan URL yang betul.",
+ date: "Sila masukkan tarikh yang betul.",
+ dateISO: "Sila masukkan tarikh(ISO) yang betul.",
+ number: "Sila masukkan nombor yang betul.",
+ digits: "Sila masukkan nilai digit sahaja.",
+ creditcard: "Sila masukkan nombor kredit kad yang betul.",
+ equalTo: "Sila masukkan nilai yang sama semula.",
+ extension: "Sila masukkan nilai yang telah diterima.",
+ maxlength: jQuery.validator.format( "Sila masukkan tidak lebih dari {0} aksara." ),
+ minlength: jQuery.validator.format( "Sila masukkan sekurang-kurangnya {0} aksara." ),
+ rangelength: jQuery.validator.format( "Sila masukkan antara {0} dan {1} panjang aksara." ),
+ range: jQuery.validator.format( "Sila masukkan nilai antara {0} dan {1} aksara." ),
+ max: jQuery.validator.format( "Sila masukkan nilai yang kurang atau sama dengan {0}." ),
+ min: jQuery.validator.format( "Sila masukkan nilai yang lebih atau sama dengan {0}." )
+} );
diff --git a/script/jquery-validate/localization/messages_nl.js b/script/jquery-validate/localization/messages_nl.js
new file mode 100644
index 0000000..786f974
--- /dev/null
+++ b/script/jquery-validate/localization/messages_nl.js
@@ -0,0 +1,33 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: NL (Dutch; Nederlands, Vlaams)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Dit is een verplicht veld.",
+ remote: "Controleer dit veld.",
+ email: "Vul hier een geldig e-mailadres in.",
+ url: "Vul hier een geldige URL in.",
+ date: "Vul hier een geldige datum in.",
+ dateISO: "Vul hier een geldige datum in (ISO-formaat).",
+ number: "Vul hier een geldig getal in.",
+ digits: "Vul hier alleen getallen in.",
+ creditcard: "Vul hier een geldig creditcardnummer in.",
+ equalTo: "Vul hier dezelfde waarde in.",
+ extension: "Vul hier een waarde in met een geldige extensie.",
+ maxlength: jQuery.validator.format( "Vul hier maximaal {0} tekens in." ),
+ minlength: jQuery.validator.format( "Vul hier minimaal {0} tekens in." ),
+ rangelength: jQuery.validator.format( "Vul hier een waarde in van minimaal {0} en maximaal {1} tekens." ),
+ range: jQuery.validator.format( "Vul hier een waarde in van minimaal {0} en maximaal {1}." ),
+ max: jQuery.validator.format( "Vul hier een waarde in kleiner dan of gelijk aan {0}." ),
+ min: jQuery.validator.format( "Vul hier een waarde in groter dan of gelijk aan {0}." ),
+
+ // For validations in additional-methods.js
+ iban: "Vul hier een geldig IBAN in.",
+ dateNL: "Vul hier een geldige datum in.",
+ phoneNL: "Vul hier een geldig Nederlands telefoonnummer in.",
+ mobileNL: "Vul hier een geldig Nederlands mobiel telefoonnummer in.",
+ postalcodeNL: "Vul hier een geldige postcode in.",
+ bankaccountNL: "Vul hier een geldig bankrekeningnummer in.",
+ giroaccountNL: "Vul hier een geldig gironummer in.",
+ bankorgiroaccountNL: "Vul hier een geldig bank- of gironummer in."
+} );
diff --git a/script/jquery-validate/localization/messages_no.js b/script/jquery-validate/localization/messages_no.js
new file mode 100644
index 0000000..fee6589
--- /dev/null
+++ b/script/jquery-validate/localization/messages_no.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: NO (Norwegian; Norsk)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Dette feltet er obligatorisk.",
+ maxlength: jQuery.validator.format( "Maksimalt {0} tegn." ),
+ minlength: jQuery.validator.format( "Minimum {0} tegn." ),
+ rangelength: jQuery.validator.format( "Angi minimum {0} og maksimum {1} tegn." ),
+ email: "Oppgi en gyldig epostadresse.",
+ url: "Angi en gyldig URL.",
+ date: "Angi en gyldig dato.",
+ dateISO: "Angi en gyldig dato (&ARING;&ARING;&ARING;&ARING;-MM-DD).",
+ dateSE: "Angi en gyldig dato.",
+ number: "Angi et gyldig nummer.",
+ numberSE: "Angi et gyldig nummer.",
+ digits: "Skriv kun tall.",
+ equalTo: "Skriv samme verdi igjen.",
+ range: jQuery.validator.format( "Angi en verdi mellom {0} og {1}." ),
+ max: jQuery.validator.format( "Angi en verdi som er mindre eller lik {0}." ),
+ min: jQuery.validator.format( "Angi en verdi som er st&oslash;rre eller lik {0}." ),
+ creditcard: "Angi et gyldig kredittkortnummer."
+} );
diff --git a/script/jquery-validate/localization/messages_pl.js b/script/jquery-validate/localization/messages_pl.js
new file mode 100644
index 0000000..f9b8ab6
--- /dev/null
+++ b/script/jquery-validate/localization/messages_pl.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: PL (Polish; język polski, polszczyzna)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "To pole jest wymagane.",
+ remote: "Proszę o wypełnienie tego pola.",
+ email: "Proszę o podanie prawidłowego adresu email.",
+ url: "Proszę o podanie prawidłowego URL.",
+ date: "Proszę o podanie prawidłowej daty.",
+ dateISO: "Proszę o podanie prawidłowej daty (ISO).",
+ number: "Proszę o podanie prawidłowej liczby.",
+ digits: "Proszę o podanie samych cyfr.",
+ creditcard: "Proszę o podanie prawidłowej karty kredytowej.",
+ equalTo: "Proszę o podanie tej samej wartości ponownie.",
+ extension: "Proszę o podanie wartości z prawidłowym rozszerzeniem.",
+ maxlength: jQuery.validator.format( "Proszę o podanie nie więcej niż {0} znaków." ),
+ minlength: jQuery.validator.format( "Proszę o podanie przynajmniej {0} znaków." ),
+ rangelength: jQuery.validator.format( "Proszę o podanie wartości o długości od {0} do {1} znaków." ),
+ range: jQuery.validator.format( "Proszę o podanie wartości z przedziału od {0} do {1}." ),
+ max: jQuery.validator.format( "Proszę o podanie wartości mniejszej bądź równej {0}." ),
+ min: jQuery.validator.format( "Proszę o podanie wartości większej bądź równej {0}." )
+} );
diff --git a/script/jquery-validate/localization/messages_pt_BR.js b/script/jquery-validate/localization/messages_pt_BR.js
new file mode 100644
index 0000000..6f874bf
--- /dev/null
+++ b/script/jquery-validate/localization/messages_pt_BR.js
@@ -0,0 +1,75 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: PT (Portuguese; português)
+ * Region: BR (Brazil)
+ */
+jQuery.extend( jQuery.validator.messages, {
+
+ // Core
+ required: "Este campo &eacute; requerido.",
+ remote: "Por favor, corrija este campo.",
+ email: "Por favor, forne&ccedil;a um endere&ccedil;o de email v&aacute;lido.",
+ url: "Por favor, forne&ccedil;a uma URL v&aacute;lida.",
+ date: "Por favor, forne&ccedil;a uma data v&aacute;lida.",
+ dateISO: "Por favor, forne&ccedil;a uma data v&aacute;lida (ISO).",
+ number: "Por favor, forne&ccedil;a um n&uacute;mero v&aacute;lido.",
+ digits: "Por favor, forne&ccedil;a somente d&iacute;gitos.",
+ creditcard: "Por favor, forne&ccedil;a um cart&atilde;o de cr&eacute;dito v&aacute;lido.",
+ equalTo: "Por favor, forne&ccedil;a o mesmo valor novamente.",
+ maxlength: jQuery.validator.format( "Por favor, forne&ccedil;a n&atilde;o mais que {0} caracteres." ),
+ minlength: jQuery.validator.format( "Por favor, forne&ccedil;a ao menos {0} caracteres." ),
+ rangelength: jQuery.validator.format( "Por favor, forne&ccedil;a um valor entre {0} e {1} caracteres de comprimento." ),
+ range: jQuery.validator.format( "Por favor, forne&ccedil;a um valor entre {0} e {1}." ),
+ max: jQuery.validator.format( "Por favor, forne&ccedil;a um valor menor ou igual a {0}." ),
+ min: jQuery.validator.format( "Por favor, forne&ccedil;a um valor maior ou igual a {0}." ),
+
+ // Metodos Adicionais
+ maxWords: jQuery.validator.format( "Por favor, forne&ccedil;a com {0} palavras ou menos." ),
+ minWords: jQuery.validator.format( "Por favor, forne&ccedil;a pelo menos {0} palavras." ),
+ rangeWords: jQuery.validator.format( "Por favor, forne&ccedil;a entre {0} e {1} palavras." ),
+ accept: "Por favor, forne&ccedil;a um tipo v&aacute;lido.",
+ alphanumeric: "Por favor, forne&ccedil;a somente com letras, n&uacute;meros e sublinhados.",
+ bankaccountNL: "Por favor, forne&ccedil;a com um n&uacute;mero de conta banc&aacute;ria v&aacute;lida.",
+ bankorgiroaccountNL: "Por favor, forne&ccedil;a um banco v&aacute;lido ou n&uacute;mero de conta.",
+ bic: "Por favor, forne&ccedil;a um c&oacute;digo BIC v&aacute;lido.",
+ cifES: "Por favor, forne&ccedil;a um c&oacute;digo CIF v&aacute;lido.",
+ creditcardtypes: "Por favor, forne&ccedil;a um n&uacute;mero de cart&atilde;o de cr&eacute;dito v&aacute;lido.",
+ currency: "Por favor, forne&ccedil;a uma moeda v&aacute;lida.",
+ dateFA: "Por favor, forne&ccedil;a uma data correta.",
+ dateITA: "Por favor, forne&ccedil;a uma data correta.",
+ dateNL: "Por favor, forne&ccedil;a uma data correta.",
+ extension: "Por favor, forne&ccedil;a um valor com uma extens&atilde;o v&aacute;lida.",
+ giroaccountNL: "Por favor, forne&ccedil;a um n&uacute;mero de conta corrente v&aacute;lido.",
+ iban: "Por favor, forne&ccedil;a um c&oacute;digo IBAN v&aacute;lido.",
+ integer: "Por favor, forne&ccedil;a um n&uacute;mero n&atilde;o decimal.",
+ ipv4: "Por favor, forne&ccedil;a um IPv4 v&aacute;lido.",
+ ipv6: "Por favor, forne&ccedil;a um IPv6 v&aacute;lido.",
+ lettersonly: "Por favor, forne&ccedil;a apenas com letras.",
+ letterswithbasicpunc: "Por favor, forne&ccedil;a apenas letras ou pontua&ccedil;ões.",
+ mobileNL: "Por favor, fornece&ccedil;a um n&uacute;mero v&aacute;lido de telefone.",
+ mobileUK: "Por favor, fornece&ccedil;a um n&uacute;mero v&aacute;lido de telefone.",
+ nieES: "Por favor, forne&ccedil;a um NIE v&aacute;lido.",
+ nifES: "Por favor, forne&ccedil;a um NIF v&aacute;lido.",
+ nowhitespace: "Por favor, n&atilde;o utilize espa&ccedil;os em branco.",
+ pattern: "O formato fornenecido &eacute; inv&aacute;lido.",
+ phoneNL: "Por favor, fornece&ccedil;a um n&uacute;mero de telefone v&aacute;lido.",
+ phoneUK: "Por favor, fornece&ccedil;a um n&uacute;mero de telefone v&aacute;lido.",
+ phoneUS: "Por favor, fornece&ccedil;a um n&uacute;mero de telefone v&aacute;lido.",
+ phonesUK: "Por favor, fornece&ccedil;a um n&uacute;mero de telefone v&aacute;lido.",
+ postalCodeCA: "Por favor, fornece&ccedil;a um n&uacute;mero de c&oacute;digo postal v&aacute;lido.",
+ postalcodeIT: "Por favor, fornece&ccedil;a um n&uacute;mero de c&oacute;digo postal v&aacute;lido.",
+ postalcodeNL: "Por favor, fornece&ccedil;a um n&uacute;mero de c&oacute;digo postal v&aacute;lido.",
+ postcodeUK: "Por favor, fornece&ccedil;a um n&uacute;mero de c&oacute;digo postal v&aacute;lido.",
+ postalcodeBR: "Por favor, forne&ccedil;a um CEP v&aacute;lido.",
+ require_from_group: jQuery.validator.format( "Por favor, forne&ccedil;a pelo menos {0} destes campos." ),
+ skip_or_fill_minimum: jQuery.validator.format( "Por favor, optar entre ignorar esses campos ou preencher pelo menos {0} deles." ),
+ stateUS: "Por favor, forne&ccedil;a um estado v&aacute;lido.",
+ strippedminlength: jQuery.validator.format( "Por favor, forne&ccedil;a pelo menos {0} caracteres." ),
+ time: "Por favor, forne&ccedil;a um hor&aacute;rio v&aacute;lido, no intervado de 00:00 e 23:59.",
+ time12h: "Por favor, forne&ccedil;a um hor&aacute;rio v&aacute;lido, no intervado de 01:00 e 12:59 am/pm.",
+ url2: "Por favor, fornece&ccedil;a uma URL v&aacute;lida.",
+ vinUS: "O n&uacute;mero de identifica&ccedil;&atilde;o de ve&iacute;culo informada (VIN) &eacute; inv&aacute;lido.",
+ zipcodeUS: "Por favor, fornece&ccedil;a um c&oacute;digo postal americano v&aacute;lido.",
+ ziprange: "O c&oacute;digo postal deve estar entre 902xx-xxxx e 905xx-xxxx",
+ cpfBR: "Por favor, forne&ccedil;a um CPF v&aacute;lido."
+} );
diff --git a/script/jquery-validate/localization/messages_pt_PT.js b/script/jquery-validate/localization/messages_pt_PT.js
new file mode 100644
index 0000000..45a964f
--- /dev/null
+++ b/script/jquery-validate/localization/messages_pt_PT.js
@@ -0,0 +1,27 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: PT (Portuguese; português)
+ * Region: PT (Portugal)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Campo de preenchimento obrigat&oacute;rio.",
+ remote: "Por favor, corrija este campo.",
+ email: "Por favor, introduza um endere&ccedil;o eletr&oacute;nico v&aacute;lido.",
+ url: "Por favor, introduza um URL v&aacute;lido.",
+ date: "Por favor, introduza uma data v&aacute;lida.",
+ dateISO: "Por favor, introduza uma data v&aacute;lida (ISO).",
+ number: "Por favor, introduza um n&uacute;mero v&aacute;lido.",
+ digits: "Por favor, introduza apenas d&iacute;gitos.",
+ creditcard: "Por favor, introduza um n&uacute;mero de cart&atilde;o de cr&eacute;dito v&aacute;lido.",
+ equalTo: "Por favor, introduza de novo o mesmo valor.",
+ extension: "Por favor, introduza um ficheiro com uma extens&atilde;o v&aacute;lida.",
+ maxlength: jQuery.validator.format( "Por favor, n&atilde;o introduza mais do que {0} caracteres." ),
+ minlength: jQuery.validator.format( "Por favor, introduza pelo menos {0} caracteres." ),
+ rangelength: jQuery.validator.format( "Por favor, introduza entre {0} e {1} caracteres." ),
+ range: jQuery.validator.format( "Por favor, introduza um valor entre {0} e {1}." ),
+ max: jQuery.validator.format( "Por favor, introduza um valor menor ou igual a {0}." ),
+ min: jQuery.validator.format( "Por favor, introduza um valor maior ou igual a {0}." ),
+ nifES: "Por favor, introduza um NIF v&aacute;lido.",
+ nieES: "Por favor, introduza um NIE v&aacute;lido.",
+ cifES: "Por favor, introduza um CIF v&aacute;lido."
+} );
diff --git a/script/jquery-validate/localization/messages_ro.js b/script/jquery-validate/localization/messages_ro.js
new file mode 100644
index 0000000..50b405a
--- /dev/null
+++ b/script/jquery-validate/localization/messages_ro.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: RO (Romanian, limba română)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Acest câmp este obligatoriu.",
+ remote: "Te rugăm să completezi acest câmp.",
+ email: "Te rugăm să introduci o adresă de email validă",
+ url: "Te rugăm sa introduci o adresă URL validă.",
+ date: "Te rugăm să introduci o dată corectă.",
+ dateISO: "Te rugăm să introduci o dată (ISO) corectă.",
+ number: "Te rugăm să introduci un număr întreg valid.",
+ digits: "Te rugăm să introduci doar cifre.",
+ creditcard: "Te rugăm să introduci un numar de carte de credit valid.",
+ equalTo: "Te rugăm să reintroduci valoarea.",
+ extension: "Te rugăm să introduci o valoare cu o extensie validă.",
+ maxlength: jQuery.validator.format( "Te rugăm să nu introduci mai mult de {0} caractere." ),
+ minlength: jQuery.validator.format( "Te rugăm să introduci cel puțin {0} caractere." ),
+ rangelength: jQuery.validator.format( "Te rugăm să introduci o valoare între {0} și {1} caractere." ),
+ range: jQuery.validator.format( "Te rugăm să introduci o valoare între {0} și {1}." ),
+ max: jQuery.validator.format( "Te rugăm să introduci o valoare egal sau mai mică decât {0}." ),
+ min: jQuery.validator.format( "Te rugăm să introduci o valoare egal sau mai mare decât {0}." )
+} );
diff --git a/script/jquery-validate/localization/messages_ru.js b/script/jquery-validate/localization/messages_ru.js
new file mode 100644
index 0000000..2b8c2f7
--- /dev/null
+++ b/script/jquery-validate/localization/messages_ru.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: RU (Russian; русский язык)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Это поле необходимо заполнить.",
+ remote: "Пожалуйста, введите правильное значение.",
+ email: "Пожалуйста, введите корректный адрес электронной почты.",
+ url: "Пожалуйста, введите корректный URL.",
+ date: "Пожалуйста, введите корректную дату.",
+ dateISO: "Пожалуйста, введите корректную дату в формате ISO.",
+ number: "Пожалуйста, введите число.",
+ digits: "Пожалуйста, вводите только цифры.",
+ creditcard: "Пожалуйста, введите правильный номер кредитной карты.",
+ equalTo: "Пожалуйста, введите такое же значение ещё раз.",
+ extension: "Пожалуйста, выберите файл с правильным расширением.",
+ maxlength: jQuery.validator.format( "Пожалуйста, введите не больше {0} символов." ),
+ minlength: jQuery.validator.format( "Пожалуйста, введите не меньше {0} символов." ),
+ rangelength: jQuery.validator.format( "Пожалуйста, введите значение длиной от {0} до {1} символов." ),
+ range: jQuery.validator.format( "Пожалуйста, введите число от {0} до {1}." ),
+ max: jQuery.validator.format( "Пожалуйста, введите число, меньшее или равное {0}." ),
+ min: jQuery.validator.format( "Пожалуйста, введите число, большее или равное {0}." )
+} );
diff --git a/script/jquery-validate/localization/messages_si.js b/script/jquery-validate/localization/messages_si.js
new file mode 100644
index 0000000..b172028
--- /dev/null
+++ b/script/jquery-validate/localization/messages_si.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: SI (Slovenian)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "To polje je obvezno.",
+ remote: "Vpis v tem polju ni v pravi obliki.",
+ email: "Prosimo, vnesite pravi email naslov.",
+ url: "Prosimo, vnesite pravi URL.",
+ date: "Prosimo, vnesite pravi datum.",
+ dateISO: "Prosimo, vnesite pravi datum (ISO).",
+ number: "Prosimo, vnesite pravo številko.",
+ digits: "Prosimo, vnesite samo številke.",
+ creditcard: "Prosimo, vnesite pravo številko kreditne kartice.",
+ equalTo: "Prosimo, ponovno vnesite enako vsebino.",
+ extension: "Prosimo, vnesite vsebino z pravo končnico.",
+ maxlength: jQuery.validator.format( "Prosimo, da ne vnašate več kot {0} znakov." ),
+ minlength: jQuery.validator.format( "Prosimo, vnesite vsaj {0} znakov." ),
+ rangelength: jQuery.validator.format( "Prosimo, vnesite od {0} do {1} znakov." ),
+ range: jQuery.validator.format( "Prosimo, vnesite vrednost med {0} in {1}." ),
+ max: jQuery.validator.format( "Prosimo, vnesite vrednost manjšo ali enako {0}." ),
+ min: jQuery.validator.format( "Prosimo, vnesite vrednost večjo ali enako {0}." )
+} );
diff --git a/script/jquery-validate/localization/messages_sk.js b/script/jquery-validate/localization/messages_sk.js
new file mode 100644
index 0000000..b2ea1cb
--- /dev/null
+++ b/script/jquery-validate/localization/messages_sk.js
@@ -0,0 +1,20 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: SK (Slovak; slovenčina, slovenský jazyk)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Povinné zadať.",
+ maxlength: jQuery.validator.format( "Maximálne {0} znakov." ),
+ minlength: jQuery.validator.format( "Minimálne {0} znakov." ),
+ rangelength: jQuery.validator.format( "Minimálne {0} a Maximálne {1} znakov." ),
+ email: "E-mailová adresa musí byť platná.",
+ url: "URL musí byť platný.",
+ date: "Musí byť dátum.",
+ number: "Musí byť číslo.",
+ digits: "Môže obsahovať iba číslice.",
+ equalTo: "Dva hodnoty sa musia rovnať.",
+ range: jQuery.validator.format( "Musí byť medzi {0} a {1}." ),
+ max: jQuery.validator.format( "Nemôže byť viac ako{0}." ),
+ min: jQuery.validator.format( "Nemôže byť menej ako{0}." ),
+ creditcard: "Číslo platobnej karty musí byť platné."
+} );
diff --git a/script/jquery-validate/localization/messages_sl.js b/script/jquery-validate/localization/messages_sl.js
new file mode 100644
index 0000000..d5364cc
--- /dev/null
+++ b/script/jquery-validate/localization/messages_sl.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Language: SL (Slovenian; slovenski jezik)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "To polje je obvezno.",
+ remote: "Prosimo popravite to polje.",
+ email: "Prosimo vnesite veljaven email naslov.",
+ url: "Prosimo vnesite veljaven URL naslov.",
+ date: "Prosimo vnesite veljaven datum.",
+ dateISO: "Prosimo vnesite veljaven ISO datum.",
+ number: "Prosimo vnesite veljavno število.",
+ digits: "Prosimo vnesite samo števila.",
+ creditcard: "Prosimo vnesite veljavno številko kreditne kartice.",
+ equalTo: "Prosimo ponovno vnesite vrednost.",
+ extension: "Prosimo vnesite vrednost z veljavno končnico.",
+ maxlength: jQuery.validator.format( "Prosimo vnesite največ {0} znakov." ),
+ minlength: jQuery.validator.format( "Prosimo vnesite najmanj {0} znakov." ),
+ rangelength: jQuery.validator.format( "Prosimo vnesite najmanj {0} in največ {1} znakov." ),
+ range: jQuery.validator.format( "Prosimo vnesite vrednost med {0} in {1}." ),
+ max: jQuery.validator.format( "Prosimo vnesite vrednost manjše ali enako {0}." ),
+ min: jQuery.validator.format( "Prosimo vnesite vrednost večje ali enako {0}." )
+} );
diff --git a/script/jquery-validate/localization/messages_sr.js b/script/jquery-validate/localization/messages_sr.js
new file mode 100644
index 0000000..0d940cc
--- /dev/null
+++ b/script/jquery-validate/localization/messages_sr.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: SR (Serbian; српски језик)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Поље је обавезно.",
+ remote: "Средите ово поље.",
+ email: "Унесите исправну и-мејл адресу.",
+ url: "Унесите исправан URL.",
+ date: "Унесите исправан датум.",
+ dateISO: "Унесите исправан датум (ISO).",
+ number: "Унесите исправан број.",
+ digits: "Унесите само цифе.",
+ creditcard: "Унесите исправан број кредитне картице.",
+ equalTo: "Унесите исту вредност поново.",
+ extension: "Унесите вредност са одговарајућом екстензијом.",
+ maxlength: jQuery.validator.format( "Унесите мање од {0} карактера." ),
+ minlength: jQuery.validator.format( "Унесите барем {0} карактера." ),
+ rangelength: jQuery.validator.format( "Унесите вредност дугачку између {0} и {1} карактера." ),
+ range: jQuery.validator.format( "Унесите вредност између {0} и {1}." ),
+ max: jQuery.validator.format( "Унесите вредност мању или једнаку {0}." ),
+ min: jQuery.validator.format( "Унесите вредност већу или једнаку {0}." )
+} );
diff --git a/script/jquery-validate/localization/messages_sr_lat.js b/script/jquery-validate/localization/messages_sr_lat.js
new file mode 100644
index 0000000..23e41bf
--- /dev/null
+++ b/script/jquery-validate/localization/messages_sr_lat.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: SR (Serbian - Latin alphabet; srpski jezik - latinica)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Polje je obavezno.",
+ remote: "Sredite ovo polje.",
+ email: "Unesite ispravnu e-mail adresu",
+ url: "Unesite ispravan URL.",
+ date: "Unesite ispravan datum.",
+ dateISO: "Unesite ispravan datum (ISO).",
+ number: "Unesite ispravan broj.",
+ digits: "Unesite samo cifre.",
+ creditcard: "Unesite ispravan broj kreditne kartice.",
+ equalTo: "Unesite istu vrednost ponovo.",
+ extension: "Unesite vrednost sa odgovarajućom ekstenzijom.",
+ maxlength: jQuery.validator.format( "Unesite manje od {0} karaktera." ),
+ minlength: jQuery.validator.format( "Unesite barem {0} karaktera." ),
+ rangelength: jQuery.validator.format( "Unesite vrednost dugačku između {0} i {1} karaktera." ),
+ range: jQuery.validator.format( "Unesite vrednost između {0} i {1}." ),
+ max: jQuery.validator.format( "Unesite vrednost manju ili jednaku {0}." ),
+ min: jQuery.validator.format( "Unesite vrednost veću ili jednaku {0}." )
+} );
diff --git a/script/jquery-validate/localization/messages_sv.js b/script/jquery-validate/localization/messages_sv.js
new file mode 100644
index 0000000..f88dd89
--- /dev/null
+++ b/script/jquery-validate/localization/messages_sv.js
@@ -0,0 +1,21 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: SV (Swedish; Svenska)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Detta f&auml;lt &auml;r obligatoriskt.",
+ maxlength: jQuery.validator.format( "Du f&aring;r ange h&ouml;gst {0} tecken." ),
+ minlength: jQuery.validator.format( "Du m&aring;ste ange minst {0} tecken." ),
+ rangelength: jQuery.validator.format( "Ange minst {0} och max {1} tecken." ),
+ email: "Ange en korrekt e-postadress.",
+ url: "Ange en korrekt URL.",
+ date: "Ange ett korrekt datum.",
+ dateISO: "Ange ett korrekt datum (&Aring;&Aring;&Aring;&Aring;-MM-DD).",
+ number: "Ange ett korrekt nummer.",
+ digits: "Ange endast siffror.",
+ equalTo: "Ange samma v&auml;rde igen.",
+ range: jQuery.validator.format( "Ange ett v&auml;rde mellan {0} och {1}." ),
+ max: jQuery.validator.format( "Ange ett v&auml;rde som &auml;r mindre eller lika med {0}." ),
+ min: jQuery.validator.format( "Ange ett v&auml;rde som &auml;r st&ouml;rre eller lika med {0}." ),
+ creditcard: "Ange ett korrekt kreditkortsnummer."
+} );
diff --git a/script/jquery-validate/localization/messages_th.js b/script/jquery-validate/localization/messages_th.js
new file mode 100644
index 0000000..7802195
--- /dev/null
+++ b/script/jquery-validate/localization/messages_th.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: TH (Thai; ไทย)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "โปรดระบุ",
+ remote: "โปรดแก้ไขให้ถูกต้อง",
+ email: "โปรดระบุที่อยู่อีเมล์ที่ถูกต้อง",
+ url: "โปรดระบุ URL ที่ถูกต้อง",
+ date: "โปรดระบุวันที่ ที่ถูกต้อง",
+ dateISO: "โปรดระบุวันที่ ที่ถูกต้อง (ระบบ ISO).",
+ number: "โปรดระบุทศนิยมที่ถูกต้อง",
+ digits: "โปรดระบุจำนวนเต็มที่ถูกต้อง",
+ creditcard: "โปรดระบุรหัสบัตรเครดิตที่ถูกต้อง",
+ equalTo: "โปรดระบุค่าเดิมอีกครั้ง",
+ extension: "โปรดระบุค่าที่มีส่วนขยายที่ถูกต้อง",
+ maxlength: jQuery.validator.format( "โปรดอย่าระบุค่าที่ยาวกว่า {0} อักขระ" ),
+ minlength: jQuery.validator.format( "โปรดอย่าระบุค่าที่สั้นกว่า {0} อักขระ" ),
+ rangelength: jQuery.validator.format( "โปรดอย่าระบุค่าความยาวระหว่าง {0} ถึง {1} อักขระ" ),
+ range: jQuery.validator.format( "โปรดระบุค่าระหว่าง {0} และ {1}" ),
+ max: jQuery.validator.format( "โปรดระบุค่าน้อยกว่าหรือเท่ากับ {0}" ),
+ min: jQuery.validator.format( "โปรดระบุค่ามากกว่าหรือเท่ากับ {0}" )
+} );
diff --git a/script/jquery-validate/localization/messages_tj.js b/script/jquery-validate/localization/messages_tj.js
new file mode 100644
index 0000000..1b2b36e
--- /dev/null
+++ b/script/jquery-validate/localization/messages_tj.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: TJ (Tajikistan; Забони тоҷикӣ)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Ворид кардани ин филд маҷбури аст.",
+ remote: "Илтимос, маълумоти саҳеҳ ворид кунед.",
+ email: "Илтимос, почтаи электронии саҳеҳ ворид кунед.",
+ url: "Илтимос, URL адреси саҳеҳ ворид кунед.",
+ date: "Илтимос, таърихи саҳеҳ ворид кунед.",
+ dateISO: "Илтимос, таърихи саҳеҳи (ISO)ӣ ворид кунед.",
+ number: "Илтимос, рақамҳои саҳеҳ ворид кунед.",
+ digits: "Илтимос, танҳо рақам ворид кунед.",
+ creditcard: "Илтимос, кредит карди саҳеҳ ворид кунед.",
+ equalTo: "Илтимос, миқдори баробар ворид кунед.",
+ extension: "Илтимос, қофияи файлро дуруст интихоб кунед",
+ maxlength: jQuery.validator.format( "Илтимос, бештар аз {0} рамз ворид накунед." ),
+ minlength: jQuery.validator.format( "Илтимос, камтар аз {0} рамз ворид накунед." ),
+ rangelength: jQuery.validator.format( "Илтимос, камтар аз {0} ва зиёда аз {1} рамз ворид кунед." ),
+ range: jQuery.validator.format( "Илтимос, аз {0} то {1} рақам зиёд ворид кунед." ),
+ max: jQuery.validator.format( "Илтимос, бештар аз {0} рақам ворид накунед." ),
+ min: jQuery.validator.format( "Илтимос, камтар аз {0} рақам ворид накунед." )
+} );
diff --git a/script/jquery-validate/localization/messages_tr.js b/script/jquery-validate/localization/messages_tr.js
new file mode 100644
index 0000000..9c13481
--- /dev/null
+++ b/script/jquery-validate/localization/messages_tr.js
@@ -0,0 +1,24 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: TR (Turkish; Türkçe)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Bu alanın doldurulması zorunludur.",
+ remote: "Lütfen bu alanı düzeltin.",
+ email: "Lütfen geçerli bir e-posta adresi giriniz.",
+ url: "Lütfen geçerli bir web adresi (URL) giriniz.",
+ date: "Lütfen geçerli bir tarih giriniz.",
+ dateISO: "Lütfen geçerli bir tarih giriniz(ISO formatında)",
+ number: "Lütfen geçerli bir sayı giriniz.",
+ digits: "Lütfen sadece sayısal karakterler giriniz.",
+ creditcard: "Lütfen geçerli bir kredi kartı giriniz.",
+ equalTo: "Lütfen aynı değeri tekrar giriniz.",
+ extension: "Lütfen geçerli uzantıya sahip bir değer giriniz.",
+ maxlength: jQuery.validator.format( "Lütfen en fazla {0} karakter uzunluğunda bir değer giriniz." ),
+ minlength: jQuery.validator.format( "Lütfen en az {0} karakter uzunluğunda bir değer giriniz." ),
+ rangelength: jQuery.validator.format( "Lütfen en az {0} ve en fazla {1} uzunluğunda bir değer giriniz." ),
+ range: jQuery.validator.format( "Lütfen {0} ile {1} arasında bir değer giriniz." ),
+ max: jQuery.validator.format( "Lütfen {0} değerine eşit ya da daha küçük bir değer giriniz." ),
+ min: jQuery.validator.format( "Lütfen {0} değerine eşit ya da daha büyük bir değer giriniz." ),
+ require_from_group: "Lütfen bu alanların en az {0} tanesini doldurunuz."
+} );
diff --git a/script/jquery-validate/localization/messages_uk.js b/script/jquery-validate/localization/messages_uk.js
new file mode 100644
index 0000000..5cc3473
--- /dev/null
+++ b/script/jquery-validate/localization/messages_uk.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: UK (Ukrainian; українська мова)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Це поле необхідно заповнити.",
+ remote: "Будь ласка, введіть правильне значення.",
+ email: "Будь ласка, введіть коректну адресу електронної пошти.",
+ url: "Будь ласка, введіть коректний URL.",
+ date: "Будь ласка, введіть коректну дату.",
+ dateISO: "Будь ласка, введіть коректну дату у форматі ISO.",
+ number: "Будь ласка, введіть число.",
+ digits: "Вводите потрібно лише цифри.",
+ creditcard: "Будь ласка, введіть правильний номер кредитної карти.",
+ equalTo: "Будь ласка, введіть таке ж значення ще раз.",
+ extension: "Будь ласка, виберіть файл з правильним розширенням.",
+ maxlength: jQuery.validator.format( "Будь ласка, введіть не більше {0} символів." ),
+ minlength: jQuery.validator.format( "Будь ласка, введіть не менше {0} символів." ),
+ rangelength: jQuery.validator.format( "Будь ласка, введіть значення довжиною від {0} до {1} символів." ),
+ range: jQuery.validator.format( "Будь ласка, введіть число від {0} до {1}." ),
+ max: jQuery.validator.format( "Будь ласка, введіть число, менше або рівно {0}." ),
+ min: jQuery.validator.format( "Будь ласка, введіть число, більше або рівно {0}." )
+} );
diff --git a/script/jquery-validate/localization/messages_vi.js b/script/jquery-validate/localization/messages_vi.js
new file mode 100644
index 0000000..ba7c975
--- /dev/null
+++ b/script/jquery-validate/localization/messages_vi.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: VI (Vietnamese; Tiếng Việt)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "Hãy nhập.",
+ remote: "Hãy sửa cho đúng.",
+ email: "Hãy nhập email.",
+ url: "Hãy nhập URL.",
+ date: "Hãy nhập ngày.",
+ dateISO: "Hãy nhập ngày (ISO).",
+ number: "Hãy nhập số.",
+ digits: "Hãy nhập chữ số.",
+ creditcard: "Hãy nhập số thẻ tín dụng.",
+ equalTo: "Hãy nhập thêm lần nữa.",
+ extension: "Phần mở rộng không đúng.",
+ maxlength: jQuery.validator.format( "Hãy nhập từ {0} kí tự trở xuống." ),
+ minlength: jQuery.validator.format( "Hãy nhập từ {0} kí tự trở lên." ),
+ rangelength: jQuery.validator.format( "Hãy nhập từ {0} đến {1} kí tự." ),
+ range: jQuery.validator.format( "Hãy nhập từ {0} đến {1}." ),
+ max: jQuery.validator.format( "Hãy nhập từ {0} trở xuống." ),
+ min: jQuery.validator.format( "Hãy nhập từ {1} trở lên." )
+} );
diff --git a/script/jquery-validate/localization/messages_zh.js b/script/jquery-validate/localization/messages_zh.js
new file mode 100644
index 0000000..3aa26db
--- /dev/null
+++ b/script/jquery-validate/localization/messages_zh.js
@@ -0,0 +1,23 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: ZH (Chinese, 中文 (Zhōngwén), 汉语, 漢語)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "这是必填字段",
+ remote: "请修正此字段",
+ email: "请输入有效的电子邮件地址",
+ url: "请输入有效的网址",
+ date: "请输入有效的日期",
+ dateISO: "请输入有效的日期 (YYYY-MM-DD)",
+ number: "请输入有效的数字",
+ digits: "只能输入数字",
+ creditcard: "请输入有效的信用卡号码",
+ equalTo: "你的输入不相同",
+ extension: "请输入有效的后缀",
+ maxlength: jQuery.validator.format( "最多可以输入 {0} 个字符" ),
+ minlength: jQuery.validator.format( "最少要输入 {0} 个字符" ),
+ rangelength: jQuery.validator.format( "请输入长度在 {0} 到 {1} 之间的字符串" ),
+ range: jQuery.validator.format( "请输入范围在 {0} 到 {1} 之间的数值" ),
+ max: jQuery.validator.format( "请输入不大于 {0} 的数值" ),
+ min: jQuery.validator.format( "请输入不小于 {0} 的数值" )
+} );
diff --git a/script/jquery-validate/localization/messages_zh_TW.js b/script/jquery-validate/localization/messages_zh_TW.js
new file mode 100644
index 0000000..b162477
--- /dev/null
+++ b/script/jquery-validate/localization/messages_zh_TW.js
@@ -0,0 +1,24 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: ZH (Chinese; 中文 (Zhōngwén), 汉语, 漢語)
+ * Region: TW (Taiwan)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "必須填寫",
+ remote: "請修正此欄位",
+ email: "請輸入有效的電子郵件",
+ url: "請輸入有效的網址",
+ date: "請輸入有效的日期",
+ dateISO: "請輸入有效的日期 (YYYY-MM-DD)",
+ number: "請輸入正確的數值",
+ digits: "只可輸入數字",
+ creditcard: "請輸入有效的信用卡號碼",
+ equalTo: "請重複輸入一次",
+ extension: "請輸入有效的後綴",
+ maxlength: jQuery.validator.format( "最多 {0} 個字" ),
+ minlength: jQuery.validator.format( "最少 {0} 個字" ),
+ rangelength: jQuery.validator.format( "請輸入長度為 {0} 至 {1} 之間的字串" ),
+ range: jQuery.validator.format( "請輸入 {0} 至 {1} 之間的數值" ),
+ max: jQuery.validator.format( "請輸入不大於 {0} 的數值" ),
+ min: jQuery.validator.format( "請輸入不小於 {0} 的數值" )
+} );
diff --git a/script/jquery-validate/localization/methods_de.js b/script/jquery-validate/localization/methods_de.js
new file mode 100644
index 0000000..34f6578
--- /dev/null
+++ b/script/jquery-validate/localization/methods_de.js
@@ -0,0 +1,12 @@
+/*
+ * Localized default methods for the jQuery validation plugin.
+ * Locale: DE
+ */
+jQuery.extend( jQuery.validator.methods, {
+ date: function( value, element ) {
+ return this.optional( element ) || /^\d\d?\.\d\d?\.\d\d\d?\d?$/.test( value );
+ },
+ number: function( value, element ) {
+ return this.optional( element ) || /^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test( value );
+ }
+} );
diff --git a/script/jquery-validate/localization/methods_es_CL.js b/script/jquery-validate/localization/methods_es_CL.js
new file mode 100644
index 0000000..5904fa1
--- /dev/null
+++ b/script/jquery-validate/localization/methods_es_CL.js
@@ -0,0 +1,12 @@
+/*
+ * Localized default methods for the jQuery validation plugin.
+ * Locale: ES_CL
+ */
+jQuery.extend( jQuery.validator.methods, {
+ date: function( value, element ) {
+ return this.optional( element ) || /^\d\d?\-\d\d?\-\d\d\d?\d?$/.test( value );
+ },
+ number: function( value, element ) {
+ return this.optional( element ) || /^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test( value );
+ }
+} );
diff --git a/script/jquery-validate/localization/methods_fi.js b/script/jquery-validate/localization/methods_fi.js
new file mode 100644
index 0000000..5209357
--- /dev/null
+++ b/script/jquery-validate/localization/methods_fi.js
@@ -0,0 +1,12 @@
+/*
+ * Localized default methods for the jQuery validation plugin.
+ * Locale: FI
+ */
+jQuery.extend( jQuery.validator.methods, {
+ date: function( value, element ) {
+ return this.optional( element ) || /^\d{1,2}\.\d{1,2}\.\d{4}$/.test( value );
+ },
+ number: function( value, element ) {
+ return this.optional( element ) || /^-?(?:\d+)(?:,\d+)?$/.test( value );
+ }
+} );
diff --git a/script/jquery-validate/localization/methods_nl.js b/script/jquery-validate/localization/methods_nl.js
new file mode 100644
index 0000000..b07768b
--- /dev/null
+++ b/script/jquery-validate/localization/methods_nl.js
@@ -0,0 +1,9 @@
+/*
+ * Localized default methods for the jQuery validation plugin.
+ * Locale: NL
+ */
+jQuery.extend( jQuery.validator.methods, {
+ date: function( value, element ) {
+ return this.optional( element ) || /^\d\d?[\.\/\-]\d\d?[\.\/\-]\d\d\d?\d?$/.test( value );
+ }
+} );
diff --git a/script/jquery-validate/localization/methods_pt.js b/script/jquery-validate/localization/methods_pt.js
new file mode 100644
index 0000000..ce915e0
--- /dev/null
+++ b/script/jquery-validate/localization/methods_pt.js
@@ -0,0 +1,9 @@
+/*
+ * Localized default methods for the jQuery validation plugin.
+ * Locale: PT_BR
+ */
+jQuery.extend( jQuery.validator.methods, {
+ date: function( value, element ) {
+ return this.optional( element ) || /^\d\d?\/\d\d?\/\d\d\d?\d?$/.test( value );
+ }
+} );
diff --git a/script/postman-admin-pointer.js b/script/postman-admin-pointer.js
new file mode 100644
index 0000000..6b6f76e
--- /dev/null
+++ b/script/postman-admin-pointer.js
@@ -0,0 +1,20 @@
+jQuery(document).ready(function() {
+ wptuts_open_pointer(0);
+ function wptuts_open_pointer(i) {
+ pointer = postman_admin_pointer.pointers[i];
+ options = jQuery.extend(pointer.options, {
+ close : function() {
+ jQuery.post(ajaxurl, {
+ pointer : pointer.pointer_id,
+ action : 'dismiss-wp-pointer'
+ }).fail(function(response) {
+ //ajaxFailed(response);
+ });
+ }
+ });
+
+ if (typeof (jQuery().pointer) != 'undefined') {
+ jQuery(pointer.target).pointer(options).pointer('open');
+ }
+ }
+}); \ No newline at end of file
diff --git a/script/postman.js b/script/postman.js
new file mode 100644
index 0000000..f019dbb
--- /dev/null
+++ b/script/postman.js
@@ -0,0 +1,247 @@
+var redirectUrlWarning = false;
+if (!console)
+ console = {
+ log : function() {
+ }
+ }
+function disable(identifier) {
+ var el = jQuery(identifier);
+ console.debug('disabling ' + identifier);
+ el.attr('disabled', 'disabled');
+}
+function enable(identifier) {
+ var el = jQuery(identifier);
+ console.debug('enabling ' + identifier);
+ el.removeAttr('disabled');
+}
+function hide(identifier) {
+ var el = jQuery(identifier);
+ console.debug('hiding ' + identifier);
+ el.hide("fast");
+}
+function show(identifier) {
+ var el = jQuery(identifier);
+ console.debug('showing ' + identifier);
+ el.show("fast");
+}
+function writeable(identifier) {
+ var el = jQuery(identifier);
+ el.prop("readonly", false);
+}
+function readonly(identifier) {
+ var el = jQuery(identifier);
+ el.prop("readonly", true);
+}
+function hideLoaderIcon() {
+ hide('.ajax-loader');
+}
+function showLoaderIcon() {
+ show('.ajax-loader');
+}
+function handleConfigurationResponse(response) {
+ response = response.data;
+ if (response.display_auth == 'oauth2') {
+ show('p#wizard_oauth2_help');
+ jQuery('p#wizard_oauth2_help').html(response.help_text);
+ jQuery(postman_redirect_url_el).val(response.redirect_url);
+ jQuery('#input_oauth_callback_domain').val(response.callback_domain);
+ jQuery('#client_id').html(response.client_id_label);
+ jQuery('#client_secret').html(response.client_secret_label);
+ jQuery('#redirect_url').html(response.redirect_url_label);
+ jQuery('#callback_domain').html(response.callback_domain_label);
+ }
+}
+// add an event on the authentication input field
+// on user changing the auth type, determine whether to show
+// password or oauth section
+jQuery(document).ready(function() {
+ jQuery('a#show-diagnostics').click(function() {
+ show('#diagnostic-text');
+ });
+});
+
+// http://www.electrictoolbox.com/toggle-password-field-text-password/
+function setupPasswordToggle(passwordFieldId, togglePasswordFieldId) {
+ try {
+ /**
+ * switch the password field to text, then back to password to see if it
+ * supports changing the field type (IE9+, and all other browsers do).
+ * then switch it back.
+ */
+ passwordField = document.getElementById(passwordFieldId);
+ for (var i = 0, len = passwordField.value.length; i < len; i++) {
+ if (passwordField.value[i] == '*')
+ return false;
+ }
+ passwordField.type = 'text';
+ passwordField.type = 'password';
+
+ /**
+ * if it does support changing the field type then add the event handler
+ * and make the button visible. if the browser doesn't support it, then
+ * this is bypassed and code execution continues in the catch() section
+ * below
+ */
+ togglePasswordField = document.getElementById(togglePasswordFieldId);
+ togglePasswordField.addEventListener('click',
+ togglePasswordFieldClicked, false);
+ togglePasswordField.style.visibility = 'visible';
+
+ return true;
+ }
+
+ catch (err) {
+ return true;
+ }
+
+}
+
+function togglePasswordFieldClicked() {
+
+ // var passwordField = document.getElementById('passwordField');
+ var value = passwordField.value;
+
+ if (passwordField.type == 'password') {
+ passwordField.type = 'text';
+ togglePasswordField.disabled = true;
+ } else {
+ // nah, let's not toggle it back
+ // passwordField.type = 'password';
+ }
+ passwordField.value = value;
+
+}
+
+// password toggle
+showPassword = false;
+
+function enablePasswordDisplayOnEntry($el1, $el2) {
+ // http://stackoverflow.com/questions/1948332/detect-all-changes-to-a-input-type-text-immediately-using-jquery
+ console.debug('in enablePasswordDisplayEntryOn');
+ jQuery('#' + $el1).each(
+ function() {
+ var elem = jQuery(this);
+
+ // Save current value of element
+ elem.data('oldVal', elem.val());
+
+ // Look for changes in the value
+ elem.bind("propertychange change click keyup input paste",
+ function(event) {
+
+ // If value has changed...
+ if (elem.data('oldVal') != elem.val()) {
+ // Updated stored value
+ elem.data('oldVal', elem.val());
+
+ if (!showPassword)
+ showPassword = setupPasswordToggle($el1,
+ $el2);
+ }
+ });
+ });
+
+}
+
+jQuery('body').ajaxStart(function() {
+ jQuery(this).css({
+ 'cursor' : 'wait'
+ });
+}).ajaxStop(function() {
+ jQuery(this).css({
+ 'cursor' : 'default'
+ });
+});
+
+function ajaxFailed(response) {
+ if (response.responseText) {
+ alert(postman_ajax_msg.bad_response + " "
+ + JSON.stringify(response, null, 4));
+ }
+}
+
+// Production steps of ECMA-262, Edition 5, 15.4.4.18
+// Reference: http://es5.github.io/#x15.4.4.18
+if (!Array.prototype.forEach) {
+
+ Array.prototype.forEach = function(callback, thisArg) {
+
+ var T, k;
+
+ if (this == null) {
+ throw new TypeError(' this is null or not defined');
+ }
+
+ // 1. Let O be the result of calling ToObject passing the |this| value
+ // as the argument.
+ var O = Object(this);
+
+ // 2. Let lenValue be the result of calling the Get internal method of O
+ // with the argument "length".
+ // 3. Let len be ToUint32(lenValue).
+ var len = O.length >>> 0;
+
+ // 4. If IsCallable(callback) is false, throw a TypeError exception.
+ // See: http://es5.github.com/#x9.11
+ if (typeof callback !== "function") {
+ throw new TypeError(callback + ' is not a function');
+ }
+
+ // 5. If thisArg was supplied, let T be thisArg; else let T be
+ // undefined.
+ if (arguments.length > 1) {
+ T = thisArg;
+ }
+
+ // 6. Let k be 0
+ k = 0;
+
+ // 7. Repeat, while k < len
+ while (k < len) {
+
+ var kValue;
+
+ // a. Let Pk be ToString(k).
+ // This is implicit for LHS operands of the in operator
+ // b. Let kPresent be the result of calling the HasProperty internal
+ // method of O with argument Pk.
+ // This step can be combined with c
+ // c. If kPresent is true, then
+ if (k in O) {
+
+ // i. Let kValue be the result of calling the Get internal
+ // method of O with argument Pk.
+ kValue = O[k];
+
+ // ii. Call the Call internal method of callback with T as the
+ // this value and
+ // argument list containing kValue, k, and O.
+ callback.call(T, kValue, k, O);
+ }
+ // d. Increase k by 1.
+ k++;
+ }
+ // 8. return undefined
+ };
+}
+function postmanValidateAjaxResponse(response) {
+ if (response.data == undefined) {
+ // handle corrupt response
+ jQuery('#postman_test_message_status').html(
+ postman_email_test.ajax_error);
+ jQuery('#postman_test_message_status').css('color', 'red');
+ jQuery('#postman_test_message_error_message').val(
+ postman_ajax_msg.corrupt_response + ":\n\n" + response);
+ jQuery('li + li').removeClass('disabled');
+ return false;
+ }
+ return true;
+}
+function postmanValidateAjaxResponseWithPopup(response) {
+ if (response.data == undefined) {
+ alert(postman_ajax_msg.corrupt_response + ":\n\n"
+ + JSON.stringify(response, null, 4));
+ return false;
+ }
+ return true;
+} \ No newline at end of file
diff --git a/script/postman_resend_email_sript.js b/script/postman_resend_email_sript.js
new file mode 100644
index 0000000..1905bc5
--- /dev/null
+++ b/script/postman_resend_email_sript.js
@@ -0,0 +1,17 @@
+function postman_resend_email(emailId) {
+ var data = {
+ 'action' : 'postman_resend_mail',
+ 'email' : emailId
+ };
+
+ jQuery.post(ajaxurl, data, function(response) {
+ if (response.success) {
+ alert(response.data.message);
+// jQuery('span#resend-' + emailId).text(postman_js_resend_label);
+ } else {
+ alert(sprintf(postman_js_email_not_resent, response.data.message));
+ }
+ }).fail(function(response) {
+ ajaxFailed(response);
+ });
+}
diff --git a/script/sprintf/sprintf.min.js b/script/sprintf/sprintf.min.js
new file mode 100644
index 0000000..d5bcd09
--- /dev/null
+++ b/script/sprintf/sprintf.min.js
@@ -0,0 +1,4 @@
+/*! sprintf-js | Alexandru Marasteanu <hello@alexei.ro> (http://alexei.ro/) | BSD-3-Clause */
+
+!function(a){function b(){var a=arguments[0],c=b.cache;return c[a]&&c.hasOwnProperty(a)||(c[a]=b.parse(a)),b.format.call(null,c[a],arguments)}function c(a){return Object.prototype.toString.call(a).slice(8,-1).toLowerCase()}function d(a,b){return Array(b+1).join(a)}var e={not_string:/[^s]/,number:/[dief]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fiosuxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[\+\-]/};b.format=function(a,f){var g,h,i,j,k,l,m,n=1,o=a.length,p="",q=[],r=!0,s="";for(h=0;o>h;h++)if(p=c(a[h]),"string"===p)q[q.length]=a[h];else if("array"===p){if(j=a[h],j[2])for(g=f[n],i=0;i<j[2].length;i++){if(!g.hasOwnProperty(j[2][i]))throw new Error(b("[sprintf] property '%s' does not exist",j[2][i]));g=g[j[2][i]]}else g=j[1]?f[j[1]]:f[n++];if("function"==c(g)&&(g=g()),e.not_string.test(j[8])&&"number"!=c(g)&&isNaN(g))throw new TypeError(b("[sprintf] expecting number but found %s",c(g)));switch(e.number.test(j[8])&&(r=g>=0),j[8]){case"b":g=g.toString(2);break;case"c":g=String.fromCharCode(g);break;case"d":case"i":g=parseInt(g,10);break;case"e":g=j[7]?g.toExponential(j[7]):g.toExponential();break;case"f":g=j[7]?parseFloat(g).toFixed(j[7]):parseFloat(g);break;case"o":g=g.toString(8);break;case"s":g=(g=String(g))&&j[7]?g.substring(0,j[7]):g;break;case"u":g>>>=0;break;case"x":g=g.toString(16);break;case"X":g=g.toString(16).toUpperCase()}!e.number.test(j[8])||r&&!j[3]?s="":(s=r?"+":"-",g=g.toString().replace(e.sign,"")),l=j[4]?"0"===j[4]?"0":j[4].charAt(1):" ",m=j[6]-(s+g).length,k=j[6]&&m>0?d(l,m):"",q[q.length]=j[5]?s+g+k:"0"===l?s+k+g:k+s+g}return q.join("")},b.cache={},b.parse=function(a){for(var b=a,c=[],d=[],f=0;b;){if(null!==(c=e.text.exec(b)))d[d.length]=c[0];else if(null!==(c=e.modulo.exec(b)))d[d.length]="%";else{if(null===(c=e.placeholder.exec(b)))throw new SyntaxError("[sprintf] unexpected placeholder");if(c[2]){f|=1;var g=[],h=c[2],i=[];if(null===(i=e.key.exec(h)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(g[g.length]=i[1];""!==(h=h.substring(i[0].length));)if(null!==(i=e.key_access.exec(h)))g[g.length]=i[1];else{if(null===(i=e.index_access.exec(h)))throw new SyntaxError("[sprintf] failed to parse named argument key");g[g.length]=i[1]}c[2]=g}else f|=2;if(3===f)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");d[d.length]=c}b=b.substring(c[0].length)}return d};var f=function(a,c,d){return d=(c||[]).slice(0),d.splice(0,0,a),b.apply(null,d)};"undefined"!=typeof exports?(exports.sprintf=b,exports.vsprintf=f):(a.sprintf=b,a.vsprintf=f,"function"==typeof define&&define.amd&&define(function(){return{sprintf:b,vsprintf:f}}))}("undefined"==typeof window?this:window);
+//# sourceMappingURL=sprintf.min.map \ No newline at end of file
diff --git a/script/sprintf/sprintf.min.map b/script/sprintf/sprintf.min.map
new file mode 100644
index 0000000..33fe163
--- /dev/null
+++ b/script/sprintf/sprintf.min.map
@@ -0,0 +1 @@
+{"version":3,"file":"sprintf.min.js","sources":["../src/sprintf.js"],"names":["window","sprintf","key","arguments","cache","hasOwnProperty","parse","format","call","get_type","variable","Object","prototype","toString","slice","toLowerCase","str_repeat","input","multiplier","Array","join","re","not_string","number","text","modulo","placeholder","key_access","index_access","sign","parse_tree","argv","arg","i","k","match","pad","pad_character","pad_length","cursor","tree_length","length","node_type","output","is_positive","Error","test","isNaN","TypeError","String","fromCharCode","parseInt","toExponential","parseFloat","toFixed","substring","toUpperCase","replace","charAt","fmt","_fmt","arg_names","exec","SyntaxError","field_list","replacement_field","field_match","vsprintf","_argv","splice","apply","exports","define","amd","this"],"mappings":";;CAAA,SAAUA,GAaN,QAASC,KACL,GAAIC,GAAMC,UAAU,GAAIC,EAAQH,EAAQG,KAIxC,OAHMA,GAAMF,IAAQE,EAAMC,eAAeH,KACrCE,EAAMF,GAAOD,EAAQK,MAAMJ,IAExBD,EAAQM,OAAOC,KAAK,KAAMJ,EAAMF,GAAMC,WAoJjD,QAASM,GAASC,GACd,MAAOC,QAAOC,UAAUC,SAASL,KAAKE,GAAUI,MAAM,EAAG,IAAIC,cAGjE,QAASC,GAAWC,EAAOC,GACvB,MAAOC,OAAMD,EAAa,GAAGE,KAAKH,GA1KtC,GAAII,IACAC,WAAY,OACZC,OAAQ,SACRC,KAAM,YACNC,OAAQ,WACRC,YAAa,wFACbxB,IAAK,sBACLyB,WAAY,wBACZC,aAAc,aACdC,KAAM,UAWV5B,GAAQM,OAAS,SAASuB,EAAYC,GAClC,GAAiEC,GAAkBC,EAAGC,EAAGC,EAAOC,EAAKC,EAAeC,EAAhHC,EAAS,EAAGC,EAAcV,EAAWW,OAAQC,EAAY,GAASC,KAA0DC,GAAc,EAAMf,EAAO,EAC3J,KAAKI,EAAI,EAAOO,EAAJP,EAAiBA,IAEzB,GADAS,EAAYjC,EAASqB,EAAWG,IACd,WAAdS,EACAC,EAAOA,EAAOF,QAAUX,EAAWG,OAElC,IAAkB,UAAdS,EAAuB,CAE5B,GADAP,EAAQL,EAAWG,GACfE,EAAM,GAEN,IADAH,EAAMD,EAAKQ,GACNL,EAAI,EAAGA,EAAIC,EAAM,GAAGM,OAAQP,IAAK,CAClC,IAAKF,EAAI3B,eAAe8B,EAAM,GAAGD,IAC7B,KAAM,IAAIW,OAAM5C,EAAQ,yCAA0CkC,EAAM,GAAGD,IAE/EF,GAAMA,EAAIG,EAAM,GAAGD,QAIvBF,GADKG,EAAM,GACLJ,EAAKI,EAAM,IAGXJ,EAAKQ,IAOf,IAJqB,YAAjB9B,EAASuB,KACTA,EAAMA,KAGNX,EAAGC,WAAWwB,KAAKX,EAAM,KAAyB,UAAjB1B,EAASuB,IAAoBe,MAAMf,GACpE,KAAM,IAAIgB,WAAU/C,EAAQ,0CAA2CQ,EAASuB,IAOpF,QAJIX,EAAGE,OAAOuB,KAAKX,EAAM,MACrBS,EAAcZ,GAAO,GAGjBG,EAAM,IACV,IAAK,IACDH,EAAMA,EAAInB,SAAS,EACvB,MACA,KAAK,IACDmB,EAAMiB,OAAOC,aAAalB,EAC9B,MACA,KAAK,IACL,IAAK,IACDA,EAAMmB,SAASnB,EAAK,GACxB,MACA,KAAK,IACDA,EAAMG,EAAM,GAAKH,EAAIoB,cAAcjB,EAAM,IAAMH,EAAIoB,eACvD,MACA,KAAK,IACDpB,EAAMG,EAAM,GAAKkB,WAAWrB,GAAKsB,QAAQnB,EAAM,IAAMkB,WAAWrB,EACpE,MACA,KAAK,IACDA,EAAMA,EAAInB,SAAS,EACvB,MACA,KAAK,IACDmB,GAAQA,EAAMiB,OAAOjB,KAASG,EAAM,GAAKH,EAAIuB,UAAU,EAAGpB,EAAM,IAAMH,CAC1E,MACA,KAAK,IACDA,KAAc,CAClB,MACA,KAAK,IACDA,EAAMA,EAAInB,SAAS,GACvB,MACA,KAAK,IACDmB,EAAMA,EAAInB,SAAS,IAAI2C,eAG3BnC,EAAGE,OAAOuB,KAAKX,EAAM,KAASS,IAAeT,EAAM,GAKnDN,EAAO,IAJPA,EAAOe,EAAc,IAAM,IAC3BZ,EAAMA,EAAInB,WAAW4C,QAAQpC,EAAGQ,KAAM,KAK1CQ,EAAgBF,EAAM,GAAkB,MAAbA,EAAM,GAAa,IAAMA,EAAM,GAAGuB,OAAO,GAAK,IACzEpB,EAAaH,EAAM,IAAMN,EAAOG,GAAKS,OACrCL,EAAMD,EAAM,IAAMG,EAAa,EAAItB,EAAWqB,EAAeC,GAAoB,GACjFK,EAAOA,EAAOF,QAAUN,EAAM,GAAKN,EAAOG,EAAMI,EAAyB,MAAlBC,EAAwBR,EAAOO,EAAMJ,EAAMI,EAAMP,EAAOG,EAGvH,MAAOW,GAAOvB,KAAK,KAGvBnB,EAAQG,SAERH,EAAQK,MAAQ,SAASqD,GAErB,IADA,GAAIC,GAAOD,EAAKxB,KAAYL,KAAiB+B,EAAY,EAClDD,GAAM,CACT,GAAqC,QAAhCzB,EAAQd,EAAGG,KAAKsC,KAAKF,IACtB9B,EAAWA,EAAWW,QAAUN,EAAM,OAErC,IAAuC,QAAlCA,EAAQd,EAAGI,OAAOqC,KAAKF,IAC7B9B,EAAWA,EAAWW,QAAU,QAE/B,CAAA,GAA4C,QAAvCN,EAAQd,EAAGK,YAAYoC,KAAKF,IAgClC,KAAM,IAAIG,aAAY,mCA/BtB,IAAI5B,EAAM,GAAI,CACV0B,GAAa,CACb,IAAIG,MAAiBC,EAAoB9B,EAAM,GAAI+B,IACnD,IAAuD,QAAlDA,EAAc7C,EAAGnB,IAAI4D,KAAKG,IAe3B,KAAM,IAAIF,aAAY,+CAbtB,KADAC,EAAWA,EAAWvB,QAAUyB,EAAY,GACwC,MAA5ED,EAAoBA,EAAkBV,UAAUW,EAAY,GAAGzB,UACnE,GAA8D,QAAzDyB,EAAc7C,EAAGM,WAAWmC,KAAKG,IAClCD,EAAWA,EAAWvB,QAAUyB,EAAY,OAE3C,CAAA,GAAgE,QAA3DA,EAAc7C,EAAGO,aAAakC,KAAKG,IAIzC,KAAM,IAAIF,aAAY,+CAHtBC,GAAWA,EAAWvB,QAAUyB,EAAY,GAUxD/B,EAAM,GAAK6B,MAGXH,IAAa,CAEjB,IAAkB,IAAdA,EACA,KAAM,IAAIhB,OAAM,4EAEpBf,GAAWA,EAAWW,QAAUN,EAKpCyB,EAAOA,EAAKL,UAAUpB,EAAM,GAAGM,QAEnC,MAAOX,GAGX,IAAIqC,GAAW,SAASR,EAAK5B,EAAMqC,GAG/B,MAFAA,IAASrC,OAAYjB,MAAM,GAC3BsD,EAAMC,OAAO,EAAG,EAAGV,GACZ1D,EAAQqE,MAAM,KAAMF,GAiBR,oBAAZG,UACPA,QAAQtE,QAAUA,EAClBsE,QAAQJ,SAAWA,IAGnBnE,EAAOC,QAAUA,EACjBD,EAAOmE,SAAWA,EAEI,kBAAXK,SAAyBA,OAAOC,KACvCD,OAAO,WACH,OACIvE,QAASA,EACTkE,SAAUA,OAKT,mBAAXnE,QAAyB0E,KAAO1E"} \ No newline at end of file
diff --git a/style/ajax-loader.gif b/style/ajax-loader.gif
new file mode 100644
index 0000000..b600571
--- /dev/null
+++ b/style/ajax-loader.gif
Binary files differ
diff --git a/style/jquery-steps/jquery-ui.css b/style/jquery-steps/jquery-ui.css
new file mode 100644
index 0000000..53b290a
--- /dev/null
+++ b/style/jquery-steps/jquery-ui.css
@@ -0,0 +1,1175 @@
+/*! jQuery UI - v1.10.3 - 2013-05-03
+* http://jqueryui.com
+* Includes: jquery.ui.core.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css
+* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
+* Copyright 2013 jQuery Foundation and other contributors Licensed MIT */
+
+/* Layout helpers
+----------------------------------*/
+.ui-helper-hidden {
+ display: none;
+}
+.ui-helper-hidden-accessible {
+ border: 0;
+ clip: rect(0 0 0 0);
+ height: 1px;
+ margin: -1px;
+ overflow: hidden;
+ padding: 0;
+ position: absolute;
+ width: 1px;
+}
+.ui-helper-reset {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ outline: 0;
+ line-height: 1.3;
+ text-decoration: none;
+ font-size: 100%;
+ list-style: none;
+}
+.ui-helper-clearfix:before,
+.ui-helper-clearfix:after {
+ content: "";
+ display: table;
+ border-collapse: collapse;
+}
+.ui-helper-clearfix:after {
+ clear: both;
+}
+.ui-helper-clearfix {
+ min-height: 0; /* support: IE7 */
+}
+.ui-helper-zfix {
+ width: 100%;
+ height: 100%;
+ top: 0;
+ left: 0;
+ position: absolute;
+ opacity: 0;
+ filter:Alpha(Opacity=0);
+}
+
+.ui-front {
+ z-index: 100;
+}
+
+
+/* Interaction Cues
+----------------------------------*/
+.ui-state-disabled {
+ cursor: default !important;
+}
+
+
+/* Icons
+----------------------------------*/
+
+/* states and images */
+.ui-icon {
+ display: block;
+ text-indent: -99999px;
+ overflow: hidden;
+ background-repeat: no-repeat;
+}
+
+
+/* Misc visuals
+----------------------------------*/
+
+/* Overlays */
+.ui-widget-overlay {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+}
+.ui-accordion .ui-accordion-header {
+ display: block;
+ cursor: pointer;
+ position: relative;
+ margin-top: 2px;
+ padding: .5em .5em .5em .7em;
+ min-height: 0; /* support: IE7 */
+}
+.ui-accordion .ui-accordion-icons {
+ padding-left: 2.2em;
+}
+.ui-accordion .ui-accordion-noicons {
+ padding-left: .7em;
+}
+.ui-accordion .ui-accordion-icons .ui-accordion-icons {
+ padding-left: 2.2em;
+}
+.ui-accordion .ui-accordion-header .ui-accordion-header-icon {
+ position: absolute;
+ left: .5em;
+ top: 50%;
+ margin-top: -8px;
+}
+.ui-accordion .ui-accordion-content {
+ padding: 1em 2.2em;
+ border-top: 0;
+ overflow: auto;
+}
+.ui-autocomplete {
+ position: absolute;
+ top: 0;
+ left: 0;
+ cursor: default;
+}
+.ui-button {
+ display: inline-block;
+ position: relative;
+ padding: 0;
+ line-height: normal;
+ margin-right: .1em;
+ cursor: pointer;
+ vertical-align: middle;
+ text-align: center;
+ overflow: visible; /* removes extra width in IE */
+}
+.ui-button,
+.ui-button:link,
+.ui-button:visited,
+.ui-button:hover,
+.ui-button:active {
+ text-decoration: none;
+}
+/* to make room for the icon, a width needs to be set here */
+.ui-button-icon-only {
+ width: 2.2em;
+}
+/* button elements seem to need a little more width */
+button.ui-button-icon-only {
+ width: 2.4em;
+}
+.ui-button-icons-only {
+ width: 3.4em;
+}
+button.ui-button-icons-only {
+ width: 3.7em;
+}
+
+/* button text element */
+.ui-button .ui-button-text {
+ display: block;
+ line-height: normal;
+}
+.ui-button-text-only .ui-button-text {
+ padding: .4em 1em;
+}
+.ui-button-icon-only .ui-button-text,
+.ui-button-icons-only .ui-button-text {
+ padding: .4em;
+ text-indent: -9999999px;
+}
+.ui-button-text-icon-primary .ui-button-text,
+.ui-button-text-icons .ui-button-text {
+ padding: .4em 1em .4em 2.1em;
+}
+.ui-button-text-icon-secondary .ui-button-text,
+.ui-button-text-icons .ui-button-text {
+ padding: .4em 2.1em .4em 1em;
+}
+.ui-button-text-icons .ui-button-text {
+ padding-left: 2.1em;
+ padding-right: 2.1em;
+}
+/* no icon support for input elements, provide padding by default */
+input.ui-button {
+ padding: .4em 1em;
+}
+
+/* button icon element(s) */
+.ui-button-icon-only .ui-icon,
+.ui-button-text-icon-primary .ui-icon,
+.ui-button-text-icon-secondary .ui-icon,
+.ui-button-text-icons .ui-icon,
+.ui-button-icons-only .ui-icon {
+ position: absolute;
+ top: 50%;
+ margin-top: -8px;
+}
+.ui-button-icon-only .ui-icon {
+ left: 50%;
+ margin-left: -8px;
+}
+.ui-button-text-icon-primary .ui-button-icon-primary,
+.ui-button-text-icons .ui-button-icon-primary,
+.ui-button-icons-only .ui-button-icon-primary {
+ left: .5em;
+}
+.ui-button-text-icon-secondary .ui-button-icon-secondary,
+.ui-button-text-icons .ui-button-icon-secondary,
+.ui-button-icons-only .ui-button-icon-secondary {
+ right: .5em;
+}
+
+/* button sets */
+.ui-buttonset {
+ margin-right: 7px;
+}
+.ui-buttonset .ui-button {
+ margin-left: 0;
+ margin-right: -.3em;
+}
+
+/* workarounds */
+/* reset extra padding in Firefox, see h5bp.com/l */
+input.ui-button::-moz-focus-inner,
+button.ui-button::-moz-focus-inner {
+ border: 0;
+ padding: 0;
+}
+.ui-datepicker {
+ width: 17em;
+ padding: .2em .2em 0;
+ display: none;
+}
+.ui-datepicker .ui-datepicker-header {
+ position: relative;
+ padding: .2em 0;
+}
+.ui-datepicker .ui-datepicker-prev,
+.ui-datepicker .ui-datepicker-next {
+ position: absolute;
+ top: 2px;
+ width: 1.8em;
+ height: 1.8em;
+}
+.ui-datepicker .ui-datepicker-prev-hover,
+.ui-datepicker .ui-datepicker-next-hover {
+ top: 1px;
+}
+.ui-datepicker .ui-datepicker-prev {
+ left: 2px;
+}
+.ui-datepicker .ui-datepicker-next {
+ right: 2px;
+}
+.ui-datepicker .ui-datepicker-prev-hover {
+ left: 1px;
+}
+.ui-datepicker .ui-datepicker-next-hover {
+ right: 1px;
+}
+.ui-datepicker .ui-datepicker-prev span,
+.ui-datepicker .ui-datepicker-next span {
+ display: block;
+ position: absolute;
+ left: 50%;
+ margin-left: -8px;
+ top: 50%;
+ margin-top: -8px;
+}
+.ui-datepicker .ui-datepicker-title {
+ margin: 0 2.3em;
+ line-height: 1.8em;
+ text-align: center;
+}
+.ui-datepicker .ui-datepicker-title select {
+ font-size: 1em;
+ margin: 1px 0;
+}
+.ui-datepicker select.ui-datepicker-month-year {
+ width: 100%;
+}
+.ui-datepicker select.ui-datepicker-month,
+.ui-datepicker select.ui-datepicker-year {
+ width: 49%;
+}
+.ui-datepicker table {
+ width: 100%;
+ font-size: .9em;
+ border-collapse: collapse;
+ margin: 0 0 .4em;
+}
+.ui-datepicker th {
+ padding: .7em .3em;
+ text-align: center;
+ font-weight: bold;
+ border: 0;
+}
+.ui-datepicker td {
+ border: 0;
+ padding: 1px;
+}
+.ui-datepicker td span,
+.ui-datepicker td a {
+ display: block;
+ padding: .2em;
+ text-align: right;
+ text-decoration: none;
+}
+.ui-datepicker .ui-datepicker-buttonpane {
+ background-image: none;
+ margin: .7em 0 0 0;
+ padding: 0 .2em;
+ border-left: 0;
+ border-right: 0;
+ border-bottom: 0;
+}
+.ui-datepicker .ui-datepicker-buttonpane button {
+ float: right;
+ margin: .5em .2em .4em;
+ cursor: pointer;
+ padding: .2em .6em .3em .6em;
+ width: auto;
+ overflow: visible;
+}
+.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
+ float: left;
+}
+
+/* with multiple calendars */
+.ui-datepicker.ui-datepicker-multi {
+ width: auto;
+}
+.ui-datepicker-multi .ui-datepicker-group {
+ float: left;
+}
+.ui-datepicker-multi .ui-datepicker-group table {
+ width: 95%;
+ margin: 0 auto .4em;
+}
+.ui-datepicker-multi-2 .ui-datepicker-group {
+ width: 50%;
+}
+.ui-datepicker-multi-3 .ui-datepicker-group {
+ width: 33.3%;
+}
+.ui-datepicker-multi-4 .ui-datepicker-group {
+ width: 25%;
+}
+.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
+.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
+ border-left-width: 0;
+}
+.ui-datepicker-multi .ui-datepicker-buttonpane {
+ clear: left;
+}
+.ui-datepicker-row-break {
+ clear: both;
+ width: 100%;
+ font-size: 0;
+}
+
+/* RTL support */
+.ui-datepicker-rtl {
+ direction: rtl;
+}
+.ui-datepicker-rtl .ui-datepicker-prev {
+ right: 2px;
+ left: auto;
+}
+.ui-datepicker-rtl .ui-datepicker-next {
+ left: 2px;
+ right: auto;
+}
+.ui-datepicker-rtl .ui-datepicker-prev:hover {
+ right: 1px;
+ left: auto;
+}
+.ui-datepicker-rtl .ui-datepicker-next:hover {
+ left: 1px;
+ right: auto;
+}
+.ui-datepicker-rtl .ui-datepicker-buttonpane {
+ clear: right;
+}
+.ui-datepicker-rtl .ui-datepicker-buttonpane button {
+ float: left;
+}
+.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
+.ui-datepicker-rtl .ui-datepicker-group {
+ float: right;
+}
+.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
+.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
+ border-right-width: 0;
+ border-left-width: 1px;
+}
+.ui-dialog {
+ position: absolute;
+ top: 0;
+ left: 0;
+ padding: .2em;
+ outline: 0;
+}
+.ui-dialog .ui-dialog-titlebar {
+ padding: .4em 1em;
+ position: relative;
+}
+.ui-dialog .ui-dialog-title {
+ float: left;
+ margin: .1em 0;
+ white-space: nowrap;
+ width: 90%;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+.ui-dialog .ui-dialog-titlebar-close {
+ position: absolute;
+ right: .3em;
+ top: 50%;
+ width: 21px;
+ margin: -10px 0 0 0;
+ padding: 1px;
+ height: 20px;
+}
+.ui-dialog .ui-dialog-content {
+ position: relative;
+ border: 0;
+ padding: .5em 1em;
+ background: none;
+ overflow: auto;
+}
+.ui-dialog .ui-dialog-buttonpane {
+ text-align: left;
+ border-width: 1px 0 0 0;
+ background-image: none;
+ margin-top: .5em;
+ padding: .3em 1em .5em .4em;
+}
+.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
+ float: right;
+}
+.ui-dialog .ui-dialog-buttonpane button {
+ margin: .5em .4em .5em 0;
+ cursor: pointer;
+}
+.ui-dialog .ui-resizable-se {
+ width: 12px;
+ height: 12px;
+ right: -5px;
+ bottom: -5px;
+ background-position: 16px 16px;
+}
+.ui-draggable .ui-dialog-titlebar {
+ cursor: move;
+}
+.ui-menu {
+ list-style: none;
+ padding: 2px;
+ margin: 0;
+ display: block;
+ outline: none;
+}
+.ui-menu .ui-menu {
+ margin-top: -3px;
+ position: absolute;
+}
+.ui-menu .ui-menu-item {
+ margin: 0;
+ padding: 0;
+ width: 100%;
+ /* support: IE10, see #8844 */
+ list-style-image: none;
+}
+.ui-menu .ui-menu-divider {
+ margin: 5px -2px 5px -2px;
+ height: 0;
+ font-size: 0;
+ line-height: 0;
+ border-width: 1px 0 0 0;
+}
+.ui-menu .ui-menu-item a {
+ text-decoration: none;
+ display: block;
+ padding: 2px .4em;
+ line-height: 1.5;
+ min-height: 0; /* support: IE7 */
+ font-weight: normal;
+}
+.ui-menu .ui-menu-item a.ui-state-focus,
+.ui-menu .ui-menu-item a.ui-state-active {
+ font-weight: normal;
+ margin: -1px;
+}
+
+.ui-menu .ui-state-disabled {
+ font-weight: normal;
+ margin: .4em 0 .2em;
+ line-height: 1.5;
+}
+.ui-menu .ui-state-disabled a {
+ cursor: default;
+}
+
+/* icon support */
+.ui-menu-icons {
+ position: relative;
+}
+.ui-menu-icons .ui-menu-item a {
+ position: relative;
+ padding-left: 2em;
+}
+
+/* left-aligned */
+.ui-menu .ui-icon {
+ position: absolute;
+ top: .2em;
+ left: .2em;
+}
+
+/* right-aligned */
+.ui-menu .ui-menu-icon {
+ position: static;
+ float: right;
+}
+.ui-progressbar {
+ height: 2em;
+ text-align: left;
+ overflow: hidden;
+}
+.ui-progressbar .ui-progressbar-value {
+ margin: -1px;
+ height: 100%;
+}
+.ui-progressbar .ui-progressbar-overlay {
+ background: none;
+ height: 100%;
+ filter: alpha(opacity=25);
+ opacity: 0.25;
+}
+.ui-progressbar-indeterminate .ui-progressbar-value {
+ background-image: none;
+}
+.ui-resizable {
+ position: relative;
+}
+.ui-resizable-handle {
+ position: absolute;
+ font-size: 0.1px;
+ display: block;
+}
+.ui-resizable-disabled .ui-resizable-handle,
+.ui-resizable-autohide .ui-resizable-handle {
+ display: none;
+}
+.ui-resizable-n {
+ cursor: n-resize;
+ height: 7px;
+ width: 100%;
+ top: -5px;
+ left: 0;
+}
+.ui-resizable-s {
+ cursor: s-resize;
+ height: 7px;
+ width: 100%;
+ bottom: -5px;
+ left: 0;
+}
+.ui-resizable-e {
+ cursor: e-resize;
+ width: 7px;
+ right: -5px;
+ top: 0;
+ height: 100%;
+}
+.ui-resizable-w {
+ cursor: w-resize;
+ width: 7px;
+ left: -5px;
+ top: 0;
+ height: 100%;
+}
+.ui-resizable-se {
+ cursor: se-resize;
+ width: 12px;
+ height: 12px;
+ right: 1px;
+ bottom: 1px;
+}
+.ui-resizable-sw {
+ cursor: sw-resize;
+ width: 9px;
+ height: 9px;
+ left: -5px;
+ bottom: -5px;
+}
+.ui-resizable-nw {
+ cursor: nw-resize;
+ width: 9px;
+ height: 9px;
+ left: -5px;
+ top: -5px;
+}
+.ui-resizable-ne {
+ cursor: ne-resize;
+ width: 9px;
+ height: 9px;
+ right: -5px;
+ top: -5px;
+}
+.ui-selectable-helper {
+ position: absolute;
+ z-index: 100;
+ border: 1px dotted black;
+}
+.ui-slider {
+ position: relative;
+ text-align: left;
+}
+.ui-slider .ui-slider-handle {
+ position: absolute;
+ z-index: 2;
+ width: 1.2em;
+ height: 1.2em;
+ cursor: default;
+}
+.ui-slider .ui-slider-range {
+ position: absolute;
+ z-index: 1;
+ font-size: .7em;
+ display: block;
+ border: 0;
+ background-position: 0 0;
+}
+
+/* For IE8 - See #6727 */
+.ui-slider.ui-state-disabled .ui-slider-handle,
+.ui-slider.ui-state-disabled .ui-slider-range {
+ filter: inherit;
+}
+
+.ui-slider-horizontal {
+ height: .8em;
+}
+.ui-slider-horizontal .ui-slider-handle {
+ top: -.3em;
+ margin-left: -.6em;
+}
+.ui-slider-horizontal .ui-slider-range {
+ top: 0;
+ height: 100%;
+}
+.ui-slider-horizontal .ui-slider-range-min {
+ left: 0;
+}
+.ui-slider-horizontal .ui-slider-range-max {
+ right: 0;
+}
+
+.ui-slider-vertical {
+ width: .8em;
+ height: 100px;
+}
+.ui-slider-vertical .ui-slider-handle {
+ left: -.3em;
+ margin-left: 0;
+ margin-bottom: -.6em;
+}
+.ui-slider-vertical .ui-slider-range {
+ left: 0;
+ width: 100%;
+}
+.ui-slider-vertical .ui-slider-range-min {
+ bottom: 0;
+}
+.ui-slider-vertical .ui-slider-range-max {
+ top: 0;
+}
+.ui-spinner {
+ position: relative;
+ display: inline-block;
+ overflow: hidden;
+ padding: 0;
+ vertical-align: middle;
+}
+.ui-spinner-input {
+ border: none;
+ background: none;
+ color: inherit;
+ padding: 0;
+ margin: .2em 0;
+ vertical-align: middle;
+ margin-left: .4em;
+ margin-right: 22px;
+}
+.ui-spinner-button {
+ width: 16px;
+ height: 50%;
+ font-size: .5em;
+ padding: 0;
+ margin: 0;
+ text-align: center;
+ position: absolute;
+ cursor: default;
+ display: block;
+ overflow: hidden;
+ right: 0;
+}
+/* more specificity required here to overide default borders */
+.ui-spinner a.ui-spinner-button {
+ border-top: none;
+ border-bottom: none;
+ border-right: none;
+}
+/* vertical centre icon */
+.ui-spinner .ui-icon {
+ position: absolute;
+ margin-top: -8px;
+ top: 50%;
+ left: 0;
+}
+.ui-spinner-up {
+ top: 0;
+}
+.ui-spinner-down {
+ bottom: 0;
+}
+
+/* TR overrides */
+.ui-spinner .ui-icon-triangle-1-s {
+ /* need to fix icons sprite */
+ background-position: -65px -16px;
+}
+.ui-tabs {
+ position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
+ padding: .2em;
+}
+.ui-tabs .ui-tabs-nav {
+ margin: 0;
+ padding: .2em .2em 0;
+}
+.ui-tabs .ui-tabs-nav li {
+ list-style: none;
+ float: left;
+ position: relative;
+ top: 0;
+ margin: 1px .2em 0 0;
+ border-bottom-width: 0;
+ padding: 0;
+ white-space: nowrap;
+}
+.ui-tabs .ui-tabs-nav li a {
+ float: left;
+ padding: .5em 1em;
+ text-decoration: none;
+}
+.ui-tabs .ui-tabs-nav li.ui-tabs-active {
+ margin-bottom: -1px;
+ padding-bottom: 1px;
+}
+.ui-tabs .ui-tabs-nav li.ui-tabs-active a,
+.ui-tabs .ui-tabs-nav li.ui-state-disabled a,
+.ui-tabs .ui-tabs-nav li.ui-tabs-loading a {
+ cursor: text;
+}
+.ui-tabs .ui-tabs-nav li a, /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
+.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a {
+ cursor: pointer;
+}
+.ui-tabs .ui-tabs-panel {
+ display: block;
+ border-width: 0;
+ padding: 1em 1.4em;
+ background: none;
+}
+.ui-tooltip {
+ padding: 8px;
+ position: absolute;
+ z-index: 9999;
+ max-width: 300px;
+ -webkit-box-shadow: 0 0 5px #aaa;
+ box-shadow: 0 0 5px #aaa;
+}
+body .ui-tooltip {
+ border-width: 2px;
+}
+
+/* Component containers
+----------------------------------*/
+.ui-widget {
+ font-size: 1.1em;
+}
+.ui-widget .ui-widget {
+ font-size: 1em;
+}
+.ui-widget input,
+.ui-widget select,
+.ui-widget textarea,
+.ui-widget button {
+ font-size: 1em;
+}
+.ui-widget-content {
+ border: none;
+ background-color: #eee;
+ color: #222222;
+}
+.ui-widget-content a {
+ color: #222222;
+}
+.ui-widget-header {
+ border-bottom: 1px solid #ccc;
+ background-color: white;
+ color: #222222;
+ font-weight: bold;
+}
+.ui-widget-header a {
+ color: #222222;
+}
+
+/* Interaction states
+----------------------------------*/
+.ui-state-default,
+.ui-widget-content .ui-state-default,
+.ui-widget-header .ui-state-default {
+ border: 1px solid #d3d3d3;
+ background-color: #9dc8e2;
+ font-weight: normal;
+ color: white;
+}
+.ui-state-default a,
+.ui-state-default a:link,
+.ui-state-default a:visited {
+ color: white;
+ text-decoration: none;
+}
+.ui-state-hover,
+.ui-widget-content .ui-state-hover,
+.ui-widget-header .ui-state-hover,
+.ui-state-focus,
+.ui-widget-content .ui-state-focus,
+.ui-widget-header .ui-state-focus {
+ border: 1px solid #999999;
+ background-color: 9dc8e2;
+ font-weight: normal;
+ color: white;
+}
+.ui-state-hover a,
+.ui-state-hover a:hover,
+.ui-state-hover a:link,
+.ui-state-hover a:visited {
+ color: white;
+ text-decoration: none;
+}
+.ui-state-active,
+.ui-widget-content .ui-state-active,
+.ui-widget-header .ui-state-active {
+ border: 1px solid #aaaaaa;
+ background-color: #2184be;
+ font-weight: normal;
+ color: white;
+}
+.ui-state-active a,
+.ui-state-active a:link,
+.ui-state-active a:visited {
+ color: white;
+ text-decoration: none;
+}
+
+/* Interaction Cues
+----------------------------------*/
+.ui-state-highlight,
+.ui-widget-content .ui-state-highlight,
+.ui-widget-header .ui-state-highlight {
+ border: 1px solid #fcefa1;
+ background-color: #fbf9ee;
+ color: #363636;
+}
+.ui-state-highlight a,
+.ui-widget-content .ui-state-highlight a,
+.ui-widget-header .ui-state-highlight a {
+ color: #363636;
+}
+.ui-state-error,
+.ui-widget-content .ui-state-error,
+.ui-widget-header .ui-state-error {
+ border: 1px solid #cd0a0a;
+ background-color: #fef1ec;
+ color: #cd0a0a;
+}
+.ui-state-error a,
+.ui-widget-content .ui-state-error a,
+.ui-widget-header .ui-state-error a {
+ color: #cd0a0a;
+}
+.ui-state-error-text,
+.ui-widget-content .ui-state-error-text,
+.ui-widget-header .ui-state-error-text {
+ color: #cd0a0a;
+}
+.ui-priority-primary,
+.ui-widget-content .ui-priority-primary,
+.ui-widget-header .ui-priority-primary {
+ font-weight: bold;
+}
+.ui-priority-secondary,
+.ui-widget-content .ui-priority-secondary,
+.ui-widget-header .ui-priority-secondary {
+ opacity: .7;
+ filter:Alpha(Opacity=70);
+ font-weight: normal;
+}
+.ui-state-disabled,
+.ui-widget-content .ui-state-disabled,
+.ui-widget-header .ui-state-disabled {
+ opacity: .35;
+ filter:Alpha(Opacity=35);
+ background-image: none;
+}
+.ui-state-disabled .ui-icon {
+ filter:Alpha(Opacity=35); /* For IE8 - See #6059 */
+}
+
+/* Icons
+----------------------------------*/
+
+/* states and images */
+.ui-icon {
+ width: 16px;
+ height: 16px;
+}
+.ui-icon,
+.ui-widget-content .ui-icon {
+ background-image: none;
+}
+.ui-widget-header .ui-icon {
+ background-image: none;
+}
+.ui-state-default .ui-icon {
+ background-image: none;
+}
+.ui-state-hover .ui-icon,
+.ui-state-focus .ui-icon {
+ background-image: none;
+}
+.ui-state-active .ui-icon {
+ background-image: none;
+}
+.ui-state-highlight .ui-icon {
+ background-image: none;
+}
+.ui-state-error .ui-icon,
+.ui-state-error-text .ui-icon {
+ background-image: none;
+}
+
+/* positioning */
+.ui-icon-blank { background-position: 16px 16px; }
+.ui-icon-carat-1-n { background-position: 0 0; }
+.ui-icon-carat-1-ne { background-position: -16px 0; }
+.ui-icon-carat-1-e { background-position: -32px 0; }
+.ui-icon-carat-1-se { background-position: -48px 0; }
+.ui-icon-carat-1-s { background-position: -64px 0; }
+.ui-icon-carat-1-sw { background-position: -80px 0; }
+.ui-icon-carat-1-w { background-position: -96px 0; }
+.ui-icon-carat-1-nw { background-position: -112px 0; }
+.ui-icon-carat-2-n-s { background-position: -128px 0; }
+.ui-icon-carat-2-e-w { background-position: -144px 0; }
+.ui-icon-triangle-1-n { background-position: 0 -16px; }
+.ui-icon-triangle-1-ne { background-position: -16px -16px; }
+.ui-icon-triangle-1-e { background-position: -32px -16px; }
+.ui-icon-triangle-1-se { background-position: -48px -16px; }
+.ui-icon-triangle-1-s { background-position: -64px -16px; }
+.ui-icon-triangle-1-sw { background-position: -80px -16px; }
+.ui-icon-triangle-1-w { background-position: -96px -16px; }
+.ui-icon-triangle-1-nw { background-position: -112px -16px; }
+.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
+.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
+.ui-icon-arrow-1-n { background-position: 0 -32px; }
+.ui-icon-arrow-1-ne { background-position: -16px -32px; }
+.ui-icon-arrow-1-e { background-position: -32px -32px; }
+.ui-icon-arrow-1-se { background-position: -48px -32px; }
+.ui-icon-arrow-1-s { background-position: -64px -32px; }
+.ui-icon-arrow-1-sw { background-position: -80px -32px; }
+.ui-icon-arrow-1-w { background-position: -96px -32px; }
+.ui-icon-arrow-1-nw { background-position: -112px -32px; }
+.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
+.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
+.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
+.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
+.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
+.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
+.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
+.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
+.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
+.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
+.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
+.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
+.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
+.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
+.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
+.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
+.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
+.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
+.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
+.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
+.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
+.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
+.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
+.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
+.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
+.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
+.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
+.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
+.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
+.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
+.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
+.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
+.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
+.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
+.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
+.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
+.ui-icon-arrow-4 { background-position: 0 -80px; }
+.ui-icon-arrow-4-diag { background-position: -16px -80px; }
+.ui-icon-extlink { background-position: -32px -80px; }
+.ui-icon-newwin { background-position: -48px -80px; }
+.ui-icon-refresh { background-position: -64px -80px; }
+.ui-icon-shuffle { background-position: -80px -80px; }
+.ui-icon-transfer-e-w { background-position: -96px -80px; }
+.ui-icon-transferthick-e-w { background-position: -112px -80px; }
+.ui-icon-folder-collapsed { background-position: 0 -96px; }
+.ui-icon-folder-open { background-position: -16px -96px; }
+.ui-icon-document { background-position: -32px -96px; }
+.ui-icon-document-b { background-position: -48px -96px; }
+.ui-icon-note { background-position: -64px -96px; }
+.ui-icon-mail-closed { background-position: -80px -96px; }
+.ui-icon-mail-open { background-position: -96px -96px; }
+.ui-icon-suitcase { background-position: -112px -96px; }
+.ui-icon-comment { background-position: -128px -96px; }
+.ui-icon-person { background-position: -144px -96px; }
+.ui-icon-print { background-position: -160px -96px; }
+.ui-icon-trash { background-position: -176px -96px; }
+.ui-icon-locked { background-position: -192px -96px; }
+.ui-icon-unlocked { background-position: -208px -96px; }
+.ui-icon-bookmark { background-position: -224px -96px; }
+.ui-icon-tag { background-position: -240px -96px; }
+.ui-icon-home { background-position: 0 -112px; }
+.ui-icon-flag { background-position: -16px -112px; }
+.ui-icon-calendar { background-position: -32px -112px; }
+.ui-icon-cart { background-position: -48px -112px; }
+.ui-icon-pencil { background-position: -64px -112px; }
+.ui-icon-clock { background-position: -80px -112px; }
+.ui-icon-disk { background-position: -96px -112px; }
+.ui-icon-calculator { background-position: -112px -112px; }
+.ui-icon-zoomin { background-position: -128px -112px; }
+.ui-icon-zoomout { background-position: -144px -112px; }
+.ui-icon-search { background-position: -160px -112px; }
+.ui-icon-wrench { background-position: -176px -112px; }
+.ui-icon-gear { background-position: -192px -112px; }
+.ui-icon-heart { background-position: -208px -112px; }
+.ui-icon-star { background-position: -224px -112px; }
+.ui-icon-link { background-position: -240px -112px; }
+.ui-icon-cancel { background-position: 0 -128px; }
+.ui-icon-plus { background-position: -16px -128px; }
+.ui-icon-plusthick { background-position: -32px -128px; }
+.ui-icon-minus { background-position: -48px -128px; }
+.ui-icon-minusthick { background-position: -64px -128px; }
+.ui-icon-close { background-position: -80px -128px; }
+.ui-icon-closethick { background-position: -96px -128px; }
+.ui-icon-key { background-position: -112px -128px; }
+.ui-icon-lightbulb { background-position: -128px -128px; }
+.ui-icon-scissors { background-position: -144px -128px; }
+.ui-icon-clipboard { background-position: -160px -128px; }
+.ui-icon-copy { background-position: -176px -128px; }
+.ui-icon-contact { background-position: -192px -128px; }
+.ui-icon-image { background-position: -208px -128px; }
+.ui-icon-video { background-position: -224px -128px; }
+.ui-icon-script { background-position: -240px -128px; }
+.ui-icon-alert { background-position: 0 -144px; }
+.ui-icon-info { background-position: -16px -144px; }
+.ui-icon-notice { background-position: -32px -144px; }
+.ui-icon-help { background-position: -48px -144px; }
+.ui-icon-check { background-position: -64px -144px; }
+.ui-icon-bullet { background-position: -80px -144px; }
+.ui-icon-radio-on { background-position: -96px -144px; }
+.ui-icon-radio-off { background-position: -112px -144px; }
+.ui-icon-pin-w { background-position: -128px -144px; }
+.ui-icon-pin-s { background-position: -144px -144px; }
+.ui-icon-play { background-position: 0 -160px; }
+.ui-icon-pause { background-position: -16px -160px; }
+.ui-icon-seek-next { background-position: -32px -160px; }
+.ui-icon-seek-prev { background-position: -48px -160px; }
+.ui-icon-seek-end { background-position: -64px -160px; }
+.ui-icon-seek-start { background-position: -80px -160px; }
+/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
+.ui-icon-seek-first { background-position: -80px -160px; }
+.ui-icon-stop { background-position: -96px -160px; }
+.ui-icon-eject { background-position: -112px -160px; }
+.ui-icon-volume-off { background-position: -128px -160px; }
+.ui-icon-volume-on { background-position: -144px -160px; }
+.ui-icon-power { background-position: 0 -176px; }
+.ui-icon-signal-diag { background-position: -16px -176px; }
+.ui-icon-signal { background-position: -32px -176px; }
+.ui-icon-battery-0 { background-position: -48px -176px; }
+.ui-icon-battery-1 { background-position: -64px -176px; }
+.ui-icon-battery-2 { background-position: -80px -176px; }
+.ui-icon-battery-3 { background-position: -96px -176px; }
+.ui-icon-circle-plus { background-position: 0 -192px; }
+.ui-icon-circle-minus { background-position: -16px -192px; }
+.ui-icon-circle-close { background-position: -32px -192px; }
+.ui-icon-circle-triangle-e { background-position: -48px -192px; }
+.ui-icon-circle-triangle-s { background-position: -64px -192px; }
+.ui-icon-circle-triangle-w { background-position: -80px -192px; }
+.ui-icon-circle-triangle-n { background-position: -96px -192px; }
+.ui-icon-circle-arrow-e { background-position: -112px -192px; }
+.ui-icon-circle-arrow-s { background-position: -128px -192px; }
+.ui-icon-circle-arrow-w { background-position: -144px -192px; }
+.ui-icon-circle-arrow-n { background-position: -160px -192px; }
+.ui-icon-circle-zoomin { background-position: -176px -192px; }
+.ui-icon-circle-zoomout { background-position: -192px -192px; }
+.ui-icon-circle-check { background-position: -208px -192px; }
+.ui-icon-circlesmall-plus { background-position: 0 -208px; }
+.ui-icon-circlesmall-minus { background-position: -16px -208px; }
+.ui-icon-circlesmall-close { background-position: -32px -208px; }
+.ui-icon-squaresmall-plus { background-position: -48px -208px; }
+.ui-icon-squaresmall-minus { background-position: -64px -208px; }
+.ui-icon-squaresmall-close { background-position: -80px -208px; }
+.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
+.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
+.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
+.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
+.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
+.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
+
+
+/* Misc visuals
+----------------------------------*/
+
+/* Corner radius */
+.ui-corner-all,
+.ui-corner-top,
+.ui-corner-left,
+.ui-corner-tl {
+ border-top-left-radius: 4px;
+}
+.ui-corner-all,
+.ui-corner-top,
+.ui-corner-right,
+.ui-corner-tr {
+ border-top-right-radius: 4px;
+}
+.ui-corner-all,
+.ui-corner-bottom,
+.ui-corner-left,
+.ui-corner-bl {
+ border-bottom-left-radius: 4px;
+}
+.ui-corner-all,
+.ui-corner-bottom,
+.ui-corner-right,
+.ui-corner-br {
+ border-bottom-right-radius: 4px;
+}
+
+/* Overlays */
+.ui-widget-overlay {
+ background-color: #aaaaaa;
+ opacity: .3;
+ filter: Alpha(Opacity=30);
+}
+.ui-widget-shadow {
+ margin: -8px 0 0 -8px;
+ padding: 8px;
+ background-color: #aaaaaa;
+ opacity: .3;
+ filter: Alpha(Opacity=30);
+ border-radius: 8px;
+}
diff --git a/style/jquery-steps/jquery.steps.css b/style/jquery-steps/jquery.steps.css
new file mode 100644
index 0000000..0a2e58b
--- /dev/null
+++ b/style/jquery-steps/jquery.steps.css
@@ -0,0 +1,382 @@
+/*
+ Common
+*/
+
+.wizard,
+.tabcontrol
+{
+ display: block;
+ width: 100%;
+ overflow: hidden;
+}
+
+.wizard a,
+.tabcontrol a
+{
+ outline: 0;
+}
+
+.wizard ul,
+.tabcontrol ul
+{
+ list-style: none !important;
+ padding: 0;
+ margin: 0;
+}
+
+.wizard ul > li,
+.tabcontrol ul > li
+{
+ display: block;
+ padding: 0;
+}
+
+/* Accessibility */
+.wizard > .steps .current-info,
+.tabcontrol > .steps .current-info
+{
+ position: absolute;
+ left: -999em;
+}
+
+.wizard > .content > .title,
+.tabcontrol > .content > .title
+{
+ position: absolute;
+ left: -999em;
+}
+
+
+
+/*
+ Wizard
+*/
+
+.wizard > .steps
+{
+ position: relative;
+ display: block;
+ width: 100%;
+}
+
+.wizard.vertical > .steps
+{
+ display: inline;
+ float: left;
+ width: 30%;
+}
+
+.wizard > .steps .number
+{
+ font-size: 1.429em;
+}
+
+.wizard > .steps > ul > li
+{
+ width: 25%;
+}
+
+.wizard > .steps > ul > li,
+.wizard > .actions > ul > li
+{
+ float: left;
+}
+
+.wizard.vertical > .steps > ul > li
+{
+ float: none;
+ width: 100%;
+}
+
+.wizard > .steps a,
+.wizard > .steps a:hover,
+.wizard > .steps a:active
+{
+ display: block;
+ width: auto;
+ margin: 0 0.5em 0.5em;
+ padding: 1em 1em;
+ text-decoration: none;
+
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
+ border-radius: 5px;
+}
+
+.wizard > .steps .disabled a,
+.wizard > .steps .disabled a:hover,
+.wizard > .steps .disabled a:active
+{
+ background: #eee;
+ color: #aaa;
+ cursor: default;
+}
+
+.wizard > .steps .current a,
+.wizard > .steps .current a:hover,
+.wizard > .steps .current a:active
+{
+ background: #2184be;
+ color: #fff;
+ cursor: default;
+}
+
+.wizard > .steps .done a,
+.wizard > .steps .done a:hover,
+.wizard > .steps .done a:active
+{
+ background: #9dc8e2;
+ color: #fff;
+}
+
+.wizard > .steps .error a,
+.wizard > .steps .error a:hover,
+.wizard > .steps .error a:active
+{
+ background: #ff3111;
+ color: #fff;
+}
+
+.wizard > .content
+{
+ background: #eee;
+ display: block;
+ margin: 0.5em;
+ min-height: 26em;
+ overflow: hidden;
+ position: relative;
+ width: auto;
+
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
+ border-radius: 5px;
+}
+
+.wizard.vertical > .content
+{
+ display: inline;
+ float: left;
+ margin: 0 2.5% 0.5em 2.5%;
+ width: 65%;
+}
+
+.wizard > .content > .body
+{
+ float: left;
+ position: absolute;
+ width: 95%;
+ height: 95%;
+ padding: 2.5%;
+}
+
+.wizard > .content > .body ul
+{
+ list-style: disc !important;
+}
+
+.wizard > .content > .body ul > li
+{
+ display: list-item;
+}
+
+.wizard > .content > .body > iframe
+{
+ border: 0 none;
+ width: 100%;
+ height: 100%;
+}
+
+.wizard > .content > .body input
+{
+ display: block;
+ border: 1px solid #ccc;
+}
+
+.wizard > .content > .body input[type="checkbox"]
+{
+ display: inline-block;
+}
+
+.wizard > .content > .body input.error
+{
+ background: rgb(251, 227, 228);
+ border: 1px solid #fbc2c4;
+ color: #8a1f11;
+}
+
+.wizard > .content > .body label
+{
+ display: inline-block;
+ margin-bottom: 0.5em;
+}
+
+.wizard > .content > .body label.error
+{
+ color: #8a1f11;
+ display: inline-block;
+ margin-left: 1.5em;
+}
+
+.wizard > .actions
+{
+ position: relative;
+ display: block;
+ text-align: right;
+ width: 100%;
+}
+
+.wizard.vertical > .actions
+{
+ display: inline;
+ float: right;
+ margin: 0 2.5%;
+ width: 95%;
+}
+
+.wizard > .actions > ul
+{
+ display: inline-block;
+ text-align: right;
+}
+
+.wizard > .actions > ul > li
+{
+ margin: 0 0.5em;
+}
+
+.wizard.vertical > .actions > ul > li
+{
+ margin: 0 0 0 1em;
+}
+
+.wizard > .actions a,
+.wizard > .actions a:hover,
+.wizard > .actions a:active
+{
+ background: #2184be;
+ color: #fff;
+ display: block;
+ padding: 0.5em 1em;
+ text-decoration: none;
+
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
+ border-radius: 5px;
+}
+
+.wizard > .actions .disabled a,
+.wizard > .actions .disabled a:hover,
+.wizard > .actions .disabled a:active
+{
+ background: #eee;
+ color: #aaa;
+}
+
+.wizard > .loading
+{
+}
+
+.wizard > .loading .spinner
+{
+}
+
+
+
+/*
+ Tabcontrol
+*/
+
+.tabcontrol > .steps
+{
+ position: relative;
+ display: block;
+ width: 100%;
+}
+
+.tabcontrol > .steps > ul
+{
+ position: relative;
+ margin: 6px 0 0 0;
+ top: 1px;
+ z-index: 1;
+}
+
+.tabcontrol > .steps > ul > li
+{
+ float: left;
+ margin: 5px 2px 0 0;
+ padding: 1px;
+
+ -webkit-border-top-left-radius: 5px;
+ -webkit-border-top-right-radius: 5px;
+ -moz-border-radius-topleft: 5px;
+ -moz-border-radius-topright: 5px;
+ border-top-left-radius: 5px;
+ border-top-right-radius: 5px;
+}
+
+.tabcontrol > .steps > ul > li:hover
+{
+ background: #edecec;
+ border: 1px solid #bbb;
+ padding: 0;
+}
+
+.tabcontrol > .steps > ul > li.current
+{
+ background: #fff;
+ border: 1px solid #bbb;
+ border-bottom: 0 none;
+ padding: 0 0 1px 0;
+ margin-top: 0;
+}
+
+.tabcontrol > .steps > ul > li > a
+{
+ color: #5f5f5f;
+ display: inline-block;
+ border: 0 none;
+ margin: 0;
+ padding: 10px 30px;
+ text-decoration: none;
+}
+
+.tabcontrol > .steps > ul > li > a:hover
+{
+ text-decoration: none;
+}
+
+.tabcontrol > .steps > ul > li.current > a
+{
+ padding: 15px 30px 10px 30px;
+}
+
+.tabcontrol > .content
+{
+ position: relative;
+ display: inline-block;
+ width: 100%;
+ height: 35em;
+ overflow: hidden;
+ border-top: 1px solid #bbb;
+ padding-top: 20px;
+}
+
+.tabcontrol > .content > .body
+{
+ float: left;
+ position: absolute;
+ width: 95%;
+ height: 95%;
+ padding: 2.5%;
+}
+
+.tabcontrol > .content > .body ul
+{
+ list-style: disc !important;
+}
+
+.tabcontrol > .content > .body ul > li
+{
+ display: list-item;
+} \ No newline at end of file
diff --git a/style/postman-email-log.css b/style/postman-email-log.css
new file mode 100644
index 0000000..e9f9ce6
--- /dev/null
+++ b/style/postman-email-log.css
@@ -0,0 +1,5 @@
+@CHARSET "UTF-8";
+
+th#date {
+ width:15%;
+}
diff --git a/style/postman.css b/style/postman.css
new file mode 100644
index 0000000..1019387
--- /dev/null
+++ b/style/postman.css
@@ -0,0 +1,84 @@
+@CHARSET "UTF-8";
+
+#postman-main-menu.welcome-panel {
+ padding: 0px 10px 5px;
+}
+
+#postman-main-menu.advanced_config {
+ margin: 0;
+}
+
+form#postman_wizard legend, form#postman_test_email_wizard legend {
+ font-weight: bold;
+}
+
+form label {
+ font-weight: bold;
+ margin-right: 10px;
+}
+
+form span.postman_input_description {
+ font-size: 0.8em;
+}
+
+table#connectivity_test_table {
+ width: 100%;
+ display: none;
+ border: solid 1px #ddd;
+}
+
+table#connectivity_test_table tr {
+ background-color: #fff;
+}
+
+table#connectivity_test_table tr td {
+ padding: 5px;
+ margin: 0;
+ text-align: center;
+}
+
+table th.port_25, table th.port_443, table th.port_465, table th.port_587
+ {
+ width: 17%;
+}
+
+table#testing_table td.port {
+ width: 100px;
+}
+
+p#wizard_oauth2_help span.error {
+ color: red;
+}
+
+form#postman_wizard span.postman_input_description + label {
+ margin-top:2em;
+}
+
+fine_print {
+ font-size: 0.9em;
+}
+
+input.input_plugin_radio {
+ margin-left: 20px;
+}
+
+.wizard>.content {
+ min-height: 32em;
+}
+
+dt {
+ font-style: italic;
+}
+
+dt em {
+ font-style: normal;
+}
+
+p#back_to_main_menu {
+ text-align: right;
+ margin-top: 10px
+}
+
+.welcome-panel-column welcome-panel-last {
+ padding-bottom: 10px;
+} \ No newline at end of file
diff --git a/style/snail-mail-email-explained.jpg b/style/snail-mail-email-explained.jpg
new file mode 100644
index 0000000..ec3d439
--- /dev/null
+++ b/style/snail-mail-email-explained.jpg
Binary files differ
diff --git a/style/testEmail.html b/style/testEmail.html
new file mode 100644
index 0000000..3f41ea9
--- /dev/null
+++ b/style/testEmail.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<style type="text/css" media="all">
+.wporg-notification .im {
+ color: #888;
+} /* undo a GMail-inserted style */
+</style>
+</head>
+<body class="wporg-notification">
+ <div
+ style="background: #e8f6fe; font-family: &amp; quot; Helvetica Neue&amp;quot; , Helvetica ,Arial,sans-serif; font-size: 14px; color: #666; text-align: center; margin: 0; padding: 0">
+
+ <table border="0" cellspacing="0" cellpadding="0" bgcolor="#e8f6fe"
+ style="background: #e8f6fe; width: 100%;">
+ <tbody>
+ <tr>
+ <td>
+ <table border="0" cellspacing="0" cellpadding="0" align="center"
+ style="padding: 0px; width: 100%;"">
+ <tbody>
+ <tr>
+ <td>
+ <div
+ style="max-width: 600px; height: 400px; margin: 0 auto; overflow: hidden;background-image:url('http://plugins.svn.wordpress.org/postman-smtp/assets/email/poofytoo.png');background-repeat: no-repeat;">
+ <div style="margin:50px 0 0 300px; width:300px; font-size:2em;">Hello! - 你好 - Bonjour! - नमस्ते - ¡Hola! - Olá - Привет! - 今日は</div>
+ <div style="text-align:right;font-size: 1.4em; color:black;margin:150px 0 0 200px;">Sent by <em>Postman</em> v1.5.6<br/><span style="font-size: 0.8em"><a style="color:#3f73b9" href="https://wordpress.org/plugins/postman-smtp/">https://wordpress.org/plugins/postman-smtp/</a></span></div>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table> <br><span style="font-size:0.9em;color:#94c0dc;">Image source: <a style="color:#94c0dc" href="http://poofytoo.com">poofytoo.com</a> - Used with permission</span></td>
+ </tr>
+ </tbody>
+ </table>
+</body>
+
+</html>